yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] Dr.Romca:
First off - thanks for getting into this, frankly these features are the only stuff worth rooting my 802w...

Will there eventually be these:

Disabling volume buttons unless media is playing?

wake/sleep via VOL- button?

double tap home for menu even on the home? as the prism menu in Viper ROM?

long press home for slashlight, again as the Viper ROM has?

Thanks a million!
[One (M7) Android Development] bgcngm:
Yes, it is planned for the future.

Long press logo (not home) for flashlight is already possible with Wake Gestures. Install Sense 6 Toolbox and you'll be able to assign many actions to double tap, swipe (down, up, right and left) and logo long press.

Also, wake up via volume buttons could be enabled without any kernel change using Sense 6 Toolbox. As for the other features, I'll see what can done.
[One (M7) Android Development] Talon:
bgcngm

can you make it for 802d pls?
[One (M7) Android Development] bgcngm:
Did you try to flash boot.img on your 802D? I can't actually test because I have 802W. I was curious to know if kernel works on all variants (W/D/T).
[One (M7) Android Development] Talon:
yours boot.img from download section to my 802d?

no... did not try.. i can try! - but kernels really identical for all dualsim? - I do not get a brick? )
[One (M7) Android Development] bgcngm:
You won't get a full brick. Phone may not boot and then, in such case, you just need to revert to 802D stock boot.img. Do you have stock boot.img for your device? Please post here so that I can have a look at ramdisk contents to see if it differs in any way to the one from 802W.
[One (M7) Android Development] J_M_V_S:
I've used m7 MultiROM as a base so everything should be working. I'm probably missing something here.

Please note that I'm not compiling from source, just porting the existing m7 MultiROM to m7cdug.

Anyway, thanks for trying to help. Maybe this is beyond my understanding. I'll keep investigating...
[One (M7) Android Development] bgcngm:
Just calling out for [MENTION=4684315]flar2[/MENTION] to see if you can shed some light on the latest issues with some devices going on a bootloop.

It all started after merging the latest code from HTC, to add compatibility with Android 4.4.3. Nothing relevant has been changed in addition to that. I am compiling the kernel with the optimized Linaro 4.8.3 toolchain and it is working on all M7CDUG (802W) phones running EU ROM, but for some reason it causes bootloop on those with CHS ROM. Previous kernels, compatible with Android 4.4.2 (also compiled with Linaro 4.8.3) were running just fine either on EU or CHS ROMs. This reminds me the times I tried Linaro 4.9.1 toolchain and never succeed to have a working kernel, ending always in a bootloop on HTC splash logo.
[One (M7) Android Development] samasbe:
Thanks for 802d kernel

where is the link for download kernel for 802d, i have indian version of 802d . please
[One (M7) Android Development] otonieru:
What more confusing is the fact that boot img and modules i provided were from CHS Rom as well,

So i dont think this is incompatibility issue...

Maybe compiling process is indeed become more sensitive in this 4.4.3 version...

---------- Post added at 03:51 PM ---------- Previous post was at 03:49 PM ----------

It still in beta phase that even on indonesian 802d it still has bootloop possibility,

So i think its better to wait for a while until [MENTION=4684315]flar2[/MENTION] shed some light for us...
[One (M7) Android Development] bgcngm:
Want to know something curious? The same version you've tested on your 802D running Chinese ROM worked on a 802D running the Indian ROM (thanks to [MENTION=4383811]samasbe[/MENTION] for testing). I don't get it and am really confused about this now. I wonder what the hell HTC did to cause these bootloops on CHS ROMs.
[One (M7) Android Development] bgcngm:
Don't know if it is a coincidence or not, but:

Kernel compiled for 802W (built from HTC source code released for Nordic region, ROM version 6.13.402.2) works on all phones running both Nordic (6.13.402.2) and European (6.13.401.3) ROMs. Does not work (bootloop) on those running Chinese ROM (6.11.1402.2)

Kernel compiled for 802D (built from HTC source code released for Indian region, ROM version 6.15.720.4) seems to work on phones running that same ROM. Does not work (bootloop) on those running Chinese ROM (6.11.1401.2)

What makes this even more confusing is that stock kernel (including modules) from 6.13.401.3 works just fine on 802W running 6.11.1402.2. :confused:
[One (M7) Android Development] bgcngm:
Quick update: the issues reported by some users were due to the fact that their ROMs included wp_mod (a module to disable system write protection on

stock

HTC kernel). Kernel panic was occurring when module was being loaded.

