yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] MontAlbert:
perosnally i have found beta5 to be the best for me by a mile. beta4 had issues turning data back on for me but not once in the entire time i have used it (installed the day it was released) has it not restarted data after losing it (mostly because i work in a radiology dept with a heap of lead walls and crappy reception)... cant remember having lost it when not at work.
[HD2 Android NAND Development] mwakious:
hi i'm using the on in my signature,you can find it here:

http://xdaforums.com/showthread.php?p=12931682&highlight=clk#post12931682

post 1493,until now its the best i used....only issue the boot time,use beta4
[HD2 Android NAND Development] JJKameR:
And so the result of my test of wrapper 5 is the following.

Data reliable for the whole day... but totally disappeared once.

I had to restart to have it back... going through airplane mode didn't helped.

Isn't there a way to restart only the wrapper instead of the whole phone?
[HD2 Android NAND Development] seadersn:
activate plane mode and deactivate it for disable and enable all connections or in terminal emulator

su

killall rild

that should do the trick. :)
[HD2 Android NAND Development] JJKameR:
Plane mode didn't change a thing yesterday. Today when (if) it will happened I will try the killall rild.

Thanks!
[HD2 Android NAND Development] JJKameR:
Unfortunately even killing rild didn't helped... I need to restart to have back data connection. :( I am sadly flashing back magldr.

Sent from my HTC HD2
[HD2 Android NAND Development] mwakious:
hi,i went to the thread of your build,they say that it wroks very well with clk....:confused:,try using the recovery posted from tyween: this http://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fxdaforums.com%2Fshowthread.php%3Ft%3D933951&v=1&libid=1307307321346&out=http%3A%2F%2Fwww.multiupload.com%2F7X12LB3TLI&ref=http%3A%2F%2Fxdaforums.com%2Fshowthread.php%3Ft%3D933951%26page%3D1132&title=%5B04.JUN.11%5D%5BMAG%2FcLK%5DTyphooN%20CyanogenMod%207%20Nightly%20v3.3.4%5B2.3.4%5D%5BA2SD%5D%5Btytung%20r10%5D%20-%20xda-developers&txt=cLK%20150MB%20System%2F5MB%20Cache%20(ClockworkMod%20Recovery%20v3.0.2.5) or http://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fxdaforums.com%2Fshowthread.php%3Ft%3D933951&v=1&libid=1307307321346&out=http%3A%2F%2Fwww.multiupload.com%2FQ7OXOKR8EA&ref=http%3A%2F%2Fxdaforums.com%2Fshowthread.php%3Ft%3D933951%26page%3D1132&title=%5B04.JUN.11%5D%5BMAG%2FcLK%5DTyphooN%20CyanogenMod%207%20Nightly%20v3.3.4%5B2.3.4%5D%5BA2SD%5D%5Btytung%20r10%5D%20-%20xda-developers&txt=cLK%20140MB%20System%2F5MB%20Cache%20(ClockworkMod%20Recovery%20v3.0.2.5) without changing the recovery or wrapper...
[HD2 Android NAND Development] dung8604:
I agree with everyone here. I wish I could leave magldr, but I get such terrible connections with ppp. I'm sure this has been answered many times already, but why can clk not use rmnet? I'm on my mobile so I can't search.
[HD2 Android NAND Development] stirkac:
because cotulla hacked part of desire's radio to load rmnet with magldr. leo's radio doesn't have support for rmnet.. this has been told many times..
[HD2 Android NAND Development] cedesmith:
farewell...

Hi.

Since my last posts (and updates) my cute little boy came into being and my spare time for HD2 reached 0"0'.

After very little thought i decided to swap my HD2 for a SGS2 (probably tomorrow) so my development on hd2 stops here. I am hoping the close friend who bought my HD2 (and is also a IT student) will start toying with it and code some of the things i wanted to do but never had time to do/finish.

In the end i want to thanks every one who supported my work and specially to William, Jan-Tay and Cristian who appreciated it enough to donate and with some sadness say

FAREWELL....
[HD2 Android NAND Development] dusko_m:
thnx for everything and congratulations on a new family member. Hope your friend is as skillful as you are

One question regarding rmnet. is it possible to use rmnet with cLK on a level that was possible with SD builds? I'm only interested in checking email and light browsing with opera mini while I am on mobile connection so I can live with lower bandwidth but would like more stable connection
[HD2 Android NAND Development] :
I hope someone take on the development...you did an awesome job with cLK, I'm lovin it and I'm proud to be one of the little donators-group :)

As already stated one time in your Thread:

cLK > magldr

...sad, that not more shows there appreciation to it.

