yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Clamor:
1. Install cLK

2. Make recovery partition 10mb and install extended TWRP

3. Make partition table:

misc 14

cache 25

system 400(EU) or 900(Tmob)

boot 7

4. Make Ext partition on SD at least 2GB

5. Make full wipe (except SD) and install ROM with DataOnExt

Worked for me.

P.S. If you remove google servises and play market, ROM will work perfectly smooth, with no lags connected with low RAM
[HD2 Android NAND Development] mosi hd2:
Is there a new version?
[HD2 Android NAND Development] macs18max:
Yes. CM update but no changes. i wasnt able to fix anything. Will release once I fix anyone of the existing issues
[HD2 Android NAND Development] mosi hd2:
anyway, thank u for your hard work for hd2

I impatiently wait for new versions of your rom

:angel:
[HD2 Android NAND Development] alentsa:
Have you tried SlimKat at http://xdaforums.com/hd2-android/nand-dev/nov-4-2014-kernel-3-0-101-t2928729 do deal with low memory issues?
[HD2 Android NAND Development] vjpproboy91:
thank u very much to all
[HD2 Android NAND Development] Clamor:
Kernel on NAND issue

Hi there! I tried to install mac4a fully on NAND, first time it booted fine. But when i rebooted it after some time (an hour approx.) it went into a bootloop. With DataOnExt ROM works great. I tried to reinstall it, but had the same thing. First boot is ok, you can reboot it for some time, but at one moment it goes into bootloop :(

My partition table is:

boot 14

misc 10

system 400

data 513

cache 10

(tried different combinations, but result was the same, bootloop)

when reboot into cLK from system first line is KERNEL @ BOOT [UNDEFINED]

macs please look, when you will have some free time. Thanks!
[HD2 Android NAND Development] alentsa:
recovery partition size

Hi Clamor:

I installed cLK, but I am stuck at step 2. How can I make recovery partition 10mb? I could not find an appropriate fastboot command for that.
[HD2 Android NAND Development] macs18max:
I will have a look at it. First line says "KERNEL @ BOOT" cannot find boot.img for whatever reason.

That kinda weird. DO you have extended TWRP recovery?

If yes, in sdcard go to NativeSD folder (if not available create it)

Create a folder/directory "CM11_NAND" (you can give any name)

Add file "boot/zImage" to CM11_NAND folder

Add file "boot/boot_CLK_NAND" or "boot/boot_CLK_NAND_with_DataOnEXT" (depending on type of installation) to CM11_NAND folder

Boot into extended TWRP recovery Go to Advance > NativeSD Manager > Kernel Update >

select boot and the folder CM11_NAND

Read this post

http://xdaforums.com/showpost.php?p=40395787&postcount=4

It will give you a brief idea of what kind of installations available and what you need to do.

Note that this guide was written for my slimrom 4.2.2 so partition size must be changed accordingly
[HD2 Android NAND Development] mosi hd2:
carbon rom thread closed ! :eek:

it was a good rom
[HD2 Android NAND Development] macs18max:
Not it is not closed....

i was a mistake by the moderators. It is re-opened
[HD2 Android NAND Development] alentsa:
Guide

Perfect link, macs18max! With this guide I was able to do everything in less than half an hour! Is it possible to place this link into your first post of this thread? That would save a lot of time for people like me, because the last time I had to install your ROM using HD2 Toolkit with older version of cLK, it took me a lot of time to figure out how to install, and my partition layout was not quite correct.

Thank you very much for your hard work!!
[HD2 Android NAND Development] alentsa:
Battery

Perfect score!!! Could you please post your TWRP System Tweak Settings? This might be the key...
[HD2 Android NAND Development] hitman1376:
stabler OC / OV ....

Dear friend ... is it possible to get new governors in the new kernel and also get OC and OV on it ( I know it is possible with 3rd party apps but they make the ROM a bit unstable ... ) ... Great Thanks

With Best Wishe's

Hitman1376​
[HD2 Android NAND Development] macs18max:
I can port overclocked values for tytungs or marcs1706 kernel, however it would require a lot of testing and I dont have time to test. Also from my past experience, I dont see any difference in user-interface getting higher clock values. Sure they will show higher number on benchmarks but no difference in user interface, but sure there is more battery drain, and heat generated. Our main drawback is RAM which cannot handle 4.4 roms, any opening even 2 app, shut-off/force closes the other.
[HD2 Android NAND Development] alentsa:
Is it possible to replace the screen lock widget?
[HD2 Android NAND Development] EvilMegaDroid:
OC Test

macs18max if you can port some OC in the kernel i can do the test for you , i was thinking of porting some OC myself but i have to install linux on my computer for that and ive been lazy this days
[HD2 Android NAND Development] DumF0rGaming:
Someone give me a mirror, please!
[HD2 Android NAND Development] philipped346:
the link work in first page http://d-h.st/wma
[HD2 Android NAND Development] DumF0rGaming:
Yeah, but it's only 15Kb/s for me
[HD2 Android NAND Development] philipped346:
in a moment i share link with mega .;)

