yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Vincy91:
Now I'm using kernel hastarin r8.5 patched by manusfreedom (LINK) If i should update to hastarin r 8.5.1, keeping the patch applied by manusfreedom, what should I do? Thank's in advance.

PS: i have already letama 0.7 wrapper.

PS2: thank's for all hastarin!
[HD2 Android SD Development] dungphp:
I used BUILD]UPD(27.11.2010)MCCM SE V3.4(FroyoStone Sense), up to r8.5.1, can't download from Market (wifi ok, web ok). I restart some time !
[HD2 Android SD Development] mwebb76:
I don't think that is a typo. Doesn't ls just list the directory contents? That wouldn't make much sense in a startup file. ln -s creates a symbolic link, and that would make sense in that context.

EDIT: I'm wrong, I was reading the correction backwards.
[HD2 Android SD Development] 4D3:
Hi,

I installed this to the Hyperdroid Rom and there is a lot of screetching when i try to make a call, it is virtually impossible to hear anything other than echo.

is there anything I can do?

thanks
[HD2 Android SD Development] ridikolous:
The new lights file has one issue when charging phone the led doesn't light up
[HD2 Android SD Development] hastarin:
I wish there was a way to easily reproduce this. :confused:

As best I can tell the call to kmalloc is using the SLAB memory allocator but the thing is failing and the code is expecting a NULL value when this happens, not a crash.

I'm going to try the SLUB allocator out locally since it allows for more debug options via a kernel argument and sysfs.

Though I'm not sure I know enough yet to make sense of it. :p

If LeTama's patch seems to be stable I may end up having to just go with that approach.
[HD2 Android SD Development] noellenchris:
LeTama's patch hasn't crashed since his test 2 kernel. Usually a good way to crash ppp for me is to use gmaps and the internet for a bit or a streaming app. But gmaps usually does the trick. ppp is so stable, I don't think the wrapper has had to do anything...anyhow thanks again for all you do!
[HD2 Android SD Development] hastarin:
Yeah I used Navigation when I went out yesterday but it's been fine. I've just disabled my wifi for now to see how I go in data only for an extended period.

Sent from my HTC HD2
[HD2 Android SD Development] mcheffe:
I've gone through all the versions of Mdeejay's S kernels, then to 8.5, and 8.5.1. Since switching to 8.5.1 last night, this is the first full 24 hours I've had where my data stayed connected and my phone didn't crash or hang. I did run into an issue where in spite of being plugged in to the charger over night, the phone wasn't charging and eventually gave a battery level warning in the morning and shut itself down. Other than that it seems to be working well.
[HD2 Android SD Development] manusfreedom:
http://xdaforums.com/showpost.php?p=9429937&postcount=3052
[HD2 Android SD Development] fi3ry_icy:
the newst kernel with old camera drivers fixed my g-sensor and PPP drops !!

thanks a lot!
[HD2 Android SD Development] Vincy91:
Thank you so much manus! In order to have 5MP camera, the only way for now is installing the kernel 8.5.1 with old drive camera, doesn't right? :(
[HD2 Android SD Development] projection:
I am pretty sure I found a bug.

99complete:

# Create link for resolv.conf (generated by pppd)
ls -s /etc/ppp/resolv.conf /etc/resolv.conf

This should be ln -s...
[HD2 Android SD Development] themadproducer:
Well my tests show that my high battery drains in standby are all mostly radio related.

The one thing I can absolutely consistently reproduce is a 3ma drain while in airplane mode. Dead steady 3ma. Too bad it's only airplane mode. Otherwise my drain is at best 3-5ma, and 5-8ma with inconsistent peaks of 60-200ma or more.

I can't isolate the cause to being Data...or GPS or simply voice etc.

NOTE: that I could only CONSISTENTLY reproduce the Standby Airplane mode 3ma drain if I setup a Setcpu Profile for 250mhz during sleep/standby.

BUT...with this profile ON and Airplane mode OFF I get a steady 5ma + spikes. If I didn't use the Setcpu profile, an area of bad reception would cause the HUGE battery drain spikes sometimes lasting quite a while. (radio 2.15, H8.5 MDJ2.3)

I also did notice that the app "LED Me Know" causes drain issues in the 20-60ma range. I don't think it is directly related to the led frequency or whether the hardware keys are blinking or not during notifications. (tried every variance I could to see if it could make a difference)

Too bad, because this app rocks...but if you miss a phone call and not attend to it for several hours, your battery will drain much faster. Hmmm...what to do. Other apps like "Missed Reminder" do the same thing.
[HD2 Android SD Development] sorodrigo:
su

