[Dev][XZ][Discussion] Xperia Tablet Z Double tap to wake up on XZ - Xperia Z Android Development

Welcome to all XZ dev to take a look on this thread.As you guys know,the Sony's XTZ brings the new double tap to wake up screen features, and I tried to port it onto our XZ but it will not work perfect ( you can take a look on my Yuga Konomi ROM)So I will release the steps that how did I put the double tap to wake option on our device,and welcome all developers helps me to let this things working great on our device without any third party apps
Notes:
~Just give me a little thanks and credits if you want to include it or what, it is up to you what you want to do with this thing
~When you done doing, The Double tap to wakeup are not WORKING, If you ask for me why it wont work I will not replying to you
~My English are not very good, please forgive me if i got some grammas or vocabulary errors
~If you can let this features working, I will 100% salute to you (cause I researched it about 1 months and still can't work xD
First,
Add the "Double tap to wake up" option at our XZ's settings
Add this script to /system/build.prop
Code:
persist.sys.touch.wakeupgesture=0
PS: you can set the value 0 to value 1 cause this 2 values dosen't hav different XD
then, Download the WakeZip.Zip at attachment section
put clearpad_wakeup_gesture.so to /system/lib
then
put fast-dormancy-wakeup.apk and fast-dormancy-wakeup.odex to /system/app (I can't deodex it atm)
after that take a reboot and It will hav the options at settings ​

I edit build.prop, put 2 files of zip file, and reboot.
After reboot, double tap2wake checked in settings.
But this mod isn't working on my C6603.
sent from my Xperia Z using Taparalk 4
Model : C6603 / ROM : monxDIFIED Honam1Z v020105

loveninecube said:
I edit build.prop, put 2 files of zip file, and reboot.
After reboot, double tap2wake checked in settings.
But this mod isn't working on my C6603.
sent from my Xperia Z using Taparalk 4
Model : C6603 / ROM : monxDIFIED Honam1Z v020105
Click to expand...
Click to collapse
You should put on glasses and read Notes

See settings but does not work.

Oh my, I'd love this feature on the XZ, will have to wait for a deodex one though.

Waiting for update
Sent from my C6603 using XDA Premium 4 mobile app

Testing..
Sent from my C6603 using xda app-developers app

I think you know that will not work and just sharing with no reason

androidfreak70 said:
I think you know that will not work and just sharing with no reason
Click to expand...
Click to collapse
no, our xz can surely use that feature with kernel edit. I share this for try to enable this on locked bootloader
Sent from my C6603 using Tapatalk

jimRnor said:
no, our xz can surely use that feature with kernel edit. I share this for try to enable this on locked bootloader
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
So if i tried this on unlocked bootloader will work?

androidfreak70 said:
So if i tried this on unlocked bootloader will work?
Click to expand...
Click to collapse
If you have a suitable kernel

Mackay53 said:
If you have a suitable kernel
Click to expand...
Click to collapse
Thats good:victory: but i try later

androidfreak70 said:
So if i tried this on unlocked bootloader will work?
Click to expand...
Click to collapse
You need a kernel that has wroted the double tap to wake up script to work
Sent from my C6603 using Tapatalk

jimRnor said:
You need a kernel that has wroted the double tap to wake up script to work
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Someone before you told me this

All what you did is add an option in settings.
It will NEVER work like that, even with more lib or apk...
Double tap to wake up is implemented inside different .jar files.
I have found things about it in services.jar and framework.jar
The port required too much smali changes, that's why I haven't start the job.
Use trickster mod from playstore to activate double tap to wake.

niaboc79 said:
All what you did is add an option in settings.
It will NEVER work like that, even with more lib or apk...
Double tap to wake up is implemented inside different .jar files.
I have found things about it in services.jar and framework.jar
The port required too much smali changes, that's why I haven't start the job.
Use trickster mod from playstore to activate double tap to wake.
Click to expand...
Click to collapse
So thats why I say it will work on special script writed kernel
Btw I can't see the double tap to wake options on trickster mod?
Sent from my C6603 using Tapatalk

Help on trckster mod...
niaboc79 said:
All what you did is add an option in settings.
It will NEVER work like that, even with more lib or apk...
Double tap to wake up is implemented inside different .jar files.
I have found things about it in services.jar and framework.jar
The port required too much smali changes, that's why I haven't start the job.
Use trickster mod from playstore to activate double tap to wake.
Click to expand...
Click to collapse
Hi Naiboc79,
Please help me to activate double tap to wake in trickster mod....
Thanking you,
regards,
VIJAY

finally work or not?
4.4.2
odex
sx zl

Ya, on xz 24 kernel
Sent from my C6603 using XDA Premium 4 mobile app

jimRnor said:
Btw I can't see the double tap to wake options on trickster mod?
Click to expand...
Click to collapse
vijayjeeva said:
Please help me to activate double tap to wake in trickster mod....
Thanking you,
regards,
VIJAY
Click to expand...
Click to collapse
Double tap to wake is related to the kernel's feature and you can't see the option in the trickster mod if your kernel doesn't include it.
The option will show up when your kernel is competent.

Related

[Q][SOLVED] How to integrate PA Disable Hardware Button settings to CM10.1 ROM

Hi!
Is there a way to integrate the Hardware Button Settings from PA to CM10.1 Official ROM which can disable the use of Back, Home and Menu Button? I would like to use the on screen button and let the hardware keys disabled.
If I need to add a certain code, could someone point me which file and code should I copy and to which file in CM10.1 should I paste it.
Thanks!
EDIT:
Found a way to disable hardware keys and enable on screen button. Thanks to Utacka and Chasmodo. Flashable Mod can be found here.
http://forum.xda-developers.com/showthread.php?t=2051904
bratboo said:
Hi!
Is there a way to integrate the Hardware Button Settings from PA to CM10.1 Official ROM which can disable the use of Back, Home and Menu Button? I would like to use the on screen button and let the hardware keys disabled.
If I need to add a certain code, could someone point me which file and code should I copy and to which file in CM10.1 should I paste it.
Thanks!
Click to expand...
Click to collapse
You need to put this code on the bottom of your build.prop using rom tool box
Edit: yes you can copy and paste it once you paste it you need to save I... then reboot your phone then you should have three soft buttons on the bottom of your screen.....
qemu.hw.mainkeys=0
Sent from my SPH-L900 using xda app-developers app
mr pnut said:
You need to put this code on the bottom of your build.prop using rom tool box
Edit: yes you can copy and paste it once you paste it you need to save I... then reboot your phone then you should have three soft buttons on the bottom of your screen.....
qemu.hw.mainkeys=0
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Hi! Thanks! But what I ment was the settings in PA ROM which can disable the use of hardware buttons. Only PA has this settings.
Oh k my bad lol well you still have the code now
Sent from my SPH-L900 using xda app-developers app
There is no settings but how to do disable hardware buttons is in the FAQ section of the 10.1 rom. By AA
nokiamodeln91 said:
There is no settings but how to do disable hardware buttons is in the FAQ section of the 10.1 rom. By AA
Click to expand...
Click to collapse
There is under System settings. Anyways cannot find the thread. Found a solution for this thanks to Utacka. Case closed!

[MOD] Reboot option in Power Menu, stock feeling (no submenu) [434, DEODEX]

Reboot option in Power Menu, nice and simply stock feeling.
Only for DEODEXED 10.1.A.1.434 based ROM.
ExPower_Reboot_434_DEODEXED_v1
ROM cookers may localize "Reboot" string (by default it is in English and Russian) and change reboot icon in external-res.apk.
P.S. I will not make ODEX version.
It works ! Thanks very much !
Can somebody make this for ODEXED firmware
OP won't make it
Looks good. Mind if I add this to the next version of my ROM?
Sent from my C6603 using xda app-developers app
xL3thalTuRdZz said:
Looks good. Mind if I add this to the next version of my ROM?
Click to expand...
Click to collapse
Use it as you wish.
Mythusme said:
Can somebody make this for ODEXED firmware
OP won't make it
Click to expand...
Click to collapse
+1
we need that
Help me!
I'm using XZ SO-02E firmware .333, I want to flash this mod, but my device's rom is not Deodex.
So, Where can I find Deodex rom for my device??? Can SO-02E use Deodex rom? If it can use, please send me the ROM's link that I can download.
Thanks!
love the mod, would you know if it would be possible to add another option like reboot to recovery?
HackitZ said:
love the mod, would you know if it would be possible to add another option like reboot to recovery?
Click to expand...
Click to collapse
Yes it is possible. May be I will add it later as long press on reboot menu (like long press on power off menu - safe mode reboot).
that would be so cool.
Yes it is possible. May be I will add it later as long press on reboot menu (like long press on power off menu - safe mode reboot).
Click to expand...
Click to collapse
Can u add wake up by volume in your mod, Because when i flash your Mod, I don't use wake up by volume.
OP yhu mind posting a guide please?
wanna try for Xperia P.
Thanks
Hey, can you make it so that when you press reboot it comes up with "Reboot Now?", because it's always good to have a little confirmation!
Thanks for the little tweak
xL3thalTuRdZz said:
Hey, can you make it so that when you press reboot it comes up with "Reboot Now?", because it's always good to have a little confirmation!
Click to expand...
Click to collapse
Same think it would be a good idea or even reboot> reboot or reboot to cwm
Sent from my C6603 using xda premium
odex version please!
Yes! Looking forward to have ODEXED version of this.
Will you update this for 253fw?
Sent from my C6603 using xda app-developers app
krabappel2548 said:
Will you update this for 253fw?
Click to expand...
Click to collapse
Yes OP please update this
any news on a 253 update op?
HackitZ said:
any news on a 253 update op?
Click to expand...
Click to collapse
[MOD][253] Reboot option in Power Menu V2 [25/05]
It also works on 307 too.

[MOD] TAKE PICTURE with VOLUME KEY (FAST CAPTURE & ONE KEY SHOOT now enable) 22/05/1

[MOD] TAKE PICTURE with VOLUME KEY (FAST CAPTURE & ONE KEY SHOOT now enable) 22/05/1
Capture Volume Key
Original Xperia Z. Port Xperia V.
http://forum.xda-developers.com/showthread.php?t=2266208
No works in my .140 deodex enabled fast capture, but no works with volume + or -
Enviado desde mi LT25i usando Tapatalk 2
True, it does not work fast capture, who knows fix.
Enviado desde mi LT25i usando Tapatalk 2
Rojikaft said:
No works in my .140 deodex enabled fast capture, but no works with volume + or -
Enviado desde mi LT25i usando Tapatalk 2
Click to expand...
Click to collapse
Hello,
i can port the FastCapture for you...but ONLY on deodexed ROM.
so i need someone give me a "android.policy.jar" to work with
Respuesta
black97one said:
Hello,
i can port the FastCapture for you...but ONLY on deodexed ROM.
so i need someone give me a "android.policy.jar" to work with
Click to expand...
Click to collapse
Attach the file "android.policy.jar" Xperia V "Deodexed"
PDT: does not work under water in the catch. you can fix it?
Thank you.
Excuse my English I'm from Colombia.
This is my file and thank you so much!
salda said:
Attach the file "android.policy.jar" Xperia V "Deodexed"
PDT: does not work under water in the catch. you can fix it?
Thank you.
Excuse my English I'm from Colombia.
Click to expand...
Click to collapse
i make for your file but no have time to do a zip...going to work
i think you know how to push it with permission...don't forget make a backup first
tell us what is your firmware for pepeole who want use you file
black97one said:
i make for your file but no have time to do a zip...going to work
i think you know how to push it with permission...don't forget make a backup first
tell us what is your firmware for pepeole who want use you file
Click to expand...
Click to collapse
not work
LOL it's not your file don't try it
We don't know witch firmware it is...
Give me your file and tell me what is your firmware...I will make it to night when go back home
Xperia Tapatalk
Here is mine
http://www.mediafire.com/?y21lq6udpuev6re
Edit:
Custom Rom Based on. 140 firmware latest for Xperia V
http://forum.xda-developers.com/showthread.php?t=2235675
It has reboot option
Sent from my LT25i using xda premium
@ all
if you give me a file for modding...you must give some information!
1) your file firmware
2) if this file contains MOD (like reboot option in power menu)
3) if it's an STOCK or CUSTOM ROM file and witch version of the CUSTOM ROM
Like that people who want the MOD can take it if I have already make the MOD for this one
Xperia Tapatalk
black97one said:
@ all
if you give me a file for modding...you must give some information!
1) your file firmware
2) if this file contains MOD (like reboot option in power menu)
3) if it's an STOCK or CUSTOM ROM file and witch version of the CUSTOM ROM
Like that people who want the MOD can take it if I have already make the MOD for this one
Xperia Tapatalk
Click to expand...
Click to collapse
my file
http://www.mediafire.com/download/e4zvbmhcehrarct/android.policy.jar
FW LT25i_9.1.A.1.140
Contains Mod: reboot option, transparent navi and status bar, wake up by Volume key
Ok thanks
@soncarl can do same things please?
EDIT: just see it...thank you
Will Try to make different file before 20h
Quote
salda said:
Attach the file "android.policy.jar" Xperia V "Deodexed"
PDT: does not work under water in the catch. you can fix it?
Thank you.
Excuse my English I'm from Colombia.
Click to expand...
Click to collapse
---------------------------------------------------------------------
Rom: Stock
FW: .140
Mod: Reboot Option In Power Menu
PDT: does not work under water in the catch. you can fix it?
@salda
Did you already try your file I MOD this morning?
What do you mean "don't work under water" ?
Xperia Tapatalk
black97one said:
@salda
Did you already try your file I MOD this morning?
What do you mean "don't work under water" ?
Xperia Tapatalk
Click to expand...
Click to collapse
I think he is thinking like the ZR hehe maybe I'm wrong hehe
Sent from my LT25i using xda premium
I don't think a hardware key may don't work under water and good out...
Can you confirm working out of water?
Xperia Tapatalk
Quote
black97one said:
@salda
Did you already try your file I MOD this morning?
What do you mean "don't work under water" ?
Xperia Tapatalk
Click to expand...
Click to collapse
_________________________________________________________________
Working Under Whater.
Tanks !!
Waiting for mine haha
Sent from my LT25i using xda premium
Ok thanks
going back to Home now...will make other file with flashable zip
Xperia Tapatalk

