Build and Flash Android Source for Samsung S5 - Android Q&A, Help & Troubleshooting

I would like to build and flash the Android Lollipop Source for a Samsung S5 device. I do not quite understand how to do that. This is what I have done so far
I have downloaded the Android source for 5.0.1 from source.android.com and the Samsung S5 device source code from opensource.samsung.com.
The Samsung device source code zip contains a kernel zip file, platform zip file and two readme files. I have followed the instructions successfully for building the Kernel.
What are the next steps to be taken in order to build and flash the same for my Samsung S5?

Did you manage to figure it out?
Hells.Guardian said:
I would like to build and flash the Android Lollipop Source for a Samsung S5 device. I do not quite understand how to do that. This is what I have done so far
I have downloaded the Android source for 5.0.1 from source.android.com and the Samsung S5 device source code from opensource.samsung.com.
The Samsung device source code zip contains a kernel zip file, platform zip file and two readme files. I have followed the instructions successfully for building the Kernel.
What are the next steps to be taken in order to build and flash the same for my Samsung S5?
Click to expand...
Click to collapse
I'm in a similar situation cant figure out how to go about it.

Related

samsung galaxy pocket gt-s5300 build from source

i own samsung galaxy pocket gt-s5300, its like galaxy Y little brother. And i'm trying to build from source.
i'm new in this stuff, so i can't elaborate enough to find solution myself.
i've downloaded the samsung source for this device from samsung website, when extracted it has 2 sources, platform and kernel.
im trying to build the platform and hopefully can build the stock rom successfully so i can proceed to modification.
already followed the instructions to get the gingerbread 2.3.6 from aosp, merge the folders from samsung to aosp, and execute build script (generic-user). seems fine, i got system.img,userdata.img,etc but no boot.img, still tried to flash anyway and figured that this device doesn't support fastboot but adb works. then i tried to make otapackage but got no rule error. perhaps caused by this generic-user lunch, but i dont know how to add this device to build, because there's only generic,emulator,crespo-4g, and crespo choices.
trying to find alternatives, and thinking about modify the stock rom with my build, so i also tried to open the odin flashable stock rom with winrar (xxx.tar.md5) which i cant, i dont know why since the other galaxy rom has no problem.
so many thing i'm not sure of doing it right, so i need help building for this samsung device from source.
bLusiLv said:
i own samsung galaxy pocket gt-s5300, its like galaxy Y little brother. And i'm trying to build from source.
i'm new in this stuff, so i can't elaborate enough to find solution myself.
i've downloaded the samsung source for this device from samsung website, when extracted it has 2 sources, platform and kernel.
im trying to build the platform and hopefully can build the stock rom successfully so i can proceed to modification.
already followed the instructions to get the gingerbread 2.3.6 from aosp, merge the folders from samsung to aosp, and execute build script (generic-user). seems fine, i got system.img,userdata.img,etc but no boot.img, still tried to flash anyway and figured that this device doesn't support fastboot but adb works. then i tried to make otapackage but got no rule error. perhaps caused by this generic-user lunch, but i dont know how to add this device to build, because there's only generic,emulator,crespo-4g, and crespo choices.
trying to find alternatives, and thinking about modify the stock rom with my build, so i also tried to open the odin flashable stock rom with winrar (xxx.tar.md5) which i cant, i dont know why since the other galaxy rom has no problem.
so many thing i'm not sure of doing it right, so i need help building for this samsung device from source.
Click to expand...
Click to collapse
I try to do it but i still make a lot of tweaks on my Rom I need to make good performance to my phone

need some advice on building an aosp rom

i'm trying to build an aosp rom for my samsung galaxy s duos(gt-s7562). what modifications do i do so that the rom can work on my phone.
i've downloaded one file from samsung open source website this files contain two things called platform.tar.gz and kernel.tar.gz
how do i go about this.
i'm running the latest firmware update and the phone is rooted and has clockworkrecovery mod on it

[Q] How do I add a unsupported device to AOSP?

I am creating a ROM for a phone that no one else has made ROMs for yet. I went to Samsung's open source site and download the files I for the device. Then I unpakage the file and the where two files in it but I don't know what one it is or anything one how to add it (the files inside Kernel.tar.gz and Platform.tar.gz). So does anyone know how to add a unsupported Samsung device so I can create a ROM for it???? Well what I am trying to ask is how to build a ROM for my device?????
The Device I am working with:
Samsung Legend (Jasper)
SCH-i200pp version MH1
Code Name: jaspervzw
Build.prop of the device download is below!
Open Source File Website:
opensource(dot)samsung(dot)com
Devices Website:
www(dot)samsung(dot)com/us/mobile/cell-phones/SCH-I200ZKPVZW

Mixing AOSP sources with Galaxy S4 Team-Gummy code

Hi all,
I've been experiencing with Team-Gummy Rom source code for quite some time now. I usually compile from source to get the latest, along with some of my own addition. Lately I've been obsessed with having Android L code running on my Galaxy S4 (qcom) and so I downloaded AOSP source and after some failed attempts I was able to build it with the S4 device package from Team gummy.
So way cool! I may have in my hands the first (maybe not but as far as I know anyway) Android L build on the S4. But before going further, I have a question. In theory if I flash the system.img file produced by the build process and keep the kernel and boot.img from my current install, it should all come together right? Anyone here has an Idea what it would do?

How to extract proprietary binaries from a device ?

I am following the Android CustomROM building guide by jackeagle.
But instead of cloning from the CM repositories, I have cloned from the Google repository. Now I'm at that part where we need to download proprietary binaries of the device for which we're developing.
I had read that those proprietary binaries can be extracted from the device, when it is flashed with the stock source it was released with. But unfortunately, I'm unable to understand how I can pull those files using adb.
I'm using Samsung Galaxy S Duos (GT - S7562) (for learning purposes). I don't need a device specific solution. I just want to know in general, how we can pull the device-tree, vendor and kernel for any given device from it.
Thanks in advance.

Categories

Resources