how to build aosp for vivalto3mveml3g (samsung galaxy trend 2 lite) - Android Q&A, Help & Troubleshooting

I would like to build and flash an image using pure aosp for vivalto3mveml3g - samsung galaxy trend 2 lite G318H (on ubuntu 14) .
I have rooted the phone installed jdk and other packages and downloaded aosp source code for android 4.4 but I don't understand exactly what device drivers I need and how/what to change to have proper lunch config.
Looking at some pages here it seems I need a device tree and maybe some drivers for this phone but I do not understand how they fit all together. Is the device tree going to be under the device/samsung/<codeName> folder ?
Thanks for any help.

Related

[Q] Porting ClockworkMod to Samsung Galaxy SL

Hi I realize that there is no custom recovery for the Galaxy SL GT-I9003 so I want to try porting it. I have the essential packages for building Android under Arch Linux and also the SDK installed and configured with Eclipse.
I've read this guide regarding porting ClockworkMod but there are no instructions for Samsung phones that require initramfs. I have downloaded the opensource GT-I9003 package from the Samsung website which contains a kernel and platform tarball.
Could someone guide me as to what changes I need to make to that guide to get it to work? I assume I need to extract some boot.img from the opensource GT-I9003 package but there is nothing clear. Would building the kernel first help? Should I go ahead and check out the CyanogenMod tree anyway?
I'd really appreciate some help here.
Update: There is a progress thread on the port here.

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

How to configure and build the kernel for samsung galaxy s iii

hello all
i like to develop since 9 years old. Actually i am 24. I don't understand well the basics of Android and propietary devices. I used to install CM on all my family's devices, but always unofficial builds and not selfKANGs. Since 1 week ago, I am trying to build the the CM's 11.0 with no luck. Then i went to official google's developers site of android, and finally i got a system compiled and ready to install.
but now, before to push the flashing key, i am doubting about all... i mean, there'r a lot of steps I havent done:
1. obtain propietary binaries from my actual installation
2. not sure about if built the correct official version or compatible for samsung galaxy s iii (gt-9300)
3. i just wanted to add support for a S3C USB Host HUB for connecting my keyboard and mouse into my S3's micro-usb port.
so, now that i have obtained a lot of curiosity about that world, i want to learn more and more... but haven't anything clear at all.
then, can you please answer me the following questions?
1. why everyone is installing CM in S3? And not official android version?
2. how can I configure and add support to my USB host hub into the correct version of the kernel for the actual 4.4 KitKat software (CM-11.0) of my S3's?
3. can you explain me why can't I compile CM-11 or CM-10.2 with my Ubuntu Server 14.04 ? Lot of errors...
I would have more time to ask and ask, but I need to stop here.
Thanks to all for all the information in the posts I have read until now. And for the future's ones.
See ya,
Abel.

[Q] Developing i9300 Roms With Samsung Drivers

Hi,
I was wondering if it's still an issue that Samsung isn't releasing their drivers source code and so we can't develop fully functional roms with latest version of android for our Galaxy s3?
What drivers do current roms for the Galaxy s3 are using?
I came across the http://opensource.samsung.com/ site and I'm trying to downlad the source code for a JB build.
Won't I be able to take the drivers from that build and use it with the latest version of android?
I realize this is a basic question and I'm sure I'm not the first to think of this, I just want to understand what's hloding us back.
Thanks!

Build and Flash Android Source for Samsung S5

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.

Categories

Resources