[REQ] Tut on baking in mods to your ROM - Android Q&A, Help & Troubleshooting

So I see it all over the place in cm9 and aokp, and many many more
all these ROM's have there own custom options built in and i'm curious as how to do it...
I've extracted the control apks from different ROMs to take a look through them in order to try to get a better understanding but I still don't have a full grasp on this... Anyone care to elaborate?

CM9+AOKP are built from source and the options are literally "built" into the Settings/whatever apk. The other one's are either custom made Apps for that ROM or smali edits I'm guessing. It's not really something one can make a tutorial for.

thewadegeek said:
CM9+AOKP are built from source and the options are literally "built" into the Settings/whatever apk. The other one's are either custom made Apps for that ROM or smali edits I'm guessing. It's not really something one can make a tutorial for.
Click to expand...
Click to collapse
Well that's what I'm asking, how do you add these settings into a say I wanna use aosp and add custom settings, what needs to be done? I know how to edit the settings apk to allow an extra spot for the customization menu but would I just add the pngs for a battery mod to the appropriate apk then write the code to select it or what? I've seen generally how it works but again idk the fine details because I can't get it to work, when selecting the option for the desired mod nothing happens :/
Sent from my Nexus S 4G using Tapatalk 2

I would suggest taking a look at ROMControl in the AOKP Github. Not going to hold your hand but I'll try to get you going in the right direction.

thewadegeek said:
I would suggest taking a look at ROMControl in the AOKP Github. Not going to hold your hand but I'll try to get you going in the right direction.
Click to expand...
Click to collapse
No need to hold my hand, I've made decent progress on my own but I do appreciate it, I know I'm close as I just need to figure out how to get the changes to stick.. that is if once they stick they all work properly, if they don't I'm sure I can figure those issues out on my own... again thanks man
Sent from my Nexus S 4G using Tapatalk 2

No problem, people like you I'm always glad to help. It's nice to see someone actually trying to learn on their own.

thewadegeek said:
No problem, people like you I'm always glad to help. It's nice to see someone actually trying to learn on their own.
Click to expand...
Click to collapse
Its a pain learning on your own but at the same time its necessary, you can't rely on people to hold your hand through life.. but guidance in the right direction is always awesome
Sent from my Nexus S 4G using Tapatalk 2

Related

What is AOKP and what does it mean?

Hey
Ive been seening "AOKP" alot instead of "AOSP" and I want to know what is it and what does it mean?
Thanks a lot.
AOKP stands for "Android open kang project". What's kanging? Take a look:
Kanging (or to be kanged) – To have one’s developer code and work taken, manipulated, rebranded, and re-released by someone else with no credit.
Click to expand...
Click to collapse
http://omgdroid.com/rootzwikis-stance-on-kanging-its-still-stealing-and-it-will-not-be-tolerated/
android_owl said:
AOKP stands for "Android open kang project". What's kanging? Take a look:
http://omgdroid.com/rootzwikis-stance-on-kanging-its-still-stealing-and-it-will-not-be-tolerated/
Click to expand...
Click to collapse
Thanks.
I disagree with Rootzwiki's stands: Open source is open source. The joy of it is modifying it. If you dont like for your source to be modified and make it better, dont make it open source/dont be part of AOSP.
I agree with you in some spots but I disagree by dont giving credits. A developer puts effort and time ,without getting payed, in a project - at least honor him by giving credit.
My knowledge is updated.
Sent from my GT-S5830 using xda premium
riahc3 said:
Thanks.
I disagree with Rootzwiki's stands: Open source is open source. The joy of it is modifying it. If you dont like for your source to be modified and make it better, dont make it open source/dont be part of AOSP.
Click to expand...
Click to collapse
Agreed, but credit should be given where credit is due...
And usually is so don't stress it too much.
Cyanogenmod
Thanks for the info.
There is nothing wrong with working off of someone elses work, especially if you feel you can improve upon it. The only thing that sucks is most people will not give the other developer any credit. Just putting in your rom post to give someone else credit, you'd be suprised how many people will actually go to the other post for that person and just hit the thanks button.
The thanks button is there to show you appreciate what someone has done, or helped you. More or less it's like a handshake or a thumbs up...
I've done quiet a bit of work for the Samsung Vibrant and didn't recieve alot of credit. the CM7 builds of the vibrant used my GPS files to fix the GPS issue... Did I get any credit? None... Thats right the CM7 team worked off my files. Alot of other roms as well... Why? Because my GPS files worked the best... I was disappointed when I looked into the rom and saw my GPS files were the ones being used there.
As for the phone i'm using now, i've had 70 download on a new MMS.apk that I had help with. I have only recieved 3 thanks and just a multitude of people complaining about things. Hey I understand there are things wrong thats why it's still a beta and i'm working on it with the dev that made the other one for the Nexus but still... you think i'd get some thanks...
Nope..
It happens... its just life...
Now i'm gonna go get an Iphone and join the herd of sheep. lol jk
Thanks Ah Million!!!!
jwleonhart said:
There is nothing wrong with working off of someone elses work, especially if you feel you can improve upon it. The only thing that sucks is most people will not give the other developer any credit. Just putting in your rom post to give someone else credit, you'd be suprised how many people will actually go to the other post for that person and just hit the thanks button.
The thanks button is there to show you appreciate what someone has done, or helped you. More or less it's like a handshake or a thumbs up...
I've done quiet a bit of work for the Samsung Vibrant and didn't recieve alot of credit. the CM7 builds of the vibrant used my GPS files to fix the GPS issue... Did I get any credit? None... Thats right the CM7 team worked off my files. Alot of other roms as well... Why? Because my GPS files worked the best... I was disappointed when I looked into the rom and saw my GPS files were the ones being used there.
As for the phone i'm using now, i've had 70 download on a new MMS.apk that I had help with. I have only recieved 3 thanks and just a multitude of people complaining about things. Hey I understand there are things wrong thats why it's still a beta and i'm working on it with the dev that made the other one for the Nexus but still... you think i'd get some thanks...
Nope..
It happens... its just life...
Now i'm gonna go get an Iphone and join the herd of sheep. lol jk
Click to expand...
Click to collapse
I don't own a Vibrant, but I wanna say Thanks!!! I don't know why people are ignorant but some just are!!! and the sad thing is the majority of people who download roms/fixes are! sad indeed. But there are alot of people who value your work and devs like you. I'm trying to find "square one" so to speak, because I wanna learn to build roms. And to be honest it's developer's like you that make me wanna step up to the plate and help with more than just a thanks

