yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] flar2:
You can just install this kernel, the installer takes care of everything for you.

No need to wipe the cache or dalvik, the installer does this automatically.

The installer also cleans up the files from other kernels, makes sure you have any necessary files and installs all the necessary modules.
[One (M7) Android Development] pdubcramp:
Does 1.9 have the same changes to the camera that 1.8 had that stopped the camera from working for some?
[One (M7) Android Development] flar2:
Yes, same changes.

It's just three files:

/system/etc/firmware/ILP0100_IPM_Code_out.bin

/system/etc/firmware/ILP0100_IPM_Data_out.bin

/system//lib/liboemcamera.so

The first camera fix was just the two firmware files

The second camera fix is the firmware files + the liboemcamera.so file

On some ROMs you don't need any of them, on others you just need the firmware files, on .16 ROMs you need all three. I just don't have time to figure out what needs what.

If the camera doesn't work, I would start by replacing liboemcamera.so with the one from your ROM. Reboot, and if it doesn't work again, replace the firmware files with the ones from your ROM.
[One (M7) Android Development] Tetsumi06:
Ahh. Thanks. Powersaver was doing :)

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 5.4.0

Bulletproof 1.8
[One (M7) Android Development] FlipCup:
Does anyone know how to install this Kernel using a Mac? Do I just boot into recovery and install? What about wiping everything?
[One (M7) Android Development] flar2:
Copy the Bulletproof-m7-1.9.zip to your sdcard, reboot to recovery and install. No need to wipe anything.

It's always a good idea to do a full backup before you flash anything.
[One (M7) Android Development] FlipCup:
Thanks. I thought so, I just wanted to confirm!
[One (M7) Android Development] keytsang:
will camera be working in this build??
[One (M7) Android Development] flar2:
Unless it's some very old base, then yes it will work. If for some reason it doesn't work, you could make it work by reading a couple posts up and replacing a few files.
[One (M7) Android Development] Shozuki:
Lovely Kernel! All I wanted was PS3 control pad support and that seems to work a treat...

...well almost...

I am using emulators and they all seem to have problems registering the D-Pad - I mean the pad registers and accepts the buttons as D-Pad directions, but when playing they dont respond - anyone know why?

Thanks
[One (M7) Android Development] keytsang:
I blame myself for not reading the post before asking, I'm sorry about that and thank you for the swift reply.

I'm now using TrickDroid Rom and will try to flash the kernel later and report back.

Thank you very much.
[One (M7) Android Development] Simba501:
Has 1.9 broken the camera for anyone as 1.8 did?

Sent from my HTC One
[One (M7) Android Development] keytsang:
check this mate :)
[One (M7) Android Development] flar2:
I've updated the OP with some useful information.

It's worth reading if you want to understand the options available in this kernel.
[One (M7) Android Development] mugetsu666:
Great work my friend.

Team-Noctural.com/androidtechy.com/droidnow.com.
[One (M7) Android Development] vinistois:
I am still having the muting bluetooth issues.

Does anyone else have this problem where bluetooth audio glitches in and out? I have tried pairing to multiple bluetooth devices, and they all do the same thing. It did not do it before this Kernel, I listen to music every day so I know for certain it was working before the flash.
[One (M7) Android Development] flar2:
Are you undervolting at all? This kernel comes with stock voltages, but you can adjust them. I would try adding 50mv to the lowest frequency and see if it helps.

Alternatively, maybe there has been a change with bluetooth in the newer kernels. This kernel is based on the latest source code HTC released, which is not up to date with the latest stock kernels. I don't ever user bluetooth, so I have no idea if there is a difference.
[One (M7) Android Development] ECEXCURSION:
Hmm. I wonder if I enabled pocket protection sweep2wake would work correctly in call (ie: no accidental swipes from your cheek bone). I must try it!

Sent from my HTC One
[One (M7) Android Development] im smexyy:
My battery has been dieing really quick on this kernel. My battery drops almost a percent every 5 minutes I'm on my phone. Why is this? I'm on trickdroid 5.4.0
[One (M7) Android Development] flar2:
Let me know if it helps with that.

You asked for a fix for that way back on the HOXL, maybe I finally did it :p
[One (M7) Android Development] flar2:
You probably have a runaway app. I only lose like 1 or 2 percent overnight.

Install gsam battery monitor and it will tell you what's using battery.
[One (M7) Android Development] millicent:
Hello there, thanks for this kernel, exactly what I wanted, ie as close to stock as possible but ability to preserve system write..