mount -o remount rw /system

cp /sdcard/bcm4329.ko /system/lib/modules

chmod 755 /system/lib/modules/bcm4329.ko

not work wi-fi :( :confused:
[HD2 Android SD Development] teddyforms:
Loving 8.5.1 great battery. I get about 1% drain per hour idle. Anyway, I get almost no sound with this kernal. Ringtone is fine, but lock sounds and keyboard clicks are very very quiet. Anything I can do? Anyone else have this problem?
[HD2 Android SD Development] projection:
What exactly changed from 8.5b?

With 8.5.1 my wifi no longer works. Everything was fine with 8.5b... sigh...

Perhaps I forgot to copy the modules...
[HD2 Android SD Development] projection:
Worst "upgrade" for me so far :/

8.5b -> 8.5.1 left me with force-close loop HTC Sense and no Wifi.

Deleting launcher.db seems to have fixed the loop, but all HTC widgets are gone now.

Wifi still doesn't work.

/wrist
[HD2 Android SD Development] mattfmartin:
Did you guys with wifi problems reboot a couple of times? Sometimes that solves the problem.
[HD2 Android SD Development] projection:
Well yes, I rebooted.

I actually just formatted my SD card, downloaded this:

http://www.multiupload.com/WMV2RYI829

Then downloaded the 8.5.1 kernel from first post.

Unpacked it, overwriting all the files I had...

And still no wifi :/

Wtf?
[HD2 Android SD Development] sorodrigo:
hastarin r8.5.1 ext. bat. Help¡

not wi-fi :( :confused:
[HD2 Android SD Development] projection:
Going back to 8.5b until WiFi issue is sorted out.

Nothing helps. Hard reset of windows rom does not help either.

Just wasted 3 hours :/
[HD2 Android SD Development] projection:
Some output...

uname -r
2.6.32.15r8.5.1-g138ebc3

insmod /system/lib/modules/bcm4329.ko
insmod: init_module '/system/lib/modules/bcm4329.ko' failed (Exec format error)

This means the provided modules do not match the kernel.
[HD2 Android SD Development] projection:
Well, no wonder it doesn't work.

Inside bcm4329.ko:

***** ROOT\SYSTEM\LIB\MODULES\BCM4329.KO

vermagic=2.6.32.15r8.5Beta-g6df8c16 preempt mod_unload ARMv7

So... the wifi modules are from r8.5 beta, but the magic has changed!

Everything else is the same... going to try to change magic and see if I can get these suckers to insert ;)

The funny thing is, that it's okay on _eb version.
[HD2 Android SD Development] projection:
Yup, inserting fine now and wifi works :)

I attached the edited modules.

If anyone has issues with wifi (not _eb or oldcam kernels), then download these modules and replace them.

Or well... everyone will have issues, since the provided modules use wrong magic.

Hastarin: fix this :P
[HD2 Android SD Development] tjones25:
Downloaded and installed 8.5.1 standard yesterday, no problems with wifi...And I replaced all the files in the download package except for the htc.lights file...already had the new one...
[HD2 Android SD Development] projection:
Can you open adb console (adb shell) and type "uname -r", then write the output here?

It is not possible that wifi is working with the current download, simply, because the modules are for the wrong kernel, they can not insert.

I think you are either still running 8.5 beta or hastarin has updated the download link at some point.
[HD2 Android SD Development] Smygflik:
Weird... wifi works for me in 8.5.1 with the modules hastarin provided with it. But I noticed thou that it doesnt work with wifis running channel 13, it finds them but fails to connect.
[HD2 Android SD Development] mattfmartin:
Mine worked fine also.
[HD2 Android SD Development] hastarin:
You haven't got them copied correctly then because I use a build script that overwrites them every time. Short of me manually copying the old files in there is NO WAY this could happen.

I've just checked the files here and they are correct.
[HD2 Android SD Development] psvmr:
Works grate with Core Droid V0.7 SUPERSONIC EVO. Special thanks for Old Camera version (I was not been able to make new version work - something weird happened every time I've tried to take picture, but old camera works grate).

Need to Note that at default 8.5.1 set to "ondemand" governor. If you do not use SetCPU to change it to "interactive" or "smartass" - you will not get best power efficiency.;)
[HD2 Android SD Development] hastarin:
Actually you're not the first to say this but it seems to be something in your build overriding the default governor in the kernel.

The default in the kernel is definitely smartass. I have confirmed this on my build.

