[Q] Need to know screen manufacturer and get drivers for other stuff - General Questions and Answers

Ok I might sound like a noob here (which I am ) but I need to know the manufacturer of the screen and obtain drivers for it.
Why I need it?
We are trying to build a custom kernel and actually we got some success. But following are the bugs:
screen doesn't turn off after locking
camera doesn't work.. just a black screen
usb doen't work
touch sensitive buttons don't work except home button which now works as back button!
volume down button has now become volume up button.. and volume up button doesn't work...
What is the device name?
It is Karbonn A18/Neobox tuan 4.3 with MT6575 chipset and MT6620 combo chip.
--------
Can anyone please help? We are just two people working on this and looking for someone who can help us out.
Thanks in advance!

CHANGING HARD KEY FUNCTION (REMAPPING BUTTON)
Quote:
1. open /system/usr/keylayout/[phone model]-keypad.kl with notepad++
(Some phone may have different names, but it will always end with "keypad.kl)
it will look like this --
HERE YOU WILL FIND 3 ROWS...
Quote:
1. As you can see, there are different attributes assigned to each key. like this
Code:
key 102 HOME
key 139 MENU
key 158 BACK
key 115 VOLUME_UP
key 114 VOLUME_DOWN
2. Specific application/action launchers:
Code:
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #Self explanatory
3. And attributes saying if it should wake the phone at button push to complete the action, or if it should just complete the action without waking the screen.
Code:
WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
2. NOW WE WILL EDIT SECOND AND/OR THIRD ROW
Erase the center row value for any key to completely disable it. To reassign the key, replace the center row value with another one from the same row. Change the right row value to either "WAKE" or blank to enable the wake function. Do not modify the left row.
NOTE: don't edit left row i.e. first row which contains specific key identity number.
FOR EXAMPLE I DO THESE CHANGES
DEFAULT VALUES ---
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
CHANGED VALUES ---
Code:
key 115 CAMERA WAKE
key 114 FOCUS WAKE
NOW VOLUME UP KEY WILL WORK AS CAMERA KEY AND VOLUME DOWN KEY WILL WORK AS FOCUS KEY....
NOTE: all words should be in BOLD letters i.e. capital letters...

Hello,
My phone model is CCE SM70 in brazil, same as Karboon A18 and NEOBOX TUNA, i would like to know how you compiled the kernel for this device. You compiled the philips w732 from forum.china-iphone.ru with default kernel config for mt6575?
Thanks in advance,
Tiago

Related

AE Button Plus Not Working

Hello all,
I installed AE Button Plus 2.6.6.1 in my Topaz, with ROM 1.39.405.2 WWE. I tried unsuccessfully to remap both the Windows and the Back key, but nothing happened... By the way, the Back key did not exist, and I used the "Add Key" function to capture it; however, when I pressed it, the check box "Win Key" in AEBP was auto-checked... In any case it doesn't matter much, since as I said neither it nor the original Win key worked...
Has anyone used AEBP in Topaz with success? Any other key mapping software you would recommend?
The back key is actually the OK key.. that's confirmed.
I know the results of using the software is abit unexpected.. you'll have to experiment around.
I use it for my VOL up and down keys, and mapped it to UP and DOWN respectively. When I press and hold the keys, thats when I get to control the volume. Generally, my volume is always set to max, so Up and DOWN functionality is more important for me.
Now.. I can use my VOL up and down buttons to fast-forward and reverse video playback in CorePlayer
It seems like Manilla is blocking the Win key and OK/back key.
With Manila disabled you can control all keys. Note that you have to map all keys once you have mapped some of Win / Ok / Call End. AE shows this info too.
And my mapping :
Vol Up/Down single press - Arrow Up/Down
Vol Up/Down long press - Vol Up/Down
Call Start single - Call start
Call Start double - Left Softkey
Call Start triple - Task manager
Call Start long - Enter
Win Key single - Left Arrow
Win Key long - Start menu
OK Key single - Right Arrow
OK Key long - OK/Close
Call End single - Call End
Call End double - Right Softkey
Call End triple - Screen On/Off
Works great and I can control most of apps without tapping (really useful in Total Commander, I have really small font in there)
But there is a problem controlling games - some of them ignore AE Buttons - and for the others the key presses come too slow.
Have fun!
ztracenyDen said:
It seems like Manilla is blocking the Win key and OK/back key.
With Manila disabled you can control all keys. Note that you have to map all keys once you have mapped some of Win / Ok / Call End. AE shows this info too.
And my mapping :
Vol Up/Down single press - Arrow Up/Down
Vol Up/Down long press - Vol Up/Down
Call Start single - Call start
Call Start double - Left Softkey
Call Start triple - Task manager
Call Start long - Enter
Win Key single - Left Arrow
Win Key long - Start menu
OK Key single - Right Arrow
OK Key long - OK/Close
Call End single - Call End
Call End double - Right Softkey
Call End triple - Screen On/Off
Works great and I can control most of apps without tapping (really useful in Total Commander, I have really small font in there)
But there is a problem controlling games - some of them ignore AE Buttons - and for the others the key presses come too slow.
Have fun!
Click to expand...
Click to collapse
So you mean that if I want the AEBP to work I must not use TF3D? Then there is no point in having it...
That's right, after deactivating TF3D I was able to map all keys.
Maybe just enabling standard start menu and volume control will help (search for registry tweaks).
Since I am only needing an "OK" (or "Enter") key (like the one in TD1), is there a way to do it myself by modifying a reg key? I also searched Advanced Config, but it seems to offer only soft keys remapping...

[Q] How to remap soft-touch buttons?

Hi there!
Could someone tell me how to remap soft touch buttons to get:
menu = recent apps
menu (hold) = menu
and how to remap them in general?
I tried to edit .kl files in keylayout folder like this:
key 139 APP_SWITCH
key 249 MENU
but soft keys stopped working.
I know codes are different for every device, so please do not redirect me to other devices' topics.
What I have to do?

[Q] Galaxy S2 Power Button Failure

My sprint epic power button failed and I am trying to fix it by moving the function of the power key to the volume up or down key and setting the power key function to null. I have several questions on how to do this.
1. I know that I will have to gain root access but is there a way to do this without installing a custom kernel?
2. If i do end up having to root hte thing how do I get into download mode if the power key is not working?
3. My current /system/usr/keylayout/ has several files in it and am I right to assume that I should be editing the gpio-keys.kl file?
4. Is the 116 button assigned the power button value and 115 volume up?
5. Currently the file looks like this
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
so if i edited it to something like
key 115 POWER WAKE
key 114 VOLUME_DOWN WAKE
key 116
would it still work? I want to leave the power key funciton blank as it looks like it is stuck and I dont want it to get stuck performing volume up the whole time.
That is all. Any help would be extremely appreciated by me and as you can see I am new to this whole process so if you have any pointers or better ways of doing this I would be extremely grateful for any input.
Bump
Bump
sacaAf unto
Any suggestions would def help

Lock the device on longpress vol down

Hi all
I made some searches but didn't find any answer, hope some of you could help me.
I want to edit the system/usr/keylayout/device-keypad.kl to make my device go to sleep when screen on & longpress vol down.
Here is the original file content :
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
In fact, I don't know the keycode and keyevent name of a vol down longpress.
Can someone know this ? Or at least how to get it ? (Already tried KeyCode Display but it doesn't work as expected).
NB : I already tried Xposed Additions module, and it made the job quite well (device goes to sleep when longpress the right key), but all other keys seems to be messed up (double vibrate, sometimes some keys doesn't even work) so I decided not to use this module anymore and make it manually by editing the right file.
Thx for reading

Trouble with APP-SWITCH & MENU key

Hello,
First post I have rooted my Oneplus one yesterday, after that my MENU key and recent app (APP-SWITCH) has been set back to default
Long Press - APP-SWITCH & Short press - Menu
I wanted to interchange both keys Long press - MENU & Short press - APP-SWITCH
Then I followed http://forum.xda-developers.com/showthread.php?t=2733811 for switching keys
I have replaced
(key 139 MENU) with (key 580 APP-SWITCH)
Now my APP-SWITCH key is working but MENU is not working please help me sort it out as its my first root ever so noob with these.
If someone want to help you can get Generic.kl here- - > http://pasted.co/3a9b34ca
I think it's because key 580 is long press of MENU not long press of key 139. So whichever button you set to MENU, when you long press it, it will use key 580's value. In this case, your left button just turned to Recents (APP_SWITCH) key, not MENU key anymore, so when you long press it, key 580's value won't be used.
So i think changing left button short press to Recents (APP_SWITCH) key is as far as you can go, nothing more you can do about the long press without custom ROM or xposed. (Or does CyanogenOS have the Buttons section in the settings, i don't remember)

Categories

Resources