yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] F-bone:
interesting work. unfortunately I do not have extended battery to help you out BUT I will get one as soon as you make this work... then some beer ;)
[HD2 Android NAND Development] The_Drizzt:
+1

Great! Good work!
[HD2 Android NAND Development] despy1989:
There you go :)

Your thanks meter is off 0 now
[HD2 Android NAND Development] arne182:
Good to hear. At least then I will have some beer when I am finished with my coding.
[HD2 Android NAND Development] arne182:
Thanks :) Appreciate that
[HD2 Android NAND Development] Chris X.:
Great!

Good to hear.

Did my HTC-EB (2300mAh) a few hours ago returned to Seller.

I had tried everything to avoid the drop. (100 to 60)

Now I'm waiting for the new battery (non HTC 2600mAh...eBay) ^^

Greetings
[HD2 Android NAND Development] Downy:
Thank you very very much for your efforts.

I'll go and test your kernel as soon as possible and leave you some feedback!

Update

I haven't been able to install your kernel into my MIUI release :(

After boot, the old kernel is still active.

Error looks like that:

Installing Kernel

Creating directory and mounting /boot...

mkdir failed for /data/boot, File exists

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

Pushing zImage...

2344 KB/s (2448792 bytes in 1.020s)

Remounting system and pushing modules...

remount succeeded

1543 KB/s (260807 bytes in 0.165s)

821 KB/s (16818 bytes in 0.020s)

1430 KB/s (120879 bytes in 0.082s)

Cleaning up...

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

rmdir failed for /data/boot, Directory not empty

All done!

Drücken Sie eine beliebige Taste . . .

Update 2:

Ok, got your kernel loaded by manually performing the steps from the install bat. It looked like rmdir was not recognized as command, I used rm -r instead.

Also the error level alternative didn't work automatically for me, manually mounting with adb shell mount -t yaffs2 -orw,nosuid,nodev /dev/block/mtdblock2 /data/boot worked fine.

The only problem left now is wlan. I pushed the bcm4329.ko file multiple times via adb, also copied it with root explorer but unfortunately wlan always shows me "error" when trying to activate it.

I've seen this before when bcm4329.ko module didn't match kernel version.

Might be related to the mac address, how should I define my wlan mac address? Inside wlan setting it's not showing me any MAC address? This could cause the problem with starting wifi I think.

Maybe you can check this?
[HD2 Android NAND Development] Lozone:
Can you please make CWM flashable zip?

I would love to try this.
[HD2 Android NAND Development] gentilhomme:
Great work my friend.

I'm using Dandiest DezireZ 3.4 and the original HTC EB is working now.

Again, thanks
[HD2 Android NAND Development] Rudyfastcat:
Will test

I will test this Kernel with my daily use ROM -HD2 CoreDroid DHD-.

As you can see from my signature I am already RAFPIGNA 1.7 New OC so this should be a good performance comparison. :D

Update: Will wait to test-No CWM version available yet...
[HD2 Android NAND Development] Rudyfastcat:
X1............
[HD2 Android NAND Development] leoh:
I second that motion... I spent hours trying to make it work with no luck.
[HD2 Android NAND Development] jimmyid4:
What will happen if I use normal battery with EB kernel?
[HD2 Android NAND Development] hrockh:
I guess a thermonuclear war... lol

EB Kernel is calibrated with different values for the EB battery, not suitable with the stock battery.
[HD2 Android NAND Development] GoCkillaz:
SWEET EB Support! Thanks a bunch man!
[HD2 Android NAND Development] hdanhbka:
I love to use this. Everything works fine, but the camera failed. The screen goes dark when i launch Camera. I've tried some other Nands but nothing has changed!
[HD2 Android NAND Development] seVIIen:
+1000
[HD2 Android NAND Development] claud_face:
Hey arne is there ne way you would be able to make 4.0 compatible with nrg 's new rom?

Thanks!
[HD2 Android NAND Development] arne182:
Thanks, Good to know. I want to anyway get the EB changes back into the main kernel tree. Where can I download the new toolchain?

Rafpigna_v4.0.rar (11.95 MB)	http://www.multiupload.com/3TXICK2C7T

