Sound Recorder (.amr) app not working, permission issue - Optimus One, P500, V General

hi guys,
i have a problem with the app Sound Recorder (stock and from market), they cannot write properly my file system apparently, i have root and i changed permissions recently on the file system for other things.
stock soundrecorder gives me "cannot access SD card"
and another one tells me "unable to access file system"
i can find the files on the sd card (so looks like they are recorded) though when i click for opening there's no way to open them, i can use another app, as long as it doesn't write an .amr file.
i think the problem is either permissions on the SD card or codecs related, is there a way to check that permissions are ok AND to reinstall stock audio codecs like we do on windows for example?
i opened the .amr file with another app from market and they had an awful background noise though, so i think it's 90% codecs related.
thanks
gabrio

I got this problem before. It is due to stagefright being enabled. disable it in build.prop in system.
media.stagefright.enable-player=false

wizagg said:
I got this problem before. It is due to stagefright being enabled. disable it in build.prop in system.
media.stagefright.enable-player=false
Click to expand...
Click to collapse
thanks, checked but i already it on "false"

Related

Anyone figure out how to restore Avatar after rooting?

I have the apk reinstalled and the filed on my external Micro SD. The app doesn't seem to find it. I tried it with it on the internal SD and that didn't work either.
Anyone know?
Is the movie file in a folder titled "Movie"?
the3dman13 said:
Is the movie file in a folder titled "Movie"?
Click to expand...
Click to collapse
umm........
brb
yes it is.
When I open the app I have a choice between:
LOGO.mp4 (Which creates a nasty loop)
or
avatar_trailer.3gp
oohhhh..... It seems you are missing the Avatar movie completely if those are the only 2 files there. The movie is called avatar.dcf
Open your file explorer and navagate to your sd card and make sure avatar.dcf is in the Movie folder if it is not then you are in trouble.
On my phone there is no logo.mp4 maybe you need to download astro file manager in the market and rename LOGO.mp4 to avatar.dcf (who knows maybe it got renamed somehow.
yeah I have avatar.dcf in the movie file. I found another Movie file on the internal SD. I'm copying now. We'll see what happens.
You can also play the movie through the default samsung video player. Have you tried that?
so after a reboot the app sees the movie now....it just won't play it.
What the heck?
the3dman13 said:
You can also play the movie through the default samsung video player. Have you tried that?
Click to expand...
Click to collapse
yeah....its says file type not supported
Have you tried a factory reset? I have heard that that has fixed the issue for other people.
since you said the file was in another "movie file" on the internal SD (I guess u mean folder), when you "copied" the file like you said, sometimes it gets renamed the extension from .dcf to .3gp, in that case, when you tried to open the movie it will say file type not supported... make sure the extension is .dcf
i think one of the mods caused a malfunction (a2sd/lag fix/ext hack..) or During "bloatware cleanup" a critical DRM process/file was removed.
i have the problem: "licence expired" no fix yet, too bad..
Try this: http://forum.xda-developers.com/showthread.php?t=740241
wpbcubsfan said:
Try this: http://forum.xda-developers.com/showthread.php?t=740241
Click to expand...
Click to collapse
Waste of time
It worx now, started from scratch, odin to stock,
installed lagfix2.0.. and [KERNEL/RECOVERY] Vibrant EXT2/3/4 OC/Stock with init.d support NO WAKE LAG 8/23/10
Then all bloatware removed including all DRM related system services/device manager/blue tooth/csc...
Avatar still plays fine 2 reboots later.
HMM...

amberhome issue, Please help !!!

Hi all,
I'm the new with this 4rum. yesterday, i upgrade my phone with [ROM] LGP500 AmberHome V1.1.
This rom 's perfect & work like a charm (thanks to corwin42). but for a while, i found that my music player & also video player does not work. Although i have many music & video files in my sdcard. But whenever i open music or video player, they do not find anything.
I searched our 4fum, but found no clue. please help me solve this issue.
Do i have to reinstall music & video player? Where i can find the apk file??? And how can i install, via adb? i guess ? I used root explorer to copy music & video apk file from GT540, and try to paste in P500 system/app via root explorer. But i got "install error"
Maybe stagefright is enabled. Try disabling it via the tweak script. You can download the script from the thread in the development forum.
I 've just tried the script, but nothing solve. The same thing happen with music & video player.
please help me ...
try another music player
Okay, try this (for a little troubleshooting): Open your file manager and go to the directory where you have your files. Try playing one of them. If it plays, I think your player can't find your music for some reason. If it doesn't, I bet it's stagefright.
By the way, after you disabled sf from the script, did you restart your phone?
after try the script , i restarted...
the music player can play the file, but in the screen it show no thing... i mean no album art, no artist, no song's name ... although my files have full information and show normally before i do upgrade. it's so strange...
Thanks for your quick reply
edit: btw, i do not see the music.odex in system/app folder? is it normal ?
Strange. I have this problem for only some of my files. Do videos play? Do the same thing just like the music.
the same thing happen. When i use file manager to open, it open & play as normal. But when i open video player, it say "no video"
update: i installed another music & video player. The same thing happen. They say no file in sdcard.
I'm not sure and this is just a guess, but I think something may have went wrong with the partitioning process. Do you have a backup of your files on the memory card?
yes i have, so i will try to re - partion ?
Yes, try to repartition. Then restore your backup to your memory card. Make sure you copy your files to the FAT partition, and not the ext one
update:
Things were solved. I do not know exactly to explain. When I mount the sdcard, I noticed that there's a file which was named ".nomedia". I did not know where it come from. Just delete & things were solved. I do not have to re - partion, now my music & video player work like a charm !
Any ideas abt the file".nomedia" ????
anyone knows how can I restore de stock alarm widget??

[Q] Media/Music Player That Can View Internal Storage?

Now that we are able to use the 11+ Gb of internal storage (assuming you are rooted) are there any media players (e.g., mp3 and/or mp4) that can view data or data/media?
Media files can be seen/played via Root Explorer or ES File Explorer (although it's very kludgy) but I have not been able to find any player capable of accessing this storage area.
I'm pretty sure that you can specify which directory to use with MX Player
SG Pillar said:
I'm pretty sure that you can specify which directory to use with MX Player
Click to expand...
Click to collapse
And make sure you get the arm7 codec too.
Sent from my Galaxy Nexus using Tapatalk
HMG10 said:
And make sure you get the arm7 codec too.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Does it ever ask to download the codecs? It never asks to me download anything. I tried to play with the codecs and without them and I noticed no difference. However the player supports HW for h.264 codec only in both cases.
p.s. PowerAMP is a one of the best audio players. And it can access /mnt/* including "internal" linked to your internal storage.
I must have missed something here.
How exactly can we access the 11 gigs of storage on the nook?
Can someone point me to the thread that explains that process?
I used this method:
forum.xda-developers.com/showpost.php?p=20401344&postcount=72
nook_lover said:
Does it ever ask to download the codecs? It never asks to me download anything. I tried to play with the codecs and without them and I noticed no difference. However the player supports HW for h.264 codec only in both cases.
p.s. PowerAMP is a one of the best audio players. And it can access /mnt/* including "internal" linked to your internal storage.
Click to expand...
Click to collapse
Nope, doesn't work (neither MXVideo Player or Poweramp) at least does not work for me. I placed an MP4 and a MP3 in some subfolders in the data directory (which shows 11.6 Gb free). I was able to make data/media/vids and data/media/auds using Root Explorer - I can also see the files in ES File Explorer (and play them by clicking on either one and selecting the app to use.
But I cannot get any music or video player to find the file - is there some simple fix? And maybe I don't understand the meaning of "/mnt/* including "internal" linked to your internal storage" .
docfreed said:
Nope, doesn't work (neither MXVideo Player or Poweramp) at least does not work for me. I placed an MP4 and a MP3 in some subfolders in the data directory (which shows 11.6 Gb free). I was able to make data/media/vids and data/media/auds using Root Explorer - I can also see the files in ES File Explorer (and play them by clicking on either one and selecting the app to use.
But I cannot get any music or video player to find the file - is there some simple fix?
Click to expand...
Click to collapse
That is because MXPlayer does not run as root, and thus cannot list the /data directory. (Which is "--x" for anyone but root)
You have to ensure that the permissions on your media directory are setup so that MXPlayer can actually perform a directory listing.
cfoesch said:
That is because MXPlayer does not run as root, and thus cannot list the /data directory. (Which is "--x" for anyone but root)
You have to ensure that the permissions on your media directory are setup so that MXPlayer can actually perform a directory listing.
Click to expand...
Click to collapse
Just took a quick look at data/media and in Root Explorer, the permissions are all checked - that is for read, write and execute and the owner is shown as root.
Ah, Success
Changed the permissions of the /data directory to allow "others" to read and write and I can now play my media. Thanks to all for the help - that's why I absolutely love this forum!
doc, mind posting the full command you used?
howcansheslap said:
doc, mind posting the full command you used?
Click to expand...
Click to collapse
No command - using Root Explorer. First, I set /data from Read Only to Read Write. If you long press on either a file or folder you see nine "boxes" . Three down read Owner, Group and Others and three across are Read, Write and Execute. All i did was to set Others, i.e., check the box, for Read, Write and Execute. I then reset /data to be Read Only. Of course, you need to be rooted.
I think by setting Others to Read, Write and Execute (rwx) it allows media players to access the file.
nook_lover said:
I used this method:
forum.xda-developers.com/showpost.php?p=20401344&postcount=72
Click to expand...
Click to collapse
I'm trying to follow this method, but keep getting an error telling me the operation is not permitted, when I try to use the "mount" command.
Help?
loribuono said:
I'm trying to follow this method, but keep getting an error telling me the operation is not permitted, when I try to use the "mount" command.
Help?
Click to expand...
Click to collapse
Are you typing the commands manually? I used the script attached. No issues for me. Of course Tablet is rooted.
nook_lover said:
Are you typing the commands manually? I used the script attached. No issues for me. Of course Tablet is rooted.
Click to expand...
Click to collapse
Yeah, trying to enter them manually. I tried the script method, but the mkdir command didn't work for me either. It doesn't appear I'm allowed to do anything in ADB. Am I missing something? Is this even necessary? Someone else said they just changed permissions in Root Explorer. It's confusing. All I want is for non-B&N apps to recognize content I store in the large internal storage space, specifically music.
NT's rooted, too.
loribuono said:
Yeah, trying to enter them manually. That's what the instructions say. The script is in the next step. I assume I have to follow step 2 before step 3, or maybe I'm really not understanding this at all.
And my NT is rooted.
So, I don't get it. Do I have to follow the instructions as written, or not?
Click to expand...
Click to collapse
You don't have to type them. Just replace the file after backing it up. Set the same permissions as the the original.
---------- Post added at 06:09 PM ---------- Previous post was at 06:06 PM ----------
loribuono said:
Yeah, trying to enter them manually. I tried the script method, but the mkdir command didn't work for me either. It doesn't appear I'm allowed to do anything in ADB. Am I missing something? Is this even necessary? Someone else said they just changed permissions in Root Explorer. It's confusing. All I want is for non-B&N apps to recognize content I store in the large internal storage space, specifically music.
NT's rooted, too.
Click to expand...
Click to collapse
Follow the steps as provided. Manual adding is optional.
Okay, rebooting now. I'm confused about what I just did, though. What was the purpose of the usrdata folder I created?
I don't really know if this worked. I can choose any folder on my Nook, from within MX Player, but it doesn't appear to be scanning in the following location: /media/My Files/Videos. No .avi files that are within that, or in its subfolders, show up in MX Player. It sees other .avi files, like one in /system/media/videos.
Is there something else I need to do?
Why are there so many "media" folders on this thing, and which one should I be putting things into? there's one under /. There's one under /mnt, although they appear to be the same location, as the contain the same files. There's one under /system. And, of course, I've got one on my SD Card.
If anyone can clear up any or all of these questions, I'd be eternally grateful. Well, at least, grateful for a long time... like a few weeks, at least.
loribuono said:
Okay, rebooting now. I'm confused about what I just did, though. What was the purpose of the usrdata folder I created?
I don't really know if this worked. I can choose any folder on my Nook, from within MX Player, but it doesn't appear to be scanning in the following location: /media/My Files/Videos. No .avi files that are within that, or in its subfolders, show up in MX Player. It sees other .avi files, like one in /system/media/videos.
Is there something else I need to do?
Why are there so many "media" folders on this thing, and which one should I be putting things into? there's one under /. There's one under /mnt, although they appear to be the same location, as the contain the same files. There's one under /system. And, of course, I've got one on my SD Card.
If anyone can clear up any or all of these questions, I'd be eternally grateful. Well, at least, grateful for a long time... like a few weeks, at least.
Click to expand...
Click to collapse
If the script is working now, you can put any of your files to /mnt/internal.
nook_lover said:
If the script is working now, you can put any of your files to /mnt/internal.
Click to expand...
Click to collapse
Okay. Why? Why would I put them there? You just added yet another folder option to my confusion. I appreciate your help, but I'm one of those people who like to understand what I'm doing and why I'm doing it, rather than just follow someone's instructions.
loribuono said:
Okay. Why? Why would I put them there? You just added yet another folder option to my confusion. I appreciate your help, but I'm one of those people who like to understand what I'm doing and why I'm doing it, rather than just follow someone's instructions.
Click to expand...
Click to collapse
The script is linked to /mnt/internal and makes it possible to use the internal storage after each reboot keeping all of the permissions properly set.

Lost access to media - ringtones, alarms, notifications and other media files

I have also posted this issue on another general forum, so apologies if this is deemed cross-posting!
My smartphone is running a stock Lollipop C6833_14.5.A.0.242_Customzied Germany.ftf ROM flashed using Flashtool, but is rooted with KingRoot and I have a dual recovery flashed and working properly.
Following that downgrade I found that my phone no longer had either a phone or alarm tone. When I try and change the alarm tone or ringtone or even notifications in settings I am presented with the file explorer. The sound selector shows nothing. File Commander is able to see and access the files, and they do not appear to be corrupted and I also tested them in my media player.
They were not in the SD card media folder, but were in tact in the system/media/audio folder in their respective folders. So I copied all the individual folders within the audio folder across to the corresponding media folder on the SD card. But that did not work either...
After searching various sites for help I managed to find instructions to download and flash Xperia Lollipop Media Sounds.zip, which I tried to do with TWRP recovery, but this failed with an error message I could not read.
I wondered whether if I were to just flash the system file from the same ROM it would restore the media file settings? Any help would be very much appreciated, as I have no way of hearing when I receive incoming calls, and my alarm does not work either. The audio seems to function fine in third party apps, so there is no physical issue as far as I know.
I also read a recommendation to copy the files across while connected to a PC, via USB, but my computer is a Mac and it does not seem to be able to access the SD cards as external drives in the same way as they appear in a PC.
Sony technical support basically told me that the only solution is to use repair within the Sony Bridge for Mac app, but I don't want to lose root, as the latest firmware upgrade is impossible to root. I really need help on this please!
Be aware that you have to set the correct file permissions after moving them to the /audio folder. The ringtones and alarm tones should be in the folder you just wrote, meaning they're on the system partition.
Just long-press or something on the audio-folder (depending on the file explorer you're using), tap "properties", and then set the permissions to 6-4-4, which is RW-R-R, or:
[x] [x] [ ]
[x] [ ] [ ]
[x] [ ] [ ]
Then reboot.
Hi Klaoss, many thanks for replying. However I have checked the permissions. The permissions for the actual files are RW-R-R, but in fact the folder permissions seem to be even more open: drwxr-xr-x, does that sound correct? I am talking about/system/media/audio/alarms, camera, notifications, ringtones and ui, which all have the same permissions.
Uh Oh! I just checked the permissions in the /storage/emulated/0/media/audio folder are non existent! Maybe this is why it is necessary to use the PC to copy the files, in order to retain the file and folder permissions? Is it also something to do with the actual formatting of the SD partition? Thanks for your patience
Just checked mine (on 5.1.1) and it does indeed look like the folders are drwxr-xr-x, while the files themselves are rw-r-r.
Also, yeah you could try that. That might actually work. Just remember to reboot after each change.
Thanks, but to be clear, do the files need to also be in /storage/emulated/0/media/ as well as in the /system/media/audio, or are they superfluous? Because if they are not needed, then I am not going to achieve anything by going to the trouble of copying the files within a PC environment.
Also, is there no way of copying files within Android without losing the permissions?
No idea, but I've always added and removed audio files from the system partition, but I know apps like Zedge and stuff adds them to the list when downloaded, so I'm guessing that 3rd party apps use the media folder on the internal memory, and not on the system partition, which requires root. So I would probably just let that folder alone, and concentrate on the system folder. Check the permissions and see what happens.
Change the permission on one or two files (incl. the folder), reboot and see if the file/files you just edited are showing up in the ringtone list. If yes, then change the permissions on the rest of them.
I have no idea what to change the system folder permissions to...remember that they were set to drwxr-xr-x. I think it is more important to be able to provide access to third party apps, that way I could temporarily choose ringtones etc using those. However I cannot access the permissions for the folder of the internal memory via my file explorer apps, even with full root access. That has to be a contributory factor to the problem. I wonder, would you mind having a look at the permissions for these folders on your device and telling me what they are compared to the system version?
Also, I would like someone else's take on this, would anyone else care to comment please?
OK, same problem, different tack: can anyone please tell me which partition I would need to reflash from a ROM or TWRP backup to restore the system media sounds and settings to original without losing my data or root? Also does it need to be the same ROM version, or can I flash a different ROM, but still a version of Lollipop? For example, could I simply extract the relevant partition from the recent 5.1.1. ROM, or would I then lose root too, or could it come from a 5.0.1 ROM, but slightly different from the one presently installed? I have several TWRP backups, but unfortunately for some reason they included the TA information (ta.mmc.win) which causes a bootloop when I try and reboot the system after flashing, and I have yet to find a way to exclude them from the restore process.

Would it cause problems to remove the audio resources from the Samsung Camera apk?

The Samsung Camera app doesn't give you an option for silent operation.
Yes, it's a workaround to mute your phone first, but it adds another step - which can be a problem if you're capturing a fleeting moment, and you're trying to not intrude.
The audio files are located within the SamsungCamera.apk file in \res\raw.
Would it cause any problems or malfunctions to delete those audio files, re-zip the apk and replace the original with the modified one? Would the app handle the missing resource gracefully?
If this is possible, is there anything else I need to do other than delete these files?
It would be better to copy the Audio-Files, edit it on the PC (Mute) and replace the files inside the APK. Then everything should work fine. (The phone will play the Audio, but there is no Sound in the file)
But the problem is, that you cannot update an System-App without root
profi_fahrer said:
It would be better to copy the Audio-Files, edit it on the PC (Mute) and replace the files inside the APK. Then everything should work fine. (The phone will play the Audio, but there is no Sound in the file)
But the problem is, that you cannot update an System-App without root
Click to expand...
Click to collapse
That's an excellent idea. And I have root, so that won't be a problem.
Thanks!

Categories

Resources