Sorry if this is in the wrong section,but all I really want to know is what I need to learn in order to properly take an ruu img and build my own Rom from it. What code language? What do I need on a pc? Where should I start? I have no real background in coding, but would love to learn, and I pick things up pretty quickly. Once again sorry if this is wrong place to ask. Thanks in advance for any help and direction given.
Sent from my HTC One X using Tapatalk 2
I would also like to know this.
Sent from my One X using xda app-developers app
Nrod0784 said:
Sorry if this is in the wrong section,but all I really want to know is what I need to learn in order to properly take an ruu img and build my own Rom from it. What code language? What do I need on a pc? Where should I start? I have no real background in coding, but would love to learn, and I pick things up pretty quickly. Once again sorry if this is wrong place to ask. Thanks in advance for any help and direction given.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
SkizzMcNizz said:
I would also like to know this.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Sent from my HTC One X using xda premium
Here is a tutorial for building custom rom
http://forum.xda-developers.com/showthread.php?t=1663594
You need to post in Q&A
ROMs built off the RUUs are not "coded", they are the final product zip.
People use kitchens/manually deodex, zipalign, and others before adding their own tweaks and stuff by decompiling the APKs and editing the smali code (which is annoying as hell, FYI)
The other type of ROM is AOSP ROMs. Thats primarily what I work with, since we have the source code. AOSP is in C, C++, and Java.
If you want any help with the latter option, feel free to PM me.
rohan32 said:
ROMs built off the RUUs are not "coded", they are the final product zip.
People use kitchens/manually deodex, zipalign, and others before adding their own tweaks and stuff by decompiling the APKs and editing the smali code (which is annoying as hell, FYI)
The other type of ROM is AOSP ROMs. Thats primarily what I work with, since we have the source code. AOSP is in C, C++, and Java.
If you want any help with the latter option, feel free to PM me.
Click to expand...
Click to collapse
Go to this guy, he is a pro.
Sent from my HTC One XL using Tapatalk 2
Related
Is there a Tom kitchen I can use to build my own Tom's for the infuse? The only one I found way the one online for galaxy s and nexuses...and you can't customize like u want and if u flash it u have to use hellraiser...pls help..
Sent from my SAMSUNG-SGH-I997 using XDA App
I meant rom kitchen...LOL...stupid smart keyboard...
Sent from my SAMSUNG-SGH-I997 using XDA App
i dont know how your gonna do it but u can use my kicthen
huh?
explain? im really serious... i would like to build my own custom rom
http://api.viglink.com/api/click?fo...the-kitchen/&jsonp=vglnk_jsonp_13160194143384
this may get you going in the right direction
Tomdg07 said:
i dont know how your gonna do it but u can use my kicthen
Click to expand...
Click to collapse
dman3285 said:
explain? im really serious... i would like to build my own custom rom
Click to expand...
Click to collapse
His name is Tom, he's being silly.
No one here has created a kitchen, and so far none of the devs have any interest in creating one. Kitchens lead to ROM creators who have no understanding of how their devices work, and this is a bad thing.
I suggest that you try to find MikeyMike's ROM authoring guide, I think it's somewhere in the Captivate forums. There are a bunch of other guides too.
I suggest starting small - learn about theming and deodexing, then try to perform some small mods (e.g. modifying an existing ROM with a small CWM-flashable mod), then think about full ROMs after you've learned the smaller stuff.
Yes it was a joke, sorry for the confusion lol
Sent from my SAMSUNG-SGH-I997 using XDA App
i read on the rootzwiki forum for sensation that they successfully ported the Endeaver rom. Anyway we could get that ported to the MT4GS?
mattlowry said:
i read on the rootzwiki forum for sensation that they successfully ported the Endeaver rom. Anyway we could get that ported to the MT4GS?
Click to expand...
Click to collapse
Anything is possible, and if it was done for the sensation then there is a high chance it can be done for our device as well, since they are very similar.
Just takes someone to sit down and put time into making it happen.
I realize that you are making a request, but also that you are asking a question - so there's the answer to the question half - now it's just down to someone filling the request or you learning how to do it
i wouldnt even know where to begin...lol
Try with Dsixda's ROM kitchen.
Sent from my myTouch_4G_Slide using xda premium
Ohgami_Ichiro said:
Try with Dsixda's ROM kitchen.
Sent from my myTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
That don't support the doubleshot, I'm trying to create a file to allow the kitchen to mount for doubleshot I get 2 errors while checking the script, and they are ifelse commands for system and data, every zip I've made has had a status 7 error
Sent from my myTouch_4G_Slide using Tapatalk
Interesting, hopefully that can be resolved. It was a very valuable tool for speeding up dev times.
Sent from my myTouch_4G_Slide using xda premium
Strapped, did you see this thread about porting sense to other sense phones?
http://forum.xda-developers.com/showthread.php?t=1222746
Sent from my myTouch_4G_Slide using xda premium
strapped365 said:
That don't support the doubleshot, I'm trying to create a file to allow the kitchen to mount for doubleshot I get 2 errors while checking the script, and they are ifelse commands for system and data, every zip I've made has had a status 7 error
Sent from my myTouch_4G_Slide using Tapatalk
Click to expand...
Click to collapse
if you do some searching, you will find a post with the doubleshot config file i posted some time ago..
It might be buggy right now but would be nice to get in early instead of grandfathered into a badass project.....tired of being the lost child in big dev.......would be nice to get a great dev to join their team to make this happen sooner than later....from the pics i have seen of sense 4.0 is is bad ass...not a lot of changes but much cleaner...
Ohgami_Ichiro said:
Strapped, did you see this thread about porting sense to other sense phones?
http://forum.xda-developers.com/showthread.php?t=1222746
Sent from my myTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Yeah i tried that the other day and i got a bootloop and i was to impatitent to run a logcat cause it was tuck in time
Sent from my myTouch_4G_Slide using Tapatalk
beezie916 said:
It might be buggy right now but would be nice to get in early instead of grandfathered into a badass project.....tired of being the lost child in big dev.......would be nice to get a great dev to join their team to make this happen sooner than later....from the pics i have seen of sense 4.0 is is bad ass...not a lot of changes but much cleaner...
Click to expand...
Click to collapse
its the design you like? grab the pngs and compile a theme probably. easier than porting a full rom.especially something so buggy...
tbalden said:
its the design you like? grab the pngs and compile a theme probably. easier than porting a full rom.especially something so buggy...
Click to expand...
Click to collapse
We definitely need people to work on themes for this device - I personally am not fond of graphics work, but went ahead and made 3 tutorials on how to work with the majority of the graphics on the device that are stickied in the 'Themes & Apps' section of the doubleshot forums. They are laid out in order of progression.
The only thing someone has to do is figure out how to actually wrap it up into a theme's package that can be installed and recognized by the device. Hopefully there will be interest in this.
nicholasb said:
if you do some searching, you will find a post with the doubleshot config file i posted some time ago..
Click to expand...
Click to collapse
Here ya go:
ADK doubleshot config
But this might be more helpful:
doubleshot Partitions and Mounts
Blue6IX said:
We definitely need people to work on themes for this device - I personally am not fond of graphics work, but went ahead and made 3 tutorials on how to work with the majority of the graphics on the device that are stickied in the 'Themes & Apps' section of the doubleshot forums. They are laid out in order of progression.
The only thing someone has to do is figure out how to actually wrap it up into a theme's package that can be installed and recognized by the device. Hopefully there will be interest in this.
Click to expand...
Click to collapse
I bet it's all the same for most of the ROMs with same sense version and resolution. Best bet is to grab the given ROMs original apks for themes, like Burgundy.apk etc in the given ROM, and start modding that, decompile, change images, compile, sign...the usual stuff.
mattlowry said:
i read on the rootzwiki forum for sensation that they successfully ported the Endeaver rom. Anyway we could get that ported to the MT4GS?
Click to expand...
Click to collapse
Possible with alot of work the problem is the Endeavor uses a bigger screen. I'm using a MIUI Port from the Sensation with the same issue then you have the issue of the keyboard.
This for those this a great , aw some step by step tutorial with in depth nareation on how to truly build Android . I have yet to see a tutorial that is deeper than ripping and repackaging a Rom. This teaches it all to you
Android Development.
http://www.youtube.com/watch?v=1_H4AlQaNa0
In this two-part series, Marko is going to show you how to build a custom Android ROM from scratch. This series will cover:
Building Android From Source
- Setting up your machine
- Getting the source code: git and repo
- Building the source code
- Android project layout - what is what
Building Custom Android ROM
- Customizing the build
- Adding and removing applications
- Rooting the device and modifying users
- Modifying startup process
- Installing native libraries
Modifying Android Frameworks
- About Android frameworks and services
- Sensor service
- Telephony service
- Multimedia framework
I glad to engage in this work. I now start learning
PrakashGD said:
I glad to engage in this work. I now start learning
Click to expand...
Click to collapse
Look here:
http://forum.xda-developers.com/showthread.php?t=1404442
This was way too much. Still didn't help with other problems.
See what it was trying but for a newb want the best tutorial.
Sent from my SPH-L710 using xda app-developers app
This tutorial is brilliant im surprised there isnt more like this!
fabzbear said:
This was way too much. Still didn't help with other problems.
See what it was trying but for a newb want the best tutorial.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
No offence but If this tutorial is way to much, you should even be considering building a custom rom
JoinTheRealms said:
This tutorial is brilliant im surprised there isnt more like this!
No offence but If this tutorial is way to much, you should even be considering building a custom rom
Click to expand...
Click to collapse
Let me rephrase what I said because I'm reading it now and I can see why it came across like that.
The tutorial is ok and it shows a couple in depth stuff but it doesn't fully cover everything, not the little things I've had to go around xda to find to make my build work.
Simply put it not a full tutorial but it comes close.
Sent from my SPH-L710 using xda app-developers app
AWESOME and thanks for posting, definitely checking this out =D =D =D
i will definitely check this out! thanks!
Does it work on Windows Vista?
Thanks for sharing!
fabzbear said:
This was way too much. Still didn't help with other problems.
See what it was trying but for a newb want the best tutorial.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I feel your pain bro.
Wasnt that long ago when I was a noob too
However, I suggest you check out this dudes post. Helped me a lot back then.
peace B|
http://forum.xda-developers.com/showthread.php?t=1862782
Does this really helped anyone??
I just wanna know because i own a non famous android phone which has very less roms and mods so i just wanna use this method to compile
ROMs for my phone from sources like cm repos.
i used to make pots roms for the lg p500, i tried to make one for my atrix 2 and nothing, i asked to some developers of atrix 2 (very famous by the way) and i tell them how i make those ports and they tell me that it was other metod for our atrix 2, and NEVER TELL ME WHAT WAS THAT METOD, I ASK LIKE 3 MORE TIMES AND NEVER GET AN ANSWER. It was depressing :crying::crying::crying:
Hi thanks for posting this tutorial and for your work. One thing would like to ask is if anyone no's of some more links or books as I would like to learn how to code and correct bugs and add features to ROMs or build my own. I would greatly appreciate any help thanks in advance.
I know the SDK has AVD, but it's outdated and extremely slow. You can install custom roms on it but only older ones because its based on the yaffs2 filesystem and most current roms use EXT4. I had high hopes for bluestacks too but its locked down pretty tight and I don't see us being able to flash roms to it anytime soon. We have emulators for pretty much everything else, something like this shouldn't be too hard if we work at it. Dynamic recompilation seems to be the best way to go, but feel free to give input if you feel otherwise.
I guess our starting point should be here: http://fms.komkon.org/EMUL8/HOWTO.html
The man who wrote the guide above is some high-end developer that builds emulators for Android, but he seems to be pretty knowledgeable. He has an email you can contact him if you need help with a specific thing: [email protected].
As they come in, I'll list all the information regarding developments in this project in the post below.
Reserved
Reserved
Wow! Looks an excellent project for Devs
I have few questions
1. Will be there a possibility to define and emulate specific devices?
2. How ROMs are flashed, the emulator will have a recovery too?
3. How many of you are working on it?
varun.chitre15 said:
Wow! Looks an excellent project for Devs
I have few questions
1. Will be there a possibility to define and emulate specific devices?
2. How ROMs are flashed, the emulator will have a recovery too?
3. How many of you are working on it?
Click to expand...
Click to collapse
1.) One of the goals would be hardware and kernel emulation, I would imagine they could be set as variables where you could input your own kernel and we could make some predefined hardware options for you to choose from. It would be hard but I think it could be done.
2.) I don't exactly know, but seeing as that's how we already do it we could try. Early alphas would probably be more of a "kitchen" where your menu is in the terminal and you manually put your files in the respective folders.
3.) Just me at the moment, I haven't found anyone to help. I haven't really made too much progress either, right now I'm decompiling AVD to figure out how it runs.
If this works, it would be a lifesaver. I say we should PM you any predefined device settings we want, and have a drop down list that automatically sets it. And to emulate recovery I don't see happening like on our devices, but maybe some of the wipe features, and flashing over a current rom? Also anything you need for help I can do, just ask. I'm good at design, and UI, just can't create it myself. And can you possible make it cross platform? Because I switch between windows and Linux.
Sent from my NookTablet using xda app-developers app
evodev said:
If this works, it would be a lifesaver. I say we should PM you any predefined device settings we want, and have a drop down list that automatically sets it. And to emulate recovery I don't see happening like on our devices, but maybe some of the wipe features, and flashing over a current rom? Also anything you need for help I can do, just ask. I'm good at design, and UI, just can't create it myself. And can you possible make it cross platform? Because I switch between windows and Linux.
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
I'm using Ubuntu 12.04 right now, so it's going to be Linux at first but once its stable enough the plan is to make it cross-platform. And I do need help, I need all the help I can get! Hence community project haha.
flapflip22 said:
I'm using Ubuntu 12.04 right now, so it's going to be Linux at first but once its stable enough the plan is to make it cross-platform. And I do need help, I need all the help I can get! Hence community project haha.
Click to expand...
Click to collapse
I can live with Linux at first. And I know, but I mean any help a non-coder can give. I will at least test it, and give some device specifics, but anything else that I can really do?
Sent from my NookTablet using xda app-developers app
evodev said:
I can live with Linux at first. And I know, but I mean any help a non-coder can give. I will at least test it, and give some device specifics, but anything else that I can really do?
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
Either way, I appreciate the help! Ill PM you if I need a tester and you should pop in every once in awhile to see how things are coming along. I'm not going to lie, this is harder than I thought it was but it seems do-able the more I study AVD.
I'm thinking we might be able to change the filesystem on AVD to run EXT3/EXT4 and get it to run a little smoother and build it to run without eclipse, then modify it to fit our needs.
That's sound good. And anyone who would get the most use of it would be fine with a terminal based one right now, and you can work on a GUI later unless someone else helps you soon. I'll keep checking as this comes along, hopefully it won't take too long to get a preview working.
Sent from my NookTablet using xda app-developers app
I am too up for testing!
You can use Qt for GUI, its easy.
Its based on C++ and hence is very fast than other GUI libraries.
varun.chitre15 said:
I am too up for testing!
You can use Qt for GUI, its easy.
Its based on C++ and hence is very fast than other GUI libraries.
Click to expand...
Click to collapse
Any chance you would know how to use it and can help him?
Sent from my NookTablet using xda app-developers app
evodev said:
Any chance you would know how to use it and can help him?
Sent from my NookTablet using xda app-developers app
Click to expand...
Click to collapse
Yes I can
You can see my tool in my signature. It is based on Qt
varun.chitre15 said:
Yes I can
You can see my tool in my signature. It is based on Qt
Click to expand...
Click to collapse
That's good. And your sig isn't showing up in the tapatalk app.
Sent from my NookTablet using xda app-developers app
I feel pretty confident in this project, I'm going through Androids source code starting with 1.5
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
flapflip22 said:
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
Click to expand...
Click to collapse
Great
Do lemme know if you need any help with GUI
Originally Posted by flapflip22
I've been thinking this over, it would be much easier to add EXT3 and EXT4 support to AVD and tweak it for speed. Im working on it now, ill try to get an early alpha out as soon as I can put it together.
Click to expand...
Click to collapse
Great
Do lemme know if you need any help with GUI
Click to expand...
Click to collapse
Will do!
I'm not asking for an eta or anything, but have you got anything working yet, or still looking at the code? I really want to try this out soon.
Sent from my NookTablet using xda app-developers app
What is the status?
Hi guys,
First I must begin by saying that I am not a developer. However, using this: (http://forum.xda-developers.com/showthread.php?t=1908008) thread, I have managed to "port" Android L to the One, though I have no clue if it even boots. There are a few problems that need to be discussed:
1) AOSP ROMs are around 400 mb? This one is 900+ mb.
2) When I was zipping the ROM, I saw Prism.apk was also in it, and a heck lot of other HTC related things.
3) Will the current kernel for KitKat work smoothly on L?
Anyway, this is my first step to being a potential developer and hope you all get excited for this. I do have one request though, if I can get a few devs to work with me on this, we can get to new heights on our One.
You can download the zip I created here: https://drive.google.com/file/d/0B4JA1Kc3xlxiZUw2XzNzM1NKMVU/edit?usp=sharing
DISCLAIMER:
I AM NOT RESPONSIBLE IF YOUR DEVICE GETS BRICKED.
Thanks in advance,
the playa!
Can you attach the Build.prop file?
If you're going to post it at least try it yourself first man, this could brick everyone's device.
Sent from my HTC One using XDA Premium 4 mobile app
jukiewalsh said:
If you're going to post it at least try it yourself first man, this could brick everyone's device.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Did you miss the [Dev-Only] in the title? Every flash on your device could brick it if you aren't careful, nothing unique with this build. If you don't want to risk it, don't flash. Simple as that.
eaglerazor123 said:
Can you attach the Build.prop file?
Click to expand...
Click to collapse
Sure: https://drive.google.com/file/d/0B4JA1Kc3xlxiWHJOV1JnS3FCRzg/edit?usp=sharing
But as far as I remember, I did not do anything to it. The base ROM that I used was a stock deodexed Sense 6 ROM and the port ROM I used was the system dump from Android L, if that helps.
Snusdus said:
Did you miss the [Dev-Only] in the title? Every flash on your device could brick it if you aren't careful, nothing unique with this build. If you don't want to risk it, don't flash. Simple as that.
Click to expand...
Click to collapse
Okay fine, all I'm saying is there's already a thread on this in the general section so its almost pointless to post something else if it hasn't even been tested or is just like the other. There's already work being done on this...
Sent from my HTC One using XDA Premium 4 mobile app
jukiewalsh said:
Okay fine, all I'm saying is there's already a thread on this in the general section so its almost pointless to post something else if it hasn't even been tested or is just like the other. There's already work being done on this...
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Whoops. Seems like I missed that. Mods please close this thread then.
Sent from my HTC One using XDA Free mobile app
http://forum.xda-developers.com/showthread.php?t=2799195
That's the other thread
Sent from my HTC One using XDA Premium 4 mobile app
---------- Post added at 04:34 PM ---------- Previous post was at 04:31 PM ----------
Im not a dev just a general user but I don't think we should be creating these types of threads if you don't know what you're doing. Let the real devs do their work if it was as easy as following a copy/pasting port guide every device would already have a l build. Just be patient and eventually a nice dev will maybe make some magic happen for us.
Sent from my HTC One using XDA Premium 4 mobile app
the playa! said:
Sure: https://drive.google.com/file/d/0B4JA1Kc3xlxiWHJOV1JnS3FCRzg/edit?usp=sharing
But as far as I remember, I did not do anything to it. The base ROM that I used was a stock deodexed Sense 6 ROM and the port ROM I used was the system dump from Android L, if that helps.
Click to expand...
Click to collapse
This ROM will not work, period. The reason is because you did not follow step 1 of the guide which states quite clearly:
"Take any clean CM9, AOSP, CM7, CM10, CM11 ROM which is running on your device as Base ROM."
Now, don't know about you but I do not think a stock deodexed Sense 6 ROM counts as any of those mentioned in step 1... that is why you are seeing HTC things in the ROM.
Jonny said:
This ROM will not work, period. The reason is because you did not follow step 1 of the guide which states quite clearly:
"Take any clean CM9, AOSP, CM7, CM10, CM11 ROM which is running on your device as Base ROM."
Now, don't know about you but I do not think a stock deodexed Sense 6 ROM counts as any of those mentioned in step 1... that is why you are seeing HTC things in the ROM.
Click to expand...
Click to collapse
Ah. Thanks for pointing that out. I will update the zip file today.
the playa! said:
Ah. Thanks for pointing that out. I will update the zip file today.
Click to expand...
Click to collapse
It will not work just by using that guide; The bases are just too different.
the playa! said:
Ah. Thanks for pointing that out. I will update the zip file today.
Click to expand...
Click to collapse
no man, you can not do this because we have not a base for L! so it should be ported compiling source and fixing bug and issues...is not a thing that you find in a guide
estabien said:
I think your best bet would be to download the Nexus 5 sources and then do some "patchwork" with HTC One libs and whatnot, when needed. The good thing is that they are both at the same resolution and have similar specs.
And after you're done with that, you should be able to build with a couple of adjustments to various build-related things.
EDIT: Also, there will probably be issues with kernels? so you'll have to work through that also.
Click to expand...
Click to collapse
You can't be patching and copy/pasting libs. No zip modding when it comes to porting big base changes
You'll need to decompile and redo your ramdisk etc. And like jonny said you can't be using sense and gpe parts
Sent from my HTC One using XDA Premium 4 mobile app
Android L Keyboard in Play Store
I just wanted to note that there's a third-party application "Android L Keyboard" by Shen Le in the Play Store which I've been using on the latest CM11 nightlies that works great.
I understand that's not the point of this project but I just wanted to make sure other users are aware. Also, it's kind of scary to have to trust that a keyboard from the Play Store isn't logging and reporting your keystrokes but that's another issue entirely... anyways I added a screenshot, good luck with the project!
:good:
Thread has been closed at OP's request,
Many thanks,
Ghost