How do i edit the Mixer_gains.xml on an Android phone? - General Questions and Answers

Hello,
I doing some testing on a note 5 that i dont need, i downloaded a root viewer and an xml editor,i accessed the system/etc and found the mixer_gains.xml file, now every time i try to edit it, it wont let me save .
Any ideas on how to do that?
Thanks

Related

best way and tools to use to edit initflashfiles.dat

*********
*********
What is the best way and tools to use to edit initflashfiles.dat
This file is very important and we need step by step clear guide with example
Attached one sample edited by TofClock ... let use this as an example
*********
*********
Just change the extention of it to .txt
edit it and after finish editing
change the extension back to dat
Is this answe ur question?
Thanks for quick response. I appreciate it.
Are you sure i do not have to convert from unicode to text and then edit and then back to unicode??
Is it normal text file ... it does not look to me that way!
Did you check the attached file?
I did this several times
Attached your file in .txt after rename it and it will tel u that the file may be damaged, do not care
You must rename the file again to be .dat after making ur changes
But be curfull any mistake in this file will create a big problem do it but be curful
llbasha said:
*********
*********
What is the best way and tools to use to edit initflashfiles.dat
This file is very important and we need step by step clear guide with example
Attached one sample edited by TofClock ... let use this as an example
*********
*********
Click to expand...
Click to collapse
You can right click on the file - open with - and it should open with notepad. Yes you need to save it as unicode but even then you will find it will not work. You need to use a hexeditor and delete the first ff and fe as these are added when saving with notepad.
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
The_hesham said:
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
Click to expand...
Click to collapse
When you open the file with a hex editor the first 2 values seen are FF and FE just delete these and save.
Thanks man
this is quite helpfull
but .. r u sure if i edit the file with notpad it will fail to run
i think one of my friends edited it with notpad and all gone well
thx for the nice wotk guys .. this is very appritiated
Sincerly
Adam
solomhamada said:
this is quite helpfull
but .. r u sure if i edit the file with notpad it will fail to run
i think one of my friends edited it with notpad and all gone well
thx for the nice wotk guys .. this is very appritiated
Sincerly
Adam
Click to expand...
Click to collapse
I tried it without removing those 2 values and it always hangs the device. If in doubt check the file (before and after editing with notepad) with a hex editor and you will see ff and fe are added.
meschle said:
I tried it without removing those 2 values and it always hangs the device. If in doubt check the file (before and after editing with notepad) with a hex editor and you will see ff and fe are added.
Click to expand...
Click to collapse
i dunno
i'll ask him
cheers!
ADAM
I'm sure I did change the file without doing the removing of FF & FE and it works normaly
But no prob., next time I will try meschle advise
I discovered that the best way to edit any unicode file is by using an old program called editpad (free version copy attached here: ( http://forum.xda-developers.com/showthread.php?p=1130485#post1130485 ) that allows to do, among many other things, to convert unicode to ansi and back to unicode without destroying the file structure. I feel sure many will find this very useful. Also it can be used as direct replacement for notepad by just rename it notepad.exe and over write your window one (or rename it before copying).
initflashfiles Editor
Hi every body been working on a rom kitchen when i got to the initflashfiles File Editing I put this Tool Together thought i'd share it so here it is
Thanks to every body how share's there work and tools on this site I would like to here what you think of this tool please as your comments will help to improve the tool this is virsion 0.1.0, I think it's completed but let me know your thourght's
Swampy395
The_hesham said:
I did this several times
Attached your file in .txt after rename it and it will tel u that the file may be damaged, do not care
You must rename the file again to be .dat after making ur changes
But be curfull any mistake in this file will create a big problem do it but be curful
Click to expand...
Click to collapse
OK, when I cut the new initflashfile und paste it in the windows folder what will happen with the existing initflashfile.dat? Will the newer one replace the older one or will be two files in the folder after doing this? Thanks for help.
I have a Acer Tempo DX900 if it is neccesary to know that.

XML files corrupted after backup

I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.
Anyone know why this is and/or how to fix it?
Gregalous said:
I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.
Anyone know why this is and/or how to fix it?
Click to expand...
Click to collapse
They are a strange mix of binary and hex. It's not a human readable xml.
So is there any way to edit them?
Gregalous said:
So is there any way to edit them?
Click to expand...
Click to collapse
Seems like there is a program that will read and convert them to human readable, but you can't edit them and have the changes saved. I will post back when I find it.
The java program is called AXMLPrinter2 and can be run from a command prompt, which converts to TXT.
I'll refer to Stericson's post here on editing Android XML files

Cant figure out how to change Sprint banner

I dont know how to use CDMA workshop or Hex edit, but I really want to change my Sprint banner. Is there a way to do this using terminal emulator?
No, but a hex editor is pretty self explanatory imo.
If only I had your level of skill and intelligence. I could not even get past step 1. I download the file. The instructions say to remove the .txt extension, but when I download it, it is already in .xml but it is a .txt document, and I cant figure out how to change it.
http://forum.xda-developers.com/showthread.php?t=801537
fmedina2 said:
If only I had your level of skill and intelligence. I could not even get past step 1. I download the file. The instructions say to remove the .txt extension, but when I download it, it is already in .xml but it is a .txt document, and I cant figure out how to change it.
http://forum.xda-developers.com/showthread.php?t=801537
Click to expand...
Click to collapse
goto your folder options in windows and uncheck "hide extensions for known file types".. then you can see the .txt extension in windows
http://www.wikihow.com/Disable-Hidden-File-Extensions-in-Windows-XP Same instructions for XP, Vista, 7
Otherwise CDMA workshop is on isohunt.com if you search for it. Get the cracked version. It will report a false positive with most anti-virus.. no virus though.
Editing now. Never tried to use adb, lets see if I can conquer that...
After I put in the modified version of the .xml how do I 'close the file', or put the framework-res folders contents back into the .apk since I unzipped it. Or do I just push the .apk and leave the extracted folder alone?
Nvm, got it.
fmedina2 said:
Nvm, got it.
Click to expand...
Click to collapse
Assuming this means you got it working? Best bet, for future reference, for help with a specific mod, is to try and post in that particular thread. I know the guy who did the hex edit approach, and he's pretty willing to help .

Help with .APK File

Hi Developpers !!
I'm in an urgent need of help !!!
The thing is i have this app .APK that i want to modify,
I open it with winrar, navigate to the file i want to modify (Bitmap image in my case) then i copy it into the Desktop, modify it,
and then put it back in the rar archive without modifying the name or anything.
Then when i try to install (on Agent bluestacks) it it dosen't work !!
There's an Eroor
INSTALL PARSE FAILED INCONSISTENT CERTIFICATES
I watched some turorial on How to Edit image resources inside an android APK file and i did a new signature and it's allways the same error
I really need your help on replacing the file...
PS I uploaded the file .APK and the image i want to replace
Boom_vic said:
and then put it back in the rar archive without modifying the name or anything.
Click to expand...
Click to collapse
That's the problem, you need to sign it first. - http://forum.xda-developers.com/showthread.php?t=2069287
Thanks so much !! I will try this now
Hi
I followed your Topic, i was able to decompile it...but i can't recompile it
can you please do it for me ? cuz i'm in a hurry i need it by Wednesday..
You just have to replace the train480x320.png
in \res\drawable with the same image that i have uploaded with the rar file and sign it..
That would be perfect
thanks in advance

[Q] How to modify any android apk file?

I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
To edit any apk is necessary Apktool. Look this guide and try edit:
http://www.xda-developers.com/decompile-edit-and-recompile-in-one-tool-with-apk-studio/
gamer22881 said:
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
Click to expand...
Click to collapse
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
ИΘΘK¡€ said:
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
Click to expand...
Click to collapse
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
gamer22881 said:
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
Click to expand...
Click to collapse
It will help you with actually being able to make edits to text files without screwing up all of the line endings and encoding.

Categories

Resources