mdj_v4.0.rar (11.94 MB)	http://www.multiupload.com/6Q4ERYNJIO

Work
[HD2 Android NAND Development] dtwizzy:
hey arne, you took some time to finally release it :P never mind i enjoyed this earlier. did you change anything? btw your v4 changelog is missing.

if i can help you with anything you pm me i'm glad to help you :)

gonna do now: try v4 MDJ on MIUI stock latest.

edit:

also change your thread heading to 21.FEB pls
[HD2 Android NAND Development] arne182:
You caught me in the middle of the thread update. I am finished everything log and all. I checked and rechecked everything in the battery driver and I couldn't find any more things that I could do to improve on.
[HD2 Android NAND Development] claud_face:
Hey arne did u incorporate nrg rom too? Ill try as soon as I get home thanks
[HD2 Android NAND Development] Downy:
I have (beside the 2300 official) and 2800mA battery from ebay.

Should I use kernel 1.4 for 2600mA batteries? If so, could you please also compile a 2600mA version for rafdroid kernel? :)

Of course just if you have time!

Thanks a lot :)
[HD2 Android NAND Development] osrix:
Hi Arne, just dropped you a small donation for your work, thanks man.

2 Quick questions, which Rafpigna kernel are you using in V4 and which kernel do you recommend for the Non-htc 2400 ma?

thanks again for your hard work :cool:
[HD2 Android NAND Development] casemandan:
I would go with the 2300ma ... Seems closer than the 2600ma

besides who knows what the real values of the chinese batteries are

I believe he's using the 1.7 version of Rafpigna
[HD2 Android NAND Development] osrix:
Nice one I was hoping He was now using 1.7 and Ive just loaded the 2300 so hopefully all goes well, thanks for your reply mate

EDIT Kernel reading 1.6 so I dunno, it seems like V4 is still based on the Raf_1.6
[HD2 Android NAND Development] Sves:
Thanks Arne! Donated for this release (3Y8326226X661990N) and will do more after I complete the testing. Very appreciated.

What I was thinking about is how safe it would be to use the standard battery with your kernels - is there a risk of overcharging?
[HD2 Android NAND Development] nattyd:
Rafpigna_v4.0 for 2600

any chance of a Rafpigna_v4.0 for 2600 battery
[HD2 Android NAND Development] tieuphi:
Thanks for your greate job, Arne182 :)

As you mentioned, we could use the Arne182's kernel with both eb and original battery? And the problem here is over capacity charging? tks
[HD2 Android NAND Development] Sves:
First post! Already there.
[HD2 Android NAND Development] Sves:
Feedback

Arne, my feedback - I do not know why but GPRS is not working at all (ufff - this was something I was afraid of).

Also it seems that after call the battery drain is abnormal.
[HD2 Android NAND Development] nattyd:
Rafpigna_v4.0 for 2600 battery

Originally Posted by nattyd

any chance of a Rafpigna_v4.0 for 2600 battery

I looked. The only 2600 ones are MDJ. Could u point me to the link for the Rafpigna_v4.0 for 2600. I may have missed it. Thanks.
[HD2 Android NAND Development] Sves:
Ooppss.. You are right - only MDJ - sorry.
[HD2 Android NAND Development] kendonsh:
Rafpigna v4.0 for 2600 battery

i also hoping any chance of a Rafpigna_v4.0 for 2600 battery?

i have had my bad luck with mdj's... plus i have only been using rafpigna kernels with my rom

would be great if you could..
[HD2 Android NAND Development] Chris X.:
MDJ's Kernel v4 non-RAM for 2600mAh Batt. @ HyperDroidGBX v6

Mobile Data ✔

WLAN ✔

BT ✔

GPS ✔

Kernel update via CWM with signed.zip or non-signed.zip. (both works fine here)

Guys, one question.

After the kernel install via CWM, wipe the batt.stats?
[HD2 Android NAND Development] Sves:
GPRS/Edge/HSPDA

