yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] mrg666:
Is it something like these?

https://github.com/Coolexe/shooteru...mmit/089856dc9aeb8cb6381fef22e0d9da6b9b10548a

https://github.com/Coolexe/shooteru...mmit/9b74df75fa6f3b88906115036a0ffacf37df3d04

Seems to be directly applicable to me.
[HTC EVO 3D] bigwillyg:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03282013

Ah ok. Thanks. That looks to be it.
[HTC EVO 3D] mrg666:
I have recently found this blog post. I wanted to share the post here since it is so much on the same line with what I (try to) do.

Check this commit I have done just today for example. HTC developers had apparently no problem with loading the unnecessary a3xx drivers on a phone with a220 gpu. You can find many more examples of dead/unnecessary code elimination in the repo. Please let me know if you find anything else that can be eliminated. Spring is the right time to do this :)
[HTC EVO 3D] ohbuckeyeman:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03282013

Just tried flashing this kernel because I like the idea of a pared down kernel for increased efficiency. I am s-off with hboot 1.58.5858 using negalite blurom. It seems to flash alright and boots up just fine, but my Wi-Fi won't turn on and just says error. Anyone else with this? Suggestions? I flashed with 4ext by the way. I know you said you use flash image gui, but I thought that was only REQUIRED if you were s-on.

Edit: Didn't mean to be rude. Forgot to add the obligatory, "Thank you for your hard work and giving us 3d owners another alternative. Much appreciated!"
[HTC EVO 3D] mrg666:
I am not sure why yet because of other priorities but modules are not getting flashed in the recovery. Please try Flash Image GUI, it is more convenient than using the recovery anyway. I will fix it soon (hopefully). And you're welcome.
[HTC EVO 3D] sellers86:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03282013

Mount system in recovery before you flash it, something is apparently wrong with the updater script. Confirmed working by me.
[HTC EVO 3D] mrg666:
Problem resolved. Corrected a typo (mmcblk0p26 -> mmcblk0p23) in the update script and replaced the packages in the OP. In the process, I have updated the kernel with the current build as well. Please see the minor changes in the repo.
[HTC EVO 3D] ohbuckeyeman:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03312013

I'll give it another try now. Thanks!

Edit: Works great. Incredibly snappy. Thanks again!
[HTC EVO 3D] bigwillyg:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03312013

Question on the adreno commit. Did you get any undefined reference errors when you made removed the unnecessary driver?
[HTC EVO 3D] mrg666:
Yes, if I had simply deleted the files, the kernel would not compile due to undefined references and missing code. You will see in the commit that all of the conflicts are fixed in the remaining code.
[HTC EVO 3D] bigwillyg:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03312013

In the next commit they are fixed?
[HTC EVO 3D] mrg666:
No, the same commit deletes the a3xx driver files and fixes the other files. It is not dependent on any other commit.

https://github.com/mrg666/android_kernel_shooter/commit/ee37d84f7527cd2fe362f1866362a23052577808

Are you merging that commit to your repo and getting errors?
[HTC EVO 3D] bigwillyg:
Re: [KERNEL] MiRaGe - for HTC stock ICS ROM - 3.0.71 - 03312013

Oh I see. I was trying to manually fix the files but didn't delete the a3xx driver files.
[HTC EVO 3D] mrg666:
I have uploaded a kernel update with the adreno driver backports from codeaurora msm-3.4 updates. As I proceed with the backports, the base Linux code is diverging more and more from our 3.0 kernel and it is getting progressively more difficult to backport. This is a point where I gave a break. I think the kernel has more fluid response in the GUI. I will see if I can get more from this process but this seems to be more or less "it". Enjoy!
[HTC EVO 3D] mrg666:
I have synced with 3.0.72 and rebuild the MiRaGe kernel. If you have not updated since last 3.0.71 sync, this build also comes with new adreno a220 driver with many fixes and updates backported from codeaurora msm-3.4 repo. I have also deleted the a3xx part of the adreno drivers to increase the efficiency of the kernel.

You can check the details of the changes at my github repo. The links for download and my github repo are in the OP. You will see that there was one 3.0.72 commit causing trouble and I had to revert it.
[HTC EVO 3D] junxracr:
Flashed on Vm Pac rom. WiFi wont turn on and some graphical tears when playing back video recording. So far everything else seems to be running great.

Edit: tried a few more videos and they are playing back well now. Must of needed to warm up the kernel :D still no WiFi, but this kernel is really fast.
[HTC EVO 3D] mrg666:
The WiFi problem is due to most JB custom ROMs using bcmdhd WiFi drivers vs I use the bcm4329 driver for stock ICS ROM.

