yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] vinod7007:
i am using viber 2.3.6 and its working fine

---------- Post added at 09:59 AM ---------- Previous post was at 09:38 AM ----------

Viber for me dosent seems to be creating any problem. In fact problem started right after installation and viber came later.

cheers
[HD2 Android NAND Development] chong81:
Hi tytung, thanks for making a stable ROM and keeping the HD2 legacy alive! :good:

I found that some popular apps that need voice recording are not working, for example SoundHound, Shazam and CSipSimple. Anyone knows how to fix?

Here's the error log from CSipSimple when I try to make a SIP call:

D/Prefs (12779): We are valid for WIFI
D/SIP SRV (12779): Direct sip start
D/PjService(12779): will call <sip:*%234443@rpi.>
D/libpjsip(12779): 16:55:11.309 pjsua_call.c !Making call with acc #2 to <sip:*%234443@rpi.>
D/libpjsip(12779): 16:55:11.309 pjsua_aud.c .Set sound device: capture=-1, playback=-2
D/libpjsip(12779): 16:55:11.309 pjsua_aud.c ..Opening sound device PCM@16000/1/20ms
D/libpjsip(12779): 16:55:11.309 opensl_dev.c ...Creating OpenSL stream
D/MediaManager(12779): Target mode... : 3
D/MediaManager(12779): Target mode... : 3
D/MediaManager(12779): Set mode audio in call to 3
D/AudioFocus 8(12779): Focus again false
D/MediaManager(12779): Initial volume level : 0.8
D/dalvikvm(12170): GC_EXPLICIT freed 363K, 31% free 6827K/9863K, paused 4ms+7ms, total 147ms
D/libpjsip(12779): 16:55:11.807 opensl_dev.c ...Recording stream type 4, SDK : 16
[B]E/AudioRecord(12779): Could not get audio input for record source 7
E/libOpenSLES(12779): android_audioRecorder_realize(0x2a1348e0) error creating AudioRecord object
W/AudioSystem(12779): AudioFlinger server died!
W/AudioSystem(12779): AudioPolicyService server died!
W/libOpenSLES(12779): Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
I/libpjsip(12779): 16:55:12.371 opensl_dev.c ...Cannot realize recorder : 9[/B]
D/MediaManager(12779): Unset Audio In call
D/MediaManager(12779): Unset bt
D/BT8 (12779): Ask for false vs false
I/ServiceManager(12779): Waiting for service media.audio_flinger...
D/MediaManager(12779): Target mode... : 3
D/libpjsip(12779): 16:55:13.589 opensl_dev.c ...Stopping stream
D/libpjsip(12779): 16:55:13.589 opensl_dev.c ...OpenSL stream stopped
D/libpjsip(12779): 16:55:13.590 opensl_dev.c ...OpenSL stream destroyed
F/libc (12779): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 12804 (ervice.Executor)
E/Trace (13058): error opening trace file: No such file or directory (2)
I/ActivityThread(13058): Pub com.csipsimple.db: com.csipsimple.db.DBProvider
E/Trace (13071): error opening trace file: No such file or directory (2)
I/ActivityThread(13071): Pub com.csipsimple.prefs: com.csipsimple.service.PreferenceProvider
D/SIP SRV (13058): Service has been setup ? true
D/Prefs (13058): We are valid for WIFI

Other users have reported the same problem: http://xdaforums.com/showpost.php?p=33668012&postcount=1323
[HD2 Android NAND Development] cook:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Can you post here good WPA supplicant?

Revert back to 1.3a as Wi-Fi don't works on 1.4a

Thanks
[HD2 Android NAND Development] tytung:
We are talking about JB 4.2.2's WiFi (I have fixed it), not JB 4.1.2.

WiFi in JB 4.1.2 works well for me no matter v1.3a or v1.4a ROMs.
[HD2 Android NAND Development] tytung:
Bluetooth is more complex than other event detection.

BT profiles include Phone audio and Media audio.

Maybe I didn't process them correctly.

