yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] dlsniper:
I"ve been using mdeejay's Froyo NextSense 2.4.2 for while now and it has a Hot Reboot option which will reboot your Android directly without going to WinMo again, it's one of the reasons I use it.

Also been using it without any task killer on autokill and I get about the same battery drain.

SetCPU doesn't really help from what I've noticed, maybe just to protect the cpu from being overclocked.

I'm trying out now to run without data connection on but only with wifi. I'll post more results later on during the week. Some suggested that this may be a way to improve the battery life.

Test with the details in my signature if you'd like, at least for me it proves to be the best combo to run Android on HD2.

Have a great day and good to see you're healthy and back again :)
[HD2 Android SD Development] sydneybelinda:
my phone keeps rebooting out out Android every few hours with this Kernel.
[HD2 Android SD Development] hashnon:
There is no ext3 in Android build posted on XDA currently, and I haven't seen any such build for HD2 at all, some kernels support ext4 (evo tree and yours of course :) ), but all image files are in ext2 format without journal-records db.

So nothing covers us. :)
[HD2 Android SD Development] dbh369:
Hi Hastarin, glad to have you back and feeling better.

I just installed your 7.2, and I'm now getting 3mA drain in standby. I'm in a weak signal area too. I'll give more feedback when I have it. I am using SetCPU and Adv Task Killer, and after some time with them I'll try without.

I posted some feedback on 7.1 with mattc here; it might be useful.

http://xdaforums.com/showpost.php?p=8558660&postcount=8410

Hoping this fixes a few issues I"ve been having.

Cheers
[HD2 Android SD Development] Ronbl:
I'm using the same setup and my idle drain is 3-7 ma (using setcpu @ 245 when screen off) with WIFI on. So there must be something wrong with your install I guess.
[HD2 Android SD Development] hastarin:
I haven't touched CM6. That's more a build issue really. You don't HAVE to use the initrd.gz I included.

Read the first post again!

I thought they must use ext3 for the data.img, though I could be wrong, as my kernel didn't work when I tried compiling it without ext3 support.

I'm still not 100% but good to be back. :)

I think most remaining issues will be fixed fairly quickly when they get NAND "done" for general release as that's where the development effort is atm. I know I read they'll be going back to RMNET again, so perhaps that might make the data connections more stable (NOTE: There is a newer ril_wrapper that might help with stability under PPP too, or at least make it auto-reconnect).

I'm kind of waiting to see what happens there over the next week or so before I fiddle too much more with builds, kernel builds, etc.
[HD2 Android SD Development] dj_ghosie:
Thanks Hastarin!
[HD2 Android SD Development] aussiebum:
There's a little program that you can buy on the Market called Hot Reboot that kills stuff and restarts the Android graphical shell - works pretty handy when I get weird lockscreen graphical issues and the like.

Not sure if it's the same as the Hot Reboot that's supposedly included with coredroid 0.4r / mdeejay nextsense 2.4.2 though.
[HD2 Android SD Development] hastarin:
Thanks I hadn't seen that but I want it for restarting to be able to install a new kernel, or get back to WM, etc It's not a BIG deal since installing the kernel means I have the cover off for the SD card anyway so hitting the reset button with a pen isn't hard. Just something I "miss" from the Desire HD build.

I also miss the News widget (integrated with Google Reader and handled multiple feeds) but I've traded those two things for a (mostly) working camera for now at least.
[HD2 Android SD Development] hashnon:
You can drop a command in terminal like this:

mount >/mnt/sdcard/mount.log

And look for something like that:

/dev/block/loop0 on /data type [B]ext2[/B] (rw,sync,noatime,nodiratime,errors=continue)

of course you may have something different since I still use shub8i cm6 based build.

That's what I was afraid of, they now start to fix things which come out after the WM initialization part are gone and any so needed fixes will be more and more delayed.
[HD2 Android SD Development] dbh369:
I"ve been using 7.2 for a day now. Better battery, and I turned off SetCPU and got rid of some problems I was having with the processor dropping into 245mhz and getting stuck there. However, it seems the reliability of my data connection isn't as good. Before, as long as it was active, there wouldn't be a drop, now I get drops right in the middle of a download or stream. Not sure if anyone else is seeing this?
[HD2 Android SD Development] hastarin:
Just a quick note that I've noticed a bug that I have yet to track down. I'm not sure if it's build or kernel related or a combination issue.

