Adding support of the players AC3 sound for Tab 4 8&10 - Galaxy Tab 4 Android Development

Adding support of the players AC3 sound
Description: The contents of this archive adds support AC3 sound _ stock and third-party (eg, MX Player ..) of the players
Extras. Information: Root is necessary for installation
installation:
a) to unpack the archive
b) the contents of the folder etc (archive) we throw a replacement to the folder etc (\ system \ etc)
c) the contents of the lib (archive) throws in the folder lib ( \ system \ lib)
g) can be (but probably do not need) to put rights
d) Reboot the device .. check
This is a literal translation of the author.Taken me from the forum 4pda (Thanks to: Pako777) and corrected by our device. Fit for Tab 10 and Tab 8.
Gratitudes are accepted

Will this work on my SMT330NU? I am unclear of the installation process -what you mean by "throw a replacement to the folder, etc.." This sounds interesting.

rsktkr1 said:
Will this work on my SMT330NU? I am unclear of the installation process -what you mean by "throw a replacement to the folder, etc.." This sounds interesting.
Click to expand...
Click to collapse
Sorry my bad English
Explain :Unzip the file on the device.
Copy these files to the replacement of appropriate folders
Set permissions
Reboot

Related

Android's .so files

OK, So I've gotten to breaking down and recompiling those pesky .dex files, but I've run into a new problem.
This is a noob question, I'm sure, but .so files look like unformatted, binary files. How do I open then, edit them, etc? I need to read whats going on in my libs. :-(
Are these X11? I'm running ubuntu 10.04 x64 - so those could be difficult.
ie - unreliable 64 bit support.
$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
Click to expand...
Click to collapse
They're native library files, so platform specific machine code I imagine. Look for an ARM disassembler. I'm not familiar with linux internals, so don't know how you find the entry points, but it obviously will be widely documented. Is it impossible to obtain the source code? Assuming most are written in C/C++, reverse engineering from the machine code is not something I'd describe as a pleasant experience. If the source was well written assembly language & not too big, it can be almost enjoyable I guess. But then TBH walking through a randomly selected programmer's source, let alone object, files scares me, in a Tim Burton inspired bad trip kinda way. If you can find the source, it will be an order of magnitude less painful.
Try IDA Decompiler, it should disassemble all so files!
Most of the libs are open source in the aosp. Some are proprietary blobs with the only solution to them being reverse engineering.
.so disassembly
i know how to disassemble it
you will need orion's easy apk disassembler and apk manager
i've tested it once and it worked, but there´s a problem, i dont know how to re-assemble
1- rename the file .so to .apk like "libtestlib.so" to "libtestlib.apk"
2- put in the folder "place-apk-here-for-modding" of apk manager
3- open script.bat (or something like this) from Apk manager
4- use extract apk option
in the beggining my images inside the lib was corrupted so i used step 5 to fix
5- use option optimise images inside to fix images
6- go to project folder and copy classes.dex file to the root of easy apk disassembler's folder
7- open EasyApkDisassembler.EN.bat and use the "DISASSEMBLY a classes.dex with smali" option
8- give a name to the folder (like "libtestlib")
9- it will create a folder (like "out_libtestlib") with the disassembled files
Orion's easy apk disassembler http://forum.xda-developers.com/showthread.php?p=5826401
Apk multi tool (almost the same as apk manager) http://forum.xda-developers.com/showthread.php?t=1310151
I've tried to open libsurfaceflinger.so from my device with 7zip, and it worked too
thats it
@gkillershots
not working
i renamed .so to .apk and used extract option but getted error :
Processing archive: C:\APKMultiTools\place-apk-here-for-modding\libnative-lib.apk
Error: Can not open file as archive
"An Error Occurred, Please Check The Log (option 26)"

.m3u files cannot be opened!

I made an .m3u file and tried to open it using original music player on 2.2 (CM6). I get "sorry the player does not support this type of audio file" . Here is copy of my .m3u file:
Code:
music/file1.mp3
music/file2.mp3
I simply use this command to automatically create playlist file on my device:
Code:
find music/ -iname "*.mp3" -print >> playlist.m3u
Has anybody try to open .m3u file on Hero before? what type of playlist file format is supported?
I simply dont want to use any other application to create playlist files. I used to use same way to create and play .m3u on my old WM5 device.
Similar issue here.

Create a universal theme for any ROM!

