yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Supergoodsmitto:
can someone please help me on the whole no camera issue, ive downloaded the apk file and the library file but what has me stumped is the library file what am i supposed to do with it?

Thank you in advance for your help.
[HD2 Android SD Development] asphaltkiller:
stuck on htc white screen
[HD2 Android SD Development] 2udCrRAZdK:
I'm also using the Revolution build and mine says:

2.6.32.15r8.3b-g30d2ca1

So I would guess you aren't using 8.3.
[HD2 Android SD Development] jmmmmm:
Some one mentioned an 8.2 version with the gsensor fix. Can some one link it for me. Search is difficult with the xda app. thanks
[HD2 Android SD Development] chris-m:
same for me /:
[HD2 Android SD Development] jmmmmm:
Does the new camera fix work for cm6?
[HD2 Android SD Development] RedWave31:
Version 8.3b plus Nexus Camera patch did SCREW my camera :-(

Many reports around...

I DON'T RECOMMEND 8.3b on CYANOGEN ROMS until further news...

And, of course, going back to 8.2 won't help as the *unsaved* libraries of the patch have been writted upon.

Any good soul with the original files? :-*
[HD2 Android SD Development] ajm2387:
agreed hastrin 8.2 is the best so far for CM builds (well in terms of the camera working at least)
[HD2 Android SD Development] Smygflik:
Sweet, new camera drivers makes the 5MP work correctly, even widescreen photos. Discovered that it actually recorded when i choosed 720p too, but it crashed when i stopped. Got a file mp4 file that was around 25MB for those 5 seconds, but it wasnt playable. Atleast it didnt crash directly! :D

Thanks alot Hastarin (and the other developers).
[HD2 Android SD Development] jmmmmm:
Thanks... good to know
[HD2 Android SD Development] RedWave31:
Could you PLEASE help a poor soul and retrieve:

- root/system/app/Camera.apk

- root/system/etc/init.d/99complete

- root/system/lib:

>libcamera.so

>liboemcamera.so

>lib0mxCore.so

>lib0mxVdec.so

>lib0mxVidEnc.so

I tried 8.3b without any warnings for CM6.1 and can't reverse back to 8.2 :-(
[HD2 Android SD Development] Ebz_09:
Changing the kernel

Hi ppl I know this is probably the worlds dumbest question but Ive been searching all day for a noob friendly tutorial to change the kernel to the hastarin r8.2 one but to no avail.

Theres a tutorial for changing the kernel and matching modules on the FAQ page but to me it really does not make sense. To change the kernel is it simply a case of draging the files off into the android folder on the root of your mem card or am I completely wrong. :eek:

If someone can provide me just a few steps to do this or just point me in the right direction it would be much appreciated. Thank you very much i really appreciate your help in advance. :)
[HD2 Android SD Development] RedWave31:
Yes. Done.
[HD2 Android SD Development] ajm2387:
http://dl.dropbox.com/u/2823065/camerahastrin8.2CMfiles.zip

done

except i don't have 99complete in that folder :\
[HD2 Android SD Development] tyween:
thanks a lot for the undervolting interface, hastarin! I am having a lot of fun playing around with it.
[HD2 Android SD Development] dortok:
Just copy over the original system.ext2 file
[HD2 Android SD Development] raysacr:
I'm using MDJ's rEVO 2.2, which I think is an Evo build, are there camera libraries for it? Or can I use the Desire camera library? AND THANK YOU FOR BRINGING BACK EXT BATTERY SUPPORT!!
[HD2 Android SD Development] rizky_p:
thanks mdeejay works for me, it even take proper widescreen photo(no stretching)..

one problem though, standby while camera app is working couse lcd backlight to turn on again second after standby. Anyone can canfirm this?

ROM Mdeejay Clean 2.3
[HD2 Android SD Development] Danation:
Let me preface this by saying that I'm pretty new to this, too. But I found Hastarin's README.txt to be helpful:

I did it slightly different based on the build I'm using. Here's what I did:

1. Booted into WM.

2. Replaced the zImage with the new one.

3. Put the root folder in the Android folder

4. Rebooted

I didn't need to change haret.exe or initrd.gz because they were the same. I also didn't need to edit the startup.txt for the build I was using.

My advice is to back up your Android folder and to try what's in the readme. If that fails, you can try more in the faq or post for people to help you. At worst, you'll just have to revert to your backup.
[HD2 Android SD Development] RedWave31:
GOT MY CAMERA BACK!

THANKS!

>For those in trouble, revert back to 8.2, replace files using sd/adnroid/root folder and delete root/system/etc/init.d/99complete
[HD2 Android SD Development] Life Engineer:
Man that's it: http://www.multiupload.com/AMLA3GQS9U

enjoy
[HD2 Android SD Development] shree.cse:
Hey, Is it possible to make camera work under Desire HD rom?

Atleast the music playback with out pauses for every 2-3 secs
[HD2 Android SD Development] tinuz97:
Yeah i wanna test to with my jabra bt3030 bluetooth headset....:D
[HD2 Android SD Development] CableMan67:
Anybody using it with TMOUS and Radio 2.14.50.04?

I'm getting erratic 3g/h connection and speeds.

Was fine and fast with original kernal on Desire HD Beta2.

Wondering if I need to redo this again. Thanks!
[HD2 Android SD Development] Tubgirl:
I find that tBattery is a great WM-application when checking batt-temp and other stats. It's easy to check the values in WM and then boot Android to compare with the Linux kernel. When I beta tested for michyprimas kernel tBattery gave better info than BattClock for instance.

For testing purposes I have flashed the same ROM and radio as you indicate in your signature. (OzDROID ROM with radio 2.12.50.02_2 and Android Build [20.09.2010][DesireHD - Beta 2])

Let me know if you have anything for me to try.

Brgds... /Tubgirl
[HD2 Android SD Development] mfish123:
Hastarin - I up'd the minimum CPU speed to 576 mhz and have the smapling rate @ 50000 on interactive. I'm still getting the same intermittent issue of phone freezing while receiving an incoming call.

Is anyone else having this issue?

Would another dialer application possibly alleviate this problem? Anyone have any suggestions for alternative dialer applications? Thanks.
[HD2 Android SD Development] hastarin:
Thanks I saw that and used it in my own testing.

It seems I got the % calculation right based on the info in his thread, and my research but just spent some time via IRC with Downy (a few hours) sorting out the temperature calculations.

