Tutorial - T-Mobile Samsung Galaxy S6

Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.

jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.

ThePagel said:
It depends, stock or aosp? With a stock rom just download one already made and a untouched stock system then figure out how the developer did what he did then make your own with the knowledge you gained. You will probably need a kitchen to make the installer script because that is a pain to do yourself. Aosp is a whole different bag of marbles but cyanogenmod has a good tutorial on how to do it and that knowledge will transfer to non cyanogenmod builds as well. If you are not competent with Linux learn that first. I would suggest arch Linux because it will force you to learn the command line. cygwin won't compile aosp so don't even think about trying that shortcut.
Click to expand...
Click to collapse
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.

jimmydee62 said:
I appreciate your feed back and I want to start with stock and go from there. I've programmed before which was done by writing all the code just not android. That is why I'm asking for tutorial to show me what, where, and when. It is not something just because I'm curious I really want to get involved and see if it is worth my time. So I need to know as much up front as possible which once I understand that then I can go forward.
Click to expand...
Click to collapse
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).

ThePagel said:
Not much coding in stock, more like shuffling stuff around. The closest thing to programming with custom stock roms is the edify script (installer script).
Click to expand...
Click to collapse
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.

jimmydee62 said:
What I mean is command line will not be a problem for me since I have written code before which uses a type of command line. I'm looking for the tools needed to do the roms you say something about kitchen and what else? Maybe I'm just making this harder then I need to but I'm just trying to learn how to make roms of my own and need a place to start.
Click to expand...
Click to collapse
Yeah I don't know of any tutorials, other than what I suggested in my first post your best bet is to just jump in head first and use google when you get stuck.

If you go to infamous rom developments webpage which I can't post here because I will get in trouble. He has a full step by step guide how to do everything from stock roms to aosp and even kernels.

jimmydee62 said:
Can anyone point me in the right direction where I can find a tutorial for how to make roms for the Samsung galaxy s6.I'm a beginner so I need to know which files as well as how to use them. Any help is greatly appreciated.
Click to expand...
Click to collapse
^^^^^^^ check it out.

jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
Thank will check it out.

jonahtriangle said:
^^^^^^^ check it out.
Click to expand...
Click to collapse
jimmydee62 said:
Thank will check it out.
Click to expand...
Click to collapse
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.

ThePagel said:
I went to check out that guide to make sure you are going in the correct direction and found it wants you to use the old dsixda kitchen which has been abandoned. Use archi kitchen instead http://forum.xda-developers.com/showthread.php?t=2597220
Try to use the kitchen for compiling the installer script only, you'll figure stuff out faster that way.
Click to expand...
Click to collapse
Thanks for the update have downloaded it and will try it out tomorrow.

Good info in here.
Sent from my SM-G920T using Tapatalk

This is a basic question, but for the life of me I can't find a tutorial in how to deodex system files for the S6 that actually work. Tried a few but afterwords when decompiled they don't show smali files. Anyone have a way to do this?

Related

what do u want in a how to make rom

