yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] zoUphd2:
Same problem here no data and singnal only one line show. ROM is awsome fast and pretty stable i think good battery and smooth like powder snow :D .. thanks for this.

Edit: i forgot to say that i have the black screen on incoming call.
[HD2 Android NAND Development] twoxx:
Now i restarted my phone... data was not working any more. then i turned on wi-fi... and turned it off again... data connected again and is working. but when i turn off the phone.. and i turn it on.. it doesn't work.

init-d.scripts aren't working too
[HD2 Android NAND Development] bojanbl:
I dont need fast download link :D, but I just wanted to show some gratitude (as Pirlano did) for your work Tytung:

Transaction ID: 1FB665454R2328542

Keep up this great work :D

THANKS :victory: :D :cowboy:
[HD2 Android NAND Development] Good_vibes:
Thats because you are connected to wifi, if you activate wifi but have no access point data doesnt work.

Can confirm 1 bar and no data connection, please fix this as soon as you can, anyone :)

The ROM runs great otherwise.
[HD2 Android NAND Development] CyberClaw:
I keep bootlooping after the HD2 logo, and before the ROM logo... NAND with DataOnEXT.

Thought it might be the custom installation tried a full installation. Wiped dalvik, cache, fixed permitions, reflashed Recovery (tried the most recent recovery). My system NAND is 350M, using MAGLDR,

I dunno anymore what to try anymore...
[HD2 Android NAND Development] crow6:
MMS doesn't work too. I thing this same reason...
[HD2 Android NAND Development] chn110:
awesome build!

VoIP using the built-in SIP client works so well. It no longer stutters. Very fast and smooth.

But VPN still does not work over 3G. It sees no network connection (on NativeSD HaRet).
[HD2 Android NAND Development] chautruongthinh:
Thanks Tytung, but i need to connect Adhoc! My home not have access point so i only connect adhoc!! You can mod wpa_supplicant to connect Adhoc?? I use NativeSD
[HD2 Android NAND Development] chn110:
Also camera does not seem to be able to focus?
[HD2 Android NAND Development] tytung:
If you adjust the sound volume manually, is the low sound bug fixed or not?

I think it may be related to audioFocus.

If I play sound immediately after ending a call, I saw audioFocus = 0 and the sound is low.

If I wait a few time and then play sound, I saw audioFocus = 1 and the sound is normal.

In current app, I wait 0.5 second.

Logcat of ending a call is as follows. Please observe this variable: audioFocus regarding BT events. Thanks.

D/PhoneStateReceiver(17239): OFFHOOK
D/PhoneStateReceiver(17239): IDLE
[B]D/LowSoundFixer(17239): audioFocus = 1[/B]
D/LowSoundFixer(17239): Low sound is fixed // it means sound is played
[HD2 Android NAND Development] rexx87:
I'm using this rom for couple of hours and everything is working very well, except....GPS. Can't get the fix and catch even one satellite. Did try the FasterFix, Satellite Check and GPS Status, and none of them works. Google maps also shows incorrect position (i think it might use wifi to locate, that’s way). So guys, and idea what should i do to get this work?
[HD2 Android NAND Development] tytung:
I can hear both pico TTS and GoogleTTS speech examples.

Configs: MAGLDR and NativeSD
[HD2 Android NAND Development] Hinnne:
problem is solved after i overwrote the pico-tts language packs with the ones from newest gapps.

it seems the original files where buggy because they were to little KB.

No idea why I had this problem.

now also google navigation works with speech.

fyi: pico-tts works now but google-tts stil does not. i reinstalled the google-tts app but still no sound even after download of german language.
[HD2 Android NAND Development] tytung:
Make sure you inject AGPS data before using GPS.