A new flashable package will be uploaded so that everyone can enjoy, including 802D owners.

Many thanks to [MENTION=4684315]flar2[/MENTION] for all the guidance (teaching me how to debug kernel last_kmsg) and to [MENTION=1163516]criszz[/MENTION] for all the time wasted in tests.
[One (M7) Android Development] bgcngm:
Okay, fixed flashable .zip for 802W is up, as well as the public release for 802D. Enjoy everyone! :cool:

What an headache. Now having a break! :victory:
[One (M7) Android Development] wewenk:
What is fixed for 802w? Owww.. for chinese rom, right?

There is no change for europe rom right?
[One (M7) Android Development] bgcngm:
Well, in the end, the problem could manifest not only on Chinese ROMs. To be precise, the issue was fixed for all ROMs that contained wp_mod.ko, installed by the user itself. ;)
[One (M7) Android Development] wewenk:
Is it just me or anyone else get notification sound back to default after restarting?
[One (M7) Android Development] bgcngm:
Getting what back to default? The volume level or the sound itself? Not happening here, but check if your media file is on the external sdcard. The external sdcard takes more time to be mounted, so it could happen that phone reverts sound to default when the file on the sdcard is not found. This also happens with widgets or apps stored on the sdcard. But it is not a problem of the kernel.
[One (M7) Android Development] otonieru:
Should thank [MENTION=1163516]criszz[/MENTION] for his dump,

Been off the grid for few days, and when checking back, there our fix already in download section, ready to be flashed,

Can confirm that the fix is working good, all functions working,

Should have notice that wp_mod.ko fastet, since we were adding it indeed, uh huh....

Good job [MENTION=455439]bgcngm[/MENTION] !!
[One (M7) Android Development] wewenk:
You are extremely right.. LOL.. it was on ext sdcard..

Never had this kind of problem on 4.4.2 though...
[One (M7) Android Development] wz11123:
hhh

The dream of others rom can come true? I desire them so much!:D
[One (M7) Android Development] bgcngm:
What are you talking about? If you mean building ROMs from source, that is not possible. HTC only released kernel source code.
[One (M7) Android Development] bgcngm:
Quick note to everyone: I'm going to send my M7C for repair, so won't be able to work on new stuff for at least a week. I can't stand anymore the purple color issue on camera photos. :(
[One (M7) Android Development] vicyang85:
You will really enjoy the new camera lens. colour production is great. looks like they installed a totally diff designed lens in mine, it sits much deeper in the camera hole. Although the new lens takes forever to focus in low light.
[One (M7) Android Development] bgcngm:
The only problem is that HTC Portugal denied to repair it under warranty. :(
[One (M7) Android Development] vicyang85:
really? it just shows the standards are very different. I know is South Africa, they do not repair the phone, they ship you a completely new phone, even if bootloader unlocked and S-off. In China they replaced camera under warranty with bootloader unlocked and S-off. As long as no custom rom/recovery/kernel was installed. I sent my phone in as is. Is it costly for the camera replacement?
[One (M7) Android Development] geek-baba:
HTC america even denied repairing it free or charged!
[One (M7) Android Development] bgcngm:
Approximately 45 USD, just for the camera sensor. I just hope it get's fixed. :highfive:
[One (M7) Android Development] vicyang85:
Good luck, give us update on what you think of the new camera lens. :good:
[One (M7) Android Development] ej35:
How about 802t ?

Is it available for 802t ?
[One (M7) Android Development] bgcngm:
Not until HTC releases the source code for it. I wanted to add support for 802T as well, but it is not possible yet. You can write to HTC and ask them to release source code, as per GPL v2 license. ;)

EDIT: Just noticed that HTC released it already. :cool: Going to check it and let you know if I have some news. Could you please test the kernel?
[One (M7) Android Development] hamid_valad:
thanks for your awesome work... (i had pressed the thanks button before!)

yet i have a question!

what is "fast charge"?

and how to enable it?

do i need a separate wall charger?
[One (M7) Android Development] ej35:
Sure ! My pleasure ! But what should I focus on ? :D
[One (M7) Android Development] bgcngm:
Nothing special. You just have to tell me if it boots or not. If it does, then all 802Xtreem kernel features should be in place. :p

EDIT: One thing I need from you right now. Your dump of /system/lib/modules and boot.img. Also tell me which ROM version are you currently running.
[One (M7) Android Development] ej35:
Would you please download it from

h快ttp刪://vdisk.weibo.co除m/lc/ngs81AChlK我espXdJr code：JWL1 （delete the Chinese）

