ROM Porting Program - HTC Amaze 4G

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

Related

[Q] How to make a custom ROM

Hey guys,
I am really curious as to what it takes to build a custom ROM. I am very interested in building my own and want some pointers on the best places to start so I don't waste my time. Any advice will be useful, books, websites, w/e.
Thank you,
r3xx3r
get ready cause this one's going wayyy over your head.
Its one of those things where if you have to ask, you'll never know.
spitefulcheerio said:
Its one of those things where if you have to ask, you'll never know.
Click to expand...
Click to collapse
I really hate this mentality. People have to start somewhere. Sure they could spend years figuring everything out on their own. Or you could save them a year by pointing them in the right direction. There is such little discussion about this and it's honestly just annoying and a huge negative aspect about the development community.
EDIT: This is for HTC and I haven't watched it, but it might get you started: http://www.youtube.com/watch?v=94Az1kcQvc4
Also, you should definitely look through the source code for open source ROMs. I'm not a ROM developer so I can't really help you more than that, but I hope a real dev gives you an answer.
first and foremost, learn how to use ADB. if you cant use ADB without some kind of script/batch file to do it for you, then stop right here!
personally the first thing i learned was how the updater-script (at the time, we didnt have edify scripting, so it was plain-jane update-script) worked. have a look in a rom's zip file and learn the layout.
learn how to edit apks (decompile/compile) with apktool.
get comfortable with linux (this is just an opinion, as you CAN build roms in windows, but i have found it much easier on my dev laptop with ubuntu 10.10 64bit)
apkmanager is a good tool to have if you are on windows (there is a linux/osx version too, but i havent used it)
learn what zip-aligning means and what it does for your rom
learn what deodexing means and what it does for your rom
different devices benefit from different tweaks within your /system/build.prop . learn which ones work best for your rom (this requires a lot of flashing and testing on your own device)
this whole process is very time consuming and takes a ton of effort on your part. be prepared. while it is a lot of work, it is a lot of fun learning.
once you get proficient at building and tweaking roms, you can start learning how to edit smali
Pirateghost said:
first and foremost, learn how to use ADB. if you cant use ADB without some kind of script/batch file to do it for you, then stop right here!
personally the first thing i learned was how the updater-script (at the time, we didnt have edify scripting, so it was plain-jane update-script) worked. have a look in a rom's zip file and learn the layout.
learn how to edit apks (decompile/compile) with apktool.
get comfortable with linux (this is just an opinion, as you CAN build roms in windows, but i have found it much easier on my dev laptop with ubuntu 10.10 64bit)
apkmanager is a good tool to have if you are on windows (there is a linux/osx version too, but i havent used it)
learn what zip-aligning means and what it does for your rom
learn what deodexing means and what it does for your rom
different devices benefit from different tweaks within your /system/build.prop . learn which ones work best for your rom (this requires a lot of flashing and testing on your own device)
this whole process is very time consuming and takes a ton of effort on your part. be prepared. while it is a lot of work, it is a lot of fun learning.
once you get proficient at building and tweaking roms, you can start learning how to edit smali
Click to expand...
Click to collapse
This is good information. I, personally, build Aura completely on windows with minimal assistance from cygwin. I use batch files for the common things I use on ADB and the like but I built the scripts myself, so it isn't like I can't do it manually I just don't wanna.
It is both easier and harder than it looks. Aura is the first rom I have built.
One thing, though, is to not accept the current ways as best. Things can always be improved. I have two common mods in my rom that are done completely differently in my rom, without either database editing through scripts or modifying smali inside apk's (the hotspot entitlement check and the 1 signal bar fix). No other roms for the Atrix (I haven't check other phones...) do it this way, not even Darkside which is based somewhat no Aura.
If you are building a rom through the Rom Kitchen... don't use the garbled updater-script it puts out. It mostly works, but it is trash and you won't learn much from it.
Experimentation!
Diviance said:
This is good information. I, personally, build Aura completely on windows with minimal assistance from cygwin. I use batch files for the common things I use on ADB and the like but I built the scripts myself, so it isn't like I can't do it manually I just don't wanna.
It is both easier and harder than it looks. Aura is the first rom I have built.
One thing, though, is to not accept the current ways as best. Things can always be improved. I have two common mods in my rom that are done completely differently in my rom, without either database editing through scripts or modifying smali inside apk's (the hotspot entitlement check and the 1 signal bar fix). No other roms for the Atrix (I haven't check other phones...) do it this way, not even Darkside which is based somewhat no Aura.
If you are building a rom through the Rom Kitchen... don't use the garbled updater-script it puts out. It mostly works, but it is trash and you won't learn much from it.
Experimentation!
Click to expand...
Click to collapse
Thanks for the input. I love hearing from other devs and the methods they prefer.
Sent from my Inspire 4G
this thread died quickly.
too bad because I want to do some studying up on it and creating some coolness myself eventually.
I know with iphones a lot of development was done right from the phone itself especially for app development, is there the same concept here?
and one other question, do you guys make any money off of these things at all? Im always looking for side work...
supermerkin said:
too bad because I want to do some studying up on it and creating some coolness myself eventually.
I know with iphones a lot of development was done right from the phone itself especially for app development, is there the same concept here?
and one other question, do you guys make any money off of these things at all? Im always looking for side work...
Click to expand...
Click to collapse
you can create scripts, push and pull files directly from the phone, so in a sense, yes you can work straight from the phone.
as for money...LOL...dont look to this for a secondary income by any means.
i have made all of $28 for my work on the inspire, and nothing from my work on the captivate
Pirateghost said:
you can create scripts, push and pull files directly from the phone, so in a sense, yes you can work straight from the phone.
as for money...LOL...dont look to this for a secondary income by any means.
i have made all of $28 for my work on the inspire, and nothing from my work on the captivate
Click to expand...
Click to collapse
Hey 28 bucks is 28 bucks, granted I made 40 per screen when I used to replace iphone digitizers but money is money you never have enough.
Thanks for the info though!
Sent from my MB860 using xda premium
I spend a lot of time flashing my Rom when I am working on it. I usually don't push and pull from the phone since most users aren't doing that and I want to emulate what they will be doing.
As for money... Yeah, not a method of reliable I income if you intend to use it as such. I have probably had around... $125 donated to me by some incredibly awesome people.
If you intend to become a Rom dev, be friendly and responsive. People really appreciate someone who is willing to answer questions and give help where needed. Being standoffish like some I have seen is a sure way to get labeled with some bad words
Thank you guys for the responses. This is something I've been wondering as I've taken the plunge into modifying my Atrix. To say it's been addictive is an understatement. I started toying with the idea of putting my own ROM together pretty early on, so basic info like this is much appreciated.
Like someone said early on in the thread, everyone has to start somewhere so even seemingly small bits of info are always welcome.
The biggest hurdle is understanding adb commands and when to use them. Then, how to view the individual file strings inside the /sytem/build.prop and apks AND actually understand what it means. I have spent hours wandering around in root explorer look in folders and seeing what is inside. Pulling something with adb actually removes it from the phone right? Then I have to adb push back into the folder I pulled from. Should I use Ubuntu on my Win7 pc? I tried eclipse, installer r13, and I do have apkmanager but have yet to figure out how to actually use it.
I learn by doing what someone is telling me so reading it sometimes doesn't make sense since I can't "see" it and what it's supposed to look like. WIsh someone lived nearby to just to help get me started.....Beers and food on me LOL. Or at least had some time over the phone even.
Thanks Diviance (again) and to you PirateGhost for your help.
no adb pull does not remove it from the device. it copies to your local machine
as far as using windows vs linux. use whatever will make you more comfortable. i can assure you a lot of tutorials, and howtos are written with linux in mind, but if you can understand the basics, you will be able to translate it to windows. not to mention once you get into tearing down APKs, jars, dexes, etc....its all the same code inside no matter what tools you are using to get to them. i find linux easier to work with when it comes to stuff like this, some people think windows is easier.
If I were to get linux on my PC, would adb work within the linux evironment...meaning can I adb from linux and compile/decompile etc from there?
Phoneguy589 said:
If I were to get linux on my PC, would adb work within the linux evironment...meaning can I adb from linux and compile/decompile etc from there?
Click to expand...
Click to collapse
well you would compile/decompile directly on the phone unless you were using the sdcard....it wouldnt be pretty
you adb pull /system/file modify it, then adb push /system/file
it works the same in windows as it does in linux from that aspect. i just find working in linux easier.
here, this should help get you started somewhere, its not exactly like this phone, and the guide should be used as a reference and not a manual.
http://forum.xda-developers.com/showthread.php?t=915435
if you are technical enough, just by looking at that thread, you will understand a good portion of whats going on.
Thanks for all the help. Im getting bored flashing other peoples work and would like to help tweak things. And develop some stuff.
Thanks bro.