Please visit this post and read "How to inject the AGPS data (xtra.bin)" and "How to verify if AGPS works or not" sections.
[HD2 Android NAND Development] tytung:
Thanks. The 1st post updated.
[HD2 Android NAND Development] rexx87:
Unfortunately, still not working, even after following the guide that you provide. I wonder if my gps module is not damaged… but I’m pretty sure it was working on WM not that long time ago.
[HD2 Android NAND Development] adell_:
RMNET doesn't work. PPP works fine. Script to turn off the button backlight doesn't work. It works sometimes. V2.1 on NAND with DataOnEXT.
[HD2 Android NAND Development] tytung:
You may do something wrong. Why not tell us what you did?

Make sure you see a similar log as below in your logcat if you indeed inject AGPS data successfully.

D/gps_leo(360): gps_xtra_inject_xtra_data() is called
D/gps_leo(360): gps_xtra_inject_xtra_data: xtra size = 38490, data ptr = 0x41e6cb78
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 1/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: ......
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 91/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 92/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 93/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 94/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 95/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 96/97, len = 400
D/gps_leo(360): gps_xtra_inject_xtra_data: inject part = 97/97, len = 90
[HD2 Android NAND Development] marco.palumbi:
Tytung, did you see my post ?

http://xdaforums.com/showpost.php?p=40581807&postcount=758

I found that sysinit is run in different way in 10.1 init. it starts from init.cm.rc

my suspect is that it may happen before system is mounted in some devices, this depending on type of istall and speed of sd-card

---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ----------

is there anyone having rmnet issues or init.d scripts non running that can take logcat in the way I show in this post?

http://xdaforums.com/showpost.php?p=40569705&postcount=727
[HD2 Android NAND Development] tytung:
Yes, I saw your post.

Unfortunately, no one provides "lsmod" result.

I also guess that the problem could be init.d scripts (i.e. init.cm.rc).

I checked all versions of initrd.gz but didn't find any differences (didn't miss init.cm.rc).

Scripts in init.d folder is loaded fine in my NativeSD install.

No time to test NAND install myself.
[HD2 Android NAND Development] schlumpfschlaubi:
i always reported for V2.0 -> for me non of the scripts in /etc/init.d are executed at boottime! the problem exist in V2.1 too

i did once more a fresh install with V2.1, but it doesn't make a difference.

