yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P7] l3Nni:
Does not work for me.. Maybe because I made the navbar smaller with GravityBox.

But the dt2w function is awesome! Thank you! :)
[Huawei Ascend P7] Kostyan_nsk:
It doesn't depend on a size of navbar. Did you write "1" into /sys/android_touch/sweep2sleep file?

---------- Post added at 18:32 ---------- Previous post was at 18:30 ----------

Sure not, 'cause I don't have H6. Source code is available, ask devs for your device to implement it.
[Huawei Ascend P7] l.capriotti:
[MENTION=6152035]Kostyan_nsk[/MENTION], would you pls create a short post about your kernel and instructions on how to install it? Bear with us non-russian ;)
[Huawei Ascend P7] l3Nni:
Yes, I did. Swiping along right to left (or otherwise) should make the device go sleeping, right? Doing this nothing happens. I assume that my firmware and settings have no influence to the behaviour of the kernel, so I wonder, why it does not work.

I'd be glad, if you have a solution for me! ;)
[Huawei Ascend P7] Kostyan_nsk:
I asked one guy to check this feature on P7 and his said it works flawlessly.

Dunno what's your problem...:rolleyes:

---------- Post added at 01:06 ---------- Previous post was at 01:03 ----------

My knowledge of english language is very poor. Google Translate will do it better than I. :)
[Huawei Ascend P7] l3Nni:
Sweep2sleep is a nice to have feature for me, but also without I appreciate your kernel very much. So, thank you for your efforts! ?
[Huawei Ascend P7] l.capriotti:
can anyone pls mirror the file scripts.rar (containing doubletap2wake, sweep2sleep, fast_charge) ?
[Huawei Ascend P7] egodemis:
using init.d scrips

you can find it in thread with kernel in file scripts.zip

btw i'm using this kernel 5 days........ i set dt2w_duration at 180 seconds, and the battery drain is not noticeable at all......... i enable the Sweep2Sleep and its working fine......... and yes charging via usb 3 is fast!!! (Almost like the wall charger)
[Huawei Ascend P7] usb2:
Please...someone can post scripts.rar file ?
[Huawei Ascend P7] Printusrzero:
TWRP + K-Kernel + DoubleTab2Wake and all the xtras... :) this is very handy, you nailed it again kostyan_nsk!

Although sweep2sleep fails here also, as mentioned earlier in the thread,

nevertheless doubletap2wake is happy ;) with value 4 (dt2w on navbar) :good:

(/sys/android_touch/sweep2sleep value is set to 1 during init and

logcat regs show no errors or actions being triggered by sweep2sleep on navbar)

Congrats and thanks again kostyan_nsk for your contribution!

:victory::victory::victory:

here are sample init.d scripts for kernel fast charge, touch dt2w and intelli_plug, also the original scripts.rar from 4pda:

View attachment scripts.rar

View attachment 04sys_module_intelli_plug.rar

View attachment 06sys_kernel.rar

View attachment 08sys_android_touch.rar

Cheers!
[Huawei Ascend P7] Kostyan_nsk:
After system boot, make sure the value in /sys/android_touch/sweep2sleep is equal to 1 - there might be a problem with script execution.
[Huawei Ascend P7] XDADEVX:
Guyz who wanst double tap to wake up here is good simple app https://play.google.com/store/apps/details?id=com.enlace.doubletap
[Huawei Ascend P7] Printusrzero:
aye, sweep2sleep is equal to 1. Value is updated correctly.

Still cant find anything weird in logcat, I checked your source at GitHub and found doubletap2wake.c dated 3 Jun, is this the latest source?

Awesome kernel by the way :D
[Huawei Ascend P7] Kostyan_nsk:
Yes, source code of doubletap2wake.c is up to date.

Note that s2s is active in region of navbar only. If you will go higher than 145 points from the bottom of the screen while swiping, it won't react.

And lenght of swipe should be not less than 50% of screen width.
[Huawei Ascend P7] its the peanut:
So just to be curious (i used elementalX on my htc one m7, thinking about on the p7) but this is a totally different device trough system.

