Announcement

Collapse
No announcement yet.

Add touch screen support for Six Axis/Joy Center to my ROMs

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Add touch screen support for Six Axis/Joy Center to my ROMs

    UPDATE!
    There was a problem with my 01touch script. It is now fixed!
    New download file name is touch1.zip


    _______________________________



    Hey guys, in another thread someone pointed out this virtual touch screen KO modules that is suppose to work with TV players and Sixaxis controller APP.

    See here:
    http://www.dewmill.com/rikomagic.html

    Now his instructions don't quite work and you have to do it on every boot!
    However if your using one of my ROMs it has init.d script support we can have it install on every boot


    Notes:
    1) This module only works on 4.1.1. It will not insmod on 4.2.2 ROMs.
    2) You must be running a ROM that supports init.d for the instructions to work. Like one of my ROMs.
    3) I HAVE NOT TESTED THIS MYSELF with sixaxis yet! So please provide feedback on how well it work PLEASE!
    I have tested the instructions below and the ko module does inject into the kernel.


    Here is how to do it.
    FOLLOW these instructions to the letter or it wont work.

    What you need:
    1) Install ES file explorer from Google Play
    2) Install Android Terminal Emulator from Google Play
    3) Download this kit I made for you. It has the init.d script and the touch.ko module

    http://www.freak-tab.de/finless/touch1.zip

    4) Unzip this file and copy touch.ko and 01touch to your SDcard.

    5) Run ES File Explorer and go into settings in ES file explorer and at the bottom Root settings
    Turn on Root Explorer. Be sure to answer YES to the SuperUser prompt
    Turn on Up to Root
    Turn on Mount system RW

    6) Using ES file Explorer navigate to your SDcard.
    7) Long press on the touch.ko file and select copy
    8) Back up to root and go into /system/lib/modules and press the paste button. ES file explorer should say file copied successfully. Now ES has a little bug. You wont see the file in there. So back up one directory level and go back into /modules and now you will see it. (They need to fix that bug!)
    9) Long press on the touch.ko file and in the list scroll down to the bottom and select properties
    10) In this dialog click the "change" button to set permissions
    11) Set all the READ boxes. Set the first WRITE box. Leave the other boxes unchecked
    OK KO module is now ready.

    12) Navigate back to your SDcard and long press on 01touch. Select copy
    13) back up to root and navigate to /system/etc/init.d
    14) Press the paste button and ES file explorer should say filed copied successfully. Now again, ES has a little bug. You wont see the file in there. So back up one directory level and go back into /init.d and now you will see it.
    15) Long press on the 01touch file and again select properties from the list.
    16) Again click the change button to set permissions
    17) This time click ALL the boxes except the last WRITE box.
    OK init.d script is ready!

    Now lets test that the init.d script worked and the module is injected into the kernel
    1) Reboot
    2) Run Android Terminal Emulator
    3) At the prompt type
    su
    4) Remember to say YES to the SuperUser root prompt!
    5) Now type
    lsmod
    6) It will list all install KO modules. In the list you should see virtual_touchscreen

    That's it! your good to go.
    If you ever want to not have the KO module installed simply go into the init.d folder and rename 01touch to 01touch.old and the script will no longer run on boot.


    Enjoy,
    Bob
    Last edited by Finless; 04-06-2013, 09:29.
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"






    #2
    Add Touch screen support for sixaxis

    Thanks Bob, I will try it with sixaxis and will post how it works.

    Comment


      #3
      Add touch screen support for sixaxis to my ROMs

      I cant seem to be able to get this to work.
      Mk809ii finless 1.5 imito rom

      Iv pasted the touch.ko file to /system/lib/modules
      Set all the READ boxes & Set the first WRITE box. Leave the other boxes unchecked (permissions rw-r--r--)

      pasted the 01touch file to /system/etc/init.d
      This time set ALL the boxes except the last WRITE box (permissions rwx rwx r-x)

      when i run Terminal Emulator i dont see virtual_touchscreen
      i can only see wlan,,,vpu_service,,,,tun,,,,xpad,,,,mirroring,,,, rk29,,,,mali,,,,ump

      so i guessin i have done something wrong & the module is not injected into the kernel it looked so easy too
      Please consider making a Donation to freakTab

      Comment


        #4
        Let me boot the 1.5 ROM on my Imito and check it. I do not have a MK809ii

        I assume your using the kernel from the imito ROM and not the original MK808ii kernel?

        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #5
          Originally posted by Finless View Post
          Let me boot the 1.5 ROM on my Imito and check it. I do not have a MK809ii

          I assume your using the kernel from the imito ROM and not the original MK808ii kernel?

          Bob

          Yes bob im using everything from the 1.5 imito rom it works perfect on my mk809ii,,Thanks in advance your rom is awesome by the way :-)
          Please consider making a Donation to freakTab

          Comment


            #6
            OK try this real quick to eliminate the ko module

            open the terminal emulator
            type
            su
            then type
            insmod /system/lib/modules/touch.ko

            then do a lsmod and see if it shows.

            If it does, then something is wrong with init.d


            Bob
            "Pzebacz im, bo nie wiedzą, co czynią"
            "Прости им, они не ведают, что творят"
            "Perdona loro perché non sanno quello che fanno"
            "Vergib ihnen, denn sie wissen nicht, was sie tun"
            "Vergeef hen want ze weten niet wat ze doen"
            "Pardonne-leur car ils ne savent pas ce qu'ils font"
            "Perdónalos porque no saben que lo que hacen"
            "Oprosti im, jer ne znaju što čine"
            "Forgive them as they know not what they do"





            Comment


              #7
              Originally posted by Finless View Post
              OK try this real quick to eliminate the ko module

              open the terminal emulator
              type
              su
              then type
              insmod /system/lib/modules/touch.ko

              then do a lsmod and see if it shows.

              If it does, then something is wrong with init.d


              Bob
              Hey bob iv just done what you said & now (virtual_touchscreen) shows up first in the list what does that mean was i doing something wrong is it installed now lol
              Please consider making a Donation to freakTab

              Comment


                #8
                I am checking now. That means the KO module works on 1.5 but something is not working right with init.d

                Hang tight. I will have an answer soon.

                Bob
                "Pzebacz im, bo nie wiedzą, co czynią"
                "Прости им, они не ведают, что творят"
                "Perdona loro perché non sanno quello che fanno"
                "Vergib ihnen, denn sie wissen nicht, was sie tun"
                "Vergeef hen want ze weten niet wat ze doen"
                "Pardonne-leur car ils ne savent pas ce qu'ils font"
                "Perdónalos porque no saben que lo que hacen"
                "Oprosti im, jer ne znaju što čine"
                "Forgive them as they know not what they do"





                Comment


                  #9
                  I found the problem!

                  I am an IDIOT!

                  I made the script using Windows notepad and the Android shell does not like windows line endings. I actually knew this issue but forgot!

                  So I made a new script that works and is tested.

                  The new file download name is touch1.zip. Download it from the first post and follow the instructions again.

                  Sorry for the mistake. Let me know if you get it working this time please.

                  Bob
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment


                    #10
                    Originally posted by blinkone View Post
                    I cant seem to be able to get this to work.
                    Mk809ii finless 1.5 imito rom

                    Iv pasted the touch.ko file to /system/lib/modules
                    Set all the READ boxes & Set the first WRITE box. Leave the other boxes unchecked (permissions rw-r--r--)

                    pasted the 01touch file to /system/etc/init.d
                    This time set ALL the boxes except the last WRITE box (permissions rwx rwx r-x)

                    when i run Terminal Emulator i dont see virtual_touchscreen
                    i can only see wlan,,,vpu_service,,,,tun,,,,xpad,,,,mirroring,,,, rk29,,,,mali,,,,ump

                    so i guessin i have done something wrong & the module is not injected into the kernel it looked so easy too
                    Ok i used updated file and now its ok

                    Comment


                      #11
                      Originally posted by Finless View Post
                      I found the problem!

                      I am an IDIOT!

                      I made the script using Windows notepad and the Android shell does not like windows line endings. I actually knew this issue but forgot!

                      So I made a new script that works and is tested.

                      The new file download name is touch1.zip. Download it from the first post and follow the instructions again.

                      Sorry for the mistake. Let me know if you get it working this time please.

                      Bob
                      Bob comes to the rescue yet again lol your no idiot you were just having a moment lol i have plenty of them lol its now showing 2nd from the top of the list Many thanks Bob another problem solved
                      Please consider making a Donation to freakTab

                      Comment


                        #12
                        Originally posted by blinkone View Post
                        Bob comes to the rescue yet again lol your no idiot you were just having a moment lol i have plenty of them lol its now showing 2nd from the top of the list Many thanks Bob another problem solved
                        So has any body else ever noticed that bob doesnt sleep,Hes on here answering questions when I go to bed and when I get up and all day long, I think everybody should take a minute and give a quick thanks for his efforts and dedication !!!!

                        Comment


                          #13
                          could you make a flashable zip?
                          i'm a noob when it comes to adb en commands and stuff

                          Comment


                            #14
                            Re: Add touch screen support for Six Axis/Joy Center to my ROMs

                            Originally posted by Limitless83 View Post
                            could you make a flashable zip?
                            i'm a noob when it comes to adb en commands and stuff
                            If you have cwm installed I can do it, tomorrow I will give you the link
                            REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                            My devices:
                            Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                            MK902 & MK902II(Sponsored by RKM)
                            Beelink M8B & Beelink R89 (Sponsored by Beelink)
                            Tronsmart VEGA S89H (Sponsored by
                            Gearbest.com)
                            MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                            Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                            Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                            Comment


                              #15
                              Re: Add touch screen support for Six Axis/Joy Center to my ROMs

                              I do.
                              thanks.

                              Comment

                              Working...
                              X