I noticed the "system_server" process gets stuck in a loop, using 97% CPU, with the following exception (noted via DDMS) being repeated over and over.

10-13 00:12:37.199: ERROR/ActivityManager(215): Unexpected exception collecting process stats
10-13 00:12:37.199: ERROR/ActivityManager(215): java.util.NoSuchElementException
10-13 00:12:37.199: ERROR/ActivityManager(215): at java.util.StringTokenizer.nextToken(StringTokenizer.java:272)
10-13 00:12:37.199: ERROR/ActivityManager(215): at com.android.server.ProcessStats.getCpuSpeedTimes(ProcessStats.java:596)
10-13 00:12:37.199: ERROR/ActivityManager(215): at com.android.server.ProcessStats.getLastCpuSpeedTimes(ProcessStats.java:568)
10-13 00:12:37.199: ERROR/ActivityManager(215): at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1616)
10-13 00:12:37.199: ERROR/ActivityManager(215): at com.android.server.am.ActivityManagerService$4.run(ActivityManagerService.java:1542)

When I first noticed this I ran SetCPU, which I currently have installed but not running, and it immediately stopped, but it soon came back. Looks like a restart is the only way to fix it.

I was playing Fruit Ninja when I noticed this tonight, not sure if I'd been doing anything in particular previously.

When I get time I'll look in to it further, maybe try another build. I don't recall seeing it with the Desire HD Beta 2 build.
[HD2 Android SD Development] famewolf:
I tether the phone to the laptop alot and recently did an upgrade from kernel 4.1 to 7.2 and can confirm that the problem does occur alot more often. I dropped back to 2.14 radio from 2.15 so my config matches as closely to hasterin's as possible. I'm on a sense build and am almost positive using bluetooth has something to do with it because when I connect my bluetooth earpiece (on mattc 1.8 sense build) I can expect a data freeze within 20 mins or so...but I left it disconnected last night and it stayed connected all night long. As disturbing as it is I may just go all the way back to mattc 1.7 rmnet and add the mitchprima r11 kernel (for extended battery) if I can't find someway of ensuring the phone can be tethered AND use bluetooth...without BOTH those it appears to work ok for me.

Now the data issues are not hasterin's fault...it's something the devs need to look at and it' s a bit disappointing that they are so focused on getting nand to work that other issues seem to be being ignored. I would have thought getting the build rock stable for all connections would be a priority over getting it where the rom can be flashed to the phone.
[HD2 Android SD Development] d3l1:
Yes same here data connection doesn't crash and hang, it just disconnects out of nowhere while in use.
[HD2 Android SD Development] ChrisM001:
Same here. I also think that this is not hastarins fault. Annoying that the git kernel seems to make steps back instead of progress in the last weeks. Still no completely working android version.
[HD2 Android SD Development] dlsniper:
Good day Hastarin, I wanted to ask you if the information here http://xdaforums.com/showpost.php?p=8383578&postcount=582 is still ok to be used to make readings for the extended battery.

I've just got mine and I know that the official tests are finished for now but I'd like to do some extensive tests, maybe for a couple of days and find out as much as possible about temperatures on it in order to get maybe a even better extended battery support.

Regards.
[HD2 Android SD Development] memin1857:
I talked to gauner1986 (author of the new lights file) and the filename comes from the build.prop file.

It is the ro.board.platform=xxxxxx line in the build.prop file.

xxxxx is also your lights filename. (lights.xxxxx.so)

For example my desire hd build has msm7x30

others I have seen are htcleo, default, qsd8k, ace, bravo.

So you have to rename the lights.htcleo.so that is in hastarins root\system\lib\hw folder to match your builds filename if you want it to work.
[HD2 Android SD Development] famewolf:
Is there a more recent version that the one that comes with kernel 4.1 which still works? The one in the 7.2 kernel did nada where the older one worked ok.
[HD2 Android SD Development] galapogos01:
I am seeing this on FroyoStone 3.1 -- I tried your kernel again after everyone replied telling me they are fine with power usage. I think this is what is causing my 98ma min battery @ standby! Maybe i'll try uninstall setcpu? I have seen this kernel at 7ma but after a restart last night can't get it to drop below 98ma.