Off topic

Just a few questions I have for you guys over the last couple months I've seen alot of Miui threads openend and ICS opened?
Are you really considered a developer if you just switch a few files from a rom that a actual developer build from source and made it boot on our phone?
Reason I ask because I've talked to a few developers and they tell me that it sucks how porting a miui, ICS rom has become so easy when it took them hours to build from source?
Just want get your guys insight
Not taking shots at no one so don't start crying about it and tell me it took you hours when there are threads everywhere on how to port these.
Sent from my MB855 using xda premium
None of my work counts as development so copypasta porting doesn't count. If it does, then what I did with the deblur/debloat script should count as a universal ROM for moto android devices.
I've heard people complain about copy and paste devs for a long time. Had alot of drama over it when I had the epic. Bottom line is it still takes know how. You have to know what and where to copy. And it still takes a lot of time. And some of the best roms I've used were from so called copy and paste devs. As long as they give credit to where it came from. Most devs learn from looking at what someone else has done anyway. Bottom line the more roms and devs the better. I appreciate your work here, but I see nothing good coming from a thread like this. No affense.My 2 cents.
Sent from my MB855 using Tapatalk 2
now I'm in no way crying but,.....what's the deal bud.....we do alot more than copy paste my friend every rom I do gets smali edits, I have to decompile/recompile several jars in different builds **** in gummy I have to edit the entire framework.jar just to get market working.....is it built from source, no, do I work hard on it without a doubt yes, i can't understand why you needed to open a thread to try to debunk my work..... reason I say my work .... I worked on miui, bill does it now, and does a pretty damn good job of it too..and you think its only copy paste getting miui working.....lol....that one is a beast of its own...takes several several changes to get our to just freaking boot.....I'm working on 4 ics based on the photon and 4 for the atrix.......and for both phones requires several edits ..... i mean seriously all we're doing is allowing more choices more options more roms..... I think you have a very wrong idea of what actually is done on these roms.....**** if it were only as easy as copy paste ....don't ya think we'd have had more of these roms sooner and made by different people, only reason miui got here is yepitsme gave up I picked up slack and took of with it then handed her off to bill.....so again I say whats the deal bud....should be happy our aging phone is seeing so much activity....now I do apologize if I have went out of line here but I couldn't help but feel a, little attacked here directly....and by two of the guys I freaking looked up to on here....all I can say is wow I guess I should just close my threads then since porting doesn't count..... and to say don't cry and tell you it took hours cause there are guides............who made the thread in the first place and the purpose of it is?? I'm in no way crying but not going to be called out like this and not respond, which your a very smart guy so I know that you knew exactly what would happen in opening a thread like this....sometimes it does take hours copy/paste you have no clue.....every new cm9 joker puts out we have to flash each lib one at a time to se e which one isn't playing nice,.but thats just copy pasting isn't it, edits to the build prop, updater script.....smali edits to numerous files, jars,apks....but thats just copy paste too I guess.....or maybe its how at times we flash each rom several times and troubleshoot each issue everyone has not just release and say nothing....but thats just pasting too....you really have no clue maybe should read a couple of those guides you are reffering to cause even in them they tell you this isn't all you have to do...**** some of them even say I can only point to what might work not that this guide works for every phone no matter what...
Sent from my MB855 using xda premium
I see points for either side of the coin but a discussion like this will not be good for the Photon forum. To have developers/contributors against themselves is exactly what has happened in other threads and it never ends up a positive for anyone. I feel there is a place for all kinds of work as long as no work is being stolen and credit is being given. It allows for more options and benefits us all. We could all debate this further but I think we know where this would be heading.
RockoDev said:
Just a few questions I have for you guys over the last couple months I've seen alot of Miui threads openend and ICS opened?
Are you really considered a developer if you just switch a few files from a rom that a actual developer build from source and made it boot on our phone?
Reason I ask because I've talked to a few developers and they tell me that it sucks how porting a miui, ICS rom has become so easy when it took them hours to build from source?
Just want get your guys insight
Not taking shots at no one so don't start crying about it and tell me it took you hours when there are threads everywhere on how to port these.
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Are you really considered a developer is you forget sh and root in a rom?
remember, we arent taking shots.. just wanna know how it took hours and yet forget stuff like that. dont be willing to start a fire if you cant handle the heat.
bottom line is this as far as im concerned, i could give two craps less about miui, or any of the other cm clones. however i think (most of them) they bring something to the table. and give people choices, if the users really thought it was crap they wouldnt use it..
after working with so many prepaid devices and telling the users that if they want stuff done for roms/kernels then they need to find a dev to get the phone, or one of them needs to step up. so to see more and more people on the photon jump up to help is really nice and reminds me of why i loved this community so much (yes even you willysp ;P ).
if someone isnt making the roms then youd have threads of people complaining cuz they wanted them, so more people are happy in the end because they are made as well as offering choices.
i could go into more but as it is this thread is gunna turn enough into a blood bath so ill try to at least keep my part in it as civil as possible
So I can learn?.... Ok. I really do wanna learn but I think they def need to give credit to the originals. But if they don't like something of one ROM and decide they wanna change it and then let others take it for a spin, whose to stop em?
Sent from my Motorola Electrify using XDA
RockoDev said:
Just a few questions I have for you guys over the last couple months I've seen alot of Miui threads openend and ICS opened?
Are you really considered a developer if you just switch a few files from a rom that a actual developer build from source and made it boot on our phone?
Reason I ask because I've talked to a few developers and they tell me that it sucks how porting a miui, ICS rom has become so easy when it took them hours to build from source?
Just want get your guys insight
Not taking shots at no one so don't start crying about it and tell me it took you hours when there are threads everywhere on how to port these.
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Let me set the record straight:
FIRST AND FOREMOST: I DO NOT CLAIM TO BE A DEVELOPER.
SECOND: MIUI is NOT just cut and paste. If I had SOURCE for it, I would BUILD it SOURCE. As MIUI has NOT released it, I CANNOT do that. I DO PORT it, and I label it as such. But, to act like all I do is cut and paste, you're way off base.
1) I have to edit the framework files just to get it to fully boot with service/data, and the options that the users of my build have grown accustomed to. I have to test libs each time that Joker releases a new CM9, as not all are compatible.
2) I have to test libs with each MIUI release, as they often build with ARM7b, which is NOT compatible with our beloved Tegra 2 processor.
3) I then make 2 versions (Aroma based and CWM flash).
4) I credit everyone whose work I used to do what I do. That being said, if I port something, you're darn right I should get credit for the work I do.
5) The reson SO MANY (2) MIUI threads have popped up is that Spleef initially started the ports. At a point in late March, I took over doing the ports and he took to other roms. I have been asked recently by MIUI.us to start a separate thread so that I can keep the OP up to date and standardize it to the format that they wanted.
Now, on to my other CONTRIBUTIONS:
1) Fixes thread-yes, may be slightly out of date, but it's helped a LOT of people
2) How-tos thread-sure...I need to add more to it and plan to when I get the time.
3) Anyone here like Kitchen Sink? I ask as Joker and I have spent HOURS working together on that rom getting it to where it is. Not to mention if you use version 2.11, then you're using something I assembled, as it was done while Joker was on away on Vacation.
4) I am usually found on ALL the Photon/Atrix threads helping people with their issues ranging from flashing issues to data issues, etc.
5) Check out how many ROMs I've helped on.
Another thing, I don't have the title Developer...and didn't apply for it. I am a Contributor. I CAREFULLY examined the criteria for each and decided that I would apply for being a Contributor as I DON'T at this time do SOURCE work.
Funny how someone who isn't doing source either would put "dev" in their name when they don't seem to have a single source-built item to their credit, then have a problem with what I do.
Funny that I count there are 3 Rocko-rom variants 2.3.5 posted. See me starting a thread to ask why you have so many Blur based roms?
I would personally LOVE to have the opportunity to talk to ANY of the DEVS you cite as having an issue with the fact that I port MIUI.
moparfreak426 said:
So I can learn?.... Ok. I really do wanna learn but I think they def need to give credit to the originals. But if they don't like something of one ROM and decide they wanna change it and then let others take it for a spin, whose to stop em?
Sent from my Motorola Electrify using XDA
Click to expand...
Click to collapse
your absolutely right anyone can do this it just takes some patience and a little knowledge....we give credit, thanks, and links to every rom we port over..... I'm guilty of forgetting things in roms. I know I am, sometimes things get forgotten or ill use the wrong damn file...lol.....I'm not taking shots or trying to start no crap but I woke up this morning to this thread and couldn't believe what I was reading.... I mean hell rocko rom was jokers originally and look at it now, we all start some where, true I don't do source right now.......but thats not to say I never will I've had joker trying to teach me for a while now but we live our lives so time is short
Sent from my MB855 using xda premium
shabbypenguin said:
Are you really considered a developer is you forget sh and root in a rom?
)
Click to expand...
Click to collapse
Not sure who did that...we had an issue with SU in MIUI on one build due to incompatibility with MIUI and the 0.6.whatever SU xbin
Th3Bill; said:
Funny how someone who isn't doing source either would put "dev" in their name when they don't seem to have a single source-built item to their credit, then have a problem with what I do.
Funny that I count there are 3 Rocko-rom variants 2.3.5 posted. See me starting a thread to ask why you have so many Blur based roms?
Click to expand...
Click to collapse
I'm not trying to pick any sides in this because I like both of your work, but damn he got you.
Sent from my MB855 using XDA
shabbypenguin said:
......reminds me of why i loved this community so much (yes even you willysp ;P )........
Click to expand...
Click to collapse
Why in the world are you taking a shot at me in this thread?
I think, this thread is something, that shouldn't be here. It's all about choices. I don't like the ROMs of all devs here, so I made my own. But I am still glad they are here. And I appreciate their work.
Think I saw in the new evo thread that Rocko is heading there. Maybe triing to stir the pot before he leaves? Personaly I would like to see this thread closed.
Sent from my MB855 using Tapatalk 2
bricky23 said:
Think I saw in the new evo thread that Rocko is heading there. Maybe triing to stir the pot before he leaves? Personaly I would like to see this thread closed.
Sent from my MB855 using Tapatalk 2
Click to expand...
Click to collapse
AMEN!
A developer is anyone who developed something for Android. Themes, roms, hacks, root methods, modifications, even scripts. Just because someone doesn't build from source doesn't mean they don't bring something to the community.
Sent from my MB855 using XDA
willysp said:
Why in the world are you taking a shot at me in this thread?
Click to expand...
Click to collapse
lol was just poking fun at ya man hence the
jokersax11 said:
A developer is anyone who developed something for Android. Themes, roms, hacks, root methods, modifications, even scripts. Just because someone doesn't build from source doesn't mean they don't bring something to the community.
Sent from my MB855 using XDA
Click to expand...
Click to collapse
Can I get an AMEN
Sent from my CM9 beast
shabbypenguin said:
Are you really considered a developer is you forget sh and root in a rom?
remember, we arent taking shots.. just wanna know how it took hours and yet forget stuff like that. dont be willing to start a fire if you cant handle the heat.
bottom line is this as far as im concerned, i could give two craps less about miui, or any of the other cm clones. however i think (most of them) they bring something to the table. and give people choices, if the users really thought it was crap they wouldnt use it..
after working with so many prepaid devices and telling the users that if they want stuff done for roms/kernels then they need to find a dev to get the phone, or one of them needs to step up. so to see more and more people on the photon jump up to help is really nice and reminds me of why i loved this community so much (yes even you willysp ;P ).
if someone isnt making the roms then youd have threads of people complaining cuz they wanted them, so more people are happy in the end because they are made as well as offering choices.
i could go into more but as it is this thread is gunna turn enough into a blood bath so ill try to at least keep my part in it as civil as possible
Click to expand...
Click to collapse
No!!!!! I am not have never claimed to be.....
Sent from my MB855 using xda premium
To those that may be offended by my position let me clarify. I was on the Evo for the first price drop. A ton of ROMs suddenly appeared that were no more than a font or color change by folks claiming to be devs. To me, simple edits like that are not development or ROMs. I've seen the same with themes, swap a font and call yourself a dev. There are script releases by "devs" that all that was done was change the device name or partition location. To me none of that stuff counts as honest development.
Another example is ROMs from the JoyOS port guides. Copypasta and a couple build.prop edits and look you have JoyOS. That in itself is not development to me. Now if you have to go through and do framework/smali edits to get it to work, that's a whole different story. That requires know how, skill and time.
spleef, Th3Bill and others, I'm sorry if you took my previous post personally. I consider you guys a dev and your work is well beyond anything I have released. Digging around in the code to get things to work is not easy. There are many with contributor titles really should read developer. (again, in thinking about it I really am not one of them). I was also speaking about android as a whole and not specifically the photon forum.
jokersax11 said:
A developer is anyone who developed something for Android. Themes, roms, hacks, root methods, modifications, even scripts. Just because someone doesn't build from source doesn't mean they don't bring something to the community.
Click to expand...
Click to collapse
I can't speak for others but I agree with you on this only to a point. It goes back to the first paragraph in this post. To me, a font change or other very minor changes isn't development. I'm speaking in general however. When it comes to the Photon specifically, there's a lot of actual deving being done and folks that are very deserving of dev status (again, I am not placing myself in that category).
To All,
A lot of crap has happened to me personally over the past couple months. My attitude is lousy at best and I think it time I walk away for awhile. If I have offended I am sorry. Feel free to grab any of my work and run with it. I also have the following unfinished projects up for grabs;
2.3.5 sudo-Blur ROM with root ODEXed and De-ODEXed built straight from the 2.3.5 leak. (USB is intermittent but not sure if its the phone or the ROM)
webtop+ 2.3.5 leak (missing apps)
Copypasta JoyOS port (never connects to service)