my personal workaround is to start all init.d scripts manually after boot, but that is not very comfortable :(

configuration in my signature

if i'm at home in 2 days i can provide a logcat file.

:good: tytung you did a good job. i use and love your ROMs for HD2 since Gingerbread. an additional donation will follow soon :cool:

ps: lsmod list only "bcm4329"

governor is "interactive" not "smartassv2" as it should be after the init.d script 00_cpufreq
[HD2 Android NAND Development] tytung:
Could you see Ad Hoc network when using my JB 4.1.2 ?

If so, I will try to compare source code of wpa_supplicant between JB 4.1.2 and 4.2.2 to find the solution.
[HD2 Android NAND Development] chautruongthinh:
I'm use JB 4.1.2, it work fine!! When i use JB 4.2.2, my phone can't see AdHoc!!

Thanks for your help!!!
[HD2 Android NAND Development] marco.palumbi:
Tytung,

sysinit is started from init.rc in your JellyBean 4.1.2 CM10 roms.

this mean that it is started at different time.

further the init process is a concurrent process and various tasks may run at different speed due to the hardware they run on (in this case mainly due to different SD-card speed).

so it may be that now, for some people, the sysinit task arrives too early respect may be the mount of the "system" filesystem .

I suggest to put the start of sysinit in the same place as your prvious roms,
[HD2 Android NAND Development] mirakle:
Hello there.

I had a strange behaviour where RMNET was partially working on 512 EU LEO, I hope it will help or give you a hint.

I've installed 2.0 using MGLDR/NAND+DATAONEXT/PPP and everything was working OK beside the usual issues.

Then 2.1 has been released and I've installed it so fast that I left RMNET in the installer choices.

Wiped cache/ wiped dalvik and rebooted.

I then ran Google Maps that was working OK and I received an email on Gmail.

All other applications were displaying a network error message.

I just re-installed 2.1 using PPP instead of RMNET and everything's fine again.

thank you again for this rom.
[HD2 Android NAND Development] marco.palumbi:
are you able to take the logcat in the way I decribed in this post?

http://xdaforums.com/showpost.php?p=40569705&postcount=727
[HD2 Android NAND Development] NabilOnNet:
I installed this in NativeSD and i have transcend sd card 32GB Class 10.
[HD2 Android NAND Development] Ekapatt:
Tytung :

Now your ROM 4.2.2 more smart,

I flash a NativeSD with WP 7.8

M-SD Sandisk Ultra 8 GB

2 OS together all works good.

Thank.. :cowboy:
[HD2 Android NAND Development] rgshah3:
it comes while installing the rom?

in aroma?
[HD2 Android NAND Development] sonalikagaur:
I'll be providing the logcat and the Ismod output, just wait a few minutes, backing up my apps, will do a fresh install of the Rom and report!!
[HD2 Android NAND Development] schlumpfschlaubi:
yes
[HD2 Android NAND Development] sonalikagaur:
Logcat at boot and lsmod result !!

I have attached logcat.

logcatstart1.txt = At very first boot, a fresh install.

logcat4.txt = After a reboot.

and lsmod doesnt provide any output tried both using adb and terminal emulator (when wifi is off) and data is ON.

but when i switch ON wifi lsmod output is "bcm4329 198608 0 - Live 0xbf000000"

Data ON in both cases.

referred this link http://xdaforums.com/showthread.php?t=1123987.
[HD2 Android NAND Development] sagiguy:
Ditto. I was trying NativeSD for the first time and tried many ROMs and had reboots and hangup every time while using Sandisk 16GB UHS-1. I changed the SD card and things have been smooth since then.
[HD2 Android NAND Development] aatxe:
After reading a few posts on this thread and a few other forums, it does indeed look like it's the "UHS" part of it, not just a SanDisc thing.

Ultra High Speed has an upper limit of around 104Mb/s or something like that which could cause some issues with the HD2 card reader.

Although the card is designed to work in both class10 normal and UHS by auto detecting they type of reader, the HD2 just seems to get read / write errors after a few hours. I have been using an unbranded class 4 card for the past few days and all appears to be fairly stable (albet, very slow and prone to crashing if too much is opened in a short time). I have ordered a new normal class 10 card.

The SanDisc class 10 UHS-I is a very, very fast card, but not something that works well with a HD2.
[HD2 Android NAND Development] boozeman1001:
Thanks for the great work! :good:

The ROM runs smooth and without issues.

Installed in NativeSD as second ROM.

Best ROM ever tested!!!

BTW: had the same problems with the Sandisk 16GB UHS-1. Not on this ROM (didn't test) but on other ROMs. Somehow the HD2 seems to dislike this card. Use it now in my digicam... ;)
[HD2 Android NAND Development] veekay:
Wish I had known this earlier as I just ordered one of these yesterday to replace my class 6 card.
[HD2 Android NAND Development] adell_:
tytung already knows that many people have the RMNET problem with NAND/DataOnEXT installation but he wants logcat.
[HD2 Android NAND Development] rexx87:
I did instalation of latest GPS_lib files (Both ver) and checked logcat, but it looks just like yours. No idea what to do now...
[HD2 Android NAND Development] Trigger58:
Hi,

i have a new problem. After installing v2.1 all alarm-tones for sms are gone. only 3 left.

Anyone an idea where i can find them?

All ringtones are gone too !!!
[HD2 Android NAND Development] NYLimited:
As noted before, enabling UHS mode requires a specific voltage from the card bus which the HD2 does not know about, nor can it supply. As a result, UHS cards can never function in UHS mode when using an HD2 (and many other devices).
[HD2 Android NAND Development] marco.palumbi:
tytung,

i found the problem for init.d scripts (and thus rmnet non functioning) in nand installations:

here is dmesg from a fresh nand install

<6>[ 3.180114] Freeing init memory: 404K
<3>[ 3.184112] init: skipping insecure file '/init.trace.rc'
<3>[ 3.184173] init: could not import file '/init.trace.rc' from '/init.rc'
<3>[ 3.184234] init: skipping insecure file '/init.cm.rc'
<3>[ 3.184265] init: could not import file '/init.cm.rc' from '/init.rc'
<4>[ 3.257293] @@@ SD power 17 @@@
<6>[ 3.266174] keychord: using input dev h2w headset for fevent
<6>[ 3.266235] keychord: using input dev htcleo-keypad for fevent
<3>[ 3.266479] init: cannot open '/initlogo.rle'
<6>[ 3.269958] yaffs: dev is 32505859 name is "mtdblock3" rw
<6>[ 3.270019] yaffs: passed flags ""

and here it is ls in the same install.

root@android:/ # ls -lsa init*
ls -lsa init*
-rwxrwxr-x system system 109484 2013-03-27 17:58 init
-rw-rw-r-- system system 1273 2013-03-31 07:10 init.cm.rc
-rwxr-x--- system system 7029 2013-04-05 13:48 init.htcleo.rc
-rw-r--r-- system system 1485 2013-04-04 09:58 init.htcleo.usb.rc
-rw-r--r-- system system 19478 2013-04-04 13:09 init.rc
-rw-rw-r-- system system 1795 2013-03-27 13:04 init.trace.rc
-rwxr-x--- system system 3915 2013-03-30 20:46 init.usb.rc
root@android:/ #

init.trace.rc and init.cm.rc fail to load because of the wrong permissions.

all init scripts should have -rw-r--r-- permissions like the case of NativeSD initrd.gz

I didnt chek the dataonext initrd.gz
[HD2 Android NAND Development] schlumpfschlaubi:
during install after select "custom install" in aroma installer you can choose additional ringtone and notification sounds in aroma installer.

simply activate the checkboxes.
[HD2 Android NAND Development] Trigger58:
Thanks for your help, but i made a full install :confused:

i solved the problem with a new full install ;)

---------- Post added at 07:53 PM ---------- Previous post was at 07:32 PM ----------

I have another problem. What is "Trebuchet"?

This application crashes really often. Sometimes it crashes by reset, using the camera, using some games like cordy or treasures of montezuma 3, using the browser or sending a sms.
[HD2 Android NAND Development] BlackGURU:
Ringtones are really Low. Any Fix please?
[HD2 Android NAND Development] Trigger58:
i don't have this problem with v2.1.

Look under "Settings -> Device / Sound -> Volume Control

or look under "Settings--> Device / Apps-->Active" if the program "Low Sound Fixer" is running
[HD2 Android NAND Development] .michal:
how to change permissions permanently?
[HD2 Android NAND Development] tytung:
Didn't know why they have strange permissions. :o

Anyway, thank you.

For all NAND and NAND with DataOnEXT users:

Please open your ROM (NexusHD2-JellyBean-CM10.1_V2.1.zip) and replace /kernel/NAND/initrd.gz with the new file from initrd_gz_patch_for_NAND_and_DataOnEXT.zip

Then save the modified ROM zip and reflash it.
[HD2 Android NAND Development] tytung:
Then?

What did you see in GPS Status?

Where did you try it?

How log did you wait?

Please provide more info if you need help.
[HD2 Android NAND Development] BlackGURU:
Thanks. Should the low sound fixer be running or Not.
[HD2 Android NAND Development] Trigger58:
the "Low Sound Fixer" should be running.
[HD2 Android NAND Development] BlackGURU:
It is, but the ring tones are still low, I have even downloaded Volume + to boost the speaker settings but it's not compatible or something like that.
[HD2 Android NAND Development] mh166:
THANKS! Now everything works like a charm! :)