edit: killing the setcpu service or removing setcpu didn't seem to help. back on the old kernel for now. funny because i have seen good standby usage on this kernel but just not consistently.
[HD2 Android SD Development] anush.isaac:
I had been using Hastarin 4.1 with mattc 1.8, and radio 2.15, I wanter to try r7.2 and hence upgraded, I see the screen lag that many are talking about and also my Battery life did not improve at all so I decided to go back to 4.1 and now, the screen is smooth, but the battery drain is the only issue.. I am using set CPU 2.03....
[HD2 Android SD Development] hastarin:
You can still use it to test but I don't really have the time to work further on extended batteries atm. You can find all the data I used linked in the following post:

http://xdaforums.com/showpost.php?p=8383578&postcount=582

Thanks I'll try to remember to update the README.txt in the next kernel, and will edit the first post for now.

Until this system_server issue triggers standby is just fine for me. I might try tonight to see if I can find a consistent way to trigger it, then I can test other builds, etc to see if I can find a stable combination.
[HD2 Android SD Development] tmorgan4:
I have been quite happy with 7.2. I did try on the weekend switching to Mdeejay FroYo Z v.1.0a but found the Exchange 2010 was unable to send emails which seems to be a HD ROM issue.

Anyway I have switched back to my backup of mattc 1.8 and setup the hastrain 7.2. This was done last night. As of today a massive improvement in the battery life. 9hrs since unplugged and 8hrs sicne being unplugged and I still have 51% battery. Quite impressed. Have made a few phone calls and the usual amount of SMS to my GF.

Very well done on your kernel. Just waiting for the HD builds to fix the issue with Exchange and I will go back there, they just felt nicer. I need a phone to last a while as Telstra isn't getting the HD7 till next year. :(
[HD2 Android SD Development] interfreak:
I'm still running fine with this kernel and Mdeejay's Desire HD build 3.4.1. Hastarin, your kernel is the best by far! Keep up the good work! :)
[HD2 Android SD Development] lesjaw:
@hastarin..

i've been using your 7.2 kernel for days with standard battery..everything was just fine, until i got my extended battery (htc batt 2300 mAh), everytime i boot up to android after the lock screen my android always shutdown by it self..here is the log http://pastebin.com/xsKUTTyk i hope u can check it out..tq

meanwhile i use michyprima r1 kernel and everything is back to normal..extended battery seems works just fine but the temp seems give me wrong value..its around 24-26 c..i think it suppose to be arround 36-40 c
[HD2 Android SD Development] esko1one:
i had the same problem. just draw the unlockpattern when android boots up and loads the sdcard and it will stay on.
[HD2 Android SD Development] hastarin:
That log seemed to indicate the battery was over temperature. I haven't checked if the external battery has a higher operating range and have left the limits at the same as the default battery to be safe as overheating/overcharging a battery could be quite dangerous!

Try the "Alternative" kernel. For whatever reason (probably the higher temperatures) the extended battery doesn't seem to like overclocking/undervolting.
[HD2 Android SD Development] lesjaw:
i have tried the altenative kernel..it give me the same issue..i got the same issue with huanyu kernel too..using michyprima r11 or r0 or r1 kernel it boot and run just fine but it give me wrong battery status..it always said 100%, voltage didn't change either..if i boot on 4090 mv, after 1 or 2 hours of use voltage always 4090 mv and battery always show 100%.. i'll write this issue in his thread soon.

do you have any suggestion for me?

tq
[HD2 Android SD Development] hastarin:
My only suggestion is to make sure all your battery pins are contacting the battery ok and you haven't somehow managed to bend/block one of them.

With an official HTC extended battery (the 2300mAh one with the stand) my kernel should work. The battery percentage should match WM, and the temperature, as noted elsewhere, should be within a few degrees of WM.

I have no idea what would happen with a clone battery though as, even if it was 2300mAh, it could use a completely different package id but still fall within the range of the extended/normal battery, which is NOT supported. It would be safest not to find out!
[HD2 Android SD Development] hastarin:
Future kernel updates

