yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Simon_WM:
Sure,

Okie, So am board on trying to get dodge sense biulds to run, and Miui has stopped being supported, so i was like heh, okie ill try out something new,

So lets go for CyanogenMOD 9

So my current setup is:

HTC HD2

CLK 1.5_RC1

Clockwork 5.0.0.2.6

CyanonMOD 9 15/06/2012

I have installed about 100 apps, from a list i have saved to my desktop =)

and installed link2sd to move the apps to the EXT3 partition, all is good so far

However when i come to reboot, it just gets stuck on the boot screen, but when i then retart, go into recovery and wipe the cache, it might then start,

But i will loose some of the optinions like the lockscreen and half the options on the APM [ Advanced Power Menu ] so i get pissed off, and wipe it and start over...

This time, ive installed 5 apps, without useing App2sd, just rebooted and it seems ot be stuck in boot loops.... Why this happening ?
[HD2 Android NAND Development] Thealshear:
any bad blocks also do a filesystem check on your ext partition
[HD2 Android NAND Development] Simon_WM:
Okie, WTF i installed

Facebook

Facebook Messneger

Facebook ICS Contact Sync

Dropbox

Twitter

Instragram

Gapps

Smary Keyboard Pro

n its stuck in boot loop... :mad:

Y THIS ONLY HAPPEN TO MEH ?

Yeah, so i cleaned the cache, i ive list most of the APM and the use if Phone and Home buttons
[HD2 Android NAND Development] Dr_Grip:
Can you boot into the bootloader and get a DMESG file, please? That would help us immensely.
[HD2 Android NAND Development] Simon_WM:
ill try =)
[HD2 Android NAND Development] earthworm1102:
Tried and Installed... works good for me!!

Well. this ROM intrigued me, installed it yesterday and works pretty darn good. I only had one reboot from last night. Works perfect now!!

+ 1 Simon_WM(hope you will be able to make yours work) and milaq (Thanks on OP too)
[HD2 Android NAND Development] Robbie P:
No, they use candles or midnight oil, and keep fit with push ups:D

Sorry Rick_1995, couldn't resist, and hopefully someone might give you a proper answer.
[HD2 Android NAND Development] Rick_1995:
LOL, never thought of it that way :D
[HD2 Android NAND Development] marc1706:
The nightlies are using neon. It shows something like armv7-neon while compiling. ;)

edit:

To be exact:

TARGET_ARCH_VARIANT=armv7-a-neon
[HD2 Android NAND Development] Simon_WM:
How many apps have u installed ?

i installed Adobe + Angery Birds, n it crahsed...
[HD2 Android NAND Development] earthworm1102:
I have a lot of apps installed. I Have Angry Birds Space installed and it doesn't crash.

Am using Tmous version with EXT 4.

I have app2sd but haven't used it yet. On my storage, it shows Total space:731 and available space is 401.

More or less 45 apps installed. Then again i have Tmous version.
[HD2 Android NAND Development] Thealshear:
Mr simon use tytung rom with darktremor a2sd script runs like a dream on my phone. these roms are unstable as they are nightlies (testing new features and bug fixes)
[HD2 Android NAND Development] milaq:
these are NOT unstable, just nightly builds.

make sure you fully understand what the term "nightly" stands for.