I will stick with your bootloader until I get my Sensation or EVO 3D this summer.

Have fun with your new phone (-;
[HD2 Android NAND Development] JJKameR:
That was my starting point.

Sent from my HTC HD2
[HD2 Android NAND Development] arif-ali:
Farewell, and thanks for all your work

It would be very useful if you could publicize your ril_wrapper work, so that wither myself or others can take over. I will try to look at any other stuff that could be possible with cLK, learn, and continue develop if I can

again thanks for your work, you will be missed
[HD2 Android NAND Development] seadersn:
the ril_wrapper work is online @ his github profile:

https://github.com/cedesmith/libhtc_ril_wrapper

maybe this is sufficient? :)

cede, thx for all you did for the hd2 community! if financial situation would be better here, i would have donated too; but that's unfortunately not the cause :(

let's fetz ;) and good luck for your little family!!
[HD2 Android NAND Development] xlanhackerx:
This sound very sad because your bootloader was a great product of opensource and i think the biggest hope for every HD2 User who wants to get off from MAGLDR !!

I know you doesn´t want to develop for the HTC Leo but you have all the knowledge especially your bootloader !!

One big think I hope would be great if your bootloader could use the "last 24 mb of Nand" !!

If we have some questions about your bootloader and work could we asked you for little helping ???

Thanks for your great work !
[HD2 Android NAND Development] stirkac:
thank you cede for all of your hard work, i wish you very best with your new family members :)

my only hope is that development does not die with you going! we've got some juice to squeeze out of hd2's left :D

cya around sometimes(i may get myself sgsII too if all goes well)
[HD2 Android NAND Development] arif-ali:
new Thread

If it is OK with all and cedesmith,

I will open up a new thread soon, and start updating with everything in that for all-in-one cLK development and guide and howtos, and any amendments I will make will go there

With all the howtos, and downloads in the first few posts.
[HD2 Android NAND Development] white-energy:
Great idea.. i've been waiting for this.
[HD2 Android NAND Development] agormog:
Thank you cedesmith for all that you've done in the HD2 community.
[HD2 Android NAND Development] sambafr:
Thx for your work' i love clk

Now better get some sleep you will need it lol

Ps

Holy sh... Only 3 donations.... Quality takes time to be discovered

thanks also to arif and seadersn for all your work
[HD2 Android NAND Development] optyqus:
Just switched to cLK too... now let's see it workin'. :cool:

@Cedesmith, please consider adding WP7 support and/or Android SD boot.
[HD2 Android NAND Development] djbarney:
switched to clk about 2 months ago, and even though ppp isn't the most stable, it definately is quicker then rmnet was with magldr for me.. also loving the way it works with the rom manager, so clk is here to stay for me ;) thanks a lot for all your hard work, not just clk but also your sd builds u made for us! good luck with your family and your new toy ;)
[HD2 Android NAND Development] Screemi:
thanks for your hard work. just pitched 5€ into your coffee fund. hope you'll have a great feature with your family and work. keep it up!
[HD2 Android NAND Development] arif-ali:
as promised, I have created a new thread

see link below

http://xdaforums.com/showthread.php?t=1114053
[HD2 Android NAND Development] cedesmith:
Nice to see someone is willing to pick up where i left.

As for rmnet i think is possible, Markinus said it stooped working with kernel switch from nexus one to bravo. My guess is that rment_wince linux kernel driver needs some debugging and tweaking to make it work. I was waiting for CM kernel before start toying with it in the hope it will work at least as nexus one kernel and start from there.

arif-ali (or anyone working on cLK) if you need my help or care for what i would liked to do you can contact me on YM to chat.
[HD2 Android NAND Development] seadersn:
thx for this info and the possibility of future support from you :)

