yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android General] Caldair:
Part 1 locates the touch screen manager directory

Part 2 looks for ts-calibration in /data/ and if it finds it overwrites calibration_points

otherwise it creates a new ts-calibration using a default set of values and then overwrites calibration_points

So what we want to do is have it overwrite /data/ts-calibration with $touchscreendir/calibration_points as long as calibration has been completed previously within android.

Now I haven't really written code/scripts in a decade and am not yet too familiar with linux but something like:

(tiad8's commit, edited poorly by me)

## Ts Calibration

for i in /sys/class/input/input* ; do

if [ "`cat $i/name`" = "tssc-manager" ] ; then

touchscreendir=$i

echo "Touchscreen device directory is $i"

fi

done

if [ -f /data/ts-calibration ] ; then

echo "Using Saved Touchscreen Calibration"

echo 128,128,1903,128,128,1907,1903,1907,1024,1024 > $touchscreendir/calibration_screen

cat /data/ts-calibration > $touchscreendir/calibration_points

else

if [ -f "$touchscreendir/calibration_points"="0,0,0,0,0,0,0,0,0,0" ] ; then

echo "Using Default Calibration Values"

echo 821,860,197,868,500,517,829,172,191,171 > /data/ts-calibration

cat /data/ts-calibration > $touchscreendir/calibration_points

else

echo "Using Last Calibration Values"

echo 128,128,1903,128,128,1907,1903,1907,1024,1024 > $touchscreendir/calibration_screen

cat $touchscreendir/calibration_points > /data/ts-calibration

fi
​

fi

​

I am sure that my commands and syntax above are wrong, it's the concept that I am trying to convey.

I want to look to see if there is a ts-calibration and if not then look to see if there is valid calibration data in calibration_screen and if there is then write that value to ts-calibration. Thus to update calibration all you need to do is run HTC Calibration, and delete ts-calibration.

I guess you could also compare calibration_screen to ts-calibration and if there are differences (and calibration_screen is valid) have ts-calibration overwritten, removing the need to delete it!

I am

assuming

that before calibration or having ts-calibration written to it that calibration_screen has the value 0,0,0,0,0,0,0,0,0,0 but it could also be 0 or empty i don't know really and am probably wrong!

Also for GBX0C /data/ would have to be /sdcard/
[Touch Pro2, Tilt 2 Android General] CodaHighland:
One major problem with that plan:

/sys/ isn't a real filesystem.

It's a virtual file system, like /proc/, created programmatically by kernel drivers. It's not stored anywhere.

That boot script is writing the node because that's the only way to get the data into the kernel. If you don't do that, the calibration gets purged (or more accurately, not initialized) every boot.

That's why I proposed a bind-mount: make an access to one place in the filesystem affect another place. Though I realize another problem with that... The driver doesn't read from the filesystem! You have to actually write to the node to get the data into the driver. So that busts that plan.

It might be theoretically possible to modify the kernel driver to signal a userspace process to copy that data out, but... I don't know what would go into that, or even if it's ideal.
[Touch Pro2, Tilt 2 Android General] Caldair:
I have been using the latest kernel, 3.4 with a new build of GBX0C and decided to re-calibrate my screen:

Strange.... When I went looking for calibration_points in /sys/devices/virtual/input/input3/ it wasn't there, it had moved to /sys/devices/virtual/input/

input2

/

Before I edit the first post can anyone who is using the 3.4 linux kernel confirm this, please?
[Touch Pro2, Tilt 2 Android General] Japamala:
I can confirm that with the 3.3 kernel, mine is in input2, not input3
[Touch Pro2, Tilt 2 Android General] karelkopp:
where to copy? does not have memory card
[Touch Pro2, Tilt 2 Android General] arrrghhh:
What does not have a memory card? The RHOD certainly has a slot for one...

Edit - I just realized why your question is so poorly worded. You're running NAND, and this thread assumes you're on a SD build.

I responded to you here.
[Touch Pro2, Tilt 2 Android General] hijackzx1:
I recently started working on a Android based Car solution and decided to buy the MK802 units. My car used to have a Windows based PC, so I already have VGA touchscreens installed. I didnt want to replace the screens, so I bought a HDMI to VGA converter and the MK802.

I plugged the touchscreen into the MK802, assuming it wouldnt do anything. But sure enough, it works. Problem is the calibration is off and up and down are reversed. So say I tap the bottom of the screen, the mouse pointer appears on the top of the screen and vis versa. My understanding (Im very new to this) is that you have to be rooted, which is the way these devices come.

So my question is, will this calibration tool work? I know most Androids use a multi-touch screen. Mine are 4-wire touch panels. Also, what do I have to look for and edit to get Up to Up and Down to Down?

Thanks in advance!
[Touch Pro2, Tilt 2 Android General] wizardknight:
This tool was made for HTC phones. You will need to find the group for your device to get support for it.
[Touch Pro2, Tilt 2 Android General] syedwasi:
Calibration problem

Hello,

I am not able to calibrate screen on htc touch pro2 sprint modem (T7380) PocketPC

there is a software problem due to which i had to reset factory restore button inside handset ,and restarted device

but it stuck on calibrate option ,continuous prompt to press all 4 side and centre ,even though i had done multiple time

but no further progress ,would like to know how to come out from this problem

now the handset is completely not starting ...i am on calibrate mode screen.

please suggest any solution .
[Touch Pro2, Tilt 2 Android General] Caldair:
It sounds like you are having this issue with a Windows Mobile ROM and this thread is dedicated to Android on the Touch Pro2. However...

OFF TOPIC

:

I had a similar problem with my old Acer M900 and the solution was to put an empty text file in the root (no folders) of your SD card and rename it welcome.not and this will bypass the screen calibration on your first boot. I was then able to successfully run the calibration afterwards from the settings menu. Here, to make it easy I attached the file here:View attachment 1373068. Simply unzip the file and place the file welcome.not on your storage card.​
[Touch Pro2, Tilt 2 Android General] isruco:
I have had a little bit of an alingment problem with my screen on my TP2. The NAND GBX works great so far. The only small but nevertheless important issue is finding a way to calibrate the screen and all Google searches lead back to the same forum post here , which has many files in the zip but NO apk inside.

Anyway, if anybody has any information of where to find an apk that will work, or maybe information on how to use the included files in the above mentioned link would be much appreciated.

My sincere thanks to all the developers that make all this modding possible, thank you all.:)
[Touch Pro2, Tilt 2 Android General] Caldair:
I just redownloaded the WVGA calibration from the link you refered to here:

