[GUIDE]Build CM12.1 from Source! [NOW-CAT&GRANDMA-FRIENDLY] - Moto G 2015 General

Im sick of seeing guides around that tell you all about how to build a rom but never ever go into detail about the hardest part in my opinion which is obtaining device specific code, its ridiculous!? So im here to help.
Just a prior note, im a dev, ive built few roms but special thanks to devs like @squid2 @eng.stk who built a lovely repos for us with lots of good documentation. So please go and give them a thanks on any one of there posts!
Also i would like to personally thank @squid2 for helping me when i asked for info regarding building and errors.
Lets get started shall we!
1 - Pre-requisites
4+ GB RAM (I have 8GB)
Preferably a Quad-Core CPU (I have an i7)
At least 100GB of HDD/SSD space for the repo & ccache (SSD recommended for faster compile times, i have a 1TB HDD)
GPU - (not needed but may aswell throw it in here) Radeon HD 7670M & Intel HD 4000
And lastly a Github account, please go make one (its free!)
2 - Installing Linux
We need a Linux based 64 bit OS, i use Mint with my own scripts
Download and install it, either dual-boot or use it as your primary OS like the bad-ass you are! (If you want help on doing this there at least +100000 guides in google and youtube alone)
3 - Grabbing build dependencies
Code:
sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng
Copy & Pasta that code above into your terminal and accept/press ok/press yes to any prompts that appear
That should get your system fit with all the necessary things to build and work with androids source, its about 600MB of a download! So sit back and relax...
4 - Preparing to download the massive source-code
I recommend downloading a small movie before doing this so you can relax while it all syncs! (just be sure to keep your eye on that sync window to make sure its still scrolling...)
Lets make a folder to hold all our stuff:
Code:
mkdir -p ~/android/roms/cm && cd ~/android/roms/cm
Now your inside the cm folder, you have to be in the cm directory every-time you want to start building!
Now initiate the cm repo: (one-time thing)
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
Now it might give a small error at the end stating for some email and user id stuff.
So now is the time to add your github infos (run this in terminal):
Code:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
EG:
Code:
git config --global user.email "[email protected]"
git config --global user.name "Vatsal"
We haven't yet downloaded the CM source, but we will in the next part...
(source code is roughly 25GB for CM12.1 , pure AOSP is slightly smaller)
5 - Downloading & waiting
Note: Straight after syncing official CM12.1 repo this is its size: (31GB)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is time!, run one of the two commands below (depending on your networking speed) to initiate the long wait of syncing!)
Code:
repo sync
Finished? sweet, lets have a rave party!
6 - Building!
Now once youve downloaded all the source code you should be able to run your first build after init!
Thanks to some nice build scripts from CM, running builds is super duper easy!
To initialize the last thing, run:
Code:
. build/envsetup.sh
then to build run
Code:
brunch <device code name> ; (for osprey it will be, [B]brunch osprey [/B])
to build, ive read around and on my system it should only take 1 to 1.5 hours tops, and my system is mediocre + its a laptop so take in account that it may thermally throttle, if you have a desktop it should only take around 1-2 hours with relatively decent specs!
7 - Party Time!
If you want help please leave a comment in this thread and i/others will try to help.
Also if you do get a successful build done please share it with us, we would love to be a part of your victory party!
Thanks to this guide: Link
&
CM devs again!

Reserved

Should mention about vendor files as well
Sent from my A0001 using Tapatalk

So I wake up to see my cat building from CM.. You did warn us @Vatsal hehe
I use a premodified build environment for the extremely new! I believe it is called builduntu.
http://forum.xda-developers.com/showthread.php?t=2585828
Just another option if people are having various issues installing the tools. ?

akhilnarang said:
Should mention about vendor files as well
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Well brunch gets all required files from dependencies (vendor,kernel,common repos,fm)
Sent from my Moto G 2014 using Tapatalk

Vatsal said:
Well brunch gets all required files from dependencies (vendor,kernel,common repos,fm)
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Nope, cm doesn't include vendor repos in their dependencies
Other ROMs do
Sent from my A0001 using Tapatalk

This is only for moto g? Or any other devices?
Sent from my LG-H815 using Tapatalk

imarcel99 said:
This is only for moto g? Or any other devices?
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
Typically any device that can have an unlocked bootloader. OP made it easier to reference for users always lurking the specific 2015 forums.

I understand. Because I will try this for I9100, HTC one m7 and LG g4 h815
Sent from my LG-H815 using Tapatalk

imarcel99 said:
I understand. Because I will try this for I9100, HTC one m7 and LG g4 h815
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
I'll add a local manifest method tommorow.
You wont be able to follow this method unless the device your building has official CM..
Sent from my Moto G 2014 using Tapatalk

It does have atleast s2 and m7. I tried it for s2 already and i found device and vendor but not kernel for cm.
Sent from my LG-H815 using Tapatalk

Is it possible to build it for Prestigio 5453 phone with mtk6582?
Wysłane z mojego PSP5453DUO przy użyciu Tapatalka

Wooby said:
Is it possible to build it for Prestigio 5453 phone with mtk6582?
Wysłane z mojego PSP5453DUO przy użyciu Tapatalka
Click to expand...
Click to collapse
No sir, unless there is official CM for your device already this guide is not for you. I can't find much regarding the Prestigio 5453 even having cyanogenmod, and even very scarce root guides.
Are you rooted?
Is your bootloader unlocked?
If you meet those two requirements then you could think of porting CM unofficially to your device.

Yeah im rooted and installed plenty of custom roms on this phone. We have twrp cwm philz recoveries. Also someone made a cm12.1 ROM for my device (had it on my phone) but it was ported from another device. Video recording didnt worked and had random lags that cuased to stuck in a bootloop
Wysłane z mojego PSP5453DUO przy użyciu Tapatalka

Ah sweet! I just did a quick google search, it seems possible then! Is developer updating with latest sources? Could you send me a thread link by chance?
Edit - maybe this will help? http://forum.xda-developers.com/showthread.php?t=2464143

Can i use this guide to build cyanogenmod 12.1 on hermes (Redmi note 2)?

X-Genji said:
Can i use this guide to build cyanogenmod 12.1 on hermes (Redmi note 2)?
Click to expand...
Click to collapse
If the device is official, you can build.
If not, you need to put your manifest in .repo/local_manifests and sync and build.

