yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] symbuzzer:
tytungs kernels are open source if I dont remember wrong. so you can add your own modules in it.
[HD2 Android NAND Development] silverdart:
Sorry!

Not that technologically sophisticated. That is why I DONATE to DEV's.:laugh:
[HD2 Android NAND Development] chautruongthinh:
You must delete line "qemu.hw.mainkeys=0" in build.prop to disable softkey!!

If you want enable softkey, you must add line "qemu.hw.mainkeys=0" in build.prop!!
[HD2 Android NAND Development] Number 8:
I get "Unfortunately, Gallery has stopped" when trying to record a video. Taking a photo also has artefacts but the photo is clear in gallery.

Installed the ROM several times and it's not working. Tried the ICS Camera from Store but the error persists.

HD2 LEO 512- cLk - DataOnExt
[HD2 Android NAND Development] blackkj:
>>>>You must delete line "qemu.hw.mainkeys=0" in build.prop to disable softkey!!

Interesting....actually I set it to 1 and that did it.

I don't understand why the zip flash did not work.....

K
[HD2 Android NAND Development] rexx87:
Did you maybe found a solution for missing sounds? I still can make it work....
[HD2 Android NAND Development] jully3881:
also i think , now this rom will have lots of bugs, so i wait wait wait wait
[HD2 Android NAND Development] Robbie P:
Or, to disable navigation bar (and enable pie controls, if needed),

check settings/system/expanded desktop/status bar visible (or hidden if you like)

Then check power menu(press on-off hardkey)/enable expanded desktop (if option not available, enable it in settings/system/power menu first)

Then to toggle navigation bar, check power menu/expanded desktop enable/diasble
[HD2 Android NAND Development] dreamenvoy:
good, I refreshed 3 times at the first time.
[HD2 Android NAND Development] Nixda99:
Crossbreeder

If you want only a high Entropy value:The Entropy value is already near 4000 in v2.1. You can check it with the Entropy checker app recommended from idcrisis:

V6 Supercharger script said we have an Entropy-ness value of 3642 in v2.1.
[HD2 Android NAND Development] Arthedes:
Thanks, but is it possible to undervolt as well?
[HD2 Android NAND Development] S1gma:
Yes, using init.d script.
[HD2 Android NAND Development] silverdart:
Not what I'm looking for!

I use V6 Supercharger script and my Entropy-ness value is 4096. As I have mentioned before entrophy is not what I'm after. The following is what I want:

Quote from Idicris:

