[Q] i want to learn how to mod a Rom up to my device, but i can't - Android Q&A, Help & Troubleshooting

i very like learn to mod the apps or a rom with my device, but i can't know which way is easy, i think i or new member like me will aslo like to do this work. Give me to advice. Thanks all you.

keveinee said:
i very like learn to mod the apps or a rom with my device, but i can't know which way is easy, i think i or new member like me will aslo like to do this work. Give me to advice. Thanks all you.
Click to expand...
Click to collapse
There is no easy way. First you have to learn Linux (ROM building) or learn to decompile the apps and look threw thousands of files. Alot of which are xmls and smali code.

^ true
Also depends which device you have
Mtk or snapdragon

zelendel said:
There is no easy way. First you have to learn Linux (ROM building) or learn to decompile the apps and look threw thousands of files. Alot of which are xmls and smali code.
Click to expand...
Click to collapse
i knew it, but i have one question that im using my device with snapdragon chip, but i don't understand that why some app, when i get from the other devices then some app, i can use, but something some app i can't use to my device? But all app from google play, the alls that can use to setup to my device, all things what is the different?

Ok first your chip has very little to do with what apps will or will not work on your device. Those are concidered by many other factors. Like screen res, ram, and in some very rare cases gpu. Others are OEM dependent. Some are dependent in if your rooted or not.
I would advise putting any development ideas on hold while you go back and do alot of research.

zelendel said:
Ok first your chip has very little to do with what apps will or will not work on your device. Those are concidered by many other factors. Like screen res, ram, and in some very rare cases gpu. Others are OEM dependent. Some are dependent in if your rooted or not.
I would advise putting any development ideas on hold while you go back and do alot of research.
Click to expand...
Click to collapse
thanks about your advice!!! First, my device had been rooted (my device is LG) then i can setup the apps from outside, and i see that when the modders decompile or rebuild a app, they also had added lge-res.apk, lge-res.odex, lge-framework.apk with command ' if ' in apktool like that 'apktool if lge-res.apk.....'
why did they do that?
I already have found very things from google search, but i could not find what things i need, cause be able to my english level is not good. im very exciting to do anything about that.
IF you be modder, professional in the modifier work. Can you help me to do that? Again that i thanks about your advice.

keveinee said:
thanks about your advice!!! First, my device had been rooted (my device is LG) then i can setup the apps from outside, and i see that when the modders decompile or rebuild a app, they also had added lge-res.apk, lge-res.odex, lge-framework.apk with command ' if ' in apktool like that 'apktool if lge-res.apk.....'
why did they do that?
I already have found very things from google search, but i could not find what things i need, cause be able to my english level is not good. im very exciting to do anything about that.
IF you be modder, professional in the modifier work. Can you help me to do that? Again that i thanks about your advice.
Click to expand...
Click to collapse
I am not an expert modder but I can try and point you in the right direction, those files are framework files that are required by the LG framework to function correctly, essentially they are extra resources that are required for the app to work correctly based on the changes LG made. Samsung, HTC, Motorola, etc. all have similar files that are required when working on any of there apk's (For example S Note is a Samsung specific app I would first have to input "if" the touchwiz framework for the app to compile and re-compile successfully in order to make any modifications to it). What other resources where you looking for?

shimp208 said:
I am not an expert modder but I can try and point you in the right direction, those files are framework files that are required by the LG framework to function correctly, essentially they are extra resources that are required for the app to work correctly based on the changes LG made. Samsung, HTC, Motorola, etc. all have similar files that are required when working on any of there apk's (For example S Note is a Samsung specific app I would first have to input "if" the touchwiz framework for the app to compile and re-compile successfully in order to make any modifications to it). What other resources where you looking for?
Click to expand...
Click to collapse
thanks your answer, you're so right. I would to be a really modder, i've just been learnt about electrical technology in my school, but i very exciting be become modder. Sure i will find additional to adding my leaked knowledge. Thank alot.

Related

Question on How to Theme