How-to's: General advanced android.. so you wanna help develop?

This thread will be more like an advanced user/development "bible", to help keep the threads I am linking to clean, and to put all the information in one place. This information will also be put in the advanced section of the amaze bible doc, and also the WIKI we are working on.. I want to make sure anyone who wants this information has NO problem finding it!
I've seen a lot of people who have been making comments about "wanting to learn" at the same time that I am seeing the developers/contributors in these forums start offering "how-to's" for some of the more advanced functions.. I've also seen some comments from users who have not made any significant/consistent contributions - the secret they may not be aware of, if you can successfully read and understand enough to do the stuff we do in these forums, then YOU can take that to a new level.. and offer something back.
I will update this thread with some of the different threads/tutorials that already exist, and I would like to see people give feedback on the types of information that might be useful.. instead of just propositioning people who already develop, who may be busy with other things - let's crowd source some of our own development, after all, we all started somewhere..
Everything here, and all those how-to threads will be added to the amaze wiki - which will eventually replace the current always up to date amaze bible(doc)(which we need help updating btw, anyone on XDA can help contribute by helping do THAT here). HINT: ANYONE can help contribute to our knowledge base in the wiki! Please do! Before you give negative feedback to any dev, I want you to ask yourself - what have I contributed?
First, the bible I already posted some Advanced Android 101: So you wanna go to the next level?
If maybe building from source isn't your thing, you could look in the Everything Development Thread which has an ongoing discussion about how to COOK(or customize) a rom, a good first step toward conquering bigger and better things.. if you want to give this a go, read that thread, ask good questions, and help us create a solid starting point for future developers!
Next, with the recent release of the source for the ICS kernel, there has been a lot of interest in getting that running - Here you can learn how to Build Your Own Kernel, and then you can easily find posts by several devs working on getting these kernels fully working.. currently the issue is getting WIFI working(which we knew might be an issue), but THIS is something that users can help figure out..
If you can setup the build environment for building your own kernel, then you can ALSO [TUTORIAL]How to compile CM9 for the Amaze 4G - if you can learn how to do this, you will learn the right questions to ask to research how you may contribute to the project..
This post I have posted many useful links to different guides for porting - no one guide is going to be perfect, but if you read them and try them out.. you will learn a TON, and maybe even have a successful port! Remember, porting heavy framework changes like AOSP, sense4, aokp, etc - some of it is kernel dependent and will require more than any guide can spell out.. trial and error my friends.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Are there any more development/advanced tutorials in the amaze forums I missed? Any in any other forums you have seen that are well written? Any questions you have about something not covered can be asked here, but please post in the relevant thread if your question relates to it! I would really like this thread to be more for feedback about what we can help YOU do, so if you have any suggestions/questions regarding how we can help you do that, please post!
This post will have some of the related but not easily categorized, random information I find in the future..
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
eggydrums said:
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Well, compiling is processor intensive, even if the computer is sluggish, a semi-decent processor and a fair amount of ram do all of the work once you finish.. and there is stuff in the bible for customizing themes and more under Advanced Android 101: So you wanna go to the next level? Then there's the Everything Development Thread, that doesn't require a powerful computer at all, you're just switching out files before flashing.. and I am going to start posting some of the stuff I've learned in there soon too!
If you have anything you'd like to see, or anything you might have to offer.. feel free to post it
http://forum.xda-developers.com/showthread.php?p=28647619
Would this help? Found it in One S forum... but idk jack about developing (way to much work for too little result) so idk if it helps
Sent from my HTC One S using xda premium
glacierguy said:
http://forum.xda-developers.com/showthread.php?p=28647619
Would this help? Found it in One S forum... but idk jack about developing (way to much work for too little result) so idk if it helps
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
You mean the video it links to? That is all I got in the xda app.. if the video has anything new it could be added to the everything development thread, they were working on instructions there for using dsixda kitchen..
Sent from my HTC_Amaze_4G using xda app-developers app
I just want to learn to develop rom so that I can contribute to this amazing sight. I asked in the g 2 forums and not once did I ever get any help. Super savvy with computers modding well at least flashing that is haha. But I know with a little guidance I can be a big contribution to the site. So any words of advice would be great and some links to guides will be even more great haha. Thank you so much in advance
Sent from my HTC_Amaze_4G using xda premium
Spastic909 said:
I just want to learn to develop rom so that I can contribute to this amazing sight. I asked in the g 2 forums and not once did I ever get any help. Super savvy with computers modding well at least flashing that is haha. But I know with a little guidance I can be a big contribution to the site. So any words of advice would be great and some links to guides will be even more great haha. Thank you so much in advance
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
Well, first, go into different roms, and look at their changelog - see if you can figure out what they are changing - don't just look at the roms in these forums.. look in other forums too. Download a rom, look at the updater-script to see if there is anything there that is making the change in that you saw in the changelog.. look at the files the updater script specifically sets permissions for(if it does), as those files are usually modified, hence why they have to set permisions.. look at the /system/etc folder.
Get a program like winmerge(I think that is what it is), or filemerge for mac, or some other program that will compare files AND directories line by line.. compare a stock rom to a modified rom- as long as it compares directories too, it will output which files the stock rom didn't have, which have been changed, what has been changed- THIS is the easiest way to figure it out for yourself. Piece by piece.
For example, right now I am trying to figure out why the custom kernel here isn't changing my clock speed - if I unpack the zip file, I see he has replaced the init.qcom.post_boot.sh file, and if I compare that with the stock rom, or the energy rom I am using, I see he commented out the lines that change the frequency.. so I look at the updater script, the aroma_config file, and each file tells me what it is doing.. I see the badass.sh file creates a file called 89badass in the init.d folder.. part by part you can figure out exactly what he was doing, how he was making the changes.
There is no real "guide" that is going to help as much as finding a way to figure it out for yourself.. programs like filemerge and winmerge are free and easy to find, and DEFINITELY give you a good place to start. Technically making your own rom is just making changes to a stock rom until you are actually reCODING something - but those changes can be pretty huge and technical, and do awesome things.. you just got to figure out what they are, and how to do them.
Everything above should give you a good place to start..
Silentbtdeadly said:
Well, first, go into different roms, and look at their changelog - see if you can figure out what they are changing - don't just look at the roms in these forums.. look in other forums too. Download a rom, look at the updater-script to see if there is anything there that is making the change in that you saw in the changelog.. look at the files the updater script specifically sets permissions for(if it does), as those files are usually modified, hence why they have to set permisions.. look at the /system/etc folder.
Get a program like winmerge(I think that is what it is), or filemerge for mac, or some other program that will compare files AND directories line by line.. compare a stock rom to a modified rom- as long as it compares directories too, it will output which files the stock rom didn't have, which have been changed, what has been changed- THIS is the easiest way to figure it out for yourself. Piece by piece.
For example, right now I am trying to figure out why the custom kernel here isn't changing my clock speed - if I unpack the zip file, I see he has replaced the init.qcom.post_boot.sh file, and if I compare that with the stock rom, or the energy rom I am using, I see he commented out the lines that change the frequency.. so I look at the updater script, the aroma_config file, and each file tells me what it is doing.. I see the badass.sh file creates a file called 89badass in the init.d folder.. part by part you can figure out exactly what he was doing, how he was making the changes.
There is no real "guide" that is going to help as much as finding a way to figure it out for yourself.. programs like filemerge and winmerge are free and easy to find, and DEFINITELY give you a good place to start. Technically making your own rom is just making changes to a stock rom until you are actually reCODING something - but those changes can be pretty huge and technical, and do awesome things.. you just got to figure out what they are, and how to do them.
Everything above should give you a good place to start..
Click to expand...
Click to collapse
I'm gonna start trying to figure this out before my first android I was totally computer retarded my parents died when I was 14 and I had to quit school and start working so at 32 yrs old now this is pretty tough so thank you for trying to help folks like me learn and keep up with all this new technology. I think I'm starting to get it a little reading goes a long way.
sent from one badass htc amaze with ics [email protected]
eggydrums said:
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
i build kernels on an old laptop with a intel centrino duo, 512mb of ram, and ubuntu 10.04. if yours beats that, you will be fine (takes me 5 mins to build kernels)
ziggy46 said:
i build kernels on an old laptop with a intel centrino duo, 512mb of ram, and ubuntu 10.04. if yours beats that, you will be fine (takes me 5 mins to build kernels)
Click to expand...
Click to collapse
I assume ir runs windows xp?
Sent from my HTC_Amaze_4G using Tapatalk 2
EclipzeRemix said:
I assume ir runs windows xp?
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
yup, and it has a sticker that says windows vista capable. WHICH IS A LIE!!!!
i got the laptop for free though. its a compaq presario v3016us. i think some ram was taken out of it before i got it. (im gonna buy 2gb soon)
quick question. How do I check the change log or is there a link to it or so I can use I think that's what I'm asking!
Sent from my HTC_Amaze_4G using xda premium