You can even see this for yourself in the config used (in devs folder):

CONFIG_CPU_FREQ_DEFAULT_GOV_SMARTASS=y
[HD2 Android SD Development] Vincy91:
I've installed hastarin r8.5.1 (standard version) and everything work's fine less apply any patch or driver! But maybe I have 3MP camera...is it a kernel problem?
[HD2 Android SD Development] curiousGeorge:
Interesting, I've seen this too on mdeejay Froyo Sense v2.4 Clean. I notice it whenever I check SetCPU after applying a sysfs underclocking script. No biggie.

Anyway, I've just come back to report that Hastarin 8.5 beta 1 is still working spectacularly for me. System is totally fine right now. I checked earlier today and I had gone about 80 hours since last plug-in, 5:45 of which were "active" -- and my battery was about 40%. I can now say that the HD2's battery life beats that of my mom's "dumbphone."

Yep, 8.4 wouldn't last the day on IDLE. 8.5 lasted over 3 days of normal/light use with almost half the battery left.

Funny. (Well, actually, a result of some furious bug-hunting by hastarin). ;)
[HD2 Android SD Development] slbenz:
Hastarin, you did a great job again! Just updated to your 8.5.1 standard kernel without any issues. Even the green tint with flash didn't show up the first time I loaded the kernel! :D Using the same build as you, Mdeejay Sense Clean 2.3. Even added the MMS fix on top of your kernel, just in case. Quadrant score is still just as high as before and battery drain/use are still the same. After a couple of normal boots, I am able to get consistent standby in the 3-5mA range with app/WiFi use in the 150-300mA range depending on the volume I set. Phone reception is still the same between 2-4 bars with call quality the same as well. No WiFi or data issues to speak of so far. I think I am done with ROM, build and kernel changes for a while.

TMOUS

VBNDroid RC3 ROM

Mdeejay Clean Sense 2.3

Sandisk 16GB MicroSD card
[HD2 Android SD Development] projection:
**deleted**
[HD2 Android SD Development] projection:
Gah, re-downloaded again and the modules seem fine.

Perhaps too little sleep upset something :P
[HD2 Android SD Development] tomj777:
Great Kernel (with M-Deejay's Revo1.7)

Perhaps a silly question (is there really such a thing)... How does one check to confirm WiFi is running as 802.1N?
[HD2 Android SD Development] CR5N:
Hastarin,

Installed your 8.5.1 standard kernel into MDJ 2.4 build. Had to manually copy files from root but data, WiFi and cam all work.

Early days (an hour) but standby is 3mA :)

Nice work.

Phone: HD2

WINMO: Stock 1.72 + HSPL

Radio: 2.15

ANDROID: MDJ Clean 2.4

Kernel: Hastarin 8.5.1
[HD2 Android SD Development] projection:
Was getting very nice standby through the day, but today in the evening suddenly had the 70mA drain issue again....

Rebooted, and it's gone.

Going to try and log open apps as well.
[HD2 Android SD Development] projection:
The issue seems to be wifi.

With wifi off (data on), I get 5-10 mA.

With wifi on, constant 70 mA drain.

Is there perhaps an issue with wifi going to sleep?

Edit:

Going to try "never when plugged in" wifi sleep policy.
[HD2 Android SD Development] warrington:
changed batt and applications started to force close

Hello there!

I'm using Hasterin 8.5 Kernel and MDJ Froyo Sense Clean 2.3

Phone worked fine until i had to change batteries. Once i switched batteries and restarted my Android, my applications (not all of them but quite a few like Advanced Task Killer, etc.) have started getting the "The application ___ has stopped unexpectedly. Please try again" message. I uninstalled and reinstalled some of the apps and it went ok.

The game applications that were downloaded from Market suddenly is not there anymore, like Angry Birds.

Lastly, the root programs like SuperUser, dropcap2, and GScript are getting the same "The application ___ has stopped unexpectedly. Please try again" message, but still does not work even if i downloaded a new application from the market. It's like my phone is no longer rooted? Or I might have been wrong and the MDJ Build 2.3 + Hasterin 8.5 Kernel combination is not a rooted system to begin with?

Does anyone know why this happened? Happened another time too when i was just starting to use Android on my HD2. Here's the process for this particular event for reference.

1. Turned off Android to change battery.

2. Changed battery and rebooted phone.

3. Logged into WM, got a text message there. Read it and went to Android afterwards.

4. After Android has booted, the errors indicated above were already there.

4.a Downloaded games were already missing (Angry birds)