If you know how to use logcat, please check logcat's time and see if the sound is played at the right time.

You will see something like that below. Check the time when you see audioFocus = 1 and Low sound is fixed.

04-02 00:16:42.537: D/BTHeadsetConnectionStateReceiver(23510): BT profile is connected
04-02 00:17:26.157: D/BTHeadsetConnectionStateReceiver(23510): BT profile is disconnected
04-02 00:17:26.693: I/System.out(23510): audioFocus = 1
04-02 00:17:26.767: I/System.out(23510): Low sound is fixed
[HD2 Android NAND Development] tytung:
LowSoundFixer v1.0.2

LowSoundFixer is a background service for fixing the low sound bug automatically.

Features:

Detect the following events and play sound with the lowest volume.

end the phone call

unplug a headphone

disconnect Bluetooth headset

disconnect Bluetooth SCO audio

detect a missed call

Download:

LowSoundFixer v1.0.2

Changelog:

V1.0.2

detect the state when Bluetooth SCO audio is disconnected

detect a missed call

V1.0.1

Change the app name from LowSoundDetector 1.0 to LowSoundFixer 1.0.1

Add BT headset disconnection event

Add new icon

Add MainActivity so you can run it as a background service after installation.

(After reboot, the app will run as a background service automatically.)

Play app built-in KeypressSpacebar.ogg instead of system's default notification sound.

(This sound is more quiet.)
[HD2 Android NAND Development] gilleshander:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

I'll do asap
[HD2 Android NAND Development] impossibleto:
What can I do to fix the constant lack of network coverage? I'm lucky if I have 2-3 hours of network coverage a day, the other time I'm trying to fix it by enable/disable data; airplane on/off, 2G-3G but with no luck. I tried searching the thread for solution but I didn't find anything. If someone had this problem and fixed it, please let me know how to fix it :(
[HD2 Android NAND Development] sathara:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Looks like you got lose connection on antenna connectors ..is your phone opened before ..

Or problem with radio or operator ...
[HD2 Android NAND Development] gunnroseclose:
yes, i have same question, sometimes i turn on wifi/3G connection via toggle but it did not connect, even if i go to setting to turn on, it's just not respond. so i have to reboot the phone to turn it on
[HD2 Android NAND Development] impossibleto:
Changed the sim card and it's working now. Sorry, the ROM had nothing to do with my problem. :)
[HD2 Android NAND Development] cook:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Sorry, read too fast lot of pages trying solve my problem.

Wi-Fi not works on 1.4a for me.

On CLR, Native SD

