Kitkat-Extracting Off Screen Gestures application - Android Q&A, Help & Troubleshooting

Hi,
I have 2 factory samples from manufacturers running Android Kitkat.
One of them has an option of using offscreen gestures like wake up on double tap, draw "C" to launch camera etc.
I am trying to identify which application enables this functionality so that I can extract the same and enable it on my second device.
I have tried looking for apps inside /system/framework and /system/apps but could not locate the same.
Can someone help me out with this?
Regards,
Rohit

rohitsharma1982 said:
Hi,
I have 2 factory samples from manufacturers running Android Kitkat.
One of them has an option of using offscreen gestures like wake up on double tap, draw "C" to launch camera etc.
I am trying to identify which application enables this functionality so that I can extract the same and enable it on my second device.
I have tried looking for apps inside /system/framework and /system/apps but could not locate the same.
Can someone help me out with this?
Regards,
Rohit
Click to expand...
Click to collapse
this is kernel feature, you need a compatible kernel and then the app

@masterchop
Any pointers on how to proceed?
I have tried searching at many places but no help available.
Thanks.

rohitsharma1982 said:
@masterchop
Any pointers on how to proceed?
I have tried searching at many places but no help available.
Thanks.
Click to expand...
Click to collapse
I am not the best person to guide you, i am at the same place at you. never done it.
But i this should start by looking at kernel code and how display works, drivers and that stuff. i think all of that is in C that's why i never continue the research. i dont know c.

Related

[APP] Transparent Settings app LIST ADDED FOR INTERESTED PORTERS :D