[URL="http://xdaforums.com/showthread.php?t=1457343"]http://xdaforums.com/showthread.php?t=1457343

And the file seems to be intact and unchanged.

Those attached files on said thread ARE apk's already, they don't need to be extracted, just installed on your TP2.:good: Hope that helps!
[Touch Pro2, Tilt 2 Android General] Emmaugoh:
confuse on what to do after trying to lunch the GBOC new kernel 3.4,it just stuck at calibration point telling me to tap "up left,up right,middle,downn left and right" i tried tapping but never passsed the area,stuck on what to do?.
[Huawei Ideos X5 U8800] sametkaan06:
Hello Friends ics 4.0.4 I installed 5i up. Can you give them to me in 2.3.5 I forgot to take some of the applications. My calendar and weather widgets, music program (in 2.3.5 was good), the file manager program (ICS bit complicated), and ring tones (notifications and alarms) and the lock opening and closing sounds.

thank you
[Huawei Ideos X5 U8800] Tcm9669:
If you have original UPDATE.APP you can check this thread to get those files:

http://xdaforums.com/showthread.php?t=1324591
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] MannyNoela:
Hello,

Thanks very much for another useful service - I just changed my HTC Kaiser for a Samsung Skyrocket II.

I rooted the phone and installed some of the roms available here. However, I like some of the aesthetics of the stock rom (color backgrounds, size of dial pads, and keyboards).

