yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] arne182:
Replys

Downy

The .ko files that are in the rar do work with the kernel.

Will need to download and test the MIUI havn't tried it on that one yet.

lozonw, seVIIen, dtwizzy, hendydundy

I wish I knew how to make the CWM flashable zip. I will find a way to make the flashable file. Its on the todo list. Will get to it.

gentilhomme

Good to know that it works on the DesireZ 3.4

Rudyfastcat

There is not much performance difference between the origional rafpigna and mine. I was more concentrating on the Extended Battery Support.

CWM version will be done later when this is working 100%

leoh

Let me know what rom you are using and what you are stuck with.

jimmyid4

The noraml battery will indicate a much lower temperature and I can't garentee that it won't overcharge the normal battery.

GoCkillaz

Pleasure

hdanhbka

Strange that the Camera fails but that might have to do with the EVO based kernel. You need to use it with one of the new roms and it will work. I suggest DL.DesireZ.v3.4.final.nand or TyphooN_CM7_v1.8.

claud_face

Thanks

fintara

Language, Language
[HD2 Android NAND Development] ElBartoME:
It's working so far. Finally a working eb kernel.

I'm looking at the logs right now. I guess T=350(24) means 24°C, right? EDIT: I realize that it's hexadecimal...What's the real temperature?

If you need logs, just send me a message.

BTW I'm using the original extended battery.
[HD2 Android NAND Development] firegun:
Thanks, i was waiting for Ext battery support(kernel) just got OEM EXT Battery.

i will try this and report back.

Thanks again
[HD2 Android NAND Development] ElBartoME:
http://dl.dropbox.com/u/7497706/Extended_Battery-signed.zip

Here is a CWM compatible zip.

MAKE A NANDROID BACKUP BEFORE APPLYING

Use it at your own risk.
[HD2 Android NAND Development] ElBartoME:
I just made an observation.

There is still a major drop/rise! It jumped from 1220mAh right to 2300mAh while I was charging.

http://pastebin.com/2XZHXpuu

You can see it in the log (line 166).
[HD2 Android NAND Development] seVIIen:
After flashing it, it show "2.6.32.15-g39281e5-dirty" in kerel version. Is it right??:confused:
[HD2 Android NAND Development] ElBartoME:
Yes, that's right.
[HD2 Android NAND Development] arne182:
2300 was the right value for it to be. The jump probably comes from it thinking that it is a normal battery and then somehow realizing that it is an extended. Capacity is not 100% reliable but looking at Voltage is pretty accurate.
[HD2 Android NAND Development] ElBartoME:
Yes, I see what you mean. I'm discharging the battery right now and it seems accurate.

I'll let you know if I find more things.

BTW, what did you change in the kernel? I've compiled a kernel with Hastarin's old eb changes but it didn't work. But as far as i can see you're using the new battery driver. Hastarin's kernel used the old battery driver.
[HD2 Android NAND Development] arne182:
Yes Old and new driver. I changed the

temp_01c = get_temp_01c(battery)/2; in ds2746_param.c

1230 to 2300 in ds2746_param_config.h

But there are more correction factors to be added and auto detection code to be done. I remember working on Hastarin's kernel the old batter driver was very simple and could be manipulated easily. The new one is spread over many different files.
[HD2 Android NAND Development] jimmyid4:
Failed to apply CWM zip file to RAFDROID HD 3.0. It won't boot. May I ask what android version you are using?
[HD2 Android NAND Development] ElBartoME:
I'm using MDJ Cyanogenmod7. Are you using CWM 1.3?

Can you describe the problem?

Sent from my HTC HD2
[HD2 Android NAND Development] jimmyid4:
Yes,I use CWM 1.3. After applied zip file, I reboot it and it stuck at GOGOGO.
[HD2 Android NAND Development] raysacr:
Same here, use CMW and now stuck at GOGOGO. Using CMYLXGO's HD(2) stock ROM
[HD2 Android NAND Development] Downy:
THX @arne182 for your PM and the CW flashable kernel.

