yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] -leo-:
dataonext is good for eu users XD

---------- Post added at 01:29 PM ---------- Previous post was at 01:29 PM ----------

DEVHOST is doing good:good:
[HD2 Android NAND Development] aazzam16661:
It should work out of the box
[HD2 Android NAND Development] macs18max:
Same with me.... I cannot get the ROM to boot... Stuck at htc white/blue logo... Same as Robbie... I'm on clk....

Do I have to install Tytungs Cm10 first then install this ROM?
[HD2 Android NAND Development] aazzam16661:
NO, just unzip both files, combine them, then zip, and flash with NSD on CLK 1.5 with CWM, no need for extra changes. also flash "flash_sboot_v2"

Note, Is will show white HTC logo then Dungphp initrd.gz screen, then black screen for a sec, then boot animation (The animation will stuck and show White HTC LOGO) and let it boot) then the charging led light up. and black screen, let it there for 10 min, and go through setup
[HD2 Android NAND Development] Robbie P:
Ok I thought that my probs were down to a dodgy download, but it seems others are having problems. i can't redownload due to DL restrictions from mediafire.

I have md5s of;

1998741b79695e69c61c9ef0b71bea9f Sense5OnHD2.part1.rar 104.9Mb

fe1e1a78f4ad62340887a2c4d0fe08ed Sense5OnHD2.part2.rar 104.9Mb

6cd8e4d54bc5835ca916e02e5c65d2fd Sense5OnHD2.part3.rar 104.9Mb

fbe3d79b942689cc7bdf316cf680f4e9 Sense5OnHD2.part4.rar 74.2Mb

If anyone can confirm these, I can upload the base rom (and updated rom if needed) to dev host.
[HD2 Android NAND Development] BLOOD_ANGEL:
I have Made the ZIP with Android Kitchen, all is working fine ...

Same sizes, ewig unitil we get a more stable and fixed Rom ... In Nand evtl is Performance boost,

The Performance goes to da and laggs when it goes to lock and wespe the Rom laggs and performace go to **** horses :D

Great work guys, i will upload a ZIP geratet by je to dev Host ... Unitil the next update releases :p

Thanks for our work :)
[HD2 Android NAND Development] gilbert32:
for those who have clk problems, is it clk >= 1.5.1.6?

reading Robbie P's logcats, they probably indicate that a lib or bin file is bad
[HD2 Android NAND Development] timmymarsh:
Hey guys, good work going on here, looks like i will be bringing my hd2 out of retirement again ;)

On a more serious note, if you chaps require any assistance with the thread (modwise) shout me.

Keep it up :good:
[HD2 Android NAND Development] gilbert32:
yes adb works. it's probably download error, because some have it working some not.

we will upload asap and post (to dev host)
[HD2 Android NAND Development] gilbert32:
ok guys, just added ckpv5 to thank list, as we have used some parts of his rom.

Please, if you take any file from another rom, make sure you have permissions, and give me a link for the rom's thread. thanks.

His rom thread: http://xdaforums.com/showthread.php?t=2391181
[HD2 Android NAND Development] gilbert32:
ok. [MENTION=3629322]Robbie P[/MENTION], [MENTION=2473151]macs18max[/MENTION], [MENTION=2772810]dungphp[/MENTION]

[MENTION=3629322]Robbie P[/MENTION] : sorry, i tested your zip with magldr, and it booted (after changing kernel and adding 6 mb to initrd.gz)

That's kinda bad news. but i have a few suggestions:

Are your ext4 partitions >=1.3 gb?

