Need help modifying some system files - Upgrading, Modifying and Unlocking

While trying to learn most of my tablet...especially when it comes to performance (i am a "power" user) i stumbled upon a few things i am curious about...
I will ask a few questions...hopefully someone will answer
1. What is framework.jar?? If i modify something in it...do i have to modify some other files too...to make sure its applied?
2. Where can i find this "ActivityManager" something? (On my opinion its like a API code)? I wanna modify something in it...hopefully to get some speed
3. About this code "ro.config=low_ram" on some devices thats how the code looks like...but in some cases...especially when about to be forcibly enabled they put "ro.config=low_ram.mod" instead...why so? And what is .mod? Will the code still have effects if it has this ".mod"?
4. Does a command in build.prop really need that "# blablabla" something? For what purposes?
For example:
#NFC
debug.nfc.fw_download=false
debug.nfc.se=false
That "#NFC" is it needed?
5. What is local.prop? Does it have any relation with build.prop?
Thanks for reading...hope someone will be able to answer this questions...thanks in advance

Related

Newbie Questions: tons of them : mostly mkrom RomKitchen

Hello All,
Firstly, I would like to say how great this website is and tip my hat off to all the people involved in maintaining this site.
I am very new to the whole XDA modification scene and have a ton of newbie questions. I know some of these questions have been asked before; however I still have not grasped the concepts fully. I have tried to restate the questions asked before so that I (and hopefully other newbie’s ) can fully understand how to modify XDA’s.
Any help anyone can provide will be greatly appreciated.
So here goes the questions:
When creating a customized ROM (using MKRom) my understanding is that one has re-create the initobj.txt and the Default.reg. Is it possible just to install all the applications you want, and then download the initobj.txt and the Default.reg and place them in the cfg directory for the custom ROM?
If this does not work, how does one know what to edit in these files?
When MKROM request a Rom image, is it requesting the backup ROM IMAGE? Will any image do?
When backing up a ROM, what option does one have to select to backup the operating system, settings and programs inside the ROM? Does CE do all of this?
What is CE, Boot, GSM stand for in the boot menu?
If one wants to just create a new boot image, what is the simplest way? Does one have to create a whole new ROM?
If one wants to just have the unlocking software, what is the simplest way? Does one have to create a whole new ROM?
When creating a Rom using RomKitchen, it asks you add Add your own ROM files? Is this your backup rom?
In RomKitchen one of the readme files asks for:
bootimage.bmp,_initobj.txt,_initdb.ini,_default.reg,xipchain
Is the default.reg and the initobj.txt in this directory have to be pre altered for the new programs one wants in the Rom like the way the MKROM wants them? Does the setup program create them for you?
Is the bootloader.nb0 file specific to the boot loader you have?
Very confused what is exactly needed in the /CFG directory.
In the CFG directory do you place your backup Rom dump?
Hi ...
Do you call these as newbie questions ??!! :shock: ... I can hardly wait to see your advanced ones :wink:
If I got you right, you want to "create" your own ROM instead of doing like most of us by "cooking" a new ROM in one of the kitchens like www.yorch.net
I may advice you to move this thread to the "Hacking it" forum which I see it a better place than here.

Contents.xml

