yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] mosi hd2:
at the first i want to say:

i want to migrate from NexusHD2 4.2.2 to your rom!

it is wonderful ... smooth and stable ... congrats! :angel:

but i had some problems during installation.i cant install it with black clk!

then i tried task29 and installed black clk again! i can see a glitchy screen in boot animation ... and failed!

i tested it with clk1.5 and i had same result...clk show me an error:

ERROR: Invalid boot image heador

but in magldr, installation was normally ...

wifi - ok

bluetooth - ok

video streaming ( i tested it with instagram videos ) - ok :good: awesome

camera - ok (but it has lag)

animations - ok :good: rom is smooth almost

battery seems good . but i think it can be better

somtimes when it is screen off, i cant screen on again! I have to reboot my phone through red button (inside battery)

but i have a problem with this rom! i cant post my photos into my instagram account ... it not able to render my photos ...

how i can fix this problem?

Anyway

i thinks this rom can be the best rom for our hd2 in near future
[HD2 Android NAND Development] NoviusRU:
macs18max, thank you so much for your great work!

Dear pixelfreak, can you do it for us? Please! :angel:
[HD2 Android NAND Development] -pixelfreak-:
Yes later if i come home....
[HD2 Android NAND Development] macs18max:
Instagram issue I wouldnt know how to solve... I havent used instagram ever

regardsing cLK few cLK users including pixelfreak had this issue. I don't know if it is the installer or the Kernel itself as I compile kernel with linaro 4.7. May be it has some issues.

Do you have extended twrp installed on cLK as recovery. There is an option to flash nativeSD kernels on it (but you can flash nand/data2ext too. )

Flash it using NativeSD kernel. If still issues persist you may try to increase boot partition to 6MB. Could you try these two steps. If still fails I will upload the kernel using different toolchains and you can try which works for you.

I will look into this.

This may be due to low RAM. Terminate some apps and try again.

Also I remember you mentioned you didnt have camcorder recording on this ROM. It could be due to enabling ksm.

I read somewhere on somerom that enabling ksm breaks camcorder, and I have seen you enabled it on your build.prop.
[HD2 Android NAND Development] gilbert32:
i got the invalid boot image header too, it's not size problem. someone mentionned it long time ago, i'm not sure who but i think the fix was to unmount /boot before flashing
[HD2 Android NAND Development] Leggera_RUS62:
Phone sometimes hangs so much that helps pull the battery only. RAM is empty. Kernel bugs?
[HD2 Android NAND Development] macs18max:
Was the problem mention on this thread or some other thread?

Is it specific to kernel 3x?

I will try it anyways but the problem is I never have an issue
[HD2 Android NAND Development] Clamor:
Battery drain

