yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] busventinc:
Just downloaded it and will check now

---------- Post added at 01:24 PM ---------- Previous post was at 01:10 PM ----------

Ok had a lot of FC's on different apps including flash img gui so had to flash through 4ext

Here is the boot log

http://db.tt/A4s48Brl

---------- Post added at 01:38 PM ---------- Previous post was at 01:24 PM ----------

Tried your latest build on blurom no problems or errors
[HTC EVO 3D] mrg666:
As I understand, the latest build didn't boot either. I checked the kernel log. It is again the same battery event that tells the kernel to shutdown. I have seen others using MiRaGe fine with this build. I am pretty sure digitalhigh tested it himself as well. This is a little puzzling to me for now since your phone has no problem with MiRaGe and Bluerom. Is this something specific to the latest MIUI build or your phone when mixed with MiRaGe? I can certainly stop the battery driver doing this but it will cause the whole PM scheme to stop for everyone. I don't want to blindly modify the battery driver. Let me investigate and see if there are any battery driver updates around that address such kind of a rare problem. In the meantime, you will need to change your kernel.

Edit: I am not sure if this is due to the battery driver after looking into it. The problem is PM for sure. But I am not able to find what part of PM yet.
[HTC EVO 3D] shizkoff777:
Had to say hello man
[HTC EVO 3D] mrg666:
Hi! How is your SPH-L720? You are not using the EVO anymore, right?
[HTC EVO 3D] shizkoff777:
Yeah I got a upgrade to the samsung s4.miss you and big willys kernel s.I love it though 4 cores running at 1.89 ghz
[HTC EVO 3D] ejc1214:
Running your latest build that you posted with ZR3D-XL ROM and so far have not had any issues. Running smooth. I did not flash it thru recovery, though. I used Flash Image GUI.
[HTC EVO 3D] mrg666:
I was reading recently about the debugfs exploit in Android and decided to test disabling the DEBUG_FS feature. This exploit is used for rooting but it is also a security risk for us. I could succeed after a lot of work due to loose coding practices of mainly CAF and Google developers. The kernel without the DEBUG_FS option is running fine on my phone now. I will keep testing but I wanted to ask if there is any feedback about the possible problems due to not having the DEBUG_FS option that I should look into. I would appreciate if you have any comments on this. Thanks!

If you also want to test, the test kernel is below.

http://www.mediafire.com/download.php?ze03a0om9x10u4m
[HTC EVO 3D] Master Gowa:
Already trying this out. Will still have Supersu and root access?
[HTC EVO 3D] coal686:
SuperSU and root access have nothing to do with the kernel you run. Only the ROM you run affects having root.
[HTC EVO 3D] mrg666:
Coal is right. There shouldn't be any problem with root and supersu. Debugs exploit isn't used for root with EVO 3D but once debugfs is used for root exploit, root and supersu don't depend on it anymore.
[HTC EVO 3D] pbailey212:
Been running your test kernel since you posted it. It does seem even snappier than before. No problems. Thanks for the awesome kernel.
[HTC EVO 3D] mrg666:
I have the same impression about the kernel. Debugfs appears to be an abused kernel feature by the developers. I had to clean a lot of hard links to debugfs to be able to disable that feature. Debug settings of all kernel modules are normally turned off from the kernel configuration. But some of the code coming from CAF, Google, and HTC were dumping debug information on debugfs by default without any configuration option. Neither a debug disable setting nor a declared dependence on debugfs were there. Code was broken without debugfs. Those are fixed, kernel is more secure and lighter now. If I haven't broken anything while fixing those hard links, let's keep this.
[HTC EVO 3D] Master Gowa:
Been running the test kernel on MIUI and Harmonia. I use Boot Manager so I can keep both roms installed on my phone at all times. For whatever it's worth... I've had no issues with the current test kernel.
[HTC EVO 3D] mrg666:
I have uploaded a new stable build with the latest changes included, mainly trimming fat.

- Removed debugfs for better security, smaller kernel, less io chatter, less memory used.