Best way to check if frandom is working is to do: ls -l /dev/*rand*

If find reports no module and ls -l /dev/*rand* report no frandom+erandom then you most probably don't have frandom support and can probably ask your kernel developer for it.

To see if CrossBreeder is using the frandom module properly, you 'ls -l /dev/*rand*' will report the existence of the /dev/urandom.ORIG file and the output should be very similar to this (size of random will be 11, the size of frandom, and the size of urandom will be 12, the size of erandom) :

Then you can optionally also run a

killall -HUP system_server

killall is purely optional to make every single app (which may have loaded before CrossBreeder and was using /dev/urandom.ORIG) to use the faster /dev/urandom ( which is now pointing to /dev/erandom).:good:
[HD2 Android NAND Development] Arthedes:
Im on radio 2.15, but when i check about phone i only have 410mb of RAM memory. I thoufhtthat with theradio you unlocked another 128 mb of ram, how does this work? Is it even detectable by the system? Should i reflash my radio? The system seems really sluggish and im constantly at 160-100mb of free ram.
[HD2 Android NAND Development] nontryer:
Everyone is getting 410mb, rest of ram is used by GPU.
[HD2 Android NAND Development] Shurup:
Download link to the google doesn't work: system error, please try again later...

Can you please provide any mirrors? Thank you for your beautiful work!
[HD2 Android NAND Development] kleinerOnkel:
unfortunately same problem here
[HD2 Android NAND Development] tytung:
Thanks.

I like this method for showing/hiding the softkeys without reboot. :good:
[HD2 Android NAND Development] rlichtefeld:
Been running this ROM for about 2 weeks. Was running the 1.4a ROM before.

Here are my impressions, most are probably tied to the CM10.1, but here goes:

Bluetooth voice calls are much, much better with both my SonyEricsson headset and in my Acura TSX.

WifiWidget now shows the access point name instead of the mac address!

Had to clear the data on the Clock/Alarms app to get rid of FC.

Some of the screens seem quicker, especially in the Launcher.

Battery usage seems about the same.

It's amazing that this 3 1/2 year old phone can be running the lastest version of Android so well.

Great job Tytung!
[HD2 Android NAND Development] TBS2002:
hi

i am new at this

i followed video tutorial on youtube on how to dual boot win7 and android

does this video tutorial work with this

coz i did as i watched and didnt work with me

this is the video :

http://www.youtube.com/watch?feature=player_embedded&v=jhuR59UXw_4
[HD2 Android NAND Development] Hinnne:
can all of you give feedback abut battery usage / drain with cm10.1 v2.1:

NAND & datatoext:

NATIVESD:

which needs more?

standby drain per hour with data and wifi on, gps and bt off would be interesting.

for example: with typhoon cm7 and tytung r16 i get 1-3ma per hour on standby with data and wifi on, gps and bt off.

thx

what do you think about this:

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

if i understand right, that means sandisk class2 32gb is better than class10 cards for nativesd and dataonext usage because of better important 4k write speed
[HD2 Android NAND Development] S1gma:
Tested with 1.4 dataonext, nativesd and with 2.1 nativesd. Data, WiFi and GPS on, BT off. Usage is similar, 2-5mA, most of the time around 3-4mA.

As for the second part of your post. Crucial thing is random read/write speed, however this parameter can differ from card to card even when you are testing to cards from the same manufacturer... So Sandisk class 2 can be better than class 10, but I wouldn't take it for granted without benchmarking these two particular cards before using.
[HD2 Android NAND Development] pathologo:
Please try to disable data completely when it happens and come back here with your findings. This misbehavior sounds very familiar.
[HD2 Android NAND Development] Jonnyapps:
I managed to get data working by doing a full wipe using Superwipe etc. and upon reinstall data was fine. However, the system still works extremely slowly, even in aeroplane mode. I'm wondering if it could be attributed to the Class 4 SD Card I'm using?
[HD2 Android NAND Development] sunitknandi:
Have you both used that initrd.gz patch? It fixes almost all the major problems.
[HD2 Android NAND Development] Realalist:
Well I use a class 4 sd card data on nand and I don't experience this lag, so I think we can still out it being you're sd card class. Readjust the buffer size that might help.
[HD2 Android NAND Development] Geeba:
Could someone tell me what it is? I'm guessing a swap file partition? :confused: if so is there a performance gain?
[HD2 Android NAND Development] Jonnyapps:
I will try this, thanks for the recommendation. I was under the impression it didn't apply as I hadn't followed the 'NAND' route specified in the OP, but had followed the 'NAND with Data on EXT'.
[HD2 Android NAND Development] pathologo:
tytung, why did you include the file /system/etc/recovery-resource.dat in v2.1?
[HD2 Android NAND Development] Jonnyapps:
I am following the NAND with Data on EXT route - should I therefore be replacing a different initrd.gz to the one in /kernel/NAND?
[HD2 Android NAND Development] Robbie P:
Unzip the 2.1 rom zip

delete the kernel folder

unzip the update and copy the kernel folder

paste the kernel folder in the rom.zip

re-zip the rom.zip folders (not the folder itself else you will have a folder within a folder)

flash
[HD2 Android NAND Development] tytung:
I didn't add it manually.

It was added when I updated source code from CM, and I didn't notice it.

I can delete it in next version to save 460KB. :)
[HD2 Android NAND Development] adell_:
Yes. Otherwise, you will have many problems.
[HD2 Android NAND Development] Jonnyapps:
I have tried the advice offered and completed a fresh install but still have lag. For example, opening the Endomondo app takes approximately 45 seconds.
[HD2 Android NAND Development] tytung:
silverdart:

Did you read the link NYLimited post?

According to what Ricardo Cerqueira said: "/dev/random is only used by libcrypto, wpa_supplicant, and the libraries that generate random partition IDs when you do an ext2/3/4 format."

Thus even if /dev/random is pointing to /dev/frandom (done by CrossBreeder), we won't get anything.

I won't build this frandom kernel module because of lack of time and motivation.

Frandom support is just one of five features in Crossbreeder. It's not necessary to make Crossbreeder working.
[HD2 Android NAND Development] NYLimited:
I would not go as far as suggesting that a Class 2 anything is ideal or better for your device. That is the lowest performing card no matter which way we look at it and the cost of better/faster cards is the same or nearly the same now. A Class 4 or Class 6 card will still outperform the Class 2. In some cases a Class 10 is not as good but in other cases it may well be.

There is a lot more info in the SD link in my signature if you are interested in this topic.
[HD2 Android NAND Development] silverdart:
Understood

Thanks for the consideration and I love the new ROM!:good:
[HD2 Android NAND Development] Robbie P:
Which advice offered did you try?

Did you replace the kernel folder?

Did you replace the kernel/boot_NAND/initrd.gz?

Or did you replace the kernel/boot_NAND_with_DataOnEXT/initrd.gz?

Just interested:)
[HD2 Android NAND Development] sandymac:
Low Sound Issue

Tytung, have you had time to look at the sound issues, in particular when Bluetooth is activated? I have tried all methods to resolve this but every time I connect on Bluetooth then the sound goes low (even with sound fixer running). The only solution is to reboot the phone each time I get out of my car. As you can imagine, this is quite frustrating. ;)
[HD2 Android NAND Development] NYLimited:
Okay, so what are your current MIN FREE settings?
[HD2 Android NAND Development] tytung:
Just call someone (or any voice service -> did I use the right term??) and then end this call.

It will fix the low sound after disconnect Bluetooth.
[HD2 Android NAND Development] Luz:
Hello, I didn't found a solution to my problem in the thread (search function, I didn't ad the time to read 104 pages...:()

my setup :

LEO 512

Radio 2.15.50.14

aMagldr 1.13

CWM Recovery 5.0.2.7

misc ya 1M
recovery rrecov|ro|nospr 5M recovery_leo.img
boot yboot|ro 5M
system ya 400M
cache ya 2M
userdata ya|asize|hr allsize

SD SanDisk Ultra 16GB HC1 10GB in Fat32 32ko and 5GB in EXT4

initrd.gz patched in the NexusHD2-JellyBean-CM10.1_V2.1.zip

Nand DataOnExt

RMNET

the problem :

I only have 70Mo for the internal storage and I need to reconfigure android after each restart.

It look like the data on the SD can't be mounted or read.

Where did I miss something ?

I will try in PPP
[HD2 Android NAND Development] sandymac:
I'll try tomorrow and let you know the results. Any ideas for a long term fix on this? :D

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

If you have set the partition size to 400 and you have an EU phone then that is all the space you will have. You should only need a maximum of 300 for your NAND partition. ;)
[HD2 Android NAND Development] Luz:
My first try was with 300Mb.

So, PPP test failed.

The storage page say :

Total space 0.00 o

avalaible 0.00 o

Apps 71.72 Mo
[HD2 Android NAND Development] sandymac:
Please read the OP fully and try again. You only need a maximum of 300Mb. Also Tytung has released a kernel fix which you should also patch. ;)
[HD2 Android NAND Development] Quentin himself:
I had no problem with a 400Mo partition (needed 380Mo or something like that for an other ROM). I had to reconfigure Android at each reboot when I was on JellyBelly.

This solved my issue of losing data at each reboot (maybe it'll solve yours, let us know) : http://xdaforums.com/showthread.php?p=31949960#post31949960
[HD2 Android NAND Development] adell_:
Can you try increasing the system partition size?
[HD2 Android NAND Development] NYLimited:
If somehow you ended up with a NAND only system (not DataOnEXT) your number would be correct.

Did you try to use a file explorer, such as EX Explorer, to look at your sd-ext partition? If yes, what size did it show?

Somehow I am guessing you did not end up using install option # 2. Make sure the sd-ext partitionis the second one on the card and it is set as primary. Try flashing again with option 2.
[HD2 Android NAND Development] Luz:
If you're talking about the "Patch: initrd.gz patch for NAND users. (Apr. 24 added)" I already added the fix to the zip.

Unfortunately, the fix didn't work, I'm now stuck in the cyanogen mod looping animation

Already at 400Mb, more then enough.

I think I'm at my 10 attempt to flash this firmware and I always took the NAND and DataOnExt option "the second one".

I can't install any applications, 0.00 o free on the data partition and I could only brows the fat32 partition with the cyano one.
[HD2 Android NAND Development] bluur:
data connection doesnt work for me..

I flashed it 2 times and the same problem. Any solution?
[HD2 Android NAND Development] NYLimited:
Were you able to confirm the ext4 partition? ES File Explorer or TWRP should be able to confirm.

Anything in the Logs after boot?

Try DF in terminal?

----

If mathematically the result seems to be wrong, try multiplying by the page number.
[HD2 Android NAND Development] adell_:
I know that. But can you try increasing it to maximum? It might solve your problem.
[HD2 Android NAND Development] NYLimited:
Have you installed any apps? Nothing was installed in the NAND data partition.

What kind of card is it? Brand and speed..

Where are you seeing little space - in what app? See what Titanium backup tells you about internal memory..

---

Everybody lies, but it doesn’t matter since no one listens.
[HD2 Android NAND Development] Luz:
I will try that.

I was unable to install any apps, my data partition is full, just after the first initialization.

For the card, this one, a sandisk Ultra micro SDHC UHS1 (arg, can't post url, not enough post : /)

same problem with my previous card, a Lexar 8Gb class 4 but this one worked fine with DataOnExt last week.

The spaces I listed previously where from the android storage page.
[HD2 Android NAND Development] marco.palumbi:
are you able to connect the phone to a pc with USB and run "adb shell" from the PC?

I would like to see the output of some commands:

busybox mount
busybox df
ls -lsa /
ls -lsa /NativeSD
[HD2 Android NAND Development] hassam_tariq2003:
this just isnt booting on phone...aaaah....

i am on the verge of tearing the skin off my face......

i have tried everything but this rom just wont bootup.......
[HD2 Android NAND Development] adell_:
What is your system partition size?
[HD2 Android NAND Development] sandymac:
Tytung, just to let you know that I tried this and it worked. Still a pain having to call my voicemail every time I leave the car. :laugh: Better than rebooting, I suppose. Am looking forward to a permanent solution as this ROM is excellent otherwise. Keep up the good work, man. ;)
[HD2 Android NAND Development] NYLimited:
So, you are saying the Lexar works but the Sandisk does not?

If I am understanding it correctly, I had a similar issue with a UHS I card while a Class 4 or Class 6 seem to work fine in my HD2...

Perhaps trying a Class 6 or a Class 10 (not UHS card) may give an answer.
[HD2 Android NAND Development] marco.palumbi:
can you please check the content of the file /fsck.log?

type the command

cat /fsck.log

and please report the results

it seems that the filesystem has some errors...

if so, try to recover in this way:

reboot into recovery

connect to the PC via USB

start "adb shell" on the PC

type

e2fsck -p /dev/block/mmcblk0p2

you should have a clean filesystem now.

then mount sd-ext with recovery (mounts menu)

get back to adb shell on PC and type

cd /sd-ext
rm -rf NativeSD

you removed the NativeSD directory.

umount sd-ext from the recovery menu and try to install again the ROM.
[HD2 Android NAND Development] Sancher:
I installed this ROM and have a few questions:

1. How do I make status-bar dissapear every time I block the screen and appear every time I unlock it. Like it was in Android 2.3

2. I dont know how to run some apps which are installed by default but not usable. Such as Dev Tools and SIM-menu. There are no icons in the main menu. And when I try to run it using link2sd function "run app" it says "unable to run"(in russian, so its not exactly the same words).

And it appears that I need some of them. They worked in Android 4.1.2
[HD2 Android NAND Development] Number 8:
Am I the only one that can't record videos (camcorder FC "Gallery has stopped") with this ROM?
[HD2 Android NAND Development] Sancher:
Works fine for me.
[HD2 Android NAND Development] trendsbze:
Can't get past the HTC Screen

Just loaded the new nexus hd2 rom. I just can't get past the HTC screen. The rom loaded fine, but I must be missing the final step. Ater the HTC Screen, nothing happens for hours. Please help me, anyone.

---------- Post added at 03:43 PM ---------- Previous post was at 03:31 PM ----------

One thing I forgot to mention. At the end of the intalll, I get a message for Magdlr users.

Set your SD BOOT FOLDER TO NATIVE SD. Can this be the problem and if so, how do I do this.
[HD2 Android NAND Development] LaidbackNikez:
I'm not sure if you'll read this Tytung, but if you could contact me through IRC/Twitter, that'd be great. Twitter; LaidbackNikez, IRC; irc.freenode.net, channel #k3ftw
[HD2 Android NAND Development] Luz:
the result :

root@android:/ # cat /fsck.log

cat /fsck.log

/dev/block/mmcblk0p2: Superblock last write time is in the future. FIXED.

/dev/block/mmcblk0p2 contains a file system with errors, check forced.

/dev/block/mmcblk0p2: Inode 376818 has imagic flag set..

As for e2fsck -p /dev/block/mmcblk0p2

~ # ←[6ne2fsck -p /dev/block/mmcblk0p2

e2fsck -p /dev/block/mmcblk0p2

/dev/block/mmcblk0p2 contains a file system with errors, check forced.

/dev/block/mmcblk0p2: Inode 376818 has imagic flag set.

/dev/block/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(i.e., without -a or -p options)
[HD2 Android NAND Development] marco.palumbi:
You need to format again your ext partition.

It would be too difficult to fix with e2fsck.

Try to format again.

If you will have similar problems, may be your card is incompatible with hd2 hardware.
[HD2 Android NAND Development] Robbie P:
Hi tytung, i noticed i had the same problem with my BT headphones on 2.1. So I tried to get a log of it happening. Oddly, the second time i disconnected BT (using notification toggle) the problem disappeared. I also got a message saying bluetooth share has stopped. I have attached the log, hope it helps.

I have tried again after a reboot and have no problem with low sound after bt disconnect, for now.

Edit; low sound is back, luckily still connected to qtadb, attached log2. It happened 2nd or third disconnect.
[HD2 Android NAND Development] ponn:
Does anyone else have this problem: sometimes (too often lately) after answering to incoming call i get buzz noise from speaker and i have to remove battery to reboot. I have applied the kernel folder patch.

Everything else is working great.
[HD2 Android NAND Development] ad2003:
Got this error today. Buzzing sound, the display stays on, only battery removing helped.

Ad
[HD2 Android NAND Development] 0719andy:
Welcom to HD2 Forum !

If I remember correctly that tytung said he would not dev kernel 3.0. :confused:
[HD2 Android NAND Development] apocalypse_bg:
ADB by default?

Hello,

is ADB enabled by default? I'm intrested in flashing the rom to an HD2 with non workable display.....
[HD2 Android NAND Development] sandymac:
Assuming that you have installed to NativeSD then you must set the directory in Magldr:

1. Boot into Magldr

2. Select option 10 - Services

3. Select option 1 - Bootsettings

4. Select option 3 - AD SD Dir

5. Scroll down until you see the NativeSD folder and select

6. When back in main menu, select option 2 and phone will reboot using the NativeSD folder.

Hope this helps. ;)
[HD2 Android NAND Development] ponn:
Got it. It's Viber related issue. Haven't tried older versions etc yet, but quickest workaround is to make a outgoing call right after reboot.
[HD2 Android NAND Development] arminvm:
You guys probably have viber app installed. This bug is usually caused by viber. Please remove it if you don't use it too often.
[HD2 Android NAND Development] hassam_tariq2003:
350m but i am trying to install it as native sd on my memory card....
[HD2 Android NAND Development] LaidbackNikez:
Thanks.

This actually isn't about kernel 3.0 :)
[HD2 Android NAND Development] trendsbze:
Thank you soooo much. It finally worked. This HD2 just won't give up. Has to be the best phone HTC ever made.
[HD2 Android NAND Development] Max399:
Hello, im using this ROM for about a month now, and the only annoying problem i've had is that sometimes when i answer a call, the phone just hangs, and them it just crashes the phone app with the dialog wait or close now. Else its just awesome :)
[HD2 Android NAND Development] sandymac:
Hitting the Thanks button is enough.... :good:
[HD2 Android NAND Development] tytung:
I don't use IRC or Twitter.

Yes, I won't dev kernel 3.0. I have zero knowledge about kernel 3.0.

All I know and what I can do is just 'to patch source code' for kernel 2.6.32. :laugh:
[HD2 Android NAND Development] tytung:
Yes.

I'm interested why do you want to do that?
[HD2 Android NAND Development] tytung:
Just post what you want to say here.

If I have time, I may help you.
[HD2 Android NAND Development] sonalikagaur:
Tytung,

My install is, NAND, MAGLDR, 350/5, RMNET.

I face problems of black screen, sometimes my phone doesn't even wake from sleep, I just see hardware backlight but no display, I can receive calls in that condition .

ROM is smooth no problem with it.

I have tried to wipe dalvik cache and fix permissions , but after every 4..5days this happens again.

Any support?!
[HD2 Android NAND Development] rexx87:
Same thing happened to me once. Reboot is the only solution.

No Viber app installed on my device!
[HD2 Android NAND Development] adell_:
Did you set the correct boot option and folder?
[HD2 Android NAND Development] hassam_tariq2003:
dude i know how this **** (all about HD2) works..ok.....i did all i could and redownloaded it thrice and on different PCs
[HD2 Android NAND Development] adell_:
Calendar events don't appear on the lock screen no matter how I configure cLock. Does anybody have this problem?
[HD2 Android NAND Development] Realalist:
Though the problems with this ROM are few I'm having this problem as well.
[HD2 Android NAND Development] Good_vibes:
I have the same problem too! Tried wiping cache, fixing permission, CPU min 245 but still it happens now and then.

DataOnExt 2GB, MAGLDR, 300/5, RMNET
[HD2 Android NAND Development] NYLimited:
Double check your lockscreen setup for days to look ahead. If you can't get it to work try Dashclock from the Play store. It works well.

----

If mathematically the result seems to be wrong, try multiplying by the page number.
[HD2 Android NAND Development] Quentin himself:
I don't know if you have tried the "Home button trick ", but you should really try it. When facing the issue, click on Home button and it will wake it up (I can say it works for me).

Try also to reduce the number of widgets on your lock screen, even deleting camera launching on the right and widgets can help (see Wiki for this ROM). Hope this helped ;)