yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] darkriftx:
Re: Bluetooth pairing issue / crash - fixed

All,

I posted yesterday that I was having bluetooth pairing issues and a phone crash. I finally found the answer that works and it all relates back to me restoring my bluetooth pairings from Titanium Backup.

The fix (found on another forum) is to clear all pairings that exist and re-pair each device. The command to run that clears the old pairings is as follows: (run in terminal emulator after a 'su -' command):

rm -rf /data/misc/bluetoothd/*

Do a full reboot after that. I have yet to encounter any pairing issues since executing this command.

Once I find that link again I will post it here to give credit to the original author.

I hope this can help some of you with car/bluetooth pairing issues.

Thanks,

- darkriftx
[HTC Sensation] dkephart:
Just a tiny note here. I am sorry if formatting the SD etc. turns out to be your only solution. But please note: the .nomedia problem is not about the file being in media directories (usually) but occurs when the .nomdia file is in the root directory.

For me, something put one there at midnight night before last, and most of my pics "vanished". I had flashed the eos gapps, so I still saw pictures uploaded to the cloud. When I tried to solve the problem by flashing the cm 0726 gapps, all pictures disappeared. I tried the SDRescan app. This apparently does not work with JB.

Finally, I searched and read about the .nomedia file. I deleted it from the root directory, and, after Android rescanned the card my pictures were back.

As a side note, just because formatting the SD card worked for you doesn't mean it wasn't a .nomedia issue. After all, that certainly gets rid of hidden files in the root directory, too.

Plus, I can replicate the problem: create a file in your root directory named .nomedia, and your pictures (or all the locally stored ones) will be gone. Delete the file and power off and restart your phone, and they'll be back.

Finally: a sign that this is the bug you have, if you can't see all your photos: in a file manager that displays thumbnails of images, the thumbnails don't display, either.

Yrs,

dkephart
[HTC Sensation] inyourroom91:
I've had that problem too. There are a number of things people can do to fix the data on/off problem. I've herd rebooting, wiping cache and dalvik, and formatting the SD..the only solution that worked for me that worked for a lot of other people is running a sense ROM. Then after like a day maybe more the data will continue working..that's just from my personal experience and reading the complaints on this forum...on a side note, thanks 4 the ROM. I've been running since the phone calls worked. And I've never seen a developer get a ROM up to speed so fast. Good job man.
[HTC Sensation] KennyDumah:
No its every Single apk...

Think about changing the Rom because of this.
[HTC Sensation] bruce2728:
I can install apk's just fine, did you check you have root access set for apps in developer options?
[HTC Sensation] dkephart:
Did you mean think about changing file managers because of this? Because I haven't seen this problem with the one I use.
[HTC Sensation] heavy_metal_man:
possible way to enable crt animations

@bruce

i have been looking into a way to enable crt animations and i stumbled arcoss this. now i have tried to make the changes myself but have had no luck as the compilers i have found, i dont think they are made for jellybean. would you be able to make this change to the bool before a complie and see if it works? i maganged to get a framework-res complied once, and i placed it into the b2 rom and flashed and it booted. but no crt animation. the lock screen was more "instantaneous" but no crt :( i get the feeling that what i used has not compiled properly as simply changing that bool to true made the apk size jump from 5.74mb to 6.3mb! :confused:

hope this helps :D

regards Heavy_metal_man
[HTC Sensation] idtheftvictim:
No media all of the sudden

I saw a page or so back that someone else expierienced the ".nomedia" issue. Well, yesterday all was good, I am running 8/14 build two, I had all my pictures/music. Then today, I wake up(mind you I hadn't rebooted or anything since yesterday) and attempt to listen to music, and there is nothing listed, nothing in gallery either.

I check the root of my SDcard, and there was the ".nomedia" file. So I deleted it, then rebooted, still nothing.

I then went into recovery, wiped delvik and cache, rebooted and there is still nothing.

I went into recovery again, re-flashed 8/14 build 2, wiped delvik and cache again, rebooted and STILL nothing.

Not sure if a logcat would help or not, if so, let me know and I can post. But I am not sure what I can do at this point besides a full wipe.

Any ideas?

TIA!

Edit: I finally got everything back, I honestly don't know what corrected it. But the last thing I did was uninstall rom manger updates, delete the .nomedia file, cleared "media storage" cache, reboot into recovery, wipe delvik and cache, the rebooted, and BOOM...they are all back.

According to the latest Rom Manager update this problem is related to that APP.
[HTC Sensation] Lizardwithhat:
Going back to build 12 because the entire OS just has too many problems

* Sometimes just never wakes up need to take out battery

* plug in headset nothing happens need to take out battery

* many programs crashing

* youtube doing weird

* problems with connecting with USB to PC (hardly works,

try press turn on storage and then turn the screen)

Yes Bruce I have followed all instructions and I know this is not

the issue I have been following this thread from the beginning

a fix would be nice but starting tomorrow I will be on vacation

and i need a stable OS which is why I am going back to 12 not

to 14 because I only used it for an hour before the new one came

and I don't know when the problem arose

EDIT: oh yea and in some apps some things when i tap it just doesn't

respond and sometimes even with the function BUTTON
[HTC Sensation] Azothyran:
I know this sounds stupid, but rotate the device. If you're in portrait when it says "Install" or "Cancel", turn the device 90° and click it again. That has always worked for me.
[HTC Sensation] glhturbo:
I think you are getting my post confused with someone else's post. I never said that formatting the SD card worked for me, in fact, nothing has worked yet. I have been able to find more evidence that something strange is going on.

In my Gallery, there are no photos from the camera showing up. I do have a few pictures from Whatsapp in there, but not all of them. The pictures from the SD card are ones that were sent AFTER everything else disappeared and are in the same directory as the missing files. /storage/sdcard0/Whatsapp/Media/WhatsApp Images. Let me rephrase that, after all of the photos disappeared from the Gallery, new ones started showing up in the Gallery from Whatsapp. I checked the SD card with Total Commander and I can see ALL of the photos in that directory, but only SOME of them show up. That is definitely not a characteristic of the ".nomedia" file messing things up. It has to be something else.

Also, I believe that I read somewhere else that someone had a similar experience with the camera where only the new photos were showing up in the Gallery after everything else had disappeared (and failed to reappear).
[HTC Sensation] ptlsajan:
Can u tell me how you set up this screen
[HTC Sensation] cgjjaf:
Thanks for looking into this, it was driving crazy. I followed the steps that you described in the update and I got all my pictures back.
[HTC Sensation] glhturbo:
Thanks to idtheftvictim I was able to get ALL of my media back. ROM Manager was indeed the culprit. I checked the ROM Manager on the Google Play store and saw that in the comments that there was a .nomedia file that was placed in the root directory of the SD Card (already mentioned by dkephart) and another one hidden away on the SD Card under /Android/data/. Deleting the one in Android/data immediately brought back everything. Done and done, thanks guys. :highfive:
[HTC Sensation] dkephart:
Yes, this is because photos taken after .nomedia is deleted and before something gives the Android to reach for media must still show up.

But yes it is due to that, as explained above. It's not that the Gallery isn't working, just that the Google media scanner works differently or something than it did under ICS.

I was trying to combine help for you with help for others. Again it is .nomedia in the wrong place that causes these symptoms. And CWMR dev has acknowledged this as coming from an update to ROM manager...please try deleting .nomedia from root directory of SD card - /storage/sdcard0 - and restarting (not just rebooting) the phone.

(And - others - remember that .nomedia is a hidden file.)

Yrs,

dkephart
[HTC Sensation] idtheftvictim:
Glad we all got this figured out. I was at work without music, and it SUCKED...I spent a good hour or two trying to figure it out, but hey...if it helps others, then I am glad.

I think maybe we should have the steps to get media back posted in the OP or maybe it's own thread? Anyone agree?
[HTC Sensation] KennyDumah:
I tried this already too...

dont work...

for now i just can install non market apps via adb.

:/

I won't wipe my entire data again because off this. maybe there will be a fix for this soon.
[HTC Sensation] denverpedro:
I'm still having an issue with media. I followed the previously listed steps as follows:

1) Removed .nomedia from /sdcard/ and from /sdcard/Android/data

2) Reboot to recovery

3) Wipe cache and dalvik cache

4) Reboot

Still no luck. Any other suggestions? I'm about to re-install the ROM to see if that helps. For what it's worth I find the following .nomedia files when I search my system, these don't look like they should matter but I may try removing them before I re-install everything:

./storage/sdcard0/scanner/.nomedia

./storage/sdcard0/Android/data/com.google.android.music/cache/artwork/.nomedia

./storage/sdcard0/Android/data/com.google.android.gallery3d/cache/.nomedia

./storage/sdcard0/Android/data/com.google.android.apps.books/files/.nomedia

./storage/sdcard0/Android/data/com.google.android.apps.plus/cache/.nomedia

./storage/sdcard0/Android/data/com.google.android.apps.genie.geniewidget.news-content-cache/.nomedia

./storage/sdcard0/foursquare/cache/.nomedia

./storage/sdcard0/bcr/imgs/thumbnail/.nomedia

./storage/sdcard0/bcr/imgs/.nomedia

./storage/sdcard0/bcr/Intsig_card_cate_thumb/.nomedia

./storage/sdcard0/bcr/noaccount@default/.nomedia

./storage/sdcard0/bcr/13721275/.nomedia

./storage/sdcard0/gameloft/games/nova/.nomedia

./storage/sdcard0/romtoolbox/boot_animations/previews/.nomedia

./storage/sdcard0/romtoolbox/status_bar/icons/.nomedia

./storage/sdcard0/Pictures/cache/com.google.android.googlephotos/.nomedia

./data/data/com.google.android.apps.genie.geniewidget/cache/news-content-cache/.nomedia

./data/data/com.namcowireless.flightcontrol/files/webui/.nomad
[HTC Sensation] dkephart:
Did you try deleting Media Service data (in Mage Apps->All), powering down and restarting your phone? Rebooting alone is not enough, and wiping dalvik and cache doesn't seem to affect media cache.
[HTC Sensation] Lizardwithhat:
There is definitively something wrong with sound hound

if I knew how to do logcats I would have done by now

but since i don't I can tell you that the app works fine but

then the program says that it hasn't heard anything

which sounds to me as that the microphone is not working

I have a logcat program if someone could give instructions on

how to do it exactly I will be able to put one up in 5 minutes

after i read a reply
[HTC Sensation] denverpedro:
Thank you, thank you, thank you!!!

Yes I had cleared data then rebooted and cleared cache and dalvik. Not sure why powering off (I pulled the battery just to be sure) made a difference but it did.

Thanks again; all my media is currently "rebuilding" (I'm seeing photos but they're not all there yet... when I first booted there were none).

---------- Post added at 10:29 AM ---------- Previous post was at 10:18 AM ----------

Quick follow-up. Once the media service rebuilt it's data (I'm assuming this is what was happening) I had to clear data on the Gallery as well (no reboot required). Otherwise I had odd things happening... the thumbnail in the gallery would show one thing but if you tapped the photo it would show a different photo. Clearing Gallery data and then re-opening the gallery fixed that.

I appear to be 100% back to normal. Thanks again.
[HTC Sensation] Hardcore69er:
can someone help me test something?

might of figured out what's wrong with the screen freezing on lock screens..

I need y'all to go to an area where your signal is changing between 2G and 4G or an area with barely any reception so it drops and searches

and lock the phone.
[HTC Sensation] Annonymous26:
Once the hw video works..then i will take it as daily driver..anyway..great job bruce!:good:
[HTC Sensation] idtheftvictim:
Did you uninstall the lasted ROM Manager update? That is the true cause of this.
[HTC Sensation] H3llblax:
But that inturn breaks the gnow.. disable toch sounds makes u use gnow only every alternate turn
[HTC Sensation] Bornin:
I'll just keep pasting this here, for as long as necesary http://xdaforums.com/showthread.php?t=1726238

Sent from my Sensation XE on Smartdroid with Tapatalk 2.
[HTC Sensation] dkephart:
It is said that the latest ROM manager (5.0.1.5) is fixed. Others say that you should delete

clockwork/.nomedia

FWIW.
[HTC Sensation] Lizardwithhat:
thanks bro was searching the thready for it but didn't find it lol was from mobile and in a rush

lol thx

---------- Post added at 10:02 PM ---------- Previous post was at 09:50 PM ----------

Soundhound not working

Catlog:

08-17 21:55:49.649 D/dalvikvm(2244): DexOpt: load 54ms, verify+opt 158ms, 691164 bytes

08-17 21:57:58.839 I/dalvikvm(3457): Turning on JNI app bug workarounds for target SDK version 10...

08-17 21:57:58.899 E/Trace (3457): error opening trace file: No such file or directory (2)

08-17 21:57:58.909 D/ActivityThread(3457): setTargetHeapUtilization:0.25

08-17 21:57:58.909 D/ActivityThread(3457): setTargetHeapIdealFree:8388608

08-17 21:57:58.909 D/ActivityThread(3457): setTargetHeapConcurrentStart:2097152

08-17 21:57:59.549 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x5e143000 size:22769664 offset:21377024 fd:50

08-17 21:57:59.679 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x5f6fa000 size:21098496 offset:19009536 fd:54

08-17 21:58:00.010 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x60c19000 size:24858624 offset:22769664 fd:57

08-17 21:58:00.120 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x623ce000 size:26947584 offset:24858624 fd:60

08-17 21:58:00.640 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x63d81000 size:28340224 offset:26947584 fd:63

08-17 21:58:00.730 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x65888000 size:29732864 offset:28340224 fd:66

08-17 21:58:03.513 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x5e143000 size:22769664 offset:21377024

08-17 21:58:03.513 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x63d81000 size:28340224 offset:26947584

08-17 21:58:03.513 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x65888000 size:29732864 offset:28340224

08-17 21:58:06.476 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x60c19000 size:24858624 offset:22769664

08-17 21:58:06.476 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x623ce000 size:26947584 offset:24858624

08-17 21:58:06.476 D/memalloc(3457): /dev/pmem: Unmapping buffer base:0x5f6fa000 size:21098496 offset:19009536

08-17 21:58:32.201 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x5e143000 size:31821824 offset:29732864 fd:47

08-17 21:58:32.401 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x60c19000 size:29732864 offset:27643904 fd:53

08-17 21:58:32.551 D/memalloc(3457): /dev/pmem: Mapped buffer base:0x62874000 size:21098496 offset:19009536 fd:56

Hope I did it right!

Seems as if mic not working because in soundhound you see when it hears music

and after it is finished listening it say no music heard
[HTC Sensation] heavy_metal_man:
never mind. tried the fix again and for some reason it worked this time :p thanks again for the fix guys
[HTC Sensation] bruce2728:
The lines with an error will usually start with E/

The stuff you just posted was just memory allocation.

Don't worry about another log for now until I've done a new build, there have been a lot of changes.
[HTC Sensation] denverpedro:
Yep, uninstalled ROM Manager. For now I don't need it; I can install it later once any issues are confirmed to be resolved. It sounds like right now it's not yet confirmed that they issue was fixed.
[HTC Sensation] melo563:
If soundhound doesn't work have you tried Google ears it also listens to music and tries to find songs for you it comes with jellybean
[HTC Sensation] MikeDVH:
Yeah you can set it as a widget and works just as well as shazam!

Awesome little app.:D
[HTC Sensation] melo563:
hey Bruce after looking at cm nightly support list for cmx I want to say thanks again for making this available as pretty much nightly since they are not at the moment
[HTC Sensation] mike565sd:
Do you have "Touch Sounds" enabled under settings>sound?

http://xdaforums.com/showpost.php?p=30268383&postcount=3329

That has helped many users with a number of different apps which use the microphone.
[HTC Sensation] Lizardwithhat:
Yep that fixed it, unbelievable that I haven't thought of it.

Must be turned off by default since i didn't play with the settings

and it happen with every cm10 ROM version

you deserved the thanks man
[HTC Sensation] kpjimmy:
Sorry I don't want to detract this thread. Please click the "Homescreen Details" button or my sig to get to the details. :D
[HTC Sensation] WarlockW:
Easy Logcat Maker v1.0

I seen many people ask how to make a logcat of their phone ..

So I made a logcat maker that anyone can use easily ...

1. Connect Phone to USB Port

2. Run Logcat-Maker.exe

3. Choose Option to make Logcat

4. Go Look at Logcat in: c:\Logcat-DATE.txt

Get it here: http://xdaforums.com/showthread.php?t=1838323
[HTC Sensation] binarybulge:
Pretty pointless when there are apps like aLogcat that allow you to do it all from your phone.

Edit: Sorry, that might have been a knee-jerk reaction. I can see the value in your app.
[HTC Sensation] sarbatani:
CM team kicked out first wave of CMX for bunch of devices. Hope to catch them soon with our lovely pyramid :)
[HTC Sensation] Negroid:
i dont see a 'media service app', only 'media storage'. and when i cleared the data on media storage as well as deleted the .nomedia files i still had the problem. any suggestions? thanks
[HTC Sensation] heavy_metal_man:
Well I connected my phone to the PC(windows 7) and searched the sdcard for .no media, and deleted all of the ones that had been created ( my phone kept generating a nomedia in android/data at boot) then I wiped data from the Apollo,gallery and media storage app. Then I rebooted to recovery and wiped the cache and dalvik cache then rebooted. Then I repeated this process again and it worked. :)
[HTC Sensation] anthonyly:
Radio?

was i suppose to flash a new radio? Going from Cm9 stable to the latest build?

I don't have any signal nor can i make calls

Flashed with tamcore..
[HTC Sensation] eroslws:
Try with stock kernel, tamcore isn't supported by bruce (though it works fine for lots of people).
[HTC Sensation] bruce2728:
try the latest build
[HTC Sensation] remus82:
Hi Bruce, the latest build comes with your kernel right? Does it have sweep2wake or is it purely stock. Thanks! :good:
[HTC Sensation] bruce2728:
I know it works for most people and it is a great kernel, it's just harder to keep track of bugs if there are two different kernels.

I've started to build my own kernel, I've just updated it to 3.0.41 in this build, I'll add more features soon
[HTC Sensation] bruce2728:
It's stock at the moment but I'll be concentrating on drivers and jb comatibility before adding features like that.
[HTC Sensation] wmoore:
Hey Bruce, thanks for your work here. I saw there is a typo in post two, where you have the date of the latest build as Aug 18.

I've been using this as my DD for a couple of weeks now with Ta core kernel but I'm going to flash this one with hour stock kernel to see how it compares for stability. In the CM change lock, they reference pushing volume to wake - does that work in yours? I'll find out in about 20 mins anyway she I flash it I guess! :)
[HTC Sensation] jassycliq:
How high on the list is HW Vsync? Seems that the recent build supports it now.
[HTC Sensation] ajaysinbeast:
changelog

Changelog for the 18 Aug release please.
[HTC Sensation] tgeske88:
Its the second post. Come on bro, at least attempt to read the first few posts before u ask such arrogant questions...
[HTC Sensation] ajaysinbeast:
My mistake, didn't realise that there is a typo. sorry.
[HTC Sensation] pvinodnayak:
I'm on CM10 AUG 10 Release.

I get a error installing Kaspersky.

Please advice.
[HTC Sensation] dkephart:
Media Storage is correct, sorry.

Remember to Power Down the phone and Turn it back on - that will force the rescan after deleting .nomedia.
[HTC Sensation] bruce2728:
try unmounting your sd or adb push the apk to data/app.

definitly not a rom problem though
[HTC Sensation] dkephart:
Truly beautiful job on the 8/18 build, Bruce! Handles very, very well. Thanks again for all your work.
[HTC Sensation] tgeske88:
I never understood why people install antivirus programs oh their cell phones. I'm not knocking you in any way, just curious on why you have it installed. I mean is it really necessary?

Sent from my HTC Sensation
[HTC Sensation] SK1LLS:
How do I overcome these wake locks :(!
[HTC Sensation] inyourroom91:
Lmao...you got me dying over here!!! He honestly asked "where's the change log for Aug 18" lol....I couldn't help but notice that on goo that there are some downloaded for the older ROMs, and seeing as to how some people don't even skim the first page I'm willing to bet a good portion of complaints are from people not reading and/or downloading the wrong ROM...
[HTC Sensation] gol_n_dal:
Bruce,

Many thanks for this kang release of CM10. Been nice to watch the iterations, a shame I couldn't help.

BIG thanks.
[HTC Sensation] Sup3rSn4k3:
Hi Guys, i am a Windows 7 user, and also a USB Tether user, but it doesnt work in this rom, or doesnt work for me, anybody with the same issue?? Or any Fix?

Thx in advance.

Cheers!!!

Sent from my HTC Sensation with JellyBean 4.1.1
[HTC Sensation] bruce2728:
I can't test it I'm on linux, WiFi hotspot and BT tether work
[HTC Sensation] bruce2728:
Somebody said better battery stats is causing a wake lock, I've got none myself
[HTC Sensation] pyramid:
How different is this build from test build of 17 Aug?
[HTC Sensation] darkobas:
usb tether works too
[HTC Sensation] Azothyran:
Are you serious? The famed wakelock-hunter application is CAUSING a wakelock? Damn. It's a conspiracy.
[HTC Sensation] zefir738:
I flashed this rom, using ext4 recovery (also tried using TWRP). did a full wipe (system/data/cache + dalvik) and it just hangs on the boot animation. Any suggestions on how to fix this?
[HTC Sensation] MikeDVH:
Which ROM have you come from?

Sent from my HTC Sensation. No wait, Pyramid... um, I'm confused. =]
[HTC Sensation] zefir738:
AOKP Milestone 6
[HTC Sensation] MikeDVH:
So you've got the right firmware then... 3.33, yeah?

Um, try fixing permissions as well and if that don't work, I'm at a bit of a loss! Sorry!

Sent from my HTC Sensation. No wait, Pyramid... um, I'm confused. =]
[HTC Sensation] zefir738:
I believe so. Also, I shall try a fix of permissions. I'll still wait for other responses, but thanks for your input!
[HTC Sensation] MikeDVH:
No worries.

Here's a bump for your original question, too. :thumbup:

Sent from my HTC Sensation. No wait, Pyramid... um, I'm confused. =]
[HTC Sensation] zefir738:
yeah, tried a permission fix. no dice.
[HTC Sensation] inyourroom91:
No worries, probably just a bad flash or download. Wipe everything, format all but SD then flash ROM then jb gapps, it should work then. If not just re-download and do what I just said. Should work then ;)