yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] nplasko:
Hi Team,

I have Allwinner A13 tablet/ 512Mb/4G [ power and volume buttons on top / mini USB, power and speaker out ports on side] . Whenever I tried to attach Tata Photon Plus USB dongle to it, (Huawei EC156), it made screen red for few seconds and then tablet wont boot. I opened and checked that battery joints to PCB were dried, I re soldered and tried different ROMs, but no respite. I then figured out that it is somethng with touch screen driver. I couldnt find which touchscreen it really has but original ROM had ft5x_ts in script.bin.

I tried the famous tutorial on Freaktab (on how to fix A10 touch screen issue) and now it has funny issue. The touch screen and LCD is all fine and are aligned with display image. But when I touch the screen it shows pointer on LCD 1 cm of left. It is calibrated on the right most side of screen and gets away from actual touch if we move towards left edge of screen. How do I correct this alignment, please help. :fingers-crossed:

I can provide other information as well.
[Android Q&A, Help & Troubleshooting] nplasko:
No Help ?????
[Android Q&A, Help & Troubleshooting] michael.santos:
Just check this thread on SlateDroid, they may help you with the calibration because there are more people with your problem.

Hope it helps.

SlateDroid

Regards.
[Android Q&A, Help & Troubleshooting] nplasko:
I have tried all of these earlier, none of them work. actually I have upgraded EEPROM now I am looking the way to downgrade it as upgrade didnt worked. It fixed the issue of screen going dead while I connected USB internet dongle, but now touch is not calibrated at all. I compiled new kernel 3.0.57, updated the rom and flashed.. but still calibration is issue.

So looking for some better option who could either guide me with ft5x - i file... which contains the touch signals and I believe editing those will work for sure. Or if someone can tell me how can I de-compile the same from OEM firmware so that I could get the original values.

...looking for help !!!:rolleyes:
[Android Q&A, Help & Troubleshooting] nplasko:
Dear Board Admins

Can I post this issue in other related threads as well??? :confused:
[Android Q&A, Help & Troubleshooting] nplasko:
Found focaltech ft5x06 source

Okay, I have got to know that my tab has ft5406 chip from Focal Tech. I have got source files as well (ft5x06.c and .h). Can someone quickly help me to build them into .ko module compatible with 3.0.8+ kernel.

I will try to attach the files here for everyone's use.
[Android Q&A, Help & Troubleshooting] nplasko:
Update from my dev machine