:good:;)
[One (M7) Android Development] bgcngm:
Thanks. I noticed that you are still running Android 4.4.2. That is not supported anymore, since 802Xtreem v2.0. Please update to 4.4.3 or 4.4.4 (it seems to be available already for 802T) and then provide me the files I need. If you know someone that has a 802T and already installed 4.4.3 them him/her to come here and share the files. I'll be glad to help.

P.S.: the kernel for 802T is already compiled. I'm just waiting for the stock modules.
[One (M7) Android Development] ej35:
I can get it updated. The ROM by Soul Team . It has achieved DoubleTap2Wake or Logo2Wake , but no more Venom Tweaks ......:(

I will get that files ready as soon as I finish updating .

BTW : do you know how to make Venom Tweaks run on 802X ?
[One (M7) Android Development] bgcngm:
Well, if have to choose whether to stick with their ROM or the stock one. With this kernel you'll also get wake gestures.

What can you get with Venom Tweaks that you don't with Sense 6 Toolbox and HTC One Tweaker?
[One (M7) Android Development] ej35:
Vertical Quick Setting is very convenient !

[IMG="1"]http://http://ww1.sinaimg.cn/bmiddle/6abc8113gw1elgku29607j20u01hcjxw.jpg[/IMG]
[One (M7) Android Development] bgcngm:
Good news for 802T owners: I have successfully merged the needed files to the source so that the last DS variant is supported. :victory: The naming of 802Xtreem makes now total sense, if you know what I mean. :p
[One (M7) Android Development] denseye:
Congratulations for your great work !
[One (M7) Android Development] bgcngm:
Just moving discussion to the proper thread.
[One (M7) Android Development] bgcngm:
[MENTION=1590477]denseye[/MENTION], could you please check if MultiROM Manager app provides any info with the latest beta kernel that I've sent you? According to the description of MultiROM:
[One (M7) Android Development] denseye:
multirom manager app is not compatible with m7cdug (error message saying m7cdug not supported just after launching the app)

Edit : I modded the app to work with m7cdug ... and it says we have kexec-hardboot patch :)
[One (M7) Android Development] denseye:
by the way, I just solved my problem with multirom port :)

so thanks again for your kernel work :good:
[One (M7) Android Development] bgcngm:
Thanks for the feedback. It is working then. I can now update github repo with those changes.
[One (M7) Android Development] bgcngm:
What was the problem after all? I know that only the beta kernel worked, but what did you have to do additionally to make it work?
[One (M7) Android Development] denseye:
I had to hex-edit the trampoline file to match m7cdug partitions
[One (M7) Android Development] bgcngm:
Nice trick! ;)

Should those files be included in the boot.img ramdisk? If so, could you please send me the needed files so that I can repack boot.img properly?
[One (M7) Android Development] denseye:
I'll PM you ;)
[One (M7) Android Development] J_M_V_S:
[MENTION=1590477]denseye[/MENTION] care to share the MultiROM port? I would love to give it a test!
[One (M7) Android Development] wewenk:
[MENTION=455439]bgcngm[/MENTION] maybe you want to change the modified splash screen again, because the android logo text is change
[One (M7) Android Development] 3hpv9w9m8E:
It'll be great if we will be able to use it (multirom port)

Do we have already separate topic about it (with 802x support)? Sorry for such kind of noob question :)
[One (M7) Android Development] bgcngm:
You mean the modified HBOOT. Yes, I will do that right away.

Don't know, but [MENTION=1590477]denseye[/MENTION] can probably take care of that. Doesn't make sense to flood this thread anymore about multirom support.
[One (M7) Android Development] bgcngm:
Nothing was ported. HTC released source code for all variants. :)
[One (M7) Android Development] litoo:
I have 2 question mate (@bgcngm):

1.does your kernal disable HTC System Write Protection ?

2.Is there anyway I remove the panel that come up in some app ?(I mean virtual back / Home ... that come below the screen )
[One (M7) Android Development] bgcngm:
For the first question, the answer is yes, as per the changelog (on the first post). It serves for that purpose and is pretty clear, I think. :p

As for the second question, if you mean the navigation bar, it is not kernel related. That's something you can enable or disable eventually with some Xposed module and by default the navigation bar is hidden for M7C because is has its own keys on the bezel.
[One (M7) Android Development] litoo:
Hi

I flash your kernal version 1.2 but the most reason I flash your kernal is to get S-OFF !!!

but on stock kernal I got this error:

ERROR: kernel contains HTC anti-firewater patch!

****** Try again with a different kernel ******

and now on your kernal I get same error !!!!!

so How can I get S-OFF ?

plz advise me to how do S-OFF !!!
[One (M7) Android Development] bgcngm:
This is not the proper thread to discuss about how to get S-OFF. There are plenty of other threads with instructions. The first working method for M7C was rumrunner, then firwater exploit appeared. If none of those work for you, I'm sure that sunshine will, but you'll have to pay for it.
[One (M7) Android Development] litoo:
what about this firewater patch error ?

I thought your kernal doesnt have this problem anymore cause its custom !
[One (M7) Android Development] bgcngm:
I don't know what was patched to make the exploit invalid. I was expecting it to work, only due to the fact that it has system write protection disabled.
[One (M7) Android Development] bgcngm:
OT: [MENTION=4907201]litoo[/MENTION], try installing adbd insecure and running firewater again.
[One (M7) Android Development] litoo:
Tnx for your help dude but Its NOT work !!!!

got the same error !

I think because your kernal is based on HTC source kernal it doesnt make any differences in

this way !!!

I ask in S-OFF thread someone told me use Bulletproof kernal its always work but

its for htc one not mine dual sim I mean !!!

I get so confused about this !:(
[One (M7) Android Development] hoang555:
I can't find the download link for latest kernel :(
[One (M7) Android Development] bgcngm:
Really? Don't you see the "Downloads" tab above? ;)
[One (M7) Android Development] bgcngm:
I don't have such problem. Which ROM are you using?
[One (M7) Android Development] pogs24ever:
I think theres a patch for that in 4pda
[One (M7) Android Development] pogs24ever:
lol... it is buddy... you will find some patch there... make sure you use google chrome so it will translate to English...
[One (M7) Android Development] bgcngm:
I can't seem to find the reason why kernel always fails to load when compiled with newer Linaro toolchains (higher than 4.8.3). It compiles without errors, but phone gets into a bootloop. Any help, [MENTION=4379011]poondog[/MENTION]?
[One (M7) Android Development] bgcngm:
Kernel updated and all releases (to all variants) uploaded.
[One (M7) Android Development] poondog:
I have this on my nexus 7.. I haven't found the cause
[One (M7) Android Development] litoo:
[MENTION=455439]bgcngm[/MENTION]

Hi I know that I should NOT talk about multi rom on this thread !

but I just wanna ask is there any chance to use multi rom on this kernal ?

cause I Install multi rom app on my phone with your kernal but it says:

NOT supporting !

could you tell me whats the problem ?

sry for bad eng
[One (M7) Android Development] bgcngm:
Multi-ROM support is working on the latest kernel. Confirmed and tested by [MENTION=1590477]denseye[/MENTION]. Look here.
[One (M7) Android Development] litoo:
OK...I've install the latest kernal and latest version of Multi ROM but It says :

NOT Support again..

Is there any changes I should make ?
[One (M7) Android Development] bgcngm:
The tool will always report M7C as not being supported. Simply because it checks for device model and ours is not on the list. Contact [MENTION=1590477]denseye[/MENTION] for more info.
[One (M7) Android Development] waladany:
I have htc one m7 802w with the latest 4.4.3 middle east stock rom and Hboot 2.49....after unlocking and rooting it...I tried to install custom kernel, like elementalx several times, but it goes very smooth during the setup, then finish successfully and when I boot, nothing is changed, it keeps the same old kernel with no change......I am not sure if there is sort of high level security in this hboot version or something, because until today, I could not make it S-Off with all possible tools available in the market (rumrunner, firewater, .......etc).....finally, all what I am trying to do is to have D2W....(Note: Now, I am using MaximusHD v3 and stock recovery with S-ON)
[One (M7) Android Development] geek-baba:
you can't flash the kernel with s-on, you must be s-off

it seems you dont need to be soff to flash this kernel.
[One (M7) Android Development] waladany:
then how can I make S-OFF with my current status?
[One (M7) Android Development] geek-baba:
Install Maximus hd 2 and try firewater
[One (M7) Android Development] waladany:
I tried this, but it always say that the Kernel is protected against firewater.....so, it never worked...I tried also rumrunner....but, same story.....
[One (M7) Android Development] bgcngm:
This is actually not the place to discuss about S-OFF exploits. Anyway, if none of those work for you, pay for sunshine. If that exploit doesn't work either (which I doubt), you don't have to pay.
[One (M7) Android Development] waladany:
I know that this is not the place for S-OFF....if you follow the discussion, you will find that I just needed to install a kernel to D2W...so, I tried several types of kernels like Elementalx, but it could not be installed.......and here, I even tried the 802xtreem, but did not work too......and it was advised that I need to have S-Off first to install such kernel.....so, I said that I needed a custom kernel to be S-Off.......so, it is like the Hen or Egg first !!!!!! I need to have D2W and can not install custom kernel to have it coz I am S-ON and can not be S-Off coz of the security of the stock kernel I have ...!!!! can you help?
[One (M7) Android Development] bgcngm:
You don't need S-OFF to flash this kernel. Bootloader has to be unlocked, although. Flash using CWM / TWRP recovery.
[One (M7) Android Development] waladany:
I know, but when itry to install any custom kernel like this one or elementalx it ends up successful,but when iI check the software version,ifind no change...as if nothing happened..

Itried this one from the twrp and after it finished,the mobile didn't start and stuck on black screen...so ihad to restore an old full nandroid backup....
[One (M7) Android Development] bgcngm:
Which phone do you have? ElementalX is for M7. This kernel is for M7C.
[One (M7) Android Development] waladany:
Mine is htc one m7 802w DUG ....the middle eastern version
[One (M7) Android Development] bgcngm:
And which is the software version you have installed? The first releases are for Android 4.4.2 based ROMs and the latest is for Android 4.4.3 based ROMs only.
[One (M7) Android Development] waladany:
Currently I am having MaximusHD v3, which is based on 4.4.2 & sense 6, with Hboot 2.49 and kernel 3.4. 10-g70fa445 and@ABM101 #1 SMP PREEMPT & S-ON......all what i wanted to do is having D2W.....
[One (M7) Android Development] bgcngm:
Your best shot was to pay for sunshine and once for all, get S-OFF. Then you could flash the stock RUU and for sure the kernel would work. This is proven to work with stock ROMs. As for custom ROMs, I don't know.
[One (M7) Android Development] waladany:
Thank you for your help :)
[One (M7) Android Development] wRexz:
is this Support my Devices?

