yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] matmaf:
I know, I've read all the post about this app.

So, can be related to Audiopolicy?

Because in logcat there are a lot of strange row like this:

04-23 19:29:52.564 W/AudioPolicyManager(80): getDeviceForStrategy() unknown strategy: 3

04-23 19:29:52.564 W/AudioPolicyManager(80): getDeviceForStrategy() unknown strategy: 3

04-23 19:29:52.564 W/AudioPolicyManager(80): getDeviceForStrategy() unknown strategy: 5

04-23 19:29:52.564 W/AudioPolicyManager(80): getDeviceForStrategy() unknown strategy: 3

04-23 19:29:52.564 W/AudioPolicyManager(80): getDeviceForStrategy() unknown strategy: 5

In the old versions of your rom (4.1.2 v1.3 to 1.4a) I never had this problem!!! (unfortunately I don't have a logcat to compare)
[HD2 Android NAND Development] benlm72:
The only way I've found to do that is to turn off vibration in system settings/sound...but it turns off all haptic feedback.
[HD2 Android NAND Development] Dragon812:
Thanks.
[HD2 Android NAND Development] sandymac:
Appreciate your attempts to resolve this issue, Tytung, but none of the suggested solutions work. Happens to me when playing bluetooth audio. Only option to restore sound levels is to reboot. Hope someone can solve this soon as it is the only problem I have found with this excellent ROM. ;)
[HD2 Android NAND Development] arminvm:
Me too, just press the back button and everything should be fine.
[HD2 Android NAND Development] tytung:
We have those warnings in old versions too.

BT implementation was totally changed between CM10 and CM10.1.
[HD2 Android NAND Development] wauwter:
battery life

Hey,

Is anybody else experiencing faster drainage of the battery?

In former versions battery life used to be the better part of a day, while now it is only 6-8 hours..

No settings have been changed compared to the former version.

Thanks.
[HD2 Android NAND Development] sunitknandi:
I copied the full kernel folder. It worked fine. All the modules loaded on boot. LowMemKiller settings applied properly. Its also accepting change in governors and I/O schedulers. Overall the phone is MUCH faster now. It seems that before the patch all the tweaking scripts in init.d were not being applied because of the permission problems.

---------- Post added at 11:15 PM ---------- Previous post was at 11:12 PM ----------

To be REALLY honest. I have seen no difference in battery drain ever since 4.0. 4.0, 4.1 and 4.2 has given me nearly same performance and battery drain. In my opinion you should see the running apps in Settings>Apps and find out which app is keeping the CPU awake when the screen is off, thus preventing the phone from going to deep sleep.
[HD2 Android NAND Development] sonalikagaur:
After extraction of the ROM , replace the kernel folder, with patched one.

then select all the folders of the ROM , right click > send to > compressed zip .

It will create a zip file.

Flash it.
[HD2 Android NAND Development] zinko_pt:
Tytung,

If I had to resume this ROM, it would be "...don´t change anything."

I´m using DataOnExt install at a EUR HD2 version. Its flawless since 3 days ago. I tested BT, GPS, sync, SMS, MMS, phone calls and some more things and it is even better that 4.0.4 (2.9a). Its faster (screen scroll is smoother) and more stable.

In 4.0.4 I´ve tried DataOnExt and NativeSD and I either got FC or reboots (specially after connecting WiFi or 3G).

I´m tempted to test NativeSD on this version (32GB Sandisk Class10), but I´m reluctant to risk my present stability for a little more speed.

Anyhow, thanks a lot, I do appreciate your work. I really mean it.
[HD2 Android NAND Development] Realalist:
Well you guys are lucky because after trying every trick in the book I'd be lucky if I get four hours. I'm beginning to think it's an hardware issues.

