Compiling Kernel - Galaxy Tab S2 Q&A, Help & Troubleshooting

So I'm having some trouble getting the kernel for my T813 to compile. I've downloaded the Lineage source code and that is what I'm working with for the moment. I've solved several problems, and now I'm here, which looks like perhaps my machine is missing something required to compile this correctly:
{
"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"
}

OhioYJ said:
So I'm having some trouble getting the kernel for my T813 to compile. I've downloaded the Lineage source code and that is what I'm working with for the moment. I've solved several problems, and now I'm here, which looks like perhaps my machine is missing something required to compile this correctly:
Click to expand...
Click to collapse
The error above means that the compiler you are using in your Linux distro does not support the stack-protector flag. Keep in mind that Lineage packages its own supported compiler with the sources if you download all the repos and build a "boot.img" (kernel) instead. The boot.img can then be installed to your device directly from within TWRP as a boot image file.
Start with setting up a build environment and make sure everything is installed.
https://source.android.com/setup/build/initializing
Next, download the source and build the boot.img (kernel).
1) repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
2) create new text file in .repo/local_manifests/local_manifest.xml with the following:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ghub" fetch="https://github.com/" />
<project path="kernel/samsung/msm8976" name="syphyr/android_kernel_samsung_msm8976" remote="ghub" revision="lineage-15.1" />
<project path="device/samsung/gts210vewifi" name="LineageOS/android_device_samsung_gts210vewifi" remote="github" revision="lineage-15.1" />
<project path="device/samsung/msm8976-common" name="LineageOS/android_device_samsung_msm8976-common" remote="github" revision="lineage-15.1" />
<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="lineage-15.1" />
<project path="hardware/samsung" name="LineageOS/android_hardware_samsung" remote="github" />
<project path="device/qcom/common" name="LineageOS/android_device_qcom_common" remote="github" />
<project path="hardware/sony/timekeep" name="LineageOS/android_hardware_sony_timekeep" remote="github" />
<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" />
</manifest>
3) repo sync --no-clone-bundle
4) Build boot.img with the following commands:
Code:
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
source build/envsetup.sh
lunch lineage_gts210vewifi-userdebug
mka bootimage
5) Flash boot.img from within TWRP as a boot image file to replace kernel.

@ OhioYJ This error message is due to the fact that your are using the default gcc compiler and not the cross compiler. You should run the commands I posted in a single terminal window, especially the export CROSS_COMPILE=[path to the cross compiler]/bin/aarch64-linux-android- command, which sets up the cross compiler for the compilation.
@Deltadroid Thanks for posting guidelines how to compile a complete LineageOS build for T813. Might give this a try in the future. For now I just wanted to quickly test your kernel in relation to wifi consumption.

I just added this months qcacld-2.0 WiFi security fixes and fixed a merge derp in the kernel sources. It should be better now.
 @deep_attention

Related

[MOD]theme bar volume/download/progress