Install: NAND with DataOnExt, RMNET, EU HD2

Did try with 2.0 - no connection. 2.1 with initrd-Update: data connection working!

Thank you both, tytung for providing fast and great support as well as this amazing rom itself, of course. And of course thanks to marco.palumbi for chasing down this permission bug. :)

tytung, here's something, that was long overdue: 49T9817069622150F. Keep up this fantastic work!
[HD2 Android NAND Development] smoula.dd:
I use this ROM on NativeSD with sandisk 16 GB UHS and I have very good result. Is fast, stable, no fc,no battery draining. This SD card is much better -faster then transcdent 16 GB 10 class or Kingston 8 GB class 10. Maybe you have bad piece.
[HD2 Android NAND Development] rexx87:
Internal GPS basically is acting like dead. GPS status can’t find and fix even if phone is left on the bench outside during clear sunny day for about 15 minutes. Just to make it clear, I did try all those files from http://xdaforums.com/showthread.php?t=1100114 topic. Does anyone have/had this problem or is it just me?

I’m using NativeSD version of ROM, and it running on t-mous HD2.

My friend borrowed me Nokia LD-3W external GPS module and using it with Bluetooth GPS application my phone found instant fix.

Really appreciate your help and work that You did to keep HD2 alive!
[HD2 Android NAND Development] Santiago94:
Hello "tytung" why the modified date of the ROM kernel 4.2.2 (2.1) is from 2008. A file that you have provided to us are the oldest of 2012. Do not alter them for us? Screen:
[HD2 Android NAND Development] ParanoiK:
He's not alone. My problem with 32GB Sandisk UHS-1 started after few days. Now the card is unusable also in windows, it throws write errors.
[HD2 Android NAND Development] matmaf:
If I adjust sound manually after bluetooth connection, the sound remain low also at the highest level.

