yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] FrAsErTaG:
Thanks

I flashed the stock splash screen...

Still get it Bright White with HTC logo and fades to black

Reboots (Holding Back Arrow) HTC Logo and fades to black..

I can access fastboot and flash.. just no text on screen

Tmous LEO

EDIT: Same results with your recovery as mine.

Bright White with HTC logo and fades to black

Reboots (Holding Home key) HTC Logo and fades to black..

Keys light up but no image.

I tasked 29'ed before flashing CLK

I am competent with using Fastboot and am sure I have done the correct commands.

Roms are booting fine though...

Any ideas?
[HD2 Android NAND Development] wolfpack612:
you can change the size of the system partition in flash.cfg before installing clockwork.

Sent from my HD2 Android phone.
[HD2 Android NAND Development] MontAlbert:
did the same as this fella.

Task 29. flashed clk, then did fastboot of everything (made my own boot img from MDJ 1.6beta gb and used the system.img from my nandroid of that rom).

When i hold the back arrow down it boots to my flash screen then fades to black, then it sort of boots back up, while still holding back arrow , then it fades to black again. From here i can fastboot everything across.... Fastboot rebooted from cmd line and it booted into rom...

had a random reboot while setting up- I must have compiled boot.img wrong? I used the instructions in first post. Seemed to work ok. Anyway, pulled battery and tried to boot into recovery from there but nothing... it boots, fades to black, then boots again and then fades to black again

Great start and will be a huge winner for me very soon- this is why i got this phone - to live on the edge (Nexus One is far too stable for me atm :D )
[HD2 Android NAND Development] FrAsErTaG:
ok going back to MAGLDR for now..

Keep up the great work cedesmith..

Couple of random reboots, the fade to black recovery are keeping me away for now
[HD2 Android NAND Development] Unconn:
I woudl really like to try this out but I have a couple of questions.

Why? I have already repartitioned my card. Is this to actually move the start of the system block from where it was or do you assume that most people have not partitioned NAND when they read this?

I see a bunch of guys flashing this, but do not hear anything about the .nbh hex editing. Maybe this is the reason for the reboots?
[HD2 Android NAND Development] Unconn:
Same again. It just fades to a black screen every time I choose a boot option by holding a button.

TMOUS 1024

Back to MAGDLR and ClockWork from SD.

I wait for an update.
[HD2 Android NAND Development] crowbarr:
I'm having the same trouble as the two gentlemen before me. Any button held down on boot gets a splash screen fading to black and reboot. It seems if you let up on the keys early (just as splash screen starts to fade), you get into recovery, console or fastboot, but nothing on the screen at all. Just a backlit black screen.
[HD2 Android NAND Development] Satyan:
This is the first time i am able to Go NAND..as MAGLDR did not work for me even after a lot of hardwork of different permutations and combinations (Send Partition data failed, Block 0 BAD CRC).

Thank you cedesmith

i have tried rajko based build,

However wifi is not working not sure, (says cannot load wifi driver --logcat)

i am not sure is that a clk issue or a build issue (havent tried any other build yet)
[HD2 Android NAND Development] crowbarr:
Some of us seem to be having problems getting this working properly. Can you outline your process for us?
[HD2 Android NAND Development] Satyan:
I pretty much exactly did the same on the first Post. Nothing Specific.

However WIFI is not working for me.

Also i am not able to get to the Recovery screen
[HD2 Android NAND Development] evolutionqy7:
i find this way of booting much better.

Guess ill just have to wait till devs pick it up :(
[HD2 Android NAND Development] Satyan:
i tried the MDJ cyanogenmod 1.7 (gingerbread). Wifi is still issue...(in this build the moment wifi is turned on the device momentarily hangs and resets)
[HD2 Android NAND Development] letama:
I remember we had issues with wifi and early magldr, the problem was missing sd controller reset. Satyan, try to boot without sdcard and check if wifi works.

If this is the same issue, Cedesmisth, you should contact Cotulla to ask him how he did the sd controller reset.

LeTama
[HD2 Android NAND Development] StephanV:
Meh I'm sure I'm missing something somewhere.. I updated my fastboot drivers and that works now, but after flashing a ROM through CWM I still get stuck on a cLK log screen, this time the final 2 lines are:

(500) fastboot - processing commands
(2770) STALL GET_DESCRIPTOR 128 6 3840 0 244

Any help? Google doesn't give any results for that last line..
[HD2 Android NAND Development] stirkac:
you probably don't have proper kernel(only few builds are made for clk)

find clk/ppp update zip to flash after rom(look atatchemnts of #3 post) or do it manually as stated here
[HD2 Android NAND Development] stirkac:
i could do it if i manage to find fresh machine to work on-installing drivers etc done from begining. will post here in day or 2 if i manage to pull that off.
[HD2 Android NAND Development] illuzi0n:
what rom / kernel u using?
[HD2 Android NAND Development] erestor6:
I have two noob questions:

1) How can I flash a img file (eg, recovery.img) after I'm entered in fastboot mode?

2) If I have flash.img and boot.img files, how can I create the userdata.img file?