I have a question about the wifi using this kernel : ever since installing 1.8 and same today with 1.9 the phone cannot connect anymore to my n network which is also on 5ghz.

Not a big deal as I can reroute other devices accordingly, but I'd like to know if it is a known issue?

If it helps, going back to stock kernel, via recovery restore solves it, or at least did so yesterday from 1.8

I am on stock Telus, 1.29.661.5, the kernel is the only extra here..

Many thanks

Sent from a pizza
[One (M7) Android Development] Jinra321:
Has the capacitive button insensitivity issue that was present on 1.8 been fixed on 1.9?
[One (M7) Android Development] genoxide:
I just tried that with renovate stable 1.0 and did not work
[One (M7) Android Development] flar2:
What did you try?

I use Renovate and just install as normal and it works fine.

I'll look into this.
[One (M7) Android Development] im smexyy:
Thanks ill give it a try and I'll tell you how it works

---------- Post added at 12:03 AM ---------- Previous post was at 12:02 AM ----------

And what is a run away app?

---------- Post added at 12:06 AM ---------- Previous post was at 12:03 AM ----------

---------- Post added at 12:09 AM ---------- Previous post was at 12:06 AM ----------

And I have no background procecess on in developer options
[One (M7) Android Development] ahm.elghazaly:
Hey guys, There's a feature when locking the phone while camera app is opened, if you wake the phone it opens the camera again instantly.

When sweeping to the left to sleep, aftervwaking the phone this feature doesn't work. Is this happening to anybody else? Is there a way to fix it?
[One (M7) Android Development] ECEXCURSION:
Hmm. I'm on AHRD 8.1 and bulletproof 1.9. When I went to unlock my phone the touch pannel was unresponsive for a minute. Think it's kernel related?

Sent from my HTC One
[One (M7) Android Development] genoxide:
I tried installing the latest bulletproof 1.9 with renovate 1.0 stable (not nightly) and camera did not work. I copied the 3 files and still the same
[One (M7) Android Development] GuyAdams:
Renovate 1.0 is based on an earlier base so you don't need the updated firmware and lib files. I would open flars kernel zip, remove the files from system/lib and system/etc/firmware then flash.

Either that or wait until later today until 2 is released :P
[One (M7) Android Development] TheMathMan:
Do you need any info in particular from people who can't get the pocket detection to work properly?
[One (M7) Android Development] godofwar424:
Test your proximity sensor, both me and my mate ended up with faulty ones :/

Install Android Sensor Box and do the proximity test, it should say 9.0cm when nothing it blocking it, and 0.0cm when its being covered.

Also open the dialer and type in *#*#3424#*#* and it will open HTC's test app, then do the P-Sensor test, the screen should not dim until you cover the sensor with your finger. If it dims straight away, get your phone replaced for a new one via your retail store ASAP.

If you pass both of these tests, then its not your proximity sensor to blame.
[One (M7) Android Development] 人云奕云:
Happened to me once(in 3 days, when I was using Chrome browser). Didn't notice how many percent of the battery was lost though.
[One (M7) Android Development] flar2:
You shouldn't have random reboots on this. If you do, I need to see /proc/last_kmsg to determine what the problem is.

That's because the home button is registered when you sweep it to sleep. I'm thinking of a way to fix it.

It could be, all the custom kernels suffer with reduced touch sensitivity issues,mostly the capacitive buttons. It seems to affect some people more than others.
[One (M7) Android Development] ahm.elghazaly:
I had the HTC button disabled during install in Aroma, and I'm running ARHD 8.1 ( and 8), I really apreciate your help, hope you get to fix it.
[One (M7) Android Development] millicent:
I realised the camera didn't work anymore on my stock Telus after 1.9 upgrade, straight from 1.8

Reboot and fix permissions didn't help, I had to restore the pre kernel backup, all is good now.

I'd still like to have this kernel, please let us know when the camera is fixed.

Many thanks

Sent from a pizza
[One (M7) Android Development] LittleH79:
Still waiting for newer sources for the touch sensitivity?
[One (M7) Android Development] G-Bus:
Just read that Sprint realeased today a new firmware update that fixes the sensivity. Hopefully flar can start working on that base.

Sent from my HTC One
[One (M7) Android Development] TheMathMan:
I used the HTC P Sensor test and it worked fine.
[One (M7) Android Development] flar2:
Open up my installer zip, remove the files under /system/etc/firmware and remove /system/lib/oemcamera.so. Then rezip it and install. Should work.
[One (M7) Android Development] godofwar424:
Its not about Sprint, its HTC's kernel sources.