With the actual CW kernel I was able to flash it correctly and now everything seems to work very very well.

My wlan problem was fixed (got correct MAC address now, also no "error" on wlan startup).

I now start my tests (deleted batterystats.bin to get real values) and load it now.

I'll keep you updated of course and can not thank you enough for your effords to get us nand and extended battery users a real working kernel finally!
[HD2 Android NAND Development] raysacr:
So, any solution to the stuck at GO GO GO issue? I'm using magldr 1.13 and cwm 1.3.
[HD2 Android NAND Development] raysacr:
So I flashed back to my old kernel, and then use the ADB method. Phone booted up but then restarts when Android boots. Good try, but this is not ready for prime time yet. =(
[HD2 Android NAND Development] hdanhbka:
Lovely, i got Typhoon CM7 v 2.1, update kernel via CWM, it works fine!:)

Let me try more!!!

with Love!:cool:
[HD2 Android NAND Development] dtwizzy:
i installed it via CWM zip of the user some pages ago, kernel-info displays the new kernel. so far so good i cant see any changes? what makes this one extended battery supporting? removed batterystats.bin and using my phone for today.

but as in magldr 1.13 the phone boots up at "android shutdown" (it makes a reboot), and boots up if i connect the charger i cant charge it while off, so resetting battery stats are likly useless unless i charged it to full.. any ideas?
[HD2 Android NAND Development] ElBartoME:
Strange. I have no idea why it should stuck on the go go go screen. Maybe it's incompatible with some builds. Can someone with the issue use the adb method to install the kernel and report?

If you have problems with adb, contact me.

I want to know if it's the kernel or cwm that screws up.

Sent from my HTC HD2
[HD2 Android NAND Development] raysacr:
I had the gogogo stuck issue. I then use ADB, phone booted past the HTC "quietly brilliant" animation, and then restarted. I'm think for some reason this kernel isn't compatible with the cmylxgo's HD build, even though, i'm using raf's 1.7 unmodified kernel with it right now.
[HD2 Android NAND Development] seVIIen:
I have s same problem, it turn on automatically!!!
[HD2 Android NAND Development] mwakious:
this is not a kernel problem but from MAGLDR
[HD2 Android NAND Development] miha_k:
its working for me...Great job mate! the extended battery measure is ok now.. :D :D i used ADB.
[HD2 Android NAND Development] leoh:
I'm using Tytung's NexusHD2 V2.1 with your CWM version's Kernel and am using a 2600mAh UNofficial extended battery.

The kernel installed easily. Didn't notice any change in the speed of battery charge droppage. Camera isn't working now.

I'm reconditioning the battery today by doing the 'deleting batterystats.bin method' and hope to see the results I've been waiting for.

Wish me luck!
[HD2 Android NAND Development] dtwizzy:
yes its a bug of magldr, stated by cotulla this will be fixed in an upcoming / in the next update of magldr, also the reboot when you "shutdown" via android end-call buton will be fixed
[HD2 Android NAND Development] hendydundy:
i'm coming back with an update..

Big thanks to Elbartome, finally can use the kernel and makes my EB useful again after some time .. ( since nand came out actually )

everything working good so far...flawlessly...

Using Rom HD2One.

i'm wondering where's the guy that "cooking" HD2ONE, it's the rom that i'm using until now...

try so many rom, but always coming back to HD2ONE... for the stability and daily use.

Big thanks to Arne.. for his great job..
[HD2 Android NAND Development] Sves:
I was just wondering if it is possible to update the kernel I use without changing it to Rapfigna. I like prj kernel and it seems that only some files shall be changed.

Is it realistic or there is no way to keep the kernel?

By the way, it was discussed here that Hastarin drivers did semi-support of EB - they charged the battery only for 60% - this is why there was no real difference between the normal and extended battery life. Is your solution different, so it fully supports and uses the capacity of 2300 mah battery?