Wanna start developing ROMS but don't know how/where to begin...

Hey!
A while ago I got the idea of learning how to cook roms.. I made some research on it and I found some helpful stuff on xda. Well, I tried but quiet didn't understand and manage to be successful in doing what was told there..
I've read lots of stuff like "The hardest part of developing roms is getting started". So I guess this is the part where I need the most help
Whatever, the reason why I opened this thread is that I wanna hear some developers. Their ideas on developing; How to get started, their short story on how they started developing...
Basically I wanna learn where/how to start from those people who experienced and managed to become a developer..
I mean, I wanna know your stories as I really think they will help me, they will be examples to me...
Well, not only me, to anyone who reads them.. I'm hoping that this thread will help other newbies like me...
Thanks!
My first android phone was the g1, didn't install CM until the myTouch on t-mobile. I started writing scripts for android phones. Little ones, like LCD Density script or apk removal. Then worked on a theme. Didn't really go anywhere. Fixed a bug for Salvagemod for the Evo, then started working on SalvageMod. Evo needed a kernel after support was said and done, I figured out how to compile it, looking at other commits, I was able to make changes successfully to the Freedom Kernel for the Evo. Then decided that I wanted to work on some gui application. Cmcompiler came about.
While there are many many more details from start to finish. Point is really, that no one is going to teach this to you. You have to want to learn, and you simply have to do it. Its hard work. I have spent hours and hours of messing with things to get them to work correctly. Trial and error is a great way to learn android. Sadly "Android" isn't the only thing you have to learn when it comes to development. You need to learn the tools that come with the development, like packaging or install script if you have a local gui application, or git/svn/bzr for version control systems. Most importantly, you need to have fun learning. If you are not having fun. Quit.
I do not feel attracted when you ask devs to answer, but still.
I started with XDAs kitchen.
No development ofcourse, but a good place to start.
I felt XDA kitchen was not enough, so I started to learn BASH - the scripting language in wich Kitchen is written.
I started with opening the "menu" file out of the kitchen.
After a while, I neede batch-resize, as I wanted to become a themer.
I made it together with my dad.
After I saw that some themes contain more items then another, I made CopyFrom.
AndroidCentral was my next idea - a combination of all home-made tools.
Just like lithid, I felt a GUI was needed.
But I started to work on it for cross-platform usage.
Conclusion: writing scripts is a good way to start. Google is my best friend, as I am new to scripting also.
Good luck
Sent from my Galaxy Nexus using Tapatalk 2
To echo the sentiments of the two previous posts by lithid and mdroid, I also started by writing simple scripts and small projects. Android Utility was my start up project.
My first real projects involved Rosie (HTC Sense launcher) and theming it. Then it become modding the apk to do other things (remapped, 4x5, 5 column app drawer, transparency, etc). The process of learning how to theme and mod one apk really helps you learn.
My recommendation is to pick one particular aspect of your device/Rom and learn as much as you can about it. You will find quickly that by doing so you inevitably have to learn how to use the Android tools, scripting, BASIC programming fundamentals, and a general idea of how everything works.
And yes, Google is your friend. Also stackoverflow
Sent from my PG86100 using Tapatalk 2
I also wanna to start developing. Thanks the infos. Can you write a few standard dev-tools name?
Sent from my ZTE Blade using XDA app
After creating this thread and reading the opinions of developers I followed this tut and tried this kitchen.. Helps in modifying a ROM.
And as I already had Cygwin installed using the way shown in the above tutorial I tried this tool for modifying the boot.img..
And if you want to modify apps you can give a shot to this tool...
These tools are basically really easy to use and efficient. Especially for a newbie like me.
oh, and these words of cyanogen would be really helpful..
start developing is not easy...but if you really want it and can dedicatebtime and patience all will just be fine... it's not recommended that u try to do all at first...maybe just a mod can be ok for you or anyone starting here...try modding a rom,changing stuff,adding tweaka and playing with build.prop as well...then if all goes right u can think on modding more stuff like apjs,themes,including simo comex apks...those who needs extra settings,etc... you'll gain xperience as long as time goes on and will fibd lot of interesting stuff u'd like to invlude on builds...so don't rush...good roms need time and patience
Sent from my MB860 using XDA
Thanks! when I read your ideas, telling me to play around with a rom and all that. I feel that Im really lucky. I've already been playing around with the ROMs I've used so far.. like editing build.prop, basic theming, editing apks, I once edited framework-res.apk to enable the navigation bar, etc...
Yesterday I tried porting MIUIv4 on the cm9 for for my device following some tuts on xda.. I did everything right, but no luck I get stuck in boot logo... Whatever I'll not give up!
I'm planning to study those kitchen stuff more for now, I'll give a shot to the tutorial mentioned on the portal today..
Whats your device?
My next plan to modding a ROM. I read also the MIUI porting thread, that's not hard. A long time ago, with my previously phone, the Xperia X8 (miss you...), i tuned up the stock ROM and modified a cooked ROM for myself - without XDA. I registered after here.
Sent from my ZTE Blade using XDA app
LG GT-540 optimus
I know. Its really easy. Plus I tried to port MIUI by mikegapinski on cm9 by miroslav_mm.. both roms are developed for GT-540.. I do everything right but I get stuck...
I don't what to mod, I mean I don't have any ideas... so Ill try porting MIUI
Hey bro. My advice? Do some heavy softmodding first (Take lets say tejas rom and add themes, adjust framework, add tweaks, add custom animations.custom this custom that basically add what you think is nice and yeah after long you will get more and more weird ideas )

[REQ] Tut on baking in mods to your ROM

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

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

[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