cm11mac4a.zip 215.9 Mo

https://mega.co.nz/#!65wwFKYa!Y9svnDm1TUinU1LWlBcaaSQzt0ehhkQR5UspHE66ymc
[HD2 Android NAND Development] ydd0ras:
Wow

Installed this ROM a few days ago. Here is my config:

System 380 MB

Nand with DataOnExt

Used on older cLK (installed with the HD2 Toolkit)

Deinstalled gApps.

Everything is working fIne. Just a bit laggy, but it works. Most important for me: GPS is functioning very good, the sound quality is top. Will try Viper4Android.

Guys i love this device. I can't keep my hands off it. Normally I am using a Xiaomi device.

Does anyone have an idea, how to make the device a bit nor smoother

Many thanks!
[HD2 Android NAND Development] hilary911:
I have followed the instruction from the guide, but after flashing the clk , in the guide, for step D, flasing the recovery in clk I just stuck in the "fastbootflash.bat" operation for nearly half an hour but nothing have done, it appears "wait for the device" msg on the cmd.exe how can I solve the problem and flash the recovery?:rolleyes:
[HD2 Android NAND Development] Robbie P:
try different usb ports
[HD2 Android NAND Development] hilary911:
still cant:crying:

---------- Post added at 07:37 PM ---------- Previous post was at 07:00 PM ----------

when first run the "fastbootflash.bat", it first appear the msg " cant run the program, because your computer lose AdbWinApi.dll, please try re-install to fix the problem". But when I download a .dll to my C/windows/system32 but it still says not found

:crying:
[HD2 Android NAND Development] macs18max:
Do you have fastboot installed?

If not install this http://xdaforums.com/showthread.php?t=2588979

choose system-wide
[HD2 Android NAND Development] hilary911:
i have tried to install, but don't know I have installed properly or not, but I still cannot run the program...:crying:
[HD2 Android NAND Development] kalpeshchavan:
sorry to say but this row is slow and laggy...also cant load games like temple run and subway surfers....i have install this rom 2days ago ( dual boot with wp7)....cant u make this rom bit smoother?
[HD2 Android NAND Development] voland:
Actually /boot partition size have to be 13 MB. With 11 MB no booting occurred, MAGLDR freezes at "Go Go Go!" message.

Thank you for great ROM.
[HD2 Android NAND Development] Dreamliners:
If you happened to install and using another launcher, try to delete trebuchet.

I installed Google Now Launcher and the phone was slow as hell but once I erased trebuchet it became "usable."

I guess trebuchet is eating up RAM space even if other laucher is running as default.
[HD2 Android NAND Development] leostone:
Adding fix for 2300 mAh Leicke Akku?

Hi macs18max,

i've been evaluating this ROM and I am pleased so far. Only I've got a problem with the akkus from Leicke I am using.

The akkus are reporting their temperature in CELIUS instead of fahrenheit like the original akku from HTC.

As a result, the kernel will never charge the akku because its out of the valid temperature range.

I am thinking about patching the kernel myself, though I've never compiled a kernel for the HD2 or any other phone and I would need to set up the whole build and debugging enveironment first.