How are you guys actually doing? Battery life, cpu usage etc? Need some more up to date info.
[Huawei Ascend P7] Kostyan_nsk:
Well, everybody should say thanks to @Printusrzero because he has found small bug in sweep2sleep for P7. :good:

Now it's gonna work!

Also, I've added tunable parameter "/sys/android_touch/s2s_length" which defines length of swipe (in points). By default it's 25% of screen width.

Update 2016-04-09:

New thread with updated version here.

Update 2016-03-05:

fix display of used memory by running applications

small fix for compatibility with new version of dt2w.apk

Update 2016-02-28:

Fixed stability issue (I hope).

Update 2016-02-06:

Updated for 5.1.1

Fixed GPU 3D performance regression

SELinux in permissive mode permanently

Update 2015-08-31:

fix p7 rog boot by @Printusrzero

added compatibility with dt2w.apk
[Huawei Ascend P7] XDADEVX:
Battery must be even worst by enabling all this ...
[Huawei Ascend P7] Printusrzero:
Your welcome Kostyan_nsk, s2s is worth having in certain circumstances, also helps tiding up the interface now that shortcut to Lock Phone is gone. To those showing curiosity, just wanted to say that I've been running this kernel for nearly one month and didn't notice much difference in battery life, networking, performance, stability, etc compaired to stock kernel.

Did not test thoroughly yet, just made some benchmarking the first week, phone experience of daily use is that kernel is stable and the very best: very customizable. Good work!
[Huawei Ascend P7] Printusrzero:
Here is a preference panel for dt2w running Kostyan_nsk´s kernel.

It saves from the hassle of modifying init.d scripts manually. It's fresh code and some additional work may be neccessary :p

Launch it after installation opening the control panel then click on Motion Control.
[Huawei Ascend P7] Kostyan_nsk:
Also @Printusrzero has fixed bug with dt2w when ROG mode enabled. Thanks a lot! :good:

And if you want to be able to use dt2w.apk, you have to update kernel, otherwise application will crash.

Updated package is in post #37.
[Huawei Ascend P7] Ziolek67:
Which ROM-s supported ?
[Huawei Ascend P7] Kostyan_nsk:
Do you mean kernel or application?

Both were tested on EMUI 3.0, but I don't see any reason why it couldn't work on EMUI 3.1

You can check and report will it work on Lollipop 5.1/EMUI 3.1 or not. ;)
[Huawei Ascend P7] l3Nni:
Unfortunately I got a bootloop after flashing on 5.1.
[Huawei Ascend P7] Kostyan_nsk:
Well, then we will have to wait for final Lollipop release and then I'll try to find out what is not enough for booting 5.1.1.

Thanks for testing!
[Huawei Ascend P7] PEYMANSTAR:
how the install this kernel

base rom?(emui 3.0?emui 2.3)
[Huawei Ascend P7] Kostyan_nsk:
Install via TWRP

Base rom is emui 3.0
[Huawei Ascend P7] black_ps:
How did you add it to crontab as its not working, i have it set as 180 sec for 1 minute and its not working.

It will be great a option to turn off at night ex from 00:00 to 10:00

Run once at 10-30 minute for how much it's set. ( So it will not drain battery )
[Huawei Ascend P7] Printusrzero:
Most of the time I set dt2w duration to a few minutes so never missed scheduling.

Dt2w is still subjected to improvement, Kostyan_nsk is not throwing in the towel to lower battery drain :fingers-crossed:.

For now you may try Tasker from google apps to automate sysfs updates on schedule and battery charge.
[Huawei Ascend P7] black_ps:
Huawei has released final version of lolipop and i really miss this option.
[Huawei Ascend P7] Kostyan_nsk:
But not for my device...

And I doubt that B830 is not beta still...
[Huawei Ascend P7] black_ps:
We need to wait and see then.

Maybe next year.
[Huawei Ascend P7] usb2:
Great kernel...I've tried andworks very well but i've some suggestion (are more releated to apk than kernel):

-without using init.d script (but only dtw.apk) every restart you need to open the app otherwise dt2w/s2s doesn't work...as a workaround dt2w.apk should also edit init.d script when you change settings