I was wanting to know if anyone can explain to me how to theme for the Evo 3D. I have not themed for a phone yet but I would like to start and to learn how. I have no problem reading a lot and doing a lot of testing and trial and error. I just would like to know if any themers can give me a head start on where I can begin. I have a lot of great ideas.
I am somewhat experienced in C++, and CAD programs as I am a Mechanical Engineer but if it's required to have a greater knowledge in those then it would be great to know more. At least I would enjoy learning it since I'd be doing something I enjoy. Any help would be appreciated.
Thank you in advance.
Also I understand we can't apply full themes until we have s-off but it seems people have ROMs and Themes done already so I would like to take the opportunity to start working on my own as well since I am sure I will have to learn alot.
toxicfumes22 said:
I was wanting to know if anyone can explain to me how to theme for the Evo 3D. I have not themed for a phone yet but I would like to start and to learn how. I have no problem reading a lot and doing a lot of testing and trial and error. I just would like to know if any themers can give me a head start on where I can begin. I have a lot of great ideas.
I am somewhat experienced in C++, and CAD programs as I am a Mechanical Engineer but if it's required to have a greater knowledge in those then it would be great to know more. At least I would enjoy learning it since I'd be doing something I enjoy. Any help would be appreciated.
Thank you in advance.
Also I understand we can't apply full themes until we have s-off but it seems people have ROMs and Themes done already so I would like to take the opportunity to start working on my own as well since I am sure I will have to learn alot.
Click to expand...
Click to collapse
Theming requires mostly graphics design. You're changing images inside the Framework-res.apk and Systemui.apk. Each phone runs differently, so this information may be slightly incorrect, but if you take a deodexed ROM, you will find inside the .zip, system/framework/framework-res.apk>res>Drawable-hdpi. This folder is where most of the changes will be. For individual apps, you open the app (via a file manager, like 7zip) and open res > drawable-hdpi for the images.
The hardest part (for me) are XML files, this is where the C++ knowledge will come in handy. This is for changing text colors and animations in the framework. Most of what you'll change though *should* be inside framework-res.apk and Systemui.apk.
Now, something new I found out is if you're running Sense, then you must modify the Rosie.apk that's included (I think.)
Thank you as that is very useful, but since this would be my first time actually messing with a phone like that. What program works best for extracting a rom and what should I use to pull the information from the rom.

Samsung Galaxy Note 10.1 launcher apk?

Hi there,
Does anyone have a Samsung Galaxy Note 10.1 or know where I can get the launcher apk from? I want to test it on my HTC Flyer. I really like the way you can split the screens so you can do two things at once! Anyone care to point me to the apk?
Thanks all,
Kim
EDIT: Ok I found this http://www.onskreen.com/cornerstone/ and it even includes source code but how do I install onto a HTC Flyer? Anyone out there know how maybe? Would be quite cool to have this!
Kim
thats a no-go. its highly integrated in their framework, so to make this run you need to start learning how to program and develop in java, and when you experienced enough, you can start porting the functionality to work outside samsungs framework, which probably is in 3-5 years time. and that on top 1-2 years development for you alone to do it all.
Dexter_nlb said:
thats a no-go. its highly integrated in their framework, so to make this run you need to start learning how to program and develop in java, and when you experienced enough, you can start porting the functionality to work outside samsungs framework, which probably is in 3-5 years time. and that on top 1-2 years development for you alone to do it all.
Click to expand...
Click to collapse
What about if I try http://www.onskreen.com/cornerstone/ on my Leedroid rom installed on my HTC Flyer?
if you are a good kernel developer, you might get it done in 1 month or so in your spare time its not an app, its a kernel and framework environment.
Dexter_nlb said:
if you are a good kernel developer, you might get it done in 1 month or so in your spare time its not an app, its a kernel and framework environment.
Click to expand...
Click to collapse
Got it, would be nice if this can be made into some kind of .apk.. I'm just dreaming now! If you include the framework into the apk it might work? I know some java / android dev, I'm going to look into this.
It does't work like that. The Framework is a major piece of the ROM built during compile time and is ROM specific. It sits between the apps and the GUI. It ties into almost everything on the ROM and supports widgets, apps, etc.
Check this out for basic information and how it gets built and used.
Android Application Development Tutorial
http://www.youtube.com/watch?v=IHg_0HJ5iQo&feature=relmfu
http://iserveandroid.blogspot.com/2011/01/important-framework-structuresdirectori.html