3) How can I flash more img files simultaneously?

Many thanks ...
[HD2 Android NAND Development] bhilgeman:
On a windows PC to flash the recovery image in fastboot mode you must first have the Android SDK installed properly.

Then download the recovery.img you want to flash.

Boot your phone to cLK and enter fastboot mode

Open a cmd prompt on your PC and change directories to where the recovery.img file is located. If your recovery image isn't called recovery.img rename it that for simplicity

Now type (without the quotes) "fastboot flash recovery recovery.img" (press enter)

It takes about 2 seconds to flash it, then type "fastboot reboot" (press enter)

And now your recovery is flashed

You can only flash one file at a time but if you want to flash everything you would do

Recovery: fastboot flash recovery recovery.img

Boot: fastboot flash boot boot.img

Data: fastboot flash userdata data.img

System: fastboot flash system system.img

I'm not sure how to "create" a data image, but you can pull the images out of a nandroid backup and flash those, or just flash them all at once with a nandroid restore, or flash them individually using an advanced restore from nandroid.
[HD2 Android NAND Development] bhilgeman:
check out my signature. I'm using the Hyperkernel V6 cLK version. Flash this through recovery after you flash a Rom or if you are restoring a nandroid that didn't have this kernel backed up flash it after the restore.

It looks like Pongster isn't using Hyperkernel anymore but switched to Tytung v7 which has cLK support.

You can find that kernel here http://nexus-hd2.googlecode.com/files/kernel_tytung_r7_update.zip
[HD2 Android NAND Development] jan-willem3:
Are there people who still have problems with ppp otherwise I can post my rockstable and fast part of my rom.

Wich is inspired by cedesmith ppp script and optimized by me for kernels based on tytungs git (tytung r7, glewarne, hyperkernel).

I never got a disconnect or reset. And dns will be recieved by hoster when possible.
[HD2 Android NAND Development] the_scotsman:
Not sure why people are saying you need the SDK installed on your PC...you don't. Just install the adb drivers etc from post #3.

It worked for me, though I had boot loop when I tired playing with clk a few days ago and gave up.
[HD2 Android NAND Development] af974:
This worked for me, worth a try..............http://xdaforums.com/showpost.php?p=12236111&postcount=4303
[HD2 Android NAND Development] g30rg10u:
my question here... i have my own build based on Des HD, a lite one, but i couldnt manage to port it over cLK so its been a while since i moved to arif's builds but i ll be honest, i love the stock build.

what is the main think other than kernel that has to be present in cLK build ?

initrd? if so, why dont we just merge both setups into a single initrd supporting both MAGLDR and initrd? its going to help CHEFs publish builds for both bootloaders.
[HD2 Android NAND Development] bhilgeman:
I agree, I don't have the sdk installed either. I just downloaded adb and fastboot and the appropriate drivers. I guess it's easier (because I'm lazy) to tell someone to install the sdk than to show them how to download and install adb and fastboot.
[HD2 Android NAND Development] arif-ali:
Hi g30rg10u,

I have been testing my initrd quite a lot in the last few days, and realised by mistake the same initrd works for both MAGLDR and cLK with the specific config.txt file on sdcard ppp_mode=0 or 1, rafpigna's initrd's work in the same way as mine, from where I got the idea from.

The only difference in the initrd is the rmnet_mode on the line where there is the mention of nand_init

I presume that there will be other initrd's that work in the same way as this.

You can easily grab the same build scripts and files from my svn or git repositories

SVN - http://svn.arif-ali.co.uk - under Revolution_HD

GIT - http://gitorious.org/android-leo-revolution/revolution-hd

there is a script that will create the initrd
[HD2 Android NAND Development] g30rg10u:
hm.. i will give it a try...

thanks again....
[HD2 Android NAND Development] erestor6:
Thank you vary much for the answer but I have 2 problems:

1) I'm getting an error "AdbWinApi.dll was not found".