pls refrain from posting with sciolism.
[HD2 Android NAND Development] Simon_WM:
:(
​

---------- Post added at 09:04 AM ---------- Previous post was at 09:03 AM ----------

Ive tired both ROMs, Might try the NexusHD2 again... but then again i think it could be my HD2 or the SD Card,

So i might give the SD card a propper format
[HD2 Android NAND Development] Simon_WM:
Okie, installed latest version n have xda installed

Seems okie
[HD2 Android NAND Development] arif-ali:
USB Mass Storage will be also fixed in the next release

http://xdaforums.com/showthread.php?t=1389375

Thanks to Bexton
[HD2 Android NAND Development] kylew1212:
Is it possible that I could download from git-hub and compile myself?

If so I would be happy to test for you, and I can mirror to this thread if other people want to test and stuff.
[HD2 Android NAND Development] tytung:
It's just the GUI for the dirty fix (echo /dev/block/vold/179:1 > /sys/devices/platform/usb_mass_storage/lun0/file).

Not a real fix.

I have some issues when using this dirty fix.

For example, I can see SD content on Win7 PC and Android at the same time when running the command above. (Use Bexton's app or from adb shell.)

But when I delete a file in the SD card on Android, I still see that file on Win7 even I refresh the folder.

In other words, the files status in the SD card doesn't sync correctly.

Maybe it's something wrong in my configurations.

Did anyone try it?
[HD2 Android NAND Development] clyder:
That looks very much like the issue I described some time ago in this thread.

But this was the case only when the a2sd and sd-ext partition is used. Maybe something in ICS or this fix is causing the same thing. After a second USB mount file index that phone sends to a computer is not updated.

Way to avoid that was to edit vold.fstab but when I tried to make that change in hyperdroid a lot of people complained about SD corrupt errors.
[HD2 Android NAND Development] cmhtcleo:
OK, maybe it's best then we don't incorporate it then, thanks for your feedback on that
[HD2 Android NAND Development] cmhtcleo:
You can if you want

I am having one minor issue with some scripts within the build where the cache is not mounting correctly, and therefore market downloads above 4M don't work, So once I have fixed that, I will get a build out.

As ever another compilation is going while I am writing this post. I am hoping this will fix the issue
[HD2 Android NAND Development] michie:
@tytung

Works perfectly on your rom
[HD2 Android NAND Development] cmhtcleo:
Alpha03 is now uploaded

Check OP for details, both cLK and MAGLDR
[HD2 Android NAND Development] RoadXY:
Is HW accell the one from Ankuch?
[HD2 Android NAND Development] arif-ali:
yes, see credits later in OP, he is credited for the HW accell

It's a hack, but this is the only fix at the moment
[HD2 Android NAND Development] Dr_Grip:
In which way is it a hack? I remember texasice calling it "no real hardware acceleration" and stating the "everything is still done in software".
[HD2 Android NAND Development] arif-ali:
That is what I meant to say; sorry if I offended anyone
[HD2 Android NAND Development] RoadXY:
Sorry, didn't look through the credits.
[HD2 Android NAND Development] Dr_Grip:
You got me wrong, I wasn't offended, I am merely interested what exactly the drivers do if they don't use the GPU.
[HD2 Android NAND Development] fabiogrotte85:
how can i use the native screenshot?
[HD2 Android NAND Development] arif-ali:
Keep hold of the power button, Then you will get a menu

Silent mode

Airplane mode

Screenshot

reboot

Power off

You want to select Screenshot
[HD2 Android NAND Development] mexicandroid:
Does this rom have any new Cyanogen tweaks?

sorry if it is a dumb question
[HD2 Android NAND Development] hitman818:
Is there any difference between this and tytungs ics build? I know this is cm, but what features does it add?
[HD2 Android NAND Development] arif-ali:
This is compiled from source as mentioned in OP using the CM sources. The extra features will come soon, as they are not there yet. There may be some, for example the launcher in cm ics is now called Trebuchet.

The whole purpose of my project is so that anyone is able to pick up and is able to continue work. Also when extra features within cm do come along, they will be automatically included.

The whole point of tytungs project is 100% AOSP from google, whereas this is also 100% AOSP but with CM tweaks/addons

I have yet to load tytungs version of ics on my phone, so really don't know what the differences at the moment, as I have been heavily trying to build the source of the device specific/config files for compilation.
[HD2 Android NAND Development] redjama:
I flashed tytungs ICS kernel on this rom and I now have less hot reboot and is a lot more stable now.
[HD2 Android NAND Development] Bazel:
I have had the same with the build from 16-06. Today installed the latest build and it isall okay !
[HD2 Android NAND Development] thor9934:
Will you use the linaro toolchain for future builds
[HD2 Android NAND Development] Simon_WM:
Okie,

So i can get the NexusHD2 build of ICS to work, and with all my apps installed ?
[HD2 Android NAND Development] securecrt:
CM9 team is doing the linaro toolchain integration. It is still not completed now
[HD2 Android NAND Development] kylew1212:
What all benefits does linaro have? I think its supposed to be faster?
[HD2 Android NAND Development] kikisp:
By some talk by 30-100% faster..but initial tests are not good..there is no performance gain at all..but most of optimizations that bring speed isnt implemented yet...
[HD2 Android NAND Development] Dr_Grip:
Wait, the linaro toolchain is just a new set of compilers? I don't know jack **** about the standard gcc implementation for ARM but I don't think you can get close to this performance gains just by changing the toolchain.
[HD2 Android NAND Development] Bologna:
just quoting Romanbb (AOKP main developer)
[HD2 Android NAND Development] Dr_Grip:
Ok, so it is just a newer toolchain. While I doubt it will bring any real-life performance gains, there are enough benchmark junkies here who'll be pleased once it's implemented. But as Romanbb said, there will not be a 100% performance gain. Don't get your hopes up too high, guys.

Never the less it won't hurt to finally have a current toolchain again, that's for sure.

---------- Post added at 11:13 AM ---------- Previous post was at 11:04 AM ----------

I know I am the first to shout "it's a nightly, not a cooked ROM!" but it seems like marc's new notification light library could be exactly the kind of HD2-specific change that should be pulled into the device repo.

EDIT: Just looked into marc's repo, I see milaq has already taken action ;)
[HD2 Android NAND Development] Burag:
I will quote Rick's post from here: http://review.cyanogenmod.com/#/c/17535/

It looks like the big part of linaro guys work was targeting mostly A9 chips...

(as far as I understand).

I'm curious how about the newer toolchain and -O3 flag - will it bring us any benefits?

I've read in CM gerrit that those still causes bugs on some devices, but how about HD2?

BTW. Shame that my only Linux box is x86 Pentium IV based :(
[HD2 Android NAND Development] Dr_Grip:
Code better optimized at compile time (as in -O3 instead of -O2) will run a little faster. But it still is the same code that is getting compiled running on the same hardware. A newer toolchain and better compile-time optimization will bring some performance gains but I would not expect any miracles.
[HD2 Android NAND Development] kylew1212:
Would it be possible for me to compile milaq's repo using the new toolchain and test for improvements?
[HD2 Android NAND Development] Dr_Grip:
Try following the compile how-to in the first post. First with the standard Android SDK. If that results in a working build, i.e. if you have checked that your environment is sane, you can try installing linaro and see if it compiles and runs.

But be advised, the system requirements for compiling ICS/CM9 are insane.
[HD2 Android NAND Development] daedric:
They are ?
[HD2 Android NAND Development] Wareazy:
Hey all, got a few questions hope someone can point me in the right direction.

Ill start off by saying that I'm using a SG2 and i've been on a flash binge for the last 2-3 months for that phone.

However my GF has an old HD2 which we bought rooted with CM7. I believe its on MAGLDR on it.

So the first question: can i just down load the zip and flash it the way i have been doing it for my SG2 (using MAGLDR in a similar way to the way i have been CWM)? Or do i have some hoops to jump through?

P.S. i tried searching for the info, but a lot of them go into installing MAGLDR or something else, and im really hoping to not have to do that.
[HD2 Android NAND Development] Rick_1995:
1) read the first post properly

2) Partition your phone using DWI in recovery for magldr while the phone is connected to the PC in "USB Flasher" mode. (Make sure you have MS activesync drivers installed, this is Windows Mobile Device Center in Windows Vista/7)

3) After having partitioned the device, select AD RECOVERY (this is CWM).