There is a new kernel (#4) in the first post you can try. 3:37am here though so I must sleep now.
[HD2 Android SD Development] tfouto:
Does it solve the normal battery values? From time to time the battery values % just become wrong. Like when its 10% on Android actually its 0% and phone dies. Other time its on 90% for ages, and when boot to WM its on 100%. Dont know why it happens...
[HD2 Android SD Development] pongster:
Tested with CM6 Nexus base... still no dice...

Michy's EVO kernel works with CM6 BT... so there must be a way... :)

2:15AM here... great stuff guys!
[HD2 Android SD Development] hastarin:
I just pulled kernel #4.

I forgot to delete a line of debug code.

If you downloaded it please do not use it.

I'll upload #4.1 in a minute.
[HD2 Android SD Development] Moon2:
:O, already installed, and working for me. Linpack scores are higher by 4 units;

Quadrant scores - 1635 with no overclock (SetCPU max: 998 min: 245), interactive

- 1894 with overclock (SetCPU max: 1113 min: 384), interactive

PS: Am on extended battery
[HD2 Android SD Development] hastarin:
OK no more late night releases.

DO NOT USE #4

#4.1 has been released. #4 still had some testing code in it and will always report 32C for the battery temperature.

If you happened to try it in the 50 minutes it was up it shouldn't actually hurt your battery, but please do upgrade to 4.1 immediately.
[HD2 Android SD Development] Moon2:
Ok, glad it's nt hot right nw.... was actually glad to see it was only at 32 when i first loaded up the kernel.
[HD2 Android SD Development] teddy_ballgame3:
the new release gives me just one file. "hastarin". i have been using #4. how do i upgrade to 4.1?
[HD2 Android SD Development] plotzkella:
You need 7-Zip to decompress the file. :p
[HD2 Android SD Development] teddy_ballgame3:
the regular hastarin4 downloaded as hastarin4.7z the 4.1 release downloaded as hasatrin. and it shows up as a document once the download is complete. i used 7zip for the first release but it wont work on the update. i assume because it shows up as a document instead. tried redownloading, same file.
[HD2 Android SD Development] Tubgirl:
Just rename the file and add the extension .7z
[HD2 Android SD Development] wawa144st:
no data cant go online with the web browser no data
[HD2 Android SD Development] Tubgirl:
Hastarin #4.1 works fine with the standard battery... Batt% and Temp is the same in both WM and Android.

However when I try to boot with my original HTC extended battery the phone shuts down just when it's about to enter Android... so I suppose the temp reading is wrong.

Brgds... /Tubgirl
[HD2 Android SD Development] malisha1:
For some reason PPP doesn't work for US T-Mobile users. I have tried all the builds but PPP doesn't work at all.
[HD2 Android SD Development] phinphan:
PPP Works just fine for me with the 4.1 kernel and the modules using Mattc Froyo Evo v1 on Tmobile US. I have radio 2.12.50... and ChuckyRom for WM.

Last Speedtest showed 4175/588
[HD2 Android SD Development] ajm2387:
no problem :)
[HD2 Android SD Development] RedWave31:
I'm thinking I may lose the tweaks i've made to the system, replacing gps libs etc... Although the system.ext2 file (aka the rom?) hasn't changed timestamps although I'm supposed to have written a lot of stuff in it...

Got some things to learn yet :-)
[HD2 Android SD Development] gioiellino:
Now video 720p dont freeze !!!
[HD2 Android SD Development] Supergoodsmitto:
I was just wondering do you just extract the 8.2cmfiles folder into your android folder or just copy it?
[HD2 Android SD Development] bronx:
well... I have a quite weird problemo in here. I'm on froyostone 3.2 with hastarin 8.3b, swapped camera and libs with root explorer (sucessfully), all the permissions seems to be ok but when I launch camera I just get black screen. :( any other suggestions?
[HD2 Android SD Development] marscandybars:
with r8.3 I can't seem to get the camera to work with eVo Carbon Remix V0.3 .... any advice? Perhaps I'm doing something wrong?
[HD2 Android SD Development] thxiso:
I have the same problem.I'm using NexusHD2-FRG83 V1.6.
[HD2 Android SD Development] tritran18518:
i think camera app only works with desire/nexus builds, not evo one.:(
[HD2 Android SD Development] ReX83:
Camera: Android not booting any more...

I've copied all the camera files for Desire ROM. After that Android doesn't boot any more: it stops with the green HTC spash...

I think it appened because I'm using a Desire HD ROM and not a Desire one. Maybe I had to use Nexus files for camera and not the Desire ones...

Now: what can I do to make it boot again? I need to remove the .so files and to restore the original 99complete file, but I can't edit these files without Android running... :(.

Please help me: I don't want to setup Android again :S...
[HD2 Android SD Development] bronx:
ok. tried again, restarted and.... this time works! joy. ;) imho auto white balance is a small sacrifice for all the other goodnes we get.

thanks Hastarin! great work (as usual :) )
[HD2 Android SD Development] rafpigna:
what goodnes?

Zoom???

Did you ever see the results of a digital zoom?? There is someone that REALLY uses digital zoom for his pictures?

I prefer to not have to "choose" or "think" to what balance is better when taking pictures... than to have a working zoom that simply destroy any picture I take.
[HD2 Android SD Development] vb_master:
I am using FroyoStone Sense v3.2 with hastarin r8.3b kernel. Replaced all the libraries and fixed permissions. When I start the camera app it works, and I can switch to the camcorder app, set it to 720p and record a video. When stopping the recording, however, the sidebar disappears and the only way to exit the app is by pressing the home button.