I downloaded it from internet and put it in the same folder of fastboot.exe.

2) Now the error is "waiting for device".

What I do?
[HD2 Android NAND Development] af974:
Check here http://xdaforums.com/showpost.php?p=12191778&postcount=728
[HD2 Android NAND Development] erestor6:
Thanks, i flashed recovery with fastboot, but when I install a rom by recovery mode after the reboot the rom doesn't start. The screen is hold on text console.

Many thanks and sorry for my english.
[HD2 Android NAND Development] af974:
With Clk you need a right kernel, see post 3 for Tytung R7 or search here in thread for other kernels.

PS: your english is bad as mine but i guess that our Italian is better :D

Ciao. ;)

Edit: PM me in Italian if you dont understand something.
[HD2 Android NAND Development] StephanV:
Coming from an Android device, I really appreciate cLK, but I keep having some problems and I hope y'all can help me out here. I tried to research as best as I could, but forgive me for not reading through all these 80 pages - that's just too much.

I'm currently running Hyperdroid CM7 1.0.2, with the Tyung kernel posted in post #3, the typhoon tyung r7 one. I can't get wifi and mobile internet to work though, and flashing other so-called clk compatible kernels (clk_wifi_ud3_fix (edit: that's not a kernel lol, my bad), kernel_aa_0.5_clk_ppp, kernel_tytung_r7_update) all resulted in either bootloops or -stuck-at-cLK-textlog's. I just can't find any more info on what I should do.. :(
[HD2 Android NAND Development] pongster:
The one you downloaded uses an initrd that doesn't allow wifi to work on HyperDroid. Wait for a hyperdroid boot.img that uses an initrd where wifi works.

Sent from my HD2 powered by HyperDroidGBX
[HD2 Android NAND Development] l0rdsheva:
Just left magldr to this one, really a good job! Really fast, invisible and the reboot to recovery function!
[HD2 Android NAND Development] Kameirus:
ok a quick question

if i wanna update to typhoon 276 i have 275 now with clk

do i just flash it thru cwm then reflash the typhoon kernel patch again

or just the rom

Thanks
[HD2 Android NAND Development] l0rdsheva:
rom and patch
[HD2 Android NAND Development] Kameirus:
kk cool Thanks
[HD2 Android NAND Development] fhasovic:
I am having strange issues here since I switched to cLK: I usualy left my phone charging whole night, but light never start blinking, stays green when I disconnect it in the morning... Also, power drain goes to ~55-60mA, and stays there until I reboot. Same happened with hyperdroid v9. Haven't tried magldr since... Using cLK 1.3.3 and cwm 3.0.1.9. Any idea?
[HD2 Android NAND Development] UbuntuBhoy:
Just a general question, so far 2 out of the 3 rom's I have tried have worked, the one that didn't being a MIUI ROM so think the kernels was the issue as it just bootlooped. Is there any specific kind of ROM that works, ie NAND etc. Also dont know if I missed it somewhere, but for sense ROM's I needed a larger recovery. With CLK is that an issue?
[HD2 Android NAND Development] stirkac:
all roms work with slight modifications(supported kernel)

yeah you need 400mb system on sense, there should be another cLK images in thread or first post (with different partitions). basically needs recompiling...
[HD2 Android NAND Development] UbuntuBhoy:
cheers, thanx for the reply.
[HD2 Android NAND Development] UbuntuBhoy:
Going well of topic, just got my HD2 and only started messing with it, can someone explain the benefit of the smaller recovery, or a link to why we need different sizes. Coming from a Hero, so none of this was relevant for it.
[HD2 Android NAND Development] erestor6:
I send you an Italian PM. Many thanks...
[HD2 Android NAND Development] stirkac:
recovery isn't sizable :) it's system partition that matters. since we got only 512mb this space is divided to different parts -system, boot, user data, recovery... you need large /system for sense(it takes up lot more space than stock) and smaller for e.g. aosp. smaller /system means bigger userdata(you have 512 to work on). you could have aosp on 400mb system but it will be wasted space ;)
[HD2 Android NAND Development] randasecret:
One qestion if i changed the cache size inside init.c do i need to do something else before compiling ????????????
[HD2 Android NAND Development] Unconn:
I still have disconnection problems with PPP using cLK. If your kernel(?) is rock solid I would be glad to break it.... test it for you.
[HD2 Android NAND Development] sonick_d:
can someone help me please?

i can't flash anything i guess because i don't know how to use these NBH files.
[HD2 Android NAND Development] stirkac:
flash them with CustomRUU.exe(follow on screen instructions)

i guess you're new here, please read all android/custom rom faq's or pm me for help if you get stuck
[HD2 Android NAND Development] sonick_d:
thank...it works
[HD2 Android NAND Development] arif-ali:
If that is the only thing that you want to change, then that's ok. You may want to change the SYSTEM_PATITION_SIZE in the rules.mk file in the same folder

Then make sure you have the codesourcery toolchain and wine in your path, and then run ./compile
[HD2 Android NAND Development] randasecret:
thanks arif
[HD2 Android NAND Development] UbuntuBhoy:
cheers for the reply, I was informed by someone else that aosp wouldn't run on a 400M recovery. Now for the fun of trying to figure out how to compile the thing :).

for the poster a couple above, I am also suffering from dropped connection when moving from one area to the next, with the only solution being a reboot.
[HD2 Android NAND Development] karendar:
Same here. I get disconnections whenever I enter the montreal subway or I'm at work (Poor reception on the 7th floor)
[HD2 Android NAND Development] sambafr:
Been using clk for a week. Had ppp problems that ppp.zip have solved IMHO.

Hyperdroid v10 & Rom manager works perfect with ARI 100 m & tytung r7 clk update

The fact that a noob like me managed to install everything, is a proof that you guys are incredible, and that you know what teamwork is about. Maybe your team deserve a name. lol

BTW reading these 80 pages was like reading a quest, kept me up all night eventhough i didn't understand most of it. lolx2

I'm no dev but if i can help just say. Of course i ll donate to cedesmith but i would like also to thank the team.. dilemma
[HD2 Android NAND Development] arif-ali:
Nice one, good to know that its as easy for a noob to get working, as well as the experienced.

I would wish that others would work closely to get us working perfectly :) hint, to get rmnet working. That would the icing on the cake
[HD2 Android NAND Development] A11-STAR:
Hello,