Trying update : not works (Wi-Fi refuse to turn on, and waiting on "activating" endless.

Trying clean install (factory reset) : not works. (same behavior)

Trying again: not works.

Trying change Wi-Fi area: change not memorized go back to Europe itself.

Revert to 1.3a. Wi-Fi works without any trouble.
[HD2 Android NAND Development] dictator4:
Well, i had 4.0.4, everything was working fine, except a few things (which were annoying).

So i have tried 4.1.2 1.4a >

(magdlr 285 mb parition with 5 or 45mb cache (dont remember) HD2 toolkit > reparition > ad recovery > format everything, wipe everything (twice :D) so to mention again, i havent used task29.

Everything is smooth so far, WiFi working, skype starts faster than on 4.0.4 v2.8..
[HD2 Android NAND Development] symbuzzer:
hi tytung. are you working on 4.2.2?
[HD2 Android NAND Development] Manafa:
Hi, guys. Just installed 1.4 in Nand, but I have one issue. After each reboot I must setup my Google account, the phone doesn't keep. Also, my home screen is rearranged. This is very annoying and your help will be highly appreciated.
[HD2 Android NAND Development] sathara:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Reflash with full wipe ..
[HD2 Android NAND Development] Manafa:
I did it few times
[HD2 Android NAND Development] sathara:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Change SD card or repartition it . And put partition size some 400
[HD2 Android NAND Development] Manafa:
I have 2 partitons - one is 2GB EXT4 and second is 6GB FAT32. In Settings/Storage I have 2GB memory available.
[HD2 Android NAND Development] tytung:
Elixir 2 crash seems an old bug on CM9 which is resolved, but appears on CM10 again.

Did you try other CM10 ROM?
[HD2 Android NAND Development] LinChina:
What's your sdcard??

Cheers.....LinChina
[HD2 Android NAND Development] tytung:
delete
[HD2 Android NAND Development] marcopolo:
WOW, people so worship Tytung that they even hit the thanks button on his deleted post :p:D
[HD2 Android NAND Development] deviant007:
I'm having very slow speed over wifi.

Also no root.
[HD2 Android NAND Development] Robbie P:
Before deletion it may have said "the first person to hit thanks can test 1.1 for me":D well done AKRRKA
[HD2 Android NAND Development] ugodugod:
Hello, someone knows if I have to first make the Flash Securecrt_JB_kernel.20120924_22_34_with_initrd_for _NAND_DataOnEXT.zip and then flash the rom?

thanks

ugod
[HD2 Android NAND Development] Legolas90:
Fastest JB room Ever for me! NativeSD + DisCpurender, everything works well so far. Thank U Tytung!
[HD2 Android NAND Development] mrpierrec:
No I didn't try other CM10 ROM. I tested your ICS ROM previouly and Elixir was working (but ICS was based on CM9). I can give a try to another CM10 ROM to see if the problem occurs again.
[HD2 Android NAND Development] twoxx:
First flash rom...

do not reboot

flash kernel

reboot
[HD2 Android NAND Development] tytung:
V1.1

V1.1 (Oct. 14, 2012)

Updated to Android Jelly Bean 4.1.2 (JZO54K).

Updated CM10 source code.

Included htcleo-2.6.32 kernel tytung_jellybean_r1

Merge remote-tracking branch 'securecrt/jellybean' into jellybean (Big thanks securecrt for smooth JB kernel)

Increased the pmem_adsp size to try to fix "Allocate Buffer failed" while do the H/W video encoding.

Enabled fast_charge by default for my kernel (It's enabled in Securecrt's kernel.)

Updated AROMA Installer to support more accuracy install progress bar.

Updated initrd.gz.

Fixed MAGLDR NAND Kernel open error in v1.0.

Added fully working camcorder with H/W video encoding.

Disabled the camera feature in the Gallery2.apk since the camera preview is glitch.

Included LegacyCamera.apk to support correct camera preview (Panorama is still broken).

Included wpa_supplicant_v0.8.x_adhoc_update.zip to support Ad-Hoc WiFi network.

Included Wired Tether v1.4 as a data app to support USB Tethering.

Included WiFi Tether v3.2-beta2 as a data app to support WiFi Tethering.

Updated Superuser.apk and su to v3.2.

Updated to Google Play Store v3.9.16.

Download:

NexusHD2-JellyBean-CM10_V1.1.zip

(MD5sum: 932473F94E958E4147387AF620AA0C1D)

(Please do not mirror any files. Thank you.)
[HD2 Android NAND Development] MaxPayne3004:
Downloding..... wouuuuuu
[HD2 Android NAND Development] lord_lüftor:
same here! thank you so much! ;)
[HD2 Android NAND Development] jpyumul:
Thanks a lot tytung. You're an amazing guy.
[HD2 Android NAND Development] tytung:
Hope you all enjoy this release.

I have spent too much time on developing HD2 these days.

It's time for me to go back to my real life. :)
[HD2 Android NAND Development] meezo:
Tytung,

Thanks again. Can one just flash over v1 like we did with ics and gb releases?
[HD2 Android NAND Development] adell_:
This release comes out a lot sooner than I expected. I hope you will continue working on your amazing ROM. :)
[HD2 Android NAND Development] trungsoo:
tytung, will u continue w the nexushd2 ics or focus on jb?? i want to hear u saying "this rom is better than nexushd2-gingerbread now" :p
[HD2 Android NAND Development] Xylograph:
Thank you very much for your time spend on Jellybean so far tytung !!

