yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] sbryan12144:
By no means will I hold the information. It'll be released without any question. It'll only be a day or two. I will tell you what it is. Don't change the DSP. It works good.
[HD2 Android NAND Development] fma4078:
heyyy lions.... we are waiting for voltran.. it doesnt matter who will be the head :))
[HD2 Android NAND Development] NRGZ28:
This thread as well as other important threads are stickied from now on :)
[HD2 Android NAND Development] daedric:
Much appreciated. Thank you
[HD2 Android NAND Development] sbryan12144:
haha. then you should stickie my thread soon too :) just messin
[HD2 Android NAND Development] NRGZ28:
If you make a development thread with the fix documented and all.. then sure why not. A ROM thread ? Nah :)
[HD2 Android NAND Development] cyphol:
The flag is already in the build.prop file. Just change the value from 0 to 1. But if it's not there, you can put it on any new line with the right flag.
[HD2 Android NAND Development] sbryan12144:
Ok. I'll tell before I release.

The old kernel was based off of the EVO 4G's 2.6.32 source right? -Yes

The new kernel is based off of the Desire's 2.6.35 source right? -Yes

Doesn't that mean we'd need actual Desire libs rather than others? -Yes!

I tested marc's 1e kernel with my OLD Bravo build that I made from the Desire's Official RUU (3.14) and CAM WORKS. So my theory is correct. I tested it on my RCMix3D Runny Build and it works as well.

Hope you guys are happy ;)

Don't forget to credit the kernel builders and me for this fix!
[HD2 Android NAND Development] Mafioso:
Do you know if the fix that you have made would work with other ROMs like aosp, cm7 and MIUI or is it just sense?
[HD2 Android NAND Development] sbryan12144:
I haven't tested. Technically this kernel is made for Sense. You'll have to find out yourself.
[HD2 Android NAND Development] haldric:
Well i'd do the same but cam dont work ,may be i dont have the good libs!
[HD2 Android NAND Development] sbryan12144:
Take them from the 3.14 Desire RUU Dont forget to use the bin files and the hw/egl files
[HD2 Android NAND Development] warrenb213:
So what your saying is that the proprietary egl files are key to this. Can you also verify that the YouTube app properly plays videos now instead of also being a white box?
[HD2 Android NAND Development] crackmunky:
Will this fix the g-sensor the kernel issues for HD2 users with screen replacement? Sorry to go a little off-topic.
[HD2 Android NAND Development] djsolidsnake86:
guys please don't fix retroilluminated keys, i like keys not illuminated, they consume less battery
[HD2 Android NAND Development] isitokay:
It's sad, but In the near future it won't fix. Btw, I think its not off-topic, because it is kernel related issue.
[HD2 Android NAND Development] Ambious:
I'm still getting the no signal issue.

Any ideas how to go around it?
[HD2 Android NAND Development] sbryan12144:
Yes, I'm almost positive.
[HD2 Android NAND Development] Visentinel:
Does anyone know why i might not be able to boot this or any other sense rom with 2.6.35 kernel.

I heard most people flash it and it just works for them but i can't get past the animation.

I follow a pretty good procedure that's solid for any rom.

.1 delete init.d scripts 01_modules and htcleo

2. Empty modules folder

3. Flash

Logcat shows no errors, usually the phone either completely freezes or suddenly cold resets during the part of the rom boot where logcat shows extracting native libraries.

There is no pattern however, its at any random point around that part of the boot on any sense 3.x rom.
[HD2 Android NAND Development] sbryan12144:
mount sd-ext before flashing.
[HD2 Android NAND Development] Visentinel:
What will that do, id like the suggested plan to make sense:)

been that the updater script doesn't do anything with sdext
[HD2 Android NAND Development] sbryan12144:
if you dont have sd-ext, 1e should work. just flash. the first splash stays on a little longer before it starts, but it works. just give it some time
[HD2 Android NAND Development] Visentinel:
I do have sd-ext, it is basically mandatory for eu hd2 sense 3 roms. Its a 1.5gb ext4 partition and my sdcard partitions are confirmed alignment OK.