are you installing nativeSD? (that's what you should choose)

And finally, please install with exactly the following: (i confirm it's working with magldr):

custom applications: choose none (no custom apps in aroma at all)

data: rmnet (or ppp depending on bootloader)

Softkeys: DISABLE

Wipe: wipe data/factory reset if not done already, or wipe dalvik cache only. i will attach kernel+initrd.gz (magldr)

of course, extract nativeSD.zip to NativeSD on sd card.
[HD2 Android NAND Development] Marvlesz:
This might seem silly, but I used to have problems booting NativeSD on my HD2. My setup was correct and the files were fine, it was with many ROMs. It took me a while before I figured out that the recovery was the problem. For some reason the ROMs wouldn't boot when I had CWM installed, I tried a different recovery and flashed a ROM from there, and it worked immediately. It's probably not the case here, but it's worth a shot. Try to use CWM, or try a different version of TWRP.

On another matter, you guys did/are doing a great job. I never thought this was possible. Watching closely as gilbert makes this thread, I was telling myself: "devs went through hell to get Sense 4 working, how are they going to get Sense 5??". I wasn't always the pessimist, but this was just too much (Or at least I thought it was). But here you are, somehow pulling it off. I wish I was part of it, but I no longer have my HD2, I passed it onto a family member. Even if I did have it, I don't think I would have been of much contribution since I know that I'm "Elite. This is so easy(Me big DEV!)".

If When this is fully working, it'll add to the HD2 glory. Kudos to all of you.
[HD2 Android NAND Development] BLOOD_ANGEL:
My Video was from magldr with PPP ^^ i get data connection over Mobile network ^^
[HD2 Android NAND Development] gilbert32:
That's pretty much extremely hard:/ all what we can do is get most basic functions working (data, gsm, sound, mic, media, wifi, smoothness) and other stuff will be less important and kind of optional.
[HD2 Android NAND Development] BLOOD_ANGEL:
the basic functions, is better as other, first things basic functions, and then other stuff :D

Blinkfeed i dont need, its only spam (i think other like it^^)

Basic functions better as the rest, then speed up the system (and make nand version, and then other functions)

its my meaning :)
[HD2 Android NAND Development] :
it's not for non dev folk to try right now it's only for devs to debug
[HD2 Android NAND Development] MameTozhio:
[MENTION=3907492]gilbert32[/MENTION] and the other developers.. added the port to the wikipedia article ;)

https://en.wikipedia.org/wiki/HTC_HD2
[HD2 Android NAND Development] aazzam16661:
DEV HOST

http://d-h.st/5l7

I remove Facebook and Dropbox

Magldr Only

Native SD

THis upload is with Update1
[HD2 Android NAND Development] aazzam16661:
ITs Magldr ONLY, so sorry

if you want CLK, please change initrd,gz(attach) in /kernel/boot_NativeSd
[HD2 Android NAND Development] gilbert32:
CWM touch recovery, twrp or twrp extended (2.4 is working fine for me)
[HD2 Android NAND Development] BLOOD_ANGEL:
I used cwm and twrp ex 2.6 and borg clk and mag was working
[HD2 Android NAND Development] gilbert32:
yes, only in china. in order to full boot, u most go to germany
[HD2 Android NAND Development] gilbert32:
if on magldr, use this: http://d-h.st/5l7

ONLY NATIVESD. read thread BEFORE posting
[HD2 Android NAND Development] BLOOD_ANGEL:
I was from germany ^^ and by is the Rom works fine on NSD :D:D:D:D:D:D

Okay next update i will upload a working ZIP to dev Host ...

A mod can clear the thread from the noob/questins and Non dev relatet posts ? Gilbert?
[HD2 Android NAND Development] aazzam16661:
For Wifi, so close now,

logcat=attach
[HD2 Android NAND Development] CNexus:
For wifi you need to hex edit libhardware_legacy.so

That's how I got it working on my Sense 5 port to the SGS3

Also [MENTION=3907492]gilbert32[/MENTION] is there source for the kernel being used here?
[HD2 Android NAND Development] :
Is the port from a device that uses bcmdhd for WiFi? If so it should just be some config files
[HD2 Android NAND Development] aazzam16661:
Port from Desire 600 and it Uses something that is not bcmxxxx.ko it use ath6kl_sdio.ko
[HD2 Android NAND Development] HD2-WP7:
couldn't find much time to work on it today. but gave a quick fresh attempt (failed). just thought to share what happened if it helps in anyway.

cleared everything on sd. tried to flash the zip (included the nativesd files). it flashes. but when trying to restart twrp 2.6 msg's that no os installed and if I'm sure to restart. checked with other roms. no such msg's are given. if I still continue restarting, it stays on the white/blue htc screen.

guess i'll need to wait a bit longer with very limited android knowledge. am a primary WP user.

thanks.

i'm on magldr and tm hd2
[HD2 Android NAND Development] timmymarsh:
I will start having a clean up now, if something that you think important (that i dont) disappears, shout me and i'll restore it.