Unrelated, I'm in love with the lock screen widgets.
[HD2 Android NAND Development] NYLimited:
If I am not mistaken, you could install NativeSD version without changing your current installation.
[HD2 Android NAND Development] TeleMaks:
Thanks for advice! It's really solution of i/o issue in settings!
[HD2 Android NAND Development] adell_:
It seems initrd_gz_patch fixes many problems. tytung, could you please add this to the second post?
[HD2 Android NAND Development] wauwter:
And how do I figure out which app is keeping the CPU awake when the screen is off?
[HD2 Android NAND Development] NYLimited:
Install wakelock detector from the Play store.

---

Everybody lies, but it doesn’t matter since no one listens.
[HD2 Android NAND Development] rexx87:
Guys, I think I mess up something with my phone. I was playing with it to fix the GPS problem and now I lost all sounds in phone (ringtones, music, youtube, applications) Speaker works, because I can make calls normally, but that’s the only sound that my phone is giving. I have try to change radio (now running on 15.40.50.07U_2.12.50.02_2) but it didn't helped. I thought that fresh install would do the fix, but I was wrong. I also checked on NexusHD2-ICS-CM9-HWA V2.9a (clean instal with sd format) but results are the same. Low sound fixer app didn't help!

I have tmouse HD2 with nativesd and magldr. Will provide catlog if needed.
[HD2 Android NAND Development] mackereljoe:
worked perfectly
[HD2 Android NAND Development] vinod7007:
Problem with Data-connection and sound

Hi

I am facing some issues after upgrade and fresh install of my phone.

i am not getting any sound and also cannot connect to internet although data connection symbol shows available.

i am sure i have done something wrong or missed some steps during upgrade.

can you please validate the steps i followed for the upgrade and let me know if i have missed something or have to do anything in addition to what i have done ?

•	After HSPL, Radio, task29 and MAGLDR 1.13.

•	I have 16 GB SD card. Used MiniTool to create 2 partitions (both primary).

o	1st one of 12GB FAT32 partition with a 32KB cluster size primary partition.

o	2nd one of 4 GB EXT4 primary partition.

•	copied the NexusHD2-JellyBean-CM10.1_V2.1.zip rom to the sd card and then put the sd card back in my phone.

•	Modified flash.cfg in dafexe_399 to

misc ya 1M

recovery rrecov|ro|nospr 5M recovery-raw.img

boot yboot|ro 5M

system ya 300M

cache ya 2M

userdata ya|asize|hr allsize

•	Started phone in aMAGLDR menu choose usb flasher and ran daf.exe in dafexe_399. partition completed successfully

•	Phone restarted and then I choose AD Recovery-->install zip from SD-->choose zip from SD card and choose rom to install

•	Choose DataOnEXT full install and rest at default.

thanks in advance

cheers,
[HD2 Android NAND Development] photona:
Maybe you did a custom install and forgot to check the sounds and maybe chose a wrong connection type? I recommend to do a fresh install again.
[HD2 Android NAND Development] Hinnne:
Well data problem with magldr and nand (data2ext) install:

only ppp is working wit 2.0 and 2.1. If you want to use rmnet (perhaps it is default setting) you get data bug. rmnet only works on nativesd. Or you can modify the install zip with the new posted init.gz zip file as mentioned in the threat. This seams to fix many problems with Nand Install.

No sound. Perhaps your default ringtones are not available or you have to choose them while installing if possible. try other ones.

just a hint. read or search in this threat.
[HD2 Android NAND Development] woxydator:
Thank God for tytung

Unbelievable ROM. (I use NativeSD version) Stable enough and fast. As if I bought a new smartphone. I was a little afraid of upgrading to 4.2, but now I'm happy I've done it. Thank you tytung.
[HD2 Android NAND Development] DarrenNewsgroup:
Go to the first post, scroll down to where the downloads are, you will find a initrd.gz patch link. Click on that and it will take you to page 83 where tytung put the original fix and follow the instructions. You will need a PC to add the new kernel to the zip file.