Iv been flashing version 1f

Another odd thing Iv noticed is after flashing back to the working kernel i Havering rebooted twice, because the first boot back on a 2.6.32 kernel the hspa data doesn't work, no data at all.

Its another one of those weird cell data issues that seem to persist across one reboot.

For example on my phone if i want to change the hspa mode it always takes two reboots for the result. So if i set ro.ril.hsxpa=0 and reboot Il still be operating in hsxpa=2. One more reboot and it will stick.
[HD2 Android NAND Development] turjo_ssmc:
thats my ques too. cant anybody do something about ir. i am suffering for it for months
[HD2 Android NAND Development] ccbm3:
Progress

Hey guys has there been any progress made? i really wanna see this running on my phone :D
[HD2 Android NAND Development] NRGZ28:
I worked with sbryan to get this running on my Desire based ROM. So far it's great and a few things have improved but also broke a couple.

After installing the kernel the graphics glitches are gone and the UI is very smooth. After installing the required libraries for the camera, the camera also works as expected, although the camcorder is still laggy and choppy. However, now the weather videos are broken bad. All we see is pink lines. I'm guessing the renderer libs need to be swapped out for the Desire libs as well. So far, to me it's not worth replacing HierOS, until more issues are ironed out.
[HD2 Android NAND Development] bojanbl:
I don't need weather video :) If possible could we get this version to try?
[HD2 Android NAND Development] daedric:
Though i agree with bojanbl, it's still a defect.

That and wallpaper selection wheel. I've seen roms saying it's a EGL insuficiency, but've yet to see a citation on that.

Can anyone comment ?
[HD2 Android NAND Development] Tigermoto:
I've seen a modified weather video by Tribulattifather first hand NRGZ, might be worth a look for you.
[HD2 Android NAND Development] daedric:
Got a link for us ?
[HD2 Android NAND Development] Belp:
http://xdaforums.com/showpost.php?p=18982288&postcount=4111
[HD2 Android NAND Development] Tigermoto:
Thanks Belp, yeah, there LOL.

Sorry i forgot to link :(
[HD2 Android NAND Development] daedric:
The files are basically the same.... except the original is 30FPS, and the fix is 80FPS.

Now, why would the HD2 have trouble rending 30FPS but be ok with 80FPS?

Or is there anything else ?
[HD2 Android NAND Development] Tigermoto:
I don't know mate, but it works well on the ROM i use, else i wouldn't have mentioned it.
[HD2 Android NAND Development] daedric:
Yes of course, wasn't doubting you sir! :D
[HD2 Android NAND Development] Tigermoto:
Thinking logically though, at 80 fps, errors would be harder to see, as a skipped frame would be harder to spot.

Although i may be wrong, thinking out loud...
[HD2 Android NAND Development] daedric:
Yes... butthe device would have to render more than 2 times faster to maintain stable motion. He could maintain FPS stable at lower value ,or perhaps frameskip, but the would either be VERY slow moving lvw, or fast moving, frame skipping :)

---------- Post added at 10:47 PM ---------- Previous post was at 10:29 PM ----------

I'm ending this offtopic here. But why is it that on my DHD, the Weather LWP, is made of png's, and on the HD2 of mp4?

NVM that... i'm a fool. Testing something... will report back :)
[HD2 Android NAND Development] Mikhei777:
Any news about kernel?
[HD2 Android NAND Development] Rebel25:
Why has this thread become so quite? :)
[HD2 Android NAND Development] Tigermoto:
Perhaps because the Devs are too busy making it work to come and reassure you.

With all due respect it says DEV in the title of the thread, so we shouldn't be chatting in it.