- Removed bugverbose setting to reduce the memory use of the kernel

- Removed several other debug settings

Enjoy!
[HTC EVO 3D] hossman:
Is this any different from the last test build?
[HTC EVO 3D] bigwillyg:
Did you read what he posted? Smaller faster lighter.
[HTC EVO 3D] hossman:
Yes
[HTC EVO 3D] mrg666:
Yes, I have disabled bugverbose setting after the test kernel. It is a relatively minor change compared to debugfs.
[HTC EVO 3D] mrg666:
Apparently, you didn't read. I did not say faster.
[HTC EVO 3D] bigwillyg:
Ouch. Touche.
[HTC EVO 3D] mrg666:
I forgot to attach here for the ones who cannot access Mediafire.
[HTC EVO 3D] busventinc:
Will you sound like the commercial for six million dollar man :cool: we can rebuild him..
[HTC EVO 3D] johnnyslt:
mrg666,

I've made some changes to interactive gov. in my kernel, check it out, maybe you're interested.
[HTC EVO 3D] mrg666:
Hey, thanks! I will check it out.

I have just backported persistent_ram and binder from the AOSP kernel. You can also get them and let me know if you have any comments.

Edit:

That is a very involved update that requires watchdog and cpustat updates before that. Nice work!

I am working on it now.

I had to spoil your binary thank meter to 1112. Sorry :)

Edit:

If you change the following lines in get_cpu_idle_time_jiffy of cpufreq_interactive.c

busy_time = kcpustat_cpu(cpu).cpustat[CPUTIME_USER];
busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_SYSTEM];
busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_IRQ];
busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_SOFTIRQ];
busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_STEAL];
busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_NICE];

as the followings,

busy_time = kstat_cpu(cpu).cpustat.user;
busy_time += kstat_cpu(cpu).cpustat.system;
busy_time += kstat_cpu(cpu).cpustat.irq;
busy_time += kstat_cpu(cpu).cpustat.softirq;
busy_time += kstat_cpu(cpu).cpustat.steal;
busy_time += kstat_cpu(cpu).cpustat.nice;

there is no need to change cpustats and watchdog.

I have done this way to avoid the other changes.
[HTC EVO 3D] iiNFAMOUS CHRiS:
hey MiRaGe good to see you developing for this phone also, I used you're Rom/kernel on my optimus v also (:
[HTC EVO 3D] johnnyslt:
Great way to implement that, if I encounter any problems with watchdog, I'll cherry-pick your work. :D
[HTC EVO 3D] mrg666:
There is a new build of MiRaGe kernel in the OP with the following changes

- updated with the latest interactive governor and android binder from Google common 3.4 kernel

- updated with the latest ram_console from Google common 3.4 kernel and implemented persistent ram for the shooter board

- synced with Linux 3.0.79

Thanks to Johnnyslt for collaboration with the latest changes.
[HTC EVO 3D] t3khe4d:
just got "Butterz sense" ROM installed, which features your kernel, I'll report back any findings.
[HTC EVO 3D] Astrikz:
Does this kernel still not work with dastins latest cm10 ROM? Haven't been checking this ROM lately so I apologize if it was already been asked.

Sent from my Evo 3D CDMA
[HTC EVO 3D] mrg666:
The compatibility was broken when the kgsl code was updated in WFTN. They have switched to ION since then. I haven't even tried but I don't think WFTN will even boot with MiRaGe anymore.
[HTC EVO 3D] Astrikz:
Thanks for the fast reply. Nonetheless. This kernel is great on sense 3.6