Heey there
I was searching a while for a transparent settings app (I like transparent apps so )
Since no theme porter or dev was answering the Q for transparent settings app
I tried to customize the settings app myself i tried different things but unsuccessful (maybe because of my limited skills )
After some more trying it almost works
So thought I'll post it here so everyone can enjoy a transparent settings app
Since I'm not a dev or theme porter and I was just trying something out
There are some bugs in it but I don't have the required skills to fix them all
so if there is any dev or theme porter that could give me some tips PM PLEAS I really want this done
Extra options that work
Build in font changer in settings app itself so no need for Third party app
G-sensor calibration option
This need to be "fixed"
Wireless and network menu
Bluetooth switch on the check-box in the settings menu doesn't work (when you enable bleutooth in the statusbar the settings can be changed in the bleutooth menu)
Call settings menu
The call settings menu should be expanded (now there is only a voice-mail setting option so nothing like hide numer callsettings etc.)
Sound settings menu
There is an option for video-call ringtone (need to be removed but doesn't give FC so not urgent )
Display settings menu
Brightness setting doesn't work (if you use the Power control widget you can change the brightness)
There are options for
- White colour density
- Black colour density
- Saturation
- TV out
All FC, whether they should be removed or fixed, if someone can make these option working that would be super
The horizontal calibration must be edit because the roll indicator is not one the right scale
Location and security menu
The option for aiding sensors is missing
Application menu
in the menu "manage applications the size for each app is on the big side not verry handy if you have a lot of apps but its just for the looks so not verry urgent
SD-card and memory menu
There is an option for formatting internal memory haven't tried it yet but if someone has enough courage to try this option we will know if it works
For the rest everything is working perfect
Thx man
Love it !
longlong240 said:
Thx man
Love it !
Click to expand...
Click to collapse
I'm still looking for a solution for the parts that don't work
I need to learn a lot more to make this working fully
This was my first attempt so thanks for testing
I'll give you a thanks when I've my computer
Sent from my GT-I5800 using XDA App
(I like transparent apps
Blackyx007 said:
I'm still looking for a solution for the parts that don't work
I need to learn a lot more to make this working fully
This was my first attempt so thanks for testing
I'll give you a thanks when I've my computer
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
There must be a solution for the part doesn't work
I will wait for it because it is so
longlong240 said:
There must be a solution for the part doesn't work
I will wait for it because it is so
Click to expand...
Click to collapse
I've uploaded a new one looks a bit better but still some things need to be fixed but I'm trying
Blackyx007 said:
I've uploaded a new one looks a bit better but still some things need to be fixed but I'm trying
Click to expand...
Click to collapse
Downloading
longlong240 said:
Downloading
Click to expand...
Click to collapse
Thanks for trying
Could you give me some feedback and let me know which parts are not working
I'm probably doing it on the wrong way but I really want a transparent settings app so
EDIT: I think i didn't compile the apk correctly ore somthing else went wrong because now there are less functions working!? HEEEELP
Blackyx007 said:
Thanks for trying
Could you give me some feedback and let me know which parts are not working
I'm probably doing it on the wrong way but I really want a transparent settings app so
EDIT: I think i didn't compile the apk correctly ore somthing else went wrong because now there are less functions working!? HEEEELP
Click to expand...
Click to collapse
Er... When I press on any subtitles, it FC and... and... I found that i forget to do a backup... so... so... I am reflashing the rom
longlong240 said:
Er... When I press on any subtitles, it FC and... and... I found that i forget to do a backup... so... so... I am reflashing the rom
Click to expand...
Click to collapse
No need to re-flash your rom
just past the Settings.apk attachment in System/app an you got your old Settings.apk back
Blackyx007 said:
No need to re-flash your rom
just past the Settings.apk attachment in System/app an you got your old Settings.apk back
Click to expand...
Click to collapse
Reflash a Rom is much more easier than prepare a cup noodles. Just plug to PC and then fire up odin, wait for 2mins than Titanium Backup than that's all
Now doing a full Backup
But anyway thank you for your setting.apk
longlong240 said:
Reflash a Rom is much more easier than prepare a cup noodles. Just plug to PC and then fire up odin, wait for 2mins than Titanium Backup than that's all
Now doing a full Backup
But anyway thank you for your setting.apk
Click to expand...
Click to collapse
That's true
but when i see its not working but I'm on my way home and don't have a pc I just replace the old one
so no reboot, flash or backup needed
Thanks for trying I hope some day a theme porter will give me some tips or make a better one
I'll reupload my previous one so some people can try it out and maybe fix the bugs
After trying my first attempt again i discovered that the build in font changer in the settings app works so you can apply new fonts in the settings app itself so no need to install any third party apps
Also the option for G-sensor calibration works!!!
Well. The main difference you will find in styles.xml when you decompile this Settings.apk and the one from our phone. There are some lines that have to be added to it. And then you will have to define them in Public.xml also. And then again you will have to declare them in the classes.dex file. i.e. in the smali files.
Its tedious. Smali/baksmali.
dhirend_6d said:
Well. The main difference you will find in styles.xml when you decompile this Settings.apk and the one from our phone. There are some lines that have to be added to it. And then you will have to define them in Public.xml also. And then again you will have to declare them in the classes.dex file. i.e. in the smali files.
Its tedious. Smali/baksmali.
Click to expand...
Click to collapse
Thank you so much
Since I actually still have very little experience with XML. I am teaching myself more, so it will take a while before I can continue to improve this
many thanks for your advice
If there is someone with more knowledge than me please feel free to edit the app
Sent from my GT-I5800 using XDA App
^ Hi,
what's the exact problem/ui issue your are having? (like text color or list item selection color etc.)
I haven't tried modding an app before but I am a full-fledged Android developer.
So I will try to help you if possible.
sameer.pur said:
^ Hi,
what's the exact problem/ui issue your are having? (like text color or list item selection color etc.)
I haven't tried modding an app before but I am a full-fledged Android developer.
So I will try to help you if possible.
Click to expand...
Click to collapse
We need to port this. Add few lines to styles.xml and the smali files.
Ok, I got the editing part. but what should I try to fix?
Is there a list of issues for this?
sameer.pur said:
Ok, I got the editing part. but what should I try to fix?
Is there a list of issues for this?
Click to expand...
Click to collapse
Excuse me for my wrong word choice,
with fixing I meant editing
But I'm really a noob in this kind of things
I will send a list as soon as possible
Thanks for your interest

WP8 glQuake port

jmarshall23 have ported glQuake to WP8 platform (check http://social.msdn.microsoft.com/Forums/en-US/wphowto/thread/1e3e54fa-bcab-4f8f-ad83-61ef88a4ad91) but I can't build his sources.
Could anybody with experience try to compile?
sensboston said:
jmarshall23 have ported glQuake to WP8 platform (check http://social.msdn.microsoft.com/Forums/en-US/wphowto/thread/1e3e54fa-bcab-4f8f-ad83-61ef88a4ad91) but I can't build his sources.
Could anybody with experience try to compile?
Click to expand...
Click to collapse
That's awesome. Hopefully he updates it again to get the 'bugs' worked out and the map selection working.
ryotgz said:
That's awesome. Hopefully he updates it again to get the 'bugs' worked out and the map selection working.
Click to expand...
Click to collapse
It wasn't a bug but my mistake Changing build profile to the "ARM" solved the issue. So if anybody wanna try, just download xap from here: https://www.dropbox.com/s/kbf9734ih8hthp9/Quake_Debug_ARM.xap
(I can't test now 'cause Q&A took my WP8 developer's handset)
P.S. I can't find original pak's from Quake (also, they still protected by copyright) so I've added open source, non-original paks. May be, app will not work with these paks but you may replace 'em by original in the xap.
Nice!
I deployed it to my lumia and it looks like the original pak might be needed. Did you specify the map to be loaded? That could be it as well.
I attached a screenshot.
EDIT: I took a look at the autoexec.cfg in the xap and its blank. I'm trying to find a map name to enter now..
I replaced pak0 and pak1 and get to the main screen with a demo playing. Assume I just need to get a map name now.
Standard Quake 1 map names are: E1M1, E1M2 etc.
Try to add line: map e1m1 to autoexec.cfg
sensboston said:
Standard Quake 1 map names are: E1M1, E1M2 etc.
Try to add line: map e1m1 to autoexec.cfg
Click to expand...
Click to collapse
That worked. It loads the map but the on screen controls aren't where they should be. I can only find one of the buttons.
Hey, ryotgz, pls try to re-download and re-sideload xap - I did some changes but unfortunately can't test by myself
P.S. That build suppose to have a correct (original) paks.
sensboston said:
Hey, ryotgz, pls try to re-download and re-sideload xap - I did some changes but unfortunately can't test by myself
P.S. That build suppose to have a correct (original) paks.
Click to expand...
Click to collapse
The new xap loads the demo now. Just need to set the autoexec to a map, I was able to do that with the last xap.
BTW - I'm Rygot msdn.
BTW - I'm Rygot msdn.
Click to expand...
Click to collapse
I already realized that But (of course!) I prefer xda-dev forums - MSDN engine has a stupid and poor formatting...
P.S. Please tell me how screen controls appear in new xap. I've added different screen size detection algorithm to his code.
sensboston said:
I already realized that But (of course!) I prefer xda-dev forums - MSDN engine has a stupid and poor formatting...
P.S. Please tell me how screen controls appear in new xap. I've added different screen size detection algorithm to his code.
Click to expand...
Click to collapse
It seems to be the same. The only button I can find is what appears to be the left arrow. Added two screenshots if it helps.
Hmm, I don't understand... Are those pics your actual screenshots? The second screenshot has both controls, same as on youtube video. What do you expect?
sensboston said:
Hmm, I don't understand... Are those pics your actual screenshots? The second screenshot has both controls, same as on youtube video. What do you expect?
Click to expand...
Click to collapse
When you press where the controls are, they don't do anything. I would expect them to work. The only spot on the screen where I can find something that works is on the Right arrow > But when I press the Right arrow, it acts like I press the Left arrow <
This leads me to believe the actual areas of the controls do not match up with the onscreen buttons.
OK, now I understand, thanks for explanation! Will try to find and fix that code...
Could you try now (re-download and re-deploy)?
P.S. I've already added "map e1m1" to autoexec.cfg
None of them work now. The previous spot that worked is no longer there either.
OK, will try another code later (I still not able to debug by myself ).
Please, try now.
sensboston said:
Please, try now.
Click to expand...
Click to collapse
Same result as last time. I tried the whole screen and didn't get any response.
If I get a chance tonight,I will join in the testing, my 8X is unlocked and I would love to have quake on my phone....a game I also grew up on... Is that ok ?

[Q] Remove menu/back gestures

Hi all,
I'm running the custom monXDified ROM on my Omate Truesmart and request you some helps. All is fine now, except for the keyboard I installed : Touchpal X.
I use the swipe writing, and when words begin with the letters far left or far right, Touchpal does anything as the menu/back swipe action is triggered by android. Even I use "Ultimate dynamic navbar", and try to set "no action" for swipe left or right, these last are always triggered.
So I think the built-in gestures function is overrode somewhere in android. Does someone know how to fix it, I've tried many things but without success . Thanks in advance.
PS : sorry, I can't already post external links for the apps above.
Nobody interested in it ?
miosotys38 said:
So I think the built-in gestures function is overrode somewhere in android. Does someone know how to fix it, I've tried many things but without success . Thanks in advance.
Click to expand...
Click to collapse
This is deep in the Umeox ROM and cannot be configured (unless the ROM has secret settings).
It may be possible to use Xposed to replace the system calls, but you will probably remove other functionality too...
(Xposed is powerful, but Xposed apps have to be hacks.)
gerhardo said:
This is deep in the Umeox ROM and cannot be configured (unless the ROM has secret settings).
It may be possible to use Xposed to replace the system calls, but you will probably remove other functionality too...
(Xposed is powerful, but Xposed apps have to be hacks.)
Click to expand...
Click to collapse
I tried Xposed module, but it always triggers the native gestures and sometimes the custom action in Xposed module at the same time. So no solution yet, if someone finds it, please share.
miosotys38 said:
I tried Xposed module, but it always triggers the native gestures and sometimes the custom action in Xposed module at the same time. So no solution yet, if someone finds it, please share.
Click to expand...
Click to collapse
To clarify: You will have to trace the ROM and implement the Xposed hooks yourself to disable the built in gestures (unless Umeox has some secret settings).
I understand but I don't know how to do this exactly and which tools to use. I'm not friendly with android development tools yet. Can you give details please ?
miosotys38 said:
I understand but I don't know how to do this exactly and which tools to use. I'm not friendly with android development tools yet. Can you give details please ?
Click to expand...
Click to collapse
Xposed tutorial:
https://github.com/rovo89/XposedBridge/wiki/Development-tutorial
Developing Xposed is something in between kernel hacking and app development.
The tutorial suggests using the AOSP code, but this is not possible here. Maybe the modifications are included in the TS code drops, I do not where to start looking.
If you need to ask, you should probably not even think about it....
Thanks for all answers. So I'll see if it is really useful to solve this problem or not.

How to remove Swipe Screen To Unlock ?

Got to go through decompile method, please help to comment below how to disable it.
As you all guy know it's so annoying after Marshmallow update after you set pin number, your device require you to swipe screen to unlock. Most of the people want to press power button and str8 enter pin. How to fix it? Thanks
Please don't suggest third party app
here you go: https://play.google.com/store/apps/details?id=org.jraf.android.nolock
Sage said:
here you go: https://play.google.com/store/apps/details?id=org.jraf.android.nolock
Click to expand...
Click to collapse
that is so lame no one want to install third party app
doulc said:
that is so lame no one want to install third party app
Click to expand...
Click to collapse
To be fair, A solution to your issue was presented. Now, as far as I know the only time I've seen that feature being able to be bypassed was with an AOSP rom.
Critical Detox said:
To be fair, A solution to your issue was presented. Now, as far as I know the only time I've seen that feature being able to be bypassed was with an AOSP rom.
Click to expand...
Click to collapse
Don't disturb the thread if it's not a solution.
If you knew Aosp you might as well know which fucntion it's located at which also mean it can be changed by decompile and mod the apk/jar.
At least point out which app/apk is responsible for that in which smali
looking for the solution as well
kitkat had no issues with this. newer androids make the internal scarcity a pain to use with the extra step

[QUESTION] How to truly disable the NavBar on Oreo?

Greetings!
I've been searching for a way to truly disable the NavBar on Samsung Oreo, I don't want to just hide the NavBar, I want to truly disable it but I haven't found a way to do this on Oreo yet.
Can anyone help me find a way to achieve this???
Best regards!
There is a mod on magisk that worked for me
arashm35 said:
There is a mod on magisk that worked for me
Click to expand...
Click to collapse
Which one??
Kimbaroth said:
Which one??
Click to expand...
Click to collapse
It's called "hide navigation bar", you can find it in the download section of the app.
Without root
Is there a way to do it without a root? Like this used to work https://forum.xda-developers.com/galaxy-s8/how-to/getting-rid-galaxy-s8-navigation-bar-t3659742
EDIT
I think I have found a solution. Please check my later comment on this thread "https://forum.xda-developers.com/galaxy-s8/how-to/getting-rid-galaxy-s8-navigation-bar-t3659742/post76057934#post76057934"
yeah ive been struggling with my nav bar as well. before used to be so simple to remove it. login to the forum just to find threads like this and see if someone came up with a solution without root
Own31 said:
yeah ive been struggling with my nav bar as well. before used to be so simple to remove it. login to the forum just to find threads like this and see if someone came up with a solution without root
Click to expand...
Click to collapse
https://forum.xda-developers.com/ga...gation-bar-t3659742/post76057934#post76057934
Check out my comment. Think I have found a solution now.
penguinthatflew said:
https://forum.xda-developers.com/ga...gation-bar-t3659742/post76057934#post76057934
Check out my comment. Think I have found a solution now.
Click to expand...
Click to collapse
Hey thx, it worked. This will do for now.
I do have space on the keyboard just like you do. Hopefully someone comes along who can fix it.
Own31 said:
Hey thx, it worked. This will do for now.
I do have space on the keyboard just like you do. Hopefully someone comes along who can fix it.
Click to expand...
Click to collapse
I always ended up spacing out space under the keyboard in the other older method anyway so didn't really notice. I find it's more natural to type a bit higher up.
If it's helped please do check out my thread I made on the method and thumbs it up for others
Hey everyone, I actually found a way to remove status bar completely and not have the space under the keyboard. It requires ADB so you'll need a computer with ADB drivers and us debugging enabled on your device. Depending on your situation (what kind of navigation you want to use; OnePlus gestures, Xhome bar etc) this might not work. I currently use OnePlus gestures. There's a setting you enable to remove the navigation bar but you need to give the app ADB access. You'll as well need an app to enable immersion (I use systemui tuner) The result is no navigation bar. This is the only thing I've got working well for me and OnePlus gesture app can be customized a lot.
I hope this helped, and if anyone needs clarification I'll give it.

Categories

Resources