Just a quick note that, in order to manage my time better, I won't release kernel updates every time the main tree is updated. Lately it's changing almost daily but it seems that many of the commits that supposedly fix something end up getting reverted, and others are related to NAND only, so there is really no point jumping on them immediately.

You can always try a standard autobuilt kernel if you want to try something from the main tree that I haven't yet integrated.

PS I'll probably drop ext4 support in my next release. I doubt anyone is using it, and if they are they probably know enough to build their own kernel.
[HD2 Android SD Development] Reignzone:
@Hastarin:

Hey there,

Is perhaps creating a "RMNET" version of your most recently released kernel completely out of the question?

I'm currently using a build that is still ONLY being updated with "RMNET" connectivity... and I really appreciate your work, but unfortunately cannot use it due to lack of compatibility.

Any insight on this would be wonderful! Thanks.
[HD2 Android SD Development] lesjaw:
i can sure you the pin are contacting ok and it is official HTC HD2 2300 mAh battery with kick stand, i'm trying to boot up using another sdcard now fresh install..i hope it works.. thanks for your reply hastarin..

edit..

doing fresh install on a new sdcard, with mDeejay Evo Warm..i still have the same issue.. the system shutdown by it self after a complete boot..
[HD2 Android SD Development] hastarin:
I haven't been reading the IRC logs lately but I know the core devs were working on RMNET for the NAND version. Hopefully whatever progress they make carries over to the SD version.

In short, I am not aware of a way for me to add RMNET support, though I admit I haven't looked in to it, so until the main tree gets RMNET support my kernel won't have it either.

Good luck then. They were my only ideas.
[HD2 Android SD Development] lesjaw:
i give up now..still has the same issue, btw after a complete reboot i saw the battery percentage njot 100% like michy kernel..it reporting at the same percentage in winmo..

very desperate here..probably its a defect battery..
[HD2 Android SD Development] Reignzone:
@Hastarin:

Thanks for your reply, I appreciate the feedback.

However, now I'm wondering if there's a way to "convert" a RMNET-based build to utilize the "PPP" connectivity format instead?

Is there a certain line of coding that must be edited or script that must be executed? Something along those lines... or what?

I'm just curious because I'd like to use your kernels, so I want to consider "making" this RMNET build into a PPP-based one. :rolleyes:

If that makes any sense, I'd greatly appreciate more of your insight.
[HD2 Android SD Development] lesjaw:
problem solve.. change winmo Rom from chukydroid to vbn.. now it boot up correctly and battery percentage is show the right value..
[HD2 Android SD Development] hastarin:
Search the forums. I think it's possible to do by editing the build.prop file (in /system) and copying in the ril_wrapper (there is a thread about PPP disconnects, etc that has the latest version of that). But I haven't done so and can't guarantee it will work.

Interesting. I wouldn't have expected the WM ROM to make that much difference.
[HD2 Android SD Development] noellenchris:
which build are u using? I'll help you convert it to ppp.
[HD2 Android SD Development] sp33dy_gtx:
I have seen updated on kernel by markinus and i checked every 2 hours your kernel and see no update from 5 days ... still wating but will be nice to tell us what problems do you have. thx
[HD2 Android SD Development] Reignzone:
Really!?!

Well, I'm using Tytung's "NexusHD2" build... and for the record, if you could make this happen, or give me the necessary steps, that would be greatly appreciated.

http://xdaforums.com/showthread.php?t=793924

Thank you very much. :D
[HD2 Android SD Development] sterz85:
@hastarin

now that the desire z kernel source code is released, will you use it on your builds?
[HD2 Android SD Development] hastarin:
If you read my post a few above yours you would see why I haven't released an update yet.

That said it is Saturday tomorrow so you can probably (unless I end up busy out of the house) expect a new build then.

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
No. I will stick to following the main devs. They might be able to use some of that code to figure out the camera issues in those builds but I imagine getting NAND finished is still the priority for them.

Sent from my HTC HD2
[HD2 Android SD Development] tinuz97:
Yeah,nand.......camera sucks donkey balls,i prefer nand over a working camera what is making ****ty pics anyway :rolleyes:

If i need that i just take my eos 7d......

Good choice and i share that with you hastarin :)
[HD2 Android SD Development] sterz85:
what about possibly addressing the video playback issues? i don't care about the camera but the video working would be awesome
[HD2 Android SD Development] hastarin:
What video playback issues?

Not everyone has the same issues.

Eg. I don't get music stuttering, touch screen lag (I play Fruit Ninja on my phone), or indeed most of the issues people seem to complain about.

On another note I took some time over lunch and have just released 7.3 Now back to work. :(
[HD2 Android SD Development] famewolf:
Thanks for releasing the update hastarin. I think different people get different issues based on usage. For instance I tether my laptop to the phone all the time for extended periods of time (in the past for example I sat with some terminal patients at night and it helped pass the time when I wasn't needed and internet wasn't readily available).....for some having to toggle airplane mode on and off isn't a big deal...for me having to restart a download without resume 9 times in 4 hours is..especially when you not only have to toggle airplane mode on and off but then also re-enable tethering (I'd happily pay $5 for an app to auto toggle and re-enable tethering when ping stops responding but even that is a stopgap measure)...no leaving it running unattended etc...I usually end up booting to windows mobile when I know I'm going to be tethered for extended period of time although I prefer android for general usage of the phone. I find it very frustrating that the devs are more interested in getting the kernel flashable as opposed to stable....once people are flashing the rom making minor kernel changes won't be as simple as dropping 3 files into the Android dir. Anyway, got off point but hope you can still see my point. ;)

Have you tried the new 2.15 radio at all? In my general area it seems to have better 3g reception then the 2.14...I'm on a fringe 3g area so normally was getting 1 dot for 3g on antenna strength and now get 2.
[HD2 Android SD Development] themadproducer:
I have to agree with the part about making it Stable before it goes to Nand. As enjoyable and frustrating as it's been trying to iron out the kinks for us power users, I (we) really would appreciate the core stability for features such as Data, Led notifications, Call volumes or Camera etc...most of which have improved. It seems that society gets so caught up with cosmetics that we never finish the project so to speak. SDcard experimenting is a breeze compared to flashing. So perhaps ironing out the rest of the kinks before going to Nand would be a more natural progression. Stable is where it's at!

Just my opinion.
[HD2 Android SD Development] sterz85:
the video playback issue is mostly on the builds running the desire HD, i didn't have them when i was running the regular desire builds.

but about the playback issues, one would select a video (on the sd card or on youtube) and the audio will play fine but the picture won't more or will come in choppy

also mdeejay's froyo hd 3.6 is flying with your 7.3 build, THANKS!
[HD2 Android SD Development] mike2518:
sterz85, how is the light sensor working on this build?

i'v read that they got that fixed on the 7.3.

whats you experience been on that? really excited that you reported that 3.6 & 7.3 are working really good. I'm still on 3.4.1 & 7.2, since its running perfect for me minus the light sensor and led notification.
[HD2 Android SD Development] hastarin:
I can understand working on NAND first. It will save them finding a "half way" fix for running off SD then having to redo the work anyway in NAND.

Ah, OK, well as usual I haven't had that problem either. :) I haven't used a lot of builds though. I haven't spent the time figuring out how to easily switch between builds, the use of Titanium Backup, etc
[HD2 Android SD Development] hastarin:
They've changed the light sensor to poll every 1 second instead of every 5 seconds and removed some debug printing. That should make it respond quicker, but I'm not sure if it will fix the issue people had with the screen not coming on.

Personally I don't use it. I just use the Power Widget to change my screen brightness between it's fixed levels.

That said, if people report it's working great I might change my mind and try it out. :p
[HD2 Android SD Development] motoman234:
Light sensor is working damn near perfect! A huge improvement from 7.2, actually everything is running better. This is your best one yet in my opinion! Thanks hastarin.
[HD2 Android SD Development] hastarin:
To be clear, I'm just building it lately. I'm not coding this myself (aside from the extended battery changes and a few tweaks to the overclocking/undervolting)! :)

So a shout out to the guys who are really doing all the work recently:

Cotulla

gauner1986

Markinus

Letama

Rajko

Cass

darkstone

and many more doing their part