4.b Applications like ATK and Opera Mini got the application closed messages, reinstalled and they are working again.

4.c Root applications like SuperUser, dropcap, GScript are not working anymore. Reinstalled, but still getting the application closed message.

I've found some threads saying reinstall the whole Android system after formatting the SD card, but haven't found what we can do to prevent this event from happening. Anyone got ideas? Thanks
[HD2 Android SD Development] Andy240:
I too could not get WiFi to connect with 8.5.1 (and 8.5), while 8.4 worked great. Redownloaded 8.5.1 and reformatted micro SD and now it works.
[HD2 Android SD Development] jae-v:
this kernel is the best ever, there's something the smartass governor is doing or something but its crazy nice with the g2 rom. I'm getting extremely consistent 3ma standby...haven't charged in almost a day and a half
[HD2 Android SD Development] Andy240:
Video Camera Force close

Still camera works great with 8.5.1 (standard, not 'oldcam' version) but when I use the video camera it'll lock up and give me the "The application Camera (process com.android.camera) has stopped unexpectedly. Please try again" message. Tried 'oldcam' version and that made it so the still camera wouldn't even work. Anyone else?
[HD2 Android SD Development] noellenchris:
If your looking for help, then please tell us some info about which build etc. Mine does the same thing, but I'm using cm6. Also let us know what you have changed...ie. any of the needed cam libs or build.prop etc.
[HD2 Android SD Development] Andy240:
Thanks. I meant to do that but was in a hurry. Here you go:

HD2 1024

Michyprima's CM6

Kernel: hastarin 8.5.1

ChuckyDroid ROM

Haven't changed anything else.

Thanks again.
[HD2 Android SD Development] slbenz:
Have the same build you do and used to run 8.5 kernel now 8.5.1. The only time I saw on my phone where apps like Angry Birds were missing was when I decided to change the build. Certain apps like Angry Birds and Google Sky Maps lose their link once you format another build. Also, you do not need ATK on board. Even Hastarin suggests not using it. Could be causing some of the app problems for you? I don't run ATK and see very low battery drain already. There is another thread that suggests that ATK may actually cause more harm than good. Never had a problem when I took out my battery so I am not sure if that could be the cause for you. I ended up backing up my Android folder so that when I did change the build, I could easily go back to the original one I had. I would say to start by taking off ATK and see if that helps.
[HD2 Android SD Development] noellenchris:
Michyprima's latest build is supposed to support 720p for newer kernels, however if your using an earlier version then you may have the same issue I had. Let me know which version of his build your using and if your build is setup for newer kernels is 8.5.1 the one for old camera that your using? Thanks
[HD2 Android SD Development] Phenomenon:
Sensors not workin on the 8.5.1eb kernel

I can't understand why this is happening, but I can confirm that the sensors aren't working AFTER installing this kernel. They work normally on the Windows boot, and normally on the Android MDJ build, but after adding the kernel they don't function. The screen doesn't rotate when you rotate the device, the screen doesn't go off when on a call and close to the proximity sensor, but the hardware is working ok. Anyone else who can confirm this?
[HD2 Android SD Development] lesjaw:
i have the same problem with you, camcorder always freeze..using MIUI here..

camcorder never work since new camera lib in CM or MIUI build..
[HD2 Android SD Development] Andy240:
I'm using the lastest version of Michyprima's build (which is about a week old).

I am not 100% sure what this means: "if your build is setup for newer kernels is 8.5.1 the one for old camera that your using?"

I'm using the standard 8.5.1 kernel, not the "old camera" version, in case that's what you were asking.

I appreciate your help on this.
[HD2 Android SD Development] noellenchris:
I tried to upgrade the cm6 build to work with newer kernels as michyprima did, but I was unsuccessful. I haven't seen michyprima around either for a week or so. check your media_profiles.xml in system/etc on your build and make sure it has the 720 etc settings.
[HD2 Android SD Development] Lozone:
I installed 8.5.1 and now my notification, alarms, and ui sounds are not showing up.

Anyone know what went wrong?
[HD2 Android SD Development] Andy240:
I read through media_profiles and didn't see 720 anywhere. Here's what I saw:

<MediaSettings>

<!-- Each camcorder profile defines a set of predefined configuration parameters -->

<CamcorderProfiles>

<EncoderProfile quality="high" fileFormat="3gp" duration="60">

<Video codec="h263"

bitRate="4000000"

width="800"

height="480"

frameRate="30" />

<Audio codec="amrnb"