There has been multiple firmware updates and still no updates to sensitivity.
[One (M7) Android Development] 人云奕云:
Eh, Sorry but I've rebooted the phone a couple of times since then so the log might not be helpful?

Anyway when the phone reboot it was hot on the back, maybe there's something to do with the thermal control? I think I should blame Chrome for that...

[MENTION=4684315]flar2[/MENTION] are you planning on adding H2W in the future, it's difficult to press the logo in the very zone sometimes and with Long press Logo2wake, that can be a little annoying. And Home button is much easier to locate.
[One (M7) Android Development] flar2:
Yes, has to be the very next boot, including recovery.

I might add home2wake, we'll see.
[One (M7) Android Development] linedpaper:
So I'm new to this whole Kernel thing (came from an iPhone). So first I'm reading about some issues with the camera on 1.9. I'm running TrickDroid 5.4.0 on an AT&T phone. Anything I need to do in advance, or are the changes only if I have issues? Second, what do I need to do to get back to my stock Kernel if I have issues? I have a TWRP backup from before I ever flashed a customer ROM, can I use something from that or do I need to make some sort of Kernel backup? Or, would I just reinstall my ROM to go back to the stock Kernel? Sorry, simple questions, just wanted to be certain before I install.

Thanks,

Tim
[One (M7) Android Development] flar2:
Just reinstall your ROM without wiping to return to stock kernel.
[One (M7) Android Development] linedpaper:
Thanks! Sorry, one more question. Do I need to wipe to install the kernel, or can I just re-flash TrickDroid, select the option for custom kernel, then install the kernel without wiping?
[One (M7) Android Development] flar2:
I haven't used TrickDroid, so I don't know what the custom kernel option is. Normally you just install the kernel without doing anything.
[One (M7) Android Development] Jinra321:
Stock kernel sensitivity seems to be fine (on my t-mo htc one), however bulletproof gives me sensitivity issues.
[One (M7) Android Development] godofwar424:
Yeah, we all know that!

HTC released the new kernel, but didn't release new kernel SOURCES, so that developers can make their own kernels based on this newer version, which has the better drivers for the capacitive buttons.
[One (M7) Android Development] Jinra321:
Isn't the bulletproof kernel based on the latest 1.29 source though? That's what it says on the post anyway. Sorry I'm not sure how all this works.
[One (M7) Android Development] godofwar424:
1.29 is the main version number, but theres quite a few numbers after that to show smaller releases ect.

Basically, its based on the latest kernel sources available, but HTC isn't updating them quickly and it holds up everything on the custom kernel end :(
[One (M7) Android Development] millicent:
I will try it and let you know, thanks

Sent from a pizza
[One (M7) Android Development] Simba501:
If you use the app "Zarchiver," it will allow you to edit/delete the contents of a zip on the device. Following the series if suggestions you provided, I discovered that I only have to delete the lib file. The aforementioned app made the process even easier. I had been going through the installer a couple of times, trying different setups.

Sent from my HTC One
[One (M7) Android Development] pdubcramp:
Which ROM are you running?
[One (M7) Android Development] Simba501:
Cognition.

Sent from my HTC One
[One (M7) Android Development] Gufsl1:
I do have the same problem. Did you find any solution or we just have to wait for a new release?
[One (M7) Android Development] millicent:
Total commander works even better, at least for me..

Sent from a pizza
[One (M7) Android Development] vinistois:
AHA. so I"m not crazy.

What Rom are you running? I am on Revolution 8. This could help us figure whether its a rom or kernel issue.
[One (M7) Android Development] flar2:
no
[One (M7) Android Development] jaythenut:
Thank you do you know how long till it's up and running
[One (M7) Android Development] Nekromantik:
Thanks cant test however as I need to make calls so cant flash any kernel until its fixed. keep up the good work.
[One (M7) Android Development] flar2:
Download:

Bulletproof-m7-0.5

Changes:

-adjust sweep2wake

-force fastcharge (untested: use at your own risk)

-re-enable perflock
[One (M7) Android Development] simpelsense:
Thanks for the kernel, downloading and installint v5.0 now.

Any chance we see ps3-controller support? Meaning fix the messed up bluethooth stack?
[One (M7) Android Development] flar2:
Could someone do a logcat and dmesg while making a call with the stock kernel?

Instructions:

1. reboot the phone and once it's fully booted, do:

adb shell dmesg > dmesg-boot.txt