Does anyone have problems with GPRS on Rapfigna 4.0? Or it's my personal bad luck?
[HD2 Android NAND Development] tytung:
You can use Sourcery G++ Lite 2010q1-188 (arm-2010q1-188-arm-none-eabi.bin)

http://www.codesourcery.com/sgpp/lite/arm/portal/release1294

No 60ma battery drain after call issue.
[HD2 Android NAND Development] tytung:
Hi, arne182,

Some people wish me add the extended battery support in my kernel.

I would like to confirm the code with you.

Does it mean the modified kernel can support the extended battery if I add your commit (Added 2300 mAh Extended battery Support)?

Thanks in advance.
[HD2 Android NAND Development] jjpdijkstra:
I was wondering.

I have Hyperdroid (19-02) running. What kernel do I install for a 2300 mhz eb?
[HD2 Android NAND Development] jaftim:
GPS working fine on TyphooN CM 7 v2.3.3 and this 4.0 kernel and GPS fix (http://xdaforums.com/showthread.php?t=953630). It tooks about ~1 min to find position after cold reboot.

There is only very bad problem with 60-80 mA drain after any call...
[HD2 Android NAND Development] Sves:
GPRS = mobile internet. Not GPS.
[HD2 Android NAND Development] jaftim:
my misstake, sory)

Checked GPRS - its not working!!! there is "E" icon on status bar, but no activity blinking and no traffic...
[HD2 Android NAND Development] Sves:
Same with me!!! Arne - please fix this - it kills everything.
[HD2 Android NAND Development] Downy:
With kernel 4.0 Rafdroid I have a mobile connection via EDGE, so no problem here.

Using it with Rafdroid 3.1 release.
[HD2 Android NAND Development] Sves:
Shall this mean that prj ROMs are not supported...
[HD2 Android NAND Development] germanandy:
for me evrything is working.

gps,mobile data and wlan.

i´m using ud 3.0.1 and rafpigna V4.0-RAM_signed.zip via cwm.
[HD2 Android NAND Development] SyLvEsTeR20007:
better late than never.....maybe

Arne,

I have not yet upgraded to 4.0 final and have been using a standard HTC 2300Mha for a while plus the standard non EB both have been charged and discharged a few times while running this kernel. While I can see you have released the final, would you like my logs non the less just encase they are of some use to you should you decide to further refine.

Let me know.

SyLvEsTeR
[HD2 Android NAND Development] arne182:
Sure, logs are always good.

60 mA is due to a old tool chain. Will fix this as soon as I get the new tool chain with the fix. Hastarins FAQ does have a fix for this problem outside of the kernel. Read his post on how to get rid of the drain issue.

I am cloning your git and will confirm if it is compatible. Will get back to you on this. But I have my doubts that it will work.
[HD2 Android NAND Development] dtwizzy:
off his FAQ:

10.# My drain is still high (60mA) on standby what can I do?

I suggest trying an auto boot loader with a short timeout such as EBL and 3 seconds. More tips here

i think it isnt suitable for nand use right?

edit:

@arne: "With the changes to the battery driver it will charge until the battery has taken less than 5mA over the last 2 minutes, then recalibrate to 100% and turn off charge. This is similar to the way WM does it (though I think it cuts out at 10mA)." off hastarins post.

same as in your kernel? or how it is in yours?
[HD2 Android NAND Development] osrix:
Arne I have used the 2300ma Raf today but its not good for my non-htc 2400ma, phone froze at 15% so i could switch off or on the screen, so I would like to use the 2600ma _Raf but There is only MDJ? could you make Rafpigna's for 2600 battery??

Also are you using rafpigna 1.7 or 1.6??

Thanks for your work man, i'm glad someone is working on this. i hope one day all new kernels will have EB support. donated to you last night.
[HD2 Android NAND Development] Delphin:
givis22 and me fix 60-80mA battery drain in arne182 kernel.

As arne182 already written:

"This is still in Beta and requires some testing, I am not responsible if your battery breaks. But I am confident enough that I am working with this on my own device."

rafpigna 1.7 only.

ADB install (install_kernel.bat): http://rapidshare.com/#!download|723l35|448478358|ADB_Installing.zip|2836

