yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] bgcngm:
Answer is some posts above... :p
[One (M7) Android Development] andy_light:
Sry, it's my inattentiveness :o
[One (M7) Android Development] yugoport:
Hi bgcngm, first of all thanks a lot for your hard work.

I have been having a problem which is very well known but I wasn't able to fix it. The no sound during calls. I am using the viper rom ( which is in the Russian forum ) with your kernel, and although I already downloaded and flashed the no sound fix from viper rom thread here in xda, I still have this problem, did you have this problem before also? How did you fix it?

Sorry for the offtopic and thanks in advance.
[One (M7) Android Development] bgcngm:
No, no problem here. I didn't even know that there's such problem. I'm using stock ROM.
[One (M7) Android Development] GreekPilot:
Me too, but I am facing this problem almost twice a month...
[One (M7) Android Development] bgcngm:
Bad for you. Revert to the stock ROM. In almost a year, I have never faced that issue. Not even using my custom kernel.
[One (M7) Android Development] GreekPilot:
I am using stock rom.. With your kernel... It's a strange thing..
[One (M7) Android Development] bgcngm:
Do you have the latest radio firmware?
[One (M7) Android Development] sherry9873:
:good: :cyclops:
[One (M7) Android Development] GreekPilot:
I guess so. I am on 6.13.401.3
[One (M7) Android Development] bgcngm:
Updated via OTA or by means of a TWRP/CWM backup? Check your baseband version.
[One (M7) Android Development] GreekPilot:
Via Ota. My baseband is U3.15.3509.12
[One (M7) Android Development] yugoport:
This problem is affecting every sense based roms, its something related to Google play services that breaks one of the libs or something, there is a no_sound_fix by team venom, but weirdly it didn't fixed the problem in my end, I know that there was an OTA from HTC that was meant to solve the problem but at that point I was rooted and with a custom recovery and didn't know if I could update or not so I installed venom rom for HTC dual sim and problem appeared again. I am also on 6.13.401.3.
[One (M7) Android Development] GreekPilot:
The problem is supposed to have been solved from HTC. But not for me
[One (M7) Android Development] yugoport:
Let me know if you find a fix without having to wipe everything again..
[One (M7) Android Development] Vugl:
ath9k_htc

Hi.

Сan compile the kernel with the driver ath9k_htc?

Error while compiling:

CC kernel/bounds.s

arm-cortex_a15-linux-gnueabihf-gcc: No such file or directory

Is your PATH set correctly?

make[1]: *** [kernel/bounds.s] Error 2

make: *** [prepare0] Error 2

Please,help.

where to dig?
[One (M7) Android Development] yugoport:
Haha,that one was also a pita for me,it took me a lot of time to figure..
[One (M7) Android Development] Vugl:
Hi.

Trying to rebuild boot.img. Do so:

1. ./unpack-bootimg.pl boot.img

2. cat m7cdug_defconfig | grep PHYS_OFFSET

CONFIG_PHYS_OFFSET=0x80600000

3. Edit repack-bootimg.pl, and write --base 0x80600000

system ("/home/sergey/kitchen/mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel $ARGV[0] --ramdisk ramdisk-repack.cpio.gz -o $ARGV[2] --base 0x80600000");

4. ./repack-bootimg.pl boot.img-kernel.gz boot.img-ramdisk new-boot.img

5. After flashing (fastboot flash boot boot.img) obtained cyclic reboot.

How Come? help plz
[One (M7) Android Development] bgcngm:
Use Android Image Kitchen. Simple, clean.
[One (M7) Android Development] wewenk:
Can we undervolt the cpu or set minfreq setting?

I found that the camera PT is missing momentarily after keep the device on a freezer for 15 minutes...

Maybe by keeping the phone cool can help it?
[One (M7) Android Development] THANHVO31:
Exfat

It is so strange that first mount exFat microsd card 64gb via Otg cable working flawlessly. With 2.1 and d802w But after unmount via storage menu, not able to mount it anymore. Any hint is appropriated.
[One (M7) Android Development] homek:
Boot loop on 802w