ROM Porting Program

I've been slowly working on a Windows tool for porting ROMS, mainly for my own entertainment. So far I'm to the point where it will successfully copy and merge all the applicable framework,lib, etc. files to/from a base and ported ROM and change some various settings automatically (like build and setup files). I was thinking about adding a directory structure and file compare tool into it to help debug issues. I'm not sure how many people here use Windows to port ROMS but I know the fragmented sloppy nature of open source development can drive people nuts so I thought something like this may help. Is this something anybody would be interested in?
This would be an amazing thing to have!
I would love to use it, maybe we could get some sensation Roms over here
Sent from my HTC_Amaze_4G using Tapatalk 2
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Wow this be nice! Does this man darknightmare will finally be able to port Sony's Xperia ROMS lol jk look forward to this tool man
Sent from my HTC_Amaze_4G using xda premium
mwalker2k10 said:
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Click to expand...
Click to collapse
Lol thats the spirit
Sent from my iPad using Tapatalk HD
mwalker2k10 said:
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Click to expand...
Click to collapse
Would this basic program just be doing the "copy from base to port" type of stuff that tutorials basically cover, or would this decompile/recompile specific parts of things like framework and whatnot? If just the former it would be a useful time saver, but you may want to add a ddisclaimer that the program by itself won't always put out a working port.
It is unfortunate that our amaze is such a pain to port to..
Sent from my NookColor using xda app-developers app
Silentbtdeadly said:
Would this basic program just be doing the "copy from base to port" type of stuff that tutorials basically cover, or would this decompile/recompile specific parts of things like framework and whatnot? If just the former it would be a useful time saver, but you may want to add a ddisclaimer that the program by itself won't always put out a working port.
It is unfortunate that our amaze is such a pain to port to..
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
For starters probably just automate a lot of the tedious copy/replace operations that are needed and a file/directory compare tool geared toward android, find/replace in files, etc. but I see no reason why it couldn't decompile and recompile .jars and .apks...or pretty much anything. I've been a programmer for years but I'm new to android so I'm still putzing around the internet looking for various info.
mwalker2k10 said:
For starters probably just automate a lot of the tedious copy/replace operations that are needed and a file/directory compare tool geared toward android, find/replace in files, etc. but I see no reason why it couldn't decompile and recompile .jars and .apks...or pretty much anything. I've been a programmer for years but I'm new to android so I'm still putzing around the internet looking for various info.
Click to expand...
Click to collapse
Give it a go, one reason I don't like porting is all the tedious work
Sent from my HTC_Amaze_4G using Tapatalk 2

