yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Macelangelo77:
For some reason, after two reboots, all my processes start crashing again :(

I can't even connect to my phone using adb, to see whether logcat gives some usefull information... I'm not sure whether this is kernel- or build related, but I have this once in a while. Anyone knows what's causing this?

Restoring last backup now.... Any help would be appreciated.

EDIT: Restoring last backup with 8.5.1 gives me the same issue after a reboot. Restoring last backup with 8.5 and the problem doesn't occur...

Hastarin, is there a need to change permissions for other files, besides the modules? I saw the README.txt isn't really changed (besides the warning concerning the camera) allthought the contents of the zipfile have changed. Do I have to change any other permissions after copying the files?.

Sincerely,

Mac
[HD2 Android SD Development] Ambious:
Since upgrading the Kernel, every night I suffer from reboots, probably when the battery reaches full status.

I wouldn't know for sure, since I go to sleep with Android, wake up with WM.

It USED to happen OCCASIONALLY with Undervolting (which I don't use as of 8.0), but with 8.5.1 it happens every single day.
[HD2 Android SD Development] KrewsialNL:
I did everything according to Hastarin's 'dirty' method, but i'm still getting the yellow/green haze over my pictures when using the flash.

After trying the entire weekend, my question comes to this :)

If i re-download the MDJ Clean Sense ROM, format the SDcard and place the Hastarin kernel the android folder, making the Android a complete new installation, will that fix the issue?

Apart from the haze in the pictures, this kernel is the best so far. 3mA in standby, and 3 days on a battery is quite nice i'm honest :D
[HD2 Android SD Development] projection:
After I turned off wifi and use only 3G data, my battery drain is perfect.

No spikes, even with updating widgets, sync and 3g data on.

I am pretty sure there is something wrong with wifi, as with it on, after some light use, the phone gets stuck at 70mA in standby. I notice this particularily, if wifi is still connected.

Attached is my battery drain graph for today... the peaks on it are just from normal usage of the phone.
[HD2 Android SD Development] warrington:
I just finished doing what you are asking, haven't seen any hazes in the camera flashes. but you will have to update the modules folder (for wifi). will make a post of what i did in a while
[HD2 Android SD Development] dabezt:
About the HTC HD2 proximity sensor, is running ok with this Kernel (using 8.5)?

when i'm doing a call i need that the screen goes off automatically when i put my ear close to the phone, in order to no 'press' or touch screen buttons ....

thnx!
[HD2 Android SD Development] warrington:
making WiFi Error work on Hasterin 8.5.1

I saw people having problems with their wifi connection when they install the new 8.5.1 Kernel. I had the same issue but was able to make it work after switching between forums. Here's what I did:

1.a If you are just upgrading your kernel from a previously WiFi working Build+Kernel, go straight to number 2

1.b If you are installing a fresh build, run the Build+Kernel first (using the build with the Kernel provided by the chef)before going to number 2. In my case I first ran the MDJ Sense 2.4 and S6.1 Kernel before going to step number 2.

2. Make Sure you BACKUP your whole SD Card first so you can go back to your old Build and Kernel in case you want to/for some reason your WiFi still doesn't work

3. Download Root Explorer on the link below

EDIT: Search for Root explorer on the internet and download it form there.

MOD EDIT (LP): NO WAREZ LINKS HERE. READ THE RULES

*This program made the copy/paste procedure possible while inside Android (it will be listed/permitted in SuperUser). For some reason, ES File Explorer did not work for me.

4. Close your phone, take out your SD Card, slip it into your computer, and copy the Hasterin 8.5.1 "zImage file" and "root directory" into the SD Card/Android/ folder

5. Copy the Root Explorer APK file into your SD Card

6. Put your SD Card into your HD2 and restart, booting to Android

7. Once inside Android, check your wifi if it works. If it works, you're done; but if it doesn't continue reading step number 8

8. Install Root Explorer. It needs your phone to be rooted (which is most likely the case) and it will be need to be permitted in SuperUser (SuperUser will permit it once you open the Root Explorer Program)

9. Using Root Explorer, go to "/system/lib/modules/" and delete the "bcm4329.ko" and "tun.ko" files

10. Still using Root Explorer, go to "SD Drive/Android/root/system/lib/modules"

and copy the "bcm4329.ko" and "tun.ko" files in that directory.

11. Still in Root Explorer, go back to "/system/lib/modules/" and paste the files there ("bcm4329.ko" and "tun.ko")

12. Exit Root Explorer and try your WiFi again. After copying the files, my wifi finally worked. Reboot your phone so your wifi can refresh and work properly.

NOTES:

*If you are installing a new build, do not just put in the new build and 8.5.1 right away. For some reason, I had difficulty fixing the wifi when I did this method

*Like i said on the earlier part of this post, ES File Manager did not work for me at all. So i tried using Root Explorer and it did wonders. Probably because it actually needed root access unlike ES File Explorer where the procedure is pretty much straight forward and there is no root access.

I hope this helps. I'm also a noob myself but this method worked for me

TMOUS

Energy ROM

Mdeejay(MDJ)_FroYo_Sense_v._2.4_Clean

Kernel hastarin 8.5.1

radio 2.15.50.14
[HD2 Android SD Development] rafpigna:
I had no WiFi issues (testing 8.5.1 on a second Sd card now) but I would suggest to Hastarin to put the link to this post in the first post and in the readme...
[HD2 Android SD Development] rafpigna:
What app are you using to generate that graph?

Anyway.. 30% in 9 hours is AMAZING

You had auto-sync and 3g data on for the whole 9 hours? :confused:
[HD2 Android SD Development] rafpigna:
@Hastarin

I read some where there is a typo in one of the files.. but I cannot found it.

Wich file is? What happens if I not correct it?

Hope that some one could point me to the answer.
[HD2 Android SD Development] KrewsialNL:
awesomeness

Mr Warrington,

you are the man, and i thank you very much for this explanation.

i will try this tomorrow :)