After checking the gallery app, the movie just shows up as corrupted, like someone else in the thread.

Anyone else with this issue?
[HD2 Android SD Development] marscandybars:
Well I am getting the black screen that the others are complaining of too...
[HD2 Android SD Development] alantak:
+1 on cameras not working with 8.3b, and not being able to correct it, this is with Bluetopia 0.61 (EVO based)

LONG LIVE THE EVO BUILDS!
[HD2 Android SD Development] bronx:
lol... sorry... I wasn't clear enough. by "goodnes" I meant not the situation with camera (yeah... lack of auto white balance is not very convinient) but other improvements in kernel like patch for touch screen freezes, sa governor or overclocking possibilities. :rolleyes:
[HD2 Android SD Development] the_scotsman:
Hmmm...might stick with 8.2, I don't really care about having a "digital" zoom...never use it...I'd much rather have the correct white balance when taking a photo, and I don't overclock or undervolt so no other benefits for me anyway :)
[HD2 Android SD Development] fana75:
install

Hi

I use the rom NexusHD2-FRG83_V1.6_(Froyo_2.2.1) with kernel michyprima_R11_AXI and i want to know what to do to install and use the kernel 8.2?

you said

But do ,i need to do all this step?

Is the file haret.exe attached to a kernel or can drive r8.1/r8.2/....?

Can i create a scrciop like those provided into my rom to add the kernel 8.2 like the following:

Is it enough?

Regards
[HD2 Android SD Development] pack21:
comeone people....my camera works.

Comeone people, make a little of magician......

1-Puty on Android, the folder root of MDJ S6.

2-delete the folder modules on that (root S6)

2a-delete to from S6 root/system the file libhtc_rill_wra... it makes the data 3G to slow for me.

3- Add from hastarin8.3 modules and HW to LiB on folder root of android.

4- Overwrite zimage, offcourse.

Thats it! Now you have camera working
[HD2 Android SD Development] ajm2387:
with that method....is wifi working?
[HD2 Android SD Development] sorodrigo:
in hd build not work camera?
[HD2 Android SD Development] AgeOfPanic:
Wow. I am typing this while walking down the hallway. Using Mdjeejay 2.3 clean and Hastarin 8.3, no screen freezes. Seems the workaround works perfectly.

BTW the only thing I had to do to get the camera working, was to update the lib files as posted in the opening post. The included camera app in the clean build already works with those.
[HD2 Android SD Development] the_scotsman:
Camera still doesnt work in Desire HD based builds.
[HD2 Android SD Development] fyuecd2:
zImage from MDJ s6 or from hastarin8.3 ?
[HD2 Android SD Development] pack21:
If we are in hastarin is from hastarin.

The S6 root, is just to put the camera libraries and app.
[HD2 Android SD Development] djbarney:
720p cam

hiya guys, first of all: thanks hastarin for incorporating the workaround into your kernel, already used it before, and it seems to improve most of the handling of the phone, makes it just that bit more smooth and nicer to work with imo =) Also, i had been running modified camera.apk by iamgpc posted a couple of days earlier in this section of xda, and i confirm the widescreen 5mp photomode working here as well. Also, the shuttersound bug that iamgpc's version had, has been fixed, which was kinda the last annoyance for me :P thanks =)

also have been messing around with the 720p camcorder mode a bit, but had some mixed results there:

- turning 720p mode on (mpeg4 selected as filetype), ok

- previewing, ok

- recording, seems ok

- turning on flashlight while recording, ok

- stop recording, camera application disapears, leaving the camera preview function running (viewfinder) and the flashlight does not turn off anymore

- buttons no longer respond, except for power button and home button, flashlight still stays on, starting camcorder app again fails with blank screen and force closing camcorder app and retrying to open it also fails with blank screen.

