Mtklog Annoyed - Micromax A116

Hello friends i annoyed for huge amounts of Mtklog auto Created on my sd card.
i found currently in system/etc/mtklog-config.prop
persist.mtklog.log2sd.path = /mnt/sdcard
com.mediatek.log.mobile.enabled = false
com.mediatek.log.mobile.maxsize = 300
com.mediatek.log.modem.enabled = false
com.mediatek.log.modem.maxsize = 600
com.mediatek.log.net.enabled = false
com.mediatek.log.net.maxsize = 200

Related

[Q] sg3 record video code problem

Hello,
im tring to make app that recod video from the front camera
i have a code that work in all devices that i know but not in sg3
dose any1 know how to record video with the camera in sg3?
this is my record code:
mMediaRecorder = new MediaRecorder();
mMediaRecorder.setCamera(mRecoredCamera);
mMediaRecorder.setAudioSource(MediaRecorder.AudioS ource.MIC);
mMediaRecorder.setVideoSource(MediaRecorder.VideoS ource.CAMERA);
int qualty = getSharedPreferences(Consts.SHERD_PREF_FILE, MODE_PRIVATE).getInt(Consts.SHERD_PREF_QUALITY, 0);
switch (qualty) {
case 1:
qualty = CamcorderProfile.QUALITY_LOW;
break;
default:
qualty = CamcorderProfile.QUALITY_HIGH;
break;
}
mMediaRecorder.setProfile(CamcorderProfile.get(qua lty));
mMediaRecorder.setOutputFile(fileName);//"/sdcard/video.mp4");
mMediaRecorder.setPreviewDisplay(mSurfaceHolder.ge tSurface());
mMediaRecorder.setMaxDuration(60000);
mMediaRecorder.setMaxFileSize(10485760);
mMediaRecorder.prepare();
mMediaRecorder.start();
this is the exception im getting:
java.lang.RuntimeException: start failed.
at android.media.MediaRecorder.start(Native Method)
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.

[Kernel][Drivers]Tweaking the camera Driver(for 60FPS Video) Kernel developers needed

I think that this is something important to talk about. Enabling 60 FPS at video recording should improve the video by a lot and would be useful for capturing objects in movement.
There is a mod for the camera of our GS3 where 60 FPS is enabled but it is not working yet, and maybe is because of a driver limitation.
I'm studying the camera driver very carefully. I set the frame rate to high numbers only for testing purpose. I will keep looking for more about this. There should be a way on how to extract the firmware GD and ZD.
*Edit*
I need to know how to open SlimISP_GD.bin.ihex and SlimISP_ZD.bin.ihex in order to edit the Firmware but it seems that it is not possible to convert the hex file to "readable" language. It seems to be encrypted or something like that. If anyone know how to do this, please let me know.
>sensor.sensor_type) {
case SENSOR_S5K3H2_CSI_A:
case SENSOR_S5K3H2_CSI_B:
max_framerate = 15; SET TO 120
break;
case SENSOR_S5K3H7_CSI_A:
case SENSOR_S5K3H7_CSI_B:
max_framerate = 30; SET TO 120
break;
case SENSOR_S5K6A3_CSI_A:
case SENSOR_S5K6A3_CSI_B:
max_framerate = 30; SET TO 120
break;
case SENSOR_S5K4E5_CSI_A:
case SENSOR_S5K4E5_CSI_B:
max_framerate = 30; SET TO 120
break;
default:
max_framerate = 30; SET TO 120
}
return max_framerate;
}
Click to expand...
Click to collapse
I need help from developers with knowledge in Kernel/ROM/Driver developing. I am not able to compile the Kernel properly yet, so I would be VERY grateful if someone with experience did it. Me and many people could benefit from this (if this works).
I attached the drivers with the corresponding modifications.
If I did any mistake writing this, please let me know. English is not my first language.
Can any moderator move this to the Galaxy SIII Android Development?
Thanks in advance!
+1

[Q] Query on MediaStore.Audio.Playlists Keeps Empty

To get a list of all playlists, I do the following:
Code:
String[] projection1 = { MediaStore.Audio.Playlists._ID, MediaStore.Audio.Playlists.NAME };
Cursor cursor = myActivity.getContentResolver().query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, projection1, null, null, null);
On my JellyBean device (API16), every thing works fine. Subsequent queries on contained songs in each playlist also works as expected.
On my Gingerbread device (API10), the resulting cursor keeps empty, despite having created several playlists in the standard music player.
Are playlists stored differently in older APIs? Or has DB structure changed? Querying the audiofiles (MediaStore.Audio.Media.EXTERNAL_CONTENT_URI) works well on both devices. I'm compiling with min. API 8.
Any hint would be greatly appreciated!
*ping*
Seriously, nobody has an idea?
(Could an admin please put this thread into the right forum, as I am not yet allowed to. Otherwise, I doubt it has a chance of being read by the relevant audience. Thanks!)

Bug report please help interperet.

My galaxy tab s 10.5 freezes frequently, no-one has helped at Samsung or Verizon. Only while Madden Mobile is running
I am really hoping someone here can help. The tab won't accept any touch input, but a soft reset and I'm back in action.
I have been keeping a timer next to me a taking bug reports to try to isolate what is causing the freeze. plenty of free ram and mem, tried factory reset a couple times and just want to play madden mobile without it freezing. clutter free, nearly bare bones. posted on madden website with no love.
Here are the recurrent bug reports at the exact time of freezing:
09-04 22:58:04.329 944 4007 D SSRM:n : SIOP:: AP = 430, PST = 422, CUR = -1075
09-04 22:50:51.837 944 4007 D SSRM:n : SIOP:: AP = 450, PST = 448, CUR = -1758
09-04 22:58:04.329 944 4007 D SSRM:n : SIOP:: AP = 430, PST = 422, CUR = -1075
Please Please help me figure out what this means. I cannot replace the device because it only freezes with 3rd party app, don't want device if I can't play 3rd party apps! duh.

Amazon Fire Phone Video and sound problem

i know am not suppose to open a new thread if there is an old one already available, but the issue is that the old thread is so old that no one replies there anymore and i have been waiting for a reply for a couple a days now..
as you all know that the amazon fire phone has couple of issues that has new been fixed by the company itself and i have been searching around for fixes myself and one of the main issue that has been bothering all fire phone users is the video not being able to play in apps like whatsapp, instagram, snap etc..
now i have come across this one particular coding for this issue but since am not a developer or a java expert i need assistance in preforming these steps and if anyone can be helpful enough to tell me whether this works or not
In AmazonQuirks.java
private static final String FIRE_PHONE_DEVICE_MODEL = "SD";
private static final boolean isFirePhone;
static {
isFirePhone = isAmazonDevice && DEVICEMODEL.startsWith(FIRE_PHONE_DEVICE_MODEL);
.
.
}
public static boolean isLatencyQuirkEnabled() {
// Sets latency quirk for Amazon KK and JB Tablets
return ( (Util.SDK_INT <= 19) && (isKindleTablet || isFirePhone) );
}
by reddisri on github
https://forum.xda-developers.com/fire-phone/help/help-thread-question-noob-friendly-t3216271/page6

Categories

Resources