Download the Kernel? - Google Pixel XL Questions & Answers
I am trying to download the Pixel XL kernel sources from Google but I can't seem to do it following their guide.
Whenever I run `repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-marlin-3.18-pie-qpr2`, it errors out complaining that default.xml is missing. I can't find a single xml file in the .repo directory either.
Console:
Code:
$ repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-marlin-3.18-pie-qpr2
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 1, done
remote: Finding sources: 100% (105/105)
remote: Total 105 (delta 28), reused 105 (delta 28)
Receiving objects: 100% (105/105), 184.38 KiB | 6.58 MiB/s, done.
Resolving deltas: 100% (28/28), completed with 16 local objects.
From https://gerrit.googlesource.com/git-repo
d92464e..0c0e934 master -> origin/master
13f323b..c5b0e23 stable -> origin/stable
* [new tag] v1.13.3 -> v1.13.3
Get https://android.googlesource.com/kernel/manifest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
remote: Total 110 (delta 30), reused 110 (delta 30)
Receiving objects: 100% (110/110), 17.66 KiB | 2.52 MiB/s, done.
Resolving deltas: 100% (30/30), done.
From https://android.googlesource.com/kernel/manifest
* [new branch] android-hikey-linaro-4.14 -> origin/android-hikey-linaro-4.14
* [new branch] android-hikey-linaro-4.19 -> origin/android-hikey-linaro-4.19
* [new branch] android-hikey-linaro-4.4 -> origin/android-hikey-linaro-4.4
* [new branch] android-hikey-linaro-4.9 -> origin/android-hikey-linaro-4.9
* [new branch] android-hikey960-linaro-4.14 -> origin/android-hikey960-linaro-4.14
* [new branch] android-hikey960-linaro-4.19 -> origin/android-hikey960-linaro-4.19
* [new branch] android-hikey960-linaro-4.4 -> origin/android-hikey960-linaro-4.4
* [new branch] android-hikey960-linaro-4.9 -> origin/android-hikey960-linaro-4.9
* [new branch] android-mainline-tracking -> origin/android-mainline-tracking
* [new branch] android-msm-bluecross-4.9-pie-qpr1 -> origin/android-msm-bluecross-4.9-pie-qpr1
* [new branch] android-msm-bonito-4.9-pie-b4s4 -> origin/android-msm-bonito-4.9-pie-b4s4
* [new branch] android-msm-crosshatch-4.9-pie-qpr1 -> origin/android-msm-crosshatch-4.9-pie-qpr1
* [new branch] android-msm-crosshatch-4.9-pie-qpr2 -> origin/android-msm-crosshatch-4.9-pie-qpr2
* [new branch] android-msm-marlin-3.18-pie-qpr1 -> origin/android-msm-marlin-3.18-pie-qpr1
* [new branch] android-msm-marlin-3.18-pie-qpr2 -> origin/android-msm-marlin-3.18-pie-qpr2
* [new branch] android-msm-wahoo-4.4-pie-qpr1 -> origin/android-msm-wahoo-4.4-pie-qpr1
* [new branch] android-msm-wahoo-4.4-pie-qpr2 -> origin/android-msm-wahoo-4.4-pie-qpr2
* [new branch] aosp-goldfish-3.10-arm-ranchu -> origin/aosp-goldfish-3.10-arm-ranchu
* [new branch] aosp-goldfish-3.10-arm64-ranchu -> origin/aosp-goldfish-3.10-arm64-ranchu
* [new branch] aosp-goldfish-3.10-mips-ranchu -> origin/aosp-goldfish-3.10-mips-ranchu
* [new branch] aosp-goldfish-3.10-mips64-ranchu -> origin/aosp-goldfish-3.10-mips64-ranchu
* [new branch] aosp-goldfish-3.10-x86-ranchu -> origin/aosp-goldfish-3.10-x86-ranchu
* [new branch] aosp-goldfish-3.10-x86_64-goldfish -> origin/aosp-goldfish-3.10-x86_64-goldfish
* [new branch] aosp-goldfish-3.10-x86_64-ranchu -> origin/aosp-goldfish-3.10-x86_64-ranchu
* [new branch] aosp-goldfish-3.4-arm-goldfish -> origin/aosp-goldfish-3.4-arm-goldfish
* [new branch] aosp-goldfish-3.4-mips-goldfish -> origin/aosp-goldfish-3.4-mips-goldfish
* [new branch] aosp-goldfish-3.4-x86-goldfish -> origin/aosp-goldfish-3.4-x86-goldfish
* [new branch] common-android-4.14 -> origin/common-android-4.14
* [new branch] common-android-4.19 -> origin/common-android-4.19
* [new branch] common-android-4.19-gki-dev -> origin/common-android-4.19-gki-dev
* [new branch] common-android-4.4 -> origin/common-android-4.4
* [new branch] common-android-4.9 -> origin/common-android-4.9
* [new branch] common-android-mainline -> origin/common-android-mainline
* [new branch] master -> origin/master
* [new branch] n-common-android-4.4 -> origin/n-common-android-4.4
* [new branch] n-release-common-android-4.4 -> origin/n-release-common-android-4.4
* [new branch] o-common-android-4.4 -> origin/o-common-android-4.4
* [new branch] o-common-android-4.9 -> origin/o-common-android-4.9
* [new branch] o-release-common-android-4.4 -> origin/o-release-common-android-4.4
* [new branch] o-release-common-android-4.9 -> origin/o-release-common-android-4.9
* [new branch] p-common-android-4.14 -> origin/p-common-android-4.14
* [new branch] p-common-android-4.4 -> origin/p-common-android-4.4
* [new branch] p-common-android-4.9 -> origin/p-common-android-4.9
* [new branch] p-release-common-android-4.14 -> origin/p-release-common-android-4.14
* [new branch] p-release-common-android-4.4 -> origin/p-release-common-android-4.4
* [new branch] p-release-common-android-4.9 -> origin/p-release-common-android-4.9
* [new branch] q-common-android-4.14 -> origin/q-common-android-4.14
* [new branch] q-common-android-4.19 -> origin/q-common-android-4.19
* [new branch] q-common-android-4.9 -> origin/q-common-android-4.9
* [new branch] upstream-linux-3.18.y -> origin/upstream-linux-3.18.y
* [new branch] upstream-linux-4.14.y -> origin/upstream-linux-4.14.y
* [new branch] upstream-linux-4.19.y -> origin/upstream-linux-4.19.y
* [new branch] upstream-linux-4.4.y -> origin/upstream-linux-4.4.y
* [new branch] upstream-linux-4.9.y -> origin/upstream-linux-4.9.y
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
I am using repo v1.13.3 modified to use python 2 instead of 3. (Changed the shebang, nothing else)
Code:
$ repo --version
repo version v1.13.3
(from https://gerrit.googlesource.com/git-repo)
repo launcher version 1.25
(from /home/gudenau/bin/repo)
git version 2.22.0
Python 2.7.16 (default, Mar 11 2019, 18:59:25)
[GCC 8.2.1 20181127]
What am I doing wrong?
Hey, you have to follow the legacy kernel instructions. Made the same mistake myself.
https://source.android.com/setup/build/building-kernels-deprecated
NZedPred said:
Hey, you have to follow the legacy kernel instructions. Made the same mistake myself.
https://source.android.com/setup/build/building-kernels-deprecated
Click to expand...
Click to collapse
Why would the new one claim to support the Pixel XL if that is the case? Google does some weird stuff at times...
Edit:
Marlin isn't even on that page.
gudenau said:
Why would the new one claim to support the Pixel XL if that is the case? Google does some weird stuff at times...
Edit:
Marlin isn't even on that page.
Click to expand...
Click to collapse
I'll try and find the URL I used, give me a day or two.
From https://source.android.com/setup/build/building-kernels-deprecated
The msm project has the sources for ADP1, ADP2, Nexus One, Nexus 4, Nexus 5, Nexus 6, Nexus 5X, Nexus 6P, Nexus 7 (2013), Pixel, and Pixel XL, and can be used as a starting point for work on Qualcomm MSM chipsets.
Click to expand...
Click to collapse
Code:
git clone https://android.googlesource.com/kernel/msm
You also need to do some setup, by getting an appropriate compiler and setting some environment variables.
I used the compilers here (you need both - you can use git clone to pull these)
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
I used these values based upon my directory structure:
Code:
export CROSS_COMPILE=$(pwd)/../tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-
export CROSS_COMPILE_ARM32=$(pwd)/../tools/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export ARCH=arm64
export SUBARCH=arm64
Then to do the build:
Code:
make marlin_defconfig
make -j4
Marlin and Sailfish have the same kernel, but you have to use marlin_defconfig.
Hope this helps.
NZedPred said:
From https://source.android.com/setup/build/building-kernels-deprecated
Code:
git clone https://android.googlesource.com/kernel/msm
You also need to do some setup, by getting an appropriate compiler and setting some environment variables.
I used the compilers here (you need both - you can use git clone to pull these)
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
I used these values based upon my directory structure:
Code:
export CROSS_COMPILE=$(pwd)/../tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-
export CROSS_COMPILE_ARM32=$(pwd)/../tools/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export ARCH=arm64
export SUBARCH=arm64
Then to do the build:
Code:
make marlin_defconfig
make -j4
Marlin and Sailfish have the same kernel, but you have to use marlin_defconfig.
Hope this helps.
Click to expand...
Click to collapse
How do I figure out what tag to checkout? The kernel version on my device is 3.18.122-g665c9a1, but I am not sure what tag that corresponds to.
Edit:
Nevermind, seems that `git checkout 665c9a1` works.
Edit 2:
Alright, what's a good way to make the kernel build fast? These GCC versions have the wrappers that make it take forever, maybe I could use clang instead?
gudenau said:
How do I figure out what tag to checkout? The kernel version on my device is 3.18.122-g665c9a1, but I am not sure what tag that corresponds to.
Edit:
Nevermind, seems that `git checkout 665c9a1` works.
Edit 2:
Alright, what's a good way to make the kernel build fast? These GCC versions have the wrappers that make it take forever, maybe I could use clang instead?
Click to expand...
Click to collapse
Just to add to this, you can get a list of branches by using e.g.
Code:
git branch -av
You can filter using grep to get specific ones, e.g.
Code:
git branch -av | grep pie
or
Code:
git branch -av | grep q-preview
From there checkout the branch (exclude the remotes/origin/ prefix that is on most of the branches), e.g. I used
Code:
git checkout android-msm-marlin-3.18-q-preview-4
Yes it will take a while to build, you can increase the number I had in the make command before, e.g. use make -j8 for 8 threads, make -j16 for 16 threads. Depends on what your CPU is as to what will work optimally.
As for using clang, that's something that I'll look into at some stage. If you manage to work out how to get that working, please do post about it. I have cloned the git repository here: https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/
clang-r353983d is the one used for the Q preview builds I understand. I just haven't gotten to trying to compile with it (and what exports are needed much like what was done before for gcc).
This page has a bit of info, although it seems to be targeting custom rom kernels (not sure if that's important in this case, after all, a custom kernel would be based off stock in some way). https://github.com/nathanchance/android-kernel-clang
NZedPred said:
Just to add to this, you can get a list of branches by using e.g.
Code:
git branch -av
You can filter using grep to get specific ones, e.g.
Code:
git branch -av | grep pie
or
Code:
git branch -av | grep q-preview
From there checkout the branch (exclude the remotes/origin/ prefix that is on most of the branches), e.g. I used
Code:
git checkout android-msm-marlin-3.18-q-preview-4
Yes it will take a while to build, you can increase the number I had in the make command before, e.g. use make -j8 for 8 threads, make -j16 for 16 threads. Depends on what your CPU is as to what will work optimally.
As for using clang, that's something that I'll look into at some stage. If you manage to work out how to get that working, please do post about it. I have cloned the git repository here: https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/
clang-r353983d is the one used for the Q preview builds I understand. I just haven't gotten to trying to compile with it (and what exports are needed much like what was done before for gcc).
This page has a bit of info, although it seems to be targeting custom rom kernels (not sure if that's important in this case, after all, a custom kernel would be based off stock in some way). https://github.com/nathanchance/android-kernel-clang
Click to expand...
Click to collapse
Do you happen to know how I could install a custom build to my phone? I have Magisk, could I use a module perhaps?
gudenau said:
Do you happen to know how I could install a custom build to my phone? I have Magisk, could I use a module perhaps?
Click to expand...
Click to collapse
I forget the order in which you have to install things. The instructions on the Google page just involve flashing it with fastboot. Perhaps you can flash Magisk after, and it will retain your custom kernel? Other option is to build a flashable zip using Anykernel (I haven't done this before, other than building I haven't actually unlocked my bootloader to try).
Link to AnyKernel Github page: https://github.com/osm0sis/AnyKernel3
Link to XDA thread for it: https://forum.xda-developers.com/showthread.php?t=2670512
Don't forget to hit thanks!
Related
[TOOLS][Source} Sync and compile[AOKP,CM10,CM9,CNA,AoCP,Liquid, and more!]
{ "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" } Introducing my Source Tools for Setting up your build environment, installing java, and Repo Syncing almost any Open Source Project.(CM10, AOKP, CM9,LiquidJellybean,AoCP,CNA) and more to come! These are scripts I wrote for myself to make my building quicker and easier. How to? Extract tools to yhour home directory(I run a full Ubuntu 12.04 system, so I havent tested on VM, or 10.04 or 11.10) Then Open a Terminal(Run as Root) Type: chmod +x Repo_Sync.sh Then type . Repo_Sync.sh Thats it. Just Choose your Option and enjoy. I would advise if a first time linux user, starting with option 1 and 2 then choose your poison!! Hope you guys enjoy
Mine Sent from my Inspire 4G using xda premium
Gahhhhh! I so want to help out, but I am bearly relearning my Visual Basic... Sent from my SGH-I927 using xda app-developers app
Wait, if I sync CM10 is that the equivalent of repo sync? EDIT: In the readme you might want to add the chmod. I think that was what was causing the problem with me
Thanks D!! Keep it up! Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Aquethys said: Wait, if I sync CM10 is that the equivalent of repo sync? EDIT: In the readme you might want to add the chmod. I think that was what was causing the problem with me Click to expand... Click to collapse No. Your problem was is you did not have bin/repo installed. According to the error log you gave me Sent from my Inspire 4G using xda premium
I got the following two issues with your script (Ubuntu 12.10 x64): At Option 1 the Scrippt stopped at this line: Code: tail -f ./oab-java.sh.log # ..maybe remove the -f switch? I resolved the problem by canceling the script and executed the last command on my own. After executing Option 2 there was a problem with the script in ~/bin/ Either it's because Code: export PATH is missing, Or the new Path should bei ~/bin/ insted of ~/bin/repo (Not sure which action resolved this problem) but great work so far! Syncing now at 4-5MB/s ...
dman3285 said: No. Your problem was is you did not have bin/repo installed. According to the error log you gave me Sent from my Inspire 4G using xda premium Click to expand... Click to collapse I followed your steps listed. first by choosing 1 then 2. when I try to sync a flavor, I get a message repo not found! I'm running Ubuntu 12.10 32bit Enter option: 4 ############################################## # # # Building CM9 # # Follw us on twitter @CollectiveDevs # # # ############################################## Making directory Initializing Repo tools/CM9.sh: 21: tools/CM9.sh: repo: not found Repo Syncing tools/CM9.sh: 24: tools/CM9.sh: repo: not found Elapsed: 0 sec(s) Done. Press Enter to continue did I miss something?
Got it too. Install repo/sync and fix You may also double check if you chmodded it. Sent from my SGH-I927 using xda app-developers app
dbrannon79 said: I followed your steps listed. first by choosing 1 then 2. when I try to sync a flavor, I get a message repo not found! I'm running Ubuntu 12.10 32bit Enter option: 4 ############################################## # # # Building CM9 # # Follw us on twitter @CollectiveDevs # # # ############################################## Making directory Initializing Repo tools/CM9.sh: 21: tools/CM9.sh: repo: not found Repo Syncing tools/CM9.sh: 24: tools/CM9.sh: repo: not found Elapsed: 0 sec(s) Done. Press Enter to continue did I miss something? Click to expand... Click to collapse Have to install bin/repo Sent from my Inspire 4G using xda premium
dman3285 said: Have to install bin/repo Sent from my Inspire 4G using xda premium Click to expand... Click to collapse forgive me for my lack! my linux skills are very rusty I see the folder in my home folder labled bin. inside is a file labled repo! executing it gets me this... [email protected]:~$ sudo su [sudo] password for dbrannon79: [email protected]:/home/dbrannon79# '/home/dbrannon79/bin/repo' error: repo is not installed. Use "repo init" to install it here. typing " repo init" in terminal as root.... [email protected]:/home/dbrannon79# repo init No command 'repo' found, did you mean: Command 'repro' from package 'repro' (universe) Command 'rep' from package 'rep' (universe) Command 'repl' from package 'nmh' (universe) Command 'repl' from package 'mailutils-mh' (universe) repo: command not found [email protected]:/home/dbrannon79# I think something went over my head!!
PATH=~/bin:$PATH chmod +x ~/bin/repo Sent from my Inspire 4G using xda premium
dman3285 said: PATH=~/bin:$PATH chmod +x ~/bin/repo Sent from my Inspire 4G using xda premium Click to expand... Click to collapse Sorry for bothering you like this, I really must be missing something. followed the two commands, I also googled how to install /bin/repo and found the same commands in another site! I get no output when typing them, although no error! but still the same "repo not found" message when running your script! here is my terminal output. [email protected]:~$ PATH=~/bin:$PATH [email protected]:~$ chmod +x ~/bin/repo [email protected]:~$ '/home/dbrannon79/Repo-Sync_Tools-jellybean/Repo_Sync.sh' ########################################################## # AOSP-SYNC V-1 # #========================================================# # 1 - Install Java-6 # # 2 - Install Required Packages # # 3 - Sync AoCP Jellybean # # 4 - Sync CM9 # # 5 - Sync AOSP Jellybean # # 6 - Sync LiquidSmooth JB # # 7 - sync CNA Jellybean # # 8 - Sync CM10 # # 9 - Sync AOKP # ########################################################## # x - Exit # ########################################################## Enter option: 3 ############################################## # # # Building AoCP # # Follw us on twitter @CollectiveDevs # # # ############################################## Making directory mkdir: cannot create directory `AoCP': File exists Initializing Repo tools/AoCP.sh: 21: tools/AoCP.sh: repo: not found Repo Syncing tools/AoCP.sh: 24: tools/AoCP.sh: repo: not found Elapsed: 0 sec(s) Done. Press Enter to continue ---------- Post added at 11:09 PM ---------- Previous post was at 10:54 PM ---------- dman3285 said: PATH=~/bin:$PATH chmod +x ~/bin/repo Sent from my Inspire 4G using xda premium Click to expand... Click to collapse I believe the repo is working!!! I opened the AoCP.sh script and copied "repo init -u https://github.com/TheCollective/platform_manifest.git -b jellybean " and pasted it into terminal! I stoped when it started asking my questions! here is my output! [email protected]:~$ repo init -u https://github.com/TheCollective/platform_manifest.git -b jellybean gpg: keyring `/home/dbrannon79/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/dbrannon79/.repoconfig/gnupg/pubring.gpg' created gpg: /home/dbrannon79/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1 Get https://gerrit.googlesource.com/git-repo repo sync ***************************** (it paused here and I pasted this line from the script )**************************** remote: Counting objects: 313, done remote: Finding sources: 100% (270/270) remote: Getting sizes: 100% (72/72) remote: Compressing objects: 100% (72/72) remote: Total 2028 (delta 1175), reused 1968 (delta 1167) Receiving objects: 100% (2028/2028), 1.26 MiB | 10 KiB/s, done. Resolving deltas: 100% (1218/1218), done. From https://gerrit.googlesource.com/git-repo * [new branch] maint -> origin/maint * [new branch] master -> origin/master * [new branch] stable -> origin/stable * [new tag] v1.0 -> v1.0 * [new tag] v1.0.1 -> v1.0.1 * [new tag] v1.0.2 -> v1.0.2 * [new tag] v1.0.3 -> v1.0.3 * [new tag] v1.0.4 -> v1.0.4 * [new tag] v1.0.5 -> v1.0.5 * [new tag] v1.0.6 -> v1.0.6 * [new tag] v1.0.7 -> v1.0.7 * [new tag] v1.0.8 -> v1.0.8 * [new tag] v1.0.9 -> v1.0.9 * [new tag] v1.1 -> v1.1 * [new tag] v1.10.0 -> v1.10.0 * [new tag] v1.10.1 -> v1.10.1 * [new tag] v1.10.2 -> v1.10.2 * [new tag] v1.10.3 -> v1.10.3 * [new tag] v1.10.4 -> v1.10.4 * [new tag] v1.11.0 -> v1.11.0 * [new tag] v1.11.1 -> v1.11.1 * [new tag] v1.2 -> v1.2 * [new tag] v1.3 -> v1.3 * [new tag] v1.3.1 -> v1.3.1 * [new tag] v1.3.2 -> v1.3.2 * [new tag] v1.4 -> v1.4 * [new tag] v1.4.1 -> v1.4.1 * [new tag] v1.4.2 -> v1.4.2 * [new tag] v1.4.3 -> v1.4.3 * [new tag] v1.4.4 -> v1.4.4 * [new tag] v1.5 -> v1.5 * [new tag] v1.5.1 -> v1.5.1 * [new tag] v1.6 -> v1.6 * [new tag] v1.6.1 -> v1.6.1 * [new tag] v1.6.10 -> v1.6.10 * [new tag] v1.6.10.1 -> v1.6.10.1 * [new tag] v1.6.10.2 -> v1.6.10.2 * [new tag] v1.6.2 -> v1.6.2 * [new tag] v1.6.3 -> v1.6.3 * [new tag] v1.6.4 -> v1.6.4 * [new tag] v1.6.5 -> v1.6.5 * [new tag] v1.6.6 -> v1.6.6 * [new tag] v1.6.7 -> v1.6.7 * [new tag] v1.6.7.1 -> v1.6.7.1 * [new tag] v1.6.7.2 -> v1.6.7.2 * [new tag] v1.6.7.3 -> v1.6.7.3 * [new tag] v1.6.7.4 -> v1.6.7.4 * [new tag] v1.6.7.5 -> v1.6.7.5 * [new tag] v1.6.8 -> v1.6.8 * [new tag] v1.6.8.1 -> v1.6.8.1 * [new tag] v1.6.8.10 -> v1.6.8.10 * [new tag] v1.6.8.11 -> v1.6.8.11 * [new tag] v1.6.8.2 -> v1.6.8.2 * [new tag] v1.6.8.3 -> v1.6.8.3 * [new tag] v1.6.8.4 -> v1.6.8.4 * [new tag] v1.6.8.5 -> v1.6.8.5 * [new tag] v1.6.8.6 -> v1.6.8.6 * [new tag] v1.6.8.7 -> v1.6.8.7 * [new tag] v1.6.8.8 -> v1.6.8.8 * [new tag] v1.6.8.9 -> v1.6.8.9 * [new tag] v1.6.9 -> v1.6.9 * [new tag] v1.6.9.1 -> v1.6.9.1 * [new tag] v1.6.9.2 -> v1.6.9.2 * [new tag] v1.6.9.3 -> v1.6.9.3 * [new tag] v1.6.9.4 -> v1.6.9.4 * [new tag] v1.6.9.5 -> v1.6.9.5 * [new tag] v1.6.9.6 -> v1.6.9.6 * [new tag] v1.6.9.7 -> v1.6.9.7 * [new tag] v1.6.9.8 -> v1.6.9.8 * [new tag] v1.7 -> v1.7 * [new tag] v1.7.1 -> v1.7.1 * [new tag] v1.7.2 -> v1.7.2 * [new tag] v1.7.3 -> v1.7.3 * [new tag] v1.7.3.1 -> v1.7.3.1 * [new tag] v1.7.4 -> v1.7.4 * [new tag] v1.7.4.1 -> v1.7.4.1 * [new tag] v1.7.4.2 -> v1.7.4.2 * [new tag] v1.7.4.3 -> v1.7.4.3 * [new tag] v1.7.5 -> v1.7.5 * [new tag] v1.7.6 -> v1.7.6 * [new tag] v1.7.6.1 -> v1.7.6.1 * [new tag] v1.7.7 -> v1.7.7 * [new tag] v1.7.7.1 -> v1.7.7.1 * [new tag] v1.7.7.2 -> v1.7.7.2 * [new tag] v1.7.7.3 -> v1.7.7.3 * [new tag] v1.7.7.4 -> v1.7.7.4 * [new tag] v1.7.7.5 -> v1.7.7.5 * [new tag] v1.7.7.6 -> v1.7.7.6 * [new tag] v1.7.8 -> v1.7.8 * [new tag] v1.7.8.1 -> v1.7.8.1 * [new tag] v1.7.8.2 -> v1.7.8.2 * [new tag] v1.8.0 -> v1.8.0 * [new tag] v1.8.1 -> v1.8.1 * [new tag] v1.8.2 -> v1.8.2 * [new tag] v1.9.0 -> v1.9.0 * [new tag] v1.9.1 -> v1.9.1 * [new tag] v1.9.2 -> v1.9.2 * [new tag] v1.9.3 -> v1.9.3 * [new tag] v1.9.4 -> v1.9.4 * [new tag] v1.9.5 -> v1.9.5 * [new tag] v1.9.6 -> v1.9.6 ... A new repo command ( 1.18) is available. ... You should upgrade soon: cp /home/dbrannon79/.repo/repo/repo /home/dbrannon79/bin/repo Get https://github.com/TheCollective/platform_manifest.git % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring. remote: Counting objects: 1497, done. remote: Compressing objects: 100% (803/803), done. remote: Total 1497 (delta 740), reused 1450 (delta 693) Receiving objects: 100% (1497/1497), 209.37 KiB | 14 KiB/s, done. Resolving deltas: 100% (740/740), done. From https://github.com/TheCollective/platform_manifest * [new branch] ics -> origin/ics * [new branch] jellybean -> origin/jellybean * [new tag] aocp-4.1.1 -> aocp-4.1.1 Your Name [Doug Brannon]: Your Email [[email protected](none)]: Your identity is: repo sync <[email protected](none)> is this correct [y/N]?
http://paste.ubuntu.com Ubuntu paste for all logs or spoiler and code tags if possible...xD Would help dman a lot I'm sure. Sent from my SGH-I927 using xda app-developers app
Code: All done! Opening Tail Terminal... Ign http://packages.medibuntu.org precise/free Translation-en_US Ign http://packages.medibuntu.org precise/free Translation-en Ign http://packages.medibuntu.org precise/non-free Translation-en_US Ign http://packages.medibuntu.org precise/non-free Translation-en Ign http://archive.getdeb.net precise-getdeb/apps Translation-en_US Ign http://archive.getdeb.net precise-getdeb/apps Translation-en Fetched 159 kB in 10s (15.6 kB/s) Reading package lists... 15302's retcode: 0 success java-6.sh hangs here for me... [email protected] ~ $ uname -a Linux Xel 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux (Linux Mint Maya) Not a big deal, it's obviously done. Well after sudo apt-get install sun-java6-jdk EDIT: Nice scripts, btw.
Zero Computing said: Code: All done! Opening Tail Terminal... Ign http://packages.medibuntu.org precise/free Translation-en_US Ign http://packages.medibuntu.org precise/free Translation-en Ign http://packages.medibuntu.org precise/non-free Translation-en_US Ign http://packages.medibuntu.org precise/non-free Translation-en Ign http://archive.getdeb.net precise-getdeb/apps Translation-en_US Ign http://archive.getdeb.net precise-getdeb/apps Translation-en Fetched 159 kB in 10s (15.6 kB/s) Reading package lists... 15302's retcode: 0 success java-6.sh hangs here for me... [email protected] ~ $ uname -a Linux Xel 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux (Linux Mint Maya) Not a big deal, it's obviously done. Well after sudo apt-get install sun-java6-jdk EDIT: Nice scripts, btw. Click to expand... Click to collapse Yea.. I need to remove the tail terminal in the script. Its really useless...lol Sent from my SGH-I927 using xda premium
dman3285 said: Yea.. I need to remove the tail terminal in the script. Its really useless...lol Sent from my SGH-I927 using xda premium Click to expand... Click to collapse Dman, I figured out how to get your build environment working on my pc! don't know if this will help anyone else, but after installing # 1 and 2 the folder "bin" that's placed in home. opened it and copied "repo" to "/usr/bin". now it's syncing the first one on the list ! the command PATH=~/bin:$PATH for some reason wouldn't change the path! I'm getting getter with Linux and android code, but still have lots of learning to do!!
dbrannon79 said: Dman, I figured out how to get your build environment working on my pc! don't know if this will help anyone else, but after installing # 1 and 2 the folder "bin" that's placed in home. opened it and copied "repo" to "/usr/bin". now it's syncing the first one on the list ! the command PATH=~/bin:$PATH for some reason wouldn't change the path! I'm getting getter with Linux and android code, but still have lots of learning to do!! Click to expand... Click to collapse you need to export it like this: export PATH=~/bin:$PATH If you don't export it you'll have to call it everytime you wanna use it: PATH=~/bin:$PATH ./run-some-script
Hey dman, has your repos been updated with all the new fixes thats in cm10 and pac rom? I was gonna run a build for the other roms and try them out! thanks ---------- Post added at 08:17 PM ---------- Previous post was at 08:08 PM ---------- ok I attempted to build fro AoCP and got this error! any ideas? [email protected]:~$ cd AoCP [email protected]:~/AoCP$ . build/envsetup.sh && brunch i927 including device/generic/armv7-a-neon/vendorsetup.sh including device/generic/armv7-a/vendorsetup.sh including device/ti/panda/vendorsetup.sh including vendor/aocp/vendorsetup.sh including sdk/bash_completion/adb.bash including vendor/aocp/vendorsetup.sh build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i927/aocp.mk]]: "device/*/i927/aocp.mk" does not exist. Stop. Device i927 not found. Attempting to retrieve device repository from TheCollective Github (http://github.com/TheCollective). Repository for i927 not found in TheCollective Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml. build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i927/aocp.mk]]: "device/*/i927/aocp.mk" does not exist. Stop. ** Don't have a product spec for: 'aocp_i927' ** Do you have the right repo manifest? No such item in brunch menu. Try 'breakfast' [email protected]:~/AoCP$
There isnt an aocp.mk in the device tree. You have ro make one Sent from my SGH-I927 using xda premium
source for s8600 released
i dont know if anyone has noticed or if its even relevant but i just noticed that samsung has a link to wave s8600 source at http://opensource.samsung.com/
1. You know what Source Code is? http://en.wikipedia.org/wiki/Source_code human-readable computer language Click to expand... Click to collapse Now check this file: GT-S8600_OpenSource.zip 130 KB 2. Use any kind of Editor... Text Editor is enough and look into dtrace.c: Code: * [B]DTrace[/B] - Dynamic Tracing for [B]Solaris[/B] * * This is the implementation of the Solaris Dynamic Tracing framework * (DTrace). The user-visible interface to DTrace is described at length in * the "Solaris Dynamic Tracing Guide". The interfaces between the libdtrace * library, the in-kernel DTrace framework, and the DTrace providers are * described in the block comments in the <sys/dtrace.h> header file. The * internal architecture of DTrace is described in the block comments in the * <sys/dtrace_impl.h> header file. The comments contained within the DTrace * implementation very much assume mastery of all of these sources; if one has * an unanswered question about the implementation, one should consult them * first. * * The functions here are ordered roughly as follows: * * - Probe context functions * - Probe hashing functions * - Non-probe context utility functions * - Matching functions * - Provider-to-Framework API functions * - Probe management functions * - DIF object functions * - Format functions * - Predicate functions * - ECB functions * - Buffer functions * - Enabling functions * - DOF functions * - Anonymous enabling functions * - Consumer state functions * - Helper functions * - Hook functions * - Driver cookbook functions * * Each group of functions begins with a block comment labelled the "DTrace * [Group] Functions", allowing one to find each block by searching forward * on capital-f functions. Now Google dtrace or: http://en.wikipedia.org/wiki/Dtrace 3. I have this file since september... This file is NOT new... 4. Combine info from 1 and 2... Btw.: Check out this: GT-S5250_OpenSource.zip CAUTION! 5 KB. Best Regards
oops! i have no idea. i just know samsung releases its files on opensource.samsung.com and while i was browsing i came across it. did not download as my internet is very slow and thought file would be large. can any mod please delete thread?
Its not your fault... Few Blogs posted this "news" without unpack this file... Best Regards
Here examples for Source Code of bada... not downloadable... http://forum.xda-developers.com/showthread.php?t=1325713 Best Regards
Thread Closed per op request
[Custom Kernel][For Micromax A56 & A57]
custom kernel for Micromax A56 & A57 Code: #include /* * I am not responsible for bricked devices, dead SD cards, thermonuclear * war, or the current economic crisis caused by you following these * directions. YOU are choosing to make these modificiations, and * if you point your finger at me for messing up your device, I will * laugh at you. */ This custom kernel is packed with following features:-+ Compiled with Android NDK toolchains + Based on 2.6.38.6-perf + Overclocked to 1.26Ghz + Current Governors are -> smartass v2 -> Lionheart -> ondemandx -> interactivex -> badass -> lazy -> lulzactive -> intellidemand -> Savagedzen -> lagfree -> scary -> interactive -> conservative -> ondemand -> userspace -> powersave -> performance +Current IOs are -> noop -> deadline -> cfq -> vr -> sio + init.d support + swap support + enabled turbo mode for CPU + enabled Adaptive Voltage Scaling (AVS) + Some battery optimizations + Kernel compression was changed to LZMA & size of zImage is 2.5mb ... + And some minor modifications ================================================================================================ Bugs:- For Micromax A56 -- Not found till now For Micromax A57 -- A57 users may experience sensor issue , (working on this to fix it) ================================================================================================ Credits:- rex_xxx - > for sharing kernel source codes Varun Chitre -> For being our google! Dhinesh Kumar -> Complete project execution! Adhithya -> for made this possible And Teamninja ================================================================================================ Downloads:- Get it Now Source ================================================================================================ Incase not booted upload dmesg and logcat to fix it HOW-TO Probably in not booted case the phone will stuck on superphone logo For dmesg : (adb shell dmesg > dmesg) For Logcat : (adb logcat > logcat) Get the dmesg file from the folder where you opened cmd; and upload here ================================================================================================ How to flash this: 0. Do Nandroid backup before proceeding 1.put it on sdcard 2. Go to custom recovery and choose install zip from sdcard & install it 3.reboot & enjoy ================================================================================================
Issue compiling PacRom 6.0 for H811
I have the issue that the script is trying to build a twrp but yet is not working. I would appreciate help to resolve this issue. ================================================================================ Checking build tools versions... bootable/recovery/gui/Android.mk:127: **************************************************************************** bootable/recovery/gui/Android.mk:128: * TW_THEME is not valid: '' bootable/recovery/gui/Android.mk:129: * Please choose an appropriate TW_THEME or create a new one for your device. bootable/recovery/gui/Android.mk:130: * Available themes: bootable/recovery/gui/Android.mk:131: * portrait_hdpi landscape_hdpi portrait_mdpi watch_mdpi landscape_mdpi bootable/recovery/gui/Android.mk:132: **************************************************************************** bootable/recovery/gui/Android.mk:133: *** stopping. Stop. #### make failed to build some targets (5 seconds) ####
Bumped it because I'm getting the same error too for my LG Volt
Trying to build CM13.0 from source "manifest.xml" error
I'm trying to build Cyanogenmod 13 from source following their official guide, however when I reach the stage for setting up repo I receive this error/output: Code: [email protected]:~/android# repo init -u https://github.com/CyanogenMod/android_device_oneplus_oneplus3.git -b cm-13.0 remote: Counting objects: 2406, done. remote: Compressing objects: 100% (7/7), done. remote: Total 2406 (delta 24), reused 24 (delta 24), pack-reused 2375 Receiving objects: 100% (2406/2406), 3.09 MiB | 1.19 MiB/s, done. Resolving deltas: 100% (914/914), done. From https://github.com/CyanogenMod/android_device_oneplus_oneplus3 * [new branch] cm-13.0 -> origin/cm-13.0 * [new branch] cm-14.0 -> origin/cm-14.0 * [new branch] stable/cm-13.0-ZNH5Y -> origin/stable/cm-13.0-ZNH5Y fatal: manifest 'default.xml' not available fatal: manifest default.xml not found Am I doing something wrong or can anyone please help me out? Thanks!