Anyway, many thanks for your work. Once I understand that I may surely use my EB - I will donate you :)
[HD2 Android NAND Development] tilleke:
Finally! Many thanks to the OP for this kernel.

I am still using Android in SD-mode and my battery never lasts more than 7-8 hours even when I hardly touch it. This is the reason why I haven't yet flashed my HD2 with a NAND-build.

Perhaps now I can order an extended battery and be able to use Android on my HD2 for an entire day. In this regard, for those already trying this kernel with EB-support, how many hours does your battery last?
[HD2 Android NAND Development] dtwizzy:
standard battery + nand = about 12h medium/average use (for me as a student, including ~50+ sms), extended battery + nand? ive read somewhere about 3days light usage/standby. Average is something lower, today unplugged at 6AM, now about 9h after it doenst even took 1/8 of the batt

the highest drain ive ever expierienced is about 600mAh (i wanted to drain so i did everything in order to), with gps, wlan, wlan stream, bt, highest screen brightness, LED flash, and in-game took me to 600mAh i guess. just to imagine how long your battery will last, as in my case i had to wait about 4h with that, in order to fully drain EB.

current widget shows your mA so if you will stay at 100mA you will get 23h uptime. standbye is about 2-4mA so calculated with 3mA makes the HD2 over 1 month in standbye.

just for the guy still stayin at SD build, take the chance/change u will expierience a really new phone :)

@Arne

good kernel really appreciate your efforts to support EB, as it seems that nobody are likly to do, maybe more people will buy an EB then :)

just one thing, compared to MDJ S-series (10.4OC) your quadrant score is really lower than MDJs (~999 on first run, expected to stabilize at around 1100), maybe you can improve the speed or something i'm not an expert :P anyway high5 and thumb up :)

cheers, dtwizzy
[HD2 Android NAND Development] SyLvEsTeR20007:
Kern performance

Hi Arne, thanks so much for this, I am so pleased to see my EB working, I did notice that the kern has some serious issues with performance. while quadrant is not a great method for benchmark I can say it did show about 200 points lower than the kernal provided with the rom im using CleanDroid 1.40. the stock kern with this rom is slower than my Nexus HD2 Froyo 1.9G rom, once again, this does about200 - 300 points higher in quadrant.

the most obvious difference was in the app drawer, your eb kern shows lagging when it open compared to most other roms that seem to run pretty smooth, once agian, I know this is in alpha so its most likely a matter of tweaking.

Just wanted to give you some feedback.will test your rom on my 1.9G rom for comparison and report back.

Please dont give up, your really making a big difference and I will be keeping an eye on your kern to see if performs and will donate when i get some money :)

ps. I used another benchmark program and since dropping to a 1.19 overclock kern the score is much lower than with your kern, i am sure this is due to the 1.5ghz overclock. so it must be a gpu or i/o thing.
[HD2 Android NAND Development] claud_face:
Hey guys I haven't received my eb battery, but when I do do you guys believe it is a good idea to use this kernel to fully charge up and drain the battery all the way a few times.

I realize with newer batteries this might not even be necessary, but I'd like to "break it in" in my mind, so do you think I could use it with this kernel or should I go back to wm6.5 just to make sure it fully charges and discharges.

Also, I have "cheap" extended battery and just wanted to know if this kernel would work with it. I'm assuming no because I heard that these cheap batteries don't have certain chips that allow for the kernel to read the speed of discharge so essentially there is no way ever for one of those knockofs to display correct drain speed?

Correct me if I'm wrong.

Thanks
[HD2 Android NAND Development] arne182:
I am planning to get the Extended battery working in MDJ, prj and Rafpigna. I chose his to start with but the patch can be applied to all the kernels.

I programmed with Hastarin for the extended support before. We had different ideas on how to get it working. My one used about 95% of the battery but it was not taken over to nand. That I can look into later.

