yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] :
Need to start requiring logcats or other logs to weed out user error. Also hardware version, ROM version, and HDMI cable used. Also, what version of the HDMwIn app people are using.
[EVO 4G Android Development] kromby:
Tried the kernel a few pages back and downloaded 2.1 from the mirror a few times yesterday all a no go, cable unplugged. Just flashed the new attached test.zip and its working great!

Running: cm n21 hardware 003 market version of the hdmi app

Thanks for all the effort you have a great kernel
[EVO 4G Android Development] drdrewdown:
+infinity

10char
[EVO 4G Android Development] ChadH42:
Could it be a Hardware Version issue?? I have a #004 Evo and it didn't work.

Anyone with a #004 have success with the earlier build?
[EVO 4G Android Development] luisrcastillo:
That kernel is the same as the one I posted yesterday morning and has the same code our buildbot has. Something must be going on. and I don't know if it's the kernel, the app, the cable or the phone itself. I can't test mine anymore because everytime I plug in the HDMI cable my phone just freezes and I have to reboot.

I agree
[EVO 4G Android Development] dirkyd3rk:
0004 here also, haven't got it to work yet myself :-(
[EVO 4G Android Development] brokentoaster24:
003 hw. Had hdmi working with nightly 19 and the kernel luis attached to a post a few pages back.

Updated to nightly 22 and now no kernel has hdmi working for me. Just tried test1.zip as well, no go :/

I've also got latest market app and using the htc dock
[EVO 4G Android Development] reigndropz:
I know its not recommended but I'll tell you this...It works on mine almost perfectly. I have never seen battery life this good EVER. I have tried many different rom/kernel combos but this with Calk's has given me the best battery life I have ever had on the Evo. There is some screen tearing though because this was only meant for AOSP but if you can deal with the minor visual bugs, this is worth it.
[EVO 4G Android Development] adma84:
you can also try netarchy-toastmod for sense. It doesn't have SBC but does have a lot of the HAVS, etc. fixes
[EVO 4G Android Development] defjef123:
I have 004 and its working fine. Got the kernel last night from the website
[EVO 4G Android Development] adma84:
oh, here you go...netarchy + SBC

http://xdaforums.com/showthread.php?t=959776
[EVO 4G Android Development] luisrcastillo:
Let me just confirm and make sure I'm not making assumptions....

So you got 0.2.1 from our mirror http://mirror.munkibizness.com and HDMI is working for you?
[EVO 4G Android Development] kromby:
If that's the case and no code was changed(I checked the original non working kernel md5 so my download from the mirror was intact) the only thing that I did different was install the teamwin aosp zip that included the app, then upgraded to the market app, ran it, got some HDMI output, then flashed your kernel. Just thinking maybe the market app is missing something, maybe worth a shot for those who still cant get it to work. Just a thought.
[EVO 4G Android Development] luisrcastillo:
I actually got a PM from a user saying he flashed our kernel and it didn't work then he flashed teamwin's zip and he worked. He then flashed the same zip that did not work previously and booted up and it worked for him so I suggest anyone getting "cable unplugged" or nothing using our kernel to delete the app, flash teamwin's zip and make sure you can use HDMI and flash ours after and see how it goes.
[EVO 4G Android Development] Snake-Driver:
Where do you find the version 004? I took the battery out and found a LA001 after the serial number. Does that mean it's a 001?

Thanks!!
[EVO 4G Android Development] aimbdd:
have to be running a sense rom. then its under about phone.
[EVO 4G Android Development] kf2m:
Or non fixable garbage...
[EVO 4G Android Development] CheesyNutz:
what the change log for the newest release sorry dont see it
[EVO 4G Android Development] timdsmith72:
Which zip from teamwin? The kernel? Sorry, just trying to clarify before I go mucking around with things. ;)
[EVO 4G Android Development] luisrcastillo:
Linux 2.6.37.4

