CM10 for A700 porting to A210: Audio-Problem - Acer Iconia A700 and A510

Hallo,
we are working on a Port from 'CM10 for A700' to A210.
One of the Problems left is Audio-Output.
When playing back an Audiofile, the App starts working, but no Audio-Output is generated.
Looking to the KernelMessages, there is the following line:
Code:
<3>[ 30.333066] a1026_set_config: invalid cmd -16667984
<3>[ 30.333145] a1026_ioctl: A1026_SET_CONFIG (-16667984) error -1!
When looking into the Logcat, I can find the corrosponding (see Line number 4: ...tab=-16667984...):
Code:
V/nvaudio_hw( 128): nvaudio_out_get_latency: latency 85
V/nvaudio_hw( 128): nvaudio_out_set_parameters: rx_eq_mode=1
V/nvaudio_hw( 128): Set EQ mode: 1
I/acer_audio_hal( 128): sw table [eq_start] app=player, tab=-16667984, id=-1, mod=-1, ext mic=0
V/nvaudio_hw( 128): open_out_alsa_dev
V/nvaudio_hw( 128): Opened Alsa OUT device music with pcm_config
V/nvaudio_hw( 128): channels 2
V/nvaudio_hw( 128): rate 48000
V/nvaudio_hw( 128): format 0
V/nvaudio_hw( 128): period_size 1024
V/nvaudio_hw( 128): period_count 4
V/nvaudio_hw( 128): start_threshold 4095
V/nvaudio_hw( 128): stop_threshold 4096
V/nvaudio_hw( 128): silence_threshold 0
V/nvaudio_hw( 128): avail_min 1
V/nvaudio_hw( 128): set_out_resampler : quality 4
V/nvaudio_hw( 128): No resampler required
Is it possible, that one of the developers involved in CM for A700 can give me a tip, which Source I have to look at, to find why such an unusual value for tab (I think it should be in range from 1 to 18 or 99) is send to the a1026 driver or the acer_audio_hal?
Many thanks in advance
kind regards Uwe

Related

[Q] Xoom video/media player capabilities (curious)