thanks again! this is awesome.
[HD2 Android SD Development] hastarin:
I already have information on manually copying the files in my README. This is just another method of doing it. I've linked it in my FAQ though, thanks warrington.

The file is, in the extracted path, root/system/etc/init.d/99complete.

I've attached a corrected version.
[HD2 Android SD Development] hastarin:
If it crashed on you I guess it's not perfect but... Try as I might I can't reproduce this. I'm up to 93hrs uptime and my data is still going strong. Same speed test results as after the original reboot!

For me personally I think I'm going to have to stick with my workaround since it does the trick for me and, presumably the majority of the 6000+ people using my kernels.
[HD2 Android SD Development] rafpigna:
Thank you for the file!

What happens if not corrected?

Anyway, following you reply... I do not understand what is the difference between your 8.5.1 kernel with the 2k patched kernel by letama.

If you have time, I'm just courious to understand.. atm all works here with 8.5.1 ;)
[HD2 Android SD Development] noellenchris:
here is a patch someone posted it worked for me, it includes a ppp patch that may be old, but just use the libs and rootfs from this.
[HD2 Android SD Development] noellenchris:
I had the stuck arrow on 8.5, I need to try 8.5.1. did you change to 2k limit on 8.5.1? Thanks Hastarin.
[HD2 Android SD Development] hastarin:
No. I am still simply going with what I get. I would guess you'll still get the crash. :(

How you're getting it I am not sure as it seems the kernel couldn't allocate any memory at all and crashes instead of returning a NULL.

It is actually at a point deeper in the kernel code and I guess the 2k version bails out before triggering it.