Another milestone with being the first with fully working cam !! amazing !!

EDIT: btw tytung.. any chance you could upload these sources (including camera changes) to github or something..

I am sure that other qsd8k phone users which we also take and use a lot from would also be pleased with a working cam on Jellybean ;)

Thanks again
[HD2 Android NAND Development] gfdelbo:
What is the procedure to update the NativeSD version?

Just flash and later flash the right boot_v2.zip?

Thanks

GF
[HD2 Android NAND Development] S1gma:
You said before you've installed on NAND.

Are you using DataOnExt or some ext script?

If DataOnEXT - make sure your system partition is at least 385mb*.

If script... Install using DataOnEXT (make sure your system partition is at least 385mb*)

*Why 385mb? Why not :) When using DataOnEXT you don't need data partition on NAND. So it's good idea to enlarge system partition as much as possible. That's best way to minimize problems made by possible bad blocks on NAND.
[HD2 Android NAND Development] Manafa:
Thanks guys, but how to change system partiton to 385MB? I did this years ago and forget it. I know this is not the right place to ask about it, but please be kind with me.
[HD2 Android NAND Development] cevar_blackwing:
SMS Message Error

Good Day!

I just encountered a problem when sending a text message through the messaging app. I have a contact which has this mobile number: +631234567890... When I tried sending a text message to 21234567890, the message is sent to +631234567890 instead.

Why is this happening? The only way I was able to successfully send the message to 21234567890 is by using MyPhoneExplorer desktop application connected to my phone.

Are there any special settings in this ROM that I should modify?
[HD2 Android NAND Development] Quentin himself:
Use DAF.exe after editing flash.cfg (with NotePad++ or some program that can open such type of file). Edit the system partition and write what you want. Before launching DAF.exe (you should execute it as administrator in your computer) you have to boot in USB Flasher mode and connect your phone to your PC via USB. Then follow instructions in DAF.exe.

You should be able to reach your goal, even if my memories aren't good (I haven't flash since a month or something like that). Otherwise, wait an other helpful people with more accurate answers or search for How-to (and it should be plenty on this subject).

P.S.: ARG, since a month, I'm blocked to this 66's Satan number of thanks, hope it won't kill me !
[HD2 Android NAND Development] paulwoodward:
Another thing to check... Did you create the ext4 partition using Windows on a pc?

If you did you must re-format the ext4 partition from inside "Clock work mod" (Recovery) before selecting the zip file you want to flash.
[HD2 Android NAND Development] adell_:
You can use HD2 Toolkit.
[HD2 Android NAND Development] captainhase:
AW: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Interesting! Please tell me why and how. Perhaps this could lead to a solution to one of my recent problems with partitioning of SD card and the fact that my hd2 can't see the ext4.
[HD2 Android NAND Development] Screamer:
I have also problems with WiFi, I can't turn it on. I use NativeSD. Can any one please tell what I do wrong?
[HD2 Android NAND Development] trex3300:
Unless you give a full detail of everything you have done and how, it will be difficult to suggest what you might have done wrong.
[HD2 Android NAND Development] slashas69:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

In this case only magic ball would help ;)
[HD2 Android NAND Development] trex3300:
If hd2 can't see your ext4. Use Minitool partition wizard to delete all the partitions on your sd card, then do new fat32 and ext4 partitions.
[HD2 Android NAND Development] Screamer:
That's true :)

I have formatted the system/data and sd-ext partitions. Done a factory reset/wipe. Reinstalled the 1.4a ROM three times. All with same result. When I install the 1.3a ROM it works prefect again.

Where do I go wrong? Haven't had any problems with a ROM before.
[HD2 Android NAND Development] trex3300:
--Make sure the rom that you downloaded is good by checking MD5 (if you dont know how, just search)

--Try larger system partition i.e. 350MB+ (if you need help, see mskip guide here or use ksubedi toolkit here)
[HD2 Android NAND Development] Screamer:
System partition is 385MB. WinRar found no error's when testing the .zip, but I will download the ROM again.