Sent from my Evo 3D CDMA
[HTC EVO 3D] busventinc:
Just a heads up I installed your latest through recovery 4ext on Viruses viper3d 1.6.3 build 330 and it is working like a champ smooth no lags pretty sweet:thumbup:
[HTC EVO 3D] thewraith420:
Does this kernel play nice with negalite blue rom?
[HTC EVO 3D] busventinc:
Yes it does and well
[HTC EVO 3D] johnnyslt:
mrg666, do you think THIS will do us any good? We currently use TZCOM in EVO 3D.
[HTC EVO 3D] mrg666:
TZCOM was disabled in 2.95 release of HTC EVO-V kernel. I have done "grep -R TZCOM *" in the kernel source and nothing showed up using it. Since kernel doesn't need it, I have also disabled TZCOM about two months ago and there seems to be nothing dependent on it in the stock ROM as well. Recently, I tried AOKP with my kernel and it also worked without any complaints. Do you know any app that needs it?
[HTC EVO 3D] mrg666:
There is a new build of MiRaGe kernel available in the OP with the following changes

- Kernel-based mpdecision is included again

- Bluetooth stack reverted to the original since sound quality seemed better on my bluetooth headphone when I tested.

- Linux 3.0.80 (there is no real change for us)

I was testing a special build of AOKP and noticed that the second core was not turning off when screen is off without the mpdecision service as opposed to stock ROM. So, I added mpdecision back in the kernel and changed the default configuration so that it only turns the second core off when the screen is off. Otherwise, it should have no effect when screen is on.

You can change this behavior by changing the min_cpus parameter (2 -> 1) of mpdecision in kernel tuner. Then, it will be constantly switching the second core on/off, if that is what you want :silly:

With this build, the kernel package now deletes /sysem/bin/mpdecision by default if flashed in recovery. If flashed in Flash Image GUI, you still need to delete the mpdecision with the package provided in the OP. If you have done this before you don't need to do again, doing once is sufficient.

Enjoy!
[HTC EVO 3D] johnnyslt:
Nope, no app. I thought we can use it.

10x
[HTC EVO 3D] mrg666:
Then, I wouldn't bother upgrading a part of the code that is not used anyway.

While you are here, I have a question for you if you don't mind. Do you know what is the use of the code in /net/bluetooth/hidbrcm? I have removed it in the stock bluetooth stack, everything still works. I have also backported the latest bluetooth stack from Mako kernel which comes without hidbrcm. Everything still works as far as I can test. Am I missing something?

And, thanks for stopping by. I enjoy collaborating with you.
[HTC EVO 3D] johnnyslt:
I don't have it in my source either, I think it's not used anymore. It's gone from CAF too, so maybe they implement it differently now.

Anyhow...can you check if this improves sound quality on SENSE? I think it sounds better but it may be placebo...

https://github.com/johnnyslt/androi...mmit/02280518c9c723380606fa5a2aae3b329b7e36dd

https://github.com/johnnyslt/androi...mmit/c8ee1824bf0b3cfbce4159056d24da508e57d4e1

:D
[HTC EVO 3D] mrg666:
I have done qdsp6v3 update already. Sounds better to me too. At least working without any problem.

https://github.com/mrg666/android_kernel_shooter/commit/ed94bb3f8a5f256fe26a8e6934984728857b9d3a
[HTC EVO 3D] kickyoace:
Yea the sound sounds way better and where did color depth is it 32 bit or 24 I've been away from this kernel for a while?
[HTC EVO 3D] Obeezy562:
i am new to the evo v world , i just came from the htc one v, i am on stock firmware with the otas 2.95 , i am rooted and i want to install a kernel on my phone well your kernel ;) im getting a bit confused so i download and install flash image GUI, then install your kernel through the app and once done reboot ? is that all or do i have to delete the mpdecision also to avoid further problems?? my hboot is 1.58 s-on, HTC unlocked method. i just got my evo v for virgin mobile a few days ago for $70 :p i really enjoy and love this phone so im doing my best to avoid bootloops and especially a 3d paperweight :mad: lol

also i know how to install your kernel through fastboot i personally am used to fastboot because on the one v its the only way to flash a kernel lol can i just download your kernel, boot into fastboot usb , then fastboot flash boot boot.img ? or is the flash gui better and safer?