p.s.: dxxx.sxxx@t-online.de is me :) forgot to write something into the textbox :(
[HD2 Android NAND Development] Beretta93:
Actually, rmnet worked fine when booting from haret, but never from Nand before Cotulla released his magic fix. I remember because during this period, I was reading htc_linux's ever day (not participatibg though).
[HD2 Android NAND Development] xlanhackerx:
One question about RMNET.. could it be that if we boot up Android with Haret inside Windows Mobile the Radio AMSS Device would be configurate different like MAGLDR do ?

We should dump Information about Radio within booting with Haret.

Does someone has JTAG for direct Dumping Informations inside Device ?

So we could also dump Data from NAND, Radio and could flash them back if something going wrong (brick) !!

About RMNET WinCE Driver I readout some codeparts and it seems to be that we should insert some debug Informations and some configurations parts from old driver !!
[HD2 Android NAND Development] xlanhackerx:
Okay I merge with WinMerge old "msm_rmnet_wince.c" driver with new "msm_rmnet.c" Driver....

I attached the Diff Code readable like html file:

Hope Someone would check if these would be the Problem !
[HD2 Android NAND Development] white-energy:
Thats make's sense.. if the same driver did work on WM and didn't on NAND (without the new fix).. so it means that on WM the drivers gets activated and used after using booting haret.. so, my conclusion is that the device is not activated during boot from Nand.
[HD2 Android NAND Development] j45p41:
Hi cedesmith,

I posted back in may to investigate an option of getting my handset working with NAND (broken usb but with hpsl 2.08 already installed) based rom and the only suggestion was to wait for clk with integrated recovery that could be flashed from SD.

Do you know if this is still being developed?

Thanks in advance!
[HD2 Android NAND Development] :
New Thread here:

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

and yes, arif put that task to "future work":
[HD2 Android NAND Development] jiangxue:
It can use on HTC Mage?:confused:
[HD2 Android NAND Development] crush:
follow new thread as suggested
[HD2 Android NAND Development] siddharth singh:
Yup pls follow the new thread.. We are doing some extreme development of cLK there.. To make it a bit like magldr... Infact in thevlatest version you also have flashlight option :P
[HD2 Android NAND Development] jodajen2:
I am not sure what to do. I tried to "fastboot flash recovery recovery.img" to is not working.

This is the message I am getting

sending 'recovery' (3910 KB)...

FAILED (command write failed (Unknown error))

Please help I tried to search this thread and didn't find anything discussing what todo it it failed to write.

Thanks for any guidance.
[HD2 Android NAND Development] siddharth singh:
LOOKS LIKE A BAD SECTOR IN YOUF BAND... DO ONE THING... FLASH THE LATEST CLK FROM THE NEW thread mentioned above.... Then do this command.... Fastboot oem format-all..... If you see some bad blocks output... The do this.... Fastboot oem resize-part recovery:7...... Then try to flash recovery :D
[HD2 Android NAND Development] light_n_roses:
Hi !

Sorry for my be a noob...I have red that this " RMNET " is in the bug list..what exactly is ?!?
[HD2 Android NAND Development] kloispetie:
Hello,

Can the CLK bootloader be used only with touchscreen (without hardware buttons)?

Reason for this question:

I am having issues (not constantly) with some hardware buttons (start call button and home button) and am limited in working with Magdlr boatloader.

Thanks for the reply!
[HD2 Android NAND Development] dzatara:
Hi

Iam not sure what you mean saying "be used" for what exactly you want to use it?

Anyway if you need to choose any clk option (like recovery, fastboot or usb flasher) it can be done only with hardware keys.

I guess you mean recovery operations, in this case you have to operate only with hardware keys also.

clk and recovery are 2 different tools !

I hope my answer satisfy you but you have to send your device for repair services as soon as you can. gl

Edit:

My hw buttons are good as new thanks to app called "Button Savior"

I use random hw button only for wake up my device( 2nd year already :) )

btw if u decide to use cLK new thread -> [07 Jun 2011][BOOTLOADER]+[RECOVERY]cLK v1.4.0.1
[HD2 Android NAND Development] C0qRouge:
Hi! I decided to switch to clk, but now I'm stucked at "waiting for device"

can't say that I did all by the pdf (http://xdaforums.com/showthread.php?t=769026) because some info is out of date in it

any advise?

ty
[HD2 Android NAND Development] dzatara:
You probably miss android USB drivers on your PC
[HD2 Android NAND Development] C0qRouge:
exactly that was the problem... needed to restart ... after that it worked ... not normal for usb drivers ...
[HD2 Android NAND Development] Panda_Face:
Hey everyone, I'm having an issue. I'm trying to use barnacle to turn the hd2 into a wifi hot spot, but I can never establish a connection with my laptop.

I do remember something about clk not supporting this. Is that still true? If so I'll need to switch back to magldr. Or am i thinking about this wrong and its really a ROM issue?

Let me know, thanks.
[HD2 Android NAND Development] txitxe:
help

Hi, Cedesmith and co. Good work! But I´ve a problem. I flashed my EU HD2, SPL2.08,Radio: 2.15.50.14, and now with CLK. I´ve follow step by step everything to install NAND by CLK and ClockworkMod Recovery v3.0.1.4 says that all is okay, but when I reboot the system, the Android logo appears and dissapears all time (bootscreen I suppose) for hours, but it doesn´t do anything else. Can you help me? What can i do?
[HD2 Android NAND Development] seadersn:
panda: nothing to do with clk, but with the rom you're using. rmnet is standard in android, but the protocol used here is ppp. ppp interface isn't set up as tetherable interface in framework of many roms, therefore no wifi tethering on it :)