@ ALL, if you are not actively helping in developing here, please dont post questions like "when is it ready" and "man your a hero" - it will be deleted.

Thanks :cool:
[HD2 Android NAND Development] gilbert32:
for now, i believe only page 33 needs clean up (abumaha posts, all trolling, you can check out his last posts, and i have no idea how he's still on xda).

other than that, i think it's a good idea to keep some posts about installing rom and failures/experience.

Thanks :)
[HD2 Android NAND Development] -leo-:
of course! please read carefully, bro! dont flood the thread..............

hope others can obey, thus developers can release a stable rom earlier,

not wasting time on replying on such useless rubbish question:silly:
[HD2 Android NAND Development] aazzam16661:
For someone who cant solve this stupid problem, i dont recommend to even flash this rom, for Dev to debug(fix problem)
[HD2 Android NAND Development] :
Maybe it's now not the highest priority to get it booting on all the devices ,but to get a few more big things working like wifi, audio etc?
[HD2 Android NAND Development] BLOOD_ANGEL:
What is new in the update in ver 0.2 azzam ?
[HD2 Android NAND Development] musti35:
I downloaded version 0.2, too.

Set 1.4 GB EXT4 partition on your sd card.

I used Class4 , a little slow.

Maybe Class 10 sd card will give better performance.

I used EXT4 folder as boot source to setup rom from magdlr.

After installing (20 min) restart phone use nativesd folder as boot source
[HD2 Android NAND Development] jhakjhuk1853:
use native sd folder as boot source

also rom takes around 20 min to boot on samsung 32gb class 6 card
[HD2 Android NAND Development] BLOOD_ANGEL:
Installtime took too long ... Use twrp and Make ext 4 Part
[HD2 Android NAND Development] ftd01:
i have class4 sdcard, it is too slow.

Are anybody try with class 10, is it fast with this rom

Thanks
[HD2 Android NAND Development] BLOOD_ANGEL:
I have Made a video weith class 10 card... Read the thread ...
[HD2 Android NAND Development] gilbert32:
Please guys do NOT pm me about rom being slow/unresponsive/buggy as i already know. Read the thread before posting, and don't pm unless it's a secret :p or something to discuss with me.

Thanks
[HD2 Android NAND Development] timmymarsh:
AT ALL.

Hey guys a quick peice of advice please: if your not a developer, dont know how to port roms, or dont know anything code -

then please dont install this rom

- dont ask questions like how do i install it etc, your posts will be deleted REMEMBER - this is a developers forum.

Thanks for your time. :cool:

EDIT: thread cleaned again.
[HD2 Android NAND Development] gilbert32:
read all thread please next time, or at least since where it starts booting.

The answer: there is no solution.

Thanks
[HD2 Android NAND Development] aazzam16661:
Request For a Beta Tester

I want just One person to be my Beta tester that work under me,

Just need to tell whats not working.

So if you're interested Please PM me, I just pick one base on your experience
[HD2 Android NAND Development] aazzam16661:
Yeah work with us, let fix this rom together, i will PM you the link for the latest Version
[HD2 Android NAND Development] macs18max:
thanks

Also Can you PM me the link to the original source of the sense5 system dump.... Just want to download and compare what changes were made...
[HD2 Android NAND Development] timmymarsh:
Hey guys,

Can i ask you to please report any posts that do not belong here in this thread or pm me so we can with them, please don't bash the n00bs, lets deal with it correctly :)

Carry on the good work :) (thread cleaned btw :))

Gilbert, ive added a "this rom is for devs only" line on your OP, you can remove it when things clam down a little here :)
[HD2 Android NAND Development] pirlano:
[MENTION=3907492]gilbert32[/MENTION] how do you fixed surfaceflinger sigfault?
[HD2 Android NAND Development] gilbert32:
AFAIR, it was either caused by incorrect libs, or if correct, ion wasn't implemented correctly or at all, whics caused graphic libs to crash and surfaceflinger too. after using good kernel with caf kgsl jb and ion, it was fixed
[HD2 Android NAND Development] eagleeyetom:
Guys, this is my first and only warning. Another flame attempt will end badly, you have my word.
[HD2 Android NAND Development] sbryan12144:
I can fix sound and wifi, but I'll need an HD2 donated to me to do it. Also its my 21st birthday, so if that makes it easier to donate, it would be great today haha
[HD2 Android NAND Development] gilbert32:
Will start working on camera or wifi soon