I am wondering if there is any custom rom - especially ICS - that retains some of the stock background and colors?

Thanks - Manny
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] nrm5110:
Why the hell did you post this in the dev section instead of q&a
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] MannyNoela:
apologies --- thought it will get more exposure among "Developers" for obvious reasons.

But will copy / move to QA section

/MN
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
1) Q&A section

2) Embryo, Alien 8, ChicagoRemix, and Smooth Ice Galaxy SIII if you want the new TW on SIII. They are all on the front page, all have pictures. Try looking some next time.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] WhatzinyourphonE:
Yea there is duh. Theres a ics 5.0.0 rom made just for the skyrocket. You should try it. Google it

AOKP Android 4.0.4
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] whosgotlag:
YOU POSTED A QUESTION IN A FORUM WHERE YOU LITERALLY JUST HAVE TO CLICK THE TOP FEW LINKS TO FIND WHAT YOU WANT.

Wow.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] remf4i:
Go back to HTC
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] droid512:
Ownt by a dev........... Love it

CM9 Skyrocket
[Galaxy Note GT-N7000 General] jwais:
Hi all,

I have been trying to find a way to get rid of flash counter and triangle without jig while on LPY ics rooted with speedmod kernel after reviving my note from supebrick with help of hg42. Can anyone kindly advise of steps. Thanks in advance!
[Galaxy Note GT-N7000 General] praetorius:
you have to use other kernels to do that: http://xdaforums.com/showthread.php?t=1354888
[Galaxy Note GT-N7000 General] jwais:
Thanks but looking without jig.
[Galaxy Note GT-N7000 General] EdgaBimbam:
in your place i would flash DAFUQ kernel, use triangle away app, flash back speedmod kernel ;D
[Galaxy Note GT-N7000 General] jwais:
I have triangle away app but doesn't work at the moment...it says I am not on ics for some reason. U think it would be different with DAFUQ kernel?
[Galaxy Note GT-N7000 General] EdgaBimbam:
others said that with DAFUQ it is working
[Galaxy Note GT-N7000 General] jwais:
Ok thanks I will give it a try.
[Galaxy Note GT-N7000 General] jwais:
Worked flawlessly with mobile odin. Thank you!
[Samsung Galaxy Gio GT-S5660] safariking:
Hello folks,

I have tried to compile a system apk from ics but not working (only errors) then i heard that apktool was not compitable whit ICS.

EDIT:I have also tried this one: xdaforums.com/showthread.php?t=1558171

so i decided to do some source on google and Xda and found this ApkManager for ICS!

http://www.mediafire.com/?a2o4pcoyoz53fyr

but its also not working (the same errors) what a shame!

Does anyone have a ApkManager/ApkTool for ICS???

Greetings Safariking!
[Samsung Galaxy Gio GT-S5660] voetbalremco:
I think coolcat did.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Chaosin1983:
Can I install the Galaxy Nexus phone.apk and contacts.apk over the one in a ICS Galaxy Note to have the stock dialer?

Thanks,
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] _A.T.Omix_:
I don't know if this is possible but if you want a real ICS experience go for CM9 or ParanoidAndroid v0.2
[Galaxy S I9000 Q&A, Help & Troubleshooting] Tomahock:
So.. i've install a new rom but i forgot before to download gapps! and now..

goo-inside.me/ gapps/ this is down...

Here can i download gapps now?

Thanks
[Galaxy S I9000 Q&A, Help & Troubleshooting] gabbarsingh2000:
Download it from here ...

http://www.mediafire.com/?pcep5gb7dr0g7dm
[Galaxy S I9000 Q&A, Help & Troubleshooting] jeet.chaudhari:
These are ICS gapps, i guess, we need latest gapps for jb .
[Motorola Droid Bionic] TheSurgeon:
I was at the Verizon store today and the free Bionic on display had version