Also if i disconnect and reconnect, remain low, only the call end can recover.

In attachment you can find the logcat for bluetooth connect and for call ended (with bluetooth connection, but is the same also without).

There is AudioFocus = 1 in both.

I can't find the differece but I'm not an expert like you.
[HD2 Android NAND Development] ponn:
I also have Sandisk Ultra 16GB UHS-1 (red-gray) and everything is working fine. I noticed that most people who having problems are using 32GB. Maybe 32GB Sandisk UHS is problematic...
[HD2 Android NAND Development] incensesmoke:
Same here, been on 16GB Sandisk UHS for ages now and have not experienced any problems :cool: (yet)
[HD2 Android NAND Development] Realalist:
After increasing the partition to 280, and installing PPP the data issues have all but vanished. The only minor issue is sometimes, mostly after a boot, I see this. Any idea why?
[HD2 Android NAND Development] FCORivers:
Tytung, sir, u are awesome. This is a very good rom. Been using it for a couple of hours and its been fantastic. Hd2 is so good of a device that I used your 4.0.4 native sd rom to download this rom and clk 1.5 and flashed them both from sd. Then I formatted my sd from cwm. Then downloaded again to flash over with data to ext. All was good both times.

HD2 will never DIE!

By the way, this runs better on the hd2 than on my tmous sgs2. At least in terms of my taste.:p
[HD2 Android NAND Development] NYLimited:
I have no idea why but the few times I have seen that pressing BACK usually continued operation without a reboot.

---

The most useless computer tasks are the most fun to do..
[HD2 Android NAND Development] Realalist:
Wonderful, thanks.
[HD2 Android NAND Development] tytung:
Just tried GPS status.

I saw that Fix/Sats was changing from 0/0 to 0/3 to 0/4 to 6/6.

Finally saw 6/6 (full lock, Fix=Sats, which means AGPS is working) in 18s.

What did you see? always 0/0 ?

If so, you may have hardware issue.
[HD2 Android NAND Development] tytung:
A flashable ROM is usually signed, so the date of all files was changed to 2008 by default.

That's a method to make sure a ROM is released by a dev and doesn't be modified.

You could enable the signature checking while flashing a ROM.

Modified initrd_gz_patch_for_NAND_and_DataOnEXT.zip is not a flashable file, so I didn't sign it.
[HD2 Android NAND Development] sonalikagaur:
Thank you tytung and marco.palumbi, RMNET working and backlight off script is working too now. :)
[HD2 Android NAND Development] tytung:
Thank you.

