[Q] Modifying Custom ROMs

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
I'm trying to modify CM 10.2 for Samsung Galaxy S3, and i want to know if i can change the SystemUI.apk and Framework-res.apk with the one from Paranoid Android 3.97. I want to integrate the HALO and other features from PA 3.7 to CM 10.2. Can i do it? or it doesnt work after changing those .apk files.. or is there any other way to integrate HALO into CM 10.2? plz guys help me for this I want to create a hybrid custom ROM...
 

JJEgan

Senior Member
Oct 24, 2010
30,197
5,869
243
Its a question of reading and trying .
But you cannot take stuff from a rom without permission of the developer .

jje
 

danarama

Senior Member
Aug 22, 2010
31,287
18,810
0
Oxenhope, West Yorkshire, UK
No offense but if you have to ask this question you are about 2 years off being able to do it.

This needs to be done at a source code level and is very complex. You will need to important thousands of lines of code into hundreds of Java and c++ source code files. It takes an advanced developer to do this.

Your first step is to build a Linux box and turn it into a build environment and learn how to sync and compile cm code. As I said, 2 years and lots of learning, you may be ready to attempt what you're asking about

Sent from my GT-I9300 using Tapatalk 4
 
  • Like
Reactions: SlackingVeteran

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
No offense but if you have to ask this question you are about 2 years off being able to do it.

This needs to be done at a source code level and is very complex. You will need to important thousands of lines of code into hundreds of Java and c++ source code files. It takes an advanced developer to do this.

Your first step is to build a Linux box and turn it into a build environment and learn how to sync and compile cm code. As I said, 2 years and lots of learning, you may be ready to attempt what you're asking about

Sent from my GT-I9300 using Tapatalk 4
Hey thanks for your reply. As i m a newbie in android development world, i don't know much about modifying and compiling the source code. Is there any other options for this work??
 

danarama

Senior Member
Aug 22, 2010
31,287
18,810
0
Oxenhope, West Yorkshire, UK
Hey thanks for your reply. As i m a newbie in android development world, i don't know much about modifying and compiling the source code. Is there any other options for this work??
Obviously not, no. Like I said "needs to".

This is complex work for an accomplished developer. It is not a newbie thing.

Learn to compile source code first, reading Google and cm guides.

Sent from my GT-I9300 using Tapatalk 4
 
Last edited:

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
Obviously not, no. Like I said "needs to".

This is complex work for an accomplished developer. It is not a newbie thing.

Learn to compile source code first, reading Google and cm guides.

Sent from my GT-I9300 using Tapatalk 4
ya, i have read the Google and CM guides to compile the source code and also i have looked to the source code of HALO.. I will be downloading the source code after few days and the main thing is how to implement those source codes of HALO into the CM 10.2? I know i m asking all the questions at a time but m very curious to know all about it..
 
Last edited:

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
With 2 years practice!!! Its not a case of copy paste. You must learn to develop. You must learn what the code means. This will take time. There are no shortcuts.

Sent from my GT-I9300 using Tapatalk 4
Thanks for all ur help to let me know all about this... i will be working on this project....
 

danarama

Senior Member
Aug 22, 2010
31,287
18,810
0
Oxenhope, West Yorkshire, UK
Good luck.

Here is a tip.

Once you learn to compile cm for your phone with no errors, flash and fully functional... then look for some small commits. Maybe try to add "seconds" to the status bar clock for example.

It might just be 1 line of code to edit in 1 file. Easy yes? But then think... what if the entire line if code doesn't exist? Imagine - the clock must be managed by some code. As a developer you must learn how to understand the code, work out how you can adapt the code to work with your source. This is the tricky bit and that is 1 simple commit.

Now imagine you want to add one of the most complicated and biggest android development commits of all time.... hundreds of lines of code you need to edit don't exist. You can't just add them. You learn to adapt by understanding your code and the thousands of lines of code in halo. Let alone to mention several of the files you need to edit to add halo don't even exist in cm...

Sent from my GT-I9300 using Tapatalk 4
 

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
Good luck.

Here is a tip.

Once you learn to compile cm for your phone with no errors, flash and fully functional... then look for some small commits. Maybe try to add "seconds" to the status bar clock for example.

It might just be 1 line of code to edit in 1 file. Easy yes? But then think... what if the entire line if code doesn't exist? Imagine - the clock must be managed by some code. As a developer you must learn how to understand the code, work out how you can adapt the code to work with your source. This is the tricky bit and that is 1 simple commit.

Now imagine you want to add one of the most complicated and biggest android development commits of all time.... hundreds of lines of code you need to edit don't exist. You can't just add them. You learn to adapt by understanding your code and the thousands of lines of code in halo. Let alone to mention several of the files you need to edit to add halo don't even exist in cm...

Sent from my GT-I9300 using Tapatalk 4
Thanks a lot for your helpful tips. I will try to do all sort of possible things to add HALO feature in the CM
 

SlackingVeteran

Senior Member
Mar 24, 2013
671
311
93
But HALO is already there in unofficial cm builds....
Eg : temasek's builds 10.1 and 10.2

Sent from my GT-I9300 using xda premium
They might have made the unofficial builds but I want to create my own. Coz I want to learn how the custom Roms are build, and I don't want to be dependent on others for the custom Roms. OK I have learnt a lot that how to port Halo in CM 10.2. I m downloading the source code of CM..
 

afaria

Member
Aug 1, 2011
13
1
0
Gurgaon
They might have made the unofficial builds but I want to create my own. Coz I want to learn how the custom Roms are build, and I don't want to be dependent on others for the custom Roms. OK I have learnt a lot that how to port Halo in CM 10.2. I m downloading the source code of CM..
Good luck mate.
All the best.
I will definitely try your rom.
:)

Sent from my GT-I9300 using xda premium