CWM install (zip): http://rapidshare.com/#!download|75tl2|448478526|rafpigna_v3.0.zip|5312

IMPORTANT: This kernel is usual rafpigna 1.7 + arne182's code (http://gitorious.org/linux-on-wince-...78e68cdb627862) compiled right way for daily use, therefore no 60mA drain after call.
[HD2 Android NAND Development] Delphin:
As I wrote to you:

"To arne182: You have to use the old toolchain, the new one causes this problem, that's why 60ma battery drain after call."

You need not new, you need prev ver. Arne just build kernels with previous version.
[HD2 Android NAND Development] osrix:
Thanks Delphin, where did this come from...which thread or di I miss in the first post? :o

Are you using this with Coredroid Or something better?? :D
[HD2 Android NAND Development] Delphin:
Checked ROM's: :)

CoreDroid 1.2

CoreDroid 1.3

CleanDroid 1.15-1.40, 2-2.02

MarkinuX HD Extra Clean V1.71

HyperDroidGBXv5

And many more,.. I got not all information from people who tested kernel.
[HD2 Android NAND Development] jasonyu007:
V3.0 workable but not V4.0 , Why ?

Hi ! arne182 :

I use your kernel perfect for extended battery . I used V3.0 everything fine . But V4.0 could not bootloops . it stay in GO GO GO !!

I use " imilka's RAM Desire HD v1.0" .

Jason Yu
[HD2 Android NAND Development] casemandan:
did u use the ram version of the v4

i have no problem running ultimate droid ram by crawlingcity Ram
[HD2 Android NAND Development] jasonyu007:
Yes , I had use the ram version of the v4 already .
[HD2 Android NAND Development] hendydundy:
hi arnee,

noob question,

there's 2 version inside the Rar files, which one do you suggested, sign or unsigned version..

thanks..
[HD2 Android NAND Development] fintara:
hi!

i installed rafpigna's kernel on RAFDROID 3.1 , the battery was charging all night and in the morning it says 100 percent. I did reboot and then it says 54 percent - why is that??
[HD2 Android NAND Development] juniecho:
anyone having "system process not responding" issue?

after installing your kernel, with that batch file I got the following:

Installing Kernel

Creating directory and mounting /boot...

rm: can't remove '/data/boot1/zImage': No such file or directory

rm: can't remove '/data/boot2/zImage': No such file or directory

rm: can't remove '/data/boot1': No such file or directory

rm: can't remove '/data/boot2': No such file or directory

Pushing zImage...

1682 KB/s (2448664 bytes in 1.421s)

1642 KB/s (2448664 bytes in 1.456s)

1625 KB/s (2448664 bytes in 1.471s)

1514 KB/s (2448664 bytes in 1.579s)

1640 KB/s (2448664 bytes in 1.458s)

Remounting system and pushing modules...

remount succeeded

1433 KB/s (276025 bytes in 0.188s)

1366 KB/s (187536 bytes in 0.134s)

1217 KB/s (120923 bytes in 0.097s)

1619 KB/s (3061566 bytes in 1.846s)

1508 KB/s (642517 bytes in 0.416s)

854 KB/s (28876 bytes in 0.033s)

Cleaning up...

All done!

Well, after that, I can see EB working, but I get "system process is not responding" message on EVERY boot. After I choose to wait, the message disappears and the phone is good to go.

But how can I avoid seeing that message? is everyone having the very same issue with me? If you need any info please let me know. I think this kernel is near perfect (guess it will be even more perfect after that 60mAh issue gets solved) and I really want to make this error free on my phone.

Thanks.
[HD2 Android NAND Development] kelafny:
Sounds to me like the symptoms of a 'faked' extended battery. Had the same with a cheap HK battery. So rather not a problem of the kernel. Just a guess though
[HD2 Android NAND Development] fintara:
well, i don't think it's faked... the package is original, price etc. :/
[HD2 Android NAND Development] pangccw:
thank you，good job:D
[HD2 Android NAND Development] dtwizzy:
quick info just to see:

ONLY 2mA drain (at latest MIUI) crazy.. least drainage ive ever experienced.