I had your kernel installed on my HTC One 802w and was happily using it. But had to send the phone for warranty. After it got back, I S-OFFed, bootloader unlocked, rooted and installed your kernel. Unfortunately no matter if I did in via fastboot or recovery, the phone would get into bootloop.

I am on 4.4.3 software 6.13.402.2.

Thanks
[One (M7) Android Development] wewenk:
Deleted
[One (M7) Android Development] HOX-Regie:
Just Flash kernel or New Build for Carbon Rom?

Hello,

I have the 802 want to use this kernel with Carbon ROM or XPOSED Framework. Should I just flash or request an build for this?

Thanks

---------- Post added at 12:26 PM ---------- Previous post was at 11:46 AM ----------

@bgcngm

Correction: I have the 802W.
[One (M7) Android Development] denseye:
hello bgcngm ;)

I would dream of using my usb wireless nic (model TP-LINK TL-WN722N) on my M7CDUG with OTG cable.

chiragkrishna made a tutorial on how to do it here : http://xdaforums.com/android/softwa...-pwn-phone-t2852652/post54925307#post54925307

but I haven't any knowledge in linux kernel compiling :p

do you think it would be possible to add this feature in your kernel ?

or do you think chiragkrishna's tutorial is straight-on , and I could myself use it to compile my own kernel, even if I never did it in the past ?

Thank you.

Regards ;)
[One (M7) Android Development] denseye:
hello bgcngm,

I'm trying to build kernel by myself.

cdug-Just to start I try to build stock kernel from m7cdug-3.4.10-ga936d02...

once compilation finished OK :) it seems I'm missing some standard .ko files : wlan.ko and prima directory (with prima_wlan.ko)

is it normal ???

thanks for your help
[One (M7) Android Development] bgcngm:
Yes, that's normal. Not all modules are built when compiling the stock kernel from HTC. Use the ones that are prebuilt.
[One (M7) Android Development] denseye:
sadly I'm stuck in bootloop, even before boot animation

so on this early stage adb is not active and I don't know how to debug ...

what I've done :

- compiled completely-stock kernel with linaro toolchain and default m7cdug_defconfig

- repacked boot.img with generated zimage

- take all my generated .ko files + moved the cfg80211 one to a folder called prima

- flash (without erasing previous installed lib/modules files, to keep the non compiled ones (prima_wlan, texfat, crypto ...)

any idea on how to investigate ???
[One (M7) Android Development] bgcngm:
Try again with GCC 4.6 toolchain. I have came across several problems when using Linaro toolchains.
[One (M7) Android Development] denseye:
Thanks for your response bgcngm !

I will try ....

But I saw in your github you compiled with arm-cortex_a15-linux-gnueabihf-linaro_4.8.3-2014.04

I analyzed last_kmsg after bootloop, and I have very strange things, like this errors :

[ 2.012177] c1 1 init: property 'ro.hardware' doesn't exist while expanding '/init.${ro.hardware}.rc'
[ 2.012238] c1 1 init: error while handling import on line '9' in '/init.rc'

As I builded with same ramdisk as stock kernel I really don't understand what can lead to that errors ! :(
[One (M7) Android Development] M.KK:
What's that'
[One (M7) Android Development] M.KK:
Bcngm ?
[One (M7) Android Development] bgcngm:
That's what we have been waiting for. I'm already updating to Lollipop, but HTC hasn't yet released the source code... We'll have to wait a bit longer.
[One (M7) Android Development] M.KK:
I have ota coming I not to install?

---------- Post added at 05:15 PM ---------- Previous post was at 05:14 PM ----------

Okay thanks.
[One (M7) Android Development] bgcngm:
Of course you can install. I'm doing the same. But you have to be aware that you will loose the features of this custom kernel as well as many Xposed modules you're probably using.
[One (M7) Android Development] hamid_valad:
I'm recieving the ota too. But i wont install it, until ur awesome kernel supports android 5.

I'm also not sure, if root is available and xposed framework and it's modules are ok with android 5.

We are all waiting for your update!!! (Also we are waiting for htc first!!!)
[One (M7) Android Development] artur0588:
Root and xposed are both ok.
[One (M7) Android Development] denseye:
hello

...sorry, wrong thread
[One (M7) Android Development] hamid_valad:
so i downloaded the ota with my phone.

now i want to know something before installing it.

should i go back to stock kernel before installing the ota?

should i install stock 4.4.3 recovery?

i dont want to lose my data!
[One (M7) Android Development] bgcngm:
You need to flash the zip provided in order to revert to stock kernel modules.
[One (M7) Android Development] wewenk:
My bad
[One (M7) Android Development] emestee:
remote: 32 header error

I tried installing PN07IMG_M7C_DUG_K443_SENSE60_MR_HTC_Europe_6.13.401.3_Radio_1237.28.35.0516_release_391892_signed.zip - 1.20 GB on my 802w but got a FAILED <remote:32 header error> how can I fix this to proceed with the installation?
[One (M7) Android Development] bgcngm:
Sorry, but that's off-topic.
[One (M7) Android Development] fil286n:
It's off-topic. But FYI, u just have to rename it to PN07IMG.zip, put it in the external SD card then enter bootloader to flash it. I don't know why but this RUU cannot be installed via fastboot oemRUU.:laugh:
[One (M7) Android Development] bgcngm:
Thanks for such information, but I already knew that. ;)
[One (M7) Android Development] gmarones:
Lollipop OTA update Issue