Or is everything done through recovery? i have cwm latest version installed , im so confused i hope im not confusing you or anybody :(
[HTC EVO 3D] mrg666:
Since your phone is still s-on, use Flash Image GUI to flash the kernel package. After that, you can either delete /system/bin/mpdecision with a root file manager (e.g. ES File Explorer) or flash the mpdecision package (see OP) in recovery.
[HTC EVO 3D] Obeezy562:
So I download and install flash GUI, put your kernel on my sd , I choose the zimage correct or the whole zip of your kernel ? Then I flash, reboot navigate to the folder and delete it and it'll work ? :D

Sent from my HTCEVOV4G

IT WORKED THANKS!!!!!!!! A TON!!

I notice i have some really noticable lag in my home screen and some apps im oc at 1.6 :/

It's a real bad lag it may be set cpu :(
[HTC EVO 3D] mrg666:
You're welcome. Nobody else reported any lag and neither I see. I think that is your specific configuration.
[HTC EVO 3D] mrg666:
I have a test build below that is compiled with the latest linaro-2013.05-gcc-4.8. It also has an insignificant bluetooth stack update from villec2 3.4 kernel which I think gives a little better sound over the bluetooth headphones. It is not a good idea to test two things at once but I am not expecting any problems with the bluetooth stack update. So here it is. My initial testing didn't have any problems, please let me know if you see any problems with this kernel.

http://www.mediafire.com/download/kz1y6j93zr9dz7d/MiRaGe_shooter_test_kernel_802.zip
[HTC EVO 3D] Obeezy562:
It's weird its like if my cpu is loading something in th background, I will test the new kernel.

New kernel installed, no problems to report it actually runs better than before for me :victory:
[HTC EVO 3D] mrg666:
There are ways to check what is running in the background. I use System Monitor.
[HTC EVO 3D] Obeezy562:
Its weird like everything lags , it does it when I lock my phone and turn it on it begins to lag real ugly for no reason o.O its not doing it now since I reset my phone but I'm just not going to use an overclock app

Sent from my HTCEVOV4G
[HTC EVO 3D] mrg666:
You can get better help with this lag problem in the general forum as it is related to your Android configuration.
[HTC EVO 3D] t3khe4d:
No lags here, quite the opposite, no ui lags when waking like some of the previous tests. Woot! :thumbup:
[HTC EVO 3D] Obeezy562:
What app do you use to oc and what settings do you use?

Sent from my HTCEVOV4G
[HTC EVO 3D] t3khe4d:
Thus far no probs with Kernel Tuner, CPU tuner, no-frills CPU, ROM Toolbox, but do have some issues with the gpu tab in android tuner, and mostly run out of the box settings, dev defaults.
[HTC EVO 3D] Obeezy562:
How is rom toolbox?

Sent from my HTCEVOV4G
[HTC EVO 3D] coal686:
I use the pro version and it's great. Highly recommend.
[HTC EVO 3D] t3khe4d:
Agreed.
[HTC EVO 3D] mrg666:
Tekhead, are you doing any tests by turning on mpdecision when screen is on? Please post if you have anything to add. I am mostly occupied with making everything work with JellyBean nowadays. I have tried to make a single kernel that works both with JB and ICS but bluetooth has been a real pain so that I had to create a separate branch for JB.
[HTC EVO 3D] bigwillyg:
I feel your pain. I support cdma and gsmplus the separate jellybean branch and an evo design kernel.
[HTC EVO 3D] mrg666:
JB needs an update in the msm serial driver files for bluetooth to work. But ICS starts to have problems when I update the serial driver. I am so close to finding the problem that ICS has with the update. I have isolated it in drivers/tty/serial/msm_serial_hs_brcm.c but I couldn't resolve yet. Do you know anything about this? Maybe keeping several branches could be easier instead of insisting to resolve these problems.

BTW, kernel devs, the following commit has resolved all bluetooth problems for the JB ROM I build from Evervolv repo. In case any of it could be useful for you.

https://github.com/mrg666/android_kernel_shooter/commit/d2c25ca0c7a4459a36bc1adf5a590f04dcbcbbab
[HTC EVO 3D] bigwillyg:
It starts to get too different with jb and a lot of the suggested patches for Bluetooth and things like that that were already in my source. It's probably just easier to keep a separate branch.
[HTC EVO 3D] Master Gowa:
Loving your work as always. :)