As you will be flashing the ROM again you might want to change your flash.CG file. I use 10MB for recovery (next time I will increase it to 15) as the excellent TWRP extended currently needs 9MB. Also as you are on DataOnExt you might want to enlarge the 300MB in case of bad blocks and in case the next tytung ROM gets a bit bigger (more great stuff)

Darren .)
[HD2 Android NAND Development] vinod7007:
Many Thanks to Darren and Hinnne.

I really appreciate your help. I am able to resolve my data issue but ringtone sound issue is still a problem.

Default ringtone is not missing since I can hear everything when I plug my earphone.

Any suggestions to resolve this.
[HD2 Android NAND Development] sandymac:
Please read back through the thread for possible fixes as the sound issues are well known. ;)
[HD2 Android NAND Development] rexx87:
Same here. No sound at all trough speaker, but headphones work normally. Have you try different radio?
[HD2 Android NAND Development] Pixa1:
Hi,

this ROM is awsome, fast and stable, much more fluid than 4.1.2. I use NAND with DataOnExt also the init script and had to inject AGPS for GPS to work.

Couple of bugs i noticed:

- When phone rings, the screen does not wake up

- i saw the sim card inserted warning, and then phone rebooted

Everything else works great (data,wifi,camera, etc...)

Regards.
[HD2 Android NAND Development] harshadura:
awesome work, thanks tyung!
[HD2 Android NAND Development] chautruongthinh:
Hi Tytung!!

I used this ROM 3 days ago. It's very fast and stable!! But sometimes, when i receiving a call, the screen is still black (i must have to press BACK button to wake up the screen)!!!

You can fix this problem for everyone!!

Thanks for hard work!!
[HD2 Android NAND Development] adell_:
While charging LED is orange even when the battery is full. Does anybody have this problem?
[HD2 Android NAND Development] ladarasse:
In parameters -> lockscreen -> lockscreen options (first menu) -> vibration (last menu option)
[HD2 Android NAND Development] sunitknandi:
Use the initrd.gz patch. It fixes almost all issues.
[HD2 Android NAND Development] Robbie P:
I have gunzipped and un-cpio-ed the patched initrd.gz for nand out of curiosity, and noticed that the permissions for init* files are -rwxrwxrwx root root.

Are the permissions and ownership changed after booting? I don't use nand so can't test. Does it matter? marco.palumbi has said that permissions should be -rw-r--r-- here http://xdaforums.com/showpost.php?p=40621243&postcount=815

I also noticed that the init* permissions in nand initrd.gz for nexusHD2 ics 2.9 were all -rw------- :confused:

I was wondering because I noticed odd init* permissions in other ROMs (nativeSD) and thought they might benefit from editing the permissions in init* files in initrd.gz

Thanks:)
[HD2 Android NAND Development] Pixa1:
i have flashed initrd, as i said in my post, but still i have screen problems when receiving call.
[HD2 Android NAND Development] BlackRainX:
I have installed 10 apps on EU HD2 running just on stripped NAND build.. far enough for me! :) Faster than data on ext :) (class 4 card)
[HD2 Android NAND Development] Júlio Rocha:
I have same problem... with NativeSD
[HD2 Android NAND Development] marco.palumbi:
copied initrd.gz nand version from tytung patch on sdcard

issue on the device terminal

su

mkdir initrd

cd initrd

zcat /sdcard/initrd.gz |cpio -i

I get all init.*.rc files system system -rw-r--r--

as expected

mkdir
[HD2 Android NAND Development] Robbie P:
Just did same as you and got the same as you apart from init file which was -rwxrwxrwx

So IDK what was happening before.

Its good to know that it is just a matter of changing perms in initrd.gz though.