txitxe: which rom you're using? sounds like layout (system or maybe even boot partition) is too small.
[HD2 Android NAND Development] Richy99:
what rom did you install ?
[HD2 Android NAND Development] socolrus:
hello,my hd2 has wp7 installed on it.but i don't like the magldr bootloader because it has no silent boot(i mean the text when it booting),what do you think about making wp7 compatibility in Clk?.i think all wp7 users will be happy when their device will boot as an original.
[HD2 Android NAND Development] Panda_Face:
I think cLK was meant for, and acts like, a native android boot system. I don't think cLK will ever support wp7. You're best bet is magldr 2.0

Not sure when thats coming out though.
[HD2 Android NAND Development] dalerka:
If it any chance to remap Home button (cwm start), from home to another button? For me it will be best with call button.

I've broken home and start keys :confused:
[HD2 Android NAND Development] Drew99:
You can use "reboot to recovery" from your rom, or press left arrow button while phone start, then - go to recovery (work with CLK 1.65 and newer)
[HD2 Android NAND Development] dalerka:
left arrow? you mean vol_up button?

and i dont have any ROM now, only clean cLK + CWM

UPDT: ah, i see, you mean BACK but :)
[HD2 Android NAND Development] nonomeds:
boot from sd

Hi everybody , is there a way to boot from sd with CLK or will this feature will come with next version?

I know how to do with MAGLDR but i wonder if the same thing already exists for clk

My goal is to have 2 android version one on NAND booting with clk and the other boot from sd card but always with clk

Thanks in advance for your answers
[HD2 Android NAND Development] Unconn:
fastboot -c "rel_path=Android console=null" -b 0x11800000 flash:raw sboot zImage initrd.gz

Please see here:

http://xdaforums.com/showthread.php?p=16743632&highlight=sboot#post16743632

This thread has the newer builds of cLK.

I have been dual booting for a while. I currently have Typhoon GB for daily driver and have ICS from SD for messing around.
[HD2 Android NAND Development] nonomeds:
thank you , Unconn

i 've read the thread and i wanted to try those new bootloader clk 1.6.5 , or rick version "HBOOT" for leo

but i read that there are somme data corruption and high battery drain compared with clk 1.4.0.1 ?

Could you please tell me what bootloader you are using and if you have faced such issues?

thanks for the reply:)
[HD2 Android NAND Development] Unconn:
1.6.5.de, and 'no' on all counts. A previous version I had did corrupt Data partition, but not this one.
[HD2 Android NAND Development] chopok:
bootloader CLK for HTC Topaz

Would it be able to install the bootloader CLK for HTC Topaz (Diamond 2)?
[HD2 Android NAND Development] KrewsialNL:
Mobile Network

I can't get any cLK ROM to fire up my mobile network.

APN settings are correct and they all work on MAGLDR.

Could it be that my provider (Orange Romania) doesn't support PPP for some reason?
[HD2 Android NAND Development] Aternus:
a glimpse from the future

ATTENTION

If you are like me and got to this thread from

Googling cLK

OR

[Guide][Updated]What is HSPL, MAGLDR, cLK, and CWM, and how to install them.?

Couple of notes:

1) This thread is outdated.

2) The new thread is here: http://xdaforums.com/showthread.php?t=1114053

3) a "thanks" would be appreciated if you find this useful!
[HD2 Android NAND Development] eybay:
Please Help

So Guys, i did it several times, with linux and with win7..

my aim is to compile the CLK as LEOIMG.nbh but i'm not able to do that.

So furthermore i have a bad block in the last 5 MB's of nand, in MAGLDR i only have to do one partition more and flag it as asize (rest of space will be given to new partition).

I want to use CLK with these options..so what do i have to do!?

Please help me guys!!!!!

Im gettin' angry..:mad::mad::mad::confused::confused::confused:
[HD2 Android NAND Development] zach.antre:
This cLK thread and version is outdated.

Since you try to compile cLK I guess you need specific size for your partitions. There is an easier way.

Go to the new thread for cLK http://xdaforums.com/showthread.php?t=1114053

Download the most recent (cLK 1.5 rc1) and flash it. v1.5 rc1 have the advantage that you can edit any partition size however you want. You just need to go to cLK menu > settings > repartition nand > (select partion you want to resize)... Don't forget to commit else size will not change