HDMwIn app support for full HDMI Mirroring!! (Thanks #teamwin!!!)

Updates from CM kernel

HAVS updates

HAVS sysfs interface (allows you to change voltages on the fly)

Lower wifi voltage

Lower power-collapse and wait-for-irq frequencies

Yes, the kernel zip that's provided on the HDMwIn thread
[EVO 4G Android Development] kromby:
Confirmed just flashed 2.1(same one that wasn't working for me yesterday) from your mirror and its working perfectly now after flashing over team wins zip.
[EVO 4G Android Development] defjef123:
Ya. Got it there last night and everything worked fine
[EVO 4G Android Development] timdsmith72:
Hmm... ok, interesting. Thanks.
[EVO 4G Android Development] timdsmith72:
Ok after poking around a bit, it looks like the teamwin flashable kernel contains some HDMI stuff that the Savage kernel doesn't. I'm not sure if it really matters, though. Theirs has:

/data/hdmid/banners < contains 4 files

/system/bin < contains a file named "hdmid"

Wondering if those could be the missing components or if some of the source still hasn't been brought over...

Gahhh. Pay no attention to me. I'm just thinking out loud.

Tim
[EVO 4G Android Development] brokentoaster24:
Works now! Flash hdmwin kernel, flash sv kernel, working HDMI
[EVO 4G Android Development] luisrcastillo:
I saw that too but that's just the HDMwIn app that is compressed and gets extracted when flashing the zip.
[EVO 4G Android Development] Circaflex:
what are you guys getting on quadrant? i getting around the same as the stock cm kernel 890-950
[EVO 4G Android Development] brokentoaster24:
I deleted the hdmwin app before flashing their kernel, after boot I didn't have the hdmwin app. Maybe those files are required regardless?
[EVO 4G Android Development] drdrewdown:
this depends on governors, clock speeds etc.. not to mention quadrant benchmarks mean NOTHING
[EVO 4G Android Development] timdsmith72:
I think you may be on to something here... I looked in the .apk that I downloaded from the market and it doesn't appear to contain the actual HDMI app..... Unless I'm missing something. I compiled myself a noSBC version of 0.2.1 yesterday... I may add those files to the .zip I made and see if that gets HDMI working.

Yeah, yeah, just flashing their kernel and then flashing the Savage kernel back might be easier....... but not nearly as fun! :cool:
[EVO 4G Android Development] luisrcastillo:
+1. I used to worry about quadrant but not anymore. Back in the day I tried kernels that got me a higher quadrant but not stability (random reboots, sluggish) but then another one that would get me a lower Quadrant but better stability and interactivity with my phone. Now, which one would you prefer? :)

Quadrant is just an app and the score is just a number. There are ways to cheat quadrant but we're not here for that. Our goal with Savaged-Zen is to give you a stable kernel with great battery life.

Sounds like a fun project. However, you will need to look at teamwin's updater script as that has stuff in it to extract hdmid. You should be able to use their update script with our zip and add those other files. Adding those files to our zip won't do anything as our script does not have steps to extract those files
[EVO 4G Android Development] drdrewdown:
& you guys are doing very well to meet your mission statement :D

much <3
[EVO 4G Android Development] brokentoaster24:
I think there's something in teamwin's updater script and/or kernel that's needed for hdmi. when flashing their kernel, the on screen dialog says it's extracting the hdmwin app.. But like I said earlier, it doesn't actually install the app. You still need to download the app from the market

But flashing teamwin kernel, then flashing sv kernel makes hdmwin work.. I'm no dev, just sharing thoughts. I'm happy hdmi works :D
[EVO 4G Android Development] timdsmith72:
True enough. but their script wouldn't pick up the stuff that is in the Savage zip. s.getfreq, e2fsck, etc...etc. Also, I like that the Savage script deletes /data/boot-cache, etc. I think I'll just add the bits needed for those files to the Savage updater-script.
[EVO 4G Android Development] Sword.Zero:
If you open their kernel zip file...the folders of interest is the /data/hdmid/banners and /system/bin folder..

looking at the kernel updater-script it appears they copy these files over to the phone and set the appropriate permissions. I'm sure you could manually update the savagedzen zip file with these files and add the necessary updater-script portions. (and re-sign the zip if you want).

From the naming used..perhaps hdmid is a daemon that was coded up and hooks into the HDMwIn app that Shinzul created.

ui_print("");
ui_print("Extracting System Files...");
set_progress(1.000000);
[B]mount("MTD", "system", "/system");
package_extract_dir("system", "/system");[/B]
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
[B]set_perm(0, 0, 0755, "/system/bin/hdmid");
unmount("/system");[/B]
ui_print("Extracting Kernel files...");
package_extract_dir("kernel", "/tmp");
ui_print("Installing kernel...");
set_perm(0, 0, 0777, "/tmp/dump_image");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
run_program("/tmp/dump_image", "boot", "/tmp/boot.img");
run_program("/tmp/unpackbootimg", "/tmp/boot.img", "/tmp/");
run_program("/tmp/mkbootimg.sh");
format("MTD", "boot");
write_raw_image("/tmp/newboot.img", "boot");ui_print("");
format ("MTD", "cache");
[B]ui_print("Extracting HDMwIn App...");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/hdmid");
ui_print("TeamHDMwIn zip installed. Done!");[/B]
ui_print("");
[EVO 4G Android Development] 94tbird:
Test1 Kernel doesnt work for me either
[EVO 4G Android Development] Tannerj:
Just checking to make sure I man doing this right... when you flash to this kernel do you have re-flash the ROM... I am thinking no, however if I update to one of CM7 nightly roms (which I am thinking of doing) do you have to flash back to this kernel....

trying the 0.2.1 CFS kernel

thanks....tannerj
[EVO 4G Android Development] smw6180:
Flashing a ROM installs the kernel that comes with the ROM so yes you'd have to reflash this kernel AFTER flashing a ROM.

Flashing a kernel however doesn't require you to reflash the ROM.

Note: You should wipe cache and dalvik-cache before flashing a new kernel.
[EVO 4G Android Development] Tannerj:
Oh great, did not know about the wiping... but I will redo that step then...

thatnks for the quick response.....tannerj
[EVO 4G Android Development] sftd:
0.1.2, both varieties (both CFS and BFS) ran like complete and total junk performance wise on my particular 004, running each cm7 nightly progressively. My battery life was greatly improved from the stock cm7 kernel, but the performance hit that resulted irregardless of governor settings and wiping procedures was profound to the point of eliminating any desire of sacrafice for battery savings.

So today just out of interest I flash the CFS variety of 0.2.0. Whatever was amongst the changes (of which I know little to nothing about) did something magical for my particular handset. There is no difference now between the performance of it and the stock cm7 kernel across the comparative governor ranges on my device. Beyond that, with particular governor settings I am experiencing the very marked gain in battery life (beyond the quantifiable benefit "period" of SBC) that I had previously seen, but been unable to take advantage of.

Whatever you did thankyouthankyouthankyou!!!!

Sent from my very boring looking CM7 powered handset.
[EVO 4G Android Development] tom1l21:
Weird, I've had no issues with 0.2.0 bfs, but as soon as I flashed the 0.2.1 version, I'm getting lots of lag and stuttering... wonder what's up. Have been using sz gov for both.
[EVO 4G Android Development] nyc_zx10:
What SZ version should I be using with CM7???
[EVO 4G Android Development] aimbdd:
cfs or bfs gb
[EVO 4G Android Development] knives of ice:
Will hdmiwin be incorporated into his kernal....i hope so
[EVO 4G Android Development] brokentoaster24:
It is already..
[EVO 4G Android Development] cody_dingo:
Nah. It is in his kernel. No idea if it will make it into his kernal.

Sorry. Long day.
[EVO 4G Android Development] drdrewdown:
way to clarify

musta been a long ass day! lmao
[EVO 4G Android Development] cybervyrus8587:
LMAO!!!!!! but seriously looking forward to trying this.

nobody calls my EVO a fizzle and gets away with it!!
[EVO 4G Android Development] thedarksavant:
Technically the kernel install script will wipe what needs wiping. I don't manually wipe anything unless I get bootloops or other problems. It won't hurt to wipe manually tho.
[EVO 4G Android Development] knives of ice:
so yeah....is there a clear answer on if HDMIwin is incorporated into this now?
[EVO 4G Android Development] luisrcastillo:
It has been incorporated. You can see all the commits here: https://github.com/Savaged-Zen/Savaged-Zen/commits/master
[EVO 4G Android Development] timdsmith72:
All right. I compiled a NoSBC version of 0.2.1 and have packaged it up with everything needed from the TeamwIn flashable kernel. I flashed it on my phone and it works great. What this means is, I flashed only this kernel and HDMI works perfectly without having to flash the TeamWin kernel and then flash back to this one. I can attach it here if anybody wants it, but I will not do so until luisrcastillo says it's ok for me to do so. :cool:
[EVO 4G Android Development] Vegasden:
There is a separate thread for noSBC versions of this kernel in this forum. The last he has is 2.0, which has the hdmi, according to the posts there

.......
[EVO 4G Android Development] timdsmith72:
Yes, those have all the HDMI code in the kernel but are missing the actual HDMI app. I packaged it all together. And I didn't notice the separate noSBC thread. Thanks.
[EVO 4G Android Development] thegregbradley:
Hope I'm not asking a question that's been asked a billion times already (went back about 10 pages, no reply)... but is there a changelog update somewhere that I can't find? The one on the official site isn't updated past 0.1.2.
[EVO 4G Android Development] bballer71418:
Now that we have a gingerbread miui is the lastest gb kernel stable to use with that rom or will tweaks need to be made due to the "conplexity" of miui and the latest update
[EVO 4G Android Development] drdrewdown:
i think Luis posted one yesterday, search the thread for his posts & look at some of the most recent ones.
[EVO 4G Android Development] Snake-Driver:
So why doesn't it work? I was using CM7 #22 yesterday, and I flashed this kernel and it still said NO CABLE, so now I have CM7 #23, are you saying if I flash the SBC 0.2.1 it will work?

I am confused ;-)
[EVO 4G Android Development] thegregbradley:
Cool, thank you! Found it. Noticed it's updated to linux 37.4 now, sweet. Although... when you install the kernel, the script still says 37.1, but meh... surely it's 37.4, heh.
[EVO 4G Android Development] drdrewdown:
haha yea i noticed that as well!
[EVO 4G Android Development] luisrcastillo:
Thanks for packaging. Feel free to post :-)
[EVO 4G Android Development] Snake-Driver:
Ok... got the kernel to recognize my cable now :-)