Hi all, I have a issue to OTA update.

During the update the msg is that my fingerprint of the release-keys is wrong because referring to htcccn release but expected htc_europe build.

I have installed the Europe RUU instead the CCN version. Can you help to resolve this issue
[One (M7) Android Development] bgcngm:
Again, that's off-topic. There are threads where that is being discussed, so please post your questions there.
[One (M7) Android Development] fil286n:
^^^ It's not for u. Lol

^agreed. Hope that kernel source code release soon. We should focus on praying here. Lol
[One (M7) Android Development] jajank:
"never turn S-ON without reverting to stock HBOOT, otherwise phone will be bricked!!!."

Sorry for my bad english, can anyone give more explanation about this?

I'm one unlockBL, rooted, S-ON and i want to install this kernel for DT2W
[One (M7) Android Development] geek-baba:
You need to first get s-off
[One (M7) Android Development] bgcngm:
You can install the kernel from CWM / TWRP. The only requirement is that bootloader must be unlocked.

The message regarding modified HBOOT is pretty clear. If you had changed it and you wanted to revert to S-ON, you would also have to revert to stock HBOOT. Simple as that. Taking into account that your phone is S-ON, then simply ignore that message. You can't flash HBOOT without S-OFF first.

Only to flash other firmware parts besides boot, recovery, system, cache or userdata.
[One (M7) Android Development] geek-baba:
I did not realize it, always used the stock kernel so never had opportunity to test.
[One (M7) Android Development] huniak:
Hello, I try this kernel on my 802w, install it on maximums hd 3.0.0 Rom, but not booting ( black screen, capacitive button lights), any fast solution for this? Twrp 2.8.6.0
[One (M7) Android Development] bgcngm:
Well, the kernels were only tested on stock ROM, not on a custom ROM. That said, I can't guarantee that kernels work on custom ROMs.

Please be sure to use the kernel that matches your Android version.
[One (M7) Android Development] jajank:
Oke, i am on unlocked bootloader. Gotta flash it then, one more question:

- i had a OTA notification for 5.0.2 update, if i update after flashing this kernel will it brick my device or there wont be no problem and my kernel back to stock?
[One (M7) Android Development] bgcngm:
I have already replied to that a few posts back. You have to revert to stock kernel, not because of the kernel itself (boot is overwritten during OTA update), but because of the kernel modules.

Phone won't brick, but OTA update will fail due to inconsistency in the system files (kernel modules, to be more precise).
[One (M7) Android Development] jajank:
thanks 4 the explanation, now it's clear as daylight
[One (M7) Android Development] bemanan:
Kernel on lollipop

Can I use this kernel on 802w running lollipop 5.0.2??