Not trying to make more work for you but I just thought I'd ask out of curiousity. MIUI no longer works with your kernel. Do you know if it's because of a change in MIUI or something else? You don't have to research this or anything. Just curious.
[HTC EVO 3D] mrg666:
I had a few changes that shouldn't cause any breakage. That is probably due to a change by MIUI devs. DH wrote that he had tested all kernels. Did you try flashing the kernel package separately after the ROM is flashed? If you can you test an older build of MiRaGe that you had working before, we can know if it is due to my changes or not. If you can post a last_kmsg I can take a look at it too.

I won't be able to test MIUI for a while since I am juggling ICS/Sense and JB/AOSP right now.
[HTC EVO 3D] t3khe4d:
1. in KT i'm assuming "min cpu's = 1" to be online under MP tab/button would be that setting though I'm unable to get it to stick in KT and no setting in android tuner, suggestions?

2. I don't think the "swiss army knife" approach is consistent with "lean & mean", separate paths make sense if L&M is the mark.

... as for testing, nothing formal, just good'ol "seat-of-your-pants" crushing and see where it hickups, lately been wrking on turning this http://youtu.be/xon1pfwUEuk into a bootani w/sound, having probs getting the last 2 folders to play nice with htc's ani, having working build, it just jumps cpl frames and looks weird.

yes, I'll report anything strange, I can say thus far only one reboot but that was cpl kernels ago, so far SOLID.

... oh and by the way, thanks for the hookup on the Optimus ROM, I'm almost tempted to keep it now and run it instead of my evo.... naww, but still that things run awesome now, thank you.

Edit:

Got it to stick, will run and get back on anything odd.
[HTC EVO 3D] ohbuckeyeman:
Has anyone tried this kernel on evervolv?
[HTC EVO 3D] t3khe4d:
OK, not sure where this bug lies but I can't change 2D gpu settings after the 1st adjustment, meaning I can change the clock once but after, no effect, the sliders report correctly but the meter doesn't change.

this happens both in android tuner & kernel tuner.

ideas?
[HTC EVO 3D] pbailey212:
I did. I had better performance with mirage, but better battery with evervolv kernel. I just gave up on jb. Roms. Not even this kernel can get decent battery life out of them
[HTC EVO 3D] mrg666:
I am actually running a custom built Evervolv since several days with the JB branch of MiRaGe kernel. I agree that battery life is not as good as ICS. But JB is a different beast; it tries to be smarter and do more for the user. So JB naturally uses more battery. The first thing I did was turning Google Now off. Still, there are some syncing processes that wake up Maps frequently. Need to find them now.

I had to update the bluetooth stack and msm tty driver in MiRaGe kernel for bluetooth to work. Unfortunately, this breaks compatibility with stock ICS and I had create a new branch. Android bluetooth driver needed an update as well to work flawlessly. I will post in the Evervolv thread about this update, in case they want to incorporate it in their repo. As it was discussed in this thread sometime ago. I also had to replace the Video encoding library for the camera recording to work. Other than these, everything, including WiFi, GPS, video, sound, graphics works. But the battery life is not as good. If I can get a similar battery life with an upgraded battery (such as Anker) that will be sufficient for me. I will test turning on mpdecision when the screen is on and optimizing it.

I will not post the kernel here without coordinating with the Evervolv devs. But the source code is available in the repo anyway. I am still working on the ROM. I will post it when it is satisfactory which will include the kernel.
[HTC EVO 3D] t3khe4d:
2D settings

mrg?

have you any troubles changing 2D gpu settings in KT to a lower freq and back up again and get the gpu to respond?

