yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] ninettodavoli:
WOW!!!

Tried Beta 4 and seems I've solved my problem of data drop!!! :)
[HD2 Android NAND Development] stirkac:
guys, as this forum consists of people all around the world, i decided to make guide for different languages.

problem is, i ain't no miracle of knowing so much different languages.

this is where i need you, my fellow forumers/cLK addicts/friends!

if you know english and you are prepared to translate it, please download guide from it's post and start :D most people giving feedback was due to language barrier(and there is no easy way to make complicated techie words simple)

so for starters i would like languages which many users speak natively:

german

russian

italian

spanish

and others! every single translation is welcome!

you WILL get full credit for making it!

To make long story short, translate, help others and get full credit for it!
[HD2 Android NAND Development] pecora:
i've tried typhoon clk rom and my problem is no incoming calls when data connected. i only receive an sms from my provider that xxxx phone number has searched me at xxx time.
[HD2 Android NAND Development] l0rdsheva:
Strange, what's your provider? Mine is Vodafone and it's running ok since the beginning...
[HD2 Android NAND Development] ninettodavoli:
I've "NDT MIUI GINGER V7.2 Multilang" clK version and I haven't any problem with incoming call...seem that I haven't any problem...
[HD2 Android NAND Development] pecora:
My provider is wind and from first time i've installed a clk rom i had this problem.... obviously now i'm on magldr

Edit:

i've made another test and there's no line when i am on 2G, when i switch to 3G there' s line...
[HD2 Android NAND Development] boonbing:
Is anyone having battery drain issue with the new wrapper b4? Kind of getting 25% drop an hour tested with file downloading on 'H' network. On standby with data on but no download I could get 1.5% an hour.
[HD2 Android NAND Development] MontAlbert:
am i the only one using beta5? I see a lot of comments about beta4 but not 5... 5 is working perfectly for me- today is the big test- working in an area which has a faraday cage near it and really crappy reception
[HD2 Android NAND Development] clark44:
Thank you so much. You saved me so much money and time. This worked perfect for me when all else failed thanks op. You the best... :)
[HD2 Android NAND Development] Blubster:
I do, i have huge battery drainage (charged the morning, 30% left in the evening with little to no use of the phone), though not a single data drop.

I sticked to b4 as i had perfect data connection with it. Given the battery drainage i will try to see if it is lower with b5...
[HD2 Android NAND Development] Webfire:
I just installed the beta5. The first tests look good. Recovers data connection after cell phone signal loss quickly.

No drainage problems for me. Went 48 hrs with the beta 4 and still had about 30% left. Light usage.
[HD2 Android NAND Development] jerrylzy:
Thanks..It works nice on my father's HD2:D
[HD2 Android NAND Development] danton11:
Tried beta 4 today in an area where i get a very poor signal, like 90% of time no signal. Nearly every drop the data came back within 30 seconds or so. I say nearly coz the signal sometimes doesnt last 15 secs.

This is a huge improvement with data reconnection and now makes clk usable 24/7.

(Using imilka glacier v4, radio 2.15, ppp.zip fix from this thread-to make it ppp...):D

PS. battery lasted 13 hours so good with no signal all day.
[HD2 Android NAND Development] Blubster:
A little beta 5 report : flashed this morning, no data drops all day (or it recovered quickly and i didn't notice), and great battery life! I had still 60% left this evening so great so far!
[HD2 Android NAND Development] j45p41:
Hi Guys,

I am using android rom running under windows from SD card and I have launched ROM manager and it claims to have flashed CWM to my phone. Seeing as I have a faulty USB and would like to flash a nand ROM can I go ahead and flash magldr or clk via SD and will not have to flash cwm via USB as it has been installed by ROM manager - or is this the wrong report from ROM manager and it has not really installed cwm?

Thanks in Advance :) :)
[HD2 Android NAND Development] stirkac:
you cannot do it probably. in both cases, cwm has to be flashed before actual rom (you install rom's zip via CWM). plus you hspl cannot be installed without usb so if you haven't got one already, that is barrier nr.1.
[HD2 Android NAND Development] zach.antre:
Continuing what stirkac wrote, even if you have HSPL flashed you can install cLK via SDcard by renaming clk RUU_signed.nbh to leoimg.nbh (which is not recomended) but for you to install CWM for the time being you will need usb connected.

Cedesmith is working in fusing cLK and CWM (I think i have red that somewhere) so cLK and CWM will be in 1 nbh, if that is done, then yes you will be able to flash Android on NAND.

PS: you haven't installed CWM, you need /recovery partition... if you are running WinMo, you don't have one.
[HD2 Android NAND Development] :
Running the beta4 wrapper several days now, seems stable for me.

Nice work, thumbs up!
[HD2 Android NAND Development] ninettodavoli:
HI!

where can I download the Beta5?
[HD2 Android NAND Development] arif-ali:
Search the thread

A few pages back and you'll find it
[HD2 Android NAND Development] ninettodavoli:
OK!

Many thanks ;)
[HD2 Android NAND Development] mwakious:
hi, after installing beta 5 i have a quick reconect in 3g after loosing signal,but i have this problem,when i open wifi,i use it then i close it or i go out of the house the 3g is not reconected,i have to reboot the phone to have 3g....
[HD2 Android NAND Development] stirkac:
actually i think it's enough to just turn on airplane mode for a sec. it always works for me that way ;)
[HD2 Android NAND Development] Segnale007:
Hello folks, before to begin with my lil problem I'd thank cedesmith for his great work and all of you guys for the amazing support.