MDJ Eb version 4 by arne :)
[HD2 Android NAND Development] Sves:
I use this version. Absolutely great - no lags, GPS/GPRS/WLAN - 100% working, no drain. Both batteries are supported.

Since installation I could fully charge my 2300 mah battery then it took me 2 days to bring it to 0% (it was a hard job... - Wi-Fi always on, lots of web browsing, GPS...). Then I took off the battery for 10 seconds and inserted it again - and turned on - it showed 0% (this means that the kernel was absolutely correct in its measurements).

My ROM now is very close to prj's but without Sense (made by Russian guy (givis22) - not sure it was uploaded to XDA). Anyway, it's close to Desire stock.
[HD2 Android NAND Development] casemandan:
Do signed for CWR
[HD2 Android NAND Development] hendydundy:
Tytung Kernel

Hi Arnee,

I see that Tytung released a kernel R6, old cam libs. already support EB.

kernel support enterprise wifi spot, then i can connect to my company wifi spot, but the problem is battere reading is not correct.

with your kernel V4, none of them i can connect to enterprise. only standard wifi spot.

do you any plan to use tytung R6 for development, coz that will be great.

thanks and regards.
[HD2 Android NAND Development] quanthien84tester:
awesome! so far it has to check EB 2300mAh working on. 1230mAh using 1 day, outcome hoping 2300mAh using 2.

anyways, appreciating to this topic.

--

confirmed Dandiest Desire Z 3.4, 4.1 used fine.
[HD2 Android NAND Development] atungbk:
Yeah, confirmed YES from DesireZ 4.1 Nand :D
[HD2 Android NAND Development] keno7777:
Anybody had experience with these Extended Batteries will it work?

2600MAH

http://cgi.ebay.com/2600-mAh-Extend...163181?pt=PDA_Accessories&hash=item2a0cf758ed

2400MAH

http://cgi.ebay.com/EXTENDED-BATTER...377433?pt=PDA_Accessories&hash=item4155dc5599
[HD2 Android NAND Development] Renegade_Rulez:
I use HyperDroid V7 and that uses Tytung R6 so good EB battery support for that would be awesome, it works now already but it just does not display correctly.
[HD2 Android NAND Development] Chris X.:
I have the 2600mAh EB...with Hyperdroid v7 seems to work. (Kernel: Tytung R6)

But look @ Renegade_Rulez

...display is not correct
[HD2 Android NAND Development] keno7777:
Thanks for the reply Chris X. Is this the same 2600mah that I posted on the link? What about the size, is not too bulky right?
[HD2 Android NAND Development] Chris X.:
yeah the same

"too bulky"?

mmmmh look @ pic (its the orig. 2300mAh similar to 2600mAh)

Of course, the 2600mAh is a little bit bulky but in my mind not as org. 2300mAh ;)
[HD2 Android NAND Development] keno7777:
I'm just making sure is the same one. Thanks again.:)
[HD2 Android NAND Development] invisiblebm:
Hi. I flashed with mdj. Kernel and call sound was very low. With rafpigna s kernel I had 3g but wasn't able to connect to market and internet . I am using Skink clean desire. Only managed to work with coredroid. Thanks in advance for replies.
[HD2 Android NAND Development] matmar:
ok with 1230 original and DHD Imilka RAM V1

Juste to report that everything is ok with imilka V1 and 1230 batt:

data : ok

wifi : ok

call : ok

internet : ok

market : ok

wake up lag : 1,5 s

screen on/off during call : nearly perfect

battery drain : not measured but minimal

