This thread is intended for devs & advanced users only.
Here you can learn how to build CyanogenMod 12.1 for any of the 2011 xperia devices.
I will use 'smultron' as an example device, you should replace the codename with the device you want to build.
For the first time you try to build CM12.1
Follow this guide up to "Initialize the CyanogenMod source repository" step (don't execute this step).
http://wiki.cyanogenmod.org/w/Build_for_smultron
Initialize the CyanogenMod source repository
Enter the following to initialize the repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
Get the required local manifest
Code:
mkdir -p ~/android/system/.repo/local_manifests
curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-12.1/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
Download the source code
Code:
repo sync
Setup the build environment
Code:
. build/envsetup.sh
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
ln -s vendor/extra/updates.sh updates.sh
./updates.sh
Setup the build environment & prepare the device-specific code.
Code:
cd ~/android/system
. build/envsetup.sh
breakfast smultron
Build the ROM (takes long time)
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-12.1-DATE-UNOFFICIAL-LegacyXperia-smultron.zip
The next times you want to build, you only need to do the following:
Sync the repositories & make sure you are using the latest local_manifest.
Code:
cd ~/android/system/
curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-12.1/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
repo sync
Setup the build environment
Code:
. build/envsetup.sh
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
./updates.sh
Build the ROM
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-12.1-DATE-UNOFFICIAL-LegacyXperia-smultron.zip
Steps to build only the kernel:
Sync the repositories.
Code:
cd ~/android/system/
repo sync
Setup the environment
Code:
. build/envsetup.sh
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
./updates.sh
Build the kernel
Code:
breakfast smultron
make -j4 bootimage
If the build finishes successfully, you will find the boot image here:
~/android/system/out/target/product/smultron/boot.img
Some suggestions for faster builds:
* Enable ccache
* Use the fastest hdd on your pc to store the source, build output & ccache
* You can also buy an ssd, if it's not large enough to hold everything, just store the build output & ccache
* mount /tmp on tmpfs (RAM).
The above have greatly improved my dirty build times with removed /out/target from 1h30m to 30m.
Mounting /tmp on tmpfs made the biggest improvement for me.
Credits: Thanks to hnl_dk for the initial CM9 & CM10 guides.
Reserved
getting insuficiant storage aviable in pa gappps (pico/micro) packages
Druboo666 said:
getting insuficiant storage aviable in pa gappps (pico/micro) packages
Click to expand...
Click to collapse
yes...same here
from build of 21st...i am getting this error
and even other zips are not getting flashed
TWRP
delete
Other than a fast HDD, does you computer need to be fast to build it? (Running a 2007 Core 2 Duo...)
Theonew said:
More cores are better. Here are the requirements to build it from source:
- 6GB of download.
- 25GB disk space to do a single build.
- 80GB disk space to build all AOSP configs at the same time.
- 16GB RAM recommended, more preferred, anything less will measurably benefit from using an SSD.
- 5+ hours of CPU time for a single build, 25+ minutes of wall time, as measured on a workstation (dual-E5620 i.e. 2x quad-core 2.4GHz HT, with 24GB of RAM, no SSD).
Click to expand...
Click to collapse
And I would say that a fast internet connection is also recommended, since the full source for initial sync is more than 10GBs (on ICS it already was, probably like 20GBs for lollipop).
brunch build error 12.1
Hi,
I am trying to build the image from the sources as per the build instructions to make my own test build.
After repo downloads, while building i am getting error "init/Kconfig:953: can't open file "usr/Kconfig"" in the brunch smultron command.
I am following these commands:
1) repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
2) curl https://raw.githubusercontent.com/Le...-12.1/semc.xml > /tmp/android/system/.repo/local_manifests/semc.xml
3) repo sync
4) ln -s vendor/extra/updates.sh updates.sh
5) ./updates.sh
6) . build/envsetup.sh
7) breakfast smultron
8) brunch smultron
{
"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"
}
Can you tell me whats wrong.
Thanks.
joshipallav said:
Hi,
I am trying to build the image from the sources as per the build instructions to make my own test build.
After repo downloads, while building i am getting error "init/Kconfig:953: can't open file "usr/Kconfig"" in the brunch smultron command.
I am following these commands:
1) repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
2) curl https://raw.githubusercontent.com/Le...-12.1/semc.xml > /tmp/android/system/.repo/local_manifests/semc.xml
3) repo sync
4) ln -s vendor/extra/updates.sh updates.sh
5) ./updates.sh
6) . build/envsetup.sh
7) breakfast smultron
8) brunch smultron
Can you tell me whats wrong.
Thanks.
Click to expand...
Click to collapse
Delete the folder ~/android/system/kernel
repo sync again and make sure you get no errors
run make clean
try to build again
@Langes
hi.. just wanted to know.. any guide to Build for AOSP 5.1.1 Lollipop for Xperia Devices 2011 like cm12.1 here
and silly question time.. lol
is it possible that AOSP Android M source can also be built for Xperia Play (2011 Devices) .. I mean changes made by Mike (the AOSP Mike) + Source of Android M .. will it give us some output or :/
I built this rom today with new 3.10 kernel. It seems to be improved in some points (what isn't neccessary because of kernel), but with new kernel I can't use wifi and mobile data seems to be not working too. To build I fetched the new kernel and cherry-picked following commits:
Code:
#msm7x30-common: Update USB configuration for 3.10
cherries+=(LX_594)
#Use common msm7x30 kernel
#cherries+=(LX_422)
#msm7x30-common: Use common msm7x30 kernel
cherries+=(LX_421)
#mogami-common: wl12xx updates for 3.10
cherries+=(LX_407)
#media/msm7x30: Update for 3.10 support
cherries+=(LX_403)
#display/msm7x30: Update for 3.10 support
cherries+=(LX_402)
#audio/msm7x30: Update for 3.10 support
cherries+=(LX_401)
#kernel
#usb: Import msm charger changes from 6.2.B.0.200
cherries+=(LX_430)
#usb: msm72k_otg: Remove userspace events [REVISIT]
cherries+=(LX_428)
Is there something I missed to get working internet connection? (I didn't really test the rom for other things so far)
Getting this error when building AOSP rest all goes fine..
build also starts but getting this error.. any suggestion ?
Hey Mike, I tried to build CM14 and it fails. After some investigation it seems that imgdiff is missing. This was fixed on CM13: http://review.cyanogenmod.org/#/c/135193, which can't be applied to CM14 (no RECOVERY_PATCH_INSTALL).
I hope this helps.
zweif said:
Hey Mike, I tried to build CM14 and it fails. After some investigation it seems that imgdiff is missing. This was fixed on CM13: http://review.cyanogenmod.org/#/c/135193, which can't be applied to CM14 (no RECOVERY_PATCH_INSTALL).
I hope this helps.
Click to expand...
Click to collapse
I already have a cm14 zip for anzu, just unable to flash it because it's about 330MB and device runs out of memory when attempting to flash. Will try to find a solution/hack on the weekend
I managed to build cm14 zip for mango (installation fails as expected).
I modified build/core/Makefile, I don't fully understand how these dependencies work, but maybe there is a dependency issue.
There are dependencies: imgdiff <- RECOVERY_FROM_BOOT_PATCH <- INSTALLED_SYSTEMIMAGE <- BUILT_TARGET_FILES_PACKAGE (where make_recovery_patch is called, which needs imgdiff)
Now INSTALLED_SYSTEMIMAGE is defined before RECOVERY_FROM_BOOT_PATCH, but dependencies of INSTALLED_SYSTEMIMAGE are defined after that. Could this cause an issue?
After moving
Code:
INSTALLED_SYSTEMIMAGE := $(PRODUCT_OUT)/system.img
SYSTEMIMAGE_SOURCE_DIR := $(TARGET_OUT)
from line 1284 to line 1314 build was successfull.
mikeioannina said:
I already have a cm14 zip for anzu, just unable to flash it because it's about 330MB and device runs out of memory when attempting to flash. Will try to find a solution/hack on the weekend
Click to expand...
Click to collapse
I managed to flash cm14 after disabling dex-preoptimization. Zip size decreases to ~260MB. I didn't do extensive testing - messaging seems to work, dialing a number causes restart (system, not kernel), the only sounds I noticed were dialing sounds, i miss a browser and other apps - but it seems nice for a first impression.
Concerning my problem with imgdiff: After reading some make documentation I have no clue why it isn't built. Maybe these dependencies aren't tracked because RECOVERY_FROM_BOOT_PATCH is set to an empty string when BOARD_CANT_BUILD_RECOVERY_FROM_BOOT_PATCH is defined?
I can manually call 'make imgdiff' as workaround.
I tried some things that could have affected imgdiff before my last post, and I'm not sure if I cleared output directory. Did you try a clean build or could imgdiff come from a previous build on your machine?
bro, How much space does it need to sync the repo??
& if I want to port a ROM based on CM (Like Resurrection Remix or Liquid Smooth), would I have to use the command "repo sync"?
I'm trying to build CM14.0, but jack server is giving me a bad time with out of memory error. I have tried changing jack.server.max-service to 1, heap size to 2g, 3g and 4g, even to build without ninja, but always getting out of memory. In CM13.0 I could build without jack, but now the built is failing without it. I'm using Ubuntu 16.04 on an i3 with 4g RAM and 8g swap, I've seen cases with machines with better specs failing (e.g. i5, 8g RAM). Is it a bug with jack, or my specs is the limiting factor?
Edit: I guess this is the EOL for me :crying:.
azakosath said:
I'm trying to build CM14.0, but jack server is giving me a bad time with out of memory error. I have tried changing jack.server.max-service to 1, heap size to 2g, 3g and 4g, even to build without ninja, but always getting out of memory. In CM13.0 I could build without jack, but now the built is failing without it. I'm using Ubuntu 16.04 on an i3 with 4g RAM and 8g swap, I've seen cases with machines with better specs failing (e.g. i5, 8g RAM). Is it a bug with jack, or my specs is the limiting factor?
Edit: I guess this is the EOL for me :crying:.
Click to expand...
Click to collapse
Jack troubleshooting
If your computer becomes unresponsive during compilation or if you experience Jack compilations failing on “Out of memory error”
You can improve the situation by reducing the number of Jack simultaneous compilations by editing your $HOME/.jack-server/config.properties and changing jack.server.max-service= to a lower value.
Description with default values follows:
jack.server.max-service=<number> Maximum number of simultaneous Jack tasks. Default is 4.
jack.server.max-jars-size=<size-in-bytes> Maximum size for Jars, in bytes. -1 means no limit. Default is 100 MiB.
jack.server.time-out=<time-in-seconds> Time out delay before Jack gets to sleep. When Jack sleeps, its memoryusage is reduced, but it is slower to wake up. -1 means "do not sleep".Default is 2 weeks.
jack.server.service.port=<port-number> Server service TCP port number. Default is 8076. Needs to match theservice port defined in $HOME/.jack-settings on the client host (SeeClient section).
jack.server.admin.port=<port-number> Server admin TCP port number. Default is 8077. Needs to match theservice port defined in $HOME/.jack-settings on the client host (SeeClient section).
jack.server.config.version=<version> Internal, do not modify.
Mardon said:
Jack troubleshooting...
Click to expand...
Click to collapse
Thanks for answering, but I have already read these. I tried several combinations (max services and "-Xmx") without luck. Even:
Code:
export USE_NINJA=false
to build without ninja. The result was always the same, jack server was hanging and failing after 30 or more compilations.
P.S. I did use the changes that are not merged yet, but I don't think this is related.
You also can try
breakfast devicename
And after that
make -j1 bacon
To force 1 job compiling only
Gesendet von meinem GT-I8190 mit Tapatalk
Related
{
"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"
}
Welcome to the unofficial CyanogenMod 11.0 nightlies
Here begins a new surge of CM11 builds. I have teamed up with @love4k21 and are looking at outputting weekly builds. My build machine is not up right now and between that and my two jobs, it's hard to get build going again when they take aver 10 hours to complete. With a great thanks to love4k21, he will be building the Roms while I build the kernels. These new builds will ALREADY have my kernel placed in the Rom and I will host these builds on my Mediafire account. I hope yall like this new pace as I am sure you will
Contributors
These are the people that have helped out this thread in their own way. Whether it by helpful info or by being or giving me motivation to do what I am doing.
@iXNyNe, @trevor.bman, @razen_kain, @mr-cook, @royahaun, @david72262, @SteveMurphy and so on. Practically EVERYONE on both my threads are helpful and contribute to the discussion.
Donators(I KNOW RIGHT?! I never set out to make money doing this but to have someone give me their hard earned money blows me away. THANKS!
@royahaun
@NePanicPas
This is cross compiled with Rom = Linaro 4.7.4 and Kernel = Sabermod 4.7
DISCLAIMER
Code:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications.
*/
Also I have noticed the superuser is not 100% for some reason so I am going to look at either incorporating SuperSU or just having everyone install SuperSU from the play store. Obviously the first suggestion would be easiest for the end user. But in the mean time if you want 100% working SU then download SuperSU from the Play Store and install it using the "Normal" install option.Once done reboot.
SuperSU from Play Store
HOW TO INSTALL
Make sure you are on CWM 6.0.4.4+ before flashing ROM! Thanks to @mr-cook you can now download and flash just the recovery/kernel!
Other handy scripts you can use from mr-cook can be found: Here
Download 6.0.4.5 Recovery/Kernel created by mr-cook : Here
Download the zip
Download compatible Gapps
WIPE DATA/FACTORY RESET
Wipe Cache/Dalvic Cache
Flash the Rom
Flash Gapps
Reboot
Enjoy
Already Installed CM11
Download the zip
WIPE Cache
WIPE Dalvik Cache
Flash the zip
(Optional) Flash updated Gapps
(Optional) Fix Permissions
Reboot
Changelog and Rom Downloads in POST #2
Source: https://github.com/CyanogenMod
Download Links and Changelog
CM Commit Changelog
Recommended GApps: CM11 Compatible GApps
If you dont like torrents in the above link use: This
OR Aroma GApps (But PLEASE READ thread to make sure this is for you)
Download Links
Current Build:4/03/2014 Build 9
Comes with the stock CM11 Kernel
Sync'd CM11 Source
Compiled with new Linaro Toolchain (4.7.4) custom made for Cortex A9!!!!
Older Builds
12/07/2013 Build 1
Initial Build
12/08/2013 Build 2
Cherry-picked Exynos Camera Fixes: should fix video recording (Not Tested yet)
12/11/2013 Build 3
Initial Linaro Build (4.7.4)
Updated Mali Drivers
12/12/2013 Build 4
Linaro
(New Governors)
hotplug author: Mike Turquette <[email protected]> &
Santosh Shilimkar <[email protected]>
lulzactiveq author: Mike Chan <[email protected]>
Improved by tegrak <[email protected]>
Tuned by: gokhanmoral-robertobsc"
(New I/O Schedulers)
Updated ROW to V4.
Tweaked SIO a bit.
Added V(R) authored by Aaron Carroll <[email protected]>.
Added BFQ v6r2 authored by:
-Jens Axboe <[email protected]>
-Fabio Checconi <[email protected]>
-Paolo Valente <[email protected]>
and improved by Arianna Avanzini <[email protected]>
12/19/12013 Build 5
Synced latest CM sources
Cherry-Picked Video Recording Fix
Tried to add Low RAM option but it doesnt work . . .for now
12/23/2013 Build 6 WIFI FIXED!
Integrated Kernel build 12/29/2013 For more info about kernel please see: Link
Synced CM sources
Reverted cherry-picks to hopefully resolve minor issues
2/24/2014 Build 8
Comes with the stock CM11 Kernel
Sync'd CM11 Source
This is the smoothest build so far!!
Compiled with new Linaro Toolchain (4.7.4) custom made for Cortex A9!!!!
Screen Shots
courtesy of @@trevor.bman
CM11 Build Instructions
courtesy of @@iXNyNe
most of this is ripped from http://wiki.cyanogenmod.org/w/Build_for_i777 so visit there for extra details and explanations
You will need:
A Galaxy S II running CyanogenMod
A Linux environment; you have multiple options here
A dedicated machine (probably the quickest to make builds)
A "Dual Boot" setup (also fast, but the build can take some time so expect to get familar with linux desktop while it's building)
a Virtual Machine setup such as VirtualBox (if you run just a basic command line setup this may be faster, but if you run the full environment it's likely to be slower because of the resources)
An internet connection (probably not a hotspot... you'll be downloading ~20GB)
A Micro USB cable
*Notes: you'll want to be using the 64-bit version of whatever linux distro you choose
**I'm not going to go into detail on setting up linux here, but there's lots of tutorials
***personally I use Ubuntu linux as my daily desktop environment (I'M FREE FROM WINDOWS!)
Phase 1: Setup that only has to be done once
You'll need to install ADB (and wouldnt hurt to have fastboot)
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
next is udev rules
on ubuntu press alt+f2 and enter
Code:
gksu gedit /etc/udev/rules.d/51-android.rules
you'll be asked for a password for elevated permissions *should have been setup when you setup linux
paste this
Code:
#Samsung
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0660"
There are other rules you can add for other vendors but this one should work for all samsung devices.
Next install the other tools required to build
Code:
sudo apt-get install bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
*note this will install the 32 and 64 bit tools, if you're on 32 bit you're doing it wrong...
Next create some directories
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Install repo command
Code:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Allow repo to run outside of it's directory (so you can just type repo insteas of /home/user/bin/repo)
Code:
gedit ~/.bashrc
enter the following in the text editor then save and close
Code:
export PATH=${PATH}:~/bin
Initialize the CyanogenMod source repository
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
Download the source code
Your first sync will take forever! it's just under 20GB, I recommend doing it overnight - in the future your sync will be faster because it just downloads updates.
Code:
repo sync
*Note from Render - by default the repo sync command will download using 4 simultanous connections. If you have a fast internet connection you can add more connections like this:
repo sync -j6 (or -j8 and so on)
Get prebuilt apps
Code:
cd ~/android/system/vendor/cm
./get-prebuilts
notice the dot!
Prepare the device-specific code
Code:
cd ~/android/system
source build/envsetup.sh
breakfast i777
Extract proprietary blobs
Now ensure that your Galaxy S II (AT&T) is connected to your computer via the USB cable and usb debugging is turned ON!
Code:
adb devices
if you see your device listed then proceed, if not come here to this thread and ask for help! you cannot go further! (and won't be able to go further in the future).
Code:
cd ~/android/system/device/samsung/i777
./extract-files.sh
*Note from Render - If you setup your roomservice.xml file like below then you already have the needed device files and the above few steps really are not necessary.
Setup and modify roomservice.xml
Code:
mkdir .repo/local_manifests
gedit .repo/local_manifests/roomservice.xml
Enter this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_i777" path="device/samsung/i777" remote="github" />
<project name="CyanogenMod/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />
</manifest>
Save and quit
Phase 2: Building (finally!)
Let's assume from here that you finished all of the above and got bored and closed the terminal - or that you just finished a build and are starting a new one after opening a fresh terminal (or just continuing from the instructions above) the following commands in order will set up your build environment, sync the latest changes, and pull in the patches we need for the build to work and then initiate the build. All of the commands up until brunch shouldn't take long to run, brunch can take anywhere from 2-10 hours depending on your system specs
Code:
cd ~/android/system/
repo selfupdate
repo sync
cd device/samsung/i777/
git fetch http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_i777 refs/changes/90/54090/1 && git cherry-pick FETCH_HEAD
croot
cd device/samsung/galaxys2-common/
git fetch http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_galaxys2-common refs/changes/65/55865/1 && git cherry-pick FETCH_HEAD
croot
export USE_CCACHE=1
. build/envsetup.sh
brunch i777
#done (as long as the build shows the out file)
If your build succeeds and you have a file you can push it to your device over usb using adb like so
Code:
cd $OUT
adb push cm-11-20140107-UNOFFICIAL-i777.zip /sdcard/
*Note that the filename should match whatever your build name (depending on the date usually just change the number)
this takes a minute or two, but once it's done you can reboot into recovery and then flash your build!
Also since you used CCACHE=1 And build from here on will now take a fraction of the time to build.
Awesome
Sent from my LG-D801 using Tapatalk
Excited to try it out!!
Is this also compiled with linaro?
Sent from my SGH-I777 using Tapatalk 2
Not yet, Its just a fully working CM11 Build for now.
Thanks a lot for this man. I am downloading it right now. I will let you know of any bugs.
---------- Post added at 03:32 PM ---------- Previous post was at 03:29 PM ----------
There is a problem. I clicked the link to the ROM but it says I need mega to download the file. I suggest using drop box or mega upload to upload the file. Thanks!
csfile said:
Is this also compiled with linaro?
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
azeem40 said:
Thanks a lot for this man. I am downloading it right now. I will let you know of any bugs.
---------- Post added at 03:32 PM ---------- Previous post was at 03:29 PM ----------
There is a problem. I clicked the link to the ROM but it says I need mega to download the file. I suggest using drop box or mega upload to upload the file. Thanks!
Click to expand...
Click to collapse
Damn, I was trying to use Dev Host but it crapped out SO many times. I will fix it. Thanks for the heads up
RenderBroken said:
Damn, I was trying to use Dev Host but it crapped out SO many times. I will fix it. Thanks for the heads up
Click to expand...
Click to collapse
NP. It still downloads just fine, though, and I get free 50gb storage! For others, it might be a problem.
RenderBroken said:
Damn, I was trying to use Dev Host but it crapped out SO many times. I will fix it. Thanks for the heads up
Click to expand...
Click to collapse
Anyone else having issues using Mega? I was able to initiate the download without a prompt to install/download Mega like Azeem says? Apparently Dev Host wants to work for me now :silly:
EDIT: Nvm, I figured out the problem. I forgot to reboot into recovery. It was showing the old recovery.
azeem40 said:
EDIT: Nvm, I figured out the problem. I forgot to reboot into recovery. It was showing the old recovery.
Click to expand...
Click to collapse
So you were able to download the file? What did you end up having to do?
azeem40 said:
EDIT: Nvm, I figured out the problem. I forgot to reboot into recovery. It was showing the old recovery.
Click to expand...
Click to collapse
Can you explain? I can't get it to install either. I was having the same metadata recursive error. The OP says use CWM 6.0.4.4, but the newest i can find is 6.0.1.0
lordmorphous said:
Can you explain? I can't get it to install either. I was having the same metadata recursive error. The OP says use CWM 6.0.4.4, but the newest i can find is 6.0.1.0
Click to expand...
Click to collapse
You have to install the cm10.2 latest nightly, which will have 6.0.4.5.
azeem40 said:
You have to install the cm10.2 latest nightly, which will have 6.0.4.5.
Click to expand...
Click to collapse
Ironically, I'm downloading that now. Thanks.
RenderBroken said:
So you were able to download the file? What did you end up having to do?
Click to expand...
Click to collapse
I still had to do what I explained in the previous page (download MEGA and sign up for an account).
lordmorphous said:
Ironically, I'm downloading that now. Thanks.
Click to expand...
Click to collapse
azeem40 said:
You have to install the cm10.2 latest nightly, which will have 6.0.4.5.
Click to expand...
Click to collapse
lordmorphous said:
Can you explain? I can't get it to install either. I was having the same metadata recursive error. The OP says use CWM 6.0.4.4, but the newest i can find is 6.0.1.0
Click to expand...
Click to collapse
I will make that more clear in the OP. Unfortunately there is not an easier way to install the recent recovery other than flashing the newer CM10.2 nightlies.
how come this is not on the cyanogenmod website for our device?
>> http://download.cyanogenmod.org/?device=i777
ksaul said:
how come this is not on the cyanogenmod website for our device?
>> http://download.cyanogenmod.org/?device=i777
Click to expand...
Click to collapse
That is because this is an unofficial nightly. RenderBroken ported cm11 for us.
---------- Post added at 05:59 PM ---------- Previous post was at 05:38 PM ----------
Render, did you forget to include the launcher in this? Cuz when I click home, the screen goes black. Also, when I restart the phone, it goes into a bootloop. I have tried reflashing it three times and each time, the same thing happens.
{
"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"
}
CyanogenMod 11.0 for the Samsung Galaxy Ace 2 ( GT-I8160 )
------------------------------------------------------------------------------------------------------------------------------------------
It happens to me that I got some build capacity and like to share my CyanogenMod/TeamCanjica builds. I am hardly developing, just cherry-picking and some light debugging. Some of these builds are untested, so feel free to report your experiences here.
These builds are compiled from TeamCanjica's sources, found on GitHub. For installation instructions, credits, changelogs, see Rox original thread. There you also find information about donations. For a changelog in CM sources, you may find CM review helpful.
Let me repeat: all CREDITS to the guys mentioned here. They did all the work.
These builds come in two versions:
Full version, "Rox-like" with all CM apps except CMupdater
Stripped (slim) version without: build-in sounds/ringtones, Apollo, Videoeditor, most of the screensavers, CMhome, CMupdater, CMwallpaper, Exchange provider.
Each of these two versions has a build for the codinap device (with NFC) and the codina device (without NFC). In case you don't know, you probably have a codina device. Personally, I use the stripped-codinap-version, so this will be updated quite often, the others not so frequently.
If your device breaks: you did this on your own responsibility. However, bleeding edge may be worth it.
Link to my dev-host downloads.
FAQ:
Question: How often do you release? How long will this be maintained?
Answer: I don't now. At the moment (October 2014) quite often. Weekly. Daily.
Question: Is XYZ working? (answer valid for the LATEST STRIPED version)
Answer: Live Streaming: Camera and YouTube works.
Answer: Call logs: Contact app is up-to-date and working.
Answer: Swap Storage: don't know. CPU gpu oc: don't know.
Question: How can I get ringtones and notifications back?
Answer: Install the full version. OR: or the internal sdcard, create files like /media/audio/notifications/MyFavourite.ogg and /media/audio/ringtones/MyFavourite.ogg and they will be there forever, even if you install the stripped version.
How to build:
Code:
repo init -u https://github.com/TeamCanjica/android.git -b cm-11.0
repo sync -j32
./cherry-pick.sh
./vendor/cm/get-prebuilts
. build/envsetup.sh
brunch codina
The cherry-pick.sh is taken from here, but maybe some more picks are needed. Note that the code above is more a concept than a working script. Getting your own build environment is not very hard, but not topic of this thread. If it does not compile, feel free to solve it and post the SOLUTION here.
Issues:
Camera FC after video rec
Some videos only play in fullscreen, e.g. in browser (see here and following).
download / changelog
What's all these files? Which device do I have? Please read post #1 first.
IMPORTANT: I had to buy a new device. These files won't be updated anymore or only very very occasionally. Thank you for understanding and supporting me in the past.
These ZIP-files includes a working kernel, based on the stock kernel. There is a good alternative , described here (there are probably more good alternatives I did not test so far).
Stripped: cm-11-20141108-poppmensa-codinap.zip - 190.67 MB, cm-11-20141108-poppmensa-codina.zip - 190.11 MB
Full: cm-11-20141108-poppmensa-codinap.zip - 218.06 MB, cm-11-20141108-poppmensa-codina.zip - 217.49 MB
CM sources updates
ISSUES: camera FC after video-rec (BUT: camera works again, in contrast to 20141101 build)
Stripped: cm-11-20141101-UNOFFICIAL-codinap.zip - 190.54 MB, cm-11-20141101-UNOFFICIAL-codina.zip - 189.98 MB
CM sources updates
remove NovaThor from stripped and full version (until it works with ace2nutzer's kernel)
remove CMUpdate from stripped and full version
ISSUES: there seems to be a (new) problem with video/camera. Better use older build.
Stripped: cm-11-20141029-poppmensa-codinap.zip - 190.69 MB
CM sources updates
Stripped: cm-11-20141023-UNOFFICIAL-codinap.zip - 190.65 MB, cm-11-20141023-UNOFFICIAL-codina.zip - 190.09 MB
Full: cm-11-20141023-UNOFFICIAL-codinap.zip - 218.18 MB, cm-11-20141023-UNOFFICIAL-codina.zip - 217.61 MB
CM sources updates
Kernel based on this code
Older builds:
Stripped: cm-11-20141021-UNOFFICIAL-codinap.zip - 190.64 MB, cm-11-20141021-UNOFFICIAL-codina.zip - 190.08 MB
CM sources updates (lots of camera updates, MAYBE fixes camera2.apk-issues)
Kernel based on this code
Stripped: cm-11-20141019-UNOFFICIAL-codinap.zip - 190.55 MB
CM sources updates
Full: cm-11-20141017-UNOFFICIAL-codinap.zip - 218.07 MB, cm-11-20141017-UNOFFICIAL-codina.zip - 217.51 MB
Stripped: cm-11-20141016-UNOFFICIAL-codinap.zip - 190.55 MB, cm-11-20141017-UNOFFICIAL-codina.zip - 189.99 MB
CM sources updates
Stripped: cm-11-20141014-UNOFFICIAL-codinap.zip - 190.33 MB, cm-11-20141014-UNOFFICIAL-codina.zip - 189.76 MB
CM sources updates
Revert to stable Kernel from 20141011
Includes STE-OMX: video streaming fix from Meticulus
Stripped: cm-11-20141013-UNOFFICIAL-codinap.zip - 190.32 MB, cm-11-20141013-UNOFFICIAL-codina.zip - 189.76 MB
CAUSES SEMI-BRICK (Odin helps).
CM sources updates, Kernel updates (see sources)
NovaThor Settings included again (also in striped version)
Stripped: cm-11-20141012-UNOFFICIAL-codinap.zip - 190.17 MB, cm-11-20141012-UNOFFICIAL-codina.zip - 189.61 MB
CM sources updates, Kernel updates (see sources)
Full: cm-11-20141010-UNOFFICIAL-codinap.zip - 217.80 MB, cm-11-20141010-UNOFFICIAL-codina.zip - 217.24 MB
CM sources updates, (reached M11)
fixes contacts/call log, camera (compared to TC 20141003-build)
Hello,
Where do i find ./cherry-pick.sh? Is it on github too? I synced it but there is no script.
Thanks a lot!
Regards,
sgace2
sgace2 said:
Where do i find ./cherry-pick.sh? Is it on github too? I synced it but there is no script.
Click to expand...
Click to collapse
No, it's not. https://github.com/TeamCanjica/BuildBot/blob/master/cherry-pick.sh
You probably need to create your own script from that. It put a snipped for your convenience. If it does not compile, feel free to solve it and post the SOLUTION here.
Code:
echo -e $CL_BLU"Cherrypicking Core Patch - Reboot/shutdown fix"$CL_RST
cd system/core
git fetch https://github.com/TeamCanjica/android_system_core cm-11.0
git cherry-pick 347658ad1b53234b52d32d42fba2a72878b883c5
git cherry-pick 8aa242d1827875506ce3339d2df3e0fed6f89e42
cd ../..
echo -e $CL_BLU"Cherrypicking OK Google patch"$CL_RST
cd frameworks/base
git fetch https://github.com/TeamCanjica/android_frameworks_base cm-11.0
git cherry-pick de30387b3c32c2a9cf653590c8454bd002bf0dd1
cd ..
echo -e $CL_BLU"Cherrypicking Legacy sensors"$CL_RST
cd native
git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_native refs/changes/11/59311/1
git cherry-pick FETCH_HEAD
cd ../..
echo -e $CL_BLU"Cherrypicking ART fix"$CL_RST
cd art
git fetch https://github.com/cernekee/android_art monitor-stack-v1
git cherry-pick fc2ac71d0d9e147c607bff9371fe2ef25d8470af
cd ..
echo -e $CL_BLU"Cherrypicking OMX Patch - android_frameworks_av"$CL_RST
cd frameworks/av
git fetch https://github.com/TeamCanjica/android_frameworks_av cm-11.0
git cherry-pick 87618c1ea54009c2e5e5dfb60060f9cc2e9bcc52
git cherry-pick cfcb60d66b01783c274dc625bf32a44899d1e603
cd ..
echo -e $CL_BLU"Cherrypicking OMX Patch - android_frameworks_native"$CL_RST
cd native
git fetch https://github.com/TeamCanjica/android_frameworks_native cm-11.0
git cherry-pick f5a8698ce9a3568cea95c03302deb068eff765bd
cd ../..
echo -e $CL_BLU"Cherrypicking vold patch to allow switching storages"$CL_RST
cd system/vold
git fetch http://review.cyanogenmod.org/CyanogenMod/android_system_vold refs/changes/15/56515/2
git cherry-pick FETCH_HEAD
cd ../..
echo -e $CL_BLU"Cherrypicking Low-InCall fix"$CL_RST
cd packages/services/Telephony
git fetch https://github.com/TeamCanjica/android_packages_services_Telephony cm-11.0
git cherry-pick fdf281fdabe5e7517eb96f2faf159bbcc74ae4a6
cd ../../..
Okay..
I'll leave my trace here, in case of fast accessing the thread.
Hope you'll be a famous codina devs just like rox. @poppmensa
I mean not only just cherry-picking, but a real development stuff. Like building cm12 in the future.
How about changelog? Is everything working now? There where various problems with Rox 03/10 build. Call log? Camera? Other things? Would be great if You could write sth more about it.
@poppmensa - can we have the build for codina (non-p) at least once a month? It will be great.
I'm asking 'cause you wrote before, that you'll mainly work on codinap version.
poppmensa said:
Striped: cm-11-20141012-UNOFFICIAL-codinap.zip - 190.17 MB
CM sources updates
Kernel updates (see sources)
Click to expand...
Click to collapse
For non-p please... :good:
I use the codina version for about two days, i feel that is all good.
contact log is ok
youtube is working
i have not check the live stream at the moment
The move to (internal) sd from application manager just does not work but i dont care because i have reparted internal memory
@poppmensa finally, you did it.
Keep this thread live & updated. Strip version is so smooth...no bloatware from CM11. :good:
I installed Striped CM11 just because I was curious. Then it got my attention and now I think it will stay for a while on my Ace 2.
Striped Rom Rocks!
I'm not use the phone very often, bcoz buy new one, but decide to try this rom(striped version too) and feel it very good. Just want to ask what's the way to swap storages here?
As I don't see anyone mentioning it, I wonder if I'm one of the few experiencing this bug:
https://jira.cyanogenmod.org/browse/CYAN-4134
I noticed the widget behaves correctly if I change the cLock resolution to a higher value using App Setting module in Xposed. Perhaps something is wrong with the MDPI layout/resources?...
Is there any chance that this bug will get fixed in this build? It appears the CM developer is focusing on the Chronus app and not on the CM cLock app...
And thanks for this build! As someone already mentioned, a monthly release with CM source update would be just fine!
Can someone tell me where can I find last Novathor Settings version for flash via recovery? Thanks.
MarquesYOLO said:
Can someone tell me where can I find last Novathor Settings version for flash via recovery? Thanks.
Click to expand...
Click to collapse
I think that you can take it from an older version of rox rom, put it in the zip file of this rom and flash at app folder.
or
you can try this http://forum.xda-developers.com/showthread.php?t=2729459
MarquesYOLO said:
Can someone tell me where can I find last Novathor Settings version for flash via recovery? Thanks.
Click to expand...
Click to collapse
it will be included again in the next builds.
Live streaming is working or we will wait for next build?
manthes said:
Live streaming is working or we will wait for next build?
Click to expand...
Click to collapse
What exactly do you mean by "live streaming"? how can I test it?
I care if it is working on apps like filmon because i read the problem with streaming has been fixed
poppmensa said:
What exactly do you mean by "live streaming"? how can I test it?
Click to expand...
Click to collapse
I think its same with video streaming like on youtube. try to test with youtube.
Introduction
Hello all, I am bringing you this thread as a jumping off point to compiling kernels and working with upstream Linux. I will include a guide, some links, and some terms that will help you get started with modifying kernel source. This is also a good reference point for existing developers as I have consolidated all upstream patches into one repo. Let's get down into it!
What in the world is upstream Linux?
When an OEM sets up a device, they will pick a stable longterm branch from the Linux kernel to base their modifications around (drivers and such). In the case of Angler, they picked 3.10.73. Currently, the Linux kernel's 3.10 is updated to 3.10.105, as you can see on kernel.org. This means that Google is "missing" versions 3.10.74 to 3.10.105. Now, why does this matter? Well, the way that the Linux kernel runs its stable branches, the only things that get merged into there are bug fixes and security updates. That's it, there are no wonky features or unstable patches. The only way you get a patch into a stable branch is by having it be in the mainline branch first. Some developers have an aversion to adding upstream because they claim it is excessive and not necessary and they are partially right since not all the patches that come in are relevant to our architecture (arm64). However, upstream Linux is not unstable and by adding each version one at a time, you can verify this. I found only two patches between 3.10.73 and 3.10.105 that gave me issues and it is easy enough to either fix/revert them. Being up to date is good since you keep yourself protected from bugs and security issues that crop up. Google has been better about doing this lately with their monthly security updates but it never hurts to take matters into your own hands.
I suggest watching one of these talks given by Greg Kroah-Hartman, it is really interesting to see how the process goes:
https://www.youtube.com/watch?v=SPY0LyTU53w | https://www.youtube.com/watch?v=L2SED6sewRw
What did you do?
All I did was fetch the latest kernel.org patches from here and cherry pick them on top of the latest kernel source from Google.
I merge these patches by cherry-picking each version individually (3.10.73 to 3.10.74, 3.10.74 to 3.10.75, etc), that way I can verify that the kernel compiles fine and that there are no merge conflicts. Google will sometimes pick certain commits from upstream that are of a higher importance than others which can result in conflicts if you try to pick it again. Additionally, upstream might fix a bug one way and Google has done it another (which is not really good, Google should be pushing their fixes back to upstream so everything stays in sync).
What do I do with this?
I have created two repos below: one with the latest N security update branch with the latest upstream patches picked up on top of it (the angler-upstream branch) and another one with a plain AnyKernel source for you to modify (angler-stock is the most basic, angler-decrypt contains an fstab file that will disable both forced encryption and dm-verity). You are free to fork these or base other branches on them, that's the whole point of this post. I have verified that all the patches contain no major detectable issues. I would like some credit if you do use it but it's not required since the kernel is licensed under GPL Another reason I offer this is I have seen a lot of developers picking in upstream in patch sets, so you get one single commit for an upstream version. This is detrimental as you start to add your own patches as you cannot fully tell what was modified and for what reason without the individual commits. It might look cleaner but you don't get full history which hurts you in the long run.
Links
Kernel source: https://github.com/nathanchance/angler/tree/7.1.2-upstream
AnyKernel source: https://github.com/nathanchance/AnyKernel2/tree/angler-stock-decrypt
Toolchain source: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/
How to compile
This will be a quick, step by step guide on how to compile this kernel from source. By using this process, you can start to make modifications to the kernel source and make a flashable zip.
Clone the kernel source, the AnyKernel source, and toolchain source
Code:
cd ~
mkdir Kernel && cd Kernel
git clone https://github.com/nathanchance/angler.git source
git clone https://github.com/nathanchance/AnyKernel2.git anykernel
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 AOSP-4.9
Explanation:
First command: make sure you are in your home directory (or whatever directory you want to hold the kernel folder we are about to make.
Second command: make a Kernel folder and move into it
Third command: clone the kernel source from my repo into a folder named source
Fourth command: clone the AnyKernel source from my repo into a folder named anykernel
Fifth command: clone the Google 4.9 toolchain into a folder named AOSP-4.9
AnyKernel is the name of the zip we are going to make which allows the kernel to be flashed over any ROM.
A toolchain is a set of compiler tools that allow us to compile the kernel on any computer architecture.
Make sure you are on the correct branches
Code:
cd source && git checkout 7.1.2-upstream
cd ../anykernel && git checkout angler-stock-decrypt
Explanation:
First command: move into the source directory and checkout the branch "n7.1.2-upstream", which has all of the necessary patches in it.
Second command: move into the AnyKernel directory and checkout the branch "angler-decrypt". If you don't want to disable forced encryption, use the "angler-stock" branch.
Tell the compiler what you are are compiling
Code:
export CROSS_COMPILE=${HOME}/Kernel/AOSP-4.9/bin/aarch64-linux-android-
export ARCH=arm64 && export SUBARCH=arm64
make clean && make mrproper
make angler_defconfig
Explanation:
First command: point the compiler to the location of your toolchain. If you have done anything different with the folder locations, you will need to modify the "${HOME}/Kernel/AOSP-4.9" part.
Second command: tell the compiler which architecture we are compiling for. In this case, our device is an arm64 device.
Third command: clean out any compiled files and remove our previous defconfig.
Fourth command: tell the compiler which options we want in the kernel using the angler_defconfig.
A defconfig is a file that will tell the compiler which features we want in the kernel. No computer ever uses all of the options in the kernel since there are different drivers for various devices.
Make the kernel!
Code:
make -j$(grep -c ^processor /proc/cpuinfo)
Explanation:
make tells the compiler to make the kernel (duh) and the -j$(grep -c ^processor /proc/cpuinfo) tells the compiler to use the maximum number of cores your computer has available
Make the AnyKernel zip
Code:
cp -v arch/arm64/boot/Image.gz-dtb ../anykernel/zImage-dtb
cd ../anykernel
zip -r9 stock-upstream.zip * -x README stock-upstream.zip
Explanation:
First command: copies the completed kernel (Image.gz-dtb) into the AnyKernel folder
Second command: moves us into the AnyKernel folder
Third command: makes the zip file (named stock-upstream.zip) in the AnyKernel folder.
If you ever want to do this again, run these commands and go straight to step 3:
Code:
cd source && git clean -fxd && git pull
cd anykernel && git clean -fxd && git pull
NOTE: This thread is aimed to be a breeding ground for kernel development, a place to jump off if you will. I am happy to answer how to questions about building kernels or flashing the one I have provided but this is not supposed to be a general Q&A thread. Please use another thread or create your own in Q&A if you need assistance.
Reserved
Nice
Awesome! Thanks
Sent from my ONEPLUS A3000 using Tapatalk
This is awesome! Can't wait to try this out. I've been looking for a good guide on building kernels for a long time.
I have cleaned up and reworded the OP a bit, I write better at 12pm than 4am it seems :silly:
This is nice
Sent from my Nexus 6P using XDA-Developers mobile app
Any performance or any other benefits? Normally I would just flash. But I've been trying to stay completely stock on N these days.
Smallsmx3 said:
Any performance or any other benefits? Normally I would just flash. But I've been trying to stay completely stock on N these days.
Click to expand...
Click to collapse
Most likely not. Just bug fixes and stability improvements.
Sent from my Nexus 6P using XDA Labs
Been using this kernel all day today and it seems pretty solid and good on battery life
{
"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"
}
Sent from my Nexus 6P using XDA-Developers mobile app
syrkles said:
Been using this kernel all day today and it seems pretty solid and good on battery life
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
Guess that means I did a good job adding all the necessary patches haha.
Will this be updated as more patches are released?
Sent from my Nexus 6P using XDA-Developers mobile app
bossofindy said:
Will this be updated as more patches are released?
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
That's the goal. I'll rebase on top of new Android security releases as they are available and I'll add Linux versions as they come out.
Github and the kernel in the OP are updated to 3.10.104.
Added to Nexus 6P index thread:
[INDEX] Huawei Nexus 6P
Work on 7.1???
I'm going to nickname this the Streak Kernel for myself.
I quite like keeping up to date stability wise. Bleeding edge is nice but I've learned my lesson.
Pheoxy said:
I'm going to nickname this the Streak Kernel for myself.
I quite like keeping up to date stability wise. Bleeding edge is nice but I've learned my lesson.
Click to expand...
Click to collapse
@Pheoxy how are the folks at the i9305 forum going with their ROMs, I left there with a terrible build of cm13,,, i really hope that they had sorted out the RIL issue in source instead of using a really dirty hack of using chmod with cm12.1 to get Radio working... glad to see you here in the 6p forums though
Sent from my Nexus 6P using XDA-Developers mobile app
winxuser said:
@Pheoxy how are the folks at the i9305 forum going with their ROMs, I left there with a terrible build of cm13,,, i really hope that they had sorted out the RIL issue in source instead of using a really dirty hack of using chmod with cm12.1 to get Radio working... glad to see you here in the 6p forums though
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
It was time to upgrade. Still got the old S3 but I must have left around the same time as you. Bit to busy to really do anything of my own anymore so @theflash makes some awesome but not clogged full stuff stuff and seems alright.
Have to take this to PMs [emoji1].
Nathan, say I have stock kernel source and I just want to update it to 3.10.74 how to u upstream/Cherry pick just 3.10.74 updates all at once instead of having the source update to 3.10.104. WITHOUT having to download the patch file
Sent from my Nexus 6P using XDA-Developers mobile app
{
"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"
}
Project: Exynos-Linux-Stable- Exynos-Linux-Stable is an organisation on GitLab & GitHub containing upstreamed linux for some of the latest flagship handset from SAMSUNG like the S7, S7E, S8, S8+, Note 8, S9, S9+, Note 9 kernel upstreamed to be inline with respective linux branches.
What does this bring?
- All of the devices mentioned above uses Long Term Support (LTS) releases, they are like old softwares.
- LTS releases are supported through their specified support duration by security updates, bug fixes, backports, and new device drivers, just like a regular release.
So updating or up-streaming your device's kernel brings many improvements talking security, performance wise etc...
How do I use?
If you are a developer, the reference tree is located in the exynos-linux-stable organization: https://github.com/exynos-linux-stable
This can either be merged into your existing kernel tree if you have one or be used as a fresh base. You do not need my permission to use it nor do you need to give me credit (although it would be appreciated).
If you are a user, ask your kernel developer KINDLY to use this source for his kernel that has all the changes added in!
Getting notified about updates
There are a few ways to get notified of linux-stable updates:
The exynos-linux-stable Telegram channel: https://t.me/exynos_linux_stable
Subscribe to this thread
XDA:DevDB Information
ELS - exynos-linux-stable, Kernel for the Samsung Galaxy Note 9
Contributors
farovitus
Source Code: https://github.com/exynos-linux-stable/crownlte
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2019-05-18
Created 2018-08-24
Last Updated 2019-09-17
Reserved
Reserved
This source appears to be broken (apparently now differently to when I tried a few days ago):
Code:
~$ mkdir note-9
~$ cd note-9
~/note-9$ git clone https://bitbucket.org/UBERTC/aarch64-linux-android-4.9-kernel
~/note-9$ git clone https://github.com/exynos-linux-stable/crownlte
~/note-9$ cd crownlte
~/note-9/crownlte$ export ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- PATH=$PWD/aarch64-linux-android-4.9-kernel/bin:$PATH
~/note-9/crownlte$ make exynos9810-crownlte_defconfig
~/note-9/crownlte$ make -j1
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC init/version.o
LD init/mounts.o
AS init/_uh.o
init/_uh.S: Assembler messages:
init/_uh.S:40: Error: file not found: init/uh.8g.elf
scripts/Makefile.build:393: recipe for target 'init/_uh.o' failed
make[1]: *** [init/_uh.o] Error 1
Makefile:1036: recipe for target 'init' failed
make: *** [init] Error 2
stock source builds in the same environment.
Phoenix09 said:
This source appears to be broken (apparently now differently to when I tried a few days ago):
stock source builds in the same environment.
Click to expand...
Click to collapse
Well i did compile the source before i pushed it to GitHub and it was totally fine... but i will double check tomorrow.
farovitus said:
Well i did compile the source before i pushed it to GitHub and it was totally fine... but i will double check tomorrow.
Click to expand...
Click to collapse
did you manage to check?
Sent from my SM-N960F using Tapatalk
Phoenix09 said:
did you manage to check?
Click to expand...
Click to collapse
No, i am quiet busy these days. Send me a link of your source so i can check it out from my phone.
Again, i am sure the ELS source will compile just fine.
farovitus said:
No, i am quiet busy these days. Send me a link of your source so i can check it out from my phone.
Again, i am sure the ELS source will compile just fine.
Click to expand...
Click to collapse
https://github.com/exynos-linux-stable/crownlte
I made zero changes, what I posted is exactly what I did, it does not compile.
Edit: what OS are you compiling on?
Sent from my SM-N960F using Tapatalk
Phoenix09 said:
This source appears to be broken (apparently now differently to when I tried a few days ago):
stock source builds in the same environment.
Click to expand...
Click to collapse
Source compile just fine. Please do a proper clone to the source to avoid any issue.
4.9.140 has been merged.
farovitus said:
4.9.140 has been merged.
Click to expand...
Click to collapse
that now builds for me.. in the exact same environment, Ubuntu 14.04 in vagrant with a script:
Code:
#!/bin/sh
set -e
sudo apt-get update
sudo apt-get install -y git build-essential bc
cd $HOME
[ -d aarch64-linux-android-4.9-kernel ] || git clone --depth=1 https://bitbucket.org/UBERTC/aarch64-linux-android-4.9-kernel
[ -d crownlte ] || git clone --depth=1 https://github.com/exynos-linux-stable/crownlte
export ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- PATH=$HOME/aarch64-linux-android-4.9-kernel/bin:$PATH
cd crownlte
make exynos9810-crownlte_defconfig
make -j8
4.9.141 has been released.
hi, i need a stock note 9 pie kernel (CSB3), i flashed another kernel and it wont allow me to go past my login, can you please direct me to a stock pie kernel so i can flassh and get in?
mafioso345 said:
hi, i need a stock note 9 pie kernel (CSB3), i flashed another kernel and it wont allow me to go past my login, can you please direct me to a stock pie kernel so i can flassh and get in?
Click to expand...
Click to collapse
Don't ask here.. Just take a Rom like ketan and flash only kernel via aroma. Done
Ketan p06 has CSB3 base so that kernel will work no problem.
- 4.9.177 merged in.
- Merged CSDE OSRC into crownlte exynos-linux-stable tree.
https://github.com/exynos-linux-stable/crownlte
As always, join https://t.me/exynos_linux_stable to get instantly notified of every ELS update.
I know it's a stupid question but how to pack kernel inside IMG? I want to get image for heimdall.
I've honestly googled but it looks like everybody just knows how to do this. And nobody discuss it
-W_O_L_F- said:
I know it's a stupid question but how to pack kernel inside IMG? I want to get image for heimdall.
I've honestly googled but it looks like everybody just knows how to do this. And nobody discuss it
Click to expand...
Click to collapse
You'll want to use Android Image Kitchen to unpack and repack kernels inside images. You can diff the unpacked boot.img provided in devbase with mine to see the basic ramdisk modifications to prevent forced encryption or various other issues. Or you can just unpack my image, it's relatively basic with it's modifications. Hope this helps.
EDIT: You can also look at my make9810.sh script on GitHub to see the various steps I take for repacking my images.
Can someone explain what this is for? Is this purely for use with linux on DEX or are you guys flashing linux direct to your Note9 somehow? Or updating the kernel that android is running on?
bandario said:
Can someone explain what this is for? Is this purely for use with linux on DEX or are you guys flashing linux direct to your Note9 somehow? Or updating the kernel that android is running on?
Click to expand...
Click to collapse
It's a reference kernel source with all recent patches from vanilla kernel applied to Samsung stock one. Some developers use this source as a base for their custom kernels. This is what it's for.
ELS is for Android. But I'm developing a kernel that can boot Linux (GNU/Linux) on Note9. And yes, it's based on ELS sources.
4.9.193 has been merged into the exynos-linux-stable tree.
https://github.com/exynos-linux-stable/crownlte
{
"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"
}
triplr's ( pronounced triple r )
My first Rom thread !!
http://www.xenonhd.com/
XenonHD is a custom firmware aka ROM for various Android devices. It is based on LineageOS 16.0 with additional features, performance and battery life improvements.
The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".
See notes in Post 2
Device Source:
github.com/triplr-dev
Download Links:
Download tiny.cc/triplr
Story:
I have been a user of the Samsung Galaxy Note 4 (910v) since it was released.
I had been watching for the opprotunity to use Cyanogenmod on my phone,
but alas , about the time a root method was found I Cyanogen closed up.
Thankfully the codebase was pulled into Lineageos
and there I watched some wonderful development in Lineage14 by several developers
including but not limited to @_mone , who started posting how-to build for the note4
Following his successful port into Oreo one of my friends @ripee started building and took over a lot of maintaining the builds.
When @mickey387 successfully ported for Pie on the note 4, we were off to the races so to speak.
Now @ripee has lots of roms ported including this one .
working with our development group on a build server with other helpful devs and coders
we have combined all information on how to build for the note 4
at github.com/triplr-dev
special thanks and appreciation to
( if i miss you please msg me )
@micke 387
@_mone and @ripee
@mobspyguy
@khalvat
thanks to @shizzle2889 for starting the xda threads for maintenance
and all the legacy note4 devs ( adding as i can go back thru my bookmarks )
and a special thanks to a HUGE help we get from @logosA
testing, testing flashing etc !! who declined this thread.
Which is dedicated to him! I nominate him for RC if that was availble to do.
Please see the next 3 reserved posts for special information on this rom !
XDA:DevDB Information
[Unofficial] XenonHD Pie - Galaxy Note 4 , ROM for the Samsung Galaxy Note 4
Contributors
tripLr, ripee, shizzle2889, and @Inkypen and.. and... and.. All the previous devs, too many to list who made the note4 snapdragon accesseble for development, especially the verizion varient! Current Development for all the note 4 varients is due to the hard work of @ripee
Source Code: github.com/triplr-dev
ROM OS Version: 9.x Pie
Based On: LineageOS
Version Information
Status: Testing
Created 2019-08-12
Last Updated 2019-08-21
How To Build This Rom.
1. Set up your version of Linux on your computer the way you like.
2. This is a Pie version of AOSP so all the instructions at Google, are for Ubuntu and it's relatives such as what it's derived from Debian Linux all have the same naming methods for the software libraries.
I use Fedora, based off Red hat, centos, etc. I have a guide for installing these libraries on another thread and in my personal Github.com/tripLr account
Start Here
https://source.android.com/
3. Download your tools and binaries like compilers and such
Follow these instructions from Google for Ubuntu or MacOS
https://source.android.com/setup/build/initializing
Then the next page is to download the source code
You will need git ( installed above )
You will need repo ( install directly from Google , instructions in web page below )
https://source.android.com/setup/build/initializing
4 Once you have repo command installed you are ready to download any Rom you want.
We have a good collection of roms for the note 4 we build for but in this case we will download XenonHD
So first make a folder for XenonXD
Code:
mkdir -p ~/android/XenonHD/.repo/local_manifests
This step creates all the folders we need to use, now let's download our Rom
5. Repo init.
SAVE SPACE INSTRUCTIONS HERE
If you follow exactly the Google directions and most suggestions of developers YOU WILL DOWNLOAD ALL THEIR CODE not just what you need.
So the Github source code is located here for all of XenonHD code
Github.com/TeamHorizon
What we need is located on one file called the platform_manifest
https://github.com/TeamHorizon/platform_manifest
It has the instructions for downloading the ROM
Now on your computer , goto your Rom directory
Code:
cd ~/android/XenonHD
Now copy the line from the TeamHorizon manifest, but add the control to tell the server you ONLY want to download the Pie branch, not all the others.
This step is called the repo init
The version of the command they have is
"repo init -u https://github.com/TeamHorizon/platform_manifest.git -b p"
We want
Code:
repo init --depth=1 -u [url]https://github.com/TeamHorizon/platform_manifest.git[/url] -b p
6. Sync the source code.
This downloads the lists of what needs to be downloaded for the Rom,
Let's sync that.
To save space and time use,
Code:
repo sync -c --force-sync --no-clone-bundle --no-tags
If you have a fast internet connection , go make a coffee and come back. You will be downloading about 80 gb, compared to 150 or more .
7. roomservice.xml
All the goodies for the note 4 snapdragon...
Once completed now you need the roomservice to build for the note 4 snapdragon variants.
It goes in the local_manifests folder you created above, it and all the source code from Our Github account
Github.com/triplr-dev
You should be in the build folder now so..
Code:
wget -O ~/android/XenonHD/.repo/local_manifests/roomservice.xml [url]https://raw.githubusercontent.com/triplr-dev/local_manifests/xenonhd-p/master.xml[/url]
roomservice.xml can be ANYFILENAME.xml but to make it easy we all use roomservice when compiling for multiple devices
8. Sync the goodies...
Code:
repo sync -c --force-sync --no-clone-bundle --no-tags
this step wont take long..
9. Setup the environmentt OR in other words, tell the compilers where everything is.
Make sure your in your rom folder
~/android/XenonHD
and run this command
Code:
. source/envsetup.sh
what this means is tell your shell, in our case, bash,
Hey bash, there is the file located in ~/android/XenonHD/source called envsetup.sh , would you be so kind and run it so i can build my rom ? Pretty please, like right now when i press the enter key ?
You will see a list of what the script accomplishes.
Now its time to
10. Build your rom !
Hey , guess what you downloaded code for 3 devices.
Pick the one you want
Code:
# build trlte
breakfast trlte
brunch trlte
# build tblte
breakfast tblte
brunch tblte
# build trlteduos
breakfast trlteduos
brunch trlteduos
wait a bit...... wait some more...,
now browse to your output folder , use a usb cable to download to your phone, or upload to the cloud and share to the world ...
Options
Check developer options
Tons of settings for Bluetooth, codecs and bitrates
There is a section all in one place for the XenonHD settings.
Lots of cool stuff.
reserved 3
reserved 3
Thank you dev for this new and beautiful rom for our Note4.
Thank you for everything you are doing for us @tripLr
:good::good:
This rom so fast but navebar not working , also I want to ask about battery optimization is it a bug in all pie roms? I use GSM modul in magisk And still not working .
@tripLr
I gave this a good few days testing, and for me on my 910G it was just too sim deathy for me, as in i had higher than usual sim death and my usual automate script failed to recover from sim death far more often...
Currently back on AICP
73sydney said:
@tripLr
I gave this a good few days testing, and for me on my 910G it was just too sim deathy for me, as in i had higher than usual sim death and my usual automate script failed to recover from sim death far more often...
Currently back on AICP
Click to expand...
Click to collapse
Actually I had the same issue before one month , I flashed 4 different pie roms with sim death all of them , and finally I figured out the main problem I did push the sim card till the end , I just move it little out and the signal was stable again like nothing , try it maybe it works with you
I'm running last build of this rom on my N910F and signal is full always
This is the most debloated pie rom till now and battery life is nice for me
After a week on this, i can say, really awesome.
Hope you all like it.
NEW build is up guys, alive and kicking, give it a try.
Thank you dev @tripLr
:good::good:
Hi thanks for your amazing rom. How can i have play store. Thanks again.
Ok, one thing i have to have that no other rom has is multitasking phone.
Normaly when i answer a call to my ear, the display locks black and wont wake / unlock
then i have to press buttons to try and activate the screen so i can swipe to return to the call, but half the time it locks black screen again.
I have had this sissue for a loooong time,
This rom has at least 3 options to wake .
Double tap to wake
press home to wake
press power to wake.
So much nicer than pulling the battery becsuse you cant end the call of a telemarketer
vikclaus said:
Hi thanks for your amazing rom. How can i have play store. Thanks again.
Click to expand...
Click to collapse
You need gapps
logosA said:
NEW build is up guys, alive and kicking, give it a try.
Thank you dev @tripLr
:good::good:
Click to expand...
Click to collapse
I updated to 14/8 Rom become more smoother and faster , but still can't activate the navebar don't know why , always when I check Enable on-screen nav bar I have system UI restart only and navbar not shown up , going to flash 16-8 build , thanks ?
ALPHA85 said:
I updated to 14/8 Rom become more smoother and faster , but still can't activate the navebar don't know why , always when I check Enable on-screen nav bar I have system UI restart only and navbar not shown up , going to flash 16-8 build , thanks ?
Click to expand...
Click to collapse
I see the navbar setting, havent tried it yet on my own daily driver.
Please check and see if it's a system app in titanium backup , in your working copy, save it , and try to restore it in a non working copy,
If so I'll check the build log for errors, and send a note up to team horizon
tripLr said:
Options
Check developer options
Tones of settings for Bluetooth, codecs and bitrates
Click to expand...
Click to collapse
Screenshots of Bluetooth settings
Change versions to get better connection ?
Default is set for lowest / oldest release.
I'm gonna play with this for a while
Thanks @mobspyguy
tripLr said:
Options
Check developer options
Tons of settings for Bluetooth, codecs and bitrates
There is a section all in one place for the XenonHD settings.
Lots of cool stuff.
Click to expand...
Click to collapse
So there is also a setting for swipe once quick access to settings . set for left or right pull down.
Also swipe the status bar setting for brightness.
Pretty slick
Show network activity
tripLr said:
Show network activity
Click to expand...
Click to collapse
This is handy.
Clean installed 08-20 with the latest GAPPS and got bootloop. I tried flashing with no GAPPS but still didn't work.
I am so excited to try this ROM. Thank you so much for the hardwork! :good:
Samsung Galaxy Note Edge (Qualcomm)
MM Bootloader
TWRP Recovery 3.3.1-0