I'm using a blue theme, but the loading bar always insisting on staying orange, these themes are never, always in the same color as the standard yellow / orange.
googled a bit and found no topic how, so I'll post a tutorial on how to make a very simple way ..
* color of the volume bar.
* color of slash loading browser.
* download progress bar color.
is actually a file only those responsible for the color, the file is within the framework-res.apk.
step by step;
* Has sdk/java/adb/apktool/7zip/Notepad + + installed (obviously).
* copy to your pc the framework-res.apk:
# adb pull /system/framework/framework-res.apk
* Decompile the apk:
#apktool d framework-res.apk
* find this file: framework-res\res\drawable\progress_horizontal.xml
*Open it with notepad++;
*note these lines:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff9d9e9d" android:endColor="#ff747674" android:angle="270.0" android:centerY="0.75" android:centerColor="#ff5a5d5a" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#800099cc" android:endColor="#a0ffcb00" android:angle="270.0" android:centerY="0.75" android:centerColor="#8000aae3" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff0099cc" android:endColor="#ffffcb00" android:angle="270.0" android:centerY="0.75" android:centerColor="#ff00aae3" />
</shape>
</clip>
</item>
</layer-list>
Click to expand...
Click to collapse
* The sets marked in red are the values ​​to be changed, the default is that this file is BLUE!
* if you want to put another color, just color code the researches in photoshop or another image editor.
ex:
{
"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"
}
PS: attention! only the last six digits, the first two are responsible for the transparency!
* make a copy of the original framework-res.apk elsewhere. (to ensure that you have saved an original).
* Compile again.
#apktool b framework-res framework-res2.apk
* we now have two files "apk"
- framework-res. apk
- framework-res2. apk
* Open both files with 7zip (OPEN ONLY, NOT EXTRACT).
* copy the file "progress_horizontal.xml" compiled in "framework-res2.apk to the original framework-res.apk. respecting the path /res/drawable
*restart, open recovery, mounts & storage = mount system
#adb push framework-res.apk /system/framework
#adb shell
#cd /system/framework
#chmod 644 framework-res.apk
restart...
Awesome how do I edit the yellow bar present when increasing/decreasing the volume ??
Trying to learn to theme. What programs do I need?
Sent from my PC36100 using Tapatalk 2

[GUIDE]How to make a Floating Statusbar Like a Phablet/Tablet