Thanks in advance.
[One (M7) Android Development] bgcngm:
You can try, but won't work. You could have read at least the previous page and you would know that HTC hasn't yet released the new source code, thus this kernel hasn't been yet updated.
[One (M7) Android Development] mathy007:
please i need stock kitkat kernel to be able to install ota i flashed this kernel v1.2 now i cant instal ota 443 and lp am currently on 4.4.2
[One (M7) Android Development] wewenk:
[MENTION=5035721]mathy007[/MENTION] what is your device
[One (M7) Android Development] mathy007:
HTC one dual sim m7c_dug nordic variants
[One (M7) Android Development] wewenk:
Flash this firmware. http://d-h.st/ENa
[One (M7) Android Development] mathy007:
cant flash that firmware my device is s-on, and i have tried various s-off methods including rumrunner and firewater none work for me the only one i haven't tried is sunshine s-off because of the 25$ price tag am currently on kk with hboot 2.49.0000 is there any method anyone can suggest to me that can work with my current rom and hboot?
[One (M7) Android Development] GreekPilot:
Sunshine....
[One (M7) Android Development] newtonlwk@join-china.net:
kernel 802D (M7CDWG) on HTC one 802d (chinese version)

Hello,

I woud like to flash kernel 802D (M7CDWG) on HTC one 802d (chinese version from CHINA TELECOM), 4.4.2, HTC sence 5.5, ROM version: 4.21.1401.5 (stock rom), HTC SDK API level 5.69, PRI version: 4.22_001, PRL version: 212.

is this kernel appropriate for this mobile???

would u please send me the direct download link!!!

and explain me how to proceed??

Awaiting ur reply,

Newton

Thanks and best rgds,

Newton
[One (M7) Android Development] bgcngm:
The kernel for 802D requires Android 4.4.3 / Sense 6.0.
[One (M7) Android Development] tandat2104:
Hope to see the lollipop version soon

thank you for your awesome work
[One (M7) Android Development] mathy007:
What do you mean
[One (M7) Android Development] bgcngm:
Means Sunshine.
[One (M7) Android Development] t-mobile_mda:
Moderator Edit

Off topic - please use the Q and A forum

Thanks
[One (M7) Android Development] bgcngm:
Just noticed that HTC has released a new source code for M7CDUG and DTU, although it identifies it as Android version 5.0.1. Don't know why, but I will check it out.
[One (M7) Android Development] mathy007:
Good news hopefully we will soon get your awesome kernel for 5.0.2
[One (M7) Android Development] wewenk:
I sign up for tester LOL
[One (M7) Android Development] criszz:
me 2 :))
[One (M7) Android Development] bgcngm:
Could someone get me a dump of stock kernel modules (/system/lib/modules) for 802w?

EDIT: [MENTION=3102136]wewenk[/MENTION], [MENTION=1163516]criszz[/MENTION] or [MENTION=5488328]shwetkprabhat[/MENTION]: I need those from ROM version 7.17.401.5.
[One (M7) Android Development] wewenk:
How to do that?
[One (M7) Android Development] bgcngm:
Either copy that folder to the sdcard with a file explorer and then zip the contents in Windows or use adb to pull the files:

adb pull /system/lib/modules
[One (M7) Android Development] wewenk:
Here you are https://mega.co.nz/#!SMBkFARY!MOQ9u7MC23zHMVqE7Y0ZaQG9bZ6CvbRjIXmByb9ZIwc
[One (M7) Android Development] geek-baba:
[MENTION=3102136]wewenk[/MENTION] - faster than I could boot to my phone!
[One (M7) Android Development] bgcngm:
[MENTION=3102136]wewenk[/MENTION], [MENTION=1163516]criszz[/MENTION] and [MENTION=5488328]shwetkprabhat[/MENTION]: beta version sent for testing. Check PM.
[One (M7) Android Development] wewenk:
It is boot.. ?

Can I use dt2w now?
[One (M7) Android Development] bgcngm:
Of course, haven't you tried already? :p
[One (M7) Android Development] bgcngm:
Do you have a 802d?
[One (M7) Android Development] wewenk:
Lovely.. It works ???