[Community]A call to arms, well devices....

The Goal
To bring a new standard to the android platform, destroy, improve, rebuild. also, to put aside our egos and opinions and to work together as a community. if you dont like it you can always not use it!
>The journey, I my self will say if you just want the end product please leave this isnt the place. this is here to teach not to give.
Planned features
>Implement WebOS, FFOS or B2G in the the android platform. this is not another rom. it's a new firmware.
>Better multitasking, or true multitasking
>better handling of how the framework corresponding with the system. e.g. caching commonly used thing's for better load time over a crappy connection.
> a patch method so this can be merged with other UI's.
!Want to help?!?!
granted you may doubt yourself, dont just dont. anyone is free to contribute suggest etc. to make things easy here's a template. if you suggest something and it is not in this type of format, sorry it'll be ignored.
:UI
:System
:Hardware/software (E.g Lefty Mode. swapping the buttons layout to fit those who are left handed)
Ideas so far
MIUI theme chooser, say what you will it's a large customization option.
A new UI concept. if you have ideas just copy paste the format and add what you think is good/
Developers working on this
I will update this I ask that any dev interested message me via xda's pm system. title it [community]
SinisterTensai
Flex360
Mazda
Tribulattifather
Cloaker
jamieg71
NineInchNails
PuRE IVIonztah
Rydah805
Ragster (UI/Launcher guy)
tgrgrd00
EVOuser94
Tilde88
edlokien
Dogie52
this OP is subject to change, as more information is collected
thread gathered information
Web OS features, such as?
Social intragration into the android platform, e.g. Facebook, twitter G+ the mobile websites of these perform better than the apps, if we string some apis together for pictures sharing/posting and just load a webpage event in the "Social app" e.g. web.event.load="m.facebook.com" and share.event.activity.camera.post"userdefined_image _id"
suits vs folders string app categories together such as phone, mms, IM. tools calc, gps maps so on so forth. most likely will be a default.xml listing to categorize these into the proper groups. gapps wont be included cause the rom will be AOSP so im thinking calling external apks in a nice defined layout with gesture controls to switch
Focal points
Statusbar, I think It should do more. it's accessed from most apps and important things should go there, not just notifications. a simple mms grid layout with input for mobile number and text input also a list of unread messages. this could also push over to im services.
launcher: the dockbar should be optional imo, im thinking just have the all apps list in a corner with along press the dock pops out, also scroll able. so not just 5 apps sit there (some people dont like having apps on screen.
widgets: yea they're a thing to consider. as for the sense on other launchers, itd be easier to make widgets that look like it than integrate the actual ones
configuration. I think a major lacking point of android is user mapping for key's, why dont we have a leftie option? we all arent right handed. ill keep things in the thread as is so others can express there thoughts and add to this op will be updated later tonight.
OP/OC
So I see that our device has a huge collection of developers such as myself and many others. so I got to thinking (well the ambien did) and I thought (or it) that if all of us joined together and made a community driven rom (im talking better than the synergy collab here people) not just a rom but a little bit of the spirit that drives us enthusiast, noobs kangers scriptkids drunks stoners hell even moderators, any one who loves the ability of a rooted device. if we all came together put aside our differences and alliances just to bring something new, something innovative im not talking about some dinky apk that changes a few features on sense no im talking about something brand spanking new something that will make other device owners envy our device we can do it if we come together and work as a whole for the greater good, or should I say rom?
well who's with me?
noobs, themers users developer lurkers etc come forward step up lets see what ya got! call me a dreamer call me w/e I could care less. this could be the next big thing or the next nothing, it is up to you. ask not what your developer can do for you, but what you can do for your device
.......................................
Mazda said:
Even though I don't own this device........I'm down!
Click to expand...
Click to collapse
aww shiat mazdas in, any one else???!!?!?!?!
Count in flex360
Reporting for duty
Sent from my EVO using Tapatalk 2
Why not. Take a look at my Roms and see what you can use from me ^>^
My Roms Here: http://forum.xda-developers.com/showthread.php?t=1808332
I know little to nothing about programming, but nowhere near computer illiterate either. If I am needed, I'm up for it. Lol
Sent from my EVO using Tapatalk 2
I'm in love the idea, reminds me of this
Sent from my EVO
Tribulattifather said:
Why not. Take a look at my Roms and see what you can use from me ^>^
My Roms Here: http://forum.xda-developers.com/showthread.php?t=1808332
Click to expand...
Click to collapse
your location say's it all, whats a box? I do not know of what you speak?
jamieg71 said:
I'm in love the idea, reminds me of this
Sent from my EVO
Click to expand...
Click to collapse
oh god not another flesh pipe story &^$!*^!&# HAHAHA!
Sinistertensai said:
So I see that our device has a huge collection of developers such as myself and many others. so I got to thinking (well the ambien did) and I thought (or it) that if all of us joined together and made a community driven rom (im talking better than the synergy collab here people) not just a rom but a little bit of the spirit that drives us enthusiast, noobs kangers scriptkids drunks stoners hell even moderators, any one who loves the ability of a rooted device. if we all came together put aside our differences and alliances just to bring something new, something innovative im not talking about some dinky apk that changes a few features on sense no im talking about something brand spanking new something that will make other device owners envy our device we can do it if we come together and work as a whole for the greater good, or should I say rom?
well who's with me?
noobs, themers users developer lurkers etc come forward step up lets see what ya got! call me a dreamer call me w/e I could care less. this could be the next big thing or the next nothing, it is up to you. ask not what your developer can do for you, but what you can do for your device
Click to expand...
Click to collapse
Mazda said:
Even though I don't own this device........I'm down!
Click to expand...
Click to collapse
Are you down even if he invites kangers?
Sent from my EVO using Tapatalk 2
hahhhahaha. too funny.
What kind of Rom are you thinking about.. A port or an aosp/cap build?
thicklizard said:
Are you down even if he invites kangers?
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
dont we all kang from google > linux > unix ????? what can we really claim as our own? we don't reinvent the wheel we just modify it
Tribulattifather said:
hahhhahaha. too funny.
What kind of Rom are you thinking about.. A port or an aosp/cap build?
Click to expand...
Click to collapse
many actually all community driven each fellow device owner helping another out all for the greater rom so to speak.
Sinistertensai said:
many actually all community driven each fellow device owner helping another out all for the greater rom so to speak.
Click to expand...
Click to collapse
I see. Well, I suppose, since I've already posted something in evo 3d about a project i'm running, here's a link to it and let me know if maybe we post it on the first post. Maybe we can make a list of the projects going on..
http://forum.xda-developers.com/showpost.php?p=35814451&postcount=3064
Sinistertensai said:
dont we all kang from google > linux > unix ????? what can we really claim as our own? we don't reinvent the wheel we just modify it
Click to expand...
Click to collapse
That's what I thought but Mazda said that was wrong
Sent from my EVO using Tapatalk 2
Sounds good. think theres some logistics to figure out like how to go about it and all but that can be figured out.
Like Mazda I don't own this device but I'm down
Sent from my PG86100 using xda app-developers app
thicklizard said:
Are you down even if he invites kangers?
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Not sure what you mean by that BUT I will say that I'm not going to break any rules or get away from doing things the right way.....even if is not the popular thing to do at the time!
BUT this ain't about me or you or kangers or whatever, this is about something bigger then that!
Let's get this party started!!!!!!!!
thicklizard said:
That's what I thought but Mazda said that was wrong
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
put aside the differences and focus on collaborating to get more out of our device(s) the one thing that holds back developers is the ego and politics. so lets do away with that, thanks
thicklizard said:
That's what I thought but Mazda said that was wrong
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Replace "ME" with "US"
https://www.youtube.com/watch?v=DksSPZTZES0&feature=youtube_gdata_player

Categories

Resources