-add an info entry in dt2w.apk with cartoon animation (like in huawei setting)..i've edited some png from lollipop setting

-in attachments italian translation

dt2w.apk ITA: http://www12.zippyshare.com/v/sEgDTYjO/file.html
[Huawei Ascend P7] black_ps:
Did you make it work on lolipop?
[Huawei Ascend P7] usb2:
No...I'm using stock b621 ROM (emui 3.0)...lollipop has to many bug for me
[Huawei Ascend P7] Kostyan_nsk:
Just allow dt2w.apk to launch at startup in Startup Manager.
[Huawei Ascend P7] usb2:
It works...thanks
[Huawei Ascend P7] its the peanut:
For me this doesnt work, i have to turn the files in /sys back to 1 after reboot. The app isnt showing in my app list to open it.
[Huawei Ascend P7] Printusrzero:
Android security requires user to manually open apk at least once before allowing boot completed operations.

Once apk is installed and allowed to launch at startup, you need to go to Settings->Motion Control and open dt2w options. Afterwards apk updates to /sys at boot time should work.

---------- Post added at 03:36 PM ---------- Previous post was at 02:47 PM ----------

@usb2 thanks for getting Italian translation done, good work! Will be included for next build in a few days.

Anybody willing to put some time translating dt2w here is a link to resource file:

https://github.com/printusrzero/Dt2w/blob/master/app/src/main/res/values-de/STRINGS_Settings.xml

Languages already included are English (non-native), Italian, Russian and Spanish.

New translations are welcomed anytime!
[Huawei Ascend P7] black_ps:
B830 is final version.

http://consumer.huawei.com/es/support/downloads/detail/index.htm?id=54543
[Huawei Ascend P7] Kostyan_nsk:
I don't have P7, I'm using P6S and it seems like Huawei has abandoned support of my device.

Now I'm solving issues of porting B850 from P7-L00 to my device and later I will try to adapt kernel to 5.1.1

But may happen so that we will have to wait for 5.1.1 kernel sources release from Huawei...
[Huawei Ascend P7] black_ps:
Will you port Android 6 from P8 to P7? This will be great thanks.
[Huawei Ascend P7] Kostyan_nsk:
Are you kidding? :D

Of course not, it's absoulutely other device. I think it won't be possible.
[Huawei Ascend P7] black_ps:
So there is no way for us to get Android 6?
[Huawei Ascend P7] black_ps:
What about porting it from MIUI , i mean when they will release Android 6.0 will be possible?

https://github.com/MiCode/patchrom
[Huawei Ascend P7] Kostyan_nsk:
Well, finally kernel works with Lollipop.

Download from post #37
[Huawei Ascend P7] l3Nni:
Works flawlessly for me! Thank you very much :good:
[Huawei Ascend P7] RangerP7:
I can confirm, working on my p7 (b852) perfectly
[Huawei Ascend P7] MisterVik:
Can you tell me how did you do?

I just installed the kernel zip file trough TWRP but i don't know how to enable the option

Thanks in advance
[Huawei Ascend P7] kemostro:
Hi, Im interesting in flash this kernel but I don't know how I do it. I have lollipop and TWRP. It's possible a tutorial for this?

Sorry for my bad english. Thanks you

Enviado desde mi HUAWEI P7-L10 mediante Tapatalk
[Huawei Ascend P7] RangerP7:
You need to install the doubletap app too, look a few posts before

http://xdaforums.com/showthread.php?p=62542196
[Huawei Ascend P7] l3Nni:
Just download the kernel.zip and flash it in TWRP. Now you can either use the dt2w.apk in post #40, or the init.d scripts, who are also linked somewhere in this thread to enable dt2w and sweep2sleep.

I'd also recommend the app 'Kernel Adiuter' if you want to make use of the other features of the kernel.
[Huawei Ascend P7] nicolawilco:
So, I installed the new kernel from TWRP, then I installed the app dt2w, which is successful. I put checkmarks in the boot section policies that protected app. Then I tried to install the app with italian translation, but not installed.

However, even in English it is fine, however, known that the app dt2w not installed as a normal app that ends up on the desktop, but it goes to replace the "motion control" function located in the settings menu. By selecting this function, the system asks you to choose between the control of movement or series dt2w.