Don't worry about the bad block, just don't use the 24 last mb of nand since it often corrupts files
[HD2 Android NAND Development] eybay:
I dont think it has anything to do with the last 24 mb, i need one partition extra to do it like in magldr, i already changed the .mk file but i have to compile this ****!! Very strange, gettin confused!

AND if i use CLK1.5 i get hot reboots, so i think somethin with badblock in userdata..apps are gettin lost everytime i boot up phone etc.
[HD2 Android NAND Development] Rick_1995:
Well done, blaming your inability to read and do stuff on the software and calling it ****, you should be confused, nothing strange here.

for 1.4 look at target/htcleo/init.c

static struct ptentry board_part_list[MAX_PTABLE_PARTS] __attribute__ ((aligned (512))) = {
{
.name = "PTABLE-MB", // PTABLE-BLK or PTABLE-MB for length in MB or BLOCKS
},
{
.name = "misc",
.length = 1 /* In MB */,
},
{
.name = "recovery",
.length = 5 /* In MB */,
},
{
.name = "boot",
.length = 5 /* In MB */,
},
{
.name = "system",
.length = SYSTEM_PARTITION_SIZE /* In MB */,
},
{
.length = 44 /* In MB */,
.name = "cache",
},
{
.name = "userdata",
/* .length == NULL -> Auto size partition */
},
};

for 1.5, try using "fastboot oem help" and read what comes on screen.

If this doesn't help, I don't think you should use this at all.
[HD2 Android NAND Development] eybay:
I changed the partitions in 1.4, but also i'm not able to compile the native code..

But thank you very much, i didnt try the fastboot oem help, maybe it will help
[HD2 Android NAND Development] nastyfingers:
Hi Guys,

Has anyone any experience flashing/installing clk via a virtual machine?

I am stuck at 0% when attempting the flash via the RUU. I wondered if the HSPL version was causing issues but found the HSPL installer could not connect to the device, either in the bootloader or via active sync.

The windows guest definitely recognises the HD2 both via active sync and in the bootloader, and the drivers are correctly installed.

I have used the same host/guest setup to flash various other devices without too much messing around or issues.

if it helps anyone I am using a OSX host (10.6.8) and a Windows 7 x64 guest via VirtualBox.

Thanks in advance

Ben
[HD2 Android NAND Development] zach.antre:
This is the old thread of cLK, the new one is this http://xdaforums.com/showthread.php?t=1114053

There is an easier way to install cLK

go here http://www.mediafire.com/?nhyausx0p5whu

folder "Compiled Test Versions"

Download "black_lk_20120920-TouchRec_b8.7z " (4MB)

extract to the root of your SDCard

power off and get into bootloader mode (power buttom + Volume down)

It will automatic install later cLK, by Kokotas, with ClockWorkMod Recovery as well (2 in 1) ;)

Here is the changelog and info http://xdaforums.com/showpost.php?p=21821506&postcount=883

Make sure you backup... I always keep SD backup to my HDD before flashing.
[HD2 Android NAND Development] Barlows:
I think what he means is can we choose reboot to recovery whilst using a rom and it will do that?
[HD2 Android NAND Development] seadersn:
jep, thx :-) this was what i meant; his answer is promising regarding this particular point.

thx again, maestro :D

need a new keyboard :(
[HD2 Android NAND Development] cedesmith:
off mode charging working with cLK

here is how:

- bootloader detects off mode charge

- bootloader adds androidboot.mode=offmode_charging to kernel cmd line on boot

- bootloader boots recovery with modified cmd line

- recovery kernel charges battery using driver in kernel

- user press call to reboot to normal operation.

there is a small catch.... panel is not initialized so kernel would crash. a small kernel patch is required to prevent this. i will upload it along with patch to enable power collapse on post 2.

another small inconvenience is that clockwork mod does not handle properly charging mode and functions normaly. you cannot use volume keys as will change selection and you have to press call ( green button ) to reboot phone to normal operation.

i am hopping that raiderx will soon make changes to cwm to reboot on any key press while in charging mode. ( or if he doesn't have time i will eventually make a patch)
[HD2 Android NAND Development] seadersn:
:hail: thx, for the time you're investing and the results, of course :wink:

you should think of an donate button ;)
[HD2 Android NAND Development] Beretta93:
Hi Cedsmith,

I have a question, since I have now bought an android based tablet : another talented dev named $aur0n is trying to port his own custom build to Archos' gen 8 internal flash disk, but maybe if he used your bootloader, he could make builds to run directly from NAND, doesn't he?

I am asking the question, since I plan to suggest him to port your open source bootloader for Archos Gen8 devices...

Thank you for your answers. :)