Ok, lets begin with our business ;)

I spent the whole day trying to repack the boot.img that comes with my rom because I want to change the boot logo image. For some reason that I'd really like to find out, when I repack the original boot.img-ramdisk folder extracted from the boot.img its weight goes up from 229kb to 6.1MB, which makes the whole boot.img weight a total of 8.2MB, and of course I am unable to flash it since the space avaialbe for the boot image is 5MB .

This is the command I use to pack the boot.img-ramdisk folder

find . | cpio -o -H newc | gzip > newramdisk.cpio.gz

Could anyone tell me what I am doing wrong??

Thanks
[HD2 Android NAND Development] white-energy:
Yap, I'm having the same problem with

find . | cpio --create --format='newc' > initrd

Any dev. wants to share the secret ?
[HD2 Android NAND Development] arif-ali:
Don't forget to delete the initrd inside the folder before packing.
[HD2 Android NAND Development] Segnale007:
The problem is that when I extract the files from boot.img I can't find any initrd either initrd.gz or zImage... so I was basically assuming that the boot image was the logo.rle file located in boot.img-ramdisk .... However I am not sure it is exacly that, since as far as I know the boot image is located inside the initrd.

I guess something must have changed with cLK as for MAGLDR it was enough to mount the /boot partition and the zImage along with initrd.gz were there...

Could anyone please tell me where those files are hided now ???
[HD2 Android NAND Development] diesburg:
Got a quick question about booting ubuntu using cLK..... I used the ubuntu build here: http://xdaforums.com/showthread.php?t=889433 v0.3 ..... I just used the fastboot command: fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz with the initrd.gz and zimage included with the ubuntu build.... it booted all the way up, I could see my ubuntu desktop and the keyboard loaded.... then it reboots everytime......and of course, all the files are in a folder named "linux" on the sdcard..... I thought I could just backup the boot partition after I made it with that fastboot command.... and anytime I want to boot ubuntu, use CWM to restore the ubuntu boot partition..... then to go back to android, restore the needed android boot partition..... since only the boot is being changed, the system, userdata and all that for android would be untouched..... just an idea I would love to get to work to boot that ubuntu build without needing magldr/windows mobile.... because I don't think anything has been mentioned about making it loadable with cLK.... so would it be something simple in the kernel that could be easily fixed to stop it from rebooting? Any thoughts?
[HD2 Android NAND Development] white-energy:
I did.. but same..
[HD2 Android NAND Development] OCedHrt:
Yep beta4 wrapper has been awesome. But there has been occasional glitches where the data connection turns off and won't turn back on.

Edit: And now it has happened. I don't have logcat logs but in the diagnostic menu under Phone Info it says the following:

GSM disconnects: ========DATA=======
State: DcInactiveState
disconnected with last try
at 6:51 PM
fail because Unknown
Data Error
===================

Toggling the radio ends up in the same situation. Only fix is to reboot the phone.
[HD2 Android NAND Development] diesburg:
I searched here and on google and couldn't find an answer... but I was able to find posts of people talking about it.... hex editing clk layouts to make different partition sizes.... I need a 6mb boot partition.....do I just hex edit the .nbh file? I searched for "boot" in a hex editor in the .nbh file but found nothing that was obvious to change..... any help would be great....
[HD2 Android NAND Development] PrjmeTjme:
Stuck on Edge

After trying out beta 5 I'm stuck on the Edge network. Either I've somehow turned off the 3g or something went wrong. I usually get a 3g signal where I'm at but now it's just stuck on Edge.