At the moment this release is 90% accurate and enough so that people can help me test and get the stats that I need to get the percentage higher.
[HD2 Android NAND Development] asadali:
am using unofficial eb i updated via cw all went good wifi not working

am using typoon 2.0
[HD2 Android NAND Development] asadali:
any help? i updated again... no luck for wifi...
[HD2 Android NAND Development] arne182:
That is a problem with that ROM.

http://xdaforums.com/showthread.php?t=933951&page=82

I am using v1.8 and no issuses but like the post says 1.9 wifi works after that it doesn't.
[HD2 Android NAND Development] salty bisquits:
Can this kernel work with Cmylxgo's Blue Topia using 2300mAh battery?
[HD2 Android NAND Development] myaditya:
Yes I have got my eb working fine along with camera and camcorder on my hd2
[HD2 Android NAND Development] jjpdijkstra:
HyperDroidGBXv4.0

Maybe I'm just ignorant but is it working with Gingerbread 2.3.2

[11 FEB][CWM][★★★★★]HyperDroidGBXv4.0[AOSP-2.3.2][a2sd+][KER:tytungr2][SMOOTHEST UI]

Originally Posted By: pongster

please pm
[HD2 Android NAND Development] raysacr:
Can someone with my skills than me find out why this doesn't work with cmylxgo's stock desire HD(2) rom?
[HD2 Android NAND Development] asadali:
revert back to non eb kernel solve the problem of wifi i get constant error over wifi icon togle.. the problem is with driver...
[HD2 Android NAND Development] asadali:
arne182

reverting bak to normal kernel fix my wifi... my problem is not like one described in the thread u told.... i get constant eror over wifi toggle option
[HD2 Android NAND Development] arne182:
It should work fine, but I would ask you to wait for me to finish MDJ's kernel with extended battery support.

I will be done soon.
[HD2 Android NAND Development] jimmyid4:
stuck at GOGOGO

Report:

Still stuck at GOGOGO!

I guess it should be the build's problem not the kernel's.
[HD2 Android NAND Development] salty bisquits:
Cool thanks again Arne for this thread !!!
[HD2 Android NAND Development] raysacr:
Still stuck at gogogo with both MDJ and Raf 1.8.
[HD2 Android NAND Development] hdanhbka:
charging problem, the HTC show green light in a short times since i pluggin the charger, the indicator show 100%, but it goes down rapidly!
[HD2 Android NAND Development] Le_Black:
Thanks a lot :)
[HD2 Android NAND Development] arne182:
Will have a look at this tomorrow. There must be something wrong with the modules.
[HD2 Android NAND Development] ElBartoME:
Just tried the MDJ version and it looks fine so far. I think the jump from 50% to 100% still exists, but that's not new.

I must say that the MDJ version is much smoother than your old one.
[HD2 Android NAND Development] Olli221:
+1

thx, olli
[HD2 Android NAND Development] lhayati:
This is exactly what i'm looking for :)