2. start a logcat:

adb logcat > logcat.txt

While the logcat is running, make a short phone call

right after the call, stop the logcat and get dmesg output again:

adb shell dmesg > dmesg-call.txt

then send me the two dmesg files and the logcat.
[One (M7) Android Development] simpelsense:
uploading pm in a sec.
[One (M7) Android Development] Nekromantik:
was just about to do it lol

beat me to it
[One (M7) Android Development] flar2:
I could always use another one, especially since the first one with custom kernel is from you.
[One (M7) Android Development] Nekromantik:
here it is

logcat

https://www.dropbox.com/s/v5d2mpfqx00ubd8/logcat.txt

other 2 are attached
[One (M7) Android Development] matiu:
there is no way to get phone calls correctly working?
[One (M7) Android Development] mwilky:
Give him time he will fix it
[One (M7) Android Development] jaythenut:
cant wait for it it looks like is nearly ready
[One (M7) Android Development] simpelsense:
After installing your kernel I not able to install some apps from the market.

Yea premium is such an app. Device says that the installer can not write to usb-storage

Or sdcard.

I will try to provide some log tomorrow.

But so far kernel runs nice. No issues yet and gaming on 720p with mhl is really nice.

Keep going with the good work.
[One (M7) Android Development] flar2:
I've decided I'm going to buy the One, they're supposed to be released on the 19th in Canada. Once I get it, it'll be a lot easier to look into issues. Good to know the MHL hack is working.
[One (M7) Android Development] haasgo:
Good to hear that development on the one is making good progress! Sweep2wake is imho one of the most important features :thumbup: is there any difference in hardware for canadian htc ones? Hate all these att/sprint/verizon...etc. Models from north america which lead to confusions (example lg optimus g) cheers

Gesendet von meinem GT-I9000 mit Tapatalk 2
[One (M7) Android Development] Nekromantik:
Good news.

:)

My logs were not useful?
[One (M7) Android Development] flar2:
They're always useful. I compared your logs from stock with your logs from my kernel and they had basically the same output with respect to the call problem, so unfortunately they offered no clues for me to fix the problem. But being able to compare stock vs custom logs at least allowed me to rule out a couple things. Once I get my own device I will enable more debugging and maybe I'll see something. It will be much easier to experiment.
[One (M7) Android Development] Nekromantik:
Ok. Glad it helped in some way.

It is a strange issue seeing as you are using HTC source code.

Unless HTC fixed something and uploaded older version of the source.
[One (M7) Android Development] lukemo:
Dear Flar2, I'd like to help you with logs cause I'm interested in a custom kernel and you are one of the few developers working on it, but I have two questions:

1) I'm on Trickdroid, 4.0.0: are you interested in a logcat on that rom with your kernel?

2) just to be sure, how can I go back to stock kernel of Trickdroid? With a nandroid or can I have a zip to flash and to go back to Trickdroid 4.0.0 kernel?

Thanks.
[One (M7) Android Development] Manafa:
I found one serious issue. A lot of people told me, that I didn't answer their calls, but the phone didn't ring at all, nor I have missed call indication. Friend of mine experienced the same problem with earlier version of the same kernel, so he switched back to stock. Today I did the same. This is very strange and I hope Flar will find solution.
[One (M7) Android Development] millicent:
After removing those files camera works again, thanks

Sent from a pizza
[One (M7) Android Development] Gufsl1:
Revolution 8.1 soon to be 9. I Will try on the stock kernel.
[One (M7) Android Development] 人云奕云:
In tickdroid you can flash the tweaks package again to get the stock kernel back. Just choose stock kernel in kernel setting. It'll flash stock kernel again.

After that I think you should wipe cache and dalvik, just in case.
[One (M7) Android Development] Hemotherapy:
Getting MD5 not found error when I try to flash, tried to search thread for md5 but found nothing -- Anyone know how to fix that?

Also - are there still problems with call quality/calls not showing up?
[One (M7) Android Development] flar2:
Only one person reported that, I have no issues and no-one else had said anything.
[One (M7) Android Development] tbridgewater:
Menu2Logo with ARHD 9.0

Hi Guys,

Has anyone had an issue with menu2logo not working with ARHD9.0? Has worked with previous versions and have had no luck getting 1.7. or 1.9 to work with the latest android revolution?

[Edit] More Info: The menu2logo function works within apps / settings etc but not on the homescreen.