The fact is that a menu excludes the other. That is, if you use the app dt2w in fact you can not use the other standard features that provides the basic EMUI. It is? It 'just this behavior or is there something wrong?

For the rest of the play it seems to be working ...
[Huawei Ascend P7] l3Nni:
I don't know why he decided to let us open the app through motion control, but you can use both.. and both do work.

---------- Post added at 05:01 PM ---------- Previous post was at 04:47 PM ----------

It's the first time for me to create a init.d script, so I'd appreciate it if you could have a look on it. The aim is to disable the loading led permanently.

Setting brightness to 0:

# echo > 0 sys/devices/platform/hkled/leds/green/brightness

# echo > 0 sys/devices/platform/hkled/leds/red/brightness

Changing permissions from -rw-r--r-- to -r--r--r--. Otherwise un- and replugging will reanable the led:

#chmod 444 sys/devices/platform/hkled/leds/green/brightness

#chmod 444 sys/devices/platform/hkled/leds/red/brightness

These commands are working so far using a terminal emulator.

So, the final script would be:

#!/system/bin/sh

# echo > 0 sys/devices/platform/hkled/leds/green/brightness

# echo > 0 sys/devices/platform/hkled/leds/red/brightness

# chmod 444 sys/devices/platform/hkled/leds/green/brightness

# chmod 444 sys/devices/platform/hkled/leds/red/brightness

Will that work?
[Huawei Ascend P7] usb2:
my italian translation works if you first uninstall the original dt2w.apk (I think because there is a different certification)

for the motion control you can access from dt2w by pressing the text at the bottom of the list "motion control options" (in kitkat works)
[Huawei Ascend P7] nicolawilco:
in lollipop don't work:

how can we solve that?
[Huawei Ascend P7] nicolawilco:
in lollipop because startup smartphone does not load the script in init.d?
[Huawei Ascend P7] l3Nni:
If you touch 'motion control', you can choose whether to open the dt2w.apk, or the real motion control. Setting up dt2w is only required one time, so I´d just do it and select then, when opening the next time, 'motion control' and always.

Another possibility would be to create a shortcut (e.g. with 'quickshortcutmaker') on your homescreen.
[Huawei Ascend P7] Kostyan_nsk:
Or we can ask Printusrzero to fix this issue. :)
[Huawei Ascend P7] nicolawilco:
Done. Thanks so much!
[Huawei Ascend P7] proudazzzm:
Thanks working on B853 5.1.1 .
[Huawei Ascend P7] stena2:
Thanks, works with B852 but there are several graphics problems in the launcher.
[Huawei Ascend P7] RangerP7:
I can confirm this, there are also some random reboots. It is freezing an after about a minute it reboots it self
[Huawei Ascend P7] mohammadsa9:
Yes , Phone freezes in diffrent situations and sometimes make us to force reset it , and sometimes phone itself reboots ...

And a question : Is it possible to add swap support to your kernel in the next update ?
[Huawei Ascend P7] Elsa3ek:
The same problem here
[Huawei Ascend P7] Kostyan_nsk:
Even though I had not any freezes or reboots, seems like stability issue was fixed. Please check updated version in #37

I'm just curiuos in which cases you have not enough 2GB RAM?

Swap will kill eMMC faster and will make system laggy 'cause emmc I/O is not fast enough.

I don't see any sense do add swap support.
[Huawei Ascend P7] Kostyan_nsk:
Well, I don't have full hd resolution on my device, so I won't be able to catch this bug.
[Huawei Ascend P7] usb2:
Ther is also a minor problem in both KitKat and lollipop version: if you go in "settings, menage app, app in use" the RAM usage is set to 0.00 MB for most of the apps (only some system app have the correct RAM usage)
[Huawei Ascend P7] l3Nni:
Using 720p mode and standard parameters all works fine for me. I used the cpu governer interactive and activated intelliplug for a while, but there were 1-3 reboots per day. I'll try now the new version, thanks!
[Huawei Ascend P7] Elsa3ek:
Could any one give me a link to p7 b853 stock kernel?
[Huawei Ascend P7] Elsa3ek:
Ok I extracted the b853 boot.img using huawei extractor then I flashed it as there is no kernel.img