Before I take this step, I was wondering if it wouldn't be smarter to ask you first, if you could add a fix for this problem.

The file involved would be: android_kernel_htcleo-3.0/drivers/power/ds2746_param.c around the lines 722-740. At least at the first sight.

Do you think you've got the time for this, if so, tell me what further information you would need.

Otherwise I'll try to get this done on my own.

TX so far, and let me tell you: Nice Work!!!

LeoStone
[HD2 Android NAND Development] macs18max:
Currently I'm very busy, and what little time I have I try to work with CM12.

Your best option is [MENTION=2800390]-pixelfreak-[/MENTION] as he is currently concetrating on the kernel.

I will have a look may be in March if I get some time.
[HD2 Android NAND Development] kalpeshchavan:
plz, help me....this rom is too slow to use ....not usable....plz make it smoother......otherwise delete it from forum.....my phone hangs alot with this ram....one thing i like about this rom is gud battery performance.
[HD2 Android NAND Development] macs18max:
Delete it from the forum? Really? wow!!

Why dont you read the whole thread before downloading?

That way you can decide if u should dowload/install the ROM, rather than getting pissed at me.

OR even better compile and fix ROM urself
[HD2 Android NAND Development] aazzam16661:
Where is your respect man, huh? you think its easy to compile a rom? You only download it from the internet like an lazy person, then complain its slow and need to delete from the forum, make your own rom if its so easy for you to make it not slow...urgh
[HD2 Android NAND Development] voland:
OMFG... How old and how experienced are you, boy?...