Here's what I had to do:

1. Flashed CM7 #23 - HDMI cable not recognized

2. Flashed SZ kernal 0.2.1 CFS GB - HDMI cable not recognized

3. Flashed HDMwIn kernal - HDMI cable recognized!!

4. Flashed SZ kernel 0.2.1 CFS GB - HDMI cable recognized!!

So apparently the HDMwIn kernal leaves something behind after flashing the SZ kernal allowing HDMI to properly work.

HTH!!
[EVO 4G Android Development] e-motion:
Same thing for me. I had to do just that process last night for cable to be detected.
[EVO 4G Android Development] Product F(RED):
A kernel is a set of low-level drivers, basically. They are a bunch of files that are overwritten each time you flash a new kernel. The HDMwIn kernel (kernel) probably contains extra drivers. So when you go to flash another kernel, those extra files aren't wiped or replaced since they're not in the install-script of the kernel you're flashing. Get it?
[EVO 4G Android Development] Snake-Driver:
Yes I get it!! I understand kernels. What I was trying to relay was that obviously the SZ kernel does not contain all of the HDMI drivers as the SZ team had originally said.
[EVO 4G Android Development] Vegasden:
Check out the teamwin update...no longer do you need a special kernel for their HDMI fix to work. An accelerated kernel is recommended but now not necessary.