Is that the right way to get my stock Kernel back or what?
[Huawei Ascend P7] Kostyan_nsk:
Yeah, I knew about this bug, but was always forgetting to fix it. Thanks for reminding! :good:

Fixed.
[Huawei Ascend P7] usb2:
with b621 (kitkat) after the installation the phone goes in bootloop at the static huawei logo
[Huawei Ascend P7] Kostyan_nsk:
Probably I've confused zImage from 5.1.1

Check out one more time please.
[Huawei Ascend P7] usb2:
Now it works...thanks
[Huawei Ascend P7] pedramdx:
hi guys i want to active it too

just tell me how can i to active

p7 L10 b 861

Rooted
[Huawei Ascend P7] nemo8208:
Hi we are new here hope to have new friends

Hi download the new marshmallows launcher on Google play you will have what you need
[G 2014 General] carlos_esteven:
TESTED ON XT1068 WITH 5.0.2

[IMG="test"]https://lh3.googleusercontent.com/-sKkFW9asQhI/VOffV8Q0QVI/AAAAAAAAEnM/nkT6eWR-WQc/s800/Screenshot_2015-02-20-20-10-54.png[/IMG]

* * * DO THIS AT YOUR OWN RISK * * *

​

REQUIREMENTS

A rooted device

Latest whatsapp apk from whatsapp.com/android

Android 5.0.x

STEPS

Install the latest apk.

Open any root explorer (es file explorer preferred ) and navigate to "/data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml".

Add these 2 lines inside <map> and </map>.

<boolean name="call" value="true" />
<string name="call_allowed">all</string>

Save changes

[IMG="add code"]https://lh5.googleusercontent.com/-iRUXhvmXr1Y/VOfZ7H3Zb_I/AAAAAAAAEmo/k3RuJzLRGHg/s512/Screenshot_2015-02-20-20-02-47.png[/IMG]
​

Then go to Settings/Apps/Whatsapp and force stop it.

Open the app again :3

[IMG="test_2"]https://lh5.googleusercontent.com/-fnUafhY80Lg/VOfbTzVGetI/AAAAAAAAEnA/xlRzldYOKeU/s512/Screenshot_2015-02-20-19-55-43.png[/IMG]
​
[G 2014 General] gnubash:
"Add these 2 lines anywhere in the file but within the <map></map>"

I would re-word this if I were you, since the implication reads as if you are telling us to add these lines anywhere BUT inside <map>and </map> ("anywhere but" is the same as "anywhere EXCEPT", in proper English grammar).

Many thanks :)
[G 2014 General] carlos_esteven:
Thanks for the correction :)
[G 2014 General] matibrasili:
it wont work, nobody called my before. i think that is the problem. Can someone give me a call so i can have this. +541137855820 argentina

THANKS!
[G 2014 General] er.jaldip:
If anyone have calling feature than please call me on +919725555988
[G 2014 General] er.jaldip:
Someone called me but i missed it, sorry for that.

Can anyone please call me again on +919725555988
[G 2014 General] iSLaND7:
I got calling feature by this method but call just disconnects

Status shows canceled

?
[G 2014 General] rajiv023:
I used rooting method(Used ES root explorer to change XML code) to enable interface of voice call 5 days back & got the interface too. Exactly on Sunday 9 pm the interface change back to normal interface(without call). Then after i tried to change the XML code but it automatically changes to initial one. Now i lost the interface.

And also i did got two call yesterday but still interface did't changed. Does anyone have same problem ?

(NOTE : THERE IS CHANGES IN XML CODE IN LATEST VERSION 2.11.536)
[G 2014 General] sumit227:
I changed the xml file but didn't get the calling UI. A friend call me we talk for 2 mins but still don't get this feature.
[XDA Assist] fabiod95:
Hi guys I love this forum! : D

Every time i want something about smartphone, i found there. : P

But now i bought the HTC desire 620G Dual Sim... I want to root this but I didn't found anything. I tryed with all oneclick app but they doesn't work. Someone can help me?