Is it support underclock the cpu?
[One (M7) Android Development] mathy007:
802w
[One (M7) Android Development] bgcngm:
Thanks for the feedback. Over/under clock/voltage is not (yet?) supported.
[One (M7) Android Development] mathy007:
Can i be a tester?
[One (M7) Android Development] bgcngm:
I plan to release it this weekend. ;)
[One (M7) Android Development] mathy007:
That'll be great[emoji106]
[One (M7) Android Development] bgcngm:
New kernel compatible with Android 5.0.2 / Sense 6.0 has just been released. Download link is up for 802W and other variants will follow soon.
[One (M7) Android Development] mathy007:
Am using 802w 5.0.2 but with sense 7 patch hopes it will work well?
[One (M7) Android Development] bgcngm:
Well, try and see for yourself. Better do a backup first, taking into account that you are not running stock ROM.
[One (M7) Android Development] mathy007:
Am running stock just that i flashed the mod sense 7 patch anyways let me try and give feedback BTW which app will i use to control the dt2w and the rest
[One (M7) Android Development] bgcngm:
Sense 6 Toolbox or Wake Gestures.
[One (M7) Android Development] bgcngm:
Just uploaded kernel for 802D and 802T. Please note that these ones are obviously untested, so do a backup first.
[One (M7) Android Development] wewenk:
With modified hboot? ?
[One (M7) Android Development] bgcngm:
Ahhh, yes... I'll release the modified HBOOT soon. :D
[One (M7) Android Development] M.KK:
Why not running in stock?
[One (M7) Android Development] bgcngm:
Could you elaborate a little bit, please? Not exactly running, in which variant?
[One (M7) Android Development] Talon:
bootloop on yours (
[One (M7) Android Development] pogs24ever:
Hi [MENTION=455439]bgcngm[/MENTION].. Can you upload a flashable zir or twrp back of your boot. Img

Sent from mobile
[One (M7) Android Development] jerrylzy:
[MENTION=3500210]tiny4579[/MENTION]

the wifi module's name is wlan instead of prima_wlan

so this commit can work. it just needs a little modification

https://github.com/flar2/ElementalX-evita-8.0/commit/db72716cfdf7fcee9dc5236996d14e52c8cf8bf9

change

if(!strncmp("prima_", mod->name, 6)) return 1;

to

if(!strncmp("wlan", mod->name, 4)) return 1;
[One (M7) Android Development] reeder:
I've managed L2M to work, adding line

key 139 MENU VIRTUAL

to the end of /system/usr/keylayout/synaptics-rmi-touchscreen.kl and disabling any other L2X functions (L2W, L2S, etc).
[One (M7) Android Development] Sves:
Douple tap to wake and swipes over the screen work fine with Sense 6 toolbox. Many thanks for this!

But I am curious about further extension of the functionality of this kernel - logo2menu, sweep2wake.

I am using Venom tweaks and for some reason it does not work for this kernel... It's not a big thing for the current gestures since tollbox does a perfect job but logo2menu and sweep2wake are not configurable from the toolbox.

I hope the code above will work and logo2menu will be enabled, but actually we need a tweaker app to turn this on and off. Could you please kindly look into the problem why Venom is not working. And probably you would manage to enable sweep2wake - swiping is done over the sensor buttons, not the screen - screen gestures are cool but cause many erroneous wake ups while swipe over the buttons is more precise.

Best,
[One (M7) Android Development] bgcngm:
For those who are running this custom kernel and want to remove red warning during boot, jump to post #2 for more information.
[One (M7) Android Development] bgcngm:
When wake gestures are enabled (/sys/android_touch/wake_gestures is set to 1) the traditional sweep2wake or doubletap2wake functions are disabled. You have to choose whether you want wake gestures (manageable via Sense 6 Toolbox or Wake Gestures) or the traditional functions.

In case you haven't noticed, swipe2sleep (swiping left over buttons, from home to back) works not matter what.
[One (M7) Android Development] Talon:
whats about 802D Kernel? you saw that I posted?
[One (M7) Android Development] lewonsky:
does this work on HTC single sim device?
[One (M7) Android Development] bgcngm:
Did not have time yet to look into it. Give me some time.

Probably not, but why would you be interested. There are several kernels for the single SIM model, with the exact same features and much more.
[One (M7) Android Development] Sves:
Would sound strange but somehow upon couple reboots and ticking here and there Iogo2menu started working. Now I have logo2menu and sweep2sleep (Venom tweaks) + Doubletap2wake, off screen gestures and logo2wake (Sense 6 toolbox) (+ pocket detector from Venom Tweaks). And this mess works...

God, that's great. Let's see how the battery will react on all that - proximity sensor always on + sensor screen always on + logo always on... Hope this will not be the deal breaker with those cool features.

bgcngm,

You mentioned that the new gestures are activated here - /sys/android_touch/wake_gestures is set to 1. I tried to change the value to 0 through Root explorer but the section is RO. Just wondering if it is possible to switch it to 0 and test the standard sweep2wake.

Another thing - does init_d work in this kernel?

Thank you!

P.S. You would not believe how many users in Russia are happy with your kernel...it's a real bomb! Greets from 4pda.ru
[One (M7) Android Development] bgcngm:
I'm sure you are used to work with adb, so open an adb shell with su priviledges:

adb shell
su

To disable wake gestures, type:

echo 0 > /sys/android_touch/wake_gestures

To re-enable wake gestures, type:

echo 1 > /sys/android_touch/wake_gestures

To check the actual status:

cat /sys/android_touch/wake_gestures
[One (M7) Android Development] bgcngm:
As a matter of fact, init.d support is not yet implemented. Should be available on the next release.
[One (M7) Android Development] J_M_V_S:
Been running for the last 24hs or so and so far so good. Running 802w stock KK 4.4.2 + Sense 6 and controlling functions with Sense 6 Toolbox (just double tap & long press logo).
[One (M7) Android Development] leonardojt:
pls help me, i couldnt locate the link to the kernel. can you share it with me.
[One (M7) Android Development] bgcngm:
I wonder if you read anything from the first post... :rolleyes:
[One (M7) Android Development] leonardojt:
Thank you very much, it works for my 802w with no issues. Great keep it up.:D
[One (M7) Android Development] pogs24ever:
BUG

I successfully install the Kernel and its great

But kindly confirm if this happen to all of you guys

When you play Music or Radio

does your Back button respond? Im only using S2w form toolbox
[One (M7) Android Development] Sves:
Yes, no problem... Never had problems with the buttons.

Please check the settings in the toolbox, probably re-assigning of the buttons will help.
[One (M7) Android Development] J_M_V_S:
If you're using HTC One Tweaker 3.3.3 then there's a known problem with buttons whilst playing any media. Version 3.3.4 should have this fixed.
[One (M7) Android Development] criszz:
with beta kernel till now , all are fine on 802w stock with and without sense 7 pack applied, ( i have two phones )

no batery drain, no unusual wakelock's, sdcard speed's are good, dt2wake working well and responsive, i didn't test other gesture's . Fast charge is activated.

if you want to test somethig particular just say :P
[One (M7) Android Development] bgcngm:
Update to the final release when possible and thanks for your feedback. ;)
[One (M7) Android Development] M.KK:
Fine
[One (M7) Android Development] bgcngm:
What is exactly your problem? I can't help if you are too vague.
[One (M7) Android Development] M.KK:
Working good.
[One (M7) Android Development] M.KK:
Good. Every thing is fine.
[One (M7) Android Development] revel_onetime:
Not good for me

i have face this problem see attachment
[One (M7) Android Development] bgcngm:
So, what was your problem after all? :p

Glad to see a 802T owner. Could you please revert to stock and send me the dump of /system/lib/modules as well as the original boot.img?
[One (M7) Android Development] revel_onetime:
this is lollipop stock boot.img
[One (M7) Android Development] bgcngm:
I need the dump of stock kernel modules (/system/lib/modules) as well.
[One (M7) Android Development] revel_onetime:
how can copy modules i don't have any idea*********

Sorry:(

i have done