Any ideas?
[HD2 Android NAND Development] mattfmartin:
Go into settings/wireless & networks/mobile networks and make sure "use only 2g network" isn't checked
[HD2 Android NAND Development] trilu:
that is my way to pack a new initrd.gz

find ./ | cpio -H newc -o | gzip > ../my-initrd.gz

important is to generate the new initrd.gz in the folder above (../)

and to flash i use:

fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz

best regards

trilu
[HD2 Android NAND Development] Ramon españa:
clk
[HD2 Android NAND Development] arif-ali:
english, this doesn't make sense, what are you wanting to do. first of all search the thread. If you cannot find the answer, then post back
[HD2 Android NAND Development] Ramon españa:
CLK

please someone tell me how to use the loader that interests me

much. to use it in any rom. that changes in the kernel needs to be done to work in 1.8 freak because I care about their consumption. thanks and sorry for my bad English

thanks
[HD2 Android NAND Development] karendar:
Look in Arif-Ali's signature, there's a link called "cLK-Howto" which explains how to do it in details.

http://bit.ly/hdNHSO
[HD2 Android NAND Development] Dark_Angel_Sin:
Thank You For the Help
[HD2 Android NAND Development] scipicore:
I have a big issue using cLK.

I just installed it and when I try to flash a ROM it just shows the glowing android icon. I know it may take a while after a fresh install, but I left it alone for 2 hours but it still didn't do anything.

It's not the ROM's fault either because I tried using 4 different ROM's.

I installed it using the cLK for dummies automatic installer with the RUU_signed-150-5.nbh file

I even reinstalled HSPL and my radio, but it just did the exact same thing.
[HD2 Android NAND Development] arif-ali:
Which ROM?

logcat would be useful to diagnose

have you tried a different rom?

have you checked that the partition is the right size for your rom
[HD2 Android NAND Development] scipicore:
I tried GBX v12, Hyperdroid CM7 and Typhoon CM7.

The partition size should be the correct one...

When I boot my phone, logcat says:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
- exec '/system/bin/sh' failed: No such file or directory (2) -

When I'm in recovery or if the phone is stuck in boot logcat just says:

/sbin/sh: exec: line 1: logcat: not found
[HD2 Android NAND Development] zach.antre:
First try deleting cache and dalvik cache in CWM and boot again.

if that doesn't work try from start.

Task 29

Flash cLK 1.4 of your choice from here

Flash CWM for clk from here

Flash ROM with CWM for cLK
[HD2 Android NAND Development] scipicore:
Did that, same thing.
[HD2 Android NAND Development] seadersn:
and the standard requirements (2.08.HSPL & radio 2.15.50.14) are installed, too...? this happened to me whilst testing cLK with 3.03.hspl.
[HD2 Android NAND Development] scipicore:
Yes, sir. I even reinstalled them, just to be sure.
[HD2 Android NAND Development] seadersn:
try the following:

boot into cLK bootloader (or "fastboot console"; keep arrow left hw-key pressed when booting the phone) and format boot, system and userdata partition with:

fastboot erase boot

fastboot erase system

fastboot erase userdata

can you tell us the output of fastboot console, mainly if there are bad blocks and if yes, how much of them?

cwm normally is capable of recognizing bad blocks and not using them then; but sometimes there are too much or sth goes wrong, what then can lead to non-booting rom :(
[HD2 Android NAND Development] scipicore:
That did not work either. How do I check for bad blocks?
[HD2 Android NAND Development] seadersn:
when you're in cLK fastboot mode and performing these partition-formattings, cLK fastboot console will display them.

you have to connect your hd2 to your pc per usb cable, with hd2 @ fastboot console, open up a command line (press "windoze key + r" on pc keyboard and type in "cmd", followed by enter) and enter these erase-commands, followed by enter.

precondition: adb / fastboot drivers installed and fastboot.exe in your path environment.

if this isn't working for you, you should set up your environment in windoze first ;) catch one of the howto's and follow it / them :)
[HD2 Android NAND Development] scipicore:
Well I did all of those things and cLK just did what I asked it to do, I saw nothing about bad sectors or any errors for that matter.
[HD2 Android NAND Development] dswaggz:
Will this work on the tp2
[HD2 Android NAND Development] Blubster:
How did you copy your roms from your computer to your sd card? I had the same issues, and they were caused by corrupted files due to the use of UMS in CMR.

Be sure to use a card reader (if android is not bootable) or UMS while android is available.