If someone know how to copy apps to SD card tell me, because this is the only reason of the problem. Thank you and i'm sorry for my bad english. : Dita incrociate-:
[XDA Assist] Razvan:
Hi there,

I'm sorry but I can't find anything relevant to your question/device except this thread: [Q] HTC Desire 620G Dual . Seems iRoot work for your device.

For other questions please post that in the forum bellow for more answers from the experts :

> Android Development and Hacking > Android Q&A, Help & Troubleshooting

Good luck
[XDA Assist] Benjoy Ericsson:
I have write a TUT about rooting this HTC Desire 620G Dual Sim. You can follow this link: http://xdaforums.com/showpost.php?p=58956758&postcount=7
[XDA Assist] fabiod95:
It works thank you! :o

Can some one help me to istall new rom? I'm very noob :crying:
[Galaxy S 5 Q&A, Help & Troubleshooting] DatsunDolfy:
My phone is a nz spark network one.

Has anyone had any luck? I want to make it stock so I can sell?

At one point it was rooted but apparently of backed up, so now it's in purgatory between rooted and not.
[Galaxy S II Q&A, Help & Troubleshooting] califauna:
I'm finding the sensitivity / sound quality of the mic of my bluetooth headsets is very poor with my i9100, rendering the headsets useless for handsfree talking , especially in noisy environments.

The HD2 mic control app has controls for the main mic as well as bluetooth , but it will not run on any of the three kernels Ive tied as none have the required '/proc/mic_level' file required by the app.

So, I'm looking for a kernel which supports this app.

The headsets are not at fault, as sound quality is very good when using the same headsets to record using audacity in windows. The bluetooth HFP profile is presumably a factor, as the sound quality is relatively poor, but t the sensitivity is also very poor. Cupping my hand around the little mic ports makes them usable. If Im gonna do that though I may as well hold the phone instead (and look a little less suspect at the same time:) )

Thanks for any suggestions.
[Galaxy S II Q&A, Help & Troubleshooting] califauna:
Also sound quality is high with calls made via Skype.
[Sprint HTC One (M8)] harri2cool:
I just updated my Sprint One M8 (with S-OFF and SuperCID) using the latest RUU.exe. Then I flashed the latest TWRP (openrecovery-twrp-2.8.5.0-m8_whl.img).

My M8 had ViperOneM8 3.x (Android 4.4.3) installed, I wanted to install the latest ViperOneM8 4.1.0 but the problem I'm facing is I can't Wipe anything, it simply fails. Can't Wipe system, cache, storage..anything.

Can someone guide me out of this? I want to wipe the storage and then install the latest ViperOne Rom.

Thanks
[RAZR HD Q&A, Help & Troubleshooting] ExtraDan:
I had a shower half a year ago with my Razr, and had it's power button damaged by it, however, it effected my access to ap fastboot.

luckily, I might not be able to use the power button, but I can still restart my phone by holding volume down, but the volume down doesnt fuction both as power button and volume down, it only provides the volume down command.

My os has become really slow, I have no idea why, I think my phone could still function rapidly after the water damage, positive it didnt corrupt any hardware like the cpu because then I wouldnt be even able to turn my phone up,

I am having cm 11 and the nights updates didnt make it any better, im positive it was one of the updates I installed made my os function slower.

So my only solution is to write down a new stock rom on my phone, but as soon as I go to ap fastboot, it only leads to a black screen.

I could probably install a new stock from the os loaded it self through the usb debugger feature, but I tried to research my issue on google and around the forum and I couldnt find non that have my problem, so I am really not sure if its a good idea flashing a stock through the os, when the fastboot it self doesnt exist in my phone.

What should I do?

Thanks!
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] Kil4Thril:
Is the WiFi calling feature part of TouchWiz? If not, is there any way to extract it and use it with AOSP ROM? I REALLY want to run some of the killer Lollipop ROMS, but I need the WiFi feature. Since it is a TMo exclusive, it would seem that the framework for it could be extracted, but then again, I have ZERO experience in attempting something like that.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] wase4711:
nope, cant do it at this point