I would investigate further but I can't reproduce it so I would simply be guessing and anything I try would likely make things slightly less stable or slower for those that don't have the crash. :(

Do you have the various options for tweaking kernel memory that I put in the included 99complete file?

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
If your data provider supplies a DNS it won't be used unless you correct that. Mine doesn't though so it makes no difference here.

The default build DNS will still be used.

Sent from my HTC HD2
[HD2 Android SD Development] noellenchris:
I have the options set from aussiebum , are yours the same in 99complete file? Otherwise I have your file but not using it.
[HD2 Android SD Development] hastarin:
I have those setup but the two kernel memory lines were from LeTama

# Tweak kernel low memory handling

echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio

echo 8192 > /proc/sys/vm/min_free_kbytes

Sent from my HTC HD2
[HD2 Android SD Development] warrington:
You're welcome and no need for your thanks hastarin. It's us who have to thank you for taking all the time and effort in producing such a great Kernel. That's why I always test and look for solutions with every version that comes out. Not much of a programmer by myself (and my eyes become like @_@ when i look at files like build.prop) so I usually use on-the-market methods instead of attacking the code itself.
[HD2 Android SD Development] dabezt:
Has anybody working it's proximity sensor with any release with this kernel?? thanks!
[HD2 Android SD Development] hastarin:
Yes it works fine for me.
[HD2 Android SD Development] famewolf:
Hastarin,

Downloading the build in your signature...what changes did you have to make to get your new kernel on it? Do I need to install the camera you referenced on that build to use new cam driver..stick with oldcam etc? My other build requires the oldcam driver to work and considering "upgrading."
[HD2 Android SD Development] hastarin:
There is a link there, something like with tweaks, to the build already tweaked with camera fixes and my beta kernel that can easily be upgraded to the latest.

Sent from my HTC HD2
[HD2 Android SD Development] PlayStation:
Hastarin could you please build us a kernel that supports the newly enabled Desire HD camera as well as extended battery. Plz do me that favour. I am using phiremod Ace Rom and extended batt. Thx in advance bro......
[HD2 Android SD Development] rafpigna:
I never changed DNS from when I'm using android from September. I never changed my APN settings too, always keep the APN automatically inserted by the build. So I think that, in my case, it will not be used, right?

Thank you.
[HD2 Android SD Development] hastarin:
I've read people have that working with 8.5.1 so would presume it works with the eb version I already have.

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
It's not something you need even if it works with your provider. I wouldn't worry about it.

Sent from my HTC HD2
[HD2 Android SD Development] microlizer:
The mac address patch in r8+(wifi.mac=..._) dont work on desire hd builds, but the r7.7(wifi.mac_address=...) does.

Anyway to fix that?

Thanks
[HD2 Android SD Development] PlayStation:
Indeed I am using 8.5.1 but apparently with the phiremod DESIRE HD build appears to be working only with the old camera driver. Unfortunately we don't have a kernel that supports both extended battery and the old camera driver. I will try various combinations I see if I get lucky.
[HD2 Android SD Development] dabezt:
Thnx for the answer Hastarin (and btw thanx for your work!) but when i do a call, i cover the sensor and the screen doesn't goes off.... ¿?

I'm using "MCCM SE V3.4(FroyoStone Sense)[kernel hastarin r8.5]" and with Windows Mobile it works ok... is it needed to be configured anywhere?

Thnx!
[HD2 Android SD Development] hastarin:
Perhaps it's build related then because it definitely works for me here.

Sent from my HTC HD2
[HD2 Android SD Development] rafpigna:
I have a question:

When I upgrade the kernel I copy the "root" folder inside the Android folder on my SD.

After the reboot, can I delete the root folder or I have to keep it forever?

I know.. It's a silly question.. but just curiosity :p
[HD2 Android SD Development] Mtk87:
First of all thanks hastarin for this beautiful kernel and the effort in supporting old camera builds.

Since some day ago in I'm noticing a big battery drain (twice than before) and I'm investigating the causes, changed rom did nothing, so I'm thinking that kernel could be the cause, I'm seeing that every time screen is off, data traffic is present continually, even if data are deactivated (it's fake traffic as I don't get charged), and when screen is on fakedata are present every 30 seconds for 3 seconds...

Any other experiencing it?

Greetings and thanks in advance, I'm using 8.5.1 old camera..

-------------------------------------

Sent via the XDA Tapatalk App
[HD2 Android SD Development] ITAYSHARONI:
I dont understand how can i undervot?

Im using currently mdj clean 2.4 with s7.1 kernel

im having problems with it

so i want to use this kernel but i want it undervolted

thank everyone.
[HD2 Android SD Development] drewestate:
ppp, data speeds

Just a note, there does seem to be an issue caused when using the new ppp files in the /root/etc/ppp folder, when i loaded them to try them out download speed dropped to 350kb down. When I reverted the changes, speeds are back up at 2500kbs down.
[HD2 Android SD Development] dung8604:
I've done a little searching, but thus far have not found anything useful. Has someone gotten the new camera working with mdj revolution 2.3? My favorite build, but I spent about 3 hours last night trying to get it working as per hastarins instructions. If not, then really no big deal, I'll just use the old camera. Just wondering if I'm doing something wrong.

Just to let you know, hastarin, I'm getting absolutely gnarly down speeds with your kernel in bluetopia 1.03. Low of 2.00, high of 4.22, average of 3.32, median of 3.05 with a sample of seven. Top three all broke 4.0 and the only data drop I've had was when I restarted the phone this morning. You and letama are gods!
[HD2 Android SD Development] davidjz87:
is it possible to calibrate g sensor from android?
[HD2 Android SD Development] pkchips:
Is there any way to check to make sure I undervolted my CPU correctly?

Anyone know of any CPU voltage monitors?
[HD2 Android SD Development] tyween:
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
[HD2 Android SD Development] noellenchris:
Ok, been using 8.5.1 and your options and 99complete since last night and all day today. So far I can't duplicate any data freeze's. So it looks good now. I should have tried 8.5.1 and your options. Thanks.
[HD2 Android SD Development] JoeSzymkowicz:
Why can I not access my TMO Visual Voicemail when using the Hastarin PPP kernel? Anyone else had this experience? I've only tried 1 Android rom so far, but all I did was reinstall with a RMNET kernel and the app worked. The only thing I changed was the kernel so I can only assume it was reason I couldn't sync voicemails.
[HD2 Android SD Development] serikm:
Because device was with charger. That means that device has REAL consumption of power around 400 ma.
[HD2 Android SD Development] hazard99:
So wait... when I my log shows my phone as discharging at 4ma's its really 400 or did he really goof?
[HD2 Android SD Development] malisha1:
Im running 4.1 zImage with Darkstone Desire HD rom. I have noticed battery drains very quickly but the phone isn't hot. In 1.5 hours the battery went down from 92% to 52% with no usage at all.
[HD2 Android SD Development] LittleH79:
Damn! You're absolutely right!

Indeed it was on charge the whole time. Completely forgot about that!

I will do another complete test tonight when not charging and post my findings again...

My apologies for making you confused..
[HD2 Android SD Development] hazard99:
No worries I just didnt want you to be confused. But you will get that kinda ma drain in sleep mode As its around what I get.
[HD2 Android SD Development] sp33dy_gtx:
I can't get sms status notification led working. It must work or it is not working for everybody?

everything looks good for the moment.
[HD2 Android SD Development] ferrari0788:
I'm using mattc 1.8 and I updated to hastarin kernel and when I try to turn on WiFi it just says error.

http://htc-linux.org/wiki/index.php?.../Wifi#Firmware

I went here and downloaded the firmware files and created the

/system/etc/firmware

directories.

It's still has error when I try to turn on WiFi.

Any ideas?
[HD2 Android SD Development] pack21:
@Hastarin,

your Kernel 4.1 is 10000% Awesome!! in DesireHD, i never see a build so fast and smooth.:eek::eek:

Dont move anything that mess it!
[HD2 Android SD Development] kammillo:
@ferrari0788 i have this same problem.
[HD2 Android SD Development] pack21:
i dont know how did you install the kernel....but i have wifi and 3G full power.

i install by creating folders in Android folder, in WM usb disc mode.

create:

root\sytem\lib

inside the lib i create lw and modules

and put the past root on Android folder, with respectives folders inside.
[HD2 Android SD Development] Shatterv2:
/BUMP

For epicness. :D
[HD2 Android SD Development] hastarin:
Based on some posts I think at least a few may only think they installed my kernel. Check Settings - About phone - Software for my kernel. If the kernel shown doesn't have hastarin in the name you're not using my kernel.

Sent via XDA App
[HD2 Android SD Development] pack21:
correct the folders hw and modules must have the correspondent files inside.

I use the creat folders metod, and work.

root\system\lib\(modules+hw)
[HD2 Android SD Development] gam4gam:
may i ask what happing for my HD2 . affter i change to 4.1 kernel my audio don[t work any more no sound at all ? in WM thay are working okay. Thanks you for your time
[HD2 Android SD Development] hastarin:
I'm afraid I haven't heard of anyone with that problem. Make sure you've run CLRCAD.exe before haret.exe
[HD2 Android SD Development] hastarin:
Just a note that I've taken a brief look at the code michyprima has released and made some observations here:

http://xdaforums.com/showpost.php?p=8315598&postcount=42

Before anyone asks, yes I'll probably release another kernel within the next day or so with tweaks based on his code and including his offset for the compass.
[HD2 Android SD Development] hazard99:
I just wanted to say I am using shubcraft 1.5 and everything is working great. only concern id the audio maybe just a tad bit loud on both speakers causing major distortion.

speed is great battery life is fantastic.

I know some people have mentioned that they can not use your kernal. I would like to let you know that your kernal works great.

The latest changes michy made to his kernal cause It not to work.

I dont know what the differences is I didnt change my start up text or anything.

So i think thats worth looking into.
[HD2 Android SD Development] interfreak:
Just want to say hastarin, you've developed one hell of a kernal!

I've used it on both mattc's sense 1.8 and darkstone's Desire HD builds with great success. In fact on the latter, Ive seen standby mA down to 4 mA, thats with WiFi, GPS and Auto Sync on. Astonishing stuff.

Keep up the good work matey, you're doing Australia proud! ;) :D
[HD2 Android SD Development] jamesjf:
This post helped me get Bluetooth working again after swapping my kernel to hastarin 4.1 with Bangsters, so thanks.:D
[HD2 Android SD Development] DiamondGeeza:
G-sensor / compass problems

I just saw your post about a compass offset, not sure if this info will help.

The only problems I am having with the matc/evo build + Hastarin 4.1 Kernal are with the G-sensor and compass.

The compass is working in that it will point in one direction but it is as if the compass points are arranged vertically on a clock face, if I hold phone vertical, screen toward me and spin phone around centre of screen the arrow points 1 way, but not if I turn around to face different directions.

I think it is all to do with the G-sensor not knowing which way is up. I downloaded an app called Bubble and the bubble sits in the centre when flat but when tilting left/right or front/back will not go over 66deg or so either way. the app should switch from a circular 360deg bubble to horizontal/vertical bubbles but because it never sees 90deg it never switches. Also there are times when the bubble will freeze for 5 seconds or so.
[HD2 Android SD Development] pkchips:
ok, well, I was unsuccessful in undervolting the CPU.

Whenever I edit vdd_levels the file just returns to its previous state.

I tried deleting the file but the file seems to regenerate itself.
[HD2 Android SD Development] kiko-touch pro:
HELP!!!

I've tried all 11 steps ,even with proper lights.htcleo.co file and still the Wi Fi is dead,also with 2 scripts run....

Any solution?

Thanks.
[HD2 Android SD Development] rafpigna:
Hello Hastarin

just noticed today, after updating this file, that camera not start anymore.

Reverting to the 99complete file from the kernel zip on first post, all works again.

I quote myself :p
[HD2 Android SD Development] PlayStation:
Yes. Indeed I finally got the Ace camera to work with 8.5.1eb after a clean install of the ROM. Thx.
[HD2 Android SD Development] noellenchris:
Yes the solution is to push the modules again and again until wifi works. I've probably pushed modules with new kernels over a hundred times and sometimes it don't work. WIFI and BT work perfect with hastarin's kernels. If yours don't work then you did it wrong and have to try again, maybe a different way, it's been suggested thousands of times for months since the devs started making the android kernels for the HD2. Sorry if I come across wrong, it's just that the solution your looking for is posted all over and it's up to you to fix your problem.
[HD2 Android SD Development] pkchips:
I tried creating a script and then tried using echo commands in the terminal, but still no luck with the undervolting. The values all stay the same.

Could someone please upload their script for undervolting? That would be really helpful :-).
[HD2 Android SD Development] kiko-touch pro:
Root explorer finished the job. Thanks anyway :)
[HD2 Android SD Development] Ronbl:
Works for me with standard MCCM 8.4 & Hastarin 8.5.1
[HD2 Android SD Development] hmcjr1978:
not sure if it has anything to do with the kernel....but my call quality is not to good, i hear them fine but they barely hear me...i come in staticy or cut in and out
[HD2 Android SD Development] supermantxz24:
mine sounds like im way too close to the phone
[HD2 Android SD Development] slbenz:
Have you tried a different radio? I am using 2.15.50.14 without any problems.
[HD2 Android SD Development] fallenangel408:
blank screen

so this is best kernal!!! works great but notice every now and then i get a blank screen on call or text and it stays blank till i reset anyone else with this prob? besides that it runs smoothest and no probs besides that for me
[HD2 Android SD Development] zero324:
I was wondering if anyone has had any issues of Pandora and lastfm totally locking up their phone at random and giving off a humming noise thru the speaker or aux if it's in use. I have tried other builds and kernels and have had the same issue.

I am running phireMOD v1.6b and updated to hastarin 8.5.1 oldcam, radio version 2.12.50.02_2
[HD2 Android SD Development] stumbleine:
HD Build

Hi there.

I'm willing to install a Desire HD build as soon as there exists a working camera and video camera.

I've took a look at mdeejay DesireHD build. It uses his own kernel. Would it work with hastarin 8.5.1? I'm using this kernel and it works really really well. Nothing left for me, but I love the Desire HD Sense version.

If someone has already tried it I'd like to hear your comments. Anyway if you've used any other HD buid, feedback is also welcome.

Greetings and sorry for the off topic.
[HD2 Android SD Development] ITAYSHARONI:
cant edit vdd_levels

why is it??