5.991 on it anyone familiar with this?
[Motorola Droid Bionic] dlamber7:
Many store demos have special firmware versions that show off different selling points of the device. That's more than likely all it is.
[Miscellaneous Android Development] deepss1:
MOD EDIT: Thread closed as the ROM contains a modified kernel but no sources. OP, please PM me when you're ready or if you need assistance.

ROM FOR LG P-690 By TeamAD

GingerBlurB v1.0

Features :

New look which you will love to use

Fast Transition

Theme chooser supported

Handsent SMS

Improved audio

Themed Camera

ICS styled settings

WP7 type keyboard which is best to use

Four Lockscreen types

To download this ROM, Go here --->> Will provide the download link in few days.

Installation:

Wipe data/Factory Reset

Wipe cache partition

Wipe dalvik cache

wipe battery stats

Flash Rom

Flash downloaded audio improvement

Flash GApps

Reboot Device

ENJOY!!!

Kernel from this thread => Thread

SCREENSHOTS:

Screenshots are attached in attachments :)

Credits :

1) Me for porting this ROM

2) Aceximix

3) LG Electronics

4) shreyas.kukde

5)karandeepdps
[Miscellaneous Android Development] baraozemo:
Hi Deep Shah,

This rom has the same compatibility with P698f like your xperia rom for P690/P698f?
[Miscellaneous Android Development] deepss1:
I dont use P-698 so I dont know if it supports P-698

So have a try & tell me if any bugs or anything else.
[Miscellaneous Android Development] apraxie:
?

Audio Improvements

What is it and how does it work?
[Miscellaneous Android Development] deepss1:
You just need to flash and that patch has fix to many other things.

The audio improvement patch is must.
[Miscellaneous Android Development] karandeepdps:
upload the new apple os rom
[Miscellaneous Android Development] deepss1:
Will upload JoyOS tomorrow because today its sunday.
[Miscellaneous Android Development] NicoCaldo:
Good. Is there something wrong with this ROM?

Inviato dal mio LG-P690
[Miscellaneous Android Development] deepss1:
No, nothing wrong with this rom.

Its for lg p690 and once you use you will never want to change the rom.

Hit thank if you liked my work :)
[Miscellaneous Android Development] vicfirth_23:
nice! another great work, ill DL it later... my connection so poor today...ill feedback later :) more power DEep! thanx for helping in developing more great roms.. :)
[Miscellaneous Android Development] Chowder93:
Deep there is something wrong with the root permissions and also there is no busybox installed so titanium backup does not work.
[Miscellaneous Android Development] deepss1:
Just used titanium backup and it works.

See this image...
[Miscellaneous Android Development] boysays:
Bluetooth Problem!!!

Hi there,

Just now I flashed this ROM on my LG OPTIMUS P690, along with Beat and Gapps as directed. Now when I tried to turn on FM it asked for active bluetooth connection, but it failed to activate it. Than I tried activating it manually and it not working!!