Are there any differences between a CM compilated-by-myself using this method and the CM nightly, auto-compilated?
And, when exists official support for marshmallow builds (CM13), can I build it from there, or there's something I need to do before? (such as different directories of git for different CM versions)
Thank you for tutorial! :laugh:

Vatsal said:
If the device is official, you can build.
If not, you need to put your manifest in .repo/local_manifests and sync and build.
Click to expand...
Click to collapse
It isn't supported, i dont know how can i build for unofficial devices, any guide? Thanks a lot buddy

drico_649 said:
Are there any differences between a CM compilated-by-myself using this method and the CM nightly, auto-compilated?
And, when exists official support for marshmallow builds (CM13), can I build it from there, or there's something I need to do before? (such as different directories of git for different CM versions)
Thank you for tutorial! :laugh:
Click to expand...
Click to collapse
There are no differences btw self and CM nightly compiled using this way.
For Marshmallow you need to sync up cm-13.0 and start working on it (provided your device has official support)
X-Genji said:
It isn't supported, i dont know how can i build for unofficial devices, any guide? Thanks a lot buddy
Click to expand...
Click to collapse
A rough sketch,
You need a roomservice.xml file (That will consist of all your device specific files, an example of roomservice for my device can be found here (Make sure to specify proper revisions)
Copy this roomservice.xml to .repo/local_manifests
Sync up so all device specific files get downloaded.
then run . build/envsetup.sh && brunch <device codename>

Related

So you want to build AOKP PUB?

Building AOKP PUB for fascinate on JB 4.2 mr1
If you have built ROMs from source before skip to part 2
Part one do this STOP after Move to our new AOKP directory
http://rootzwiki.com/topic/31166-tutorial-so-you-want-to-build-aokp-jb-ubuntu-1204/
Part 2 sync to Unicorn Butter and pull fascinate build products and frameworks fixes for PUB
Code:
repo init -u https://github.com/UnicornButter/platform_manifest.git -b jb-mr1-fascinate
repo sync -j# <---- # = number of cores your cpu has
*** on the first sync only ********************************************
Code:
mv platform_manifest/kernel_manifest.xml ../.repo/local_manifest.xml
repo sync -j# <---- # = number of cores your cpu has
***********************************************************************
Code:
cd platform_manifest
./pick.sh
Part 3 build this stuffs
Code:
. build/envsetup.sh
lunch
# <-- choose # for fascinate
make -j# bacon <---- # = number of cores your cpu has
Part 4 profit
finished build should be located in out/target/products/fascinatemtd
Part 5 Time for another build?
Code:
repo sync -j#
cd platform_manifest
./pick.sh
** build the stuffs
Part 6 Cherry-picks?
this can get tricky if the commits don't merge nicely and often Works in process will break the build or cause major problems…. but you want it ? you got it.
go to the gerrit project you want to pick
http://gerrit.sudoservers.com/#/c/5117/
click cherry pick and either copy all the text in the box below or click the copy to clip board button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
cd to dir you picking to in this case
Code:
cd frameworks/base
paste the code in this case
Code:
git fetch http://gerrit.sudoservers.com/AOKP/frameworks_base refs/changes/17/5117/23 && git cherry-pick FETCH_HEAD
then build as usual
if you get merge conflicts and you don't know what your doing just rm -rf the dir in this case
Code:
rm -rf frameworks/base
and resync.
Happy building.
Steve
Nvm I'm a ideot
Edit: so far so good its syncing the unicorn butter now no errors
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Nvm I'm a ideot
Edit: so far so good its syncing the unicorn butter now no errors
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
For me the syncing was the easy part.lol the building and cherry picking what tripped me up. GL bbrad. Cant imagine i will be able to but, if u need any help hit me up, U never know I might have any idea..lol :silly:
BDogg718 said:
For me the syncing was the easy part.lol the building and cherry picking what tripped me up. GL bbrad. Cant imagine i will be able to but, if u need any help hit me up, U never know I might have any idea..lol :silly:
Click to expand...
Click to collapse
Thanks good luck to you to building and cherry picking is going smooth so far
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Thanks good luck to you to building and cherry picking is going smooth so far
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
Very cool. Cant wait to see results. If u want me to help ya test ur builds hit me up. Maybe we can actually start that team we were thinking bout...lol Might take a while to get to AOKP or Cyanogen levels..lol...but the more roms the better right?
Damn terminal froze right in the middle of the fken build procces having to start all over
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Damn terminal froze right in the middle of the fken build procces having to start all over
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
Cant count how many times that has happened to me. SRY..but glad im not the only one. U have a powerful enough PC?
BDogg718 said:
Cant count how many times that has happened to me. SRY..but glad im not the only one. U have a powerful enough PC?
Click to expand...
Click to collapse
Yep I'm even on the recommended 64bit a dual core 2.6ghz a4 and 4gb of ram and 6gb of swap should be plenty
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Yep I'm even on the recommended 64bit a dual core 2.6ghz a4 and 4gb of ram and 6gb of swap should be plenty
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
I agree. Could u tell around when it stopped building?
BDogg718 said:
I agree. Could u tell around when it stopped building?
Click to expand...
Click to collapse
Yea around when it was getting files from the repo
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Yea around when it was getting files from the repo
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
Did u cherry pick anything that could be holding u up? synced ok I assume? wish i knew how to help this situation. U trying the build again?
BDogg718 said:
Did u cherry pick anything that could be holding u up? synced ok I assume? wish i knew how to help this situation. U trying the build again?
Click to expand...
Click to collapse
No synced froze twice it went through the 3rd time and then it froze twice while building and nope n o cherry pics for me I just tried to build stock aokp pub and this Ubuntu install is brand new so nothing is running or making it freeze just the repo itself
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
No synced froze twice it went through the 3rd time and then it froze twice while building and nope n o cherry pics for me I just tried to build stock aokp pub and this Ubuntu install is brand new so nothing is running or making it freeze just the repo itself
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
Dont know how much it is affected, but i have read that 12.02 doesnt play well with building android. But i have read where people have done it with success. Did u dl the lib files before u started?
BDogg718 said:
Dont know how much it is affected, but i have read that 12.02 doesnt play well with building android. But i have read where people have done it with success. Did u dl the lib files before u started?
Click to expand...
Click to collapse
I'm on 12.04 not 12.02 supposly its suppose to be the best at building so that's why I installed it lol and yea I got everything before I started building
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
I'm on 12.04 not 12.02 supposly its suppose to be the best at building so that's why I installed it lol and yea I got everything before I started building
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
lol simple typo. i meant 12.04. Have read conflicting comments. Im sure u took all the steps to setup java, python and all that good stuff :good:
Heres hopping u get it built. Somethings gotta be holding it up...well obviously huh..lol. Maybe someone with a lil more experience could chime in.
Gotta hop off till tomorrow am. Good luck bbrad. My Ravens in the Supper Bowl and have to start partying....GO RAVENS!!!!!!!!!!!
Finally done partying for a while..lol. How goes it bbrad? you have any luck?
BDogg718 said:
Finally done partying for a while..lol. How goes it bbrad? you have any luck?
Click to expand...
Click to collapse
I'll try it again this afternoon at the moment I'm at the doctor picked up some kind of asmea
Sent from my SCH-I500 using Tapatalk 2
Well just tried building again with a few tweaks I found on the interweb and it hasn't froze once :thumbup:
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Well just tried building again with a few tweaks I found on the interweb and it hasn't froze once :thumbup:
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
cool deal. let me know if u want me to help ya test it out. be curious to see how it comes out.
BDogg718 said:
cool deal. let me know if u want me to help ya test it out. be curious to see how it comes out.
Click to expand...
Click to collapse
Doesn't seem like a big deal it doesn't even give me a warning it ignores it but I get the two following errors when resyncing the source
Curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
After the errors it contacts the server and downloads the manifest just fine
Sent from my SCH-I500 using Tapatalk 2
---------- Post added at 01:00 AM ---------- Previous post was at 12:54 AM ----------
I wonder if Stephen would allow me to create a cherry picked to death version of this kinda like this ROM http://forum.xda-developers.com/showthread.php?t=2119369
Sent from my SCH-I500 using Tapatalk 2

[Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N7000

This is the port of Ubuntu Phone to the Samsung Galaxy Note GT-N7000
What works:
Wifi (fixed on 18-07)
GSM (only mobile connection)
Webbrowsing
Taking photos (fixed)
If you haveing trouble with GSM give it time to connect. If its still not working check this : https://plus.google.com/100264483712374857174/posts/3o1tjYo9Ghx
CREDITS
thanks to chasmodo for
manifest additions
camera driver
runtime intermediates files
thanks to Gerrett for
the hint to remove the GalaxyNoteSettings from build
fixing the wifi issue
The short way:
Download, push to sdcard, reboot to recovery, do a backup, do a full wipe and flash(keep the order of the files)
quantal-preinstalled-phablet-armhf.zip
Ubuntu n7000 nightly build
The long way:
Here is the official Canonical's Porting Guide
here we have the cm nightlies from wich we take the binaries for the base system.
Now, I will set up my building system how described in the Guide (Since I've already a working Ubuntu 13.04 x64 PreAlpha installation, I'll use that as base)
Seting up the development environment
What is not in the guide:
Code:
sudo apt-add-repository ppa:phablet-team/tools
sudo apt-get update
sudo apt-get install phablet-tools
sudo apt-get install bzr
sudo apt-get remove openjdk-7-jdk
sudo apt-get install openjdk-6-jdk
So, on the console
(if there are german speaking people following, this is how you can kill the waiting time http://www.youtube.com/watch?v=S_poaB9jLAc and http://www.youtube.com/watch?v=eMim3OV2cQE and http://www.youtube.com/watch?v=1-jbeV_kpaU have fun)
Code:
mkdir -p UbuntuTouch/GT-N7000 #at a location with 20 gigs of free space(yes, its a lot :D )
cd UbuntuTouch/GT-N7000
git config --global user.email "[email protected]" #needs this only once for
git config --global user.name "Your Name"
phablet-dev-bootstrap ./ #this will take a while, it will download all sources except the kernel if I understood right
Edit .repo/manifest.xml and add following at the same xml level where the other project tags are.
(First search for, maybe they are already in that file)
Code:
then again on console:
Code:
repo sync
Code:
adb devices #just a short check to see if the connection is working, if it's in the list, go further, if not check whats the problem
. build/envsetup.sh
brunch cm_n7000-userdebug #if everything is ok, this will take a while
put the zip you get in the output onto your sdcard, download saucy-preinstalled-phablet-armhf.zip
reboot your n7000 into recovery mode, backup and flash first the preinstalled and then the build.
Have fun
Sounds good...keep us updated
Thanks
I have the required changes ready in the files incase someone is interested
was waiting for beerbong but he seems busy... times like these u wish u werent building remotely ^^
maybe utacka or chas(with his new pc) can help..
AW: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
So what does that mean toxic? Do u already ported it? ??
no I'll try it this weekend
Re: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
You don't have to use cm, you can use AOSP.
You can even use Samsungs kernel source (I haven't bothered building the latest so no idea how good it is our not) and the binary blobs from the latest stock build.
I'm building it for one of my tablets at the mo from AOSP, using an old but working kernel.
Sent from my GT-N7000 using Tapatalk 2
fards said:
You don't have to use cm, you can use AOSP.
You can even use Samsungs kernel source (I haven't bothered building the latest so no idea how good it is our not) and the binary blobs from the latest stock build.
I'm building it for one of my tablets at the mo from AOSP, using an old but working kernel.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
First of all I'll use what the guide suggests. Playing games comes after.
Re: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
fards said:
You don't have to use cm, you can use AOSP.
You can even use Samsungs kernel source (I haven't bothered building the latest so no idea how good it is our not) and the binary blobs from the latest stock build.
I'm building it for one of my tablets at the mo from AOSP, using an old but working kernel.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
For a device such as ours, don't think deviating from CM is a good idea
Sent from my GT-N7000 using xda premium
Re: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
I was reading over the guide and would have to say there is a lot of set up involved
Sent from my GT-N7000 using XDA Premium HD app
Good luck man! Subscribed to the thread! i hope you'll make it!
Sorry, missed coming back to this thread.
For SUID changes, the mentioned file is found at -
device/samsung/galaxys2-common/rootdir/fstab.smdk4210
The Brightness settings dont need to be changed as those changes are already present I think.
AW: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
Yeah,seems to be server problems, i'm syncing since yesterday, but now i can the see the end
Edit: Seems like to many people are syncing now .. cant sync anything atm ..
Gesendet von meinem GT-N7000 mit Tapatalk 2
hey,
i saw this previews for the mako, i dont know if this will help you guys to port it for the N7000, afaik they can simply be flashed in recovery :cyclops:
http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/mwc-demo/
T1663R said:
hey,
i saw this previews for the mako, i dont know if this will help you guys to port it for the N7000, afaik they can simply be flashed in recovery :cyclops:
http://cdimage.ubuntu.com/ubuntu-touch-preview/quantal/mwc-demo/
Click to expand...
Click to collapse
they are for galaxy nexus, nexus 4, 7 and 10.
Yep, having sync troubles at this end as well. Must be lots of us trying to make this work. Good to know the GT-N7000 is so popular? Keep getting "fatal: The remote end hung up unexpectedly".
Re: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
Can we please get a dedicated section for ubuntu on the note mods?
Sent from my GT-N7000 using xda premium
Ok so i've been afk most weekend. How's it going? Any luck getting ubunutu on our notes?
This way I'll never have to change my device. You guys always keep bringing new stuff to it
Thanks a lot to all the amazing work all the devs around here are doing. Love you all
AW: [Ubuntu Touch] Porting the Ubuntu Touch Developer Preview to GT-N700
Repo is synced .. and all stuff done from ubuntus guide. But get build error. Will look at it tomorrow. Anyone got it to build?
Edit: okay, it only wants to build the note settings, needs to be removed from makefile.
Will now build overnight an hope its rdy in the morning
Gesendet von meinem GT-N7000 mit Tapatalk 2
fards said:
You don't have to use cm, you can use AOSP.
You can even use Samsungs kernel source (I haven't bothered building the latest so no idea how good it is our not) and the binary blobs from the latest stock build.
I'm building it for one of my tablets at the mo from AOSP, using an old but working kernel.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Forgive my offtopic, i'm interested of using Samsung sources for Galaxy SII i9100, instead of cyanogenmod 10.1, that isn't properly good for this device. can you tells me more about that?

[Script] Build ICS/JB Kernel

Thanks to the amazing work of mapkel you can now use this script to compile and pack the kernel!
UPDATE: read mapkel's post here: http://forum.xda-developers.com/showpost.php?p=43419784&postcount=45
Thank him here.
This is an informative guide and I decline responsibility for any damage to your device.
Do not attempt to build this kernel if you are going to complain to devs about issues.
That being said, mapkel has made this so that even those with little knowledge can build the kernel without any issues. If you do have any issues, post here and I will try to assist you.
The following is a complete tutorial to building the kernel.
Credits:
Kernel Devs: krystianp, lehjr, Epinter, and mmontuori for making this kernel; without them there is no kernel.
Big thanks to mapkel for this amazing script.
Another big thanks to benouch for the original idea.
A final big thanks to zen25205 for help with building the kernel and getting the Linaro Toolchain.
Kernel Kitchen
I suggest building this with the latest CM9 MROM until the public beta is released.
You need to install Ubuntu 12.04 64bit (Google for instructions)
Prerequisites:
Open a terminal and run the following commands the first time:
Code:
sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2
Code:
sudo apt-get install git
If there are any issues with this guide, or if you have any issues building the kernel, post here and I will assist you as best I can.
Stage 1 (start at stage 2 if you have already built the kernel using this script:
Code:
cd ~
Code:
wget https://www.cubby.com/pl/kernel_script.zip/_25f010125b924ec7a42fe1d66245f36a
Code:
unzip ${HOME}/kernel_script.zip -d ${HOME}
Stage 2:
Code:
cd kernel
Code:
./script
There will be 4 choices to make throughout the script:
Clean install y/n (choose "n" on first run of script)
What defconfig? (Usually it is MROM but in the last update it is temporarily MROM2)
Compile CM9 or CM10 kernel? (self explanatory)
Name of config (Any name works. I chose "olympus".)
enjoy)
Built but cam not working
paladin881 said:
Built but cam not working
Click to expand...
Click to collapse
cameras disabled due to battery drain
Click to expand...
Click to collapse
https://github.com/CyanogenMod-Atrix/android_kernel_motorola_olympus/commits/master
Post here if it worked well for you. Give some feedback for mapkel.
No Wifi
Cheers, the script works great on Ubuntu 11.10, without a hic.
However, upon flashing the kernel, I get no wifi. I'm going to try your step by step tutorial...
Edit: I built the kernel using MROM2 defconfig and for CM10, and flashed "someone's" CM10
Newbleeto said:
Cheers, the script works great on Ubuntu 11.10, without a hic.
However, upon flashing the kernel, I get no wifi. I'm going to try your step by step tutorial...
Edit: I built the kernel using MROM2 defconfig and for CM10, and flashed "someone's" CM10
Click to expand...
Click to collapse
Strange..
The modules should copy with this.
Try CM9
atrix4g18 said:
Strange..
The modules should copy with this.
Try CM9
Click to expand...
Click to collapse
I'm updating Ubuntu, maybe the problem is on my end. Will try CM9 in the meanwhile and let you know!
Newbleeto said:
I'm updating Ubuntu, maybe the problem is on my end. Will try CM9 in the meanwhile and let you know!
Click to expand...
Click to collapse
You won't be able to do both.
If you compiled the kernel for CM10 you will only be able to use it on CM10.
Unless you are able to update Ubuntu as you compile the kernel for CM9.
atrix4g18 said:
You won't be able to do both.
If you compiled the kernel for CM10 you will only be able to use it on CM10.
Unless you are able to update Ubuntu as you compile the kernel for CM9.
Click to expand...
Click to collapse
It's impossible to compile while updating, didn't remember that, silly me :silly:
Anyhoot, wifi still doesn't work in Ubuntu 12.04. Fresh install on a different PC, way faster than updating
I'll try CM9 tomorrow, should've been asleep for a while
Can anyone or everyone list sites that work with a direct link.
That means I go to www.sitename/filename.zip and it starts downloading.
All I can think of right now is a cloud storage like Dropbox or Google Drive. I know Dropbox has a traffic limit for public files. Don't know about Google drive
Sent from my MB860 using xda app-developers app
upndwn4par has unlimited bandwidth, iirc. Maybe you can contact him and ask if you can host that one tiny script file there?
Or you could sign up with a free webhost and upload it there. There are several free webhosts with unlimited bandwidth (with a very limited space as trade-off, but I think it's more than enough for the script file).
If it's just a single script, maybe something like pastebin.com or similar might be an option? A little inconvenient since you have to copy and paste content instead of just download, but AFAIK it does have unlimited bandwidth.
atrix4g18 said:
Can anyone or everyone list sites that work with a direct link.
Click to expand...
Click to collapse
Maybe copy.com? Here is my ref for extra 5 GB: https://copy.com?r=qfhUoV
If this does not solve the problem, I can provide space for the script on my own server with a separate FTP account.
priard said:
Maybe copy.com? Here is my ref for extra 5 GB: https://copy.com?r=qfhUoV
If this does not solve the problem, I can provide space for the script on my own server with a separate FTP account.
Click to expand...
Click to collapse
Doesn't have a direct download link.
quetzalcoatl2435 said:
Doesn't have a direct download link.
Click to expand...
Click to collapse
Not quite. You can still download a file, for example using wget.
If You have a short public link, for instance: copy.com/PJzYgAUKECQm, You need to open it and copy the full link. In this case: copy.com/s/PJzYgAUKECQm/BetterBatteryStats_xdaedition_1.13.4.0.apk
then:
wget copy.com/s/PJzYgAUKECQm/BetterBatteryStats_xdaedition_1.13.4.0.apk
and done.
I will look at all the suggestions later today.
Thank you.
Delete

[WIP][Kernel](3.4+|Hybrid|LZO/LZ4|Intelliplug) hor1z0nKernel for Condor

Hi guys,
I'm by no means a pro at kernel building but I've put lots of effort into this kernel so I thought I'd share it with you. I do not own a Moto E so I haven't had a chance to test it. The kernel is still in testing stage and built with Linaro 4.10.0 toolchain. It's built from source and has no added tweaks at the moment added tweaks such as those mentioned in the heading.
Edit: These kernels are only for stock based ROM's and not for PAC, CM etc.
Currently this kernel is only for 4.4.2 based ROMS since Motorola hasn't released Kernel sources for 4.4.3/.4 yet.
It should work in theory but since I do not own the device, I can't be certain.
Kernel Source: here
If someone would be kind enough to test them for me, I'd be really thankful.
Screenshots: Credits: xperiafan13
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, you will not end up in a bootloop or lose data after flashing this kernel. Just use the command
Code:
fastboot boot boot.img
instead of
Code:
fastboot flash boot boot.img
and if there are any problems, your phone will come back to the original state on next boot.
If the kernel crashes or fails to boot, please get me a last_kmsg so I can debug it.
Code:
adb shell cat /proc/last_kmsg > kmsg.txt
Download Links:
Test 1: 3.4.42-hor1z0nKernel
UPDATE
Please see this post.
UPDATE 2
Please see this post.
Issues:
Code:
At the moment, it seems that there is no network for phones.
Please point out more bugs.
Changelog: here
Code:
fixed compilation error: call cc-option, -mcpu=cortex-a7
updated touchscreen drivers
WIP:Intelli_Plug by Faux123
drivers/usb/gadget/f_qdss.c: gcc 4.8 fixup
drivers/Makefile: add exFat support
Added exFat support
drivers/tty/n_tty.c: fix CVE-2014-0196
Optimized autosleep.c
powersuspend: new PM kernel driver for Android w/o early_suspend
Updated cgroup_subsys.h for build bits for BFQ-v6-3.4
Add BFQ, FIOPS, SIO I/O scheduler
lib/lzo: Update LZO compression to current upstream version
fix compilation errors
Makefile: add some optimization flags for ARM
ext4: add support for read_iter and write_iter
Updated crypto/Makefile
crypto: Add lz4 Cryptographic API
WIP: Add LZ4 compression support
arch/arm/Kconfig: enable unaligned capability for ARM
scheduler: compute time-average nr_running per run-queue
lib/string: use glibc version
added memcopy libs
Pronto WLAN: Merge with Kernel tree
Ramdisk fix and added support for XT1022
fixed source built kernel
Note: On Android File Host, it says hor1z0nkernel.img for moto g but it's actually for Moto E. There is no section yet for Moto E so I had to put it with my other test files in the Moto G folder.
If I helped you or you like my work please click the
button.
Heading is saying for 'falcon' but moto e is 'condor' ?,please clarify...
JJ Singh said:
Heading is saying for 'falcon' but moto e is 'condor' ?,please clarify...
Click to expand...
Click to collapse
Sorry. Just made a test kernel for falcon as well and I just copied the heading as it is. This is for condor.
@newhor1z0n Good work dude! :good:
If you're taking requests, can I ask you to implement F2FS support?
Ex-Hunter said:
@newhor1z0n Good work dude! :good:
If you're taking requests, can I ask you to implement F2FS support?
Click to expand...
Click to collapse
Did it work?! I have just compiled a stock kernel at the moment. Feature requests are accepted but the main priority at the moment is boot.
F2FS can be implemented but we need a recovery capable of making F2FS partitions.
Sent from my Nexus 5 using XDA Premium 4 mobile app
newhor1z0n said:
Did it work?! I have just compiled a stock kernel at the moment. Feature requests are accepted but the main priority at the moment is boot.
F2FS can be implemented but we need a recovery capable of making F2FS partitions.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Newest official twrp has a f2fs provision. At least for my other nexus device.
Is your stock kernel built for 4.4.4? I can try it out.
Hetalk said:
Newest official twrp has a f2fs provision. At least for my other nexus device.
Is your stock kernel built for 4.4.4? I can try it out.
Click to expand...
Click to collapse
No. It's for 4.4.2. Moto hasn't released source for 4.4.3 yet.
Sent from my Nexus 5 using XDA Premium 4 mobile app
HELLO
xperiafan13 said:
Click to expand...
Click to collapse
Thanks for testing xperiafan. So please point out any bugs and feature requests you guys have.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Can you add OTG support?
(Sorry my bad english)
Sent from my XT1025 using Tapatalk
newhor1z0n said:
Thanks for testing xperiafan. So please point out any bugs and feature requests you guys have.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It will be best if u can add full dual sim support and IMP (at least for me) EXFAT(file system) support in ur kernel.... [emoji4]
JJ Singh said:
It will be best if u can add full dual sim support and IMP (at least for me) EXFAT(file system) support in ur kernel.... [emoji4]
Click to expand...
Click to collapse
Have you tried to boot the kernel? Because looking at the ramdisk, it seems dual sim support is there.
newhor1z0n said:
Have you tried to boot the kernel? Because looking at the ramdisk, it seems dual sim support is there.
Click to expand...
Click to collapse
Sorry for apologies, actually was waiting for Android 4.4.4 update so i didn't made any modifications, I'll try it later, but please consider adding exfat/ntfs support as it will allow us using 64GB sdcards too without formating them to fat32... [emoji4]
newhor1z0n said:
Hi guys,
I'm by no means a pro at kernel building but I've put lots of effort into this kernel so I thought I'd share it with you. I do not own a Moto E so I haven't had a chance to test it. The kernel is still in testing stage and built with Linaro 4.10.0 toolchain. It's built from source and has no added tweaks at the moment. If it boots, I'll add more cpu frequencies, schedulers etc soon.
Edit: These kernels are only for stock based ROM's and not for PAC, CM etc.
It should work in theory but since I do not own the device, I can't be certain.
If someone would be kind enough to test them for me, I'd be really thankful.
Also, you will not end up in a bootloop or lose data after flashing this kernel. Just use the command
Code:
[B]fastboot boot boot.img[/B]
instead of
Code:
[STRIKE]fastboot flash boot boot.img[/STRIKE]
and if there are any problems, your phone will come back to the original state on next boot.
If the kernel crashes or fails to boot, please get me a last_kmsg so I can debug it.
Code:
adb shell cat /proc/last_kmsg > kmsg.txt
Download Links:
Test 1: 3.4.42-hor1z0nKernel
Note: On Android File Host, it says hor1z0nkernel.img for moto g but it's actually for Moto E. There is no section yet for Moto E so I had to put it with my other test files in the Moto G folder.
If I helped you or you like my work please click the
button.
Click to expand...
Click to collapse
Thanks!
It works.
More development to follow I hope!
newhor1z0n said:
Have you tried to boot the kernel? Because looking at the ramdisk, it seems dual sim support is there.
Click to expand...
Click to collapse
I tried as i said,it booted on XT1022,moreover Android was 4.4.4(i know it was compatible with 4.4.2,but i can't revert back),everything was fine but non of the Sims seems working! [emoji6],i hope future update will fix issue..
JJ Singh said:
I tried as i said,it booted on XT1022,moreover Android was 4.4.4(i know it was compatible with 4.4.2,but i can't revert back),everything was fine but non of the Sims seems working! [emoji6],i hope future update will fix issue..
Click to expand...
Click to collapse
Can you give me the boot.img for XT1022?
Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.
Let me know as soon as possible.
Cheers!
newhor1z0n said:
Can you give me the boot.img for XT1022?
Click to expand...
Click to collapse
I'm sooo sorrrryy sir, but I'm unable to provide u with boot.img of xt1022 due to connectivity issues.But for a little help ,u can download a firmware for Indian version from http://sbf.droid-developers.org/phone.php?device=34
Blur_Version.20.11.14.condor_retaildsds.retaildsdsall.en.03 is Indian version but it's android 4.4.2... Again sorry, i hope u will understand.. [emoji4]
Also it will have all the files u need...
newhor1z0n said:
Can you give me the boot.img for XT1022?
Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.
Let me know as soon as possible.
Cheers!
Click to expand...
Click to collapse
Nice work newhor1z0n.
Could you add more cpu schedulers and powersuspend drivers?
newhor1z0n said:
Can you give me the boot.img for XT1022?
Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.
Let me know as soon as possible.
Cheers!
Click to expand...
Click to collapse
Actually in my neighbor there is no 1 with xt1022, moreover near about all the people on xda with xt1022 already updated to 4.4.4, so it's difficult to find someone with Android 4.4.2...[emoji53]
New Kernel with added features
Updated kernel. Many new features added.
Grab the download from here.
Changelog: here
Code:
fixed compilation error: call cc-option, -mcpu=cortex-a7
updated touchscreen drivers
WIP:Intelli_Plug by Faux123
drivers/usb/gadget/f_qdss.c: gcc 4.8 fixup
drivers/Makefile: add exFat support
Added exFat support
drivers/tty/n_tty.c: fix CVE-2014-0196
Optimized autosleep.c
powersuspend: new PM kernel driver for Android w/o early_suspend
Updated cgroup_subsys.h for build bits for BFQ-v6-3.4
Add BFQ, FIOPS, SIO I/O scheduler
lib/lzo: Update LZO compression to current upstream version
fix compilation errors
Makefile: add some optimization flags for ARM
ext4: add support for read_iter and write_iter
Updated crypto/Makefile
crypto: Add lz4 Cryptographic API
WIP: Add LZ4 compression support
arch/arm/Kconfig: enable unaligned capability for ARM
scheduler: compute time-average nr_running per run-queue
lib/string: use glibc version
added memcopy libs
Pronto WLAN: Merge with Kernel tree
Ramdisk fix and added support for XT1022
fixed source built kernel
Kernel Source: here
Please test this kernel guys and point out any bugs you can find.
Please read the first post on how to just boot the kernel (not flash it) which will boot the kernel on only one boot and you will be back to stock on the next boot.
If kernel doesn't boot or crashes, don't panic; get me a last_kmsg so I can fix issues.
Check the first post to see how to get last_kmsg.
Cheers!

[Guide] [09/14/2015] Building AOSP 5.1.1_r14 for the Nexus 6-Continued!

Building AOSP for the Nexus 6 - Continued!​
Scott is no longer working with the N6 and he has graciously allowed me to continue his thread . We all owe @scrosler a special THANKS for his work on the original thread. Better yet please go buy him a beer!! I also want to personally thank all who contributed to the original thread. You all make it work!!
​
Preface
1. I want to start by saying that I am still a relative newb. I built my first aosp rom for my N9 using the the guide from the original thread and followed up with one for my N6. I hope that by moving this thread forward we can continue to help others get started while we continue our own learning.
2. All questions concerning the build process and setup are welcome. They may not all get answered but please ask.
This guide continuation assumes the following:
1. You have read the original thread's OP and scanned the remainder of that thread before posting here.
2. To get things started you can test a rom built from android-5.1.1_r14. Get rom below. Vendor blobs updated from here and include the updated LYZ28E blobs. I also added some missing build props.
3. I am also linking the github source for the rom. You can build your own. Get github source below.
4. I hope to add a short get started github tut in OP#2 and add a vendor folder setup discussion in OP#3. I'm still trying to figure out how @sykopompos did his. All help on this subject is welcome.
FYI TO ALL!!! All my testing is on USA Verizon netwok.
LINK TO ORIGINAL THREAD OP
Get ROM HERE
Get GIT SOURCE HERE
==========================================================================================================
The following copied from original OP with some minor editing.
This guide assumes the following
Have Ubuntu 14.04 or equivalent setup, fully operation, and up to date. Hard Machine or Virtual, makes no difference. Must meet the minimum specs for compiling. Info from Google HERE
Understand terminal command line entry as this is all command line processes.
Lets Begin!
Add Java
Code:
sudo apt-get install openjdk-7-jdk
Add Build tools (Adds the required packages at the time of this posting)
Code:
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Add Repo command (Syncs Google Repository with your local machine)
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
Add bin folder to path for repo command (After you do this close Terminal and re-open to institute changes (easy way))
Code:
sudo gedit .bashrc
export PATH=~/bin:$PATH <-(add to end of bashrc)
Identify Yourself to the Repo (One day you may make commits so think about that when choosing your info!)
Code:
git config --global user.email "[email protected]"
git config --global user.name "yourpreferredusername"
Sync Repo (Download source... Sit back and grab a pop and a sandwich...)
Code:
mkdir ~/AOSP
cd ~/AOSP
repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.1_r14
repo sync
Note: I use AOSP as my directory name. You can use what you want. You could use "aosp" or "Source" or "android" or "whateveryoulike"
Set up ccache (this makes subsequent compiling much faster!)
First: Close then re-open the terminal so you are in the home root
Code:
sudo gedit .bashrc
export USE_CCACHE=1 <-Append that line to .bashrc then save and close
cd AOSP
prebuilts/misc/linux-x86/ccache/ccache -M 25G <-I use 25 gigs but you can change that value to any size you feel appropriate)
fhem Alternate ccache setup.
Install ccache using package manager (I use synaptic)
set ccache size - One ccache for all directories.
Code:
ccache -M 35G (I use 35 gigs but you can change that value to any size you feel appropriate)
I do not edit my .bashrc I use the following before my final make command. See Readme Build It
You can choose to use or not use ccache for any build/operation from any directory.
Code:
export USE_CCACHE=1
ccache manual
Install proprietary binaries (Needed for things like GPS and Bluetooth, they are not Open Source like Android) (Install proprietary binaries from here in the root of AOSP folder (or whatever you called yours))
Code:
https://developers.google.com/android/nexus/drivers
Run envsetup.sh
Code:
source build/envsetup.sh
Choose Device
Code:
lunch aosp_shamu-userdebug
Build it!
Code:
make -j16 otapackage
Note: using -j16 means 16 worker threads. This is fine if you have 8 logical CPU's so you may need to adjust that to a smaller or larger number if you have more or less Logical CPU's. Example: I have an i7 K edition Haswell so I have 8 logical cores; so I build with -j16. If you have an i5 quad core CPU which is 4 logical cores then you may want to consider -j8 as the set number of worker threads. Oddly enough Google actually recommends 3 to 4 times the number of logical CPU's. When I do that I have nothing but build crashes. You may need to experiment to get the right blend of performance and stability during build!
If you use
Code:
make -j `getconf _NPROCESSORS_ONLN` otapackage
it may take a little longer but it won't crash.
Find it
Should be located here: /home/yourusername/AOSP/out/target/product/shamu
Congrats!
Your know among the elite enthusiast that can build from source! Pat yourself on the back!
Git Hub Tips
There is already much written on git use so I am not going to try and reinvent that wheel!!!! I will provide some usefull links for your reading pleasure. I will also provide some tips based on my personal experiences using git. I have found there are many ways to get the same result using git and there are also many ways to break your your work. I did a lot of trial and error and deleting to learn what works best for me. Start small, don't be intimidated, and stay patient -- it will come. The following assumes we are using a linux distro.
1. Open a GitHub account ----- its easy. Keep it simple. Follow the setup instructions and use recommended HTTPS connection.. I also suggest caching your login info - I use 60 mins for my default cache time.
2. Install git. It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. I use Synaptic Package Manager. Keep it simple. Follow the setup instructions and use recommended HTTPS connection.
3. Git Tools: I prefer using Geany with terminal and File and Tree Browser and VC control plug-ins. There are many tools available and you may need to find one that works for you. You can install Geany and its plug-ins using your distro package manager.
4. ROM Tree Structure Very Important. I recommend keeping your rom GitHub tree structure in line with the Android Git Repositories.
Useful links:
1. http://git-scm.com/docs
2. http://gitref.org/creating/
3. http://forum.xda-developers.com/showthread.php?t=1877040 Thanks @eagleeyetom
4. http://forum.xda-developers.com/showthread.php?t=2763236 Thanks @jabza
5. http://forum.xda-developers.com/showthread.php?t=2329228 Thanks @Red Devil
I hope the above is helpful to getting you started on GitHub. Good Luck!!
reserved vendor folder discussion.
fhem said:
Building AOSP for the Nexus 6 - Continued!​
Scott is no longer working with the N6 and he has graciously allowed me to continue his thread . We all owe @scrosler a special THANKS for his work on the original thread. Better yet please go buy him a beer!! I also want to personally thank all who contributed to the original thread. You all make it work!!
​
Preface
1. I want to start by saying that I am still a relative noob. I built my first aosp rom for my N9 using the the guide from the original thread and followed up with one for my N6. I hope that by moving this thread forward we can continue to help others get started while we continue our own learning.
2. All questions concerning the build process and setup are welcome. They may not all get answered but please ask.
This guide continuation assumes the following:
1. You have read the original thread's OP and scanned the remainder of that thread before posting here.
2. To get things started you can test a rom built from android-5.1.1_r4 using Sykopompos vendor blobs for 5.1. Get rom below.
3. I am also linking the github source for the rom. You can build your own. Get github source below.
4. I hope to add a short get started github tut in OP#2 and add a vendor folder setup discussion in OP#3. I'm still trying to figure out how Sykopompos did his. All help on this subject is welcome.
FYI TO ALL!!! All my testing is on USA Verizon netwok.
LINK TO ORIGINAL THREAD OP
Get ROM HERE
Get GIT SOURCE HERE
Click to expand...
Click to collapse
Lots and lots of dark magic ?
Hey great to see you. I thought you were kyaking LOL. You coming back for M????
fhem said:
Hey great to see you. I thought you were kyaking LOL. You coming back for M????
Click to expand...
Click to collapse
I actually just ordered my kayaking last night so hopefully I'll have it in time for next weekend.
Just popping in really and checking M out and seeing how it develops
sykopompos said:
I actually just ordered my kayaking last night so hopefully I'll have it in time for next weekend.
Just popping in really and checking M out and seeing how it develops
Click to expand...
Click to collapse
Still waiting for the full platform on aosp. Hey did you diff the stock rom and aosp rom to get your vendor blobs. I was setting up with BeyondCompare to give it a look. LOL Enjoy your time off and your family. Life is too short.
fhem said:
Still waiting for the full platform on aosp. Hey did you diff the stock rom and aosp rom to get your vendor blobs. I was setting up with BeyondCompare to give it a look. LOL Enjoy your time off and your family. Life is too short.
Click to expand...
Click to collapse
For the most part, you can diff and find file differences but aosp has it's own files and stuff like that so you gotta be able to figure out what they do
sykopompos said:
For the most part, you can diff and find file differences but aosp has it's own files and stuff like that so you gotta be able to figure out what they do
Click to expand...
Click to collapse
I was afraid you were going to tell me that. :laugh: Oh well It will give my old brain and google a workout. hahahaha Thanks and enjoy yourself.
Hey @fhem! Glad to see you take over, you're always very helpful!
In your Repo Int code above, did you mean "android-5.1.1_r4"? I wanted to double check that part for the guide.
purian23 said:
Hey @fhem! Glad to see you take over, you're always very helpful!
In your Repo Int code above, did you mean "android-5.1.1_r4"? I wanted to double check that part for the guide.
Click to expand...
Click to collapse
Yep. That's the latest. That's what I built above if you look at the fhemaosp default manifest.
fhem said:
Yep. That's the latest. That's what I built above if you look at the fhemaosp default manifest.
Click to expand...
Click to collapse
Okay cool! Just trying to save some headache if someone grabs the guide one listed lol.
purian23 said:
Okay cool! Just trying to save some headache if someone grabs the guide one listed lol.
Click to expand...
Click to collapse
Fixed thanks for catching that typo.
sykopompos said:
I actually just ordered my kayaking last night so hopefully I'll have it in time for next weekend.
Just popping in really and checking M out and seeing how it develops
Click to expand...
Click to collapse
Hello @sykopompos, I am just glad to see you here! Thanks for all your contributions!
I let @fhem take over the thread since he is more active than I. But I appreciate all the help you have given and will continue to give!
Knowledge is TRULY priceless!
-Scott
EDIT: Can someone put that on my tombstone, lol
Can we have guide about building ROM from open source? e.g LG open source. Actually I was trying to build a M1 review ROM with the LG open source but it fails. I tried several times and finally give op due to errors. I downloaded the android source and then follow this guide and then download LG G4 ROM from following.
http://opensource.lge.com/osSch/list?types=ALL&search=H815
I set up the environment and then started building but it fails again and again. I think it will be very helpful for every one who interested in building ROM from open source. Thanks
Sent from my LG-H815 using Tapatalk 2
janjan said:
Can we have guide about building ROM from open source? e.g LG open source. Actually I was trying to build a M1 review ROM with the LG open source but it fails. I tried several times and finally give op due to errors. I downloaded the android source and then follow this guide and then download LG G4 ROM from following.
http://opensource.lge.com/osSch/list?types=ALL&search=H815
I set up the environment and then started building but it fails again and again. I think it will be very helpful for every one who interested in building ROM from open source. Thanks
Sent from my LG-H815 using Tapatalk 2
Click to expand...
Click to collapse
I have never worked with any LG source codes. I would suggest you start your own thread on the LG G4 Forum. It definately sounds like you got enough to get one rolling. Good luck with the G4.
Hello,
I am trying to build android 5.1.1_r6 for the Nexus 6 and was able to get it to build and install. Had a weird issue where gapps would not install, but I think I fixed that by flashing a different set of gapps. My issue is that I am unable to hear people through the handset speaker when I make phone calls. I have no idea what it is. Apparently they can hear me, but I cant hear them. I can use speaker phone, but even that seems lower volume than normal.
Also, side question, since I am building AOSP 5.1.1_r6 am I supposed to use the preview binaries found here: https://developers.google.com/android/nexus/blobs-preview
or just use the factory image binaries?
Thank you
KerryWood34 said:
Hello,
I am trying to build android 5.1.1_r6 for the Nexus 6 and was able to get it to build and install. Had a weird issue where gapps would not install, but I think I fixed that by flashing a different set of gapps. My issue is that I am unable to hear people through the handset speaker when I make phone calls. I have no idea what it is. Apparently they can hear me, but I cant hear them. I can use speaker phone, but even that seems lower volume than normal.
Also, side question, since I am building AOSP 5.1.1_r6 am I supposed to use the preview binaries found here: https://developers.google.com/android/nexus/blobs-preview
or just use the factory image binaries?
Thank you
Click to expand...
Click to collapse
I haven't been able to get _r6 to build due to errors in frameworks/opt ever since merging so good for you on that. As for the binaries It was found a while back that the Google one were incomplete. People were using The vendor files from chroma in their stead. I haven't spoken to fhem in a couple of days but it looks like his github is under construction atm. I forked the vendor repo from him since he had changes that fixed some no sound issues as well. Again I've yet to build _r6 successfully so no idea if these will solve your issue but you're welcome to try them out? You can get them from my github here: https://github.com/rockinroyle/platform_vendor_moto_shamu
Let us know how it goes? I'm trying again after I clone frameworks from scratch.
rockinroyle said:
I haven't been able to get _r6 to build due to errors in frameworks/opt ever since merging so good for you on that. As for the binaries It was found a while back that the Google one were incomplete. People were using The vendor files from chroma in their stead. I haven't spoken to fhem in a couple of days but it looks like his github is under construction atm. I forked the vendor repo from him since he had changes that fixed some no sound issues as well. Again I've yet to build _r6 successfully so no idea if these will solve your issue but you're welcome to try them out? You can get them from my github here: https://github.com/rockinroyle/platform_vendor_moto_shamu
Let us know how it goes? I'm trying again after I clone frameworks from scratch.
Click to expand...
Click to collapse
I had no luck with r6 either. I reverted back to r5. I looked at chroma/zephk on git and I don't think he took the whole r6 merge to his git repos - not sure what he did.
I'm sticking to to r5 for now.
I've been building r6 fine with zero issues. Did notice the speaker issue on call but fixed it with two commits from chroma in device/moto/shamu for audio. I've also been using the latest binaries posted by google on the aosp page, no issues that I can tell. WiFi calling/normal calling, sound all around, SMS/MMS, all works.
Sent from my Nexus 6 using Tapatalk

Categories

Resources