USB Mass Storage in ClockworkMod Recovery is known to corrupt files.
[HD2 Android NAND Development] scipicore:
Yes, I have only used that method. I've used it multiple times before and it never gave any problems.

I'll try and find an SD card adapter in the morning, thanks for the advice!
[HD2 Android NAND Development] ~~Tito~~:
I think the text console would look cool if it resembled a HTC Hboot screen lol.
[HD2 Android NAND Development] scipicore:
I used a card reader this time, but to no avail.

Still freezes up at boot. It IS doing something, though, the battery gets pretty hot after a while.

I'm getting desperate... :(

*BIG EDIT*

I tried installing a MIUI ROM this time and it worked! Seems like it's a problem with AOSP ROM's, I suppose.
[HD2 Android NAND Development] Blubster:
Try Typhoon Rom, they are working perfectly nice for me, and have proper multilang unlike the MIUI roms i tried (keyboard layout for instance, always qwerty). It may be fixed now though, but Cyanogen7 is very stable now! ^^
[HD2 Android NAND Development] Satyan:
i get the NBH file as the output after i run the compile script.

But i flash it and it does not work as it should .. there is no adb device detected.

Not sure whats happening.

can you post the NBH please for 1.2
[HD2 Android NAND Development] imfloflo:
Thanks can you provide installation STEPS for this bootloader please (coming from MAGLDR)
[HD2 Android NAND Development] xlanhackerx:
Hmmm I have the same Problem. Don´t know why this happens....

Codesmith:

I used Ubuntu 10.10 with VM-Ware and installed Toolchain with "PATH include" but after I run out the Compile script I became some Errors but have builded nbh File witch I could Flash..

It would great If someone could Post Tutorial and /or provide VM Ware Image or similare ??

This would help to get right LK Bootloader !!

Thanks a lot.

Greetz
[HD2 Android NAND Development] g30rg10u:
+1

we can then test, and maybe further develop clk..

[EDIT]: Followed the howto last night, and everything is quite straight forward. :) cLK looks promising!!
[HD2 Android NAND Development] xlanhackerx:
Hey could you please post these talken Howto ??

This would help us to work with LK !!!

Thanks....
[HD2 Android NAND Development] g30rg10u:
Post #1 if you want full:
[HD2 Android NAND Development] nlo:
Is it possible to create an .nbh of CLK that creates the correct boot, recovery, system and userdata partitions on the NAND flash?
[HD2 Android NAND Development] xlanhackerx:
Ohh ok.. I thought you have developed and build your own Version of LK !!

OK we have to wait until Codesmith provides Tutorial for creating nbh File.

I want to creat VM Image and provide it but I have the talken problem everytime.

Hope someone could help me to get right "Creating" Kit !!!
[HD2 Android NAND Development] letama:
Hi there,

You should post your build logs, I'll take a look. I had no problem building it from a VM, I just modified the compile script to point to my toolchain location and use windows tools in windows, but it worked straight out of the box.

I can't post my VM, it's 50 Gig.

LeTama
[HD2 Android NAND Development] seadersn:
damn, this would be really nice; but i can't manage this due to missing knowledge i believe.

installed toolchain, ran the compile script, flashed resulting nbh (with / w/o hexediting): no way. hangs at bootlogo and doesn't show up in device manager as adb device. could noone point out...?
[HD2 Android NAND Development] cedesmith:
i second that.

unfortunately i don't know how to disable memory protection on reset vector to make power collapse work and nobody else seams willing/interested to help.

till someone (or i ) find a way to fix power collapse i am afraid is only for development and no 1.2 compiled version will be released.

i do have a patch for the kernel to disable power collapse when bootloader is cLK but not happy with that solution.