I am going to make a how to make a rom tread. What do u guys want to see in it
I am going to show u how to get ubunbu running on windows and how to make a rom. So list other stuffs I could do
mohsinkhan47 said:
I am going to make a how to make a rom tread. What do u guys want to see in it
I am going to show u how to get ubunbu running on windows and how to make a rom. So list other stuffs I could do
Click to expand...
Click to collapse
I'd like it to be proof-read by somebody else. Not meaning to be disparaging to your possible skill, but a guide written with the same rampant disregard of English shown here is likely to lead to confusion. Guides and tutorials should be written mindful of the fact that exactness and clarity is required.
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
It would help if there was a list of hero apps that would work when creating a normal G1 rom (not hero).
uansari1 said:
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
Click to expand...
Click to collapse
Look in the theme forum for stericson's auto-signing tool. You can sign roms with it. Its reallyeasy to set up and you can use it to sign .zip files. Its what i use with all my themes and it works great
I am at work on my phone right now but when i get home i will edit this post with a link to it if i remember
david1171 said:
Look in the theme forum for stericson's auto-signing tool. You can sign roms with it. Its reallyeasy to set up and you can use it to sign .zip files. Its what i use with all my themes and it works great
I am at work on my phone right now but when i get home i will edit this post with a link to it if i remember
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=473580
That link? Can you post a how-to, or just PM me the directions? I have no experience with how to do any of that stuff... What's the SDK?
uansari1 said:
http://forum.xda-developers.com/showthread.php?t=473580
That link? Can you post a how-to, or just PM me the directions? I have no experience with how to do any of that stuff... What's the SDK?
Click to expand...
Click to collapse
I can help you when i get home tonight. Will you still be up or on in like 3 hours or so? I will be able sometime around that (its 9:10pm where i am)
uansari1 said:
I would really like to know how to sign a ROM... mainly because I'd like to be able to modify existing ROMs with different apps and ringtones prior to flashing, which would be MUCH easier than having to do everything through Terminal after flashing.
Click to expand...
Click to collapse
here you go:
http://forum.xda-developers.com/showpost.php?p=3786249&postcount=181
I'd like a section dealing with modifying-upgrading the kernel, ramdisk, and really anything dealing with the boot and recovery images (since I've already learned most of the workings of the system partition)
Ssantos6981 said:
It would help if there was a list of hero apps that would work when creating a normal G1 rom (not hero).
Click to expand...
Click to collapse
We have HTC Music......there's your list
The HTC camera from the HTC Magic/Sapphire has also been ported.

making my own rom question

i have a question i wanna make my own rom and be a developer but i have some questions....i have a compaq windows vista laptop and im wonderin whats the procedures and the tools in order to make one.....im reading i need to partion my entire hard drive and all....whats the easiest way to make a rom..any help would be appreciated....
Pepe101 said:
i have a question i wanna make my own rom and be a developer but i have some questions....i have a compaq windows vista laptop and im wonderin whats the procedures and the tools in order to make one.....im reading i need to partion my entire hard drive and all....whats the easiest way to make a rom..any help would be appreciated....
Click to expand...
Click to collapse
You will first need to grab the SDK and then grab the source code. You won't be able to compile it windows you will need to use linux. And of course there's alot of other things but I don't build roms so I can't tell you everything involved. Just my .02 cents.
Also there are a couple threads about this so search and see what they say.
supremeteam256 said:
You will first need to grab the SDK and then grab the source code. You won't be able to compile it windows you will need to use linux. And of course there's alot of other things but I don't build roms so I can't tell you everything involved. Just my .02 cents.
Also there are a couple threads about this so search and see what they say.
Click to expand...
Click to collapse
yea ive been searchin and ur .02 are appreciated.....so im pretty much gonna need another cpu if i dont wanna mess up my laptop...i have a desktop also so i guess i should use that instead??
Pepe101 said:
yea ive been searchin and ur .02 are appreciated.....so im pretty much gonna need another cpu if i dont wanna mess up my laptop...i have a desktop also so i guess i should use that instead??
Click to expand...
Click to collapse
Well you could set your laptop to have 2 OS's on it. So you can dual boot, one to windows and one to linux.
oooh ok thanks so all i do is just download linux then and im able to make roms??
Well downloading, installing as dual boot, and configuring Linux as well as the SDK is a good start. There is quite a bit more involved than you think and getting to know your way around linux is the best advice you're going to get as a start. Linux is a lot more than just point and click. I am sure there are many online books and forums to get you a basic knowledge if operating in Linux. I wish you luck.
knowfear said:
Well downloading, installing as dual boot, and configuring Linux as well as the SDK is a good start. There is quite a bit more involved than you think and getting to know your way around linux is the best advice you're going to get as a start. Linux is a lot more than just point and click. I am sure there are many online books and forums to get you a basic knowledge if operating in Linux. I wish you luck.
Click to expand...
Click to collapse
thx.....yea im lookin around just tryin to make my own rom and be on point......any more info like any good sites i can go to??
Pepe101 said:
thx.....yea im lookin around just tryin to make my own rom and be on point......any more info like any good sites i can go to??
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=563514
Here's one of the threads I was talking about.
thx to the both of ya'll i cant wait to get this rolling....
http://www.ubuntu.com/
http://developer.android.com/sdk/1.6_r1/index.html

Make a Rom?

I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"
Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...
Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.
Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.
Is it me, or does that guy have more then one account...
At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!
Bump?
I'm sure somebody knows something
What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD
Dude, you're awesome, thanks!