Well... Despite your arrogance and with pity to your weepy "plz, help me..." I suggest you [Nov 29 ,2013][JB4.3.1][ SLIM ROM Build 2.1][Unofficial][Source Compiled] (http://xdaforums.com/showthread.php?t=2531457) - the best one I know for HD2 EU. Repartition your NAND as boot 13M + cache 10M + system for the rest, make 4GB ext4 partition on SD, install ROM to NAND with data on Ext, configure processor to 1.2GHz and use zRam to 26% memory - and be happy (and more meek).

And, last but not least, use THANK YOU. Not pushing the button on your PC monitor, but pushing the button in YOUR HEAD, man. Nobody here obliged nothing to you.
[HD2 Android NAND Development] kalpeshchavan:
macs18max and all, first of all i m really sorry for my bad words....i never wanted anybody hurt....but saying honestly i was just bothered by this rom. This rom is realy laggy and unable to open games......but now i got a solution over this. I have downloaded nova launcher and selected desktop then wallpaper scrolling and force and after that its like buttery smooth interface....try it.....again i m sorry and accept my apology.....and make this rom better plz.......r u software engg?

---------- Post added at 06:14 PM ---------- Previous post was at 05:49 PM ----------

plz tell me how to delete trebuchet launcher?......there r two options nova launcher and trebuchet....cant delet it.

---------- Post added at 06:28 PM ---------- Previous post was at 06:14 PM ----------

can u tell me where can i get flashlight app with flash controls, low medium and high. The way htc provided with wm6.5....
[HD2 Android NAND Development] kalpeshchavan:
hey, proximity not working during phone calls , how to make it work?
[HD2 Android NAND Development] nazmul.rr:
Checking API: checkpublicapi-last

Checking API: checksystemapi-last

Checking API: checksystemapi-current

Install: out/target/product/sprout4/data/nativetest/backtrace_test/backtrace_test32

out/target/common/obj/PACKAGING/public_api.txt:1966: error 17: Field android.R.style.TextAppearance_Material_Widget_Button_Inverse has changed value from 16974548 to 16974565

out/target/common/obj/PACKAGING/public_api.txt:2011: error 17: Field android.R.style.ThemeOverlay_Material_Dialog has changed value from 16974550 to 16974564

out/target/common/obj/PACKAGING/public_api.txt:2012: error 17: Field android.R.style.ThemeOverlay_Material_Dialog_Alert has changed value from 16974551 to 16974566

out/target/common/obj/PACKAGING/public_api.txt:2120: error 17: Field android.R.style.Theme_Material_Light_LightStatusBar has changed value from 16974549 to 16974563

******************************

You have tried to change the API from what has been previously released in

an SDK. Please fix the errors listed above.

******************************

build/core/tasks/apicheck.mk:46: recipe for target 'out/target/common/obj/PACKAGING/checkpublicapi-last-timestamp' failed

make: *** [out/target/common/obj/PACKAGING/checkpublicapi-last-timestamp] Error 38

make: *** Waiting for unfinished jobs....

out/target/common/obj/PACKAGING/system-api.txt:2064: error 17: Field android.R.style.TextAppearance_Material_Widget_Button_Inverse has changed value from 16974548 to 16974565

out/target/common/obj/PACKAGING/system-api.txt:2109: error 17: Field android.R.style.ThemeOverlay_Material_Dialog has changed value from 16974550 to 16974564

out/target/common/obj/PACKAGING/system-api.txt:2110: error 17: Field android.R.style.ThemeOverlay_Material_Dialog_Alert has changed value from 16974551 to 16974566

out/target/common/obj/PACKAGING/system-api.txt:2219: error 17: Field android.R.style.Theme_Material_Light_LightStatusBar has changed value from 16974549 to 16974563

******************************

You have tried to change the API from what has been previously released in

an SDK. Please fix the errors listed above.

******************************

build/core/tasks/apicheck.mk:92: recipe for target 'out/target/common/obj/PACKAGING/checksystemapi-last-timestamp' failed

make: *** [out/target/common/obj/PACKAGING/checksystemapi-last-timestamp] Error 38

Got this error what to do anyone can help ?
[HD2 Android NAND Development] macs18max:
Which device are you building for?

Anyways try this to compile the ROM in terminal from your cm directory . (Assuming u r building for device "leo")

make clobber

. build/envsetup.sh

lunch cm_leo-userdebug

make otapackage -j4
[HD2 Android NAND Development] nazmul.rr:
tried but got same error
[HD2 Android NAND Development] macs18max:
Try

make update-api
[HD2 Android NAND Development] nazmul.rr:
yes fixed Thanks
[HD2 Android NAND Development] dalfshiro:
What best microsd for this rom?thanks
[HD2 Android NAND Development] bajlek:
every turn on/restart -> like first time boot (don't remeber settings)

Hello, my HTC HD2 doesnt remeber setting and it is always turn on like first time so I need to setup language time etc... I have

HTC HD2 EU

MAGLDR V1.13

Try it with NAND with DataOnEXT and also as NATIVESD

I tried to AD hardreset and clear data/cache/dalvik (everytime I tried it)

My SD CARD Class 10 (not UHS-I) have primary partitions: 1. FAT32 with 32kB sectors, 2. EXT4 8GB, 3. EXT4 8GB, 4. 1GB SWAP

I tried it for 10 times and everytime with different settings!

I don't see internal memory (but I think that is OK - if I have DataOnEXT)

I'm using this HOW TO

http://androidforum.tytung.com/nexushd2-kitkat-cm11-0-t230.html

Can someone help me?
[HD2 Android NAND Development] Robbie P:
Hi bajlek, I answered you in this post http://xdaforums.com/showthread.php?t=2655973&page=15#post67858145 as it appears your problem has nothing to do with this ROM and this is a development thread.;):)
[HD2 Android NAND Development] thecoolz:
Hello

I have a probleme with Wi-Fi. Connects and disconnects often, and can not access any web pages. :confused:
[HD2 Android NAND Development] KShion619:
Does anyone have the Final/Latest version of this ROM? Dev Host appears to have quietly cleaned it out of their storage (404s eventually after clicking download)
[HD2 Android NAND Development] ph0n3n3rd:
Here's a copy.

https://db.tt/5WIM9hR5MA
[HD2 Android NAND Development] thinhx2:
can you re-up to google drive? dropbox is slow
[HD2 Android NAND Development] ph0n3n3rd:
Try this.

cm11mac4a.zip (file://Google%20Drive/cm11mac4a.zip)
[HD2 Android NAND Development] thinhx2:
What ?
[HD2 Android NAND Development] ph0n3n3rd:
Sorry, having trouble with linking.

Will fix ASAP.

---------- Post added at 08:57 PM ---------- Previous post was at 08:43 PM ----------

https://drive.google.com/file/d/0BwU00LyjJTUuMXN2MWlmWEpRNnM/view?usp=sharing
[HD2 Android NAND Development] thinhx2:
Yeah thank you
[HD2 Android NAND Development] thinhx2:
I tried flash but it doesnt boot. Hd2 eu. System 400,ext4 2gb. Stuck at gogogo screen
[HD2 Android NAND Development] Devineavenger:
[MENTION=6358345]thinhx2[/MENTION] enlarge boot partition. make it 13M
[HD2 Android NAND Development] lohtse:
is it possible to do sd/dual boot install?
[HD2 Android NAND Development] Robbie P:
It should work from SD card using NativeSD install method
[HD2 Android NAND Development] NO_ob:
How do you enlarge the boot partition? I see no option for that in hd2 nand toolkit
[HD2 Android NAND Development] john_matrix:
You should be able to resize the boot partition with cLK 1.5:

https://xdaforums.com/showpost.php?p=20519350&postcount=3

https://xdaforums.com/showthread.php?t=1114053
[HD2 Android NAND Development] Computershik:
All links are dead
[HD2 Android NAND Development] philipped346:
i have this , you can test .
[HD2 Android NAND Development] macs18max:
Thanks walter but this is already included in the kernel. That is why Magldr is working... Without this it wont boot magldr.
[HD2 Android NAND Development] macs18max:
Hey Gilbert... I tried the commit and ported almost all of the 3.4 kernel in regards to PM suspend, but still the kernel reboots after when we try to wake the device... like a months ago.. I even posted for help/idea/suggestion on Dev kernel thread

http://xdaforums.com/showthread.php?t=1049170&page=85

with the sources but I think it is difficult to fix so nobody responded.. so i tried power "suspend standalone" and "ramp down and wait for interrupt (RWFI)"

The compiled kernel in the ROM is not using "power suspend" but using "ramp down and wait for interrupt"

The drain with data on and suspended i got around 8hrs with 40% drain, but that was on 4.2.2 with no gapps and no addtitional apps installed.

I guess on 4.4.4 adn with gapps. the drain is higher .

Anyways I'm going on vacation for a month so there will be a long break from development for me.
[HD2 Android NAND Development] littletom1201:
Flashed it today and loving it !!
[HD2 Android NAND Development] macs18max:
Just a short note.

Replaceing the code in initrd.gz > init.htcleo.usb.rc to THIS will fix MTP and PTP.

However no time to make and upload
[HD2 Android NAND Development] macs18max:
Serious battery drain... After I make a call... :crying:

Attached screenshots

Description:

Powered hd2 with sim (data on)

Set alarm and went to sleep, After 5hours alarm buzz ed but I didn't wake... woke up hour later made a call and then had battery drain ever since.

At 20% restarted the phone without touching it.. Again straight line, no battery drain...
[HD2 Android NAND Development] gilbert32:
if you posted the output of "top" from adb shell, that could've given a clue to the exact problem (supposedly it's high cpu usage, which made 3.0.x for me unusable)
[HD2 Android NAND Development] macs18max:
OK. yes. I remember You posted this earlier on the other thread. Thanks. Unfortunately I'm out of country and have no data access.

Hopefully somebody will volunteer for this
[HD2 Android NAND Development] macs18max:
[MENTION=3907492]gilbert32[/MENTION], [MENTION=382340]walter79[/MENTION], [MENTION=4807557]aazzam16661[/MENTION], [MENTION=2800390]-pixelfreak-[/MENTION] [MENTION=4894994]chautruongthinh[/MENTION]

Check this out.

https://github.com/legaCyMod

This is repo handled by KonstaT with the help of Gangster41 for 720p hardware decoding for msm7x27

See for more information here

http://www.modaco.com/topic/359832-devrom247-cyanogenmod-101-android-422/

Using this rep for 4.2.2 i have managed to build the following files that works with tytungs 720p

(tested by swapping files compiled by me with files tytungs ROM)

libstagefrighthw.so

libmediaplayerservice.so

libOmxcore.so

libOmxVdec.so and libOmxVidEnc.so are close source files which are the same used for 4.4, 4.3, 4.2 jellybean and 4.0.4 ics.

Only thing left is libstagefright.so which I built but is need some more changes in the code for 720p to work.....

Hopefully other ROM developers can achieve this.
[HD2 Android NAND Development] walter79:
Max: can you post link to your kernel and device tree source?
[HD2 Android NAND Development] -pixelfreak-:
re

Dear macs, please publish the source code for your kernel. Without the source code, I'm not going to use the new kernel for my roms. we (the HD24ever devs) will work for HD2 and you can help ;)
[HD2 Android NAND Development] scadl:
Sorry for stupid qestion, but can you tell me, is it possibly to install this rom with CWM, into NAND?

And how I should do it? I think, just pressing "install from zip" will not work? What preparations I should do?

Also I have MAGLDR installed. Maybe missed it, but maybe there are any way to try boot this rom without install?
[HD2 Android NAND Development] -pixelfreak-:
re

this beta version have mistake with install on TmoUS Leo.. i have the same problem ..i think macs will fix this in the next version
[HD2 Android NAND Development] moliva_85:
I need from stepBstep instruction to instal this ROM. Please help :silly: or.... give me a link to video in youtube :laugh: Tnks
[HD2 Android NAND Development] fOxunO:
This is stepBstep from Robbie P

Just flash it normally, as you would any NativeSD rom.

Then on reboot magldr /10.Services /1. bootsettings /3.ad sd dir /select NativeSD folder

then 2. ad sd boot

should work

And this to flash other Rom from Robbie P also

when power on, hold end-call button to get magldr menu. Change boot folder to recovery (ad sd etc), flash other rom, change boot folder to NativeSD, enjoy.

Also in magldr/ settings/ bootsettings you can have "always menu" after switching on, to save you holding end-call button

Thanks to Robbie P.
[HD2 Android NAND Development] macs18max:
Sorry I havent been around much... On vacation... But if u detailed setup , u can follow this guide

http://xdaforums.com/showpost.php?p=40395787&postcount=4

Only change is that instruction in this thread installs extended TWRP instead of CWM recovery which in my opinion has better functionalty when it come to nativesd,

And for magldr you may need to change boot size and system size as per instruction in the main thread.

(I think boot yboot/ro size is 11MB instead of 5MB)

I would really suggest to install NativeSD instead of Nand as the ROM is not fully functional.

Keep you daily driver in Nand and all test ROMs in NativeSD such as this ROM
[HD2 Android NAND Development] moliva_85:
Тhank you guys! The first time I tried NAND with DataOnEXT but stuck to GOGOGO. I use MAGLDR (390MB / 20MB cache). I can not install NativSD because currently use card UHS1. I will continue to monitor interest in your forum as I do with everything related to our glorious HD2.

Sorry for my EnGlIsH :laugh:
[HD2 Android NAND Development] marknev:
i installed this rom. After updating maps and all i try to download other apps and it always says no storage space. Any fixes for this?
[HD2 Android NAND Development] macs18max:
Hey Gilbert I tried all commit but still bluetooth failed. Same message

<7>[ 65.718536] Bluetooth power switch: 1
<7>[ 65.729125] clock-wince: _pc_clk_set_rate: id=7 rate=7372800
<7>[ 65.729156] clock-wince: set mdns: 7, 7372800; bitidx=0, offset=58, ns=800
<3>[ 65.729187] msm_dmov_enqueue_cmd_ext(9), stalled, status 0
<7>[ 74.323608] Bluetooth power switch: 0

l
[HD2 Android NAND Development] Mike_1996:
Just tested panorama and it worked perfectly. BTW density set back to 160 in build.prop. Very smooth and reliable ROM w/ Black LK (DataOnExt) on a TW LEO512. Thanks for the great work!