I switched over to cLK with some minor obstacles, but I made it. However, when I try to update things like Flash player, Angry Birds, and a game called Cordy that I had to restore using Titanium Backup, the Market begins to download the update, then disappears.

Anyone else have this happen to them?

Additional info:

I use Hyperfroid GBX v10 with the typhoon kernel(tytung_r7) kernel flashed with it. Could it be possible my partitions are weird or something? I don't remember messing with them from the files I flashed.
[HD2 Android NAND Development] mattfmartin:
Yeah happened to me. You need a bigger layout.
[HD2 Android NAND Development] A11-STAR:
I use a Tmo HD2, too. How do I change the layout size, and what size would you guys suggest once I change it? And will this conflict with Hyperdroid GBX?
[HD2 Android NAND Development] stirkac:
basically needs to recompile. i hope sometimes it could be possible to define partitions with zip you are flashing(exact needed sizes) :D

off: later today i'm doing noob how to guide on flashing&setups cLK, in video or pics, all steps included on brand new w7 computer... hope to get some more folk here :p
[HD2 Android NAND Development] DimICE:
I have too problems with unstable internet connection
[HD2 Android NAND Development] seadersn:
tytung r8 ppp update

here's tytungs r8 kernel including

- incl. all patches needed for cLK 1.3.3 and new recovery

- incl. wpa_supplicant

- PPP data connection as usual

- used tytungs config for UV to 925mV and OC up to 1190MHz

- used tyweens initrd.gz, reboot to recovery should work now

- deleted "dirty hack" for mounting cache and linking recovery folder into /cache folder

- hmm, that's it, i believe... yep

should work on any build, but only tested with tyweens cm7.

:)
[HD2 Android NAND Development] idcom:
Seems to work with hyperdroid gbx 10 and the cache seems to be linking to data with the recovery folder in it. Wiped dalvik cache before rebooting.
[HD2 Android NAND Development] sambafr:
Why do you want rmnet so much?. I don't have data loss anymore and i feel that data is quicker than before, so with my small tiny vision i don't see the point.