4) Rest all is nearly same as a native android phone. Install zip and reboot. However iirc magldr required some extra stuff which i don't quite remember since I'm on clk right now.

Happy flashing (Although don't have much high hopes from the old bugger compared to the speed demon in your sgs2).

If it's for your girlfriend, i highly suggest you use a cm7 build as currently cm9 is good for daily use but a few things are broken (hw accelerated media encode/decode, flash player etc..).
[HD2 Android NAND Development] Wareazy:
Thanks for the info! Ill go for a CM7 updated build.

Im sure she will be fine with it, basic emailing and facebook.

She just wants something new and she's kinda jealous of me flashing every other day and "making your phone even better"!
[HD2 Android NAND Development] nygmam:
I will still be flashing this ROM to my old HD2, but I just got my new phone and will be keeping the HD2 for backup and as an awesome toy. As I won't be using it daily or as a phone I probably won't have much useful feedback but still looking forward to testing new builds as they roll out.
[HD2 Android NAND Development] milaq:
reg. compile howto:

i just updated it a tad. we use local manifests for some time now. third posts now includes instructions how to sync up with the new method.

cheers
[HD2 Android NAND Development] kylew1212:
Can you give me an idea of the system requirements?

My system is:

dual boot windows 7 and Ubuntu 12.04

i7

8 gigs memory

Roughly 360 gig hard drive for each os.

Its not the nicest or the best but it does what I need it for.
[HD2 Android NAND Development] milaq:
thats more than enough :)

if you plan to build more than once or twice make sure you set up ccache correctly ("ccache -M 50G" should be good enough).

a build on a decent quad core with 4 gigs of ram and a filled ccache from 3 to 4 builds will roughly take half an hour.

Sent from my HP TouchPad
[HD2 Android NAND Development] securecrt:
I am using Vmware installed debian 6

compile this rom will cost about 60 minutes. my machine is

i5 2500 cpu

8gRAM

2T harddisk.
[HD2 Android NAND Development] kylew1212:
Since you are using vmware wouldn't that mean you are not usually all cores on a build because some are dedicated to the main os?

I use virtual box instead of vmware, but I have to select how much memory and cpus the os gets.
[HD2 Android NAND Development] milaq:
yup, some of the juice goes to the host OS. futhermore building in a VM suffers from crappy IO performance.
[HD2 Android NAND Development] kylew1212:
@milaq is Ubuntu 12.04 good for building / compiling? Or do I need some other os like a different version of Ubuntu or debian?

I know their are probably lots of build components I need and packages but I think your first post has that.

I'm going to try as soon as I get spare time. I want to learn more about developing :)
[HD2 Android NAND Development] securecrt:
the latest vmware improved the IO.

