Advise for editing smali files. - Frameworks

I want to edit the PhoneStatusBar.smali to disable that fullscreen MEDIA_ARTWORK. Im looking at the file at what i think is the correct section but now im stuck. Can someone advise me how to get it done?
section is "method public updateMediaMetaData(ZZ)V" (i think).
I attached the file hoping for some help.

Related

Is there a tutorial for Core Kitchen?

please don't answer with "try using search"
i tried searching and was unsuccessful. maybe i don't phrase my searches good enough or maybe there isn't anything to found. Either way, i didn't find anything. anichillus' site is down and i need to figure some things out.
can someone please point me in the direction of a tutorial.
if not, can someone please tell me how to figure out where to put all of the dll's and stuff that is in the "missing" folder?
its in the kitchen's help folder
Anichillus siad he will work on more in the future
and for the dll and other missing files, find them, then cut and paste them into the directory that they are said to be missing from
The only one I know for the whole kitchen is under C:\Core\Help. You're probably best to ask achillies (sorry if I spelled wrong) directly, but if you look up the specific component/process that is generating the "offending" pieces, you might be able to find more info on why it thinks it's bad, and how to resolve it. Sorry I can't be more help.
I'm also a noob and I'm trying to follow that tutorial. I have a base nk.nbf in the source folder and I click on dumprom and I see a window flash up and then it's gone. I don't see anything in the dump folder. Am I missing something?
thomassster said:
I'm also a noob and I'm trying to follow that tutorial. I have a base nk.nbf in the source folder and I click on dumprom and I see a window flash up and then it's gone. I don't see anything in the dump folder. Am I missing something?
Click to expand...
Click to collapse
does the dumprom make a window popup that asks if this [Core\Extract\Source] is where your nk.nbf file is?
that should happen first before you can dump it
Download Here
http://forum.xda-developers.com/showthread.php?t=309549
It will place a folder on your C drive inside the folder open the help file

[Hermes and others] few questions about Manila2D

Hi, i'm new on this forum, and i have few questions about Manila (big thanks for authors ).
1. Where can I find description of files (I mean what file is for what )
2. It's all in XML?
3. How can I get Manila files?
4. How can I edit these files? Can I edit in 'on the fly' files from my PDA (I mean directly in Hermes or copy few files into PC, edit, upload to PDA and SR) or do everything in PC and compile?
5. Finally, software for that
Thanks for answers, regards
Sory for my English, i'm from Poland.
Here is a very detailed explanation of the settings file (HTCHomeSettings.xml):
http://forum.xda-developers.com/showthread.php?t=427531
try to search for the others, there is a lot, especially themes.
hmmm, thanks, but i found this too. But I think about edit tabs or something like that. So I want to know much more than only HTCHomeSettings.xml. But it's better than nothing.
'try to search for the others' - do you mean use search to find descripson for every files one by one? :/ themes? I think about deeper editing
You can only edit resourse files, we don't have the source for the program.... in other words, just about everything you can edit is in the the htchomesettings .xml (and the files it calls)
joel was right,.
until now, we need to edit the HTCHomeSetting.XML,. and the file it calls,.
like modifying clock, etc,.
Thanks, this exactly is that what i want read

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 .

[Q] How can I change file path inside of a exe file?

Hi.
First of all, let me say that half of time took me to look for the right forum in XDA to post this message, and I'm still not sure I'm in the right place..
I think my Q is about modifying my OS, and this is why I post it here.
If the admin think there's better forum to this issue - I'd love to hear it..
Now, to business:
I have a GPS device, brand is X-GPS Navigation, Model GPS-S450B, that I will like to play with.
The OS is Windows® Embedded CE 6.0.
I just found out that at my GPS device, there is a file that resposible to a certain BMP that shown up at the shutdown process.
The filename is "PowerKey.exe", and it reffer to a file named "Notice_en.bmp".
I want to change that Notice-en.bmp file, to show that message in another langueage. I tried to overwrite the file with a similar bmp file, no luck. The file just re-created.
I've tried to edit the PowerKey.exe with a hex editor, and write a new path, to a file in NandFlash directory instead of the Notice_en that lays in Windows folder.
That also didn't go so well. "PowerKey has been preform illegal action and have to be shout down" or something like that, was the message. I could only put the device to sleep, until I recovered the old PowerKey file.
Any solution how to change the BMP file that resposible for the shutdown message?
(I guess the best idea is to write a registry entry to overwrite the BMP file in \Windows directory with the one in the \NandFlash directory every boot, only problem - I donno how to do it. )
Anyone?
There's no solution to my problem?
Recompile the exe.
Thank you.
Any chance to general guidlines in how is that done?

[Q] How to edit/modify feature.xml in a flashable zip?

I've created a MOD and a flashable zip file to install it.
The issue, for which I cant seem to find any help on is:
On certain devices it is required to edit the /system/csc/feature.xml file.
I dont want to replace the file all together, but just add some lines (if the set isnt there) or edit the lines (if it already is there).
I figure its just some code i need to add into the updater-script, but dont know where to start?
Any help would be appreciated.
TIA.

Categories

Resources