Hi mates I just want to share this guide of How to make a Floating Statusbar Like a Phablet/Tablet
{
"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"
}
Original Thread
Hello, i just try to make my phone like a phablet/tablet with 4.0.4 or 4.1.2 android os last time, but i don't know i can make it a simple or not.
But now i can make it a "pop up manipulation" with some background manipulation too. So, here we go the tutorial will start now!
The first of this tutorial you must know about :
1. How to decompile/compile the apk file (don't ask here, you can search on google how to do that)
2. How to coding a xml file with some code
3. You must have a Apktool/ApkManager/ToolAlite by KuyaGaol
4. You must have a JDK and Latest Net framework for run Apktool/ApkManager/ToolAlite by KuyaGaol
5. You must take a beer! lol
Oke the first method is :
1. Download my Floating.zip
2. Pull the Framework-res.apk and SystemUI.apk
3. Do "if framework" on your Apktool/ApkManager/ToolAlite by KuyaGaol
4. Decompile SystemUI.apk
5. Extract my Floating.zip to your drawable directory. (you can extract on "drawable" or "drawable-mdpi" folder).
6. Open status_bar.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
and add this line code :
Code:
android:background="@drawable/trans"
or paste my line :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="center" android:id="@id/date" android:background="@drawable/trans" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
7. Open status_bar_expanded.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical"
and add this line code :
Code:
android:background="@drawable/bg"
or paste my line :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:background="@drawable/bg" android:focusable="true" android:descendantFocusability="afterDescendants"
8. Open status_bar_tracking.xml from /res/layout/here and find this code. modify and save :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" />
and change to this line :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_weight="1.0" />
Find this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
and change to this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/trans" android:scaleType="fitXY" />
9. Recompile your SystemUI.apk project and push it to your phone to the /system/app directory
Thanks To :
- Rizalien
- Official Group Galaxy Young Indonesia
- Official Group Sony Xperia X8 Indonesia
- Tiny Anastasia Development Group
- DCSMS
@petrukgrinder
- and YOU!
Click to expand...
Click to collapse
can u share systemui.apk!?
thanks!
Sent from my LG-P500 using xda app-developers app
x-dira said:
can u share systemui.apk!?
thanks!
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
sorry but i am using different device
Sent from my GT-S5360 using xda premium
can u share guide mode quick panel with volume & brightness... in screenshot
Thanks
Sent from my LG-P500 using xda app-developers app

Error:Syncing sources

Fetching projects: 99% (407/411) Fetching project platform/developers/docs
error: Cannot fetch androidarmv6/android_kernel_goldfish
warn: --force-broken, continuing to sync
Fetching projects: 100% (411/411), done.
Syncing work tree: 69% (284/411) error: revision cm-10.1_2.6.29 in androidarmv6/android_kernel_goldfish not found
[email protected]:~/armv6$
How to solve this error?
Edit: I have seen in androidarmv6 github, there is no android_kernel_goldfish project...but my roomservice.xml points to that project....if i remove it, then there are lots of errors....how to get past that error @androidarmv6, @A_U anna... @erikcas, @yajnab
This is my roomservice.xml:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="androidarmv6/android_kernel_goldfish" path="kernel/goldfish" remote="github" revision="cm-10.1_2.6.29" />
<project name="androidarmv6/android_device_samsung_tass" path="device/samsung/tass" remote="github" />
<project name="androidarmv6/android_kernel_samsung_msm" path="kernel/samsung/msm" remote="github" revision="jb_chocolate-samsung" />
<project name="androidarmv6/android_kernel_samsung_msm7x27" path="kernel/samsung/msm7x27" remote="github" />
<project name="androidarmv6/android_device_qcom_msm7x27" path="device/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_device_samsung_msm7x27-common" path="device/samsung/msm7x27-common" remote="github" />
<project name="androidarmv6/android_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="androidarmv6/android_vendor_qcom_msm7x27" path="vendor/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_hardware_atheros_ath6kl-compat" path="hardware/atheros/ath6kl-compat" remote="github" />
<project name="androidarmv6/android_hardware_atheros_wifi_libs" path="hardware/atheros/wifi/libs" remote="github" />
<project name="androidarmv6/android_hardware_broadcom_fmradio" path="hardware/broadcom/fmradio" remote="github" />
</manifest>
Venkatesh said:
Fetching projects: 99% (407/411) Fetching project platform/developers/docs
error: Cannot fetch androidarmv6/android_kernel_goldfish
warn: --force-broken, continuing to sync
Fetching projects: 100% (411/411), done.
Syncing work tree: 69% (284/411) error: revision cm-10.1_2.6.29 in androidarmv6/android_kernel_goldfish not found
[email protected]:~/armv6$
How to solve this error?
Edit: I have seen in androidarmv6 github, there is no android_kernel_goldfish project...but my roomservice.xml points to that project....if i remove it, then there are lots of errors....how to get past that error @androidarmv6, @A_U anna... @erikcas, @yajnab
This is my roomservice.xml:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="androidarmv6/android_kernel_goldfish" path="kernel/goldfish" remote="github" revision="cm-10.1_2.6.29" />
<project name="androidarmv6/android_device_samsung_tass" path="device/samsung/tass" remote="github" />
<project name="androidarmv6/android_kernel_samsung_msm" path="kernel/samsung/msm" remote="github" revision="jb_chocolate-samsung" />
<project name="androidarmv6/android_kernel_samsung_msm7x27" path="kernel/samsung/msm7x27" remote="github" />
<project name="androidarmv6/android_device_qcom_msm7x27" path="device/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_device_samsung_msm7x27-common" path="device/samsung/msm7x27-common" remote="github" />
<project name="androidarmv6/android_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="androidarmv6/android_vendor_qcom_msm7x27" path="vendor/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_hardware_atheros_ath6kl-compat" path="hardware/atheros/ath6kl-compat" remote="github" />
<project name="androidarmv6/android_hardware_atheros_wifi_libs" path="hardware/atheros/wifi/libs" remote="github" />
<project name="androidarmv6/android_hardware_broadcom_fmradio" path="hardware/broadcom/fmradio" remote="github" />
</manifest>
Click to expand...
Click to collapse
Remove the roomservice.xml and resync
yajnab said:
Remove the roomservice.xml and resync
Click to expand...
Click to collapse
Thanks yajnab...but i din't fix..produced more errors....nevermind fixed it already...what i did is created another directory and referencing previous directory intialized repo in newly created directory and did repo sync....already compiled a build for my mini also....everything working except camera.... din't applied camera force close hack...
yajnab said:
Remove the roomservice.xml and resync
Click to expand...
Click to collapse
this is what happened after removing roomservice.xml
Syncing work tree: 99% (396/400) Traceback (most recent call last):
File "/home/venkatesh/armv6/.repo/repo/main.py", line 418, in <module>
_Main(sys.argv[1:])
File "/home/venkatesh/armv6/.repo/repo/main.py", line 394, in _Main
result = repo._Run(argv) or 0
File "/home/venkatesh/armv6/.repo/repo/main.py", line 142, in _Run
result = cmd.Execute(copts, cargs)
File "/home/venkatesh/armv6/.repo/repo/subcmds/sync.py", line 657, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 1106, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 2074, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 2227, in rev_list
p.stderr))
error.GitError: CyanogenMod/android_vendor_qcom_opensource_v8 rev-list ('^ed6baff3b8971fe968a30c0c7dc631be1f31fd5c', 'HEAD', '--'): fatal: bad object HEAD