Nvidia lists the following specs on their website for the Tegra2 :
Video decode
H.264
VC-1 AP
MPEG2
MPEG-4
DivX 4/5
XviD HT
H.263
Theora
VP8
WMV
Sorenson Spark
Real Video
VP6
Audio decode
AAC-LC
AAC+
eAAC+
MP3
MP3 VBR
WAV/PCM
AMR-NB
AMR-WB
BSAC
MPEG-2 Audio
Vorbis
WMA 9
WMA Lossless
WMA Pro
Can anyone confirm that the xoom can decode these?
Can the Xoom/honeycomb media player read subtitles (in) .mkv or .srt, sub/idx files?
The xoom can handle those, but only very specific versions of those. For example, don't try playing a 720p high profile h.264 video, because it won't play. So if you torrented a 720p video for example and it was an mkv file, not gonna play since they are almost all high profile h.264. You can convert them to baseline h.264 and it will play up to 1080p, but converting is annoying and takes time.
I am not sure what is out there on torrents, but I have some MKVs that I encoded and they have a bitrate of around 3mbit. According to this general tips section:
http://forum.xda-developers.com/showthread.php?t=969029&highlight=720p
The Xoom is supposed to be able to play video as long as the bitrate is under 20Mbit. The post references this:
https://supportforums.motorola.com/message/330326#330326
which says that realistically as long as the bitrate is under 4Mbit you should be fine.
The MKVs that I am trying to play, which are well under 20mbit and under 4mbit, skips like crazy and is unwatchable.
If I look at vmstat (via adb shell) while I am playing a movie using rock player in software decoding mode, the CPU goes to 100% (presumably in the kernel that android is using each core gets 100%, so there is a total of 200% available -- half ends up in system and half in user land):
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
2 0 74440 58584 254928 30112 158 1005 0 99 0 30 99 0 0
1 0 74564 58588 255036 30124 466 2263 0 99 0 22 99 0 0
1 0 68392 58880 261072 30128 367 2742 0 99 0 32 99 0 0
1 0 67136 58968 262216 30180 684 3604 0 99 0 32 99 0 0
2 0 67004 58976 262456 30180 224 1635 0 99 0 13 99 0 0
3 0 66632 58912 262756 30180 272 1721 0 99 0 10 99 0 0
3 0 60564 59724 266896 30160 414 2212 3 99 0 19 99 1 0
3 0 25136 60136 294812 30196 603 3372 0 99 0 76 9 0 0
4 0 25012 60128 294512 30184 472 2458 0 99 0 88 6 0 0
5 0 25020 60128 294448 30184 390 2121 0 99 0 99 3 0 0
3 0 24540 60128 294440 30164 265 1631 0 99 0 99 1 0 0
4 0 24416 60128 294576 30164 353 1768 0 99 0 93 6 0 0
4 0 24912 60128 293108 30140 332 1747 0 99 0 99 5 0 0
3 0 24788 60128 293076 30140 300 1604 0 99 0 99 3 0 0
While looking at hardware decoding mode, the system usage drops way down:
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
2 0 54116 58928 262524 30140 170 933 0 99 0 10 99 0 0
3 1 63780 58932 262520 30276 1119 4809 0 99 0 24 99 6 0
7 0 50184 59544 264332 31072 3493 19967 6 99 0 99 98 14 0
4 0 5620 59852 311776 31124 455 4765 2 99 0 61 18 0 0
3 0 5124 59868 311872 31064 368 4590 0 99 0 33 23 0 0
4 0 5124 59860 313024 30952 322 4625 0 99 0 39 44 0 0
3 0 4760 59860 313060 30936 390 5172 0 99 0 45 25 0 0
3 0 5256 59860 313032 30900 358 5475 0 99 0 38 30 0 0
3 0 4884 59868 312992 30876 336 5202 0 99 0 31 35 0 0
4 0 4636 59868 312856 30816 307 5036 0 99 0 34 36 0 0
3 0 5504 59904 312876 30816 378 5095 0 99 0 36 37 0 0
4 0 5504 59912 312884 30664 363 5046 0 99 0 33 44 0 0
3 0 4512 59924 312808 30656 288 4796 0 99 0 27 29 0 0
4 0 5256 59928 312908 30408 287 4927 0 99 0 32 38 2 0
3 0 5008 59928 312808 30404 367 5779 0 99 0 44 28 0 0
1 0 5132 59944 312820 30224 490 3432 0 99 0 36 74 0 0
But the playback remains fairly choppy. So all we need is the great devs at Rockplayer to stick the right code in for hardware decoding.
Presumably the native player uses hardware decoding which is why it is able to play video with framerates around 4mbit.
http://mediainfo.sourceforge.net/en
Download that and after installing, open it up and drag your mkv file into the window. Bet you that those videos are high profile h.264 which is the reason for the choppiness.
The reasons your processor max out in software mode is that its using the CPU to play the file. It drops down using hardware acceleration because its the GPU playing the file.
I used mediainfo to get the bitrate, which is under 4Mbit, which is under the limit that is quoted on the Motorola website. The fact that they may be a specific "media profile" in whatever converter you are using makes no difference -- only the bitrate is important.
Also, as mentioned in my post, I understand that the CPU drop is due to the use of hardware rendering. We still have to wait for either specific Xoom GPU support in Rockplayer or optimized code changes in Rockplayer.
Also, it appears that the native movies app is able to play my MKV files. It plays them much smoother, but they are still too choppy and the sound doesn't come through. The audio track on this is an AC-3 48KHz, 384Kbps audio stream.
No. You dont understand. The profile is everything. Bitrate means nothing. Tegra 2 is not capable of playing high profile hd h.264. The video you are trying to play is probably a high profile h.264 mkv file. There are various profiles for h.264 video. The Tegra 2 can play baseline profile. Almost all media is in high profile.
Do this for me, drag the media file you are trying to play into MediaInfo, and then go to View>Text. Then select the entire Video section and copy it and then paste it in here.
Thanks guys.
The sad thing is a cheap single core tablet with limited memory like the Archos 101 can play any video I throw at it without needing to convert them. The Archos 101 even plays DTS and AC-3 audio. Most of my videos are 720p HD and the only thing it doesn't play is 1080p. However, the Archos 101 is not perfect.
I was really hoping that the Xoom (or one of these other tablets) could at least come close to performing as well. How is it a company like Archos can make a cheap tablet perform so well (media wise) and these higher end tablets fall short?
kmd1970 said:
Thanks guys.
The sad thing is a cheap single core tablet with limited memory like the Archos 101 can play any video I throw at it without needing to convert them. The Archos 101 even plays DTS and AC-3 audio. Most of my videos are 720p HD and the only thing it doesn't play is 1080p. However, the Archos 101 is not perfect.
I was really hoping that the Xoom (or one of these other tablets) could at least come close to performing as well. How is it a company like Archos can make a cheap tablet perform so well (media wise) and these higher end tablets fall short?
Click to expand...
Click to collapse
software, honeycomb is buggy, its hardly optimized. no one really knows what the tegra 2 is capable of yet.
the facts are simple, there no tegra 2 device capable of playing high profile h264 right now.
tegra 2 devices are just now making it to market and its new untested unproven hardware.
secondly there are only two devices released or pseudo released(in the case of the adam) that even use this hardware. not alot of info to go on here.
at this point ask anyone here and they can't give you any 100% accurate answer, because we simply don't know. its ALL speculation at this point.
you have two camps on this issue. one camp, the hardware people claim that because both the adam and xoom use tegra 2 and can't play h264 high profile that its a hardware limitation.
the second camp takes the side that because this is new hardware, it needs proper software and drivers to handle the decoding and that this is the reason for the poor playback. this camp believes it will be fixed down the line with an update.
the second camp is the more feasible scenario. anyone that knows anything about hardware and software understands that hardware is worthless without good software.
let me give a prime example everyone knows video encoding takes time. if you want to encode a 20 minute video lets say you use handbrake and encode the video using your cpu in 14 minutes. but wait, whats this? you have a $500 nvidia graphics card in your system? its a big arse paper weight right now ain't it?
lets fix that, lets get the proper software and drivers and encode that same 20 min video by offloading to this powerful gpu. done in 5 minutes.(*actually times vary based off settings and actually hardware)
get the picture?
however, this does NOT mean that the tegra 2 is without fault. it could be the hardware and its simply not capable of high profile and never will be. we simply don't know, because we don't have any good information from nvidia or motorola or notion ink. we don't know what its true capabilities are.
all we know is that the tegra 2 with the current available devices and software cannot play high profile h264.
all the rest is speculation.
..........
From an XBMC developer:
http://forum.xbmc.org/showpost.php?p=735285&postcount=41
Tegra2 can't hw decode h264 [email protected] or above. I know because I have one (Tegra2 dev kit). That really limits the video content to SD. Too bad, it's a nice chip except for that.
Click to expand...
Click to collapse
This guy worked on porting XBMC to iOS and has videos like this:
Code:
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 52s
Bit rate : 6 478 Kbps
Nominal bit rate : 5 660 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
playing like this:
http://vimeo.com/20636064
on the ipad.
Same file playing on two different Tegra 2 tablets:
http://www.youtube.com/watch?v=lXWu6m33EP0&feature=player_detailpage#t=231s
... with the amount of Tegra2 for the next month,
i think we could download all videos in tegra2 useable formats (720p/1080p) and nvidea will also adress this topic, so i am not worried about ...
muyoso said:
From an XBMC developer:
http://forum.xbmc.org/showpost.php?p=735285&postcount=41
This guy worked on porting XBMC to iOS and has videos like this:
Code:
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 52s
Bit rate : 6 478 Kbps
Nominal bit rate : 5 660 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
playing like this:
http://vimeo.com/20636064
on the ipad.
Same file playing on two different Tegra 2 tablets:
http://www.youtube.com/watch?v=lXWu6m33EP0&feature=player_detailpage#t=231s
Click to expand...
Click to collapse
take his with a grain of salt. all he said was i have a tegra 2 dev kit and tegra 2 can't do the high profile h264.
whats this even mean? is there something in this dev kit that actually lists what the tegra 2 is capable of hardware wise? whats in this dev kit, whats the real reason it won't play.
ill take him for his word when pigs fly out of his ass.
http://developer.nvidia.com/tegra/tegra-devkit-features
its just hardware, no magical software to be had there. which means what? hes got the same software we do.
also id like to point out that there is a VAST difference between making android support another codec so it can play a video and making android offload to the gpu using drivers. key word there folks, drivers.
back to the cuda example, two things are needed to tango. first you need the proper nvidia drivers. and secondly, you need an application designed to work with those drivers in order to have it successfully utilize the gpu. xbmc can only proved the app to interface with what exists, they can't do anything else.
ps:
al gore invented the internet.
Is there like a cut off date for peoples denial about tegra 2's shortcomings? Like a year from now when it still can't play video [email protected] h.264, will people still be claiming its a lack of software?
Davilla did massive testing of the tegra 2. You think there were drivers from apple for the ipad? No.
Look, there may be a software solution if the tegra 2's cpu is powerful enough to decode hd h.264, but there is massive evidence that it will never hardware decode that video. I think its an important enough shortcoming to inform people about and not lead them on with some promise of future software.
Sent from my SPH-D700 using XDA App
Any official info from NVidia about this H.264 high profile hardware decoding capability?
Anyone reached NVidia?
e.mote said:
Most Honeycomb tablets announced will have a Tegra2 in it, and video playback is an important component, so I'm confident the issue will be addressed, if not from Nvidia, then from a 3rd-party commercial media player like Coreplayer.
Click to expand...
Click to collapse
Please, not that Coreplayer for Android rumor again. (I've been waiting for too long)
It's not really CoreCodec's fault. Android has been a pretty fast moving target, and my guess is that Nvidia hasn't been exactly timely with software support for the Tegra2, else the VS G-Tab would've had decent playback by now.
My reading of the tea leaves is that we'll probably see CP either around the Honeycomb mass launch or a bit after. Anyway, it'll come when it'll come.
Now, VLC, I think will be a fair bit longer in coming,
http://ivoire.dinauz.org/blog/index.php?post/2011/02/02/VLC-on-Android
muyoso said:
The xoom can handle those, but only very specific versions of those. For example, don't try playing a 720p high profile h.264 video, because it won't play. So if you torrented a 720p video for example and it was an mkv file, not gonna play since they are almost all high profile h.264. You can convert them to baseline h.264 and it will play up to 1080p, but converting is annoying and takes time.
Click to expand...
Click to collapse
From Xoom office website, we know that Xoom supports AAC, H.263, H.264, MP3, MPEG-4, ACC+ Enhanced, OGG, MIDI, AMR NB, AAC+. If u want to play video on Xoom, the video format and video coding must be correct.
So I suggest u convert your MKV files to Mp4 H.264 1280*720 for playing.
I did a test, and I can't find any diffirence between 1080P and 720P, SO I recomend convert video to 720P, and the converted file size is small. therefore, u can transfer more video to Xoom.
For those use HandBrake, attachment is the [email protected] preset for playback in Tegra2
muyoso said:
The xoom can handle those, but only very specific versions of those. For example, don't try playing a 720p high profile h.264 video, because it won't play. So if you torrented a 720p video for example and it was an mkv file, not gonna play since they are almost all high profile h.264. You can convert them to baseline h.264 and it will play up to 1080p, but converting is annoying and takes time.
Click to expand...
Click to collapse
MKV is a container format, which supports holding unlimited number of video, audio, picture or subtitle tracks inside a single file, can’t be played on the Motorola Xoom. only the video format and video encoding are right, Xoom can be play it.
So, not because Xoom can't play 720P high profile h.264 video, but the video format is wrong. I suggest u convert MKV 720p h.264 video to MP4 720P H.264 for playing on Xoom.

[Q]Keep changes to audio hardware.

I need help reviewing my logs to find out what change I need to keep. I rooted my device(HTC One V) and for some reason the audio drivers were changed and now sound like crap. I have NEVER found a fix for this(if one could be suggested I'd be incredibly grateful). I did, however, while using the app "Sensor Music Player" notice that when I changed the app's settings to "pocket mode"(slapping pocket changes song) the audio drivers were changed and the music sounded waaay better(got my bass back!). Now every time the app closes the audio drivers are switched back and any other sound returns to sounding bad.
Long story short, I want to permanently change the audio hardware to use these settings; in turn making my sound better.
Here's my log, hopefully someone can find what its changing:
12-04 15:51:02.296 W/InputMethodManagerService(1721): Window already focused, ignoring focus gain of: [email protected] attribute=null
12-04 15:51:02.507 D/SensorDataHelper(30307): load ->id:2, prox(false), acc(true):{9999;9999;2350;30000}
12-04 15:51:02.507 D/ (30307): try to load preset while service is stopped
12-04 15:51:02.537 D/ (30307): SensorService onCreate()
12-04 15:51:02.557 D/ (30307): SensorService onStart()
12-04 15:51:02.557 D/ (30307): SensorService onStartCommand()
12-04 15:51:02.737 D/SensorDataHelper(30307): load ->id:2, prox(false), acc(true):{9999;9999;2350;30000}
12-04 15:51:02.777 D/SOUND_METER(30307): setAudioSource
12-04 15:51:02.777 E/AudioPolicyManagerBase(17539): profile found: device 400000, flags 0, samplingrate 8000, format 1, channelMask 16
12-04 15:51:02.777 D/AudioHardware7x30(17539): AudioHardware:penInputStream devices 400000 format 1 channels 16 samplerate 8000
12-04 15:51:02.777 I/AudioHardware7x30(17539): msm7x30_set_audpre_params not present
12-04 15:51:02.777 D/AudioHardware7x30(17539): AudioStreamInMSM7x30::standby()
12-04 15:51:02.787 D/AudioHardware7x30(17539): AudioStreamInMSM7x30::standby()
12-04 15:51:02.797 I/MPEG4Writer(17539): limits: 2147483647/0 bytes/us, bit rate: 12200 bps and the estimated moov size 3072 bytes
12-04 15:51:02.817 I/AudioHardware7x30(17539): do input routing device 400000
12-04 15:51:02.817 I/AudioHardware7x30(17539): Routing audio to Speakerphone
12-04 15:51:02.817 I/AudioHardware7x30(17539): msm7x30_set_audpre_params not present
12-04 15:51:02.817 D/AudioHardware7x30(17539): value of device and enable is 3 1 ALSA dev id:11
12-04 15:51:02.927 I/AudioHardware7x30(17539): do input routing device 400000
12-04 15:51:02.927 I/AudioHardware7x30(17539): Routing audio to Speakerphone
12-04 15:51:02.927 D/AudioHardware7x30(17539): new_rx = 6
12-04 15:51:02.927 D/AudioHardware7x30(17539): new_tx = 11
12-04 15:51:02.927 E/AudioHardware7x30(17539): updateDeviceInfo: E rx_device 2 and tx_device 3
12-04 15:51:02.927 D/AudioHardware7x30(17539): No active voicecall/playback, disabling cur_rx 2
12-04 15:51:02.927 D/AudioHardware7x30(17539): value of device and enable is 2 0 ALSA dev id:6
12-04 15:51:02.927 D/AudioHardware7x30(17539): case PCM_REC
12-04 15:51:02.927 E/AudioHardware7x30(17539): updateDeviceInfo: X cur_rx 2 cur_tx 3
12-04 15:51:03.457 I/MPEG4Writer(17539): setStartTimestampUs: 268525
12-04 15:51:03.457 I/MPEG4Writer(17539): Earliest track starting time: 268525
12-04 15:51:03.918 I/ActivityManager(1721): Start proc com.facebook.katana for service com.facebook.katana/.service.MediaUploadService: pid=30496 uid=10153 gids={3003, 1006, 1015, 1028}
12-04 15:51:03.948 I/dalvikvm(30496): Turning on JNI app bug workarounds for target SDK version 10...
also if someone can determine why my ROM and kernel are making my phone's audio sound like crap.... Put simply.... I'D PAY!
Phone Specs: build.board: primou
build.bootloader: 1.18.0000
build.brand: HTC
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: primou
build.display: pa_primou-userdebug 4.1.2 JZO54K eng.icebox.20121018.083907 test-keys
build.fingerprint: htc_europe/htc_primou/primou:4.1.1/JRO03L/330937:user/release-keys
build.hardware: primou
build.host: icebox-desktop
build.id: JZO54K
build.manufacturer: unknown
build.model: One V
build.product: htc_primou
build.radio: unknown
build.serial: SH266TV05108
build.tags: test-keys
build.time: 1350538787000
build.type: userdebug
build.user: icebox
version.codename: REL
version.incremental: eng.icebox.20121018.083907
version.release: 4.1.2
version.sdk_int: 16

[Q] YFTECH ME-12 Development Help

Hello everyone!
I have been trying to compile a cyanogenmod kernel and rom for a cheap chinese tablet: yftech-me12. A clone of that tablet is Arnova 7h G3.
Tablet specs:
Capacity • Flash memory: 4 GB*
• Expandable via micro SDHC Slot up to 32 GB
Operating system • ANDROID™ 4.0 “Ice Cream Sandwich”
Processor • ARM Cortex A8 @ 1 GHz
RAM • 512 MB
Display characteristics • 7 inch - Capacitive points MultiTouch Screen 16 million colors
• 800 x 480 screen resolution
Video Playback1 • H.264, MPEG-42 up to 1080p resolution
With the above codecs, the device can play video files with the following extensions: .avi .mp4 and mkv
Audio Playback1 • MP3, WAV, APE, OGG, FLAC
Photo viewer3 • JPEG, BMP, GIF, PNG
Interfaces • Micro USB slave 2.0
• Audio Jack 3.5mm
• Micro SD slot
Communication protocols • WiFi
Miscellaneous • Front camera
• Built-in speaker
• Microphone
• G-sensor
I have downloaded the kernel source code from arnova.. Compiled the stock kernel to make sure it works and it does..
My problem is that i cannot compile a cyanogenmod kernel for my device! errors i cannot even understand!!
I've tried to install cyanogenmod for allwinner a13 tablets from here: http://forum.xda-developers.com/showthread.php?p=43072957
but the kernel will not boot! Plus i had to delete a few apks because my system partition is approx. 260mb and it would not copy the /system since there was not enough free space!
some other details about my device such as lsmod output:
8188eu 621096 0 - Live 0xbf103000
YFdecrypt 22118 0 - Live 0xbf0f8000
kt080x 5983 0 - Live 0xbf0f3000
mc32x0 7726 0 - Live 0xbf0ed000
dmt0567 10125 0 - Live 0xbf0e6000
bma250 7521 0 - Live 0xbf0e0000
byd693x_ts 9491 0 - Live 0xbf0d9000
pixcir_jc 13381 0 - Live 0xbf0d1000
sitronix_ts 23687 0 - Live 0xbf0c6000
goodix_gt82x 21242 0 - Live 0xbf0bc000
rtl8150 10305 0 - Live 0xbf0ab000
mcs7830 7589 0 - Live 0xbf0a5000
qf9700 9152 0 - Live 0xbf09e000
asix 24601 0 - Live 0xbf092000
usbnet 26253 3 mcs7830,qf9700,asix, Live 0xbf085000
sun5i_csi0 33604 0 - Live 0xbf077000
hi704 19664 1 - Live 0xbf06e000
hi253 21036 0 - Live 0xbf064000
videobuf_dma_contig 6251 1 sun5i_csi0, Live 0xbf05f000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0xbf055000
cedarx 9479 0 - Live 0xbf04e000
mali 151198 10 - Live 0xbf01c000
ump 48898 19 mali, Live 0xbf009000
sw_ts 18329 0 - Live 0xbf000000
cat /proc/partitions output:
ajor minor #blocks name
93 0 16384 nanda
93 8 2048 nandb
93 16 32768 nandc
93 24 262144 nandd
93 32 1048576 nande
93 40 1024 nandf
93 48 32768 nandg
93 56 261120 nandh
93 64 1024 nandi
93 72 2232320 nandj
93 73 2231296 nandj1
179 0 3872256 mmcblk0
179 1 3122070 mmcblk0p1
179 2 500000 mmcblk0p2
179 3 249007 mmcblk0p3
dumps of my partitions /system /boot etc. : http://www69.zippyshare.com/v/97403369/file.html
Could someone PLEASE help me out.. I used a13_nuclear_defconfig from my stock kernel's source code to compile cm kernel and i get errors that it can not find certain files in the /drivers section.. copied files from stock source code and then some other errors occured.. so it fails..
Could someone give me some pointers? How do you guys start porting a rom to a new device without ANY previous support? Do you rewrite the modules source code to fit the cm kernel? how do you configure/find ramdisks to pack with your zlimage? can i use stock ramdisk with cyanogenmods lzimage to boot my device?
I'm not a developer and i just started learning about compiling kernels and modules etc..
STOCK ICS 4.03 is VERY SLOW even with nothing installed..
I hoped that Cyanogenmod 10 would run better on my device that's why i started all this but i'm seriously stuck...
Thanks in advance!!

Samsung Galaxy Core 2 (SM-G355H) Root

Are there any method to root this phone? I can't find a section for this phone in the forums.
This is the root solution from miniha. I've moved his method to the first post for convenience. Thank you miniha
miniha said:
yeah ready. root samsung core 2 :
First : copy file "update kinguser.zip " on external card
Second : click button volume up + power + home (same time)
Third : click apply update from external storage by volume down and up ,chose by button power
next : chose file "update kinguser.zip"
final : waiting result ,phone will auto reset. good luck! phone is rooted
Click to expand...
Click to collapse
Detailed steps:
1. Download the file attached in this post and copy it into your external SD card
2. Switch off your phone and boot into recovery by holding Volume Up + Power + Home buttons (Stock recovery is able to flash this file)
3. Navigate by pressing the Volume Up/Down button and choose "Apply update from external storage" by using the Power button.
4. Select the file UPDATE-Kinguser-3.4.0.zip
5. The phone will auto reboot and gives root access
You can try framaroot
pepmat said:
You can try framaroot
Click to expand...
Click to collapse
Thank you for replying. Can I have the link please?
http://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276
takiya said:
http://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276
Click to expand...
Click to collapse
I test already but not work
takiya said:
I test already but not work
Click to expand...
Click to collapse
Yeah.. any other methods? Like ClockWorkMod or sonething
Try Vroot
pepmat said:
Try Vroot
Click to expand...
Click to collapse
same not work
So usually how long before release date of a new phone a new section will be created for the phone?
cyyong95 said:
So usually how long before release date of a new phone a new section will be created for the phone?
Click to expand...
Click to collapse
Do you have cwm?
Sent from my GT-I8262 using XDA Free mobile app
try towelroot
mierdaseca said:
try towelroot
Click to expand...
Click to collapse
same not work have message not support
mushrat farshin said:
Do you have cwm?
Sent from my GT-I8262 using XDA Free mobile app
Click to expand...
Click to collapse
Is CWM compatible for every phone?
Is there a new section for this phone already?
Try this. One click root for kitkat.
http://bs.baidu.com/easyroot/BaiduRoot_2001.apk
Enable internet before.
Sudeep Duhoon said:
Try this. One click root for kitkat.
http://bs.baidu.com/easyroot/BaiduRoot_2001.apk
Enable internet before.
Click to expand...
Click to collapse
Not working. Stuck in app. Need to reboot manually
Sudeep Duhoon said:
Try this. One click root for kitkat.
http://bs.baidu.com/easyroot/BaiduRoot_2001.apk
Enable internet before.
Click to expand...
Click to collapse
same not work but thank you for help
takiya said:
same not work but thank you for help
Click to expand...
Click to collapse
Can u share what hardware it has?
Chipset?
Sudeep Duhoon said:
Can u share what hardware it has?
Chipset?
Click to expand...
Click to collapse
Aututu Benchmark
CPU Model allwinner a10
Core 4
Sudeep Duhoon said:
Can u share what hardware it has?
Chipset?
Click to expand...
Click to collapse
Samsung SM G355H
System (Android 4.4.2)
Model SM-G355H
Manufacturer samsung
Device kanas
Product kanas3gxx
Brand samsung
Android Version 4.4.2 (Kit Kat)
API Level 19
Build ID KOT49H
Fingerprint samsung/kanas3gxx/kanas:4.4.2/KOT49H/G355HXXU0ANF8:user/release-keys
Display (800x480)
Size 800x480
Refresh Rate 60 Hz
Default Orientation Portrait
Physical Size 4.34" (11.01 cm)
Logical Size Normal
Density 240 dpi (High)
Pixels Per Inch X: 225.78; Y: 211.67
Processor (ARMv7)
Processor ARMv7 Processor rev 4 (v7l)
Cores 4
Max Frequency 1200 Mhz
Instruction Sets armeabi-v7a, armeabi
SIMD Instructions NEON
Memory (700 MB)
System RAM 700 MB
JVM Max Memory 64 MB
Internal Storage 2231 MB
External Storage 2211 MB (Emulated)
Back Camera (4.9 megapixel)
Summary
Max Picture Size 2560x1920 (4:3)
Zoom 1.80x
Autofocus Supported
Orientation 90°
Picture
Picture Format Jpeg
Picture Format Values Jpeg
Picture Size 2560x1536
Picture Size Values 2560x1920, 2560x1536, 2048x1536, 2048x1232, 640x480
Video Picture Size Values 1600x1200, 1600x1200, 1600x1200, 1600x1200, 1600x1200
Preview
Preview Env 0
Preview Format Yuv420sp
Preview Format Values Yuv420sp, Yuv420p
Preview Fps Range 1000, 30000
Preview Fps Range Values (1000, 30000)
Preview Frame Rate 30
Preview Frame Rate Values 10, 15, 20, 25, 30, 31
Preview Size 800x480
Preview Size Values 800x480, 720x480, 640x480, 352x288, 320x240, 176x144
Video
Preferred Preview Size For Video
Video Frame Format Yuv420sp
Video Frame Format Values Yuv420sp, Yuv420p
Video Size 640x480
Video Size Values
Video Snapshot Supported False
Flash
Flash Mode Off
Flash Mode Supported True
Flash Mode Values Off, On, Torch, Auto
Focus
Focus Distances 2.0, 2.5, Infinity
Focus Mode Auto
Focus Mode Values Auto, Macro, Infinity
Max Num Focus Areas 1
Zoom
Max Zoom 8
Smooth Zoom Supported False
Zoom 0
Zoom Ratios 100, 110, 120, 130, 140, 150, 160, 170, 180
Zoom Supported True
Whitebalance
Whitebalance Auto
Whitebalance Values Auto, Incandescent, Fluorescent, Daylight, Cloudy Daylight
Exposure compensation
Exposure Compensation 0
Exposure Compensation Step 1
Max Exposure Compensation 4
Min Exposure Compensation 4
Scene
Scene Mode Auto
Scene Mode Values Auto, Portrait, Landscape, Sports, Party, Beach, Sunset, Dusk Dawn, Fall Color, Text, Candlelight, Firework, Back Light, Night
Misc
Antibanding 50hz
Antibanding Supported True
Antibanding Values 50hz, 60hz
Auto Exposure Frame Average
Auto Exposure Values Frame Average, Center Weighted, Spot Metering
Brightness 3
Brightness Supported True
Brightness Values 0, 1, 2, 3, 4, 5, 6
Cameraid Back_camera
Cameraid Values Back_camera, Front_camera
Capture Burst Filepath
Capture Mode 1
Chk_dataline 0
Contrast 3
Contrast Supported True
Contrast Values 0, 1, 2, 3, 4, 5, 6
Effect None
Effect Values None, Mono, Negative, Sepia, Cold, Antique
Focal Length 3.31
Hdr 0
Hdr Supported True
Horizontal View Angle 54
Iso Auto
Iso Supported True
Iso Values Auto, 100, 200, 400, 800, 1600
Jpeg Quality 100
Jpeg Thumbnail Height 240
Jpeg Thumbnail Quality 80
Jpeg Thumbnail Size Values 320x240, 400x240, 0x0
Jpeg Thumbnail Width 320
Max Brightness 6
Max Contrast 6
Max Iso 5
Max Num Detected Faces Hw 0
Max Num Metering Areas 1
Max Slow Motion 3
Slow Motion 1
Slow Motion Supported True
Slow Motion Values 1, 2, 3
Smile Snap Mode 0
Smooth Brightness Supported False
Smooth Contrast Supported False
Vertical View Angle 54
Zsl 0
Zsl Supported False
Front Camera (0.3 megapixel)
Summary
Max Picture Size 640x480 (4:3)
Zoom 2x
Autofocus Not supported
Orientation 270°
Picture
Picture Format Jpeg
Picture Format Values Jpeg
Picture Size 640x480
Picture Size Values 640x480, 320x240
Video Picture Size Values 1280x960, 1280x960, 1280x960
Preview
Preview Env 0
Preview Format Yuv420sp
Preview Format Values Yuv420sp, Yuv420p
Preview Fps Range 1000, 30000
Preview Fps Range Values (1000, 30000)
Preview Frame Rate 25
Preview Frame Rate Values 5, 10, 12, 15, 20, 25, 30
Preview Size 640x480
Preview Size Values 960x540, 720x540, 720x480, 640x480, 352x288, 320x240, 176x144
Video
Preferred Preview Size For Video
Video Frame Format Yuv420sp
Video Frame Format Values Yuv420sp, Yuv420p
Video Size 720x480
Video Size Values
Flash
Flash Mode Off
Flash Mode Supported False
Flash Mode Values Off
Focus
Focus Distances 2.0, 2.5, Infinity
Focus Mode Infinity
Focus Mode Values Infinity
Max Num Focus Areas 0
Zoom
Max Zoom 6
Smooth Zoom Supported False
Zoom 0
Zoom Ratios 100, 120, 140, 160, 180, 190, 200
Zoom Supported True
Whitebalance
Whitebalance Auto
Whitebalance Values Auto, Incandescent, Fluorescent, Daylight, Cloudy Daylight
Exposure compensation
Exposure Compensation 0
Exposure Compensation Step 0
Max Exposure Compensation 0
Min Exposure Compensation 0
Scene
Scene Mode Auto
Scene Mode Values Auto, Night
Misc
Auto Exposure 0
Auto Exposure Supported 0
Brightness 3
Brightness Supported True
Brightness Values 0, 1, 2, 3, 4, 5, 6
Cameraid Front_camera
Cameraid Values Back_camera, Front_camera
Capture Mode 1
Chk_dataline 0
Contrast 3
Contrast Supported True
Contrast Values 0, 1, 2, 3, 4, 5, 6
Effect None
Effect Values None, Mono, Negative, Sepia, Cold, Antique
Focal Length 3.75
Hdr 0
Hdr Supported False
Horizontal View Angle 54
Jpeg Quality 100
Jpeg Thumbnail Height 240
Jpeg Thumbnail Quality 80
Jpeg Thumbnail Size Values 320x240, 0x0
Jpeg Thumbnail Width 320
Max Brightness 6
Max Contrast 6
Max Num Detected Faces Hw 0
Max Num Metering Areas 0
Max Slow Motion 3
Slow Motion 1
Slow Motion Supported False
Slow Motion Values 1
Smile Snap Mode 0
Smooth Brightness Supported False
Smooth Contrast Supported False
Vertical View Angle 54
Zsl 0
Zsl Supported False
OpenGL 1.1 (Mali-400 MP)
General
Renderer Mali-400 MP
Version OpenGL ES-CM 1.1
Vendor ARM
Limits
Texture Size 4096x4096
Texture Units 8
Viewport Size 4096x4096
Modelview Stack Depth 32
Projection Stack Depth 32
Texture Stack Depth 32
Lights 8
Compressed Texture Formats
ETC1, Paletted
Extensions
GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_texture_npot GL_OES_query_matrix GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_draw_texture GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_framebuffer_object GL_OES_stencil8 GL_OES_depth24 GL_ARM_rgba8 GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_OES_texture_cube_map GL_EXT_discard_framebuffer GL_EXT_robustness GL_OES_depth_texture_cube_map GL_OES_vertex_half_float GL_KHR_debug
OpenGL 2.0 (Mali-400 MP)
General
Renderer Mali-400 MP
Version OpenGL ES 2.0
Vendor ARM
GLSL Version OpenGL ES GLSL ES 1.00
Limits
Texture Size 4096x4096
Texture Units 8
Vertex Textures 0
Combined Textures 8
Viewport Size 4096x4096
Renderbuffer Size 4096x4096
Cubemap Size 4096x4096
Vertex Attributes 16
Vertex Uniforms 256
Varying Vectors 12
Fragment Uniforms 256
Vertex Numeric Precision
Int [-2^24, 2^24]
Float [-2^127, 2^127], 2^-23
Fragment Numeric Precision
Low Int [-2^11, 2^11]
Medium Int [-2^11, 2^11]
High Int Not available
Low Float [-2^15, 2^15], 2^-10
Medium Float [-2^15, 2^15], 2^-10
High Float Not available
Compressed Texture Formats
ETC1
Extensions
GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug
Graphic Modes (RGBA 32bit)
RGB 16bit (565)
RGB 16bit (565), Depth 24bit, Stencil 8bit
RGB 16bit (565), Depth 24bit, Stencil 8bit, Samples x4
RGB 16bit (565), Depth 24bit, Stencil 8bit, Samples x16, Non-Conformant
RGB 32bit (888)
RGB 32bit (888), Depth 24bit
RGB 32bit (888), Depth 24bit, Stencil 8bit
RGBA 32bit (8888)
RGBA 32bit (8888), Depth 24bit, Stencil 8bit
RGBA 32bit (8888), Depth 24bit, Stencil 8bit
RGBA 32bit (8888), Depth 24bit, Stencil 8bit
RGBA 32bit (8888), Depth 24bit, Stencil 8bit, Samples x4
RGBA 32bit (8888), Depth 24bit, Stencil 8bit, Samples x16, Non-Conformant
Sensors (2)
BMA254
Vendor BOSCH
Range 19.6133 m/s²
Resolution 0.009576807 m/s²
Power 0.2 mA
Delay 10000 μs
Screen Orientation Sensor
Vendor Samsung Electronics
Range 255.0
Resolution 0.0
Power 0.0 mA
Delay On Trigger
Codecs (38)
OMX.sprd.mpeg4.decoder
Media type: video/mp4v-es
Profiles: Simple(0, 0b, 1, 2, 3) AdvancedSimple(0, 0b, 1, 2, 3, 4, 4a, 5)
OMX.sprd.h263.decoder
Media type: video/3gpp
Profiles: Baseline(10, 20, 30, 45) ISWV2(10, 20, 30, 45)
OMX.sprd.h264.decoder
Media type: video/avc
Profiles: Baseline(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51) Main(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51) High(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51)
OMX.sprd.mp3.decoder
Media type: audio/mpeg
OMX.sprd.mp3.decoder
Media type: audio/mpeg-L1
OMX.sprd.mp3.decoder
Media type: audio/mpeg-L2
OMX.google.mp3.decoder
Media type: audio/mpeg
OMX.google.amrnb.decoder
Media type: audio/3gpp
OMX.google.amrwb.decoder
Media type: audio/amr-wb
OMX.google.aac.decoder
Media type: audio/mp4a-latm
OMX.sprd.aac.decoder
Media type: audio/mp4a-latm
OMX.google.g711.alaw.decoder
Media type: audio/g711-alaw
OMX.google.g711.mlaw.decoder
Media type: audio/g711-mlaw
OMX.google.imaadpcm.decoder
Media type: audio/ima-adpcm
OMX.google.vorbis.decoder
Media type: audio/vorbis
OMX.google.gsm.decoder
Media type: audio/gsm
OMX.sprd.soft.mpeg4.decoder
Media type: video/mp4v-es
Profiles: Simple(0, 0b, 1, 2, 3) AdvancedSimple(0, 0b, 1, 2, 3, 4, 4a, 5)
OMX.sprd.soft.h263.decoder
Media type: video/3gpp
Profiles: Baseline(10, 20, 30, 45) ISWV2(10, 20, 30, 45)
OMX.sprd.soft.h264.decoder
Media type: video/avc
Profiles: Baseline(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51) Main(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51) High(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51)
OMX.google.mpeg4.decoder
Media type: video/mp4v-es
OMX.google.h263.decoder
Media type: video/3gpp
OMX.google.h264.decoder
Media type: video/avc
OMX.google.vp8.decoder
Media type: video/x-vnd.on2.vp8
OMX.google.vp9.decoder
Media type: video/x-vnd.on2.vp9
OMX.google.mjpg.decoder
Media type: video/mjpg
OMX.sprd.vpx.decoder
Media type: video/x-vnd.on2.vp8
OMX.sprd.mpeg4.encoder
Media type: video/mp4v-es
Color Formats: YUV420Planar YUV420SemiPlanar
Profiles: Core(2)
OMX.sprd.h263.encoder
Media type: video/3gpp
Color Formats: YUV420Planar YUV420SemiPlanar
Profiles: Baseline(45)
OMX.sprd.h264.encoder
Media type: video/avc
Color Formats: 0x7fd00001 YUV420Planar YUV420SemiPlanar
Profiles: Baseline(1, 11, 12, 13, 1b, 2, 21, 22, 3, 31, 32, 4, 41, 42, 5, 51)
OMX.google.aac.encoder
Media type: audio/mp4a-latm
OMX.google.amrnb.encoder
Media type: audio/3gpp
OMX.google.amrwb.encoder
Media type: audio/amr-wb
OMX.google.h263.encoder
Media type: video/3gpp
Color Formats: YUV420Planar YUV420SemiPlanar
Profiles: Baseline(45)
OMX.google.h264.encoder
Media type: video/avc
Color Formats: YUV420Planar YUV420SemiPlanar
Profiles: Baseline(1, 11, 12, 13, 1b, 2)
OMX.google.mpeg4.encoder
Media type: video/mp4v-es
Color Formats: YUV420Planar YUV420SemiPlanar
Profiles: Core(2)
OMX.google.flac.encoder
Media type: audio/flac
AACEncoder
Media type: audio/mp4a-latm
OMX.google.raw.decoder
Media type: audio/raw
Features (34)
Graphics
OpenGL 2.0
Android Hardware
android.hardware.bluetooth
android.hardware.bluetooth_le
android.hardware.camera
android.hardware.camera.any
android.hardware.camera.autofocus
android.hardware.camera.flash
android.hardware.camera.front
android.hardware.faketouch
android.hardware.location
android.hardware.location.gps
android.hardware.location.network
android.hardware.microphone
android.hardware.screen.landscape
android.hardware.screen.portrait
android.hardware.sensor.accelerometer
android.hardware.telephony
android.hardware.telephony.gsm
android.hardware.touchscreen
android.hardware.touchscreen.multitouch
android.hardware.usb.accessory
android.hardware.wifi
android.hardware.wifi.direct
Android Software
android.software.app_widgets
android.software.device_admin
android.software.home_screen
android.software.input_methods
android.software.live_wallpaper
android.software.sip
android.software.sip.voip
Sec
com.sec.android.mdm
com.sec.feature.cover.flip
com.sec.feature.cover.sview
com.sec.feature.cover.sviewcover
Created with Hardware Info 4.2.2

[Bug Report] Thumbnail cache limited?

Hi,
i lose some (not all) video thumbnails every 1-2 days. Is there a maximum file count/cache size for thumbnails or something that deletes old entries? I'm pretty sure i'm not having 1706 new videos every day that would roundrobin the cache.
Edit:
My cache currently holds 1706 files with 75.4M.
/storage/sdcard1/Android/data/com.mxtech.videoplayer.ad/cache/image
Code:
# ls -1 |wc -l
1706
# du -sh
75.4M .
Curious, if custom ROM, does your ROM have some sort of cache-size management?
CDB-Man said:
Curious, if custom ROM, does your ROM have some sort of cache-size management?
Click to expand...
Click to collapse
No, nothing special.
I mount some video folders occasionally to /mnt/cifs/ that get scanned by mx player as well. Maybe that confuses mx player. But if i remember correctly it also happened between two non-cifs sessions already.
The mx coder is not here? Only at Google forums?
Google Forum's been closed for a few months now, the developer's moved here along with the rest of us. See the note in my signature.
@bleu8888 is there some sort of internal MX cap on total thumbnail folder size?
My cache is still rising. Doesn't look like i'm hitting any cap here.. now 1767 files and 77.8MB.
I tested it some more and it looks like its related to the cifs share indeed (its transparent though... MX doesn't know about it. It just sees many new files). The bug seems to work "two-ways". Once cifs is mounted "local files 1" (some specific files) thumbs are missing. If i unmount cifs "local files 2" (other files) are missing. Something seems to collide here. I cannot see any relation between these files though. There are some dupe files present locally (on my phone) that are also on my desktop (cifs share) but i'm sure there are also files that are not.
I will try to setup a scenario with local files only so you can test it better. Will report back.
DualJoe said:
My cache is still rising. Doesn't look like i'm hitting any cap here.. now 1767 files and 77.8MB.
I tested it some more and it looks like its related to the cifs share indeed (its transparent though... MX doesn't know about it. It just sees many new files). The bug seems to work "two-ways". Once cifs is mounted "local files 1" (some specific files) thumbs are missing. If i unmount cifs "local files 2" (other files) are missing. Something seems to collide here. I cannot see any relation between these files though. There are some dupe files present locally (on my phone) that are also on my desktop (cifs share) but i'm sure there are also files that are not.
I will try to setup a scenario with local files only so you can test it better. Will report back.
Click to expand...
Click to collapse
I will check it out. Thanks
DualJoe said:
Hi,
i lose some (not all) video thumbnails every 1-2 days. Is there a maximum file count/cache size for thumbnails or something that deletes old entries? I'm pretty sure i'm not having 1706 new videos every day that would roundrobin the cache.
Edit:
My cache currently holds 1706 files with 75.4M.
/storage/sdcard1/Android/data/com.mxtech.videoplayer.ad/cache/image
Code:
# ls -1 |wc -l
1706
# du -sh
75.4M .
Click to expand...
Click to collapse
I believe this issue is fixed on latest test version
https://sites.google.com/site/mxvpen/translation/test-build
Feedback will be appreciated.
Thanks
bleu8888 said:
I believe this issue is fixed on latest test version
https://sites.google.com/site/mxvpen/translation/test-build
Feedback will be appreciated.
Thanks
Click to expand...
Click to collapse
Thanks, but still same behavior. I flushed the cache so i can trace the cache file count better and i've noticed the cache fluctuates indeed (when i add/remove folders). I once have 139 files. Then, when i mount new folders there's 102 files only so MX seems to try to keep it clean (what actually is a good thing). But there are always the same files missing.
These are the folders i've set in MX player. The cifs folder is either not present, empty or filled depending if mounted or not. Not sure if MX Player gets maybe confused by that behavior.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DualJoe said:
Thanks, but still same behavior. I flushed the cache so i can trace the cache file count better and i've noticed the cache fluctuates indeed (when i add/remove folders). I once have 139 files. Then, when i mount new folders there's 102 files only so MX seems to try to keep it clean (what actually is a good thing). But there are always the same files missing.
These are the folders i've set in MX player. The cifs folder is either not present, empty or filled depending if mounted or not. Not sure if MX Player gets maybe confused by that behavior.
Click to expand...
Click to collapse
Woud you try again using latest beta version?
https://sites.google.com/site/mxvpen/translation/test-build
There is a rule for thumbnail extraction. If thumbnail extraction failed once, MX will never try again.
If storage is mounted from CIFS, MX Player will fail to extract thumbnail frequently. So it will not try to extract thumbnail because it failed once. This issue might be fixed on this build.
To make it work correctly, clear entire MX Player data.
bleu8888 said:
Woud you try again using latest beta version?
https://sites.google.com/site/mxvpen/translation/test-build
Click to expand...
Click to collapse
Bingo! Works. Thank you very much. :victory:
@bleu8888:
I've noticed that thumbnail caching acts kinda weird especially when you use the 'Quit' button (or kill the app by system settings). Currently it only caches one video here (the one on the bottom on the attached video). The behavior is dynamic though. Sometimes it caches, sometimes it does not. You probably won't notice it if you leave the player by 'back' or 'home' button. This seems completely independent from existent network/cifs folders. Can you confirm this behavior?
DualJoe said:
@bleu8888:
I've noticed that thumbnail caching acts kinda weird especially when you use the 'Quit' button (or kill the app by system settings). Currently it only caches one video here (the one on the bottom on the attached video). The behavior is dynamic though. Sometimes it caches, sometimes it does not. You probably won't notice it if you leave the player by 'back' or 'home' button. This seems completely independent from existent network/cifs folders. Can you confirm this behavior?
Click to expand...
Click to collapse
MX Player keep track of thumbnail list on an internal database.
This database looks like being corrupted when app is closed forcibly.
Database will be changed more robust on next version.
I've wiped app settings and it's working again. I also had a folder conflict (/sdcard/Android/data and /external_sd/Android/data) that was bind mounted (mirrored) manually. Currently it's working again properly (after fixing that). But the bug always needed some time to come back. Will see... Thanks so far.
bleu8888 said:
MX Player keep track of thumbnail list on an internal database.
This database looks like being corrupted when app is closed forcibly.
Database will be changed more robust on next version.
Click to expand...
Click to collapse
Unfortunately, it didn't improve the situation. It just needs some days and thumbnails get lost again. The only fix is to clear the cache to start all over. Small databases seem to work properly. That's probably why it always works when resetting MX Player. But the larger the database gets the more thumbnails get lost. Sometimes whole folders are lost and sometimes just some single files whereas the latter case is more often and leads to "persistent dead files" (thumbnails that are not stored at all - they get recreated every time one restarts MX Player). For some reason MX Player refuses to add these files or it maybe collides somewhere.
DualJoe said:
Unfortunately, it didn't improve the situation. It just needs some days and thumbnails get lost again. The only fix is to clear the cache to start all over. Small databases seem to work properly. That's probably why it always works when resetting MX Player. But the larger the database gets the more thumbnails get lost. Sometimes whole folders are lost and sometimes just some single files whereas the latter case is more often and leads to "persistent dead files" (thumbnails that are not stored at all - they get recreated every time one restarts MX Player). For some reason MX Player refuses to add these files or it maybe collides somewhere.
Click to expand...
Click to collapse
This might be due to corruption of database or file system itself.
Log will be left on this case. Would you send log after finding thumbnail lost?
bleu8888 said:
This might be due to corruption of database or file system itself.
Log will be left on this case. Would you send log after finding thumbnail lost?
Click to expand...
Click to collapse
Sure.
Full log is attached below. It contains: MX Player start, folder opened, one thumbnail appears delayed, MX Player quit. The video folder contains 13 files, all videos. Custom codec/ffmpeg is enabled.
Here is a quickly filtered version of the log (full log below):
02-07 12:26:22.106 I/ActivityManager(735): Start proc com.mxtech.videoplayer.ad for activity com.mxtech.videoplayer.ad/.ActivityMediaList: pid=26208 uid=10083 gids={50083, 3003, 1028, 1015}
02-07 12:26:22.346 I/MX (26208): CpuFamily=[1] CpuFeatures=[2047] CpuCount=[4] os.arch=[armv7l] ABIs=[armeabi-v7a;armeabi]
02-07 12:26:22.376 E/MX (26208): 26208 | Can't find symbol graphics #12
02-07 12:26:22.386 I/MX (26208): Application=[MX Player] Version=[1.7.37] Manufacturer=[samsung] Model=[GT-I9506] Display=[cm_ks01lte-userdebug 4.4.4 KTU84Q 0098ae16e5 test-keys] Brand=[samsung] Product=[ks01ltexx] Android=[4.4.4]
02-07 12:26:22.706 V/MX.Player.List.Media/MediaListFragment(26208): 5 items are built up. (33ms)
02-07 12:26:24.066 V/MX.Player.List.Media/MediaListFragment(26208): 13 items are built up. (8ms)
02-07 12:26:24.326 I/MX (26249): Application=[MX Player] Version=[1.7.37] Manufacturer=[samsung] Model=[GT-I9506] Display=[cm_ks01lte-userdebug 4.4.4 KTU84Q 0098ae16e5 test-keys] Brand=[samsung] Product=[ks01ltexx] Android=[4.4.4]
02-07 12:26:24.516 I/MX (26249): CpuFamily=[1] CpuFeatures=[2047] CpuCount=[4] os.arch=[armv7l] ABIs=[armeabi-v7a;armeabi]
02-07 12:26:24.516 E/MX (26249): 26249 | Can't find symbol graphics #12
02-07 12:26:24.526 I/MX.Player.List.Media(26208): Connected to ComponentInfo{com.mxtech.videoplayer.ad/com.mxtech.media.service.FFService}
02-07 12:26:24.766 I/MX.Player.Loader.Heavy(26208): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos3/Koreus.mp4
02-07 12:26:24.766 I/MX (26249): 26260 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
02-07 12:26:24.766 W/MX.FFmpeg(26249): full chroma interpolation for destination format 'rgb565le' not yet implemented
02-07 12:26:28.956 I/ActivityManager(735): Killing 26249:com.mxtech.videoplayer.ad:remote/u0a83 (adj 11): kill background
02-07 12:26:28.956 I/ActivityManager(735): Killing 26208:com.mxtech.videoplayer.ad/u0a83 (adj 9): kill background
Click to expand...
Click to collapse
This is the mediainfo of the video (in case it matters):
Code:
General
Complete name : Koreus.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.34 MiB
Duration : 49s 250ms
Overall bit rate mode : Variable
Overall bit rate : 228 Kbps
Writing application : Lavf54.63.104
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Format settings, GOP : M=1, N=90
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 49s 232ms
Bit rate : 175 Kbps
Width : 400 pixels
Height : 224 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.065
Stream size : 1.03 MiB (77%)
Writing library : x264 core 142
Encoding settings : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=24 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=90 / keyint_min=9 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=27.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=450 / vbv_bufsize=900 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=2:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AACv2 / HE-AAC / LC
Codec ID : 40
Duration : 49s 250ms
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Maximum bit rate : 128 Kbps
Channel(s) : 2 channels / 1 channel / 1 channel
Channel positions : Front: L R / Front: C / Front: C
Sampling rate : 44.1 KHz / 44.1 KHz / 22.05 KHz
Compression mode : Lossy
Stream size : 289 KiB (21%)
Language : unk
Edit:
And this is a log of another folder that gets completely rescanned every time i restart MX Player:
I/Timeline( 1111): Timeline: Activity_launch_request id:com.mxtech.videoplayer.ad time:4385133
I/ActivityManager( 734): Start proc com.mxtech.videoplayer.ad for activity com.mxtech.videoplayer.ad/.ActivityMediaList: pid=4666 uid=10083 gids={50083, 3003, 1028, 1015}
I/MX ( 4666): CpuFamily=[1] CpuFeatures=[2047] CpuCount=[4] os.arch=[armv7l] ABIs=[armeabi-v7a;armeabi]
E/MX ( 4666): 4666 | Can't find symbol graphics #12
I/MX ( 4666): Application=[MX Player] Version=[1.7.37] Manufacturer=[samsung] Model=[GT-I9506] Display=[cm_ks01lte-userdebug 4.4.4 KTU84Q 0098ae16e5 test-keys] Brand=[samsung] Product=[ks01ltexx] Android=[4.4.4]
V/MX.Player.List.Media( 4666): onCreate([email protected]) saved:null intent:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.mxtech.videoplayer.ad/.ActivityMediaList bnds=[280,1305][520,1605] }
V/MX.Player.List.Media/MediaListFragment( 4666): 5 items are built up. (27ms)
I/ActivityManager( 734): Displayed com.mxtech.videoplayer.ad/.ActivityMediaList: +747ms
I/Timeline( 734): Timeline: Activity_windows_visible id: ActivityRecord{4311d158 u0 com.mxtech.videoplayer.ad/.ActivityMediaList t22} time:4385917
V/MX.Player.List.Media/MediaListFragment( 4666): 9 items are built up. (8ms)
I/ActivityManager( 734): Start proc com.mxtech.videoplayer.ad:remote for service com.mxtech.videoplayer.ad/com.mxtech.media.service.FFService: pid=4707 uid=10083 gids={50083, 3003, 1028, 1015}
D/ActivityThread( 4707): handleBindApplication:com.mxtech.videoplayer.ad:remote
I/MX ( 4707): Application=[MX Player] Version=[1.7.37] Manufacturer=[samsung] Model=[GT-I9506] Display=[cm_ks01lte-userdebug 4.4.4 KTU84Q 0098ae16e5 test-keys] Brand=[samsung] Product=[ks01ltexx] Android=[4.4.4]
I/MX ( 4707): CpuFamily=[1] CpuFeatures=[2047] CpuCount=[4] os.arch=[armv7l] ABIs=[armeabi-v7a;armeabi]
E/MX ( 4707): 4707 | Can't find symbol graphics #12
I/MX.Player.List.Media( 4666): Connected to ComponentInfo{com.mxtech.videoplayer.ad/com.mxtech.media.service.FFService}
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Enter Pyongyang.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Harzinger.mp4
I/MX ( 4707): 4718 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/One Pants No Hands.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Pomsta 8 - PARANORMAL PRANK.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Right Guard Sort review - FUNNY.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Sex In The Bathroom Prank.mp4
I/MX ( 4707): 4722 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Sudden Hail Storm Surprise In Novosibirsk, Russia.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.List.Media( 4666): Connected to ComponentInfo{com.mxtech.videoplayer.ad/com.mxtech.media.service.FFService}
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Top GONE WRONG Pranks In The Hood 2014.mp4
I/MX ( 4707): 4722 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/MX.Player.Loader.Heavy( 4666): Extracting ffmpeg thumb from /storage/sdcard1/videos/Videos2/Truck Loading.mp4
I/MX ( 4707): 4719 | Container format='mov,mp4,m4a,3gp,3g2,mj2'
I/ActivityManager( 734): Killing 4707:com.mxtech.videoplayer.ad:remote/u0a83 (adj 9): kill background
I/ActivityManager( 734): Killing 4666:com.mxtech.videoplayer.ad/u0a83 (adj 9): kill background
Click to expand...
Click to collapse
DualJoe said:
Sure.
Full log is attached below. It contains: MX Player start, folder opened, one thumbnail appears delayed, MX Player quit. The video folder contains 13 files, all videos. Custom codec/ffmpeg is enabled.
Here is a quickly filtered version of the log (full log below):
This is the mediainfo of the video (in case it matters):
Code:
General
Complete name : Koreus.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.34 MiB
Duration : 49s 250ms
Overall bit rate mode : Variable
Overall bit rate : 228 Kbps
Writing application : Lavf54.63.104
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Format settings, GOP : M=1, N=90
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 49s 232ms
Bit rate : 175 Kbps
Width : 400 pixels
Height : 224 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.065
Stream size : 1.03 MiB (77%)
Writing library : x264 core 142
Encoding settings : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=24 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=90 / keyint_min=9 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=27.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=450 / vbv_bufsize=900 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=2:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AACv2 / HE-AAC / LC
Codec ID : 40
Duration : 49s 250ms
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Maximum bit rate : 128 Kbps
Channel(s) : 2 channels / 1 channel / 1 channel
Channel positions : Front: L R / Front: C / Front: C
Sampling rate : 44.1 KHz / 44.1 KHz / 22.05 KHz
Compression mode : Lossy
Stream size : 289 KiB (21%)
Language : unk
Edit:
And this is a log of another folder that gets completely rescanned every time i restart MX Player:
Click to expand...
Click to collapse
@DualJoe I've made some improvement on writing thumbnail cache.
Kindly try latest test build: https://sites.google.com/site/mxvpen/translation/test-build
If problme continues, please send log again.
Thanks
There seems to be some kind of auto-pruning of the thumbnail cache. If folders are not present (eg. when USB or network drive are not connected) they get deleted after some time. I'm not sure when exactly. Maybe after some sessions or chronologically after a specific time. They do survive for some days though. But they are clearly gone if the folders don't come back in time.
Can you add an option to disable this behavior so the thumbnail cache can only increase? There could be a companion option 'prune now' so one could prepare the environment (mount all folders) before pruning.

Categories

Resources