I wasn't planning to support anything other than the stock ICS ROM. But there are so many requests everyday, let me make a compatible kernel with the JB ROMs. I will post here again.

Android is always very busy preloading some of the apps, setting up the OS right after booting the system. So, give it at least 5 minutes to settle down to see how your kernel is performing.
[HTC EVO 3D] mrg666:
The following is a test kernel that fixes WiFi with JB ROMs. I have tested with Wild for the Night and the only problem was video recording. I knew that WiFi was an easy fix. I have just compiled and included the matching bcmdhd drivers in the package. But I am not promising any quick fix for video recording, I will work on it.

http://www.mediafire.com/download.php?g179bdw80rhbf58

Thanks to dastin, the bcmdhd drivers in his repo compiled without any change with the code in my repo.

A warning:

please do not bother the other ROM developers with kernel problems if you use MiRaGe

. I have posted this kernel here just for the ones who have asked for it. But I would be happy to hear your feedback here. Although it is very inconvenient to do a nandroid backup and flash a different ROM (change hboot as well) for testing the kernel, I will try to help as much as I can. Also there is no point of flashing this kernel with the stock ROM. It is the same kernel with just added bcmdhd drivers which is not necessary in the stock ROM.
[HTC EVO 3D] mrg666:
Using the kernel with JB, anyone tried replacing libOmxVenc.so library to fix video recording? How is BT working?
[HTC EVO 3D] bigwillyg:
That is the fix posted in my threads and has been successfully used with my kernel. As far as Bluetooth goes, by default, at least with my kernel, it has some issues with reconnecting and requires a reboot once disconnected. I am still looking for a way to fix that.