I have tested this by running it butterz ROM and my original VM ROM 2.95 running as far back as kernel 76_05052013 and still unable to change 2d gpu backup to default freq after changing it once.

any insight would be greatly appreciated.
[HTC EVO 3D] johnnyslt:
Hehe, once you tasted JB, ICS just won't cut it.

:D

I'm glad you caut the "bug" :)
[HTC EVO 3D] mrg666:
I am going to check that but I don't know the reason yet. What is the purpose of changing 2D clock?
[HTC EVO 3D] mrg666:
Thanks. That is right I got the bug, actually bugs. Now I am dealing with the Android Qualcomm GPS libraries. They are wasting so much battery. :mad:
[HTC EVO 3D] MrPandroid:
Awesome work on this though. I've been using it on MIUI. Though, I cant get dual core to turn off. So I messed up something...I think I deleted the wrong file. Oh well xD I'll do a reflash sometime today.
[HTC EVO 3D] t3khe4d:
I would jest to say the same reasons as providing available freqs to change to wouldn't it? See how well one can get it perform while saving batt at the same time, ya?
[HTC EVO 3D] mrg666:
I added the minimum frequency to save battery. But the higher frequency was requested by someone. I don't remember the reason or the benefit of it. Was it you or someone else? Anyway, I will check it out when I can find time from this AOSP build.
[HTC EVO 3D] t3khe4d:
I recall as well a number of posts back someone made that request, I just figured it was there why not see how it rolls.

No hurry just thought you would want to know it sticks when adjusted.
[HTC EVO 3D] ohbuckeyeman:
Very much looking forward to this. I do love closer to aosp. If you can get a very efficient aosp running, that's even better. Will be sitting on my hands waiting and not flashing other ROMs like an addict.

Thanks for all your work keeping development exciting on the 3vo. It will hold me over a few more months until i bid adieu to Sprint and move on to a carrier that can actually give me a data connection where I live.
[HTC EVO 3D] Obeezy562:
I keep getting random freezes and sometimes reboots I have my clock speed at 1.5 , I haven't done much to my phone just on stock deodexed with mirage kernel , any ideas ? :o

Sent from my HTCEVOV4G
[HTC EVO 3D] mrg666:
If you can upload last_kmsg somewhere I can take a look at it

You can either use terminal and use the following command

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Or you can use adb from your computer with the following command (replace /path/ accordingly)

adb shell cat /proc/last_kmsg > /path/last_kmsg.txt

Do the above after rebooting happens again.
[HTC EVO 3D] Obeezy562:
I will ! Thanks for the steps :thumbup:

Sent from my HTCEVOV4G
[HTC EVO 3D] Obeezy562:
Another random crash/reboot here's my logcat

http://www.mediafire.com/?0e3vjauu7nati1f

Sent from my HTCEVOV4G
[HTC EVO 3D] mrg666:
This is logcat not last_kmsg. I have checked anyway but there are no errors in the end. BTW, logcat shows that you are using kernel tuner. Please uninstall it to make sure the errors are not due to your tuning
[HTC EVO 3D] Obeezy562:
I've never done logs before sorry lol and I will uninstall and see if I get random crash/reboots

Thanks !

What is the default clock speed of the gpu?

So I lowered the gpu clock speed and unticked force gpu rendering , I haven't seen any random freezes/reboots :thumbup:

Sent from my HTCEVOV4G
[HTC EVO 3D] mrg666:
The new build of MiRaGe is available in the OP with the following changes

- switched to Linaro gcc 4.8.1 compiler

- updated bluetooth stack from Ville C2 3.4 kernel

- updated net/wireless from Google common kernel

- updated bcmdhd driver from CAF msm-3.0 kernel (not relevant for ICS stock ROM)

- updated camera gemini driver from Ville C2 kernel, thanks to johnnyslt

- merged several fixes for camera and serial/tty driver from CAF, thanks to johnnyslt

- disabled gentle fair sleepers that should improve the GUI responsiveness

- added a patch from Intel to improve RWSEM performance

Enjoy!