...
[EVO 4G Android Development] bballer71418:
True but i think that means it is incorperated into cm7 so u can flash that and have it...if u want to use this kernel (for better battery, ect.) They have to inculde teamwins code which i think they have done already
[EVO 4G Android Development] timdsmith72:
Support for HDMI has to be compiled into the kernel. They have already done that. The app from the market now downloads the extra stuff it required. Instead of you having to get it from the kernel that you had to flash. (TeamWin kernel had a daemon and some other stuff included in the flashable zip.) Now the app downloads that stuff.
[EVO 4G Android Development] cheapskate88:
luisrcastillo, I tried sending you a message but i'm not sure it sent properly...

USB tether works fine with the latest Tiamat kernel on win7. Not sure what they're doing differently but it's definitely working.
[EVO 4G Android Development] androidEVOlution:
Is there any chance of getting the audio gain boost seen in some other kernels added into this one. Really happy with the performance from this kernel, but the audio gain makes a big difference for my phone.
[EVO 4G Android Development] Rippley05:
Do you guys use the savage Zen governor? It feels pretty snappy but not sure if it will impact my battery more than on demand or smartass ..

Sent from the batcave thanks to the xda "premUim" app!
[EVO 4G Android Development] IMiLL102911:
When flashing a new kernel, do I need to wipe anything?
[EVO 4G Android Development] dkdude36:
you should wipe cache and dalvik cache, but the scripts that install the kernel already do that for you.
[EVO 4G Android Development] Rippley05:
So, using SBC.. I still get the rapid drain when I first unplug the phone. Anyone else?
[EVO 4G Android Development] aimbdd:
nope. i stayed at 100 percent for three hours after unplugging.
[EVO 4G Android Development] Rippley05:
What governor do you use?
[EVO 4G Android Development] aimbdd:
conservative. no wimax, oced to 1113
[EVO 4G Android Development] EndlessDissent:
How long after it reaches 100% are you taking it off the charger? The effects of SBC are only noticeable if you leave the phone on the charger for at least 30 minutes idle after it reaches 100%. And using the phone after it reaches 100% will likely cause the charger to shut off, and again, you won't notice the SBC.
[EVO 4G Android Development] Rippley05:
I left it plugged in over night. It was definitely on the charger for more than a half hour after reaching 100%.