:(:(

Xperia HD ROM worked flawlessly but in this Bluetooth is not turning ON.

Waiting for d solution.. Thnx!!

--
[Miscellaneous Android Development] NicoCaldo:
Ok now i test it

Inviato dal mio LG-P690
[Miscellaneous Android Development] deepss1:
Bluetooth is working without any problem.

And it also gets turned on

Have a look at the image...
[Miscellaneous Android Development] Chowder93:
What might be the problem?? I tried flashing twice but same story. The superuser doesn't get updated and titanium backup says I cannot get root access.
[Miscellaneous Android Development] boysays:
Bluetooth Problem!!!

Yeah!! In your device its working but why not in mine!! :confused::confused:

Is ter anything extra we have to do that u didn't mention in "how to Do" guide.. Like flashing twice or something else!!!

I remember that I also had d same Bluetooth issue in CM 7.2 stable unofficial release ROM for LG p690.

But xperia and DarDroidXD worked very well!!!
[Miscellaneous Android Development] deepss1:
Will provide you the update tomorrow.

I think I uploaded the wrong file.

Sorry for this...
[Miscellaneous Android Development] Chowder93:
Ok cool.
[Miscellaneous Android Development] NicoCaldo:
Can I open a discussion forum androidworld.it publicizing your ROM so that anchw Italian users can try it. Obviously it is specified that you are the developer and will be given all the credits needed

Inviato dal mio LG-P690
[Miscellaneous Android Development] deepss1:
Well you can give them the link of this thread and provide me the link where you publish this.

Just dont provide the download link over there.
[Miscellaneous Android Development] NicoCaldo:
Ok thnx. You can write here --> http://www.androidworld.it/forum/lg-optimus-net-p690-187/

The ROM is not all bad. Bluethoot the only thing not working. I click it sends him back a bit but after activation diattivo without light. The fluidity is amazing and animation effects as well. The status bar appears nonexistent. I realized later that you could pull off. Council then to change the black bar so that it is more visible to the user.

Anyway great job
[Miscellaneous Android Development] Chowder93:
The ROM isn't the right one. He will upload again.
[Miscellaneous Android Development] deepss1:
The rom is the right one but the audio improvement zip will be changed tomorrow.

So download the audio improvement file tomorrow.

Will inform you all on this thread after changing the zip file of audio improvement.
[Miscellaneous Android Development] NicoCaldo:
Ok but the BT doesn't work
[Miscellaneous Android Development] Chowder93:
Will that fix bluetooth and root permissions??
[Miscellaneous Android Development] NicoCaldo:
Can you open a discussion at the link I told

Inviato dal mio LG-P690
[Miscellaneous Android Development] deepss1:
Updated Audio Improvement zip...

Download audio improvement.

http://www.mediafire.com/?9atn5l9ze17vsd2

The link in #1 for downloading audio improvement is also updated. :)
[Miscellaneous Android Development] deepss1:
I opened that link but I didn't found any thread related to this rom.
[Miscellaneous Android Development] deepss1:
Uploading Apple OS ROM (JoyOs) .

Will soon provide you all the link of JoyOS.

And most probably tethering problem will be solved in Xoeria ROM.

Stay tuned and don't forget to hit thank
[Miscellaneous Android Development] fabix95:
I did not understand a thing ... There are problems with this rom or not?
[Miscellaneous Android Development] vicfirth_23:
Looking forward to that sir Deep...ive been using your xperia rom since you uploaded it, i wanna try this one after i downloaded it...
[Miscellaneous Android Development] Chowder93:
Has the bluetooth been fixed??
[Miscellaneous Android Development] deepss1:
Yes.

The Bluetooth bug has been solved and also other bugs.
[Miscellaneous Android Development] arjun04:
again unable to download ROM

Hey deep, I can't figure out why only I am unable to download any of the ROMs? :(

I downloaded everything else, gapps, fixer everything but only ROMs are not downloading. It happened while downloading xperia rom & simillarly now for Gingreblurb also. Its not the issue with file size definitely. Coz I am using wi-fi. Do u think that this error is related to wi-fi. Means with wi-fi it unable to read specific file & hence to zip it completely. Coz I observed every time it keeps 23 kb size zip part file out side while downloading. Please help me yaar:(:(:( I want to use this ROM.
[Miscellaneous Android Development] deepss1:
May be your net's speed is low.

Try downloading it from internet cafe or from good speed internet connection.
[Miscellaneous Android Development] Chowder93:
Should I download the ROM again or only flash the fixer?
[Miscellaneous Android Development] boysays:
:(

Sorry to say But After Flashing "Fixer" also the Bluetooth problem remains Same!!!:(

N just because Of Bluetooth issue I'm deleting this ROM..!! By da Way I'm still using Xperia ROM n Eagerly waiting for JoyOS..

All da Best!!
[Miscellaneous Android Development] deepss1:
Only flash the fixer but it would much better if you follow the full installation steps.

By first flashing the rom then fixer and then gapps.

Hit thanks
[Miscellaneous Android Development] deepss1:
First wipe data/factory reset then cache then dalvik cache and then battery stats.

Now flash the rom zip then flash fixer and then flash gapps.

Now reboot the device.

Now let the os gett stable and then reboot your mobile again.

Now you are done.

Now your Bluetooth will work.
[Miscellaneous Android Development] fabix95:
I did as you say ... the bt does not work ... and when I try to connect to wifi says acquisition in progress .. and then out of reach ... why? D:
[Miscellaneous Android Development] deepss1:
Download the rom file again because bt, wifi, etc...

Everything works perfect and I am using wifi only.
[Miscellaneous Android Development] fabix95:
what I do is:

Wipe data/Factory Reset

Wipe cache partition

Wipe dalvik cache

wipe battery stats

Flash Rom

Flash downloaded audio improvement

Flash GApps

Reboot Device

Start ... restart ... does not work D:
[Miscellaneous Android Development] Chowder93:
Maybe there is something wrong with the ROM u uploaded. Reupload plz. Coz bt wifi and root dont work.
[Miscellaneous Android Development] sa_th:
BT not working

I am also facing the BT issue
[Miscellaneous Android Development] deepss1:
Will see this after I finish making a new thread of JoyOS.
[Miscellaneous Android Development] NicoCaldo:
I gave you the link where you can open the discussion about this ROM. There hasn't already been created.
[Miscellaneous Android Development] deepss1:
Okay I got it.

But you can share my rom but first write that this rom is by TeamAD and in credits add my name and TeamAD.

And also provide link of this thread in that forum and dont provide download link of rom.
[Miscellaneous Android Development] NicoCaldo:
Yes of course. Now I open a tread and after i will take you the lunk so you can see.

Inviato dal mio LG-P690
[Miscellaneous Android Development] fabix95:
but then the bt and wifi work?
[Miscellaneous Android Development] cioby2012:
Hellow all and i wish to congratulate Deep for his nice work also with this ocasion. This ROm is splendid i loved it from the first time i inastalled it, but there is a huge problem with WIFI and Bluetooth.... When i activate WIFI it scans all in range Wireless networks, but when i try to connect to a network it remains stuck at obtaining ip adress, and after 30 sec the process stops and the network appears like it is out of range. Maybe dear sir Deep you could find a fix for that, because it is such a pitty that this ROM hasn't got a functional WIFI and Bluetooth !!!
[Miscellaneous Android Development] NicoCaldo:
Any update? I would love to use daily this ROM but without wifi and BT I can not. I hope you resolve the problem as soon as possible so I can use the ROM

Inviato dal mio LG-P690
[Miscellaneous Android Development] :
miui port..:)

hey guys try this link for latest miui port for lg p690 optimus net/link...http://xdaforums.com/showthread.php?p=27012564#post27012564
[Miscellaneous Android Development] NicoCaldo:
Ok but when the fix in bluroid?

Inviato dal mio LG-P690
[Miscellaneous Android Development] hotchapmanu:
wow....great man...you are awsommmmm........waiting for tomorroww.....
[Miscellaneous Android Development] cioby2012:
No update yet ??? Have you upload the new rom Touchwiz and the fix for joyOS ???
[Miscellaneous Android Development] deepss1:
As everyone is aware about my internet connection and the same problem this time.

Very sorry for this.

And the rom will available after 8days because of lack of time.

The reason for lack f time is because of sudden visit of guests.

No time to develope a ROM.

And Team Optimus needs a graphic designer.

If anyone is a good graphics designer then please do pm me.

And also attach some of your work in pm.

Thank you

Regards,

Deep Shah

(Team Optimus)