I will let know the results!
[HD2 Android NAND Development] ParanoiK:
Thanks for great rom :)

I've got a little problem - every few days hd2 just freezes, screen is black and only removing battery helps. Where can I find some kind of logs/debug/whatever that will give me a clue what's wrong?
[HD2 Android NAND Development] captainhase:
AW: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Exactly what I did. Then copying zip file to SD and put it in the phone. During the install the ext4 cannot be found. Weird...

Did it in the past and all went well with my hd2, my wife's, her old wildfire...

But now...:confused:
[HD2 Android NAND Development] trex3300:
Try again
[HD2 Android NAND Development] paulwoodward:
Did you create the ext4 partition using Windows on a pc?

If you did try re-formating the ext4 partition from inside "CLK" before selecting the zip file you want to flash.
[HD2 Android NAND Development] cook:
Re: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Nothing special. Clean install. Boot. Trying turn Wi-Fi on. Impossible. Reboot. Retry. Same.
[HD2 Android NAND Development] Robbie P:
After booting, in terminal app, type

su
logcat > sdcard/logcat.txt

(Allow root privileges)

And leave it running.

After a reboot, you can see logcat on sdcard
[HD2 Android NAND Development] Sebastl:
All partitions created as primary ?
[HD2 Android NAND Development] cyberain:
Odp: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Camera app from android 4.2 don't work i see artefacts:/ but on nexushd2 4.0.4 all working,why?:)

ⓗⓣⓒ ⓗⓓ② ⓣⓐⓟⓐⓣⓐⓛⓚ
[HD2 Android NAND Development] captainhase:
AW: [Mar. 17, 2013][ROM][4.1.2][720p] NexusHD2-JellyBean-CM10 V1.4a [NativeSD]

Yes, with partition wizard. So, please tell me how to repartition in cwm. Advanced-> partition SD card ? Why is that needed. Can't remember doing it last time when all went well...
[HD2 Android NAND Development] ParanoiK:
Thanks, I will try that. Does logcat log internal/kernel errors also?
[HD2 Android NAND Development] S1gma:
That's pointless. CWM can't create EXT4 (EXT3 only). To create EXT4 partition for DataOnEXT you have to use EXT4RECOVERY (outdated) or TWRP EXTENDEND (link in my sig).

Also if you have formatted SD Card on windows and aroma installer correctly discovers your EXT4 partition, you don't have to reformat in from recovery.

ps. To change recovery you have to rearrange partition. I would suggest going with clk than. That way you will be independent of PC later:)

First, make a backup if you want to save some rom data (nandroid + titanium backup).

Than:

1) Download CLK from this link, unpack it to your SD card.

2) Download rom of your choice and put zip in your SD card

3) Power on HD2 holding Vol- button - you will enter flash mode. It will ask you to confirm you want to flash. FLASH :)

After that you will have CLK bootloader with TWRP Extended recovery installed. However it's good idea to download newest TWRP from link in my sig and flash it (it can be flashed from recovery like ROM). Than:

4) Boot to CLK (hold back arrow during powering HD2).

5) Select (navigate via vol+ and vol-, enter the menu by pressing "green" phone) SETTINGS, than RESIZE PARTITION

6) Select SYSTEM and set size to proper for ROM you choose (385MB+).

7) Go back using back arrow button, select COMMIT CHANGES and APPLY

8) Press back arrow button to return to menu and select RECOVERY

Now, you are properly partitioned and back in recovery (TWRP).

9) Now, use INSTALL menu to install new rom or RESTORE menu to restore nandroid backup :) In ADVANCED menu there should be also an option to format SDCARD (backup required).
[HD2 Android NAND Development] paulwoodward:
Thats the one... I meant CLK not CWM! (Flashed Android that many times in different ways its hard to remember which is which!!!)