Some of what you are being asked to implement may already be in place in mine. You think maybe between the two of us we can solve this? ;) to our mutual benefit of course :)
[HTC EVO 3D] mrg666:
Thanks for the message. Bluetooth is working completely fine in MiRaGe kernel with stock ICS ROM. Let me test with CM10 and post here. If it is working, you can just use the bluetooth part from MiRaGe. I will need to backup, wipe, change hboot, change ROM, and back to original again :( If BT fails in CM10 with MiRaGe too, let's find what is different in CM10 that is causing the problem.
[HTC EVO 3D] bigwillyg:
Oops. I should been a tad more specific. Bluetooth is fine with cm10, it's cm10.1 where it's funny like that. I have a separate branch in my repo just for android 4.2 since I already had to change the camera headers for picture camera to work.
[HTC EVO 3D] mrg666:
Everyone:

I have updated the MiRaGe kernel in the OP with the following changes.

- Comes with both bcm4329 and bcmdhd drivers. You will have both drivers and the ROM (stock, CM9, or CM10) will pick the required driver.

- Upgraded the msm/qdsp6v2 sound driver to qdsp6v3 from CM msm8660 kernel

Enjoy!
[HTC EVO 3D] mrg666:
When I tested, MiRaGe (same branch) had no problem with picture camera on CM10.1. Can you direct me to your commit for camera header change. Maybe I can find a clue checking your commit and comparing with the working header in my repo.

Edit: Can you test MiRaGe with the ROM you are seeing the BT problem? That would be much easier if I don't wipe my phone to switch the ROM.

Edit: This is the commit I could find about the camera header in your repo. But I can't see any meaningful change in the commit. The only change is a comment. Am I missing something?
[HTC EVO 3D] bigwillyg:
Oh yeah. If you compare that file with the one in my master branch it will be different. I can ask some of the evervolv users in my thread to try it and report here.
[HTC EVO 3D] junxracr:
I've been using it on Pac rom. It works great with your kernel as well. Video recording and playback. Haven't had a chance to check Bluetooth yet with either kernel. Will let you know when I get a chance.
[HTC EVO 3D] Astrikz:
Thats because if anyone has seen the actual thread i made for the video recording fix they would know that the "libOmxVenc.so" i used for the fix came from P.A.C MAN. Meaning Its the only aosp rom which works with buttered toast & this kernel now. Why? there must be some code within the file that breaks video recording when flashing a different kernel on Dastins CM 10,10.1 , Evervolv, Dirty Unicorns and other aosp roms there might be that are not P.A.C Man.
[HTC EVO 3D] mrg666:
Thanks for your feedback. I have flashed Wild for the Night (CM10.1) to test video recording/playback and bluetooth. I have also flashed the latest MiRaGe kernel I have posted today in the OP.

- With the libOmxVenc.so implant posted in the Buttered Toast thread, video recording and playing works.

- I am listening music on my bluetooth headphones right now. BT works perfect as well.

Anyone wants Wild for the Night with MiRaGe, please do that very simple library copy. You might want to "gently" suggest dastin to replace the library. But he already has a perfectly working kernel, he might rightfully refuse. Don't make too much fuss about it.

We are done here. I am going back to my stock ICS ... but after Andrea Bocelli completes the song.

Bigwilly, feel free to copy anything that might work for you from my repo, there is only one branch.

I haven't seen your thread but thanks for finding this library fix. If you haven't done yet, you can add that it also fixes Wild for the Night.
[HTC EVO 3D] bigwillyg:
Thank you for the offer. I may also check with Dastin and try to diff with the kernel source he has to see what is different.
[HTC EVO 3D] Hedied4me:
Hey mirage....is this the kernel that you said in the buttered toast thread that works on 10.1 and more specifically dastins WFTN?

Edit: oops I'm now looking a few posts up. I might wait....anytime I mess with switching files I mess up.
[HTC EVO 3D] bigwillyg:
Mrg666 like weeks if you see anything in mind that you would to use to ahead.
[HTC EVO 3D] cj_302:
Just got a (bad) when I tried to flash?
[HTC EVO 3D] mrg666:
I am not sure what you mean. It seems you are asking help. If that is the case, please read the OP and explain "getting bad".
[HTC EVO 3D] sellers86:
I think he means that's what recovery said when he tried flashing. Try a redownload
[HTC EVO 3D] cj_302:
Yes I'm sorry. It was a bad tag when I tried to flash I'm not s-off so I was going to do it through recovery. And flash IMG GUI wasn't working so I thought it was because I wasn't s-off. But ill re-download

Reflash success through flash image GUI. But I did have to move it to sd instead of the downloads folder.
[HTC EVO 3D] sellers86:
If you aren't a soff you need to use flash image gui.
[HTC EVO 3D] mrg666:
I have uploaded the new build of MiRaGe shooter kernel after merging the 3.0.73 updates.

additional changes since 3.0.72

- upgraded the qdsp6v2 sound driver to qdsp6v3

- added bcmdhd driver for CM10.1

- fixed flashing in the recovery

You can find the download link in the OP and the details of the changes in my repo.

Cheers!
[HTC EVO 3D] mrg666:
I am testing an mpdecision mod. With the stock mpdecision, the second cpu core shuts down too frequently. As a result, the first cpu core spends too much time at higher frequencies around 750MHz. With the mpdecision deleted using the package below, the second core is turned off less frequently and both cores spend more time at lower frequencies close to minimum of 384 MHz. The second core always shuts down when the screen is off. The overall effect is much smoother experience and almost no effect on battery life.

Here is the flashable zip package that deletes mpdecision for MiRaGe kernel.

And, in case you want to go back to original mpdecision here is the revert package

Both packages need to be flashed in the recovery. It would be great if you can test and post your feedback here. I have also been testing the mpdecision replacement with great results. If the feedback is positive I will move these to the OP.

Edit: I just found that the above package was actually disabling mpdecision instead of changing it. It is interesting that we could very well delete it. I will test more to make sure there is no adverse effect on battery life. I am hoping not since the kernel is working so much better without mpdecision. The post above has been modified based on this edit.
[HTC EVO 3D] Hedied4me:
Does this mean that your kernel is working fine with 4.2.2 or do we still have to switch the zimage files (something I always mess up).

Sorry if this is a dumb question. :D
[HTC EVO 3D] mrg666:
Switching zImage files was never necessary. There is a library filed in the OP and you need to copy that file to /system/lib for video recording/playback to work. Everything else was working during my brief testing. But the default kernel in CM10.1 is great, I don't think there is any advantage of changing it.
[HTC EVO 3D] shizkoff777:
The only real advantage is if your like me and play shadow gun dead zone.I have to over clock to 1.67 to play it.
[HTC EVO 3D] mrg666:
That sounds like a good test. Let me try it at 1512 with GPU overclocked.
[HTC EVO 3D] xxjrkkrjxx:
@mrg666 I'm having a rough time with your latest kernel update. I flashed it using flash image GUI and when I let my phone sit for 5 minutes or so I'm getting random reboots. I don't know if I'm the only one with this issue, but let me know if I can help in anyway. Thanks.
[HTC EVO 3D] mrg666:
I have done all kinds of tests but haven' t seen any problem on my phone.

If you can do the following after a reboot from crash, I can help. Open the terminal and write the following command.

cat /proc/last_kmsg > /mnt/sdcard/last_kmsg

Upload the last_kmsg somewhere and post a link here. I will check and see what can be done.

Edit: Can you also try reverting to the original kernel and flashing MiRaGe again over the original? Just in case there is any corruption in the boot image. Also, make sure that md5 of the kernel package you have downloaded matches the one in OP. I assume you are using at least 384 for minimum frequency and there are no kernel tuner or similar kind of apps are running.
[HTC EVO 3D] Danger Dan:
Does this kernal support 4g?
[HTC EVO 3D] Hedied4me:
I'm running WFTN, is there any advantage running this over the stock or buttered toasts 4.2.2 test kernels?
[HTC EVO 3D] mrg666:
4G works with the stock ICS ROM. I have been using it just fine. CM10.1 seems to be able to turn on 4G but I haven't done anything more than that.

All information regarding this question is given in the OP. You need to compare with the other kernels and test yourself to see the differences. I don't want this kind of discussion in this thread please. If you have some additional features to request, I am open for discussion as long as they are consistent with the goals given in the OP.
[HTC EVO 3D] shizkoff777:
Supposedly the other kernels over clock their GPU to 320 or is it 266 can't remember.Well anyways back when chad made kernels his would run anything I played at 1512 but no one is the master and unfortunately he doesn't make that many anymore
[HTC EVO 3D] troyboytn:
Chad's and Bigwilly's kernels oc gpu to 320 for 3d and 266 for 2d which is selectable via their aroma installer. The 3d oc can certainly help game play but the 2d oc, IMO, is not needed.
[HTC EVO 3D] mrg666:
I have overclocked the GPU to 320 (see the last commit in my repo). I am testing right now. If you also want to test, I can post the package here. The 3D performance seems to be slightly better. My concern is heat and battery life. If there is no problem I will include this in the next build together with mpdecision mod in a couple of days. I am also skeptical about the benefit of 2D overclock. I will not do it.

Regarding aroma and plethora of kernel tuning features. They will never be included in my kernel. I prefer keeping the code simple and lean.

Edit: Here is the test kernel with 3D overclocking of GPU to 320. If you flash in recovery it will delete mpdecision binary. If flashed via Flash Image GUI, you can use this package for mpdecision mod. After my testing, I am now recommending removal of mpdecision since there is no battery-life penalty and there is a remarkable improvement in responsiveness of the kernel. I have no idea how and why HTC included this stupidity. It is like driving the car with handbrakes on.
[HTC EVO 3D] shizkoff777:
I'll try it.I'm glad I hat that stupid aroma ****.If a user doesn't know how to change settings for there self than ohh well.
[HTC EVO 3D] shizkoff777:
Ran good all day I could play most games but couldn't get shadow gun to play.I will say one thing though my phone ran smooth and lasted all day.If this kernel had fast charge and I could over clock to 1.72 it would deffinately be my daily
[HTC EVO 3D] mrg666:
Thanks for the feedback. Overclocking to 1.7 always restarts my phone and I have truncated the frequency table above 1.5. If you are willing to test I can compile a kernel without the truncated table.

I personally don't like the fast charge mod. It is a hack. If there is a suitable charger that can handle high amps the kernel already takes advantage of it for fast charging. But overriding the amp limit can cause trouble when the phone is connected, for example, to a computer. Say we are using ADB and by mistake the fast charge hack was turned on. What happens if the computer decides to stop the overloaded USB port in the middle of a critical flash operation? I also don't like pushing cheap chargers to their limit due to possibly hazardous situations. IMHO, the phone needs to respect the 500mA limit on a USB port and limits of a charger. Buying a good charger is not that expensive. If you please correct me about that, I will add it too. That is an easy change.
[HTC EVO 3D] bigwillyg:
Freeza had discovered last year (or the year before, can't remember) that the CPU would hit the maximum available frequency for a split second when ramping up and then go back down to the selected clock speed when waking and what not. That is the reason for setting the clock speed chosen in aroma, or the default speed, as the hard limit. It prevented reboots for the users whose phones cannot handle higher speeds.
[HTC EVO 3D] shizkoff777:
I'm always willing to test.I'm one of the lucky ones my phone will go to 1.9 if I want and be stable,As for 1,7 I only do it for shadow gun dead zone,after their last update I couldnt play unless I was set at the higher speeds
[HTC EVO 3D] mrg666:
Let me go back to overclocking and enable 1.7 again. I will do some testing and post the test kernel here. Shizkoff, thanks in advance for testing, Thanks for the hint, bigwilly.
[HTC EVO 3D] kewangkeji:
I'm a chinese user, and mediafire has blocked by chinese gov.

THANK YOU very much if you can upload a mirror in goo.im for chinese user (kernel and the playback file in lib).
[HTC EVO 3D] mrg666:
I don't use Goo.im. It is too cumbersome to sign up. They are requesting referrals and I don't ask for personal referrals as a principle since this is my voluntary work and I don't need any personal reference for my public and open-source work.

How about an attachment to this post? If this still does not work, let me know another public download site I can use for you.

BTW,

Let's also make this a release announcement :)

There is a new build in the OP

- Merged the latest updates from HTC 2.95 kernel source release

- 320 MHz GPU 3D OC, tested and now it is in the stable build

You can find the details of all changes in my github repo
[HTC EVO 3D] kewangkeji:
Thank you. The attachments works ok. You konw a lot of websites are blocked by gover*ment.hahaha
[HTC EVO 3D] shizkoff777:
Jus let me know and don't thank me I didn't nothing
[HTC EVO 3D] mrg666:
Well, here is the kernel with 1.6 and 1.7 GHz freq steps enabled for overclocking. I have left max 1.5 GHz as default. It is surprising that my phone is completely stable at 1.7 now :victory: You can see in my repo that I didn't do much for this.

I would appreciate if you can test and post your observation here. Everybody else who want to test are also welcome. I use No-frills CPU Control for overclocking.

http://www.mediafire.com/download.php?2xxjr2i63koz3g5

Special thanks to Bigwilly for the hint.
[HTC EVO 3D] troyboytn:
mrg666, decided to try your kernel and been running it for 3 days. I've got to say that I'm very impressed. Battery life is incredible....hands down, the best I've experienced on my 3d over the course of the past 18 months and I say this without any exaggeration. Smooth UI....on par with Anthrax and Buttered. Best of all very stable and this is my number one requirement for a kernel. Very well done.
[HTC EVO 3D] mrg666:
Thanks for the feedback. I am glad the kernel worked for you. Can you also tell which ROM you are using? Did you remove mpdecision? Are you running at max 1.5GHz?
[HTC EVO 3D] troyboytn:
Negalite Blurom. Actually added your interactive mpdecision mod. Running at 1.51 max
[HTC EVO 3D] shizkoff777:
Busy day today.I'm going to flash that test now
[HTC EVO 3D] mrg666:
Thanks again. I was just trying to get a confirmation of my own testing about no effect of deleting mpdecision on battery life. I can sleep better now :)

Can you give a try to the test kernel above at 1.7 GHz and let me know, if this is not too much to ask? I am getting the results below. This is very nice improvement over the results shown in OP at 1.5 GHz. I am mostly interested in heat and battery life. Your feedback would be very helpful.

Thank you. I will wait for your feedback before moving this kernel to the OP.
[HTC EVO 3D] xxjrkkrjxx:
Hey mrg666, sorry for getting back to you so late. I flashed the latest stock boot image and flashed your latest kernel and it's working great. Thank you for your time and thanks so much for you work and development of this kernel.
[HTC EVO 3D] jmkarnai01:
Running the test kernel and everything seems great, one question is how do I over clock beyond 1.5? Right now running this on dirty and everything feels really smooth and great response.
[HTC EVO 3D] mrg666:
On the stock rom, you can use no- frills CPU control which is available in the play store free. The other roms might have their integrated CPU control apps. If not you can still use the same app. But also remember that overclocking is not guaranteed. Don't make anything boot setting before making sure that it works reliably.
[HTC EVO 3D] jmkarnai01:
Tried no frills and kernel tuner but it is topped off at 1.5.
[HTC EVO 3D] jmkarnai01:
This is my best at 1.5. I do realize it doesn't really matter on scores but this is great.
[HTC EVO 3D] shizkoff777:
So far so good.No overheating and actually batteries is pretty good .I'll keep testing
[HTC EVO 3D] mrg666:
Do you mean 1.6 and 1.7 frequencies are not available or they are not reliable? If they are not available, I think, you are not running the test kernel.

I agree battery life and heat are surprisingly good at 1.7.
[HTC EVO 3D] junxracr:
Testing today at 1.7 so far running great and battery looks good so far.
[HTC EVO 3D] sellers86:
Test kernel running great at 1.7 for 4.2 so far. No overheating and I haven't seen any drain on battery. I think you got a winner here!
[HTC EVO 3D] wigginst:
Bluetooth staying connected on 4.2?
[HTC EVO 3D] sellers86:
I'll let you know when I get home from school