[MOD][GUIDE]disable backlight and touch of HW button

hi,
this little guide explain how to disable completely ( brightness and touch) of hardware buttons.
PRE-REQUISITES:
-ROOT
-file manager with root permission
-terminal emulator
HOW TO:
-DISABLE SOFT KEYS
-with file manager open
/system/build.prop
and add this line at the end of file
Code:
qemu.hw.mainkeys=0
(when you want to restore change 0 to 1)
-create a copy of
/system/usr/keylayout/touch_dev.kl
on you sdcard (for restore)
-with your file manager open
/system/usr/keylayout/touch_dev.kl
go to the end of file and under:
Code:
#x3 synaptics touch
delete the line incoming with:
Code:
key158
key139
key102
and save the file!
!!WARNING!! this disable the keys!
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
and
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
-YOU ARE DONE!!
sometimes the brightness are restored but you can do a script to do this 2 lines of code at startup with Rom toolbox
if i help you click thanks )
Inviato dal mio LG-P880 usando XDA Premium HD app
just a suggestion, you should add a line to build.prop that enables the virtual buttons then
'cause if people do this without having a "backup plan", they can be doomed
IMO it has no sense for me navbar just takes screen space and our touch buttons are just perfect.
Sent from my LG-P880 using xda app-developers app
laufersteppenwolf said:
just a suggestion, you should add a line to build.prop that enables the virtual buttons then
'cause if people do this without having a "backup plan", they can be doomed
Click to expand...
Click to collapse
Yes i think you have a good idea xD
Inviato dal mio LG-P880 usando XDA Premium HD app
FunkyRasta said:
IMO it has no sense for me navbar just takes screen space and our touch buttons are just perfect.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
One use would be for gaming, as it eliminates kicking yourself to home screen with the buttons and getting disconnected. I do this often when I try to throw a grenade on mc4 software buttons and adequate warnings should indeed be added to this guide, but thanks!
Sent from my rooted P880
If u go one step further (like me ^^) you can use the home button to go to standby... Waking it doesnt work, cause its touchscreen...
Sent from my LG P880
if u go another step u can use xposed framework module for remap this three buttons for what u want
you can do this on MIUI without any mod/3rd party tools. i don't know why such options is not available CM/AOSP based roms.
Can't seem to do this, no permission to edit in the build prop file, can't change permission either :s
baxtex said:
Can't seem to do this, no permission to edit in the build prop file, can't change permission either :s
Click to expand...
Click to collapse
What file manager are you using and if check if the the file manager has permission to read and write to /system partition
Sent from my LG-P880 using xda app-developers app
abhi08638 said:
What file manager are you using and if check if the the file manager has permission to read and write to /system partition
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Rom toolbox and im quite sure it around do the job. :s
baxtex said:
Rom toolbox and im quite sure it around do the job. :s
Click to expand...
Click to collapse
Not sure about that one
1.try es file explorer and report back
Or
2. If you're on kitkat you might need to switch to supersu and not superuser
Sent from my LG-P880 using xda app-developers app
abhi08638 said:
Not sure about that one
1.try es file explorer and report back
Or
2. If you're on kitkat you might need to switch to supersu and not superuser
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
baxtex said:
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
Click to expand...
Click to collapse
If all you wish to do is disabling the backlight of the buttons, look for 'Backlight' under Buttons in the Settings menu, or, if you can't find it, try this.
baxtex said:
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
Click to expand...
Click to collapse
Try flashing the supersu update zip. You can Google it.
Also do you want to completely disable the buttons?
Sent from my LG-P880 using xda app-developers app
try this. didn't made this, just found an xda thread with all the files, so downloded it and modded it to work on our phones. just changed the files list inside the script, didn't do much. the bad news is, i only changed the file to enable virtual keys and disable capacitive keys, didn't changed the files to do the opposite. try it.
http://forum.xda-developers.com/showthread.php?p=31552585#post31552585
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
and
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
-YOU ARE DONE!!
Can you explain that more detailed? What does it mean 'on terminal emulator'?
In which file do I need to insert the above code?
I just want to turn of the lights of the softkeys, to save battery. Thanks
gingerboy92 said:
try this. didn't made this, just found an xda thread with all the files, so downloded it and modded it to work on our phones. just changed the files list inside the script, didn't do much. the bad news is, i only changed the file to enable virtual keys and disable capacitive keys, didn't changed the files to do the opposite. try it.
http://forum.xda-developers.com/showthread.php?p=31552585#post31552585
Click to expand...
Click to collapse
Thank you very much, this really helped me. But it will be perfect if the backlight of the touch buttons was turned off and also the vibration of the virtual buttons was turned off. But anyway, thank you again. :good:

Request Double Tap to Wake UP from YUGA KONOM Rom

Good Evening from Germany,
i just read that the YUGA KONOMI Rom for our Z has the feature Double Tap to wake up on locked BL !
see here in the features list :
http://forum.xda-developers.com/showthread.php?t=2377788
can anyone port this to all other ROMS for the Z ? I want to use this function on monx® ★ monxDIFIED ★ ESSENTIAL i1 | HONAMi ® COMPLETE Rom.
Thanks
Doesn't it require a custom kernel to achieve that?
I doubt it will work with stock kernels.
Sent from my C6603 using xda premium
LitoNi said:
Doesn't it require a custom kernel to achieve that?
I doubt it will work with stock kernels.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
That means we can flash the kernel from that rom and uses double tap to wake since that rom is based off. 244?
Sent from my C6603
At first you need to know that in locked bootloaders, custom kernels can't be used!
Sent from my C6603 using Tapatalk 4
I'm quite confident that to make this work you only to change some stuff in android.policy.jar.
Get the rom with the feature in it, and get a stock rom, decompile both android.policy.jar, and run a compare tool like Meld to see what was added.
http://forum.xda-developers.com/showthread.php?t=2225790
is this what ua re looking for ? touch 2 wake
demonicjas said:
http://forum.xda-developers.com/showthread.php?t=2225790
is this what ua re looking for ? touch 2 wake
Click to expand...
Click to collapse
Doesnt work. Don't waste your money on it.
Sent from my C6603 using xda premium
The Double tap to wake up is not working for our devices =w=...
but I will release the code to let more devs discussion together to let it works
I want that
Sent from my C6603 using xda premium
freddy1991 said:
I want that
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
I'm too
.::EHSAN_GOLpesar::. said:
I'm too
Click to expand...
Click to collapse
Mee to in!:good:
jimRnor said:
The Double tap to wake up is not working for our devices =w=...
but I will release the code to let more devs discussion together to let it works
Click to expand...
Click to collapse
Can't wait
Sent from my C6603 using Tapatalk 4 Beta
Doesn't that drain huge battery ?
i mean the touch screen has to be active to recognice a touch... not ? so your stand by time would decrease drastically.
I'm using app experiance pro. Is avaible option touch to wake, no drain battery.
dubist said:
Good Evening from Germany,
i just read that the YUGA KONOMI Rom for our Z has the feature Double Tap to wake up on locked BL !
see here in the features list :
http://forum.xda-developers.com/showthread.php?t=2377788
can anyone port this to all other ROMS for the Z ? I want to use this function on monx® ★ monxDIFIED ★ ESSENTIAL i1 | HONAMi ® COMPLETE Rom.
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2409003

Categories

Resources