That's why you have no answers.
[HD2 Android NAND Development] warrenb213:
Thanks. And yes progress has been made mainly from marc1706. My college work and life experiences have been pulling me away but when I get free time better believe ill be all over this kernel again.
[HD2 Android NAND Development] Visentinel:
Warren do you have any idea how I may solve this for the short term?

Issue I have with 1e is the sense rom (any of those sensation/runny roms) works for only a few boots, eventually after 4 or 5 successful boots it wont boot ever again.

The locate error is that it can't stat any anything in /system
[HD2 Android NAND Development] theslam08:
Try a different ROM. I went to the DHD 3.0 Sense and im using the 1e right now (1f for me on the other hand will not boot on anything including non-ext DHD3.0sense, weird), rebooted several times now, 0 glitches (graphical and performance). Hasnt hung up or lagged. It so far is very good. (BTW I found the default flashlight does not work but torch does. Weird)

And not booting after several successful boots before hand means you probably added something or changed something it didnt like. Doesnt really make sense otherwise, if it boots a few times it should always boot (under normal conditions [no changes]). Just experiment
[HD2 Android NAND Development] boxmax:
Hi warrenb213

how to use this port on SD Boot ?

i try ... but rom not Start ...

maybe must change something in startup.txt or initrd.gz ??
[HD2 Android NAND Development] sbryan12144:
Are you compiling from source or just using 1e or 1f?
[HD2 Android NAND Development] boxmax:
i try only 1e ...

can help me ? :)
[HD2 Android NAND Development] yugoport:
Having the same problem tried to remove the initrd but always got bootloop when trying to boot from sd card..
[HD2 Android NAND Development] sbryan12144:
can you logcat what it does?
[HD2 Android NAND Development] Visentinel:
It tries to boot from nand partition. You would see if u had a nandroid it'd actually boot the kernel of the card then boot system of nand. Lolz does it to me often when I test out new SD roms.

The trick is either compile a kernel that auto defaults to SD like what 3dak does or there's init tricks like what rafpigna has done with his dhd Rom.

But if your trying from haret and its not working then I guess its a kernel inability. Try install a nand Rom and boot this kernel from haret then and see what it does. If it boot the nand Rom anyway that could help with debug for the devs.
[HD2 Android NAND Development] warrenb213:
Those that have camera working:

Is it only working on SENSE builds??
[HD2 Android NAND Development] MrPadie:
I cannot remember 100%, but I think while I was testing for the cause of the color banding issue, I tried to flash this kernel (1f as far as I remember) on a CM7 build.

Camera/Camcorder functionality was lost, and video playback throughout the ROM was also lost (namely YouTube app).

Hope that helps,

MrP.
[HD2 Android NAND Development] warrenb213:
If I can get further confirmation from others that'd be great. I'm theorizing that porting the cm gpu driver as an option will fix cm cam and video on nonsense builds. Would be easy enough. Just trying to expand the functionality :)
[HD2 Android NAND Development] MrPadie:
Well, I know that marc1706 is contributing to this kernel, and I also know that his port of 2.6.35 for CM7/MIUI/AOSP is practically complete and working well (been running it for the past week or so).

So, as a suggestion, why don't you two pool your kernel builds together to one central build? Probably not something a user like me can really ask, but would be a good idea for you guys to work together, with you, for example maintaining the Sense side, and him the CM7/AOSP/MIUI side, sharing a common source with individual adjustments.

Just an idea I guess, but hope developing goes well otherwise.

MrP.
[HD2 Android NAND Development] Dunc001:
I can confirm camera and camcorder working fine on TBD Runny 2.3 Sense 3.5
[HD2 Android NAND Development] warrenb213:
Dunc,

So far what still doesn't work for u?
[HD2 Android NAND Development] Mikhei777:
1. 2300mAh HTC battery

2. HTC FM radio no sound

3. EXT work only with 1e version

4. HTC Headset keys don't work in Music Player

5. CPU work in standard frequency better than in overclocked mode.

