[Q] How to build rom with SakuraDroid (CM 10.1) sources - Galaxy Ace II Q&A, Help & Troubleshooting

Hi guys,
Since @bagnz0r posted on his blog he would stop developing for the Ace 2, I decided to try to build CM for our phone.
Now, all the guides I found (as of yet) perfecty demonstrate how you build CM10(.1) from source, however, they show you how to build for a officially supported device - which the Ace 2 isn't.
What I already did: setting-up the actual build environment and succesfully building CM for a diffrent device (or, at least producing a .zip ).
I also downloaded the source of Sakuradroid, but I really do not know how to use it in a way that I can build the rom with it.
I got 4 directories:
android_device_samsung_codina
android_frameworks_av
android_kernel_samsung_codina
android_vendor_samsung_codina
So, my question: where do I need to place them and what files do I have to adjust?
(PS: I'm sorry for using the wrong section, but I'm not yet allowed to post in the Android development section.)

Try to build other rom , i am trying to build CM 10.1
You have to download ROM sources (14 GB approx) and put that files (from sakura sources) on their places. Than you can run build. If you need more info contact me on pm

For now, thread can be closed.
Got some answers from @Rox
Sent from my GT-I8160 using xda app-developers app

Try to build SlimBean ;3
Sent from my GT-I8160 using xda app-developers app

Related

[help][drivers][dev] using the drivers broadcom gave to us

helllo xda, many of you might have heard that I AM building CM10 from source and I have heard the we need the (kernel,gpu.....) drivers,
now broadcom released them and this is good.
my question is : how to use them ? pls help me
Many of u have heard?
Phone Slow? go ------>HERE<------
_____________________________________
"All my life I had one dream to achieve many many goals" ​
As I said earlier,
Building from source is better than porting.
But... if you're building from source , you'll be stuck having the same bugs as CM9 by whitexp has.
Sources which broadcom released (actually patch files, not actual source) are mostly meant for CM7. That's why whitexp couldn't proceed with CM9. It you see the madteam forum, and check whitexp's comment on asking proper release of sources , you'll get to know what I'm trying to say.
Also,
I did say earlier that whitexp made CM10 via sources and had end up getting the same bugs as CM9. Try fixing CM9 , if possible
tingtingin said:
Many of u have heard?
Phone Slow? go ------>HERE<------
_____________________________________
"All my life I had one dream to achieve many many goals" ​
Click to expand...
Click to collapse
Yes I have made a thread for that
Sent from my GT-S5360 using xda premium
Gamer R said:
As I said earlier,
Building from source is better than porting.
But... if you're building from source , you'll be stuck having the same bugs as CM9 by whitexp has.
Sources which broadcom released (actually patch files, not actual source) are mostly meant for CM7. That's why whitexp couldn't proceed with CM9. It you see the madteam forum, and check whitexp's comment on asking proper release of sources , you'll get to know what I'm trying to say.
Also,
I did say earlier that whitexp made CM10 via sources and had end up getting the same bugs as CM9. Try fixing CM9 , if possible
Click to expand...
Click to collapse
They cant work for cm10
Sent from my GT-S5360 using xda premium
mohamedrashad said:
They cant work for cm10
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Maybe, maybe not. Patched blobs Broadcom made available for CM7 could be linked to specific version of libraries in CM7 that could have changed in CM9 or CM10, the only way to know is trying to build CM10 using this blobs, they must be placed somewhere under vendor/samsung/totoro/propietary/lib
You better read the whole Getting Started section here first, then the thread from Whitexp about building CM7 and adapt it for CM10.
It will be useful if you had previous experience building succesfully the Linux kernel for any architecture or something like Linux From Scratch, a good understanding of how a Linux system works is critical to be able to set up the environment and do a succesful build.
Be prepared to spend a lot of time reading, hunting and fixing missing dependencies! Good luck.
celisdelafuente said:
Maybe, maybe not. Patched blobs Broadcom made available for CM7 could be linked to specific version of libraries in CM7 that could have changed in CM9 or CM10, the only way to know is trying to build CM10 using this blobs, they must be placed somewhere under vendor/samsung/totoro/propietary/lib
You better read the whole Getting Started section here first, then the thread from Whitexp about building CM7 and adapt it for CM10.
It will be useful if you had previous experience building succesfully the Linux kernel for any architecture or something like Linux From Scratch, a good understanding of how a Linux system works is critical to be able to set up the environment and do a succesful build.
Be prepared to spend a lot of time reading, hunting and fixing missing dependencies! Good luck.
Click to expand...
Click to collapse
thanks