as for hex editing you don't have to unless you want your own custom partition sizes ( when ready will probably have 3 version 150M, 200M, 250M for system ).
[HD2 Android NAND Development] seadersn:
yep, that's the next question: which format is being used whilst hex editing? e.g. for 125MB SysPart "125M" as in DFT flash.cfg, "0125" or simple 125...? because every edit i've done is leading to a non-recognized device -> fastboot not possible :(

recovery isn't booting, too :D ok, this is getting tricky. since two days only minimal achievements :)
[HD2 Android NAND Development] xlanhackerx:
Hey I have now a working Development Space with newest Ubuntu in VM Ware under Windows 7. I could build and developed with your Sources.

But it would be better if someone would provide VM Ware Image with workspace so we have more people who could developed with these really great Bootloader.

My Workspace Image is 25 GB so I couldn´t share it !!

The next point would be if someone (Codesmith or someone else) provide Tutorial for newer Users for Developing and using BUILD Script !!!
[HD2 Android NAND Development] cedesmith:
power collapse works

power collapse works.

1.13 release soon and probably out of [DEV] stage.
[HD2 Android NAND Development] FrAsErTaG:
any chance of rmnet working in the near future?
[HD2 Android NAND Development] arif-ali:
Looking forward to it. I hope rmnet works, i'll switch as soon as it does. My initial testing was great albeit rmnet.

Although will try with ppp.

Thanks for your efforts
[HD2 Android NAND Development] seadersn:
yeah... thanks for your effforts, really :-)
[HD2 Android NAND Development] cedesmith:
rmnet is not on my list of priorities, ppp worked very fine for me on sdcard builds.

if someone (or even cotulla) knows what it takes to make it work i would me more then happy do it.
[HD2 Android NAND Development] seadersn:
one question leaves me sleepless :biggrin:

for rebooting to recovery and other features in standard android some more modifications are needed, right...? if even possible...
[HD2 Android NAND Development] cedesmith:
for recovery you just have to hold home button while at powerup/reset.

LK is android's boot loader (you will find it on google git) and most of the features on a android phone should work...

since LK is not GPLed hardware manufacturers can modify/add features and not release source code but standard features are there.
[HD2 Android NAND Development] seadersn:
when cm7, then charan's, not a port but 'native' for our hd2... he offers a clk update, too.
[HD2 Android NAND Development] j45p41:
okay thanks so I think it did not flash cwm. I do actually have hspl 2.08 installed but have a faulty usb, so cant find, after installing magldr/clk from sdcard by renaming leoimg.nbh, a way to get cwm on so that I can install nand roms from SD. I guess the only way would be for cwm to be integrated into the installation of magdlr/clk... any other suggestions would be welcome :)

Thanks in Advance///
[HD2 Android NAND Development] zach.antre:
Stupid and off topic question but... how do you charge your mobile?

Why don't you send it for repair? It will save you a lot of trouble...

I think (not sure) if you flash Official WinMo ROM from SD (leoimg.nbh) SPL is going back to original so your warranty is not void

Maybe someone (cedesmith or arif-ali :) ) can edit cLK code so when entering bootloader and pushing a certain button can search for /sdcard/recovery.img and flash it via fastboot...

I like my idea... plz implement it :)
[HD2 Android NAND Development] g30rg10u:
cedesmith already said that he is working on bringing recovery partition flashed with clk in nbgen format to keep it as minimal as possible.
[HD2 Android NAND Development] 5URV1V0R:
Dees cLK unlock the additional 128 Ram in HD2 ?

Please i searched but couldn't find a solid answer. With a proper Radio, does cLK unlock the hidden 128 M of RAM on the European HD2 like MAGLDR?? Thanks a lot for a clear answer :confused:
[HD2 Android NAND Development] zach.antre:
I know, but fusing recovery to cLK has some limits.

1st) Need PC to flash recovery as well.

2nd) Danger if used from SD as leoimg.nbh

3rd) It's troublesome to compile cLK everytime new CWM is out.

4th) If you have installed cLK and usb breaks you can't flash recovery if you don't want to risk bricking your device by the SD method.

What i am suggesting has non of these limits. Just push a hard key which will flash /sdcard/recovery.img... so simple.

The hidden RAM is controled by Radio (2.15 has unlocked RAM 576M), Android and Radio reserves memory to run and for that reason you see 411M of RAM in all builds. Bootloader has nothing to do with it. That's all
[HD2 Android NAND Development] 5URV1V0R:
THANKS for your reply :)
[HD2 Android NAND Development] g30rg10u:
You are right!!! Brilliant idea indeed :)

You need PC to download ROM though,

You need USB to recharge your battery,

And after all since flashing leoimg.nbh from sdcard is dangerous (nobody proved that), you still suggest flashing recovery from sdcard but using a hard key... ah, just like hspl flasher, using low volume hard key :)

All credits to you!!
[HD2 Android NAND Development] zach.antre:
Not really, you can download on the fly from ROM Manager, from XDA app, filesharing servers (Rapidshare etc) strate from your mobile.

--------------------------------------------

You just need the actuall charger (no need for PC)

--------------------------------------------

According to cedesmith it is. http://xdaforums.com/showpost.php?p=10553004&postcount=110

--------------------------------------------

Something like that but flashing will be controlled by cLK via fastboot.