[Q] Development questions

Hi,
I am slowly getting through the basics of apk decompiling, Editing, Debugging & recompiling.
Using tools like Apk Tool, Winrar, Notepad++ Winmerge, Adb .
first time I have touched an android or even done any kind of stuff like this was Early August 2012. So not long at all, now i have a question to the more experienced Devs. Eg; Lets just say I dont want increasing ringtone How do you pin point where in the apk to start editing i mean there are heaps of files its like looking for a needle in a haystack. One way I came close and pin pointed it is using a previous made mod and then used Winmerge to compare the differences, Problem is the differences in these to Apks is not just the Increasing ringtone, so when I winmerged them it picked out out the other differences Now this deffinatley narrowed it down. I have a feeling it has something to do with the Callnotifier.xml is this the only Xml?
Also Lets just say you dont have another apk to compare it to , how to you find out this stuff..
Another thing is I want to cook up a rom, but the way I want to do it is modding my own rom untill I am happy with it and then creating something like a nandroid without my personal data. then making it flashable for people. What tools is best used for this? I was thinking editing my nandroid and adding it to a cwm flash. but I think there is an easier way.
Thanks for you help

How to change operator text?

Hello.
I am running stock ICS 4.0.4, and would like to change my phone's operator text to my own, custom text (for example, change "T-Mobile" to "BagelDog"). I have already tried an app named "Carrier Name" which did not work. Has anyone successfully achieved this result on their I777 and can share the solution?
Thanks.
Without root at the very least that'd probably not be achievable .
My phone is rooted.
Oh well then you can definitely do it. May have to get a little technical if you don't want a simple app fix though.
Technical is fine, I'm no stranger to it. Could you provide the steps, please?
BagelDog said:
Technical is fine, I'm no stranger to it. Could you provide the steps, please?
Click to expand...
Click to collapse
First, you must discover where the text you want to change is located. I'd guess it's somewhere in the framework, maybe in system ui, but I don't really know. Then you need to learn how to edit that file or collection so that you can change the text. It may require decompiling and recompiling something, depending on where it is. Sounds like you have some study time ahead of you. These would be the first steps in becoming an android developer. If it sparks your interest, you might go down that path.
Happy hunting.

information needed

I am new to the android OS and havent really done much in the field of development lately... I was a BASIC and VBASIC coder back in the day... but I was going through the files on my Verizon Galaxy S4 and in /dev/_properties_ I found something labeled "ro.boot.hardware[]qcomro.boot.debug_level[]0x4f4cro.boot.cp_debug_level []0x55FFro.boot.emmc_checksum[]3ro.boot.bootloader[]i545VRUEMK2ro.boot.nvdata_backup[]ro.boot.boot_recovery... and it goes on and on. Any information would be greatly appreciated
That's code.
If I change it will it do anything?
theshedcrew said:
If I change it will it do anything?
Click to expand...
Click to collapse
Why?
Sent from my SCH-I545 using XDA Premium 4 mobile app
Just wondering
theshedcrew said:
Just wondering
Click to expand...
Click to collapse
Its not like its just a diary from samsung... Hard to read through because your text view seems to be showing line feeds as an undisplayable characters, that box thing, whatever you want to call it.
But yeah that is one of your system files, that is data the OS uses. If you change it it will most likely just break what every thing you change from being specific code/information to random gibberish.
Just looked up the file... Thats not just a plain text file that is interpreted by the OS. I think you would have to get the source code to make changes then compile your own version.
Thanks. Like I stated above, its been a long time since ive coded (BASIC) and coding and development has come a long way since then
Use hex editor or you'll corrupt the file
theshedcrew said:
If I change it will it do anything?
Click to expand...
Click to collapse
Don't just open I with 'generic editor' and modify it and expect your device to boot properly. Use a GOOD hex editor from market and modify the values to retain proper structure or you'll regret it. You can be brave and add props not in use BUT they must present in the device for that to work. You can accomplish a lot in that file though or soft brick your device.
Yeah, I wouldn't just edit a piece of code just for the sake of editing code. Might mess your phone up.

Categories

Resources