Thanks marco.palumbi
[HD2 Android NAND Development] mackereljoe:
You do not need a pc to to move the kernel file your hd2 does it all. It will unzip, extract, copy and rezip the file. I used my hd2 to do all of tytung modification without any problem.
[HD2 Android NAND Development] sunitknandi:
I used X-plore file manager to do the necessary.
[HD2 Android NAND Development] RAXXer:
I´ve observed that when I start charging with device slepping (screen black) the LED remains orange after battery fully charged. Nevertheless, if I wake up the HD2 and then start charging (afterwards I usually turn off the screen), LED changes to green when battery becomes charged.

I shouldn'd call it a problem -perhaps an "eccentricity" of the ROM-; but anyway, I follow usually the second procedure in order to find the green LED shining in the morning!

(running 1.3a by the moment...)
[HD2 Android NAND Development] slashas69:
Does this rom support extended battery?
[HD2 Android NAND Development] mackereljoe:
Well done
[HD2 Android NAND Development] veekay:
I flashed with the updated patch for the dataonext, but the system won't even recognize the ext partition - it installs all the apps right to the sdcard space
[HD2 Android NAND Development] vibbuz:
Flashed 2.1 with dataonext, patched init on my EU hd2 with a sandisk 16gb sdcard (the reported one) and so far no problem at all until now. Tytung you're the best!
[HD2 Android NAND Development] Santiago94:
Welcome. I would like to report a bug but probably related to the Trebuchet launcher. Sometimes it is so that the output of some applications: games, internet or anything else you do not see any icons. This time you can see but it is a mistake. I would add that it does not need to restart the phone to get everything back to normalcy. This error also occurs in version 4.1.2 (1.4a) Here a screenshot with that error:
[HD2 Android NAND Development] Dragon812:
If you have a pattern, this option isn't available...
[HD2 Android NAND Development] ladarasse:
Oops, ok I see.

Preceding choice for vibration is conserved but not editable...

I unchecked all vibration options for my phone and now I cannot reactive the vibration for lockscreen (with slider or pattern)

Maybe a bug ?
[HD2 Android NAND Development] asisislam:
re:

The ROM was installed in NativeSD, it is very smooth and fast!

I got BLACK SCREEN now and then when receiving incoming calls.

I read the posts and noticed that people using NAND have similar issue but Some claimed that applied the initrd.gz patch solved their problem!

In my case I installed in NativeSD not NAND so is there a way to fix this incoming calls black screen problem?

Please help!!!

Many thanks in advance.
[HD2 Android NAND Development] blacknecro84:
Good rom but i got a question any change to get work sensors on call cause i press some buttons while talking and the power down menu close call unlike other roms thanks
[HD2 Android NAND Development] aTanCS:
Just press Home when it's ringing and is black.
[HD2 Android NAND Development] H9MZEH:
Link Error

framework-res.apk_JB-v2.1-softkeys_in_landscape.zip

link error.

https://nexus-hd2.googlecode.com/files/framework-res.apk_JB-v2.1-softkeys_in_landscape.zip

Android Supported Media Formats

link error.

http://developer.android.com/guide/appendix/media-formats.html

---------- Post added at 06:46 PM ---------- Previous post was at 05:58 PM ----------

Partition EXT4 What is the number for MiniTool 7.8 ???
[HD2 Android NAND Development] H9MZEH:
help me!!!
[HD2 Android NAND Development] H9MZEH:
???? GB EXT4
[HD2 Android NAND Development] adell_:
I'm not sure what you are asking. But you can create 1 GB ext4 partition. That should be enough if you don't install too many apps.
[HD2 Android NAND Development] BlackGURU:
LOL Your sig made me laugh
[HD2 Android NAND Development] yaro666:
data works great with fix, screen also works when call is incoming.

Only one issue, sometimes data won't start airplane mode on/off helps or reboot with data connection on.

Quick fix, Tytung you are the greatest.
[HD2 Android NAND Development] photona:
The only Android Rom that works REALLY stable and fast for me on the HD2 since months is TyphooN CyanogenMod 7.2.0.1 v3.8.9.