[ROM] Unofficial CyanogenMod 12.1 after droping nightlies

Hi folks,
i want to share with my selfcompiled CM 12.1 nighlies after cm switch peregrine to CM13.
Some people like me dont update so quick but also want the last android security patches for CM 12.1
This is my first selfcompiled rom, it is works for me, i can give no support, i am no programmer, i am only put some sripts on my computer
So, if you brake your phone or something else it is your fault.
It is compiled with help docker container from michael_ch, release 0.30
http://forum.xda-developers.com/showpost.php?p=59811186&postcount=1734
git clone https://github.com/stucki/docker-cyanogenmod.git
cd docker-cyanogenmod
./run.sh
# Inside the container, run these commands:
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
touch .repo/local_manifests/motorola-msm8226.xml
# Edit the file and paste contents from below
# Repeat the following commands whenever you want to make a new build:
repo sync -j 16
source build/envsetup.sh
make clean
brunch peregrine
Click to expand...
Click to collapse
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_motorola_peregrine" path="device/motorola/peregrine" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" revision="cm-12.1" />
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
</manifest>
Click to expand...
Click to collapse
No changes, original CM12.1 repos, nothing optimized
Download:
http://www.mediafire.com/download/mbfakd5nl96t88b/cm-12.1-20151209-UNOFFICIAL-peregrine.zip
MD5: 735db013275a356c08639f3f105eddb0 cm-12.1-20151209-UNOFFICIAL-peregrine.zip
Reposync 20151209, all december security patches
I will post updates if something important change in CM12.1 or new security patches will released and i am still on CM12.1
Special thanks to all the the people here on xda to make this possible for me!
Indeed it was excellent of you bro, there are some of us that are not supported by the cm13 and this is a wonderful option.
Nice. Pls can you post results from Stagefright Detector (https://play.google.com/store/apps/details?id=com.zimperium.stagefrightdetector) and VTS for Android (http://www.appbrain.com/app/vts-for-android/com.nowsecure.android.vts)?
jccz said:
Nice. Pls can you post results from Stagefright Detector (https://play.google.com/store/apps/details?id=com.zimperium.stagefrightdetector) and VTS for Android (http://www.appbrain.com/app/vts-for-android/com.nowsecure.android.vts)?
Click to expand...
Click to collapse
Sorry i do not install dubios testing software on my working telephone
Bastlwastl2010 said:
Sorry i do not install dubios testing software on my working telephone
Click to expand...
Click to collapse
OK. Maybe some other will be able to test it.

[GUIDE][DEV]Compiling CyanogenMod 12.1 NEO builds for Xperia T, TX, V

Maybe this will help someone..
I'll be visiting this thread occasionally in case someone needs help. But I'd be glad if people and future devs also helped each other. :good:
If you compile a running build with these instructions, feel free to share it with people in this thread. Maybe development for these phones is not over yet! :fingers-crossed:
Soo.. Let's start!
What you need:
- Basic coding skills
- A GitHub account and some skills on how to use git.
- A computer with decent specs. (using an i5-4670k and 8gb ram here)
- LOTS of free storage. I recommend at least 100-200GB. The more, the better.
- A linux VM with all neccesary tools to build android. I recommend BBQLinux.
Initial Steps:
1. Grab the CM12.1 source by typing the following in your VM's Terminal:
Code:
mkdir cm12
cd cm12
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
repo sync
This will take some hours. Just wait.
2. Create a file called roomservice.xml in /home/yourusername/cm12/.repo/local_manifests directory, containing the following:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="CyanogenMod/android_bootable_recovery" />
<remove-project name="CyanogenMod/android_build" />
<remove-project name="CyanogenMod/android_external_bluetooth_bluedroid" />
<remove-project name="CyanogenMod/android_frameworks_av" />
<remove-project name="CyanogenMod/android_frameworks_base" />
<remove-project name="CyanogenMod/android_hardware_qcom_display" />
<remove-project name="CyanogenMod/android_libcore" />
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" />
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="github" revision="architoolchain-4.9-arm-linux-gnueabihf-cortex_a9_neon" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" remote="github" revision="sabermod-4.9-arm-linux-androideabi" />
<project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" />
<project name="WhiteNeo-/android_bootable_recovery" path="bootable/recovery" remote="github" revision="android-5.1" />
<project name="WhiteNeo-/android_build" path="build" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_external_bluetooth_bluedroid" path="external/bluetooth/bluedroid" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_frameworks_av" path="frameworks/av" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_frameworks_base" path="frameworks/base" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_hardware_qcom_display" path="hardware/qcom/display-caf/msm8960" remote="github" revision="cm-12.1-caf-8960" />
<project name="WhiteNeo-/android_libcore" path="libcore" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_device_sony_blue-common" path="device/sony/blue-common" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_device_sony_mint" path="device/sony/mint" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_device_sony_hayabusa" path="device/sony/hayabusa" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_device_sony_msm8960-common" path="device/sony/msm8960-common" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/android_device_sony_tsubasa" path="device/sony/tsubasa" remote="github" revision="cm-12.1" />
<project name="WhiteNeo-/kernel-msm" path="kernel/sony/msm8960" remote="github" revision="master" />
<project name="WhiteNeo-/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="cm-12.1" />
</manifest>
3. Find all the lines containing "WhiteNeo-", fork those repositories at GitHub and replace "WhiteNeo-" with your GitHub name. (Important!)
Then copy the related repositories to your local drive with the "git clone" command.
4. Some sources are still old and need to be updated before we start to compile. These are:
android_bootable_recovery
android_build
android_external_bluetooth_bluedroid
android_frameworks_av
android_frameworks_base
android_hardware_qcom_display
android_libcore
These sources have to be updated like the example below.
Just remember that not all branches are named cm-12.1, so replace "cm-12.1" with the revision from roomservice.xml (look above)
Code:
cd android_build
git pull https://github.com/CyanogenMod/android_build.git cm-12.1
git push https://github.com/WhiteNeo-/android_build.git cm-12.1
The recovery sources are updated differently:
Code:
cd android_bootable_recovery
git pull https://github.com/omnirom/android_bootable_recovery.git android-5.1
git push https://github.com/WhiteNeo-/android_bootable_recovery.git android-5.1
5. Once more do a repo sync in your cm12 directory, to synchronize our updated repositories with the ones in CM12 directory.
6. Start the build with the following terminal commands:
Code:
cd cm12
. build/envsetup.sh
brunch yourdevicename
(Replace "yourdevicename" with your phone's manufacturer name: tsubasa = Xperia V // mint = Xperia T // hayabusa = Xperia TX)
If there are no issues, you'll find the finished ROM zip in cm12/out/target/product/yourdevicename directory.
Copy the META-INF folder from my latest NEO build over to the new zip and flash. Done.
Future builds:
Just repeat steps 4 to 6.
Troubleshooting:
If you run into toolchain errors, grab the libraries from the following link and install them in your virtual machine.
http://sabermod.com/Prebuilt-libs (DEV ONLY)/ROM-Kernel/
Hey, I need some help with a kernel build. Ive got a zimage and I cant compile it into a boot.img and doomkernerls tutorial is only for jelly bean
Can it be done with ScriBt?

Categories

Resources