It is not slow now.
[HD2 Android NAND Development] securecrt:
ubuntu is ok
[HD2 Android NAND Development] kylew1212:
Is vmware better than virtual box?
[HD2 Android NAND Development] Burag:
If you already use some linux distro, then do not bother with virtual machines.

They still can provide some instability.

I was using both, with Win 7 x64 as host, and Debian testing as guest, and my expirence with both is quite bad.

I have no idea if the problem was my Phenom X6 or still not so good implementation of x64 virtualisation, but I was expirencing vbox/vmw app crashes (not related to guest OS).
[HD2 Android NAND Development] Rick_1995:
i give my vote to vmware, it saved my ass with flashing through RUU in linux, also magldr worked, so i was amazed since it never worked with vbox, no matter what i did. It would detect IO hardware such as keyboard, mouse or usb stick but nothing else, not even my usb DAC or usb soundcard..
[HD2 Android NAND Development] kylew1212:
This may actually sound crazy but I can boot up with Ubuntu partition and then run vbox windows 7 and I actually have hardware that works on my vbox that wont work in Ubuntu. Apparently Linux doesn't have drivers for my card reader and fingerprint scanner.. but I can send them to win 7 and they work. I have gotten magldr to work with vbox like once but it kinda made me nervous because I wasn't sure how good of a connection I had and I didn't want to brick my phone.

The reason I'm wondering which is best is because I'm thinking about deleting my Linux partition and running it from windows 7 via virtual machine so that all my hardware would work in Linux. My built in card reader is a pain with it not working. As far as fingerprint scanners idk if Linux supports them of any type or not.
[HD2 Android NAND Development] Rick_1995:
Linux will build entries for all present hardware which can be accessed by userspace for userspace based drivers, though for their safety unless a driver is available it will not attempt to do much, do a lspci and see which vendor is your card reader from. I needed extra setup and modules for the sd reader in my old laptop (which was manufactured by "ricoh"). Google will help you a lot with linux and especially with archlinux.
[HD2 Android NAND Development] :
hardware/qcom/display/libcopybit/copybit.cpp:89: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libcopybit/copybit.cpp:89: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int get_format(int)':
hardware/qcom/display/libcopybit/copybit.cpp:133: error: 'MDP_Y_CBCR_H2V2_ADRENO' was not declared in this scope
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
hardware/qcom/display/libcopybit/copybit.cpp:229: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libcopybit/copybit.cpp:230: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
hardware/qcom/display/libcopybit/copybit.cpp:389: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libcopybit/copybit.cpp:390: warning: comparison between signed and unsigned integer expressions
make: *** [out/target/product/leo/obj/SHARED_LIBRARIES/copybit.qsd8k_intermediates/copybit.o] Error 1
make: *** Waiting for unfinished jobs....

Get this while building any help? Looks like a bad header
[HD2 Android NAND Development] dusko_m:
time to move from CM7 to CM9. just need some clarification. is darktremor script working with these builds? when I installed early CM9 builds (or tytung rom), I didn't managed to get it working. back then, I didn't spent much time fiddling with it but now I would like to succeed in creating setup I had with CM7. somehow, I would prefer to have apps2sd over link2sd. I can't explain why (:d), lets say that I would like to stick with familiar grounds. Couldn't find any discussion on this topic related to these roms. reading tytung thread, I concluded that there is a problem with dtapp2sd usage with this rom and that he suggests Link2SD. is it same situation with CM nightlies? If so, is there working alternative?

I would like to make a humble request to cmhtcleo team...is there a possibility to include quick tutorial on how to set this up...in 2nd or 3rd post?
[HD2 Android NAND Development] kylew1212:
Thanks Rick, I ran the command however I have no idea which part would be my car reader.. Can you look at this and tell me which it is??

Thanks

Command: lspci

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GT 555M] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
07:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)

Command: lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0408:1fb2 Quanta Computer, Inc.
Bus 002 Device 003: ID 1c7a:0801 LighTuning Technology Inc. Fingerprint Reader
Bus 002 Device 004: ID 064e:3030 Suyin Corp.
Bus 002 Device 005: ID 0489:e010 Foxconn / Hon Hai
[HD2 Android NAND Development] Dr_Grip:
kyle, disconnect all external usb devices to narrow the list down. Then run the manufacturer names of everything that you can't identify in lsusb through google.

It is one of these three:

Bus 001 Device 003: ID 0408:1fb2 Quanta Computer, Inc.

Bus 002 Device 004: ID 064e:3030 Suyin Corp.

Bus 002 Device 005: ID 0489:e010 Foxconn / Hon Hai

If you can eliminate any of these by unplugging devices, much will be won.
[HD2 Android NAND Development] kylew1212:
Thanks! I will run those through google and try to figure it out. I ran those codes with everything disconnected actually :/ Also I think Suyin is my mouse pad. (it's detachable from the laptop)

Thanks so much!