bitRate="12200"

sampleRate="8000"

channels="1" />

</EncoderProfile>

<EncoderProfile quality="low" fileFormat="3gp" duration="60">

<Video codec="h263"

bitRate="64000"

width="176"

height="144"

frameRate="30" />

<Audio codec="amrnb"

bitRate="12200"

sampleRate="8000"

channels="1" />

Does 480x800 = 720?

BTW, I am with you on the addictiveness of these phones. I endured 8 months of WinMo on my HD2 after enjoying a year and a half of Android on my G1 and now I've renewed my interest in my phone.

Thanks again.
[HD2 Android SD Development] Andy240:
Same here.
[HD2 Android SD Development] Lozone:
Ok. I placed the media folder back in sdcard/android/ and rebooted and all my notifications, alarms, and ringtones are back.
[HD2 Android SD Development] carhigh:
That happened to me on both sets, BUT it works fine after a few tries. Even took a small sample video that was unreadable before it started taking good video.
[HD2 Android SD Development] warrington:
Yeah I did read that somewhere too (ATK being bad for the droid) but it skipped my mind. I'll make a fresh install of the system and see how things go. Will also be a good opportunity to see if other programs that were meant to run on rooted devices work since i never really tried running them before on this build. thanks
[HD2 Android SD Development] dipaolnv:
Amazing work Hastarin!

Hastarin,

I don't know what changed from 8.5 to 8.5.1, but this is the first time I can ever say that I'm getting < 10 mA in standby. I've tried this with three different builds and all of them are dropping to 5 - 8 mA. This is the first time I've ever seen that, and for it to be working with 3 different builds is awesome.

On another note, I found that leaving an IM app open while in standby is a complete battery killer. I'm sure this is common knowledge, but just in case, only leave your IM apps on when you really need them to be.

Thank you a thousand times Hastarin! :)
[HD2 Android SD Development] noellenchris:
hmm, that's strange, that looks like the settings for the old camera, though I don't know for sure what the settings should be for use with the camera enabled for 720p. You can extract one from any of the cyanogen nightly builds (passion or bravo) and backup yours first, then replace with the cyanogen mod one.

My problem was that I had the cyanogen mod one but my build is not set up for the new camera libs or new kernels. so I had to replace mine with the version you are using.

I attached one with 720p from cyanogen nightly passion. The default preview in this is 1280x720, that seems high, but it must be what the n1 uses for 720p I guess. Well if it doesn't work then just recopy your old one back and reboot.
[HD2 Android SD Development] Andy240:
Great, thanks...will do right now. JUST started downloading the Passion build when I noticed you attached the media_profiles. Any word on Michyprima's nightly builds? Is his computer taking some time off? Any thoughts on the quality of the Passion Nightly build?

Installed the media_profile you supplied and same exact situation as before: still camera works perfectly, but video does not. It goes in the system/etc directory, correct?
[HD2 Android SD Development] noellenchris:
don't know where he's been, awhile ago I switched to bravo build, really just because one of the dev's was using it when he got bt to work with nightlies, but I think they are almost identical for what we need on the HD2. The passion builds are great too, plus the cyanogen forum for the passion nightlies is much more active than the bravo so you can follow up with more updates from other users (not many hd2 members though).

I'm updating the apps and framework right now to tonights nighty.
[HD2 Android SD Development] Andy240:
I thought about giving one of those a shot, especially since Michyprima appears to be MIA.

An FYI for you: tried both the Passion and the Bravo media_profile files to no avail.

Off-topic question for you: when the Gingerbread version is released, how do we get the update? Do we wait for CM or ShubCraft to supply the update? Or will it happen in one of the Nightly updates?
[HD2 Android SD Development] powerover:
bluetooth

"Older CM6 builds won't have working bluetooth"

is there any fix for that,

already tried the "fix for HD builds" but not working

in hastarin 7.7 it worked fine...

could someone post the old files so i could replace just them?

or some other fix?

[Edit] already tried the 1246 post solution, but the "scan for device" not working
[HD2 Android SD Development] Macelangelo77:
Hi Hastarin,

Just did a flawless upgraded from 8.5 to 8.5.1. Replaced the kernel and initrd.gz, copied the root folder using my cardreader, booted into Android, copied the contents of the root folder manually to the designated locations. Edited the last line of /etc/init.d/99complete, changed owner and permissions of modules through adb shell, rebooted and everything works fine.

Thanks for your continuous work. It's a joy using your kernels with MDJ's builds!

Sincerely,

Mac