[MENTION=2733082]sbryan12144[/MENTION] please tell me when you get an hd2 donated and want to work on rom, for audio won't work directly on the kernel i did, i assume.
[HD2 Android NAND Development] nqkoidrug:
I alreаdy donation you:
[HD2 Android NAND Development] Tribulattifather:
I just got another HD2 that the glass was broken on and even though the glass is broke the digitizer does work so you can still use it to dev

I don't have any more time to develop like I used to so I'll donate mine to you.

It is charged but I don't have an extra charger to give.

PM me your mailing to address.

The HD2 will have Windows Phone 7.8 on it and will have the original 16 Gig Sd card in it.

Edit:

I was watching the videos, and when I ported Sense 4.1, in my initial boot, I also had the dev pointer on mine. To fix that I just took whatever android AOSP rom I had with the same OS (which was ICS 4.0.4) and took the folders 'idc, keychars and keylayout,' and put them in the 'usr' folder. Then I took, from the Rom I was porting from, the 'icu, share and srec,' folders.

So usr folder will look like:

icu - from Sense 5 port

idc - from base AOSP

keychars - from base AOSP

keylayout - from base AOSP

share - from Sense 5 port

srec - from Sense 5 port

Not sure if you guys already had figured out the pointer thing yet, but if not I hope my way I did it helps out.

I'll try to watch the dev process and offer anything I can to the project.

Man I miss the days Sbryan and I worked on Sense 4.1. This is my way of saying thanks for all the support you've guys have shown me since my HD2 days.

grats on 1900th
[HD2 Android NAND Development] sbryan12144:
Pm sent :)
[HD2 Android NAND Development] sbryan12144:
If audio is anything like like it was for sense 4, it'll be a smali/lib/bin combo. We'll have to use mediaplayer files from cm or aosp and it'll cause boot loops only because the natives aren't in the sense 5 smali. It's as easy as comparing the aosp framework smali with sense 5, patching, pushing and debugging again. It'll take a long time, but it should work with proper debugging.

That being said, on my sense 4 port, I did that same method for camera and that worked as well for the most part.

WiFi is a tad trickier do to it's lack of compatible libhardware_legacy.so libs. Using aosp libs for that will indirectly crash all boot process. We'll most likely have to hex edit it and manipulate the rest with the kernel and firmware files.

All these we can fix properly with time. With trib donating his hd2 so generously, we'll get it running well in no time. I also have a couple speed improvement tricks and size shrinking tricks as well :)
[HD2 Android NAND Development] Tribulattifather:
Just so that masses know, i'll be sending it out asap. Either tomorrow after work or Wednesday morning before I go to work :D
[HD2 Android NAND Development] aazzam16661:
Thats fix, thats the first thing thats fix,

Second is GSM

Third is resize Wallpaper
[HD2 Android NAND Development] Tribulattifather:
So what I did, it worked?
[HD2 Android NAND Development] aazzam16661:
It was fix before you post it
[HD2 Android NAND Development] Tribulattifather:
Alrighty guys, phone sent ^>^
[HD2 Android NAND Development] sbryan12144:
Ok guys, so what's an active bug list. WiFi, sound, data, sdcard, etc?
[HD2 Android NAND Development] gilbert32:
yeah. wifi, bluetooth, mic, sound, sdcard, gps(maybe), g-sensor, everything not listed as working basically.

if you need it to be smoother, use this zImage (a bit faster and smoother) http://www.mediafire.com/download/92w42pb9i5bd6sa/zImage.zip

Note: camera and sound WILL NEVER WORK with this zImage. cz it allocates 4kb for both :p