As soon as I unplugged, it dropped to 99% in about a minute... then after refreshing twitter and reading a couple tweets, it was on 94%. Was off the charger about 10 minutes total... this is the same behavior I get from non-sbc kernels.

It's odd, I was on nightly 14 and just flashed N25 so I'll give the SBC kernel another go later
[EVO 4G Android Development] EndlessDissent:
Did the phone restart while it was plugged in? There's an issue with SBC where it stops working if the phone is plugged in while booting.
[EVO 4G Android Development] Rippley05:
Not that I know of.. unless it was a random reboot. I haven't been getting random reboots tho..

I plugged it in about 2am (UFC night had me out late!) it was around 20%.. it drained really fast yesterday too, on 0.1.2 non sbc version I had much better battery.

But anyway, plugged in around 2am with around 20% then unplugged about 10 am this morning..
[EVO 4G Android Development] lawsonmh15:
Are you using adw with beautiful Widgets? I thought the issue I was having was related to the 2.1 nosbc CFS more havs that timdsmith compiled, but I flashed the SBC version and am having the same issue when I use the 4×2 superclock using the super sense skin. I extend it to 5×2 but either way, the problem occurs like clockwork (pun intended) when I add the widget, and goes away when I remove it, regardless of whether I use the SBC or no SBC version.

Any ideas on why.
[EVO 4G Android Development] Rippley05:
Have you tried setting vm heap to 24 and changing scrolling cache in adw to low quality or disabled?

I had considerable lag with stock CM using adw ex until I changed these. Prolly not what's causing your problem, just thought I'd suggest it.
[EVO 4G Android Development] lawsonmh15:
I have not, but will certainly try it and see. Which hardware rev do you have?
[EVO 4G Android Development] Rippley05:
Eh, I think I have 002. Can't remember right off tho.. not really many hardware related issues pop up anymore than I know of.

Try it out and see what you come up with.
[EVO 4G Android Development] lawsonmh15:
It didn't help. Thanks for the suggestion though
[EVO 4G Android Development] adma84:
I am getting pretty phenomenal performance with SZ Governor. Apparently it's based off of smartass and has some additional tweaks
[EVO 4G Android Development] luisrcastillo:
We can implement. Can you tell us which other kernel your referring to?
[EVO 4G Android Development] cheapskate88:
The latest Tiamat kernel supposedly has this integrated.

From my CM powered Evo
[EVO 4G Android Development] Rippley05:
Alright, I'm gonna give the latest kernel a try again. Flashing the CFS version, do you guys think I should go ahead and charge to full then wipe battery stats to be safe?
[EVO 4G Android Development] soundwavedj:
This kernel says it's 37.1? Is that just a typo? Isn't it supposed yo be 37.4?
[EVO 4G Android Development] aimbdd:
It wasn't changed haha.

Yea I would charge then wipe to get the best battery life.
[EVO 4G Android Development] luisrcastillo:
The updater script hasn't been changed. If you go to about phone you will see it is .4
[EVO 4G Android Development] rdallman10:
Had to flash back to stock CM7 kernel yesterday to get wireless tethering to work (excuse me if this has been brought up already, i checked the last few pages of thread though). so now that the thread hounds are on their leash...

Was running nightly 25 w/ SavagedZen 0.2.1, cleared all the data in app and uninstalled then reinstalled the wireless tethering app from market but still was a no can do. When I began tethering it would state that tethering started with errors and to look at the log, and I did so. Pretty much got errors on everything except for IP forwarding (in the log).

I looked into the problem on the developer's page and it states that the kernel needs to be "netfilter enabled" so I had a little lightbulb moment and flashed back to stock kernel and ta-da, wireless tethering worked again (4g and all :D )

So I was curious as to whether your kernel is netfilter enabled or not, or if you just need to update the wireless tether integration in your kernel, as it would appear that my issue with tethering was entirely kernel related.

Don't get me wrong, absolutely love your kernel, but when I'm stuck in Atlanta for 3 hours b/w flights, I want to watch the March Madness games on the iPad :cool: so forgive me for flashing back to stock.

Excuse the long-windedness and rant, but wanted to be thorough. Would love to see this working in the future.
[EVO 4G Android Development] INebilim:
did you try the built-in wireless tether in CM7? I used it yesterday with stock and SZ and both worked fine.