- after reboot, video00001.3gp file of around 15kb can be found on the DCIM folder on the sdcard, but does there's nothing usable in there, tried opening it in various editors to look for content, but nothing there (for me at least).

same happens when selecting both x263 and x264 here btw.

camcorder seems to be working fine in the default option: 800x480 :)

hope this is helpful in any way
[HD2 Android SD Development] pack21:
Sorry, delete to from S6 root/system the file libhtc_rill_wra... it makes the data 3G to slow.
[HD2 Android SD Development] sorodrigo:
work 720p?
[HD2 Android SD Development] pack21:
Up 2a.....for fast 3G.
[HD2 Android SD Development] deeb:
Hello,

I just want to make sure, are hastarin r8.x kernels support root folder?

Should the HTCCamera.apk be copied into AndroidApps?

I'll be grateful for answer.
[HD2 Android SD Development] MartyLK:
Getting force closes with the linked camera. Overwrote the HTCCamera in a NexusHD2 build and it force closes whenever I try to use it.
[HD2 Android SD Development] ajm2387:
yes all builds of android on the hd2 support the root folder

put HTCCamera.apk in \sdcard\root\system\app\
[HD2 Android SD Development] edding7:
Thanks hastarin for your work.

But this version hang on boot becouse of undervolting.

I catch the trace and up to pastebin:

http://pastebin.com/pvGtJxXz

The last lines of the trace:

[ 15.797821] init: cannot find '/system/bin/zchgd', disabling 'zchgd'

[ 15.797851] init: cannot find '/system/bin/ipd', disabling 'ipd'

[ 15.797882] init: cannot find '/system/bin/sh', disabling 'ppp-restart'

[ 15.811248] enabling adb

[ 15.811523] adb_open

[ 53.042938] [D:BATT] V=3762(606) I=-201(fffffe02) C=602.0/1230(ae4) id=4(8f) T=310(f6) KADC=509

[ 53.042999] [D:BATT] voltage stable

[ 53.043029] batt: ds2784_notify: 1 49 at 53041965362 (2010-11-17 22:21:47.573822007 UTC)

[ 53.043090] batt: batt:power_supply_changed: battery at 53042026397 (2010-11-17 22:21:47.573883042 UTC)

[ 60.741546] Release 'boot-time' halt_lock

[ 60.761322] acpuclk_set_vdd_level got regulator

..... before this cpu dies.

i never have any problem with any of your previous kernels (without OC-UV).

Could you release the non-OC-UV version?

Thank for your efforts!!
[HD2 Android SD Development] deeb:
thanks for info.

Really sorry for my noobish questions. ;/
[HD2 Android SD Development] kingpinn:
I use this kernel with MDJ Froyo clean sense but my battery drainege is between 200mA and 400 mA.

I guess this is not normal.

I use setcpu with the build. Maybe someone has suggestions for settings?
[HD2 Android SD Development] miyamoto1027:
4G

I was just wondering if there is any possible way to have 4G working on the build since Tmobile just recently came out with that....haaa

well you know EVO = 4G

now tmobile have 4G

i know itz quite not possible, but doesnt hurt to ask right?
[HD2 Android SD Development] hastarin:
Thanks I'd seen something similar, though I'm not sure yet what's causing it. The kernel is NOT undervolted by default (you have to use the sysfs interface to do that) and I've set the clock on boot to be back to the same as the normal kernel (instead of overclocking it like I did previously on overclocked kernel).

My only thought is that there is some issue with the expanded voltage range just being available. I haven't had enough sleep now and need to get a full days work in. Any serious investigation, and further tweaks, will have to wait until the weekend now sorry.
[HD2 Android SD Development] curiousGeorge:
From IRC:

Cheers! And thanks for the new build.
[HD2 Android SD Development] linj:
EVO's 4G is different from T-Mobile's "4G."