please tell me what does sound use (pmem or ion) to do the kernel editing :)
[HD2 Android NAND Development] sbryan12144:
I'm not quite sure. I know with the HTC DROID DNA, the way they got the kernel side working well was by using the HTC One kernel as a base and update the device board files according. Now, I know the DNA is using specific pieces from the m7 panel. I'm also aware the DNA is using almost the same audio. So from what I gather, if we have to, try studying the m7 (htc one) code and see if it'll help implement things better. As well as camera code
[HD2 Android NAND Development] gilbert32:
Okay. I have its source, and will try studying it after about 8 hours (till I'm back from work)

For camera, I think we need v4l2. I tried porting it but messed source up, now gonna have to download it

Sensors and other stuff are Rom related probably, easier to fix

Edit: a ls /dev would be much helpful on a device with sense 5 and working sound
[HD2 Android NAND Development] sbryan12144:
Correct. Everything besides WiFi, camera, and possibly Bluetooth should be rom related.

Here's the ls /dev of my HTC DROID DNA with sense 5 4.2.2

Output:
root@android:/ # ls /dev
alarm
android_adb
apr_apps2
ashmem
binder
block
bthid
bus
ccid_bulk
ccid_ctrl
cm3602
console
cpu_dma_latency
cpuctl
device-mapper
diag
diag_arm9
diag_mdm
dsp_debug
full
fuse
gemini0
genlock
graphics
hsicctl0
hsicctl1
hsicctl2
hsicctl3
htc-acoustic
htc-portlist
htc_batt
htc_msgservice
htc_sdservice
htcdiag
htcdrm
hw_random
i2c-0
i2c-2
i2c-3
i2c-4
input
ion
keychord
kgsl-3d0
kmsg
lightsensor
log
loop-control
mdm
mpu
mpuirq
msm_aac
msm_aac_in
msm_acdb
msm_amrnb
msm_amrnb_in
msm_amrwb
msm_amrwb_in
msm_camera
msm_dsps
msm_evrc
msm_evrc_in
msm_idle_stats0
msm_idle_stats1
msm_idle_stats2
msm_idle_stats3
msm_mp3
msm_multi_aac
msm_qcelp
msm_qcelp_in
msm_rotator
msm_rtac
msm_sps
msm_vidc_dec
msm_vidc_dec_sec
msm_vidc_enc
msm_vidc_reg
msm_wma
msm_wmapro
mtp_usb
network_latency
network_throughput
nmea
null
offmode_alarm
pn544
ppp
psaux
ptmx
pts
qmi0
qmi1
qmi2
qseecom
radio
radio_feedback
ramdump_dsps
ramdump_lpass
ramdump_smem-dsps
random
rawchip0
rfkill
rmi0
rmnet_mux_ctrl
rt5501
rtc0
simlock
smd0
smd1
smd11
smd2
smd21
smd22
smd27
smd3
smd36
smd4
smd5
smd6
smd7
smd9
smd_cxm_qmi
smd_pkt_loopback
smd_sns_adsp
smd_sns_dsps
smdcntl0
smdcntl1
smdcntl2
smdcntl3
smdcntl4
smdcntl5
smdcntl6
smdcntl7
smdcntl8
snd
socket
tfa9887
tgt
time_helper
timer_group
timerirq
tty
ttyHS0
ttyHSL0
ttyHSL1
ttyHSL3
ttyHSUSB0
ttyHSUSB1
ttyHSUSB2
ttyHSUSB3
ttyUSB0
tun
uinput
urandom
usb
usb_accessory
usf1
v4l-subdev0
v4l-subdev1
v4l-subdev2
v4l-subdev3
v4l-subdev4
v4l-subdev5
v4l-subdev6
v4l-subdev7
v4l-subdev8
video0
video1
video100
video2
video3
video38
video39
xt_qtaguid
zero
[HD2 Android NAND Development] sbryan12144:
I was told by the kernel dev on my team that sound uses ion
[HD2 Android NAND Development] gilbert32:
yes, i figured that out from the droid dna ls /dev you gave me.

only if you wrap that in <code> to keep the post small :p

i will be working on kernel again this weekend. the original kernel that comes with the rom should be able to handle audio :)
[HD2 Android NAND Development] sbryan12144:
You'll need to dev the audio around the audiofliger if possible
[HD2 Android NAND Development] mccmjoon76:
Interesting....... :)
[HD2 Android NAND Development] aazzam16661:
We made it there

http://www.xda-developers.com/android/sense-5-appears-on-hd2-device-still-alive-and-kicking/
[HD2 Android NAND Development] aazzam16661:
I started my own project based on Desire 600, but not using Dungphp original port. Wish me luck

Also i will make my own thread when it boots

