Q - A guide to basic ROM build - Galaxy S III Q&A, Help & Troubleshooting

Can anyone point me in the right direction? I wanna build a simple ROM based on another (SuperNexus most likely). Lets say I want to add cLock, Silent Hours and swap the kernel out for siyah.
Is it as simple as unzipping the ROM => adding the apks => Zipping back up again?
I guess the kernel might be a bit more complex
I see this is a getting started thing, so please treat me like the idiot I am

seanel said:
Can anyone point me in the right direction? I wanna build a simple ROM based on another (SuperNexus most likely). Lets say I want to add cLock, Silent Hours and swap the kernel out for siyah.
Is it as simple as unzipping the ROM => adding the apks => Zipping back up again?
I guess the kernel might be a bit more complex
I see this is a getting started thing, so please treat me like the idiot I am
Click to expand...
Click to collapse
Check Google or xda-university
Sent from my GT-I9300 using xda app-developers app

XDA Forum Android .
http://www.infamousdevelopers.com/i...php?f=25&sid=62404d1832625ecc65d50a54414e9bb8
jje

Related

[ROM]mySlide-1.0.2

mySlide-1.0.2
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
This is just what I want, not necessarily what you want http://www.mediafire.com/?tstgikwhfezj6ph
This Rom will mostly be unsupported and unmaintained.
Flash at your OWN RISK.
What it is:
Stock slide rom.
added busybox
added netcat (busybox nc isn't good enough for me)
added bash
added htop
removed link toolbox->df (prefer the one in busybox)
removed link toolbox->rm (prefer the one in busybox)
changed the default animated boot ADVERTISEMENT and jingle
pngcrushed and zipaligned apks (with the execption of one) to save some space
Kangs:
what isn't.
maybe a few more little changes I forgot.
changes:
from 1.0.0 to 1.0.1:
added a2sd (from eugene373's smr5r1. breaks boot animation)
added default themes back.
from 1.0.1 to 1.0.2
added e2fsck
mySlide-1.0.0-signed
mySlide-1.0.1-signed
mySlide-1.0.2-signed
Themes in this are broken (1.0.0 only). If you want the default themes back then flash this...
themes-signed.zip
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
jriv said:
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
Click to expand...
Click to collapse
I sure hope so, but only time will tell.
That would be sick wonder how high this processer can go?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Is the IM app erased in this and the tmobile app pack? i hate those apps
Nevermind i used ur rom and erased the files and signed it again. Thanks for the rom
dumfuq said:
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
Click to expand...
Click to collapse
Not sure why you say that (in those words), but this does look decent!
Also, noob question, but are the stock ROMs (apps included) not zipaligned by default?
Yup they were already zipaligned. At least the ones I just checked
Honesty I didn't even look first. The crush actually takes off about 10Mb though.
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
kingofyo1 said:
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
Click to expand...
Click to collapse
Not exactly sure if this is what your asking but basically...
You need the kernel source code to edit (the legend kernel source has the espresso board files),
A handy dandy text editor (like vim),
a cross-compiler (There is one under prebuilt/linux-x86/toolchain in an AOSP or cyanogenmod build environment),
and a linux environment (cygwin might work not really sure).
1. download source
2. unpack source
3. edit source
4. set environmental variables
4. compile source
5. make a boot.img or an update.zip
Obviously that's incredibly simplified, but hopefully you get the idea.
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
good question. a2sd is a plus
you don't put them in anywhere. you can download and install them. there's a thread already with a small pack of themes to download and install. You install like any other APK. Search this forum section for them.
NiN39Z said:
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
Click to expand...
Click to collapse
The PNG crush killed the stock themes. If you want them back you can either boot to recovery and push the original ones to /system/app/ or just flash this...themes-signed.zip. That is just an update.zip that will copy the original themes back to your phone.
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
Nope, no a2sd.
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
btate0121 said:
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
Click to expand...
Click to collapse
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
dumfuq said:
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
Click to expand...
Click to collapse
what is the difference between your customized version and the regular?
btate0121 said:
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
Click to expand...
Click to collapse
what were the links they seem like the ones i have been looking for lol! i can already unpack and repack a boot.img im just looking for the steps i need to add to get aps2sd to work! i had a link explaining it but i cant find it anymore or google it!

[Q] How to build a personal Kernel ?

Hi,
I want to know if a DEV or more can share some information about kernel creation,
I want to try to build one but i don't know really how to do
I want to know how build from official source
I want to know how modify existing kernel
that in order for example to modify some file in order to use the kernel i want and add the files i need or modify it in order to use it 100% with my device
if any one can help it will be very appreciated
Update: The question is about CM7 Kernels like if i want make a I9000CM7 kernel work on my fascinate, i already know the file to modify but need to know what i need to have to do this
Any link, experience, ect
Here, this covers htc but also has good general info and galaxy s phones, might not be exactly what your looking for but full of good info. http://forum.xda-developers.com/showthread.php?t=633246
Sent from my SCH-I500 using XDA Premium App
Thank you
i'm looking it right now

Community rom

I believe it's time for us mophos to come together and make an up to date community rom. We can use yays deodex base, shabby and i will cover the kernel. Loki could handle webtop, and of course everyone can theme/pitch in. This will be multiple roms of course. As much as I want cm7 I love webtop(loki thank you so much). I will eventually try to help with cm7 and maybe an aosp with webtop still attached and some cm7 goodies. The everything is there for people to start making roms. Repack yays newest how you like with an oc kernel maybe some scripts themes and edit and bam. You a dev. When I get the time I'll make a starter pack so everyone can contribute. Till then ask, Google and at least try instead of complaining.
Sent from my MB855 using XDA App
I'm heading to Google right now. Is there a specific Linux distro better suited ex. 64 bit vs 32 bit?
Sent from my MB855 using XDA App
64 ubuntu.
Sent from my MB855 using XDA App
To build anything GingerBread and up you will have to have a 64 bit os - supposedly you can trick it, but I haven't had any luck with that so far on my old machine that is stuck in 32 bit hell.
I have 64-bit Windows 7 at home...I can assist if necessary...the only thing is that I'll need clear instruction on what to do..cuz I don't have a clue where to begin.
KTT16 said:
I have 64-bit Windows 7 at home...I can assist if necessary...the only thing is that I'll need clear instruction on what to do..cuz I don't have a clue where to begin.
Click to expand...
Click to collapse
1) Start with getting rid of that Virus you have....Windows. Install a dual boat of Ubuntu x64 if you must have windows.
2) Install the Android SDK for Linux.
3) Google has a good walk through on how to build a Vanilla version of Android - not specific to any device - except maybe the emulator....but I'm not sure if it is or not.
3a. It takes a long time to download the source....
teh sdk is not needed. tahts if you wanna build apps. you guys do realize that to build a rom you dont need a certain os or anything? granted having linux makes it easier. now if you want to compile aosp or cm7 from source you will need 64 bit linux (preferably a debian/ubuntu based release)
all you need to make a rom is take the files off your phone and edit them.. there are a gazillion tweaks out there that could be brought over from other phones and made to work on it. the only roms you are going to be compiling at this time wont have voice/data just like cm7
Unless someone builds from motos src
shabbypenguin said:
teh sdk is not needed. tahts if you wanna build apps. you guys do realize that to build a rom you dont need a certain os or anything? granted having linux makes it easier. now if you want to compile aosp or cm7 from source you will need 64 bit linux (preferably a debian/ubuntu based release)
all you need to make a rom is take the files off your phone and edit them.. there are a gazillion tweaks out there that could be brought over from other phones and made to work on it. the only roms you are going to be compiling at this time wont have voice/data just like cm7
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
idk how it is in moto land but the samsung "platform" source was never even enough to get a booting version of android on that phone
Sounds cool Ill try it out when it gets made
personally id be happy to get rid of motorola's widgets and stuff and run a generic rom. they are butt ugly
Ryan92394 said:
Sounds cool Ill try it out when it gets made
Click to expand...
Click to collapse
Smh
Sent phrom my Mo-Pho
UOT Kitchen
Hey joker - per your request:
UOT Kitchen - http://uot.dakra.lt/kitchen/ - An easy way to theme
How to use it for our Photon (some mods do not work on it unfortunately)
1) Copy your framework-res.apk and SystemUI.apk from the framework and apps folder onto your computer's desktop
2) Whichever mod you want, click on the tab on the horizontal nav menu and click "Use this mod". Choose the mod. Ex: Battery Mod - Click Battery, Click "Use this mod", and then choose which battery icon you want. You can also change the color of the percentages as it drains down by using a HEX code at the bottom of the page. You can even see the preview so you know what the mod looks like.
3) When ready to cook your new theme, go to the File Upload tab
4) Select "AMEND SCRIPTING" on the left menu
5) Deselect "Generate Preview for Theme Chooser"
6) Select "System Files" from the right menu and upload the framework-res.apk and SystemUI.apk files. Ignore the other two.
7) Once they upload, go to summary and click "Submit work to kitchen" there'll be file name that you should probably write down so you don't forget it.
8) Wait for your theme to cook and once it's ready (it could take a while), download it and put it on your sdcard.
9) Get into ClockworkMod or Bootstrap Recovery and wipe both cache and dalvik cache
10) Install the UOT zip file
11) Reboot and enjoy your new theme
you want edify scripting, amend should have been phased out in cwm 3.x
By mistake I did edify scripting and I got an error when trying to flash the UOT zip. Then again, I did flash via Bootstrap so I'm not sure if that's the reason. Anyway, if you're using Bootstrap, amend scripting is the way to go.
Best,
K
yea tahts because teh edify scripting requires mounts, and since the kitchen is old and outdated it doesnt auto detect /system so you need to go in and add it properly as we arent a true mtd device
Ok well my rom is uploading if anyone feels like theming go ahead, the best theme will become default on all nonstock joker roms, and we really need our own cwm shabby
Sent from my MB855 using XDA App
bleh but making cwm is such a PITA, porting tends to be worlds better, sides isnt the version we have now like 99% working.. its just not official?
I agree im just sayin
shabbypenguin said:
bleh but making cwm is such a PITA, porting tends to be worlds better, sides isnt the version we have now like 99% working.. its just not official?
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
sides id much rather get twrp working for twrp 2.0 the fully touchscreen modable recovery