I use your 1e kernel with 35 GLES Desire modules and Desire default.acdb from GB 2.3.3.
[HD2 Android NAND Development] warrenb213:
Does BT function?
[HD2 Android NAND Development] mikeysteele:
I've been able to use bluetooth file transfer fine in GingerSense roms with 1e. I haven't tried using a bluetooth headset or anything because I don't have one.
[HD2 Android NAND Development] bojanbl:
I am using Mikhei777 modified kernel on TBD v2.3 and like Mikhei said same problems, but bluetooth works, paired with other phone and did file transfer with no problems ;) I noticed that after I did file transfer and turned off bluetooth battery drain was 50-60mA but after restart it did back to normal...
[HD2 Android NAND Development] arifqur:
Overclocking works till 1113600 HZ and right after that it gets sluggish. Also ondemand works good with this kernel.

BT Headset works fine too
[HD2 Android NAND Development] Dunc001:
Warren, sorry - had to sleep :D Just to confirm all the above (using 1e Mikhei777):

BT works fine with my carkit - all I use it for

Proximity sensor in call works perfectly

GPS fix speed is best I have seen since starting with Android

Data is strongest I have ever had since starting with Android

Memory management is way better than .32 kernels (I'm getting on average 40-60Mb more free RAM on same ROM that I was with previous HeirOS kernel)

Accelerometer is fine

Battery is lasting way longer

Flashlight works

Auto-backlight works

USB and charging all seems to be working fine for me

No OC profiles showing in Daemon Controller so can't comment on OC.

Camcorder is working but laggy in 800x480 and really laggy in HD.

I don't use pass-through, tether or BT Media so can't comment on them but otherwise it seems pretty stable to me. Great work on this. Just need the ZSL stuff now... ;)
[HD2 Android NAND Development] marc1706:
The funny thing is that we didn't change anything regarding ext in 1f in comparison to 1e.

The only thing that was changed is the camera code and that caused a warning while booting. I'll attach a newer version I compiled last week. The camera warning in dmesg should be gone and video recording should work a lot better now. Also overclocking should be a lot more stable now.

Please check if sd-ext works or not.

BTW, the version numbers are just internal numbers I'm using so there is no mixup. ;)
[HD2 Android NAND Development] warrenb213:
1f had those config changes that broke things like ext marc, remember? Then I had you revert those specific and boot worked again. I had changed it to use the dedicated ext2 and 3 drivers rather than ext4 driver handling it all.

Correct me if I'm wrong...
[HD2 Android NAND Development] Dunc001:
So is the 1g OK to try (replace intrid.gz from ROM first right?)?
[HD2 Android NAND Development] sbryan12144:
Didn't you add the specific EXT2 and EXT3 function and removed the EXT23 feature?
[HD2 Android NAND Development] marc1706:
Hm, seems like I forgot about that. :)

There is no initrd.gz and no ROM specific files in that package. ;)
[HD2 Android NAND Development] warrenb213:
The ext23 feature u speak of is actually a feature of the ext4 fs driver. Ext4 can handle all ext partitions. I had switched away from that in 1f configuration. So I had left ext4 on to handle ext4 and reenabled ext2 and 3. However I am not sure that is what broke things as I had made a number of configuration changes which may have screwed some stuff up.
[HD2 Android NAND Development] sbryan12144:
Well by my tests, 1f wouldn't auto mount the sd-ext. I had to mount the sd-ext partition before i flashed so it could work. 1f worked, but only if i mounted the sd-ext. So I'm guessing that had a lot to do with it, but like you said before, you did make other changes as well, so it's kind of hard to back track ;)
[HD2 Android NAND Development] warrenb213:
That's what I get for jumping the gun and pushing out many commits without testing each in order lol
[HD2 Android NAND Development] sbryan12144:
We all tend to get a little excited sometimes lol
[HD2 Android NAND Development] warrenb213:
The one thing I'm happiest about is that true SENSE builds now have a 35 kernel meant for them while us CM/AOSP folks have our own.
[HD2 Android NAND Development] sbryan12144:
Agreed. We now need to perfect this bad boy. Adding our own speed tweaks, battery saving tweaks, and patch it to .14 if possible.
[HD2 Android NAND Development] warrenb213:
:) I'm not even a sense user, sense users should feel loved.