Update is I tried to compil einto .ko with linux-sunxi 3.0.52 and it throws several errors for attached source. Need a quick help indeed...
[Android Q&A, Help & Troubleshooting] michael.santos:
Sorry I can't help you, I'm not a developer :(

I would like to be able to fix my tablet too, but is seems I will never got it to work again! :'(

If just someone would know how to flash new touch firmware to an empty touch eeprom...

Hope you solve your problem, because I don't see a light for my problem...
[Android Q&A, Help & Troubleshooting] nplasko:
Hi Michael/Doix

I did lots of research/compilation... for my offset touch issue, now forwarded request to OEM. Let us hope it gets fixed.

I found several blogs/forums discussing dumping eeprom from a GOOD tab and pushing the same on a dead on empty ROM.

Michael ur eeprom is empty because the rom u tried had script.bin written like that. I found other roms which had script.bin specially made to update eeprom.

I am attaching one update.tar and another fix i found from russian blog, here. You can try it.
[Android Q&A, Help & Troubleshooting] michael.santos:
Hi nplasko,

Thank you for your reply.

I already have tried this two fixes without success. :(

I know there is special "commands" that we can use on script.bin to force a touchscreen update and I have tried it, but again, without success.

If you check this thread, I have already tried a patched .ko file that will "force" the update, without success.

Hope you get some more information from your OEM request, because this is very strange, my touchscreen is detected by I2C but with empty firmware.

Thanks.
[Android Q&A, Help & Troubleshooting] nplasko:
Michael:

I have seen your output where your i2c cant read. I see you are pretty close to fix your screen, if you get the original rom of your tablet and flash .bin file using that firmware only. Because then boot program will pass on RIGHT parameters for i2c and touch screen.

I have seen lots of ft5x_ts modules are listening at other ports. For example 0x38 / 0x7c etc etc. So original firmware will be an edge here because it will have RIGHT parameters in script.bin to start our game with....

So do you have your original firmware? and have your tried uploading .bin firmware using your original rom?
[Android Q&A, Help & Troubleshooting] michael.santos:
Hi nplasko,

The dmesg you can see on this thread is already from the original rom from my tablet. It does not work :(

Thank you for your help.
[Android Q&A, Help & Troubleshooting] nplasko:
Michael : Please post your script.bin contents....
[Android Q&A, Help & Troubleshooting] michael.santos:
Hi nplasko,

Sorry for my late reply, I was out of town this days.

Please find attached the script.bin already in readable text format.

If you wanted to see if my script.bin has this two lines:

ctp_upgrade_used = 1
ctp_firmware_name = "ft5x_firmware.bin"

I can tell you that the original .ko module does not need it, because it already tries to upgrade with the build-in firmware (so called «i file», maybe meaning «internal file»). This is what I get with this original script.bin file on dmesg:

<6>[ 18.450000] ====ft5x_ts_probe begin=====.
<6>[ 18.450000] fts_ctpm_fw_upgrade_with_i_file.

When I added the above two lines in my script.bin, put on my tablet the firmware file on /vendor/firmware, I have got this on dmesg:

<6>[ 10.693921] ctp_fetch_sysconfig_para: script_parser_fetch firmware_upgrade_used = 1.
<6>[ 10.701805] ctp_fetch_sysconfig_para:script_parser_fetch firmware_name = ft5x_firmware.bin

And with this two methods, I always get the same result:

<6>[ 18.290000] ===========================ft5x_ts_init=========== ==========
<6>[ 18.290000] ctp_fetch_sysconfig_para.
<6>[ 18.310000] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe
<6>[ 18.330000] ctp_fetch_sysconfig_para: ctp_twi_id is 2.
<6>[ 18.330000] ctp_fetch_sysconfig_para: screen_max_x = 1024.
<6>[ 18.350000] ctp_fetch_sysconfig_para: screen_max_y = 768.
<6>[ 18.360000] ctp_fetch_sysconfig_para: revert_x_flag = 0.
<6>[ 18.370000] ctp_fetch_sysconfig_para: revert_y_flag = 0.
<6>[ 18.370000] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
<6>[ 18.380000] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x38. normal_i2c[1]: 0xfffe
<7>[ 18.390000] script parser fetch err.
<4>[ 18.390000] ctp_init_platform_resource: tp_wakeup request gpio fail!
<6>[ 18.400000] ctp_reset.
<6>[ 18.440000] ctp_detect: Detected chip ft5x_ts at adapter 2, address 0x38
<6>[ 18.450000] ====ft5x_ts_probe begin=====.
<6>[ 18.450000] fts_ctpm_fw_upgrade_with_i_file.
<6>[ 18.570000] =========buf[0] = 0xa6
<6>[ 18.570000] =========buf[1] = 0xa6
<6>[ 18.570000] a == 166, b== 7
<6>[ 18.750000] Step 1: Reset CTPM test
<6>[ 18.790000] Step 2: Enter update mode.
<6>[ 18.810000] ====Step 3:check READ-ID====
<6>[ 18.830000] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<6>[ 18.830000] ====Step 3:check READ-ID====
<6>[ 18.850000] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<6>[ 18.850000] ====Step 3:check READ-ID====
<6>[ 18.870000] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<6>[ 18.870000] ====Step 3:check READ-ID====
<6>[ 18.890000] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<6>[ 18.890000] [FTS] upgrade failed i_ret = 2.
<6>[ 18.890000] input: ft5x_ts as /devices/virtual/input/input2
<6>[ 18.900000] ==register_early_suspend =
<6>[ 18.900000] CONFIG_FT5X0X_MULTITOUCH is defined.
<6>[ 18.910000] ctp_set_irq_mode: config gpio to int mode.
<6>[ 18.910000] INTERRUPT CONFIG
<6>[ 18.920000] ==ft5x_ts_probe over =

So what I really need is a way to flash the firmware file directly to the FT5406 EEPROM...

Thank you for any help you can provide. :)
[Android Q&A, Help & Troubleshooting] nplasko:
ft5x_ts.c

I happened to be reading and doing comparison of different source files for FT driver, following piece of code says, that upgrade could be disabled, by just telling the driver to do so :-

--------

switch (cmd) {

case UPGRADE:

pr_info("==UPGRADE_WORK=\n");

fts_ctpm_fw_upgrade_with_i_file();

// calibrate();

break;

default:

break;

----------

Also it can direct screen to go into factory mode ( I saw in calibration piece )... Let me dig more. I know that solution to my problem stays in this file only.....

In addition to the above.... here is the link which tells more about multi touch protocol and parameters :-

http://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt

Any programmer friend here? .... This thread is very interesting, when it comes to FT drivers.... Michael @ It states how to remove ft_app.i error. And how to get correct driver working.
[Android Q&A, Help & Troubleshooting] nplasko:
...Update !!

I posted here http://www.slatedroid.com/topic/366...m-rom/page__st__80__gopid__570106#entry570106

---------- Post added at 09:06 PM ---------- Previous post was at 08:52 PM ----------

In addition to what I saw is following :-

int fts_ctpm_fw_upgrade_with_i_file(void)

{

FTS_BYTE* pbt_buf = FTS_NULL;

int i_ret;

//=========FW upgrade========================*/

pbt_buf = CTPM_FW;

/*call the upgrade function*/

i_ret = fts_ctpm_fw_upgrade(pbt_buf,sizeof(CTPM_FW));

if (i_ret != 0)

{

printk("[FTS] upgrade failed i_ret = %d.\n", i_ret);

//error handling ...

//TBD

}

else

{

printk("[FTS] upgrade successfully.\n");

fts_ctpm_auto_clb(); //start auto CLB

}

--------------------

This means @ Michael ... Your EEPROM is returning ZERO while variable i_ret is trying to check size of your firmware. It can happen for two reasons (so far as I know) :-

- Your EEPROM is empty (which could not be case, we can set it back to default factory mode by (0x40) setting. But need to check how do send this command to screen)

- i_ret is contacting somewhere else and not to touch screen.....

---------------------

---------- Post added at 09:22 PM ---------- Previous post was at 09:06 PM ----------

http://xdaforums.com/showthread.php?t=1629478&page=8

This thread above tells about some scripts to update FW... but somehow I couldnt find these directories in my tab.....
[Android Q&A, Help & Troubleshooting] nplasko:
Compiling new driver

I am getting errors :-

mach/system.h:34: error: implicit declaration of function 'cpu_do_idle'

While compiling the ft5x_ts.c ...... digging for more.
[Android Q&A, Help & Troubleshooting] nplasko:
Finally was able to compile ft5x_ts.ko , it says no symbol version for module layout.

Digging it more.....
[Android Q&A, Help & Troubleshooting] DoiX:
@nplasko, try this module http://pastebin.com/kei6TjW3 it's what i modified in an attempt to reverse the damage. Unfortunately i ran out of spare time for this project so i abandoned it, for now at least.

This module compiles fine under Ubuntu 12, it flashes the content of ft_app_5306.i file from the kernel, so just replace the content of that file with the hex of the module you're trying to flash.

Yes, you are right. Your offset is due to flashing a different resolution firmware for your touchscreen, unless you can find the exact firmware it used to have you will have to do some dirty hacks like emulating in script.bin a lower resolution...
[Android Q&A, Help & Troubleshooting] nplasko:
Dear Doix,

Thanks for help. I believe I have compiled the same version of source, but with file refering to ft_app.i . The difference here I see is including ft_app_5306.i file. But how do I get rid of symvers error? Can you drop me a line for that?

Also ft_app.i is the only file I have. I couldnt get when you said replace the content of this .i file with the hex of a compiled module? Because all in all ft_app.i is a text file and while compiling it should be made available as it is to ftxxxxx_ts.c .... Please correct me!
[Android Q&A, Help & Troubleshooting] nplasko:
any update on ft5x_ts and permanent screen shift on allwinner A13?

Hey guys, did any of you got resolution on the issue? Please respond

Thanks
[Android Q&A, Help & Troubleshooting] michael.santos:
Nope... I never found a way to restore the touch firmware, and you?
[Android Q&A, Help & Troubleshooting] waxtadpole:
I missed the slot when putting in a micro SD card and it got wedged inside. I took out the four tiny screws on the corners,pried up the end with the slot and pulled the card out with tweezers. It seemed like the tablet was still held together by something in the middle, so I feel lucky I didn't damage it (the back is very thin metal). Is there an easier way? Thanks for any help.

The T02A is a 7-inch tablet that's sold under various brand names (or no name). The Eken T02a is mentioned a lot on the xda-developers site. I believe it's also the same as (or very similar to) the Skytex Skypad. Mine is a no-name version I bought on Amazon.
[T-Mobile Samsung Galaxy S II SGH-T989] gscavezze:
I can't post to the dev forums so I will ask here. I recently changed my rom from Darkside TW based rom to Slimbean 2.9 AOSP rom. The problem I am having is now my phone will not play .wma files. I know I can download another player, but I am using the paid version of Doubletwist (which I love) and my ENTIRE library is in .wma because they are much smaller files and I sync from Media Player on my Windows 7 notebook.

Is there some sort of codec pack I can install? Is there a non AOSP based rom that has this already?

Sorry in advance if this is a noob question.

Thanks,

Greg
[Android Apps and Games] ne0fhyk:
Tired of moving your fingers up/down your tablet to switch applications? Try out TasKarou!

TasKarou is a multitasking launcher overlay.

Taking inspiration from the 'Quick Controls' feature in the android browser, TasKarou provides a multitasking layer on top of a launcher for phone and tablets.

By swiping anywhere on the left or right edge of your device screen, you can activate TasKarou's UI, giving you access to a quick, smooth, and intuitive interface to facilitate app launch, transition, and management for the user

The user interface brings a more responsive, and enjoyable level of interaction to your device.

The app is available in the android market: https://play.google.com/store/apps/details?id=com.ne0fhykLabs.home.taskarou

Notes:

To use TasKarou, set it as the default home launcher, and from TasKarou's settings, select the actual home launcher you want to overlay.

TasKarou user interface is then triggered by swiping from either the left of right edge of your tablet screen, while still allowing access to the overlaid home launcher through the home button.

Tutorial Video (many thanks to 360porcento) :

http://www.youtube.com/watch?v=bOS8miODY2g
[Android Apps and Games] mosta_9741:
is it possible to make it work on GB ???
[Android Apps and Games] chachoi:
Yeah GB please
[Android Apps and Games] GermainZ:
What's the difference between this and Wave Launcher?

I'm on GB and just wondering if I should subscribe to the thread in case it's ever made available for GB, should it offer something better.
[Android Apps and Games] smgulsby:
Very nice work!
[Android Apps and Games] ne0fhyk:
It should be possible, but unfortunately, I lack the resources to pursue development in that area (lack of devices running GB).

If someone has the knowledge, and the resources, I might consider open sourcing the app to allow development in that area.
[Android Apps and Games] xene97:
I installed the app on my rooted Kindle Fire HD running ADW Launcher. It was nice to finally have multi-tasking/task switching ability on the tablet. Unfortunately had to uninstall it because it kept on causing failures with App Protector Pro - which I rely on more than task switching. When a new version comes out I'll try again.

Otherwise, great app!
[Android Apps and Games] ne0fhyk:
Thanks!

Could you describe the type of errors it was causing?
[Android Apps and Games] xene97:
The very informative error of "App Protector Pro has stopped."

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

I should mention that the error only occurs if you somehow try to avoid entering the password such as hitting the cancel button or the back button.
[Android Apps and Games] cyberchin:
HI!

I've been using this app for a week now, and love it.

I have some suggestions that might be useful:

-I have a galaxy note 2 and it's quite difficult for short fingers like me to reach back/menu buttons when operating with one hand. Could you please, please, pleeease add them?:fingers-crossed:

-Also it would be awesome to customize menus. For example, I don't use the options buttons quite often as I use 15 toggles toolbar, and the lower menu is easier to access with my thumb than the upper. That's where I'd locate home, menu and back buttons (if added), but maybe another person that's using a tablet likes the way it is now. Customizable buttons would solve this problem, so anyone could move/add/remove the buttons as he prefered.

-When using Google Chrome and swapping between tabs,it's necessary to move your finger horizontally from the border of the screen, and taskarou is launching when doing this. Perhaps you could implement an additional way to launch it by moving the finger vertically along the border of the screen.

-Last, It would be great to have the possibility to add a shortcut to any application, so you could quick launch your most used apps.

Well, perhaps all of this is asking too much but you would make me sooo happy if you could implement the first suggestion :D
[Android Apps and Games] Angelus89:
Hey ne0fhyk,

Could you add customisation to the buttons?? So that you can replace them with whatever you want, I would really like the back home and applications button, also a time overlay on the corcver of the screen when the launcher is activated would be aweomse :)
[Android Apps and Games] travisn000:
I just wanted to add my vote for the ability to customize the menu..

I like the idea, but would prefer to be able to use the existing default screens for multitasking, app drawer, etc.

Perhaps this could be accomplished similar to other apps / lauchers that have an intent / activity / application browsers to make shortcuts (NovaLauncher / QuickShortcutMaker are good examples from the Play store). Perhaps there could be a nested ordered list of menu items in the settings with support for drag and drop to arrange shortcuts, and add new shortcuts

After basic customization is available it would be nice to see support for Automation app API's to create shortcuts to actions from Tasker, AutomateIT Pro, etc

:)

Thanks for listening!
[Android Apps and Games] xene97:
All better!

Turns out that the problem was with App Protector Pro. I updated the app and no more problems. Happily using TasKoarou again.
[Android Apps and Games] meminfil:
Can you add a few buttons like back, lock screen and volume up down? like in buttonsavior app? I really liked your app, very useful and beautiful.
[Android Apps and Games] ne0fhyk:
Thanks for the suggestions. I just pushed an update that add back, and menu shortcuts for rooted devices.

For the next update, my focus is to add the ability to customize the menu. That update should have the rest of the features you suggested.
[Android Apps and Games] ne0fhyk:
Your first suggestions have been implemented, and should be available in the app, starting with version 3.2.

Your next suggestions are on my list to get done for the next update!

Sorry for the delay, but because of work, I do not have as much time to spend on this application as I wish. The app is open source though, so if you are a developer, or know interested developer, feel free to pitch in :D
[Android Apps and Games] xdafundorin:
Please, add shortcuts, last (previious) app, widget panel (from CM roms), open notifications and more hardware keys, like play\pause, volume and others.

Add second (inner) row for regular buttons, while outer row will act the same as now. If this will be implemented, than the outer row can be used in a whole new way. Swiping to the one of it's buttons and taking off the finger will start an action, binded to this button, but if you swipe and hold (with adjustable hold timeout), you'll get an access to submenu for the button.

I would also love to see black list for apps, such as drawing app ArtFlow, which is using screen borders to access tollbars.

I've just installed this app to use it instead of SlimPie in my Slim Bean rom, and I've already bought it, cause I like it's idea. Though, it's less responsive still, compared to LMT or SlipPie.

Keep up the good work.
[Android Apps and Games] andrcool:
Stunning work my friend
[Android Apps and Games] ajr901:
What are the power consumption repercussions of this? There would be two launchers running and active rather then one.
[Android Apps and Games] ne0fhyk:
I tested it on several devices, and it doesn't affect battery life at all. While it's idle (not being triggered by the user), TasKarou launcher only background activity is to keep the trigger edges active, which allows it to consume very little cpu activity while in the background.
[Android Q&A, Help & Troubleshooting] tdarren:
I have recently bought a HTC One X and find it difficult to keep my Moto xoom and One X in real time sync for Apps and App data.

I have been through many apps and none are quick, easy and not internet hogging junk.

Now its not like iCloud where you download an app on one device and gets automatically pushed to your other devices quick and easy.

I know I'm not the only one with two or more Android devices and I want know how you keep your devices in sync?

Can anyone recommend any apps?

Thanks.
[Android Q&A, Help & Troubleshooting] swam1231:
+1

10 char
[Android Q&A, Help & Troubleshooting] doctor_droid:
use same Google account on both phones

and enable sync via google account

i m nt sure this will work or not

bt u can give it a try
[HTC Sensation] jonjob:
Hi - I read about HTC Sensation XE, 4G etc - how do I know which model my phone is?

Also I am living abroad from the UK and need to use a SIM from another phone company so I need to unlick my phone. Is the a FREE way to do thas apart from going to one of those web sites that unlock it for a fee?

Thanks from someone new to this (we all start somewhere)

JP
[HTC Sensation] malybru:
Hi,

Look HERE

and,possibly, HERE

:)
[Motorola Atrix HD] cmvienneau:
could some dump all blocks from a rooted atrix hd and putem in a zip and upload them
[Motorola Atrix HD] ATGAdmin:
5th post down here:

http://xdaforums.com/showthread.php?t=1964259&page=7
[AT&T Samsung Galaxy Note II] timmyhawk1983:
just thought it would be easier to get my answer by some good-sensed people unlike myself .......

ive noticed a lot of people made minor mistakes with programs/options/rooted ways and thought it was OK to go .... but caught themselves stuck at the samsung bootloader screen ... SO ... im asking politely ... because i installed a FONT that crashed my system ... im a dumb@$$ .. i know ... would someone be willing to upload their "twrp backup" of their stock rom ... i installed a font and now my phone wont go past sammy .. already tried factory reset and wont work thru TWRP .. this might help others get their phone back to life also ...

thanks again if someone makes it possible to upload the file somewhere for us all
[AT&T Samsung Galaxy Note II] B.Jay:
"...I felt like posting a question in the Development board anyway", right?

Next time I'll happily treat you to the well deserved "Posting in the wrong forum" warning. You may want to keep in mind that we got better things to do than to play "house maidens" and clean up after you.