In need of help creating ROM

My head is bleeding inside from all the reading and searching. I still consider myself a green when it comes to the makeup of android. I am a 40+ windows hacker who is not afraid to take a stab at anything. But I really need a few pointers here.
I am a stock ROM bare bone junkie. I like them clean with just a touch of modding for flare. And Electron, BigFau, and Flapjaxxx has already conquered the UCLF6 ROM. High Five for you 3. :highfive: Since nobody is thinking outside of ATT, I wanted to get a zipaligned, deodexed Rogers UXLF4 version going. It seems to have less bloat to start, has less restrictions (ex: hotspot activated even when using on ATT), and has features such as being able to select Network Mode (Ex: GSM only, HSPA only, GSM/HSPA, or LTE/GSM/HSPA) which the ATT ROM does not. What I have to start is a combine tar file. It includes amss.bin, boot.img, cache.img.ext4, mdm.bin, recovery.img, and system.img.ext4.
I finally ended up creating a version with Dsixda kitchen. Haven't installed it yet, but I am about to. Is the Dsixda a good way to start for a newb like me? Or should I be looking at xUltimate instead?
2 things right off the top that has me betwiddled is how to add the radio to the ROM with Dsixda. Seems everyone else has the AMSS and MDM in a tmp folder and these lines in the updater-script:
package_extract_dir("tmp", "/tmp");
run_program("/sbin/dd", "if=/tmp/mdm.bin", "of=/dev/block/mmcblk0p17");
run_program("/sbin/dd", "if=/tmp/amss.bin", "of=/dev/block/mmcblk0p13");
Is it as simple as that? Now take it easy guys on the answer.......
And the other is everyone's updater-script is similiar to each other, but way different than the one created with dsixda. Almost from the same template. So I know these weren't created completely from scratch. Almost leads me to believe that everyone is using different software/kitchen.
So how bout a firm but gentle kick in the right direction?
Nobody has anything to say??
You would be better off posting in the dev's section.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
wish I could help brother..... but if your green, I'm glow in the dark neon green!!
I would ask a dev direct...
Bold yes, but if done politely, the are very helpful...
I wish you good luck sir!!!.....g
P.s......I'll test for you if you need them.....g
True
I was thinking the same thing, maybe ask a dev. I am sure that some might be more than willing to help/share their knowledge ?
Some list an IRC so you can chat. Its a little easier to troubleshoot code in a chat sesh rather than passing PM's back and forth.
It would'nt have to be a note dev.
curious did anythign come of this... i am interested in a rogers ics based rom myself
Did you receive any help yet ? I'm not a devloper, but I will try and help you.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
No sir, or should I say BigSir, I received no help yet. First post pretty much says it all. Every ROM I checked out on here has the same updater script. I used Dsixda kitchen and mine was not the same. Plus after reading almost every page in the kitchen thread I saw no way to add the modem. Was going to hack away at it this weekend again. Would really like to get this stock ROM going for everyone and to give something back to XDA. I just need some pointers.
Agoattamer said:
No sir, or should I say BigSir, I received no help yet. First post pretty much says it all. Every ROM I checked out on here has the same updater script. I used Dsixda kitchen and mine was not the same. Plus after reading almost every page in the kitchen thread I saw no way to add the modem. Was going to hack away at it this weekend again. Would really like to get this stock ROM going for everyone and to give something back to XDA. I just need some pointers.
Click to expand...
Click to collapse
Start off with xUltimate. I have used it in the past and it's pretty decent for a beginner or novice. Whatever. Lol. Honestly if you just need the updater-script,you could use the updater-script from another rom. Just make the appropriate changes.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I will give xUltimate a try. Just seemed all ROMs had almost the same updater script and were much bigger than the 1 had created. I wouldn't know what to use from another updater script. I am totally a newb here.
Will xUltimate create a CWM install file? Doesn't that just deodex an installed odex ROM?