My second HD2 is only used to test builds like NexusHD2-JellyBean-CM10.1 V2.1 by tytung or others. But all of these newer Versions are much more laggy and/or less functional or stable.

So if you want to "install a very stable ROM" that fits all needs in everyday use, you should try the TyphooN one. I use it with Kernel-Version 2.6.32.15_tytung_gb_r16 and purchased the ADW Launcher.
[HD2 Android NAND Development] H9MZEH:
At program MiniTool Partition 1 GB ext4 partition FOR ROM NexusHD2-JellyBean-CM10.1 V2.1 is good????
[HD2 Android NAND Development] blackkj:
have i understood?

I want to upgrade my hd2 from tyweens typhoon gingerbread ROM to this one....

For jellybean goodness and at same time to extend app space as never used ap2sd on old ROM - so most apps simply "moved to SD" and that does still use phone space and its all a bit full!

Don't think I've got bad nand blocks to any extent and SD card is not fast (class 4) so thinking to go dataonext

I have done the reading but to save me time and avoid errors have i understood and is the below correct?

I'm a bit rusty and have not flashed for months!

Run titanium backup

Boot into cwr and run nandroid backup just in case I want to go back

Shutdown and pull SD card and put into PC

Drag SD card contents onto PC - so nandroid and titanium backups are safe.

Use mini tool partition wizard v7.8 on PC to create 2 partitions on SD card...(8gb class 4 card)...first primary fat32 7gb, second primary, ext4 1gb

Return card to hd2, boot and connect to PC via USB

Run hd2 android toolkit v4.3 on PC

Using toolkit Run task 29

Using toolkit Magldr repartition main at 300m cache 5m (?)

Using toolkit install cwr touch using mgldr update recovery

Exit toolkit

Unplug phone and Boot into cwr

In cwr mount USB storage

Download ROM zip to pc and copy to sdcard

Go to install from zip select the downloaded ROM zip and go....

Aroma installer will start

Using aroma installer select full magldr installation dataonext using PPP

Boot into new ROM

Go through android set up and wait for sync to complete

Plug USB into pc and drag SD card contents copy from earlier back onto card

Download titanium backup from play store

Use titanium backup to reinstall old apps.

Done!

I used to use angeldeaths GPS fix on typhoon....is that needed or is GPS good out of the box on this ROM - I live in UK and don't know if settings need changing.

Given I'm using PPP I don't think I need the new init.rz patch.

Thanks for the ROM and thanks for any help and advice.

Kev
[HD2 Android NAND Development] Santiago94:
Links work I do not know what the problem is. If something is in your hand.
[HD2 Android NAND Development] sandymac:
Very comprehensive! You shouldn't have any problems with the above, although I have never bothered using toolkit. Also never used Task29 as I believe it to be overrated. Prior to any install, I just enter CWM and select factory reset. Makes life a little easier, particularly as you are using a clean SD Card. ;)

When you have completed the install, and assuming all is well, then you should be able to update your phone directly from your Google account (takes a while but will re-install all your APKs). Otherwise just do as you stated and use Titanium backup which will be quicker.

Whilst I haven't installed a DataOnExt version, I would play safe and update the ROM with the patch before you install. Better safe than sorry. :laugh:

Finally, you don't need any GPS tools as GPS works perfectly out of the box (fast fix).;)
[HD2 Android NAND Development] H9MZEH:
The problem was resolved

Tanx All
[HD2 Android NAND Development] Arthedes:
not recognizing ext4 partition on sd card

Hey all,

I've installed many roms from tytung before on my HD2, NAND only. I always have space issues after a few months (<20mb free internal memory), though, so I thought i'd give NAND and dataonsd a go.

I have a 16gb class 2 sdhc card. It's not the fastest but it will probably get the job done. I partitioned it, using minitools partition wizard free, as seen in the thumbnail.[/url][/IMG]