Ive also had the problem with the EXT4 partition missing or unstable when creating it with a windows pc, but its always worked when doing a re-format from inside "CWM" before selecting the ZIP file to flash.
[HD2 Android NAND Development] S1gma:
Still, CWM (Clockworkmode Recovery) creates EXT3 not EXT4 partitions ;) EXT4 Support is implemented in EXT4Recovery and TWRP Extended.
[HD2 Android NAND Development] paulwoodward:
Agreed... thats the

RE

-format bit, you still need to create the partition with something else.
[HD2 Android NAND Development] NYLimited:
If you are new to the logs you may wish to try

Lumberjack

which should make looking at or saving logs a little simpler.
[HD2 Android NAND Development] ParanoiK:
Thanks, I'm new to android, but I've used *nix systems for couple of years now :)

So I'm trying to catch some kind of kernel panic or other log. The only suspicous thing is this in dmesg:

<3>[10926.580688] msm_i2c msm_i2c.0: error, status 43c8 (5C)
<3>[10926.580779] msm_i2c msm_i2c.0: Error during data xfer (-5) (5C)
<3>[10926.580841] msm_i2c msm_i2c.0: error, status 63c8 (34)
<3>[10926.580871] msm_i2c msm_i2c.0: Error during data xfer (-5) (34)
[HD2 Android NAND Development] tytung:
Someone found it long time ago. But they were not real errors.

Please read the following post for more info.

http://xdaforums.com/showpost.php?p=16796113&postcount=90
[HD2 Android NAND Development] mac2ric:
Home button & softkey and notification drawer settings softkey

Thanks for excellent work. I have installed your rom via NativeSD my only problem by now is two times in a month period home button & softkey and notification drawer settings softkey stop to work. Also power widget get mess up but fixable. Only way to fix problem of Home and settings keys are hard reset. Could it be fixed in another way? (easiest)

Thanks in advance
[HD2 Android NAND Development] Screamer:
Downloaded the ROM again, MD5sum is ok. But still no WiFi. With 1.3a if have no problems with WiFi.

Anyone a solution for this problem?
[HD2 Android NAND Development] ParanoiK:
Thanks. I've tried to catch error with piping logcat output to file, but last entries befrore crash were:

E/WeatherXmlParser( 262): org.xml.sax.SAXParseException: Unexpected <! (position:START_DOCUMENT null@1:1 in java.io.StringReader@412bc2b0)
E/WeatherXmlParser( 262): org.xml.sax.SAXParseException: Unexpected <! (position:START_DOCUMENT null@1:1 in java.io.StringReader@4147ee20)
E/WeatherXmlParser( 262): org.xml.sax.SAXParseException: Unexpected <! (position:START_DOCUMENT null@1:1 in java.io.StringReader@412c1ba0)
D/SurfaceFlinger( 91): Screen about to return, flinger = 0x2a008b88
D/dalvikvm( 446): GC_FOR_ALLOC freed 1032K, 29% free 9075K/12679K, paused 37ms, total 37ms
I/keystore( 97): uid: 1000 action: p -> 1 state: 1 -> 1 retry: 4
D/PhoneStatusBar( 355): disable: < expand* icons alerts ticker* system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 355): disable: < expand icons alerts ticker system_info back* home* recent clock* >
D/dalvikvm( 2610): GC_CONCURRENT freed 1345K, 25% free 7367K/9799K, paused 9ms+58ms, total 148ms
I/ActivityManager( 262): moveTaskToBack: 7
D/dalvikvm( 262): GC_CONCURRENT freed 2551K, 29% free 10741K/15111K, paused 59ms+15ms, total 200ms

And it wasn't very suspicious. I'm starting to thing that crashes could be hardware related (maybe some kind of communication cut-off with SD card - ROM is NativeSD in my case). I'm thinking about remote logging, maybe some kind of syslog daemon sending logs to my PC...
[HD2 Android NAND Development] dictator4:
EUHD2? or Tmous?

If EUHD2, try systemnand+dataonext version.. if that one is works, then we can say nativesd has that problem with wifi..