I may ask you to build me some internal testing roms here soon, as ACA is not sense and I wanna start seeing what all is left. If only I could dual boot nand ;)
[HD2 Android NAND Development] Kefir.net:
Can't say about specifical files, I'm not with laptop now..

I just followed commits related to AMSS in Linux on wince HTC repo and tried to add missing stuff..

But to make sure we are not missing smth, it will be good to follow the initial Leo kernel porting..
[HD2 Android NAND Development] pirlano:
any news? :)
[HD2 Android NAND Development] themadproducer:
Dang!!! Those crickets are so loud!!! :D:D:D
[HD2 Android NAND Development] warrenb213:
Updated git. Devs please compile and test
[HD2 Android NAND Development] marc1706:
Got voice and data working:

https://gitorious.org/~marc1706/aca...mmit/daa49cf3d17a5247a70d0ed1a3e380bb19710480
[HD2 Android NAND Development] warrenb213:
Always a pleasure working with you. Will bring my end inline tonight
[HD2 Android NAND Development] g30rg10u:
@warrenb213 & @marc1706 please commit clk patches as well. i think that most of the active testers are on clk.
[HD2 Android NAND Development] warrenb213:
Will do here soon. Need to sort some stuff out first.

In other good news, 88% on accounting midterm!
[HD2 Android NAND Development] Dunc001:
Congrats Warren (on both achievements :cool:) - looking forward to taking the new kernel for a spin...
[HD2 Android NAND Development] ayyu3m:
Congrats on your grades' man. Hope to see this rom further developed.
[HD2 Android NAND Development] elgrego4:
What will this kernel offer that we currently don't have? Could it help with any of the problems like camcorder lag etc?
[HD2 Android NAND Development] daedric:
I really couldn't care less for camcorder lag, yet it's still a unsolved issue.

What i would like to see solved, is the graphical glitches on sense.
[HD2 Android NAND Development] elgrego4:
Any improvements would be welcome, Im on miui these days, due to the fact that sense hogs all the memory and slows everything down.
[HD2 Android NAND Development] marc1706:
Just FYI the Sense glitches are fixed with this kernel. I didn't see one glitch in the 20 minutes I tested it.
[HD2 Android NAND Development] $t0Rm:
Sweet that is great news so this kernal doesn't turn off graphic acceleration? If so would you compile a test kernal I would love to see if it works

Ps if you could also include the Mic fix I would use as a daily
[HD2 Android NAND Development] marc1706:
Currently known bugs:

- no Bluetooth

- LEDs not working (already fixed in my local dev version as far as I can see)

- Camera doesn't work and just shows a white screen instead of the real picture, although I was able to make a picture

- Camcorder doesn't work at all

- USB seems to be buggy: MultiMount does not work and the battery driver does not notice if plug or unplug the cable

- still 12 - 15 mA battery drain in standby, no matter what is enabled or not

@$t0Rm: There is still a lot of work until we can call this a daily driver.
[HD2 Android NAND Development] Mikhei777:
Not so bad :) May you recompile kernel for test on Sense firmware?
[HD2 Android NAND Development] daedric:
I couldn't really care for Camera :)

Yet, Bluetooth + USB + Battery drain is really a must for me... :(

Perhaps we can take the ksgl drivers from this kernel and apply in others... or vice-versa.

Perhaps not... :]
[HD2 Android NAND Development] $t0Rm:
For the camera issue i remember that in one of dungphp rom i think it was bliss we had that issue and then he replaced some libs or the camera.apk and it worked perfectly after so you can ask him.