below were my htc one 802D getvar

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: 1.01.32.0423

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 5.17.707.3

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: HC3B2MP0xxxx

(bootloader) imei: 35760705936xxxx

(bootloader) meid: A1000037AE1xxx

(bootloader) product: m7cdwg

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0751000

(bootloader) cidnum: HTC__044

(bootloader) battery-status: good

(bootloader) battery-voltage: 4069mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-1f512bb6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

if possible I will try this Kernel

Thanks
[One (M7) Android Development] bgcngm:
It supports all variants, 802D inclusive of course. Now it depends if you have Android 4.4.3 based ROM or not.
[One (M7) Android Development] M.KK:
Not support multirom??
[One (M7) Android Development] bgcngm:
As I said:

Please do a search before posting. I already replied to that and you have even more info here.
[One (M7) Android Development] GreekPilot:
Great work. Thank you

Where can I find stock kernel in case I want to revert back to install OTA updates??
[One (M7) Android Development] bgcngm:
On the "Downloads" section you can also find stock kernel for 802W, but for certain ROM versions. The best would be to make a nandroid backup of system partition and restore when the OTA comes in. It is not because of boot.img (because boot partition is overwritten when firmware.zip is flashed), but for the kernel modules that are stored as system files.
[One (M7) Android Development] artur0588:
Where is download link?

UPD. found
[One (M7) Android Development] bgcngm:
Just a head-up: M7C is now officially supported by TWRP.
[One (M7) Android Development] NandorHUN:
Great
[One (M7) Android Development] M.KK:
You do it. Congrats but multirom still not working.
[One (M7) Android Development] bgcngm:
Still complaining about that? I will not repeat what I already wrote on my latest posts.
[One (M7) Android Development] Rapid81:
The Lollipop update is coming in early January. Do you think we will get these features built-in by default? I really want the DT2W functionality, but I don't want to tamper with my new phone so early (3 days old :)).
[One (M7) Android Development] bgcngm:
No one knows, by I guess not. HTC added some wake gestures for M8, so I don't think they would want to port the feature to M7, for marketing reasons.
[One (M7) Android Development] Rapid81:
I think you're right. Why would they bother with the old one, when they have the new one to take it's place.

Do you plan to add these features to the new kernel too?
[One (M7) Android Development] bgcngm:
Of course, I'll update the kernel as soon as HTC releases the new source.
[One (M7) Android Development] andy_light:
Hello!

Will Android 5 be supported?