SystemFS\User\MultiStage\Contents.xml
You could extract this file from *.FFS or grab from handset.
Maybe some tweaking possible...
S5PC110_EVT1_UM10.pdf
2D Graphic Engine
− BitBLT
− Supports maximum 8000x8000 image size
Click to expand...
Click to collapse
<FileFormat>
<JPG>
<MaxFileSize value="4096000"/>
<MaxWidth value="5000"/>
<MaxHeight value="5000"/>
<ThumbNail>
<MaxWidth value="1280"/>
<MaxHeight value="1024"/>
</ThumbNail>
</JPG>
There are more infos in this file...
<MaxInstallCount>
<NativeApp value="100"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
</AStore>
</Contents>
</SDP>
Check out, maybe interesting or helpfull.
Best Regards
I already tryed to increase the max. resolution to 8000x8000px for jpg a week ago but it didnt worked
This file exists 2 times and I flashed them correctly to the wave (tested with sTunes after flash), the limits seems to be set somewhere else...
The image sizelimit is also higher than 4096000 byte (or what it is) - about 10 mb.
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
SystemFS\User\MultiStage
User\MultiStage
@ st0rmi
Thanks.
Yes, via sTune this file is twice.
It seems writeprotected files are most in folder SystemFS... as Backup.
If you check via TriX Firmware files. Then Contents.xml is in *.FFS... maybe edit before flashing. Then changes in both files on handset.
Not tested yet...
@ rex4u
At the moment I have nothing changed in this file, so no idea what happens.
Maybe soon few tests...
Best Regards
@adfree: Yeah thats what I have done
I just used sTunes to copy the contents.xml back to my pc and view if the edited xlm are really on my phone because it didnt worked...
@adfree
No bro' I was offering my own suggestions to this configuration file.
It might allow us to install more than 100 apps in phone and show in Menu.
Second it might show Java apps icons in Menu.
My 2 cents
xml parser
please help me
a want to parser punker xml data base.
rex4u said:
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
Click to expand...
Click to collapse
it's into the 'app counter' field, '-1' may be means 'unlimited' number of java apps installable, but I haven't read yet the whole xml... anyway if it is editable it's an interesting thing..
I saw that file a while ago while looking for something inside my phone (very special thing that made me to copy the whole phone)
there is a lot of interesting things but i never tried tweaking it
Maybe if someone have enough knowledge to add few new extensions and test them
Also removing some stupid limits would be awsome
Sorry i've no time to test that with you guys but would appreciate results
Best Regards
You dont need modif ffs or other just use pfs file to modif what you want and in real time direct phone flash pfs file and not have write protect problem
Just says Thank
Example file : dont give attention of boot img cause i dont take time to do it in 800x480 but its 400x240 then its make bug but with pfs file you can upload anything you want to change !!!
Good hack !!!
Maybe with this you can create dual boot or i dont know what a pro smoker can do, you can also try to put her rc2 or rc1 directory i dont try it !!!
Download example, in this one you can see SystemFS and Registry directory, off course you can put her all directory you want to flash pfs, using trix to modified or wave remaker more faster :
https://rapidshare.com/files/809973956/Circle.pfs
An idea its like you can make your one firmware with personal Widget installed and other idea welcome....Just take file registry and Widget folder on phone and put it on PFS
i can not open new thread
i went to parser an xml file with structure like this.
<?xml version="1.0"?>
<node1>
<node2>
<node3>
<node4>
<node5>
text
</node5>
</node4>
</node3>
</node2>
</node1>
Click to expand...
Click to collapse

[Q] Any help understanding the language inside .smali files?

I'm getting deeper into some of the modding that I want to do, and I've opened up StatusBarIcon.smali inside services.jar, along with StatusBarIcon.xml inside the framework-res.apk
The XML is FAIRLY understandable for me, but the stuff inside the .smali file is REALLY hard to make sense of.
Is there any such thing as a tutorial on the programing language used within, an online help or somesuch for it?
I have done programming before, but it's been a long time (read: BASIC and then the programing language for the Ti-85). Still, I'm a fairly quick learner if I can get a hand up.
Thanks.
MDM
no one reply?
i have same question like you
http://s.android.com/tech/dalvik/dalvik-bytecode.html
Enjoy
Found this in a google group. This maybe useful
" All opcodes (commands) are here: http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html , here is some info about registers: http://code.google.com/p/smali/wiki/Registers , and types: http://code.google.com/p/smali/wiki/TypesMethodsAndFields "

Modifying settings.apk

What's goin on guys?
So, I'm doing a project for school and I chose to create a custom settings app for my phone. I plan to include tricksterMOD and Pimp my ROM stuff, but creating my own interface for it.
I've already modified the strings.xml to include 'Other' in the interface in res/values/ .. I just don't know what to add in settings_headers.xml in res/xml, or what smali edits to make. Anyways, my question is, could anybody help me? I know my details were a bit vague about what I want to do with it, so if you have questions, please ask. I could just use a hand in this
Thank you!
(Using the settings.apk in DreamsForgotten 4.2.1 ROM for the Toroplus, before using this anywhere I will be asking for his permission, and before turning this in I will make sure to let the teacher know I borrowed this from him/Google!!)

what is the file name

What is the file name that I need to edit with sq lite editor? I want to edit system stuff
GayCasper said:
What is the file name that I need to edit with sq lite editor? I want to edit system stuff
Click to expand...
Click to collapse
What are you trying to edit?
I only ask because MM changed the way settings.db is written and sqlite3 edits no longer work the same.
You would need to use this app.
Warning, unless you know exactly what you are editing DON'T DO IT! YOU CAN CAUSE SERIOUS DAMAGE TO YOUR PHONE IF YOU EDIT THE WRONG THING
Good luck
Let me if you have questions?

Categories

Resources