LED's does auto-brightness work also?
[HD2 Android NAND Development] daedric:
the glitches are not caused by the kgsl driver... they must come from somewhere else... :(

---------- Post added 15th October 2011 at 12:05 AM ---------- Previous post was 14th October 2011 at 11:22 PM ----------

Anyone has any more info on what might be causing these glitches ??
[HD2 Android NAND Development] sbryan12144:
Of course man. Send me a PM and we'll get working on it :)
[HD2 Android NAND Development] Dunc001:
We do, very much :D
[HD2 Android NAND Development] sopL87:
About desire_2_6_35_10_1g.zip kernel:

It boots, but not always, just like 1f. Camera and camcorder preview isn't working (white screen), playing videos in HTC Gallery and Youtube isn't working (white screen with only sound) but HTC Weather video preview is working, HTC Flashlight isn't working.

Leo512 with 2GB ext4 partition, sbryan's RCMix3D Sense 3.5.
[HD2 Android NAND Development] marc1706:
Camera and video won't work without the proper video libs.
[HD2 Android NAND Development] boxmax:
can compile the kernel with toolchain arm-2010q1 ... maybe working on sd build ;)
[HD2 Android NAND Development] sbryan12144:
That's the compiler i use ;)
[HD2 Android NAND Development] yugoport:
That would be a dream :)

But warren, you can use portadroid and port a sense rom, i have one in my first tmous hd2 in nand and the other tmous with one ported to sd and the performance and battery life are almost the same, the difference is in the boot time and the sd builds need a lttle more free ram to be smooth, I use v6 supercharger not only for better ram management but to lock sense in ram ..im using nand kernels, just need to remove initrd..

Try it ..its the closest we can get from a dual nand.
[HD2 Android NAND Development] $t0Rm:
tested desire_2_6_35_10_1g and got it to boot but then sense reboot and then the whole phone reboot here is the DMESG

http://pastebin.com/RP3aisCB

PS never knew i had so much bad blocks :/
[HD2 Android NAND Development] marc1706:
Is it possible that you did not use Mikhey's desire libs?
[HD2 Android NAND Development] $t0Rm:
hey marc i didn't know i needed to use the libs can up pack up a kernel with them or send me a link where i can get those libs?

Thanks
[HD2 Android NAND Development] mikeysteele:
1G restarts for me whenever it tries to load Sense. Running the latest DungPHP Sense 3 rom, on a EU HD2 with 1GB EXT4. I'm using the EGL libs posted in 3DAK's T3 kernel thread, which I assume are correct as they worked fine with 1e.
[HD2 Android NAND Development] Mikhei777:
Get same result without using EXT.. start boot Rosie than restarts and always on HTC animation logo.
[HD2 Android NAND Development] arifqur:
If I install Cyphol's re-packed kernel 1e with egl files and then I flash the new "g" kernel everything works on RCmix3D Runny v 4.0. Video playback is good, camera is good(no white screen), BT headset is good along with data and WIFI.

Also 1e is OC' able to 11133600 hz while 'g' OC's to 1190mhz

(Using 1GB ext4 sd-ext partition)
[HD2 Android NAND Development] marc1706:
OC was broken in 1e because the maximum voltage was set to 1300 mV while speeds over 1113 MHz will need more than 1300 mV. Because you are trying to set a voltage that is higher than the allowed one, the cpu is not able to scale at all. Once you set 1113 MHz or less in 1e, it works again.
[HD2 Android NAND Development] mikeysteele:
Cheers, that combo works for me!
[HD2 Android NAND Development] Ambious:
Can I get that in CLK form? :-)
[HD2 Android NAND Development] $t0Rm:
can anyone link me to the modded 1e kernel i been searching and can't find it :/
[HD2 Android NAND Development] mikeysteele:
IF you check DungPHP Sense 3 DesireHD thread I posted a flashable zip for cLK users that contains 1e + the needed libs.