EVO uses Sprint's WiMax, I think. T-Mobile calls HSPA+ 4G; I'm not sure if HD2 supports that (or supports that on Android).
[HD2 Android SD Development] hastarin:
Umm, I'm not sure what you're getting at? The sysfs interface is documented in the thread I linked in the changelog and features section of the first post.
[HD2 Android SD Development] rob413:
yeah i live in puerto rico and we just got 4g and my htc hd2 is currently running under 4g speeds slow at 5.5m with hspa and i think hspa is to 4g as edge is to 3g. Im running MDJ's froyo hd 3.6 with hastarins 8.2 works like a charm just downloaded 8.3 going to try it in a while. much better than MDJ's kernel s6
[HD2 Android SD Development] curiousGeorge:
So basically I had two questions (I know, I know):

1. Can we simply edit "/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels" as a text file in our favorite editor instead of going through the commandline?

2. In your version of the patch, will the new voltages apply immediately after the file is saved/updated, or is a restart required?
[HD2 Android SD Development] shree.cse:
How can it be possible? That's completely an issue with hardware of the mobile, not just the software. Just think, How a normal b/w phone can have a 3g support even if you modify its software. Same here!
[HD2 Android SD Development] shree.cse:
Sorry, small correction. Hspa is 3g and edge is 2g
[HD2 Android SD Development] hastarin:
No, that's not how the sysfs interface works. You need to follow the instructions in the thread. Of course you can setup an init script that fires off multiple echo commands to setup the voltages for each frequency stepping.

My version is almost identical to the other one, but for HTCLEO instead of BRAVO. So once you've set something it will take affect the next time the CPU changes to that speed. Given it's generally changing speed quite regularly on Interactive governor that should be quite quick.
[HD2 Android SD Development] rob413:
just what i ment
[HD2 Android SD Development] mattfmartin:
Hastarin, why don't you make builds?
[HD2 Android SD Development] curiousGeorge:
Ah, init script... to run at each boot? Not just a normal "batch file" .sh, I see. Does this mean the changes aren't persistent and must be set manually (or via the init script) after every reboot?
[HD2 Android SD Development] hastarin:
Simple. Time!

It took me 6hrs to sort that updated kernel out last night, and I'm still not happy with it. That doesn't include the hours of reading IRC logs, chatting to guys on IRC, reading forums, replying to posts, etc

I'm happy enough to use mdeejay's Clean Sense 2.3 build, with the camera fixed for new kernels and minor tweaks.
[HD2 Android SD Development] hastarin:
Yes, though safest would be a "batch file" run via something like G-Script Lite.

Correct, they are not persistent.
[HD2 Android SD Development] pack21:
What libhtc_ril_wrapper did you use in 8.3? i think the last ones, make the 3G and 2G Data a little slower.

Can this afect the battery drainage?
[HD2 Android SD Development] curiousGeorge:
Awesome. I'll try it right away with all the "Desire" camera libs.

Interesting. The smartass governer is locked to 998MHz max, it seems. Odd. Interactive seems fine. Are you using the same version MDJ is using? (Though I see MDJ has now opted for an "optimized" smartass).

As for the init script, can we just call our batch script (sh /path/to/myvoltage.sh) from /etc/init.d/rc.local?
[HD2 Android SD Development] MarlinFF:
Hey Hastarin,

I just updated to 8.3b and like you said my camera did in fact go out. I'm using mdj's evo sense build so what would I do to get it back? All I see int he downloads is for Desire or Nexus builds. I tried running that apk for the HTCCamera and it will not install, giving me just a generic error saying it did not install.

Thanks!
[HD2 Android SD Development] MartyLK:
That's kinda strange because it's my understanding 8.3b stops non-sense cameras from working. I installed r8.3b on the eVo Carbon build...link in my sig...and the camera worked just fine. I installed r8.3b on a Nexus-based NexusHD2 build and the camera wouldn't work. The camera app wouldn't install either so I used SUFSB to overwrite the camera in System>apps and it showed up in the app drawer but force closed when I tapped it.