[ROMS][KK][From Source] Sonic ROM [SOKP] & [PORTED] XenonHD & BeanStalk

Hello Everyone!!
So here is a new ROM I compiled yesterday, it does have a lot of features and it is called SONIC OPEN KANG PROJECT
I didn't open a new thread for it because I'm not gonna be updating it unless many users encourage me to do so...
Anyway I thought I should share it with you guys, for who ever wanna test it
Here is this ROM's features:
http://sonic-developers.com/?page_id=160
Also here is a quick review for the ROM:
And for more info visit their website:
http://sonic-developers.com
Download Link:
I've started uploading my files to androidfilehost.com , hoping you like it more than Dev-host
SOKP-MS-04-KK444-KTU84Q-20140726-amami.zip
Here are my screenhots as well:
Hello Guys,
Since our lovely Z1C is relatively new, it doesn't have many CM based ROMs, so I thought why not porting some
from the closest phone to ours (which is obviously Xperia Z1).
So I'll be presenting five ports for five ROMs as mentioned in the title, but I'm gonna start with a simple guide for how to port the ROM yourselves
All you have to do to port a CM11 based ROM from Z1 is:
Download the Z1 ROM and extract it wherever you want
Open META-INF\com\google\android\updater-script with any text editor and remove first five lines (assert)
Download This for old builds, and This for new builds, then unzip it
Copy and replace "boot.img" from the previous zip to your Z1 ROM
Copy and replace "modules" folder to system\lib\modules in your Z1 ROM
Open system/build.prop with any text editor and change this value:
Code:
# Graphics
ro.sf.lcd_density=480
to become:
Code:
# Graphics
ro.sf.lcd_density=320
that is it, although there are optional things you may do before compressing the ported ROM:
In system/build.prop search for honami and replace them with amami
And then search for C6903 and replace them with D5503
Also you may wonna add "Compact" here:
ro.product.model=Xperia Z1 Compact
Click to expand...
Click to collapse
You may also open META-INF\com\android\metadata and do the same replaces
Resign the ROM.zip after compressing it
Important Notes:
DO THIS ON YOUR OWN RISK
You must be running KK ROM before flashing these ROMs down below
This method won't work on Slimkat, although you can grab it from Here
All bugs in these ROMs are related to the original ROM not issues caused by posting
Fell free to report any bugs you face though, and I'll enlist them in known issues
PacMan ROM and MoKee ROM are officially supported, so there is no need to port them
Instructions for all ROMs down below:
Copy the zip to your device
Reboot into recovery
Backup of your system (optional)
Do a factory reset and format [/system]
Flash the Zip
XenonHD & BeanStalk
:::The XenonHD ROM:::
This was built in (2014-04-02) [Build 5]
It contains CM11 FXP312 Kernel
Zip is resigned
Screenshots:
Download link:
update-XenonHD-04-02-14-signed-amami.zip - 238.44 MB
New build's port can be found here: (Not tested by me)
http://forum.xda-developers.com/showthread.php?p=53365536
For more info and screenshots, visit the Original Thread
:::The BeanStalk ROM:::
This was built in (2014-03-11) [Build 3]
It contains It contains CM11 FXP312 Kernel
It has random reboot bug
Zip is resigned
Screenshots:
Download link:
BeanStalk-4.4.255-20140311-amami.zip - 251.39 MB
For more info and screenshots, visit the Original Thread
:::Gapps:::
GApps Standard 4.4.2 (10/5)
Removes AOSP Camera and AOSP Gallery and Replaces it with the Google variants
Removes AOSP Launcher2/Launcher 3 and CM Trebuchet and Replaces it with Google Now Launcher
Adds Google Search aka Google Now
All necessary syncing apks and libs
GApps Minimal 4.4.2 (10/5)
~20 MB
Playstore
Syncing apks and libs, etc.
Google Camera 4.4.2 (16/1)
Automatically removes AOSP Camera/Gallery and adds Google Camera/Gallery
FaceLock 4.4.2 (10/5)
Adds Face unlock
GenieWidget 4.4.2 (10/5)
Adds stock news and weather widget
AOSP Calendar Sync 4.4.2 (16/1)
Adds syncing ability for AOSP Calendar (not in Core or Standard packages)
AOSP Browser Sync 4.4.2 (16/1)
Adds syncing ability for AOSP Browser (not in Core or Standard packages)
This was copied and pasted from Original Thread (you can find more Gapps mirrors here)
Personally I prefer [and have tested] the minimal Gapps package, it is the best
Great work!
I wonder if you would do Slimrom also, it is a mainstream ROM with many innovations that other ROMs have copied.
[edit] Duh I just read your comment about slimkat. That'll learn me to read OPs properly...
wow, this looks good, i think ill try MoKee, just one question, is everything working ?
Just flash rom and some gapps ?
juried said:
Great work!
I wonder if you would do Slimrom also, it is a mainstream ROM with many innovations that other ROMs have copied.
[edit] Duh I just read your comment about slimkat. That'll learn me to read OPs properly...
Click to expand...
Click to collapse
actually, just today; @akshaybz has opened a thread for slimkat (not ported, compiled) here:
[ROM][4.4.2][KOT49H] SlimKat - Amami [Build 4][Alpha][UNOFFICIAL]
Enjoy
xhizors said:
wow, this looks good, i think ill try MoKee, just one question, is everything working ?
Just flash rom and some gapps ?
Click to expand...
Click to collapse
Well I didn't test everything, but the ROM was flawless, wifi is OK
Yes just flash rom and some gapps, try it and give a nice feedback
Might be a dumb question, but will updating them through the rom settings mess anything up?
RevokOne said:
Might be a dumb question, but will updating them through the rom settings mess anything up?
Click to expand...
Click to collapse
I don't expect updates to appear in the ROM's settings, but if they do,
yes updating that way should mess up a lot, it should make a bootloop.
anyway if you see an update for the ROM you're using, just tell me and I'll port the new release right away
omarainea said:
I don't expect updates to appear in the ROM's settings, but if they do,
yes updating that way should mess up a lot, it should make a bootloop.
anyway if you see an update for the ROM you're using, just tell me and I'll port the new release right away
Click to expand...
Click to collapse
I been building ROMs on linux trying and testing build from source..Im new to it and the device has been a long time HTC user. So guess all are from Z1 with afew changes you posted similar to the stock port way. I built a few roms so apart from the one I'm supporting. Carbon and PAC ROM has shown
Sent from my Xperia Z1 Compact using Tapatalk
Thread Updated
Ported MoKee 2014-03-31 Release
Ported Carbon 2014-04-01 (Build 2)
Also updated kernel in OP and in these two builds to 3.4.0 CM11 gb37510f From FXP313
I think I'll be updating the thread every week from now on, until these ROMs get a compiled version
Enjoy
How are the cameras qualities on these roms?
---
Sendt fra LG G Pad
slonn said:
How are the cameras qualities on these roms?
---
Sendt fra LG G Pad
Click to expand...
Click to collapse
Exactly like in CM11.0
omarainea said:
Exactly like in CM11.0
Click to expand...
Click to collapse
And how exactly is the quality in CM11, I can't seem to find a definitive answer in either CM thread?
Any updates on the roms btw?
Cheers! :good:
Thread Updated
e2zippo said:
And how exactly is the quality in CM11, I can't seem to find a definitive answer in either CM thread?
Click to expand...
Click to collapse
I don't know how to describe its quality, I think the best way to know is by trying
e2zippo said:
Any updates on the roms btw?
Click to expand...
Click to collapse
Yeah it's been a week, so here are the Updates of this week:
Updated Carbon ROM to build 4 (2014-04-09)
Updated MoKee ROM to build 2014-04-04 (its kernel was updated to FXP314)
Added XenonHD ROM latest release build 5 [2014-04-02] (download link in second post)
it is very customizable (can't describe it enough)
you can check more info about it in its main thread
about the kernel update, it seems like FXP team have messed up thier kernel a little
so when I tried it on Carbon and XenonHD I got some sort of bootloop,
but it worked fine on MoKee, so MoKee is the only ROM that has FXP314 kernel,
I don't recommended anyone to use it for porting so I didn't upload it
omarainea said:
about the kernel update, it seems like FXP team have messed up thier kernel a little
so when I tried it on Carbon and XenonHD I got some sort of bootloop,
but it worked fine on MoKee, so MoKee is the only ROM that has FXP314 kernel,
I don't recommended anyone to use it for porting so I didn't upload it
Click to expand...
Click to collapse
Actually the problem is not much with the latest kernel, but rather with the ROMs:
Recently there was a huge changeset merged in CM tree, among other things it took in kernel a lot of CAF code\blobs from 4.4 Sony sources, and Xperia CM ROM was rebased on this CAF kernel.
It means, that the ROMs based on CM must be rebuild using latest sources, otherwise they'll have a bootloop with the new CAF kernel =)
TheQwertiest said:
Actually the problem is not much with the latest kernel, but rather with the ROMs:
Recently there was a huge changeset merged in CM tree, among other things it took in kernel a lot of CAF code\blobs from 4.4 Sony sources, and Xperia CM ROM was rebased on this CAF kernel.
It means, that the ROMs based on CM must be rebuild using latest sources, otherwise they'll have a bootloop with the new CAF kernel =)
Click to expand...
Click to collapse
Huh, Thanks for the info bro,
seems like I should read more very now and then to know this kind of stuff.
Thread Updated
Added Paranoid Android ROM
This was built in (2014-04-15)
It contains CM11 20140410-Nightly kernel
Updated MoKee ROM
This was built in (2014-04-14)
The ROM was deodexed (original ROM was odexed)
It contains CM11 20140410-Nightly kernel
hi, should i have a unlock bootloader for test this roms? i can´t unlock it
canteo said:
hi, should i have a unlock bootloader for test this roms? i can´t unlock it
Click to expand...
Click to collapse
unfortunately yes, if you want to flash a custom kernel, you have to have an unlocked bootloader (and that is required to flash custom ROM)

[ROM] [4.4.4] [PAC-rom for ME301T] [UNOFFICAL] [11072014]

[ROM] [4.4.4] [PAC-rom for ME301T] [UNOFFICAL] [11072014]
PAC-rom for ME301T (Memo Pad Smart 10)​About PAC-rom
PAC-MAN ROM OFFERS A UNIQUE CUSTOM ROM EXPERIENCE WITH ELEMENTS OF
Cyanogenmod
A fully integrated part of PAC-man,
this aspect brings all the functionality of CM
AOKP
Bringing in the greatness of the All Powerful Unicorn.
PAC-man grabs rom control, ribbons, and many other aspects of AOKP
ParanoidAndroid
one of the most original aspects brought into this roms is
hybrid mode which gives you full control of your rom experience
About these builds:
I am using device tree and kernel from Omnirom repositories, which are created by @Scanno. Without his work I couldn't have ported PAC for our dear me301t. I have done some slight modifications to the device tree to make PAC compile, but the kernel is directly from Omnirom. I used to build these primary for myself, but I figured out maybe someone else wants to use PAC-rom too. Update frequency will be pretty random, as I build these when there are big changes, or when I feel like it. I am also posting this here because the compatibility pack by Hardslog (http://forum.xda-developers.com/showthread.php?t=2562620) does not support PAC-rom. Almost all other roms with it, so I suggest you to check it out. @Scanno, if you are not OK with me using your work, can you please contact me so I can take this down? I couldn't find the license for your your work, so I assumed it was okay.
Requirements:
-Unlocked bootloader
-TWRP (Check Omnirom for me301t to get a link)
-Bootloader from official 4.2
How to flash:
1. Download PAC-rom and GAPPS
2. Reboot to recovery
3. Do a factory reset (Wipe data/caches)
4. Flash PAC-rom and then GAPPS
5. Reboot to PAC-rom
Bugs:
I haven't encountered any bugs yet
Downloads:
19.05.2014
Sources:
As I said, I used device trees from Omnirom which I modified to work with PAC-rom.
My modified device tree: https://github.com/jesse131/android_device_asus_me301t
Original device tree by Scanno: https://github.com/omnirom/android_device_asus_me301t
Kernel is also from Omnirom: https://github.com/omnirom/android_kernel_asus_me301t
I also have the vendor files and a forked copy of the kernel on my github if you want to try building this yourself.
XDA:DevDB Information
PAC-rom for ME301T, ROM for the Asus Transformer TF300T
Contributors
julle131
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.1.x
ROM Firmware Required: Requires bootloader from official 4.2
Based On: PAC-rom
Version Information
Status: Beta
Current Beta Version: Beta 1
Created 2014-05-19
Last Updated 2014-07-11
Reserved
Nice work.
One suggestion I have is to put your downloads in the download section of the DevDB. That way you don't have to eat up your Google Drive space. Let XDA deal with the bandwidth and storage
Could you please upload a screenshot ?
Thank you!
farmtool33 said:
Could you please upload a screenshot ?
Thank you!
Click to expand...
Click to collapse
You can find screenshots from http://forum.xda-developers.com/devdb/project/?id=4211#screenshots
^^
Sent from my GT-I9100 using XDA Free mobile app
Then I will try the ROM Today or tommorow .
Thank you!
New build uploaded. It can be downloaded from download section of devdb project. It is based on android 4.4.4, and has a lot of new functions.
Sent from my Nexus 5 using XDA Free mobile app
julle131 said:
New build uploaded. It can be downloaded from download section of devdb project. It is based on android 4.4.4, and has a lot of new functions.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Just tried this ROM. Everything seemed to be working just fine on the first boot after flashing. Upon reboot I got a boot loop. I was using the stock kernel with PA GApps. Any ideas?
shawnbrennan55 said:
Just tried this ROM. Everything seemed to be working just fine on the first boot after flashing. Upon reboot I got a boot loop. I was using the stock kernel with PA GApps. Any ideas?
Click to expand...
Click to collapse
Hmm? I haven't had a single bootloop myself, and I have been using this ROM for months. If you want, you can send me a logcat.
Sent from my Nexus 5 using XDA Free mobile app
julle131 said:
Hmm? I haven't had a single bootloop myself, and I have been using this ROM for months. If you want, you can send me a logcat.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I can't get my ME301T to properly connect to Windows to capture an ADB Logcat right now. Pretty sure it's a driver problem since I can get logs from my TF300T and my Samsung Exhilarate with no issue. I'll post as soon as I can get everything working again.

[HELP BUILDING ROM] - How to add device tree, vendor and kernel to my build setup?

Hi,
I decided to build Carbon Gee, since the last available version for gee is from July.
All the pre-requisites went fine, the build environment, etc, without any issues.
I couldn't find a detailed guide for carbon rom specifically, so I did a repo sync with carbon dev before adding vendor, device tree and kernel stuff.
Th repo sync tool all night!!! brrrr
Now, my poblem is, how do I proceed from here?
This is my first time trying to build a ROM, can anyone with more knowledge guide me a little?
I want to use Jollaman's device, vendor and kernel (bc it has stock camera drivers ported for gee) and is generally a great kernel.
Does Carbon require anything else specific to it? I can't find any info on this.
If I'm successful, I promise to relase updates at least weekly.
Thank you.
EDIT: I successfully added all that by the local_manifest.xml thing... now, my problem is, carbon supposes some files, (like carbon.dependencies) and stuff, and I'm only seeing cm related ones in the device folder... Can I just rename cm to carbon everywhere? I don't think that's how it works... :s
It won't start building. Later today, when I get home, I'l post the specific error messages.
Did you find the guide ? I am also looking for some ...
Sent from my HTCSensation using XDA Free mobile app

DISCONTINUE - [ROM][UNOFFICIAL][NIGHTLY][NL] HTC One X CyanogenMod 12.1

Because the CM team does not provide official nightly build for our pets (read HOX ), I decided that the nightly build I will simulate a very often compilation of source code from CM repo.
I can not guarantee regular publishing, but usually 1 times a week I make a compilation and here I will post the download link.
Important notification:
Please keep in mind that I am not a developer and any errors that may occur can not be repaired by me. Your feedback in this thread will have a single meaning - information for others in what condition the ROM is.
These unofficial nightly build will be available only for the new partition layout.
I will not attach any change logs.
I personally use these nightly builds as my daily driver.
The installation procedure is the same as in other HOX ROM, so that I will not be described again.
Source code:
Kernel Source : https://github.com/CyanogenMod/android_kernel_htc_endeavoru/tree/cm-12.1
Device tree : https://github.com/CyanogenMod/android_device_htc_endeavoru/tree/cm-12.1
Build date: 2015-11-02
Upload date: 2015-11-02
Download link:https://www.androidfilehost.com/?fid=24052804347852072
Recomended gapps:https://github.com/cgapps/vendor_google/blob/builds/arm/gapps-5.1-arm-2015-07-17-13-29.zip
Thank you...
Keep up the good work....
thank you will give it try now
thank you its good so far but can you add some features please
Read OP, please. Sorry.
Sent from my One X using XDA Free mobile app
Don't worry, guys, thread is up, but I'm on vacation now. New build will be on Saturday (Aug 8).
Sent from my One X using XDA Free mobile app
hi no luck with our new build ??????????
hassoly said:
hi no luck with our new build ??????????
Click to expand...
Click to collapse
Some compile problem. Now I'm building whole ROM from scratch. If all will be without errors (will see in the morning), upload new build ASAP. Sorry for the delay and stay tuned, please
Sent from my One X using XDA Free mobile app
thank you for you hard work we are waiting
New build is up. Link in OP.
thaks will flash it now
hi its going smooth thank you for the good rom can you add ram percentage and some more features
hassoly said:
hi its going smooth thank you for the good rom can you add ram percentage and some more features
Click to expand...
Click to collapse
You ask me once already. I'm really not a developer and have no free time to studiing all about android programming as I wrote in my first post of this thread. I will only syncing CM repository with their changes and build it for our HOX's. That's it.
ok thanks sorry
i was using a build from teemo and just flashed this over it and from what ive noticed and confirmed. this rom is smoother and scored about another 200-300 points in the multi-core score in geekbench. Everything loads a little quicker and smoother.
Edit: audio and music no longer stutters when changing apps or moving through the phone.
Good to know my changes are working
@milda25 you should put in OP a link to sources
@Demetris of course, will do it, but what do you mean "link to sources"? I'm only exercise monkey without a broader knowledge
Sent from my One X using XDA Free mobile app
Like
Kernel Source : https://github.com/CyanogenMod/android_kernel_htc_endeavoru
Device tree : https://github.com/CyanogenMod/android_device_htc_endeavoru
Etc
Dirty flash?
Any problems dirty flashing the 08/08 version over the 31/07 version? I normally do a full wipe and re-flash to keep things nice and clean, however the ActiveSync Exchange policy at work has changed and it means I need to raise a ticket each time I connect a new device and its a bit of a pain....
Cheers
Andy
ADB100 said:
Any problems dirty flashing the 08/08 version over the 31/07 version? I normally do a full wipe and re-flash to keep things nice and clean, however the ActiveSync Exchange policy at work has changed and it means I need to raise a ticket each time I connect a new device and its a bit of a pain....
Cheers
Andy
Click to expand...
Click to collapse
No problem with dirty flash. I did it too. But flash boot.img from 08/08 build too.
Sent from my One X using XDA Free mobile app

Categories

Resources