Have no idea, if this is interesting, but i have tested battery drain. And results are really surprising! First 2 screenshot`s are NexusHD2 CM11, second 2 are the mac3-CM11. :victory:

Seems that battery indication is ok. Have no words to say! Just WOW! I have never seen so good battery life for all the time I use HD2. This ROM is really unbelievable thing. Thanks Macs
[HD2 Android NAND Development] walter79:
Video recording with your kernel on evervolv. I used kernel source from git.
[HD2 Android NAND Development] macs18max:
It is kinda hard to believe. Are you sure battery indication is right coz it has happened before. If you boot into recovery such as twrp you will know when compare battery level there.

That being said. I actually tested the battery indication for a day and didnt find any issue with battery indication before releasing the ROM.

But i think one user reported battery indication on the current kernel was wrong, so I dont know
[HD2 Android NAND Development] macs18max:
You could try, but it involves changes in av and media in the rom

I wanted to get it working on cm11 for passion/bravo first and then evervolv and finally commit to evervolv.

But only 3 in bravo is interested and I think they dont want to test anymore, either there are no hardcore users there like on hd2 or they dont believe I can do it

http://xdaforums.com/htc-desire/development/development-camcorder-720p-t2918585

Anyways I have contacted one on passion lets see if he responds
[HD2 Android NAND Development] DJ_Uro_UE:
Damn. I miss something. Only this rom hangs at boot, others never gave me that problems. Can someone write some installation instructions, maybe i miss something ....
[HD2 Android NAND Development] mosi hd2:
i tried with 12MB boot and 390MB system too ... but this issue was remain!

but with magldr it was ok ...

i found a bug in this rom!

when wifi is on and modem is off , rom is very slow and system setting have fc ...

i have to turn off wifi, then reboot my phone ...
[HD2 Android NAND Development] Robbie P:
From OP

and from earlier;

;):):):)

I did get a black-screen, couldn't wake it (while DLing "swapper for root" from playstore:D) and had to reboot. dmesg attached. Although I was using my own mixture of the tweaks and had deleted ppp files (to check rmnet, it didn't work)

I also think battery is good. When not testing, a charge lasted 2 days with wifi on but no sim in, this on my "dodgy" old original battery. We shall see in the next few days.:good:

Edit; BTW swapper didn't work, I see swap 0 0 after "free" in terminal before and after installing.

Is swap enabled in kernel? might help with the low ram.
[HD2 Android NAND Development] Clamor:
I rebooted into recovery (TWRP) indication is the same as in the ROM.

I was that user, who reported battery indication on the current kernel was wrong. Sorry, but that was a mistake. After a couple first reboots and charging`s my HD2 showed we different battery levels, but after 2 days of usage level is correct and stable after reboot and the same as in the TWRP. IMHO, looks like that ROM just calibrated itself to show right level.

P.S. I use extended battery.
[HD2 Android NAND Development] DJ_Uro_UE:
Just installed this latest version but with Clk, and without problems. With magldr, it didnt want to boot up. I think that i will stick to clk, it looks like better choice ... Cheers !

p.s. my phone is eu hd2.
[HD2 Android NAND Development] mosi hd2:
today when i want to reply my sms messages (through quick reply) , phone rebooted ...
[HD2 Android NAND Development] macs18max:
Ah!! Yes I had this in jellybean too. I know the answer to this. Will solve it in my next release..

Last night I tried to install ROMs at least 4 times, LOL I cant get it to boot in Magldr.

Tried differnt kernels. All happened after I formated my card to enable swap partition. Removed swap retried and nothing.

I will install tytungs nexus hd2.

its weird that sometime it just installs in one go and the second time it just fails to boot in the same kinda setup.
[HD2 Android NAND Development] Leggera_RUS62:
Always remove the battery :C . Tried not to pull - 2 minutes later everything was fine.

Next time i will do dmesg.txt

Как ты скриншоты делаешь? У тя в статус-баре палево. Где включить этот пункт? Или как ещё? В "Кнопках" его нет.
[HD2 Android NAND Development] averestefd:
Remove the battery.. Not pull.. ?????