[Q] Searching for an automated way to deodex and zipalign

There are some ROMs around that are deodexed and zipaligned. The ROMs around here unfortnately are themed (not to my taste) and/or have removed Samsung stuff that i use. I want a nearly untouched FW (i remove a few Samsung apps on my own).
So i'm searching for an automated method (that can also be used for future FWs) to deodex and zipalign the files of my phone (maybe only some binaries or java applications and a batch file).
I can manage to pull/push all files from/to /system/app and /system/framework but i'm not able to do the rest...
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
dutchcow said:
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
Click to expand...
Click to collapse
I just wanted to create a thread about MODIFYING / CREATING CUSTOM ROMS FOR THE i9000.
Does anyone know how to modify (for example, Tayutama's JPM Full ROM) ROMs?
I googled and just found some HTC ROM HowTo's.
Check my signature for all the tools u shud need in terms of deodexing, editing apks, creating signed update.zip. Thats all you really need i think :\
A zipaligner is missing.
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Adevem said:
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Click to expand...
Click to collapse
+1, i want to do this myself too , and let devs do more imporant things
Could someone with more knowledge help us out with the basics?
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
PIRATA! said:
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
Click to expand...
Click to collapse
Quite an old topic, you'd be better off just creating a new thread.
Use this: http://forum.xda-developers.com/showthread.php?t=633246

Development resources?

I am looking to learn to develop for this phone. After so many people have left we are in desperate need.
I have experience coding on PC and light experience on WINMO 6....
I am reaching out to the community for resources on how to learn to develop for the Vivid. Any Direction will be appreciated.
I would also be willing to learn to develop for this phone. I'm a computer science student at MIT and have coding experience, but have not done anything related to Android so I'm not sure where to begin.
Kraizk said:
I am looking to learn to develop for this phone. After so many people have left we are in desperate need.
I have experience coding on PC and light experience on WINMO 6....
I am reaching out to the community for resources on how to learn to develop for the Vivid. Any Direction will be appreciated.
Click to expand...
Click to collapse
You can try this kitchen. It kind of works if you start from custom Rom as base.
At least gives you idea of what you have to do. You can than develop more depending on how good ur Unix or scripting skil are
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my HTC Raider X710e using XDA App
WARNING: If your HTC device is not listed below, and it does NOT use a 'YAFFS'-based filesystem (e.g. usually the mid-range and high-end devices don't use YAFFS), do not attempt to flash a ROM that you built with this kitchen. Instead, you must do the following if your device is NOT listed:
Create a file under the kitchen's /tools/edify_defs folder, with the name being the same as the value of ro.product.device (found in your device's /system/build.prop file).
See the template file in the edify_defs folder to see how to set the mount points inside the file you created. Look at the other files in that folder for examples on how to do it.
Click to expand...
Click to collapse
Since the Vivid is not listed as one of the compatible devices, do we need to do this? I saw the Rezound on there is why I am asking
I too am going to give it a stab. I have experience working with Cyanogenmod as well as a ton of C/C++/Unix/Scripting/Driver experience. Lets see what we can make.
I used it and there is nothing device specific stuff that should matter
Sent from my HTC Raider X710e using XDA App
No dont grab some one elses...incorrect....Grab the kitchen from dsixda grab an ruu run it till it opens to first screen dont install or go any further...goto search,search your c drive for rom.zip....copy this file to somewhere else on your computer and your started....
WC
zombie.raised said:
You can try this kitchen. It kind of works if you start from custom Rom as base.
At least gives you idea of what you have to do. You can than develop more depending on how good ur Unix or scripting skil are
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my HTC Raider X710e using XDA App
Click to expand...
Click to collapse
I would appreciate any suggestions for resources too. I have not programmed in many years but I figure, what the hell, might as well give it a go.
Sent from my HTC PH39100 using Tapatalk
True platform development resources are slim right now...
Read this website http://www.kandroid.org/online-pdk/guide/index.html for a decent but outdated overview of platform development and bring-up.
Check this post from Cyanogen http://forum.xda-developers.com/showthread.php?p=6243873
At the bare minimum do what WC said but I don't recommend you use someone else's custom ROM as your base for a multitude of reasons. If for no other reason, you'll inherit any flaws they may have unknowingly introduced and you won't understand the changes they implemented to make the improvements they made.
I'm a little rusty, but my team and I develop on the HTC Dream/Magic. I own about 6 devices right now and just gave away 3 others to a developer on my team. It's kind of funny, even though I've owned all these devices, I've never really developed on any of them since there's always so many other people already doing so.
But since everyone left and there's no competition right now, I think I might start developing again, I just need to know what you guys want and I'll see what I can do.
Sent from my HTC PH39100 using Tapatalk
Infinimint said:
I'm a little rusty, but my team and I develop on the HTC Dream/Magic. I own about 6 devices right now and just gave away 3 others to a developer on my team. It's kind of funny, even though I've owned all these devices, I've never really developed on any of them since there's always so many other people already doing so.
But since everyone left and there's no competition right now, I think I might start developing again, I just need to know what you guys want and I'll see what I can do.
Sent from my HTC PH39100 using Tapatalk
Click to expand...
Click to collapse
I'd love to see some new guys giving it a try. I wish I could invest the time and had the knowledge to do it myself.
I think most are just looking for a good solid ICS rom, with Tethering working... anything else would pretty much be a bonus. I think "MOST" would be appreciative of pretty much anything at this point
Wild Child said:
No dont grab some one elses...incorrect....Grab the kitchen from dsixda grab an ruu run it till it opens to first screen dont install or go any further...goto search,search your c drive for rom.zip....copy this file to somewhere else on your computer and your started....
WC
Click to expand...
Click to collapse
That was dsixda kitchen , I think that is pretty good and now quite a few people use it even now.
zombie.raised said:
That was dsixda kitchen , I think that is pretty good and now quite a few people use it even now.
Click to expand...
Click to collapse
He was making a point to not use someone's custom rom
Sent from my HTC PH39100 using xda premium
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
It's all trial and error my friend. Later tonight when class is over I'll try to create a rom from the Telstra 3.5 RUU. I tried the ICS stock rom, but I wasn't able to deodex about 50 or so files. Hopefully this time around the process will go smoother.
Sent from my HTC PH39100 using xda premium
Thats not learning then,thats taking someone elses work,start as everyone else did,everything is out there to be [email protected] all have to learn somehow,but the way your saying isnt the correct way to learn...its called kanging,then tweaking something here and there and calling it your own creation....truely learn something and start from scratch,we all did,so why would you expect it should be easier for you?
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
As far as resources go, download the kitchen, and DO NOT use it, rather analyze how it works. Look over the scripts and see why it does what it does, if you don't understand something, google it.
That'll help some of the beginners here.
Sent from my HTC PH39100 using Tapatalk
We all are having issue with deodexing the ics,att has **** all over the place....this is why i suggested a lower build as per your inquiry...
doktor buknasty said:
It's all trial and error my friend. Later tonight when class is over I'll try to create a rom from the Telstra 3.5 RUU. I tried the ICS stock rom, but I wasn't able to deodex about 50 or so files. Hopefully this time around the process will go smoother.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
zombie.raised said:
If that's the case, than from my experience it is a bit harder for someone with no knowledge to start with stock ROM. Out of the box the kitchen did not work very well with any stock ROM. It was easier to tweak a custom rom because the DEV had fixed the issues which I don't know if every one can solve. e.g some may just struggle to get system.img to work in this kitchen , again that can be trivial for some to fix and some noob's may find it hard.
Click to expand...
Click to collapse
I wouldn't consider that development and the OP asked for development advice. My previous post provides ample information to "do it the right way", team that with extracting your source from RUUs and you've just become a real dev. You will possess the necessary knowledge and tools to create your own ROM.
Then after you create your ROM if you still have problems that another dev has resolved you can respectfully contact that dev for guidance on what they did to resolve it.
That's the way I would want someone to use my work anyway.
Read this website http://www.kandroid.org/online-pdk/guide/index.html for a decent but outdated overview of platform development and bring-up.
Check this post from Cyanogen http://forum.xda-developers.com/showthread.php?p=6243873
Use the aforementioned kitchen to extract "stock" carrier base ROMS if you choose not to build from source.

Categories

Resources