When installing the rom (using the patched kernel aswell, as instructed on page 83, of course), it recognizes the sd-ext partition, stating it has 1300ish mb free space. I continue to install it and everything seems fine. I reboot and choose my language and every thing seems fine again. That is, until I try to download an app. My Beloved HD2 doesnt have sufficient space! I check my app management and it shows 13GB free sd card space, 400 used SD card space (from the JB 4.2.2 and the 4.1.2 i ghave on there), but it doesnt show ANY internal storage. the bar on the bottom of the screen is just grey and empty, whithout and numbers in them.

What is wrong and how can I fix this? Even after partitioning, rebooting and installing several times, the problem persists!

EDIT: My NAND is partitioned as follows: misc ya 1M

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

boot yboot|ro 5M

system ya 400M

cache ya 5M

userdata ya|asize|hr allsize
[HD2 Android NAND Development] vibbuz:
Mobile data connection ain't working properly since I turned on the phone this morning. Adding a speed test screenshot and a logcat taken while testing. Did not change anything in settings or install any particular app, was working good til yesterday. I have EU hd2 dataonext rmnet patched, 380/10 nand partition size. Never had a similar problem

http://dfiles.eu/files/by02fnkfq
[HD2 Android NAND Development] splitt:
No internal memory with Ext4

I have the same issue.

Installed the ROM with DataOnExt but when the android starts in storage it shows 0.0KB of available Internal memory. It doesn't matter if my system is 200MB or 400MB. And when I reboot the phone it starts like I've just installed it, first time configuration...

Installed with cLK/CWM.

I'm a noob please help! I can't find a solution on the forum, already tried some scripts but nothing...
[HD2 Android NAND Development] Robbie P:
Try formatting the sd-ext with recovery (if possible) and reflash. Sometimes minitool doesn't format it correctly for some reason.
[HD2 Android NAND Development] Arthedes:
I have that issue aswell. Trying to reformat my whole sd card to fat 32 first, then format it using CWM v3.0.0.5 to 2048M partition with 0M swap. Will keep you updated

By the way, ive hear that theres a newer version of CWM Recovery. Can anyone provide me a link to the correct one i should use? Also, im using magldr v1.13m is this the newest version? If not, can anyone provide a link for that aswell? Thanks in advance :)

EDIT:

The installer says there is -1 MB of sd-ext size. But it is able to install via the DataOnExt method. Also, CWM v3.0.0.5 made a ext3 partition. Whats the benefit of a ext4 partition? And will you notice any difference if there is, if its on a class 2 card?

EDIT2:

Installed and booted. Everything works now, Internal storage shows 1.5gb free space and 250mb used. This comes up to a grand total of 1750mb tho, so where have my other (2048-1750)=298 MB gone to? And why is there already 250mb used? i have a sustem partition of 400 MB...
[HD2 Android NAND Development] incensesmoke:
++ gps fix

Hi guys,

Been using this for a week or two now and my GPS was slow as. Just fiddling round with the gps.conf I added an NTP server line (local .pool) above the xtra servers and voila, cold fix time down from about 1 minute to 15 seconds. Not really sure why this works or if it is a very elegant solution, but just thought I'd share in case anyone else is suffering the same problem....

Tytung you're probably sick of people saying thanks but here's one more! You're my dev role model! :o
[HD2 Android NAND Development] adell_:
Yes. Anyway, I recommend to use NativeSD option and create 1.5 GB or more for the ext4 partition so you don't need to worry about your system partition size on NAND.
[HD2 Android NAND Development] Arthedes:
Performance settings

There seem to be no performance settings available. I always loved when it was there in previous roms of tytung. What Processor settings are running with the updated kernel? Is it smartassV2 and 980MHZ?
[HD2 Android NAND Development] scatman_ii:
Sounds interesting, is there an easy way for 'normal users' (if there is such a thing on XDA ;) ) to try this myself?
[HD2 Android NAND Development] adell_:
Go to About phone and press the Build number 7 times.