If u want rmnet more than open source and if cotulla wants to protect us from rom patching why don't you ally with cotulla to make an opensource clk ppp and closed source clk rmnet? Just an idea
[HD2 Android NAND Development] stirkac:
i don't think opensource are allowed to be published closed;)
[HD2 Android NAND Development] arif-ali:
It's not me who want's it (I'm not bothered as PPP works), I know that more people would flood this way, if that was the case, and then all roms will work by default, that's all.

I prefer the open source solution, collaboration and fixes can come easier this way
[HD2 Android NAND Development] karendar:
Anyone correct me if I'm wrong, but the ppp protocol is used by WinMo phones and was basically recoded to work with android, thus not native. rmnet is the native data protocol for android, which every native android kernel supports. Theoretically, if we want the HD2 to be a native android device, rmnet is a must, but not necessary... As for data drops, some of us still have it, even with the ppp fix supplied by Arif... I never had any drops at all with rmnet, even got really decent speeds while on rmnet. It's the only thing making me want to jump back to magldr, because it's annoying...
[HD2 Android NAND Development] A11-STAR:
Thanks, I was just getting the hang of magldr but now I'm a little lost with cLK. I think I'm just missing a step to flash the correct partition size for GBX.
[HD2 Android NAND Development] stirkac:
OKAY, THOSE HOWTO-S are done, will attach them (in PDF and DOCX), please comment on what sould i add or do it yourself(and give credit please :)). then we could add them to first post! ;)

removed attachments, newer version on next page
[HD2 Android NAND Development] seadersn:
one little thingy:

have to be changed to

or sth like that :)
[HD2 Android NAND Development] erestor6:
I used MarkinusX rom edited by me (it works perfectly with magdrl). This rom use the last 24mb of nand memory for cache.

Have succeeded to install it and start it with the clk changing the kernel (GLv11) but it needs a cache of 24 mb because the market doesn't download anything.

I need a clk with these features:

misc 1M

recovery 5M

boot 5M

system 255M

cache 25M

userdata remaining

Maybe it should work.

Thank you very much ..
[HD2 Android NAND Development] stirkac:
forgot, thanks for pointing out, will add asap :)

Please people, read, show your noob frends, say what to add...

sharing is caring :)

EDIT: edited and attached

EDIT2: removed attachments, newer version on next page
[HD2 Android NAND Development] sambafr:
thanx for your answers, i do admire GPL values but not sure humanity is ready for that,

Good job

May you allow me some remarks

Radio 1.15 (first line) ? shouldn't it be 2.15?

You advise to flash HSPL 4. I don't think any basic user will flash HSPL 4 if it does not bring something more thant HSPL 2.08. We are too afraid of bricking are phone by touching the HSPL and it is written everywhere that you can not boot android or WP7 with HSPL 4, therefore IMHO you should propose both HSP 3 and HSPL 4. If i'm wrong please tell me.

The rest is great (sometimes harsh) but it's a very good rock for first step

I hope my comments are useful, if u want more do you allow me to pm you my comments, i don't want to put too much weight on the thread
[HD2 Android NAND Development] seadersn:
yep, wanted to write that, too, but forgot: mention, that in hspl4.exe 2.08.hspl has to be chosen. :)
[HD2 Android NAND Development] gthrift:
where is customruu.exe coming from? I don't have that when extracting the zips and rar that are linked in your pdf.
[HD2 Android NAND Development] seadersn:
search the forum ;) then you'll find this:

http://xdaforums.com/showthread.php?t=575524
[HD2 Android NAND Development] stirkac:
Tutorial: cLK for Dummies V3

Tutorial will be updated with next release of cLK, ETA +-2 weeks

Please use cLK for Dummies V3 (click on this link)

-Due to site limitations, i had to upload pdf to google docs(above) and only docx can be attached. Thanks for understanding.

-V1 and V2 is not maintained and is kept just for backup purposes!

Hit me or dkephart "Thanks" if guide helped you! Also, check this post if you wish to contribute to it by translating!

Edit 10.4.2011: updated link for recovery that did not work

Edit 27.4.2001: updated to v3, with huge help of dkephart (my "english teacher" lol)

Edit 26.5.2011: just changed link to google docs, thanks for all support, there may be sth coming in next weeks :)

Edit 12.6.2011: removed auto-installer link since it now has no purpose (try hd2 NAND Toolkit from fellow XDA user ksubedi)

Edit 23.8.2011: updated with new release time
[HD2 Android NAND Development] karendar:
I actually attempted to HSPL4 with Android and it booted, flashed, etc. everything worked ok... I chickened out though in case the issues became apparent. ;)
[HD2 Android NAND Development] stirkac:
actually i use hspl 4 since it came out(was first thing with clk to try)

no problems whatsoever!
[HD2 Android NAND Development] seadersn:
is flashing of radio and/or clk possible with hspl4?
[HD2 Android NAND Development] arif-ali:
Yeah, no problems at all. Been running since cedesmith mentioned it