But no compatibility with standard battery :(
[HD2 Android NAND Development] arne182:
Can you load cwr after applying my zip? And which rom are running?
[HD2 Android NAND Development] ElBartoME:
Yes, I'm still able to go into the recovery menu.

I'm using MDJ Cyanogenmod 7.
[HD2 Android NAND Development] laguna 2:
thank you friends
[HD2 Android NAND Development] bates_1974:
So have you solved the issue? Or are those downloaded links unchanged?

Looking to try this but first method gave me bootloop and 2 cwr versions left me stuck at go go go, this was on rafpgina hd build.

Back on coredroid now so will try on that too
[HD2 Android NAND Development] arne182:
Will fix it in .19

The error lies in how the cwr script was written. I will have to write my own. But when I am finished all evo roms will work.
[HD2 Android NAND Development] Olli221:
Do you also fix the WiFi-Issue?
[HD2 Android NAND Development] arne182:
Which Rom, which EB kernel, can you send me the data log as explain in post 1. Or even the Battery indicator pro and Current widget log would do if you can't use adb.

I have noticed some strange things with the indicator lights. Remember that this is still in the testing phase and might still have lots of bugs.
[HD2 Android NAND Development] ElBartoME:
http://pastebin.com/RGCb4xzR

Here is a long log. The jump occurs on line 1454.

MDJ Cyanogenmod 7 with original HTC EB.
[HD2 Android NAND Development] Mik0:
Glad to see that there is development for NAND EB with the help of arnie, many thanks for your contribution.

Can you guys provide some insight as to how the EB kernel is working with the builds that it works with so far. Like, does it drain 100% to 0% normally so far? Also, it would be great for members to post which builds and which kernels things are working well, and add to the list on the first page.

I'm using an older build (Bluetopia) with prj 0.4 kernel with my non-HTC EB 2400mAH. This kernel seems to support my EB quite well and this is what I've noticed. Charges fully to 100%, drains slower than the OEM battery until 15%, where it then 'pauses' for quite a long time, and then begins to drain to 0%.

When it's a 0 percent, its fully drained. (taking out the battery and putting it back in does not get a new higher reading)
[HD2 Android NAND Development] claud_face:
If its getting stuck at fifteen percent I don't think the kernel is solving the issue because I have same problem and also drains to zero and the battery is fully drained. This happens to me with a regular kernel without eb support
[HD2 Android NAND Development] arne182:
Thanks for the log, with this I have added a fix for the problem in 0.19. Testing it now and if the test is good I will post it. Have you noticed that the temperature measured is constant? 40°C to be exact or in the code maxtemp 80/ 2. Have also a good idea to get the temp to be correct but let me test it before releasing.

Really don't like it if you spell my name wrong. But anyway. There is a constant indication but a bit on the high side so stays at high % values for more than it really should. There is a bug with 50% to 100% jump due to the capacity difference and the correction factors. It would be interesting to see how your 2400mAh works with this new kernel. The driver is using 90% of the Origional 2400mAh but I am sure I can get it to at least 95% like I did on the SD kernel.

The issue is in the indicator correction factor. If you look at the current it works fine, if you look at the voltage it works fine. This 50% issue comes from unpluging and pluging in to charge and the driver thinks its the old battery for a short time till it jumps back to the real value. I personally have not come across this problem. But 0.19 will have a permanent fix for this as I have seen the problem in the logs and corrected it.
[HD2 Android NAND Development] ElBartoME:
Yes, i've noticed that too. The raw value doesn't change and it just stands at 40°C...
[HD2 Android NAND Development] claud_face:
Hey Arne, I'm just confused now. Long story short although I just got my eb and will be testing ibhave a question. Is it possible to ever get accurate battery percentage the entire time with a knockoff battery from eBay that's like ten bucks that's usually 2400mah?

I'm asking this because ivhave yet to hear a knock off ever function fully while I did hear the official 2300mah function fully such as on wm6.5. I'm just curious because I believe if the knockoffs work this is the first time they would ever fully function making getting the official battery almost pointless to get as its like five times the price.

Also, as I mentioned before there's some kind of chip in the official that the knockoffs lack which is why I heard what I'm saying here. Sorry I'm just curious.
[HD2 Android NAND Development] Delphin:
Can't fing link to zip for CWR with Rafpigna EBv1.9: recompiling in your post. How to get and test it? :)
[HD2 Android NAND Development] fintara:
There were some links (i got stuck at GOGOGO w/ them). Maybe he is fixing 'em now ^^
[HD2 Android NAND Development] bates_1974:
Jesus, you wait until it's recompiled, then he'll add the link
[HD2 Android NAND Development] Mik0:
Is it just me or does it drain to 15% slower than the OEM battery?
[HD2 Android NAND Development] shahnowaz:
misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 8M

system ya 400M

cache ya 8M

userdata ya|asize|hr allsize

above partition size fix my go go stuck problem

misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 5M

system ya 400M

cache ya 4M

userdata ya|asize|hr allsize (this one cause problem)

still working fine
[HD2 Android NAND Development] arne182:
Good to hear that there is a fix for now. As soon as I get the changes back into the main tree it should filter down to all the kernels and roms.
[HD2 Android NAND Development] hdanhbka:
I'll post a log here after trying MDJ Cyanogen. with 1.9v!

Tks!!
[HD2 Android NAND Development] SyLvEsTeR20007:
IM running 1.9 at the moment and im getyting a battery drain of 200mah when the screen is off. is there a glitch?
[HD2 Android NAND Development] Olli221:
I

do you mean reinstall CWR 1.3?

After reinstall with the new flash.config his make a bootloop. Also not possible to restore Backup.

Maybe you have to make a completly new install of OP?
[HD2 Android NAND Development] jimmyid4:
May I ask what is the difference between "signed" and "not signed"?
[HD2 Android NAND Development] Olli221:
v. 1.9 - still gogogo :-(
[HD2 Android NAND Development] bates_1974:
I've still got the same on RafDroid, I'm going to wait a while a now until we get some nice progress, already caused two builds of mine to crash as bootloops have damaged my ext partitions.

Still, good work so far Arne, was working for me on Coredroid
[HD2 Android NAND Development] arne182:
If you use the install_kernel.bat it should never give you the gogogo error. It is more advanced than the CRW method.

Will install RafDroid and check it out and report back.
[HD2 Android NAND Development] bates_1974:
I've never got past go go go, all methods have been tried, adb and 2 cwr versions
[HD2 Android NAND Development] Delphin:
If I understand correctly: There are no way to change kernel using install_kernel.bat in ROM flashed with CWM.
[HD2 Android NAND Development] atungbk:
I have the same question! Bump!
[HD2 Android NAND Development] jimmyid4:
Does it has anyhing to do with 400m layout?

Since RAFDROID and Imilka vision 4.1 both stuck at gogogo and they both use CWM 400m layout.
[HD2 Android NAND Development] Olli221:
I use CWR 400 mb layout, rafpignoa-rom and have gogogo-issue.

I'm not able to use adb method. Nothing changes.

(same problem in droid-explorer. I can see root and sd-card, but can't delete or overwrite.)
[HD2 Android NAND Development] Delphin:
Trying to install kernel, but can't done.

Some error messages during install_kernel.bat execution. Log here:

Installing Kernel

Creating directory and mounting /boot...

mount: mounting /dev/block/mtdblock0 on /data/boot1 failed: Invalid argument

Pushing zImage...

1034 KB/s (2448996 bytes in 2.311s)

1013 KB/s (2448996 bytes in 2.360s)

1201 KB/s (2448996 bytes in 1.991s)

1287 KB/s (2448996 bytes in 1.858s)

1072 KB/s (2448996 bytes in 2.229s)

Remounting system and pushing modules...

remount succeeded

1137 KB/s (276025 bytes in 0.237s)

897 KB/s (187536 bytes in 0.204s)

861 KB/s (120923 bytes in 0.137s)

1071 KB/s (3061566 bytes in 2.789s)

1140 KB/s (642517 bytes in 0.550s)

640 KB/s (28876 bytes in 0.044s)

mkdir failed for /system/lib/ram/modules, No such file or directory

1100 KB/s (276025 bytes in 0.245s)

1006 KB/s (187536 bytes in 0.182s)

215 KB/s (120923 bytes in 0.549s)

1184 KB/s (3061566 bytes in 2.524s)

1013 KB/s (642517 bytes in 0.619s)

687 KB/s (28876 bytes in 0.041s)

Cleaning up...

umount: can't umount /data/boot1: Invalid argument

rmdir failed for /data/boot1, Directory not empty

All done!

Press any key to continue . . .

What the problem?