will try tomorrow with my original HTC eb (i do not have it with me:() and report then if everything also ok.

thanks a lot for your work, it was a pity to get a battery not used..

2 questions :

I installed the "not signed" kernel, what is the difference with the signed one ?

Is the indication in software section of about the phone supposed to change and indicate something related to eb ?
[HD2 Android NAND Development] matmar:
EU HD2, Radio 2.14.50, SD transcend 16 Go C6
[HD2 Android NAND Development] ceejay_aranilla:
hi im new at changing kernels, im using rafpigna 1.7, can anyone teach me how to install this kernel? (im using the 2300 eb) using miui nand

as rom

thanks!!
[HD2 Android NAND Development] osrix:
Start device into magdlr menu and select option to boot into AD recovery,

Connect the Device into USB

.select mounts and storage

.select mount USB storage

.Copy "Kernel" #.zip to the root of your sd card

.Press back key after finish

.Press back key once more

.Select install zip from sdcard

Select choose zip from sdcard

.Select Kernel file and then confirm

.Wait for it too finish

.After flash options pop up again Press back Key

.select Advanced > wipe Dalvik cache

.Wait for it to finish.

.press back key

.select reboot system now

hope that helps, I copied most of it from Celldroids Flashing guide but edited for your needs!
[HD2 Android NAND Development] ceejay_aranilla:
Thank you very much! what is the difference between the ram and non-ram? what is the difference between signed and unsigned? am i suppose to copy just that part? sorry for all the questions,
[HD2 Android NAND Development] osrix:
Thats Ok, if the thread of your ROM says RAM in the title then use the ram kernel, if not just use the Signed Raf_V4, The Un-signed version is just if you need to edit the kernel for some reason, it does say in the thread somewhere!
[HD2 Android NAND Development] nattyd:
Just realized you are having computer issues. Sorry to hear that. How is it coming along? Were you able to recover anything? Hope all is well.
[HD2 Android NAND Development] arne182:
I have reinstalled but windows 7 formatted my data drive aswell. 1 TB gone. So I am busy reinstalling everything from backups. It will take some time but I am almost there.
[HD2 Android NAND Development] matmar:
not working...

with imilka RAM DHD V1.0

installed with root folder of imilka : phone switch off just before showing pas for PIN code (but ok with 1230 mA batt)

installed with CWR : stuck at Go Go Go...(with both battery)

what to do ?

used with 2300 mA htc eb
[HD2 Android NAND Development] nattyd:
Did you try using the custom CWR that Arne's said to use in the begining of the first post. here is the link http://www.multiupload.com/2QJII0HL27
[HD2 Android NAND Development] hendydundy:
Damn.. 1 TB gone? That's what i called as catastrophic, i hope you can recovered everything and back in action..
[HD2 Android NAND Development] matmar:
!

it is a 220 Mb , i am trying with 8 MB of Boot...and cross fingers !

ty:p
[HD2 Android NAND Development] matmar:
???

wifi error with both signed and unsigned zip RAM...

What to do more ?

thanks in advance
[HD2 Android NAND Development] Moon2:
Seems to be a CWR prob, try the attachment, install using adb.
[HD2 Android NAND Development] HC4Life:
I need help for this.

I have an original HTC extended battery 2300mAh but isn't works and my HD2 is running a Coredroid Desire HD build. I wanna know what is the best kernel to use.

Thanx ;)
[HD2 Android NAND Development] osrix:
Pekas what do you mean? the best kernel to use is the Rafpigna V4.0 from the first post.
[HD2 Android NAND Development] shahnowaz:
Did you ever restarted your roughter after install?

some body mentioned in this forum that fixed his problem.

dont use ram version use other signed version.
[HD2 Android NAND Development] HC4Life:
And it works with the original HTC extended battery?
[HD2 Android NAND Development] osrix:
Did you try it yet?

2300ma is the correct one for the HTC Battery, but i have not tried since i have Non-HTC 2400ma

It is best to install the kernel with the ROM to avoid issues.

Flash coredroid.zip > then without reboot flash rafpigna V4 > then Reboot.

Another way but may cause issues,

Boot into CWM > wipe dalvik cache > then install raf_V4 > Fix Permissions > Reboot.

The kernel should display the correct values for the 2300ma HTC extended battery

EDIT: to be able to install the ROM with Coredroid V1.4 you also need to edit the flash.cfg file to:

misc ya 1M

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

boot yboot|ro 8M

system ya 390M

cache ya 6M

userdata ya|asize|hr allsize

This allows for the larger boot area needed for the extended kernel, Edit thflash.cfg and then Flash the included DAF before install of the Rom then immediately install the new Kernel before reboot.

sorry i forgot this earlier