Well, LowSoundFixer is just a tool for automatically playing sound for you.

If manually adjusting sound cannot fix the low sound issue, this tool won't help.

You can read this post and this post to know how the low sound issue is fixed and why LowSoundFixer is developed.
[HD2 Android NAND Development] XdaDevelopers 95:
100% charged and the led is orange.
[HD2 Android NAND Development] czend@:
Search widget

Hi guys, do you anyone noticed problem with integrated search toolbar? I have checked this option in settings (Settings > Launcher > Homescreen > Search bar) but search input isn't showed on homescreen. There is only empty space in the top of each screen. This happened in V2.0 and the same in V2.1. It wasn't problem in other ROMs which i tested before. Nothing more need to install / set up. Any advice? :o
[HD2 Android NAND Development] benlm72:
Hi Tytung,

Fantastic rom ! All the problems I've met with other JB builds are solved with this one, from SetCPU notifications to camera, data drops,... Rom is smooth and fast (I use a 32Gb class 10 UHS [red and grey] Sandisk microSDHC, NativeSD install), all what I've tried is OK for me.

I've just noticed that having next calendar appointment on the lockscreen doesn't work for me (but weather and clock are OK).

Thank's a lot for making our HD2 still alive !
[HD2 Android NAND Development] rexx87:
Yep, status always shows 0 as well as signal.
[HD2 Android NAND Development] .michal:
i have installation aborted error :C
[HD2 Android NAND Development] adell_:
Worked for me. Did you follow the instructions?
[HD2 Android NAND Development] .michal:
unzip->copy kernel->zip again, thats right?
[HD2 Android NAND Development] TeleMaks:
Thanks for your reply. Your solution is good. I use ROM Toolbox for this. Result - the same. But the matter is - do not use any third patty soft. By the way I noticed that in case NativeSD this feature works fine.

Anybody can confirm this?
[HD2 Android NAND Development] adell_:
I recommend you to do the following:

- copy the original zip file to a new zip file

- use an unzip tool to open the new zip file

- drag files from the patch to the new zip file

- close the updated new zip file

- flash the new zip file

---------- Post added at 04:25 PM ---------- Previous post was at 04:22 PM ----------

With this, the button backlight issue is gone. Thanks. Haven't tested RMNET data connection yet, but it should work fine.
[HD2 Android NAND Development] schlumpfschlaubi:
this problem should be fixed with the bugfix for initrd.gz for DataOnExt/NAND users from yesterday.

look 1-2 pages back and follow the instructions.

now you should be able to set i/o scheduler and governor persistent without third party tools.
[HD2 Android NAND Development] daviking222:
recent page do not update

sometimes my recent apps page do not update itself

it stocked until I pressed "remove all apps" button and the new opened (after stocking time) apps show

how to fix this weird problem

by the way, is it possible update the camera to the latest Android version for the better user interface?
[HD2 Android NAND Development] zoUphd2:
Latest camera is buggy use this for now .. Pls read the op .
[HD2 Android NAND Development] ladarasse:
Thanks a lot Tytung. It works like a charm.

I have tested the install with RMNET option. :victory:

This rom runs more fluently than the older ! :cool:
[HD2 Android NAND Development] Dragon812:
At first thank you for this ROM

How can I turn off the vibration when I have set a pattern as lockscreen?
[HD2 Android NAND Development] sunitknandi:
The initrd.gz patch worked fine. The backlight problem is gone.

I set the CPU governor to SmartAssV2 and IO scheduler to deadline and my phone is really fast.
[HD2 Android NAND Development] knightthatsaysni:
Hi, Just a quick one :)

Do you have to copy the full Kernel folder into the 2.1 zip or just the /kernel/NAND/initrd.gz with the new file from initrd_gz_patch_for_NAND_and_DataOnEXT.zip?

I dont want to do it wrong :P

TY Mark

PS Tytung, Rom is super :)