I have flashed it on my Note, it works well.
I in no way created this, just thought it may be worth while.
The operation of this template is based on the VillainTheme System for the ROM VillainROM.
Link: http://www.villainrom.co.uk/forum/sh...inTheme-System
Credits and thanks to all XDA team that collaborated on the original script: Doctorcete, Stericson, Matt and Seshy​
What is Universal Flasher Tool?
is a complete template that is used to create the simplest possible way a subject flashable from recovery without the need to include or edit files. apk.
This new method uses the file system implementation metamorph (just have to put files and folders on their respective routes), with the advantage that the system identifies and injected into their applications without the need for external application. The subjects are flashed directly from recovery.
What are the advantages of this method compared to metamorph or traditional flasheables issues?
Do not include. Apk complete, only the files you want to include in the subject.
A theme created with this template is valid for any rom, even among different phone roms (the tests have been performed with SGS2 and Nexus one).
Optionally, the template can include complete files if desired, can even be used to install applications not system.
Does not depend on external applications like metamorph because it flashes directly from recovery.
Operation of the template
at the end of the post are attached a number of considerations to take into account, but basically works like this:
Identify the applications that want to thematize and checks that exist in the rom. Once the check, the system compares folders that will be introduced as well as files and injects them into the apk as long as the new file exists within the apk. This has been thought well to avoid filling an apk with files that do not belong because they are from another rom or because you made a mistake when typing the name, for example.
Once injected the files takes a zipalign the apk to optimize RAM usage.
Alternatively, if the topic includes external files or copy them to install applications on your path.
At the same time to be using the item, the system will generate a backup of changed files and automatically creates a file. Zip flashable from recovery, in case something goes wrong or do not like changes to previous state.
Finally, it also generates a small log with the outcome of the whole process is recorded in SD to verify that all changes are properly implemented.
How to create and edit your own theme
Download the template from the attachment in this post or the link below.
Recommended Tools: 7zip to include files and browse the file system (you can also use winzip or winrar without problems) and Notepad + + or any other plain text editor to edit the name of the mod.
Once downloaded, open the template double-click will observe and folders inside a file in the root. Here's that are in each folder and how to create the theme.
MOD.config file: (new from version 3.0) is an editable text file (recommend Notepad + +) where in addition to establishing the name of the MOD to set different parameters of the template.
MOD_VERSION= Name (name of the mod to be displayed in the system properties after the name of the rom. Are cautioned not to put a name too long and try to avoid as far as possible in the blanks.
CLEAN_MORPHING = not (compare the new files before injection into the apk, only enter if the file already exists. Turning the option dramatically reduces speed)
V4_MORPHING = yes (support to manage compatibility with existing folders-v4 system in some applications).
DO_BACKUP = yes (enable or disable the creation of the flashable backup from recovery to restore the existing theme).
LOG_ENABLED = yes (enable or disable the creation of a log file with the results of the process).
SCREEN_LOG = yes (shows the process of recovery on the screen or not. important notices are always shown even if the option is disabled).
Optionally, you can set a different path for memory cards (no need to touch these lines in most cases, you should not touch):
default_internal_sdcard = / EMMC
default_external_sdcard = / sdcard
Optionally, you can add special commands to mount partitions (no need to modify these lines in most cases, you should not touch):
mount_system = mount / system
mount_data = mount / data
README.txt:
Includes some additional instructions on the operation and the license. Please read before using the template to create a theme (in English). Carteta / tools: is the folder where you have placed the scripts and binary files necessary to flash the issue and make subsequent restoration. You do not need to touch anything in this folder to edit the theme. From version 3.0 has been deleted because busybox binary is no longer involved in the process. folder / META-INF folder system which includes the signature file and the script to launch from recovery. It is recommended not to touch. Folder / MORPH: This is the template folder where files should be included with the theme. In turn, the folder is divided into two subfolders called / data (for applications theming system NO) and / system (for theming system and applications framework). In the / MORPH / system / app files are included for the applications and / MORPH / system / framework for the framework files. NOTE: NO application theming system in / MORPH / data / app / myapp.apk supposed to change the digital signature, so from that time can not be updated from the market or will you installed in the market (like if it had been installed by 'other means' non-statutory ...). Therefore, we do not recommend any downloaded application thematize the market. You are advised that the complaints do not come then ... For each application you want to thematize must open a new folder called / nombre.apk (eg / Contacts.apk if you want to change the system application Contacts.apk) . It is necessary to respect the use of upper / lower case. Within each of these folders you have to respect that there are logical paths within applications, so that the files would have to place them in folders named / res / drawable, res / drawable-hdpi, etc ... It is the same structure metamorph an issue, so any item is readily convertible metamorph simply dragging folders.
No need to create any control file or anything like . The system is responsible for reviewing the folders to see what applications you want tematitar.
Folder / Xtras / system:
in this folder is where, if desired, can include files or complete applications that you wish to flash in conjunction with the subject. For example, sound files, bootanimation, scripts, complete applications, etc ... Folder / Xtras / data: in this folder is where, if desired, can not add applications to be installed system during flashing. Folder / Xtras / sdcard: in this folder you can add files to make copied to the SD card, as packs of icons, sounds, videos, etc ... to take into account considerations
Always respect the use of uppercase / lowercase letters in the names of files or folders and logical paths located within the apps.
With this system the themes may be universal, although depending on the type of files a user input may cease to be:
If you only include image files theme is compatible with any rom from any phone.
If you also include. xml may only operate in one rom, but can still work on future updates of it.
If resources are included for translations (resources.arsc) the issue would only be valid for a particular rom.
The. Zip with the issue is not necessary for you to sign flashearse, and is valid for CW-Recovery and Recorevy-RA. If you do not have to remember signing off signature checking before flashing.
Original Thread:http://http://www.htcmania.com/showthread.php?t=258333
Also:http://forum.xda-developers.com/showthread.php?t=1474686
On the galaxy s 3 us version most of the recoverys are not reading the external sd so should I changed the mounts on the script?
Sent from my SGH-T999 using Tapatalk 2

[Q] File encryption?

Can anyone recommend a good, simple file encryption app?
I just have a half dozen or so text files that I would like to keep password protected on my phone. Don't need sync, cloud backup, or any of that other stuff.
Thanks!
With ES File Explorer you can compress the files, assigning them a password.
snowkilts said:
Can anyone recommend a good, simple file encryption app?
I just have a half dozen or so text files that I would like to keep password protected on my phone. Don't need sync, cloud backup, or any of that other stuff.
Thanks!
Click to expand...
Click to collapse
How strong do you need it and do you need access on the fly
Sent from my MB855 using XDA
snowkilts said:
Can anyone recommend a good, simple file encryption app?
Click to expand...
Click to collapse
ZArchiver (Ant-ON)
https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver&hl=en
Pros:
* Free, nice gui, & very configurable.
* Can encrypt both files AND file names in AES-256 encryption (using 7z format).
Cons:
* Limited file manager functionality.
* Sometimes crashes when encrypting large files (ie. > 25 MB).
GOOGLE PLAY STORE ( description ):
ZArchiver - program to manage archives (archive manager). The program has a simple and functional interface.
ZArchiver lets you:
* Create following archive types: 7z (7zip), zip, bzip2 (bz2), gzip (gz), XZ, tar;
* Decompress archive types: 7z (7zip), zip, rar, bzip2, gzip, XZ, iso, tar, arj, cab, LZH, LZMA, xar, tgz, tbz, Z, deb, rpm;
* View archive contents: 7z (7zip), zip, rar, bzip2, gzip, XZ, iso, tar, arj, cab, LZH, LZMA, xar, tgz, tbz, Z, deb, rpm;
* Compress and decompress password-protected archives;
* Create and decompress multi-part archives: 7z, rar(decompress only);
* Partial archive decompression;
* Open compressed files;
* Open an archive file from mail application.
Key features:
* Multithreading support (useful for multicore processors);
* UTF-8/UTF-16 support in filenames. Allows you to have national symbols in compressed filenames;
* No need to enable multiselect mode. You can select files by clicking on icon to the left of the filename
Click to expand...
Click to collapse
yosup said:
Cons:
* Limited file manager functionality.
* Sometimes crashes when encrypting large files (ie. > 25 MB).
Click to expand...
Click to collapse
1. I plan to add a feature to copy files.
2. If the program is crashing, it is necessary to reduce the compression level. This is due to lack of RAM. Perhaps for other reasons.
ps I am the developer of this program.
Ant-ON said:
1. I plan to add a feature to copy files.
2. If the program is crashing, it is necessary to reduce the compression level. This is due to lack of RAM. Perhaps for other reasons.
ps I am the developer of this program.
Click to expand...
Click to collapse
Ant-ON ... hey, thanks for dropping in here. I was primarily using Unrar to decrypt files encrypted by WinRAR on my pc. Then, I found your app, and 7zip is my preferred compression scheme now - esp. being able to encypt both files and filenames. Really enjoying your app.
Basic file management features (copy, move, rename) would be huge. Being able to manage files immediately after compressing / encrypting would be extremely handy. I luv the tweakable list and font sizes you allow in settings - ie. reduces scrolling required to find items. The md5 info is very handy as well.
As for the crashes, I did play around with compression levels (even at storage) ... so I suppose it's a physical RAM limitation then.

[GUIDE][ICS][.13] Solving problem with not looping mp3/ogg files used as ringtone

This problem appears on ICS .13 based ROMs.
When set an mp3 file (for example downloaded from Internet) as ringtone and this file don't loop when receiving call what to do?
(I'm using MS Windows OS)
Now let's go:
1. Start WinAmp
2. Add file in WinAmp's play list
3. Click right mouse button on the name of the file and select View file info ... (Alt+3)
4. In File Info window click Advanced tab
5. Click Add New button
6. In Name field write ANDROID_LOOP
7. In Value field write true
8. Click OK button
Now move mp3 file to proper directory on the phone - mnt/sdcard/ringtones or root/system/media/audio/ringtones (need to set permissions to rw-r--r--)
The procedure is the same if you use an ogg file as ringtone and it don't loops.
That's all :victory:
SORRY FOR MY BAD ENGLISH :angel:

Categories

Resources