Sent via mobile..
[HD2 Android NAND Development] Clamor:
Everything is there, you just didn`t look for it closely
[HD2 Android NAND Development] Robbie P:
You should not pull or remove the battery if you want a dmesg or last_kmesg, it will be wiped. Use the little red reset button under battery cover.

It is not usually a good idea to pull or remove battery anyway, it can bend the battery pins.
[HD2 Android NAND Development] R4MT1N:
On NativeSD: NAND kernel open failed

On NAND with data on EXT: freezes on Go Go Go! step

i really want use this ROM plz help tnx

HTC EU, HSPL3, Radio 2.15, 365Mb Partiotion, 45 Mb Cash
[HD2 Android NAND Development] Leggera_RUS62:
What is meant by "pull"?

In russian language "pull battery" = "remove battery"

I can not understand you because of the peculiarities of my language

NativeSD - Services>BootSettings>AD SD Dir>Find folder "NativeSD">Press "green button">Reboot. Make?

DataOnExt -
[HD2 Android NAND Development] mosi hd2:
i solved instagram issue (sharing photos) ... turn off wifi then render your image! this is will be helpful ...

i think wifi have a not compatible code!

when wifi is off, rom seems smoother (and more stable) ...

when wifi is on and modem is off , rom is very unstable and and i get FC from many parts of my phone!

[MENTION=5750413]all_[/MENTION]ussers

if you have an issue with this rom, turn off wifi ! it will be fix probably
[HD2 Android NAND Development] philipped346:
Installation Tips

• System partition size 365MB

• Boot partition size 11MB for MAGLDR bootloader and 5MB for CLK bootloader (Credits Robbie)

• First boot may take around 10-15 min
[HD2 Android NAND Development] Leggera_RUS62:
Why use the phone on Android OS without Wi-Fi?

UPD:

Do not find differences with the Wi-Fi enable and Wi-Fi disable
[HD2 Android NAND Development] macs18max:
Thanks mosi.. Nice find... I will have a dig a liitle deeper on wifi
[HD2 Android NAND Development] Leggera_RUS62:
Macs18max, there are approximate date of release of the new firmware?
[HD2 Android NAND Development] mosi hd2:
i use wifi on this rom ...

but when i want to go out, wifi must be off (because if wifi is on and no exist any wifi signal, rom will be slow)

and about instagram when i want to render my photos, wifi must be turn off

thank you :good:
[HD2 Android NAND Development] R4MT1N:
tnx

tnx i'm trying this method but i have one question, what is boot size that u said and it's 11 mb? :confused: i can't find this
[HD2 Android NAND Development] macs18max:
K guys.

Attached is another kernel, for trial. I have not changed anything else except, use walter79 fix for cLK on non 7x30_smd.

Volunteer only, (you should know how to change the original kernel back if this one doesn't work well)

For cLK users, check for data connectivitiy (If it is the same as previous kernels) and battery drain, specially after calls

For Magldr users, check for data connectivitiy as in this kernel rmnet should work, also check for battery drains specially after calls

Note: You also need to delete the following files to use rmnet

/ppp

/default.prop

/system/lib/libhtc_ril_wrapper.so

/system/etc/init.d/97ppp

/system/etc/active

/system/etc/chap-secrets

/system/etc/ip-down

/system/etc/ip-up

/system/etc/options

/system/etc/options.smd

/system/etc/pap-secrets

/system/etc/ppp-gprs.pid

/system/etc/resolv.conf
[HD2 Android NAND Development] Leggera_RUS62:
Always add 1-2 megabytes, just in case.

"boot yboot|ro 12M"

Partitions on screenshot - installed in my phone. This is a 100% working version.

misc ya 1M

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

boot yboot|ro 12M

system ya 368M

cache ya 5M

userdata ya|asize|hr allsize
[HD2 Android NAND Development] R4MT1N:
ow tnxxx :good::good::good: i owe u 1
[HD2 Android NAND Development] -pixelfreak-:
macs why you have libOmxCore.so, libOmxVdec.so, libOmxVidEnc.so und libstagefrighthw.so in your rom.. for camcorder ?

pixel
[HD2 Android NAND Development] gujiangjiang:
ART mode worked unstable...

EU,aMagldr,NativeSD.
[HD2 Android NAND Development] walter79:
macs18max can you upload your boardconfig.mk please?
[HD2 Android NAND Development] Leggera_RUS62:
Tweaks

Small tips for stability and smoothness:

Settings>Developer Options:

1. Force GPU Rendering(tip in first post)

2. Disable HW overlays(visually looks smoother).

3. Background Process Limit>At most 2 processes.

4. Do not keep a lot of widgets and icons on your desktop.

Third point is cleared when reboot the phone.

ROM become smoother and become less retarding.

Trebuchet was faster! :D

UPD: And again died Wi-Fi... i'm not broken Wi-Fi :D Wi-Fi earned on reboot
[HD2 Android NAND Development] macs18max:
both camcorder and 720p playback
[HD2 Android NAND Development] walter79:
Max: Your kernel headers not working with /hardware/qcom/media-legacy/mm-video

Only header files from 3.4 kernel works.

Do you use prebuilt libOmxVidEnc.so ?

Why not share how to fix video recording and video encoding/decoding ?

I don t like to waste time for thinks thats allready fixed.
[HD2 Android NAND Development] Robbie P:
I couldn't get rmnet to work with this kernel, deleted the above, added "mobiledata.interfaces=rmnet0,rmnet1,rmnet2,ppp0" to build.prop, still no go. Changed build.prop to -pixelfreak-'s one, still no go. I get H or G and bars, but no data.

Couldn't get dmesgs either, were empty.
[HD2 Android NAND Development] Titanic52:
thanks

Partitions on screenshot - installed in my phone. This is a 100% working version.

misc ya 1M

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

boot yboot|ro 12M

system ya 380M

cache ya 5M

userdata ya|asize|hr allsize

NAND with DataOnEXT (EU HD2)

http://i.hizliresim.com/Dkb0jy.jpg

http://i.hizliresim.com/PEW0D5.jpg

Thanks, macs18max
[HD2 Android NAND Development] walter79:
Sboot und Tboot needs 10-12mb too. That fixed on my tmobile us leo.

edit: confirmed gps toggle bug if wifi is on device reboots if you toggle gps on/off
[HD2 Android NAND Development] philipped346:
same problem with europe hd2 clk 1.5 .system on nand and dataonext.:(
[HD2 Android NAND Development] fOxunO:
boot yboot|ro 15M

system ya 400M

cache ya 2M

Use t-mobile , NAND.

System below 390M , after reboot 2 or 3 times , stuck on go go go.

Cache 2M seem booting faster than 5M

For ro 11-15M i don't know whats different.
[HD2 Android NAND Development] macs18max:
Ouch!! Really my apologies Robbie and other who have tried this kernel.. I have two folders in my machine, one is for git and other is compile the kernel.

Turns out i commit walters change in the git but didn't merge them in my work folder, so those codes were never compiled . (rmnet should have worked though.) But anyways I will recompile and try it myself.

Trying to fix the soft boot issue during gps off with wifi on, Seems like librpc is the cause. Just tried tytungs librpc file and it works well. Dont think I will ever be able to fix this.
[HD2 Android NAND Development] macs18max:
Hi mosi. Could you try the attached kernel and try if you have the same issue?

Not a flashable zip.

The kernel is compile using gcc 4.7, after reverting bcmdhd fix for linaro.

Steps.

1. First turn "Location off" in quick tiles (It should soft reboot no problem)

2. Install kernel and bcmdhd.ko module,

3. Wipe dalvik and reboot

Check instagram and for any other force close (do not enable gps)
[HD2 Android NAND Development] walter79:
macs18max did you used vidc driver for your kernel?

/drivers/video/msm/....
[HD2 Android NAND Development] macs18max:
The kernel is on the git and from that you can see that I have not used vidc. And libomxvdec.so and libomxvenc.so are the only 2 files are used from tytung so you don't need to compile those. you can search on tytungs forum regarding our discussion about using those two files.

Regarding sharing code, I want to fix everything then release codes. Also if android lollipop release I will release these code as I mentioned earlier.

GPS reboot on WiFi is fixed. So only waiting for USB tether.
[HD2 Android NAND Development] Lolapopi:
4.4.4

OK. I will try and post
[HD2 Android NAND Development] macs18max:
GPS reboot fix is ROM related, I haven't uploaded it yet.

Still working with the installer. Having a hard time.
[HD2 Android NAND Development] macs18max:
Robbie. Did you manage to get adb fix on windows? If yes could you share how?
[HD2 Android NAND Development] Robbie P:
not tried it on last kernel TBH, will give it a go this evening.
[HD2 Android NAND Development] macs18max:
I haven't changed any thing in regards to adb/Usb in the last or any previous kernel. Just want to know if anyone was successful with adb in windows by modifying ramdisk or build.prop
[HD2 Android NAND Development] ionbasa:
Just wanted to drop by and let the OP know that on my setup so far everything seems to work as expected.

I basically had an 380Mb system partition, 15Mb boot partition and 5Mb cache. Installed on on a Tmobile HD2 with Data2ext. With the Magldr bootloader.

So far I have only noticed the minor annoyance of a reboot if turning on/off GPS. Personally, I just left it in Battery Savings mode, and everything seems to work as expected.

Also, bluetooth tethering doesn't work. I believe this is something with the ROM, Windows shows the following error when trying to connect as an access point:

Please note, that I can still send files via bluetooth and that the PC can pair, its just bluetooth tethering that doesn't want to connect.

A few minor annoyances:

Is there a custom DPI set or scaling value? The icons on the launcher and the app drawer look 'fuzzy', as if they are out of focus.

Also, is swap enabled in the kernel, if not, I understand that this is test build, but seeing it added later may be beneficial.

Now a final question, has anyone tried KSM? Is there a noticeable performance hit? Does it even work with the new kernel? This is more out of my own curiosity.

Also, thanks macs18max, I never thought I'd see a 3.x kernel running on the HD2. For the most part the build in its entirety is stable for daily use. I've only been playing around with this build/kernel for a few hours. Will let you know of any bugs or issues that may arise.
[HD2 Android NAND Development] walter79:
For tethering check ramdisk setting (bt-pan)
[HD2 Android NAND Development] ionbasa:
Another thing that has apparently not been reported as an bug is that there is an echo while in a call.

I made a test call, and the other person on the line can hear themselves when they speak.
[HD2 Android NAND Development] macs18max:
Walter. Did you try Camera2.apk from evervolv on my cm11 rom. ? (since u already have evervolv compiled)

Just want to find out if it is in any way faster than cm11 camera
[HD2 Android NAND Development] macs18max:
I see in your signature you have NexusHD2 installed.

Could you copy paste from tytungs rom the following file

"system/etc/firmware/default.acdb"

Copy the file from tytung and paste in this ROM using root explorer, set permission for that file. Reboot and and test again, should solve the issue.

If it does solve, please let me know.THanks
[HD2 Android NAND Development] macs18max:
Uploaded new rom

Echo on voice call should be fixed

reboot on gps off with wifi on should be fixed

Updated to latest cm
[HD2 Android NAND Development] Robbie P:
Can you check the download link in OP? Doesn't work for me ATM.

I tried editing init.rc from phone but could not do it for whatever reason. Am a Linux noob still :o
[HD2 Android NAND Development] -pixelfreak-:
??

macs why Compiled kernel using gcc 4.7 ??

what is with gcc 4.7 better?

pixelfreak
[HD2 Android NAND Development] walter79:
preview is faster. only thing that is not working is camcorder. I can t compile libomxenc and libomxdec. Header error and missing lib in display legacy.
[HD2 Android NAND Development] macs18max:
I compile only Camera.apk from evervolv (lol didnt know we could compile only a apk and not the whole rom) and used it in cm11 but same, preview is same as cm11 but camcorder wont work, coz there is no settings menu to choose which codec to use, in cm11 initially it didnt work cause default was choose to h264. I removed those option and made m4v as defualt for cm11's camera.apk
[HD2 Android NAND Development] walter79:
Can you upload a patch for the cm11 cam or upload source?
[HD2 Android NAND Development] -pixelfreak-:
re

walter. first we must have compiled libomxenc and libomxdec...

macs do not want to be device and share his success ... it's always the same with android for HD2 ... or what do you think why tytung is no longer here?

macs cm11 is a great rom ... we must fix and search self the mistakes..

best regards
[HD2 Android NAND Development] macs18max:
Yes pixelfreak... regarding sharing same goes with you too....

You could help fix the installer, share build.prop code. But no, you want to use my codes, and come up with the best rom including the installer fix.

Well I believe you have shared your build.prop, but haven't mention which ones is actually us-able. So same goes from me to you. You can find the fix here https://github.com/CyanogenMod feel free to modify and use whatever you want.:cowboy:
[HD2 Android NAND Development] -pixelfreak-:
re

1. i work not with your or tytungs installer ( my installer have problem to)

2. i have share build.prop code what is in my rom

3. i have ever share my fixes or tweaks... you must better read my post...

4. my rom have problem with browser, camcorder, many fc´s and i will not share for all..

5. and for the last time, I'm not a kernel dev and can not help you ...

pixel
[HD2 Android NAND Development] ionbasa:
Just saw that you fixed the WiFi and echo issue.

Unfortunately, I flashed your test rom over Tytung's ROM, of course while formatting the flash and Ext2, So I wouldn't have been able to copy the file anyway. The HD2 isn't my daily driver anymore.
[HD2 Android NAND Development] philipped346:
hello , can't instal mac4 on clk 1.5.2.0 , i have some error symlink with the installer and many fc on sboot :crying:
[HD2 Android NAND Development] mosi hd2:
hi macs ...

sry! i was in another city ...

i can try this kernel but isn't too late?
[HD2 Android NAND Development] Leggera_RUS62:
Can't install mac4 on magldr - error symlink on aroma installer. HD2 Eu, nand + dataonext, nativesd.
[HD2 Android NAND Development] macs18max:
My apologize. I had change somethings in the installer to fix boot for NativeSD, but think it fails for Nand.

Until I fix and reupload the rom you could use the earlier installer (mac3 or mac2 whichever worked for you ) and replace the system folder (delete system folder and install system folder from a mac4)

Also you will need to change the zImage file in "boot/zImage" (delete the file and replace with file from mac4) and then reflash using older installer

The installer is really becoming a pain. Yesterday I spent more time with the installer than actually building the ROM.

I'm helpless now...
[HD2 Android NAND Development] john_matrix:
Hi Macs,

Thank you for keeping our Legendaries HTC HD2 up-to-date with your ROM ;)

But after resizing NAND internal memory with your first post advices, the ROM won't boot.

Any other advices?

Thanks in advance!

My config:

HTC HD2 EU, ExtROM activated, cLK 1.5.2.1, CWM 6.0.2.7 (maybe too old?)
[HD2 Android NAND Development] TruePlaya:
Mi Macs

I´ve tried to install latest version 4 in NativeSD mode bit I got caught in bootloop. Green HTC logo appears and then phone restarts.

Any idea what is the trouble? Unfortunately Im not a pro so I cannot provide further details yet.

Im installing with 4Ext-recovery and boot via magldr. Cleared dalvik cache.

Thank you for keeping the HD2 alive! :laugh:
[HD2 Android NAND Development] Leggera_RUS62:
Did as you write. Not obtained. ROM hangs after green "HTC". HTC>Magldr>Green HTC>Blackscreen.
[HD2 Android NAND Development] philipped346:
hello mac , the installer and the kernel of mac4 work fine with the rom mac3 !

perhaps problem in system ?
[HD2 Android NAND Development] macs18max:
I have made some changes in the installer and reuploaded the build... cm11 mac4a

Hopefully this should solve the issue. If it doesnt than users will have to wait for a week or more coz I'll be going out town for a while. (unless somebody volunteer and fixes the build)
[HD2 Android NAND Development] philipped346:
it's ok now with mac4a , boot fine on black clk 1.5.2 twerp recovery boot on nand and dataonext . adb work with windows now and gps don't reboot the phone and don't break the wifi . :D
[HD2 Android NAND Development] Leggera_RUS62:
Mac4a - OK! DPI 240? BIG interface!

Mac2a - good

Mac3 - no good

Mac4 - no good

Mac4a - good

Hd2 eu, magldr, nand on dataonext
[HD2 Android NAND Development] Robbie P:
Mach4a-good:D

Magldr, NativeSD, 4ext sd recovery.

adb working on windows (my bad here for reference http://xdaforums.com/showpost.php?p=56501354&postcount=3)

You deserve a break, great job macs18max:cool: Thanks