Building a Custom Rom / Kitchen Help

Lately I have been interested in Creating / Building my own Rom. I want to do this, for the experience, and the knowledge of how a Rom works. So far I have set up the Kitchen and a working Directory but using this Tutorial. - [Ultimate Guide].
Right now, I just want to add/remove certin items - .apks - just to get a feel of how the process works.
My question is, which Roms can I test with and change around the different .apks? SO far I have tried both the Avatar Rom 2.9b and CM 10.1. BOth of them have given me errors within the Kitchen about using them.
Also if this confusing or the wrong way of approaching this, please let me know
EHB
Eighthourblink said:
Lately I have been interested in Creating / Building my own Rom. I want to do this, for the experience, and the knowledge of how a Rom works. So far I have set up the Kitchen and a working Directory but using this Tutorial. - [Ultimate Guide].
Right now, I just want to add/remove certin items - .apks - just to get a feel of how the process works.
My question is, which Roms can I test with and change around the different .apks? SO far I have tried both the Avatar Rom 2.9b and CM 10.1. BOth of them have given me errors within the Kitchen about using them.
Also if this confusing or the wrong way of approaching this, please let me know
EHB
Click to expand...
Click to collapse
Go to the main page of xda and click on android and look through there enough guides to get you going
Sent from my XT910 using Tapatalk 2

Categories

Resources