Anyone got an ideas for a fix?
[One (M7) Android Development] pablo11:
It's supposed to be like that.
[One (M7) Android Development] sammyg122:
Hey, I tried deleting these files using zarchiver to get the camera to work,reflashed but unfortunately the camera still doesnt work. Any suggestions?

Do love the kernel overall though! Just got the HTC One last night, previously was with Sammy for a long time.

Edit - I am on stock Rom, rooted, this thread kernel
[One (M7) Android Development] flar2:
It depends on your Rom, not all have a menu on the homescreen, but some do, like renovate.
[One (M7) Android Development] flar2:
Did you remove all three files or just the /lib/oemcamera.so one?
[One (M7) Android Development] sammyg122:
I first tried by removing oemcamera.so, flashed didn't work. I then removed the two files in /system/etc/firmware, flashed and still no luck.
[One (M7) Android Development] flar2:
You need to dirty flash your ROM (or restore from backup) before your reinstall the kernel, or you'll still have the wrong /etc/firmware and lib/oemcamera.so files that were previously installed.
[One (M7) Android Development] sammyg122:
Ah I see...i apologize for the noobness of this question then...I assume I can backup what I have now, restore it, flash the kernel and then should be all good?
[One (M7) Android Development] Hemotherapy:
Hmmmm mkay. Any ideas in that md5?
[One (M7) Android Development] flar2:
Doesn't the md5sum show up when you click the download link?

No, the problem is that when you installed the kernel, it overwrote those files. You need the originals, hopefully you did a backup (IIRC you were on stock?). If you didn't, you'll have to grab them from another ROM that has the same base as yours. Or just install a custom ROM, there are several really good ones.
[One (M7) Android Development] toca79:
Does 1.9 work on arhd 9.0?
[One (M7) Android Development] sammyg122:
Yup, thanks. I backed up the original ROM before making any changes, so I just restored and then flashed the kernel and it's working now.

One last question, when I update the kernel I'll have to remove the files again? Thanks!
[One (M7) Android Development] Golv:
I have some problems with kernel 1.9

When charging from USB after some time the phone hangs up and goes into "ONE". And so it happened a few times ... logs - attached. These are the problems associated with the kernel or maybe something else? In version 1.8 it was all good

.
[One (M7) Android Development] pdubcramp:
Deleted these three files from the zip:

/system/etc/firmware/ILP0100_IPM_Code_out.bin

/system/etc/firmware/ILP0100_IPM_Data_out.bin

/system//lib/liboemcamera.so

Flashed away and the camera is still working as it should. Thanks, flar2!

Running 1.29.1540.3 Dev Edition stock.
[One (M7) Android Development] Hemotherapy:
Yes it does sorry. I just noticed its saying it is skipping that step. For w/e reason its just fails when it starts to flash it. Ive cleared dalvik/cache before I install so idk.
[One (M7) Android Development] flar2:
Some recoveries have an option to only flash the zip if the md5 is found, make sure that option isn't checked.
[One (M7) Android Development] Hemotherapy:
Okay...

Here's how it goes:

Dalvik/Cachie Wiped

Updating partition details...

Installing /sdcard/dowlonad/m7-bullet...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found.

Error Flashing zip '/sdcard/download/m7-bullet...

Updating partition details...

That's all I see.

I'll look into the MD5 check box. I have TWRP if that helps
[One (M7) Android Development] doraemon6688:
Something may be wrong with the battery drivers. Installed Battery Monitor Widget and the mA is not reporting correctly. No problems with stock kernel or tbalden's. Just reporting to see if anyone else can test the same problem.
[One (M7) Android Development] tiny4579:
[MENTION=4684315]flar2[/MENTION], I'm not sure if you had a chance to test this patch yet for the touchscreen issue. I've tried it briefly but will give it some testing on v1.9 assuming your github is up-to-date. I posted it a while ago but I formalized it in a patch. The patch is for my CM-based kernel that I haven't released due to quickly evolving state of CM and but it should work all the same. Hopefully it addresses the response issues as well.

https://github.com/tiny4579/android_kernel_htc_m7/commit/36f39e4c72784889bf632d3e7bae6d11eea0e6b8

Hmm, looks like you haven't pushed your defconfig up.
[One (M7) Android Development] Flow-Wolf:
Hi :D

I would like to test this kernel.

I want to stay on my official HTC rom.

So I must unlock bootloader, flash recovery & root then I am able to flash it?

Must I root my phone or only recovery is okay?

If I want to go back to the original kernel, I just need to flash the Kernel 001 from recovery right?

Thanks for all.

Flow