Now it stuck on Bootanimation on my first try :victory:
[HD2 Android NAND Development] gilbert32:
for those who couldn't ever get the rom to boot, i suggest you try replacing busybox (system/bin or xbin) and any other depencies (SU etc...) with correct permissions and see if it boots
[HD2 Android NAND Development] aazzam16661:
Sneak Peak

What do you thing it is?
[HD2 Android NAND Development] jskenderi:
I think it boots :laugh:

Great Job!!!

Thank you!
[HD2 Android NAND Development] aazzam16661:
Nope
[HD2 Android NAND Development] gilbert32:
bootanimation
[HD2 Android NAND Development] noidz:
[Dump] HTC Desire 500 System Dump

http://xdaforums.com/showpost.php?p=45872110&postcount=1
[HD2 Android NAND Development] ckpv5:
Desire 500 bootanimation ;)
[HD2 Android NAND Development] aazzam16661:
And the winner is [MENTION=830797]ckpv5[/MENTION] :victory:
[HD2 Android NAND Development] aazzam16661:
I freaking got sound to work on my Desire 500 Port. The boot animation sound

Right now, i'm just speechless
[HD2 Android NAND Development] gilbert32:
Wow. That's just awesome. Truely awesome. Great Job!
[HD2 Android NAND Development] BLOOD_ANGEL:
Yeah

Legendary hd dont dying

Cant wait ^^

How fast your Port ?

Faster as the D600 Port or?
[HD2 Android NAND Development] aazzam16661:
Well it didn't boot yet, stuck at Bootanimation
[HD2 Android NAND Development] aazzam16661:
Hey guys, i Got it booted with Help from [MENTION=2733082]sbryan12144[/MENTION] ,Its super unstable, so i cant say its faster or slower then Desire 600 port
[HD2 Android NAND Development] dungphp:
copy some libs sound file from 500 to 600 and test 600 man !
[HD2 Android NAND Development] sbryan12144:
He has boot sound, but mediaplayer sound needs edited, but we'll get it. I haven't got tribs hd2 for some odd reason. But I'll give him a step by step for it
[HD2 Android NAND Development] gilbert32:
Ok guys. Great News. Thanks to aazzam16661, and his port, i managed to boot it and run smoothly, no data, no wifi, no media force closes, but with all music working perfectly!

just tested a whole song, no stuttering at all, loud sound and all is good for now :)

PS this port, at least for me, is MUCH smoother than desire 600. just thought to let you know about it
[HD2 Android NAND Development] aazzam16661:
Yup thanks tu ME :laugh:
[HD2 Android NAND Development] CNexus:
What files did you use to get sound working?
[HD2 Android NAND Development] gilbert32:
stock desire 500 files.

Screenshot:
[HD2 Android NAND Development] aazzam16661:
All stock audio files
[HD2 Android NAND Development] CNexus:
So basically, it booted and you had audio working?

What files did you use to get it booted? Also for wifi, libhardware_legacy.so needs to be hex edited to point to the right firmware and wifi module firmware_path file in /sys/modules
[HD2 Android NAND Development] ckpv5:
I guess it is as it does for my port for Desire X and also what szezso said in his port for IncS - http://xdaforums.com/showpost.php?p=45915944&postcount=355
[HD2 Android NAND Development] CNexus:
Ah..

And all of you guys are using an AOSP kernel right?
[HD2 Android NAND Development] aazzam16661:
Yup, a Not fully working 3.0 AOSP kernel
[HD2 Android NAND Development] CNexus:
Ah ok, great. Thanks

Check pm
[HD2 Android NAND Development] szezso:
I'm using a stock Sense 3.0.16 kernel, only changed the memory allocation. :) Anyway, I'm waiting for my IncS to arrive, but I think, that the Desire 500 audio files, should work on every armv7 hTC device!
[HD2 Android NAND Development] CNexus:
Yup, I saw that yours was different
[HD2 Android NAND Development] sbryan12144:
Sorry I haven't been able to help out yet guys. Apparently the hd2 trib sent is in some FedEx shipping limbo. It should've arrived a week ago..
[HD2 Android NAND Development] -leo-:
maybe you have to track via the shipping bill number to see if it's at the customs' check point or it's at the fedex?
[HD2 Android NAND Development] sbryan12144:
The tracking number says it started but then stopped in new York