How can I add a separator to AndroidProducts.mk - General Topics

So I have been getting this error:
device/samsung/grandneove3g/AndroidProducts.mk:23: error: missing separator
22:09:02 dumpvars failed with: exit status 1
What can I do and what are separators. I don't understand programming

Related

Building Paranoid AOSPA 3+ on xUbuntu 13.04 Raring Ringtail UPDATED FOR PA 3.95!

UPDATE [2013.08.10]: IN ORDER TO BUILD PARANOID 3.95+ [ANDROID 4.3] SUBSTITUTE THE FOLLOWING IN REPO INIT COMMAND: jb43-legacy so that it replaces the jellybean-legacy on the very end. IF YOU HAVE A REPO ALREADY I AM SORRY TO SAY YOU WILL NEED TO ESSENTIALLY HOSE THE WHOLE THING [DELETE IT] AND RUN REPO INIT FROM SCRATCH, BUT YOU ARE ALREADY ALL SET NO OTHER CHANGES NEED BE MADE JUST DELETE IT ALL [DONT FORGET .repo] AND START AGAIN FROM FIRST REPO INIT ON...
Repo Init Line for building Paranoid 3.95 [Android 4.3]
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jb43-legacy
YOU WILL NEED TO USE NEWER GAPPS AND PARANOID PREFS [FROM OFFICIAL 3.95]:
PA PREFS - OFFICIAL PARANOID 3.95 [Yes it's on Google Docs, but from official channels I promise]
4.3 GAPPS [takes you to goo.im repo and just be sure to choose 4.3 version]
Folks,
I took the time to delve in to ROM source compilation and after months of researching multiple guides and installing everything from the ground up countless times I can now bring you a Nexus 7 specific guide updated for xUbuntu [or any Debian really] 13.04. My guides Java steps have it fully integrate in to the OS now so it DOES NOT MATTER IF YOU HAVE MULTIPLE AND DIFFERENT VERSIONS OF JAVA INSTALLED IT WON'T HURT A THING !
So here goes, and I will be editing and all as I go:
I would just like to share results from my recent testing with xUbuntu Raring 13.04 [with pre-release updates included]...
Just ran sync and build from scratch for a Grouper early this morning!
I use an Intel i5 8G RAM and xUbuntu 13.04 Raring Ringtail 64-bit [host OS not VM this time, but host or guest in a VM, either way is the same guide ]
Compile Time: ~ 60 - 70 min as host OS or ~120-130 Min if I set this up as VM [same Machine with Windows as host].
I know some of the information I list toward the end may be a little long for "power users" and may be a little out of sync [not exactly in line with file examples, but I believe with only a tiny bit of effort to note how to adjust for your own directories and locations you are good to go [which is rather easy if you take your time and be patient with it]. I will continue to update and streamline this as best as I can moving forward. PLEASE if you have CONSTRUCTIVE input drop me a PM or reply with your thoughts and experiences and I will incorporate what is needed.
I had to use this and other guides to basically put together a working build environment.
Here are the deps I used, I had to remove the last entry for the webgtk from the OPs listing] and had to add the 4 on the end relating to gcc++ and included deps as instructed via apt-get when I tried installing others adding one missing package it asked for each time so it's as small as I can make it at this time roughly an 880M download if I remember correctly [sorry fast fast internet here so download sizes don't bother me, but I did take it in to consideration for this guide].
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool gcc-multilib g++-4.7-multilib gcc-4.7-multilib
That should be good for a copy/paste if not add / to the begining of each line [not including the first with sudo skip that] and let me know I can update. Nevermind it remains one long line just copy then hold shift and ctrl and tap v in terminal window to paste as-is.
Android-51 Rules file for allowing device access to user accounts:
First open said file. Keep in mind you can use any text editor such as leafpad, mousepad or even console based nano if you prefer just use sudo nano not gksudo and gksu works the same and is used for any graphical app to CORRECTLY obtain sudo [you can still use sudo at times but will end up breaking it in some instances so be aware of which to use where]:
$ gksudo gedit /etc/udev/rules.d/51-android.rules
For those used to previous Paranoid source guides will not some differences. This android file is grabbed from AOSP directions and allows granular control of which user is allowed to access which device which is a much more secure way to enable hardware divce access [if you share the system should a non Android versed person be allowed to run ADB commands and possibly damage your device? Just replace the <username> bit with the username who needs access and then copy/paste it down the list. This ios a LINUX requirement so see documentation on probing and adding USB access for a device to find out more on adding new devices not in this listing:
Code:
# Change <username> at end of each device line with the username who
# will access said device
# adb protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<username>"
# fastboot protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<username>"
# adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<username>"
# fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<username>"
# adb protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="<username>"
# fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0600", OWNER="<username>"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="<username>"
# fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="<username>"
# adb protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0600", OWNER="<username>"
# fastboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0600", OWNER="<username>"
# usbboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0600", OWNER="<username>"
# usbboot protocol on panda (PandaBoard ES)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0600", OWNER="<username>"
# adb protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0600", OWNER="<username>"
# fastboot protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0600", OWNER="<username>"
# adb protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0600", OWNER="<username>"
# fastboot protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0600", OWNER="<username>"
Now we need to set permissions on said file:
$ sudo chmod U+R /etc/udev/rules.d/51-android.rules
When I followed the ln -s bit after the dependency download list at top of most other guides I have found in last few run throughs starting from a complete scratch system that the link already existed. If you get the file already exists message continue on and count that as good to go.
After that here is for the Nexus 7 [Grouper] Local_Manifest.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ParanoidAndroid/android_device_asus_grouper" path="device/asus/grouper" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_asus" path="vendor/asus" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_broadcom" path="vendor/broadcom" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_elan" path="vendor/elan" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_invensense" path="vendor/invensense" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_nvidia" path="vendor/nvidia" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_nxp" path="vendor/nxp" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_widevine" path="vendor/widevine" remote="github" revision="cm-10.1" />
</manifest>
Now comes the AWESOME part of my post HOW TO INSTALL JAVA 6 ALONGSIDE ANY AND ALL EXISTING JAVAs ON YOUR UBUNTU [prolly any Debian]!
No Longer do you need to ensure you have only Oracle Java 6 JDK installed and nothing else, but you can have any and as many java versions as you want with this guide! So skip the part in any guide about sudo apt-get purge blah it won't hurt you to have Open JDK or Iced Tea or GCJ just use the reconfigure --java as listed below before running rom-build to ensure it is the Oracle JDK selected.
----------------------------------------------------------------
Here we go obviously adapt the .bashrc and .profile as I have here note you can use any directory structure you desire really.
I will list how to download the 32-bit AND 64-bit versions. Read past the first section of downloading 32-bit to get to the 64-bit relatede link]
[using code tags to hopefully save some room on post let me know if I need to format it up instead]
Code:
Manual method
oracle java 6 jre 32-bit
$ wget http://download.oracle.com/otn-pub/java/jdk/6u34-b04/jre-6u34-linux-i586.bin
$ chmod u+x jre-6u34-linux-i586.bin
$ ./jre-6u34-linux-i586.bin
$ sudo mkdir -p /usr/lib/jvm
$ sudo mv jre1.6.0_34 /usr/lib/jvm/
$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0_34/bin/java" 1
$ sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jre1.6.0_34/lib/i386/libnpjp2.so" 1
$ sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jre1.6.0_34/bin/javaws" 1
or
oracle java 6 jdk 64-bit
$ wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
$ chmod u+x jdk-6u45-linux-x64.bin
$ ./jdk-6u45-linux-x64.bin
$ sudo mv jdk1.6.0_45 /opt
$ sudo update-alternatives --install "/usr/bin/java" "java" "/opt/jdk1.6.0_45/bin/java" 1
$ sudo update-alternatives --install "/usr/bin/javac" "javac" "/opt/jdk1.6.0_45/bin/javac" 1
$ sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/opt/jdk1.6.0_45/jre/lib/amd64/libnpjp2.so" 1
$ sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/jdk1.6.0_45/bin/javaws" 1
IMPORTANT*choose the java you installed as default
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config mozilla-javaplugin.so
$ sudo update-alternatives --config javaws
Optionally you can set a JAVA_HOME env variable:
export _JAVA_HOME=/opt/jdk1.6.0_45/
Choosing the default Java to use
If your system has more than one version of Java, configure which one your system uses by entering the following command in a terminal window
sudo update-alternatives --config java
This will present you with a selection
In Androids case the following line should be used [be sure it is the same number as listed yours may differ]:
*1 /opt/jdk1.6.0_45/bin/java 1 manual mode
After that I use the following .Bashrc lines at the end of the file:
Code:
# gedit ~/.bashrc
# or
# nano ~/.bashrc
# should suffice should gdit not work and you are unsure.
# ^ means the ctrl key when file opens in nano and you see
# quick access commands listed along the bottom of screen]
# so ctrl+o = ^o for saving file and ^x=ctrl+x for eXit.
## Changes to .bashrc won't take effect until you save
## close all terminal windows and open a new terminal window
### Begin copy (could copy all this box if you wish to maintain notes) ###
# Java PATHs
export JAVA_HOME=/opt/jdk1.6.0_45/
export PATH=$PATH:$JAVA_HOME/bin
# Android tools
# I have used a custom directory to move the SDK and my Bin to
# Use ~/bin in place of last entry ~/ just starts in your home dir so same goes
# if sdk is in /home/user/android-sdk/ use ~/android-sdk :) have fun
export PATH=${PATH}:/storage/android/sdk/tools
export PATH=${PATH}:/storage/android/sdk/platform-tools
export PATH=${PATH}:/storage/android/bin/
### End Copy I leave extra blank line at the end usually so hit enter after paste ###
Now I will do the .profile use the same gedit scheme as above but use .profile in place of .bashrc this time.
Again, I use a custom scheme base of /storage/android/paranoid-legacy note how : [colon] is used to separate new entries and the same ~/ rule applies here as well:
Code:
## Changes to .profile won't take effect until you save
## close all terminal windows and open a new terminal window
### BEGIN Copy (could copy all this box if you wish to maintain note) ###
PATH="/storage/android/sdk/tools:/storage/android/sdk/platform-tools:/storage/android/bin:$PATH"
### END Copy ###
Now follow the OP where it has you create the ~/bin [or wherever you want it do a sudo mkdir -p /storage/bin and then sudo chown <your linux username> -R /storage (this would create the bin in storage and -p means create /storage if it doesn't exist and then bin (normally in linux if /storage was not there it would not create the bin direcotry as you are asking it until storage is there first. -p does this for you) so just create it where you want. Just update the bin reference in .bashrc and in .profile as well. CHANGES to .profile AND .bashrc DONT TAKE EFFECT UNTIL YOU SAVE THEM AND THEN OPEN A BRAND NEW TERMINAL WINDOW]
Curl the repo python script to this directory you chose
Give it the right permissions [example]:
Code:
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
update .profile to include new bin [if not done above or you just now wish to change it since you copied the above edits]
update .bashrc as to also include new bin location [if not done above or you just now wish to change it since you copied the above edits]
close all terminal windows that are open
open new terminal window
type android hit enter
- you should see the Android SDK GUI start up in a min or 2 if everything is good
to ensure sdk paths are good and download the Android Tools and I suggest any versions of android that correspond to the Android version that you are compiling Paranoid for [I download 4.1.2 and 4.2.2 cause my phone is on 2.53 until I learn to fix that (a T-mobile Galaxy S2 Hercules if anyone can help get it running newest paranoid versions cause it can surely handle it)].
After Android SDK downloads complete
paste the following in to terminal window [ctrl+shift+v] and hit enter. BE SURE YOU ARE IN THE FOLDER YOU WISH TO DOWN PARANOID SOURCE TO BEFORE RUNNING.
If it stops saying the identity blah blah blah just follow on-screen instructions and run something to the effect of git-config --user.email "[email protected]" [I suggest GMail easier for git tasks if you wish to contribute
and the -user.name "your name"
Use the quotes and I may be slightly off but again if you read the screen it will ask you to run those 2 commands to establish your identity if it is needed.
After you do run the same command a second time to fully complete the repo init. find the .repo folder within your designated paranoid folder and add the Local_Manifest.xml
type repo sync and hit enter after repo init completes successfully and wait awhile for a rather large download of source code.
Restart System if you wish to be overly cautious and ensure everything takes
To Initialize the Repo [in any directory just run the repo init from the directory where you want ALL the source downloaded to BEFORE running repo init! DON'T SAY I DIDN'T WARN YOU]:
Code:
$ cd system [or whatever your directory is for housing source and running compiles from]
$ repo init -u git://github.com/ParanoidAndroid/manifest.git -b jellybean-legacy
Now you should be able to run repo syc and get a full sync for grouper!
Just do so before and you will have newest updates to Paranoid Source applied. Then ./rom-build grouper clean and it will not need to go through entering manufacturer and waiting again for those sources since you did the full Local_Manifest [FOR GROUPER OBVIOUSLY FIND YOUR OWN DEVICE TREES FOR OTHERS PLEASE I still need to get my S2 trees and getting the code for Paranoid and all so I am not a repository of local_manifest entries I am sorry in advance.
I just ran a successful compile against the fresh sync from this setup early this morning in 68 Min. I am using xUbuntu 13.04 64-bit on an Intel i5 with 8 Gigs of super top of the line DDR3 [still need more when I get to it LoL].
I hope this helps I know I love the java guide here as it allows you to still install other java setups that apps you install otherwise may want, but you just use the reconfigure --java as listed above after installing any new versions of Java [they may hijack the default setup on install] and you are good to go!
This has taken me MANY attempts and much reading and tinkering to get to this point, so please I hope it helps others as I could not have done it without the help of other guides as a base for their setups, so this is my giving back to the community for it's helping me THANK YOU one and all who provide free information too others in their free time I APPRECIATE IT SO MUCH, THANK YOU
Last note: there have been times I have been stopped from building not because my information or setup wa off, but due to the occasional error introduced in to the code base after repo syncs. I had to Google the one where it bailed on frameworks to find a manual edit around that. Since then [this setup I wrote this on] I had deleted everything did a fresh setup, repo sync and ./rom-build.sh grouper clean and it built in 68 min without me editing anything so for now it should be good.
KNOWN ISSUES AND FIXES
AS OF 2013.08.09 I didn't notice as I usually go through building vendor files from google blobs and scripts, but it looks like the vendor files and the props coming from the cm 10.2 branches is failing with the following:
Code:
fatal: Couldn't find remote ref refs/heads/cm-10.2
Unexpected end of command stream
fatal: Couldn't find remote ref refs/heads/cm-10.2
Unexpected end of command stream
Fetching projects: 99% (354/357) fatal: Couldn't find remote ref refs/heads/cm-10.2
Unexpected end of command stream
fatal: Couldn't find remote ref refs/heads/cm-10.2
Unexpected end of command stream
error: Cannot fetch TheMuppets/proprietary_vendor_elan
error: Cannot fetch TheMuppets/proprietary_vendor_nvidia
You could begin at the google props and manually download and place in vendor/asus and the other affected directories to manually fix this, just be sure to get the 4.3 related files.
Google Mirror for their device Prop files
UPDATE [2013.07.15]: I have been experiencing another build breaking issue much like the one below again now for past 2 days [been a bit since last compile don't knoiw EXACTLY when it started]. I am restarting my local repo from scratch and building again in a bit today and will report either hopefully a fix or some further information.[
Answer to yesterday's update [2013.07.15] Being posted on 2013.07.16:
I am not EXCTLY sure what the problem that I was having very recently. I did multiple syncs and saw a couple bbranches move from bllah/paranoid to github/paranoid-legacy as well as some insertion and deletes on a couple others. After the updates I tried multiple times to do a clean build with NO success. I ended up deleting my entire local repo and running the repo init command again on my directory and running a sync from a clean directory and after that completed I was able to build a Grouper device build yesterday evening.
SO, IF you have had a longstanding local repo you have been working with, and after running repo syncs successfull, AND you are SILL UNABLE to successfully build a zip, then... Do as I did; just completely DELETE [including the hidden .repo directory don't miss that [generally ctrl+h when a file manager is open eithier shows or hides hidden .directories]. Then just run the repo init command and then run:
Code:
repo init <BLAH [copy/paste repo init command here]>;repo sync;./rom-build.sh grouper clean
If you have had the repo before the git setup portion is done and it should be able to do the init, full sync, and run a build after clearing the intermediate files that are left over anywhere from pervious builds. This will prolly only happen if you had a previous repo running as woth a default setup you will need to do the git config to setup the user infos and then do asus after first run of ./rom-build grouper clean to download the device files before you can run a build.
Linux Proficiency Note
---
Semi-colon [;] applies as a linux trick it means to wait for the preceeding command to finish BEFORE running the next command in turn
As of today when I ran repo sync and it completed I ran a clean build with no fixes. I will leave what's here incase someone find out useful until space is needed 2013.06.17
If you get a string of errors toward the end of the compile that look similar to the code box below then try the following fixes [in yet another code box below the first ].
Issue as it appears
Code:
'/storage/android/paranoid-legacy/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex' as 'classes.dex'...
W/ResourceType(14218): Bad XML block: header size 2149 or total size 151825616 is larger than data size 0
packages/apps/Phone/res/layout/caller_in_conference.xml:36: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_split_holo_dark').
packages/apps/Phone/res/layout/caller_in_conference.xml:98: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_end_call_holo_dark').
packages/apps/Phone/res/layout/caller_in_conference.xml:98: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout/dialpad.xml:19: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/dialpad.xml:35: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_1_no_vm_wht').
packages/apps/Phone/res/layout/dialpad.xml:38: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_2_wht').
packages/apps/Phone/res/layout/dialpad.xml:41: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_3_wht').
packages/apps/Phone/res/layout/dialpad.xml:49: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_4_wht').
packages/apps/Phone/res/layout/dialpad.xml:52: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_5_wht').
packages/apps/Phone/res/layout/dialpad.xml:55: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_6_wht').
packages/apps/Phone/res/layout/dialpad.xml:63: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_7_wht').
packages/apps/Phone/res/layout/dialpad.xml:66: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_8_wht').
packages/apps/Phone/res/layout/dialpad.xml:69: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_9_wht').
packages/apps/Phone/res/layout/dialpad.xml:77: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_star_wht').
packages/apps/Phone/res/layout/dialpad.xml:80: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_0_no_plus_wht').
packages/apps/Phone/res/layout/dialpad.xml:83: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_pound_wht').
packages/apps/Phone/res/layout/emergency_dialer.xml:27: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/emergency_dialer.xml:48: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_delete').
packages/apps/Phone/res/layout/emergency_dialer.xml:70: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/emergency_dialer.xml:78: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_call').
packages/apps/Phone/res/layout/emergency_dialer.xml:78: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_call').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:47: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_delete').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:59: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:67: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_call').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:67: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_call').
packages/apps/Phone/res/layout/extra_button_row.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background_opaque').
packages/apps/Phone/res/layout/extra_button_row.xml:37: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_groups_holo_dark').
packages/apps/Phone/res/layout/extra_button_row.xml:60: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_screen.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/background_dial_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:72: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout/incall_touch_ui.xml:72: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout/incall_touch_ui.xml:83: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/incall_touch_ui.xml:109: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout/incall_touch_ui.xml:124: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout/incall_touch_ui.xml:135: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout/incall_touch_ui.xml:149: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout/incall_touch_ui.xml:155: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:169: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:178: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:189: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_block_contact_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:218: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:79: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:93: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:111: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:128: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:137: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:156: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:172: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:184: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:204: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:204: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:228: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:80: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:93: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:102: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:122: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:140: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:159: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:175: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:187: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:201: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:201: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:225: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout/otacall_card.xml:60: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/green_divider').
packages/apps/Phone/res/layout/otacall_card.xml:171: error: Error: No resource found that matches the given name (at 'drawableLeft' with value '@drawable/ic_btn_back').
packages/apps/Phone/res/layout/otacall_card.xml:184: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/ic_btn_next').
packages/apps/Phone/res/layout/pref_dialog_editphonenumber.xml:51: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_see_contacts_holo_dark').
packages/apps/Phone/res/layout/secondary_call_info.xml:37: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/clickable_dim_effect').
packages/apps/Phone/res/drawable/btn_call.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_disabled_holo_dark').
packages/apps/Phone/res/drawable/btn_call.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_disabled_holo_dark').
packages/apps/Phone/res/drawable/btn_call.xml:27: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_call_pressed').
packages/apps/Phone/res/drawable/btn_call.xml:28: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_call_pressed').
packages/apps/Phone/res/drawable/btn_call.xml:29: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:39: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:48: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_more_indicator_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:72: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_bluetooth_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:79: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_handset_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:85: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_speakerphone_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:91: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_off_speakerphone_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_background.xml:22: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_pressed_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_background.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_focused_and_checked').
packages/apps/Phone/res/drawable/btn_compound_background.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/drawable/btn_compound_background.xml:28: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_active_state_dialer_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_dialpad.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_dialpad.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dialpad_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_hold.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_hold.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_hold_pause_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_mute.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_mute.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_mute_holo_dark').
packages/apps/Phone/res/drawable/clickable_dim_effect.xml:20: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_pressed_holo_dark').
packages/apps/Phone/res/drawable/dialpad_background.xml:17: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_background_texture').
packages/apps/Phone/res/drawable/dialpad_background_opaque.xml:25: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_background_texture').
packages/apps/Phone/res/drawable/end_call_background.xml:21: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_disable').
packages/apps/Phone/res/drawable/end_call_background.xml:27: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_active').
packages/apps/Phone/res/drawable/end_call_background.xml:35: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_background_texture').
packages/apps/Phone/res/drawable/end_call_background.xml:41: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/ic_in_call_touch_handle.xml:20: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_in_call_touch_handle_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_answer_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_decline_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_text_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_normal').
packages/apps/Phone/res/drawable/list_selector_focused_and_checked.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_active_state_dialer_holo_dark').
packages/apps/Phone/res/drawable/list_selector_focused_and_checked.xml:19: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:21: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_sound_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:28: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_ab_dialer_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:31: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_ab_dialer_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:35: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_bluetooth_holo_dark').
make: *** [/storage/android/paranoid-legacy/out/target/product/grouper/obj/APPS/Phone_intermediates/package.apk] Error 1
make: *** Deleting file `/storage/android/paranoid-legacy/out/target/product/grouper/obj/APPS/Phone_intermediates/package.apk'
make: *** Waiting for unfinished jobs....
Total time elapsed: 63 minutes (3786.647661380 seconds)
The FIX [KEEP IN MIND THAT ANY REPO SYNC WILL CAUSE YOU TO HAVE TO RE-APPLY THE FIXES AFTER THE SYNC COMPLETES UNTIL THE REPO ITSELF IS FIXED:
Code:
cd packages/apps/Phone
git reset --hard 6033a2870
This will get reset by another repo sync.
Another heads up. There is a code change in frameworks/base that depends on halo sources.
You'll have to comment out line 1617 in packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
to avoid a problem.
Nice and detailed
Sent from my Nexus 7 using XDA Premium HD app
Thank you!!!
Makes it easier to bring more custom ROMs over to my beloved HP Touchpad.
Sent from my Nexus 7 using xda app-developers app
Nm
Sent from my Nexus 7 using Tapatalk 4 Beta
Thanks, and new issue may stop compile until code issue is resolved in the repo...
Well I am glad to see others finding this useful. Took me tons of time and trial and error to get the process nailed. I did hit a problem yesterday after a repo sync it appears there was another issue that breaks the building, It has nothing to do with the guide here it is an issue with the code [they have been working through some issues with bugs and what not breaking compiles recently].
I am going to check back on my post alerting them to the issues and try again today to do a sync and compile and will report back.
Fix for possible compile issue
If you get a string of errors toward the end of the compile that look similar to the code box below then try the following fixes [in yet another code box below the first ].
Issue as it appears
Code:
'/storage/android/paranoid-legacy/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex' as 'classes.dex'...
W/ResourceType(14218): Bad XML block: header size 2149 or total size 151825616 is larger than data size 0
packages/apps/Phone/res/layout/caller_in_conference.xml:36: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_split_holo_dark').
packages/apps/Phone/res/layout/caller_in_conference.xml:98: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_end_call_holo_dark').
packages/apps/Phone/res/layout/caller_in_conference.xml:98: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout/dialpad.xml:19: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/dialpad.xml:35: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_1_no_vm_wht').
packages/apps/Phone/res/layout/dialpad.xml:38: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_2_wht').
packages/apps/Phone/res/layout/dialpad.xml:41: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_3_wht').
packages/apps/Phone/res/layout/dialpad.xml:49: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_4_wht').
packages/apps/Phone/res/layout/dialpad.xml:52: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_5_wht').
packages/apps/Phone/res/layout/dialpad.xml:55: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_6_wht').
packages/apps/Phone/res/layout/dialpad.xml:63: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_7_wht').
packages/apps/Phone/res/layout/dialpad.xml:66: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_8_wht').
packages/apps/Phone/res/layout/dialpad.xml:69: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_9_wht').
packages/apps/Phone/res/layout/dialpad.xml:77: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_star_wht').
packages/apps/Phone/res/layout/dialpad.xml:80: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_0_no_plus_wht').
packages/apps/Phone/res/layout/dialpad.xml:83: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_num_pound_wht').
packages/apps/Phone/res/layout/emergency_dialer.xml:27: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/emergency_dialer.xml:48: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_delete').
packages/apps/Phone/res/layout/emergency_dialer.xml:70: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/emergency_dialer.xml:78: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_call').
packages/apps/Phone/res/layout/emergency_dialer.xml:78: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_call').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:47: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_delete').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:59: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:67: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_call').
packages/apps/Phone/res/layout-land/emergency_dialer.xml:67: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_action_call').
packages/apps/Phone/res/layout/extra_button_row.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background_opaque').
packages/apps/Phone/res/layout/extra_button_row.xml:37: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_groups_holo_dark').
packages/apps/Phone/res/layout/extra_button_row.xml:60: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_screen.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/background_dial_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:72: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout/incall_touch_ui.xml:72: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout/incall_touch_ui.xml:83: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout/incall_touch_ui.xml:109: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout/incall_touch_ui.xml:124: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout/incall_touch_ui.xml:135: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout/incall_touch_ui.xml:149: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout/incall_touch_ui.xml:155: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:169: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:178: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:189: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_block_contact_holo_dark').
packages/apps/Phone/res/layout/incall_touch_ui.xml:218: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:79: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:93: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:111: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:128: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:137: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:156: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:172: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:184: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:204: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:204: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout-land/incall_touch_ui.xml:228: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:80: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dialpad_background').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:93: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_hold').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:102: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_incall_switch_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:122: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_mute').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:140: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_audio').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:159: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_compound_dialpad').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:175: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_add_contact_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:187: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_merge_holo_dark').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:201: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dial_end_call').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:201: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/end_call_background').
packages/apps/Phone/res/layout-land/incall_touch_ui_cdma.xml:225: error: Error: No resource found that matches the given name (at 'handleDrawable' with value '@drawable/ic_in_call_touch_handle').
packages/apps/Phone/res/layout/otacall_card.xml:60: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/green_divider').
packages/apps/Phone/res/layout/otacall_card.xml:171: error: Error: No resource found that matches the given name (at 'drawableLeft' with value '@drawable/ic_btn_back').
packages/apps/Phone/res/layout/otacall_card.xml:184: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/ic_btn_next').
packages/apps/Phone/res/layout/pref_dialog_editphonenumber.xml:51: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_see_contacts_holo_dark').
packages/apps/Phone/res/layout/secondary_call_info.xml:37: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/clickable_dim_effect').
packages/apps/Phone/res/drawable/btn_call.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_disabled_holo_dark').
packages/apps/Phone/res/drawable/btn_call.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_disabled_holo_dark').
packages/apps/Phone/res/drawable/btn_call.xml:27: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_call_pressed').
packages/apps/Phone/res/drawable/btn_call.xml:28: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_call_pressed').
packages/apps/Phone/res/drawable/btn_call.xml:29: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:39: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:48: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_more_indicator_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:72: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_bluetooth_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:79: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_handset_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:85: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_speakerphone_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_audio.xml:91: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_sound_off_speakerphone_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_background.xml:22: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_pressed_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_background.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_selector_focused_and_checked').
packages/apps/Phone/res/drawable/btn_compound_background.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/drawable/btn_compound_background.xml:28: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_active_state_dialer_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_dialpad.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_dialpad.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_dialpad_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_hold.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_hold.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_hold_pause_holo_dark').
packages/apps/Phone/res/drawable/btn_compound_mute.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/btn_compound_mute.xml:26: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_mute_holo_dark').
packages/apps/Phone/res/drawable/clickable_dim_effect.xml:20: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_pressed_holo_dark').
packages/apps/Phone/res/drawable/dialpad_background.xml:17: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_background_texture').
packages/apps/Phone/res/drawable/dialpad_background_opaque.xml:25: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dial_background_texture').
packages/apps/Phone/res/drawable/end_call_background.xml:21: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_disable').
packages/apps/Phone/res/drawable/end_call_background.xml:27: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_active').
packages/apps/Phone/res/drawable/end_call_background.xml:35: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/endcall_background_texture').
packages/apps/Phone/res/drawable/end_call_background.xml:41: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/btn_compound_background').
packages/apps/Phone/res/drawable/ic_in_call_touch_handle.xml:20: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_in_call_touch_handle_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_answer_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_answer_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_answer_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_decline_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_decline_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_decline_normal').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_normal_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:21: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated_layer').
packages/apps/Phone/res/drawable/ic_lockscreen_text_activated_layer.xml:25: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_activated').
packages/apps/Phone/res/drawable/ic_lockscreen_text_normal_layer.xml:26: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_lockscreen_text_normal').
packages/apps/Phone/res/drawable/list_selector_focused_and_checked.xml:18: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/ic_active_state_dialer_holo_dark').
packages/apps/Phone/res/drawable/list_selector_focused_and_checked.xml:19: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/list_focused_holo').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:21: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_sound_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:28: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_ab_dialer_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:31: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_ab_dialer_holo_dark').
packages/apps/Phone/res/menu/incall_audio_mode_menu.xml:35: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_bluetooth_holo_dark').
make: *** [/storage/android/paranoid-legacy/out/target/product/grouper/obj/APPS/Phone_intermediates/package.apk] Error 1
make: *** Deleting file `/storage/android/paranoid-legacy/out/target/product/grouper/obj/APPS/Phone_intermediates/package.apk'
make: *** Waiting for unfinished jobs....
Total time elapsed: 63 minutes (3786.647661380 seconds)
The FIX [KEEP IN MIND THAT ANY REPO SYNC WILL CAUSE YOU TO HAVE TO RE-APPLY THE FIXES AFTER THE SYNC COMPLETES UNTIL THE REPO ITSELF IS FIXED:
Code:
cd packages/apps/Phone
git reset --hard 6033a2870
This will get reset by another repo sync.
Another heads up. There is a code change in frameworks/base that depends on halo sources.
You'll have to comment out line 1617 in packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
to avoid a problem.
I also asked when we will be allowed either A access to the Halo code to compile said functionailty in to the ROM OR if they will be releasing a flash zip that could be used to introduce Halo in to a baked ROM when the cook does not have access to their encrypted Repo [they hide the paranoid prefs code along with now the Halo code which is kinda now making it harder to build a fully working PA on your own. I hope they eventually allow access before we have people trying to reverse engineer it out and they get mad.
Guide updated, 2nd post now utilized for fixes and FAQ type materials
2nd post has now been turned in to an issues and fixes post for compilation as there is an issue you have to manually adjust for now after running repo sync to get things working [I just ran another sync and will be verifying it is still at issue but since it is at end of build will take at least 60 min just to get to that point].
I will also be using the 2nd post as a FAQ or other related helpful info.
Trying to make this a nice one stop shop for building PA3+ [and future versions] thread for good 'ol Grouper [Nexus 7 Wi-Fi only model]
Was able to run a clean build after repo sync today, so for now everything should be in working order without fixes!
New Build Breaking Issue [Solution is WIP] and welcome to the Open World HALO :)
UPDATE [2013.07.15]: I have been experiencing another build breaking issue much like the one listed in Post 2 already; again now for past 2 days [been a bit since last compile don't knoiw EXACTLY when it started]. I am restarting my local repo from scratch and building again in a bit today and will report either hopefully a fix or some further information. The last build I had was I believe a week ago that was successful.
Also, of note HALO has been open sourced and is available through the repos and now builds in to all builds [that it is compatible with [this INCLUDES Grouper [Nexus 7 Wi-Fi]]] YAY, Thank YOU, Paranoid Team!
SOLUTION to Yesterdays Issue Posting
Answer to yesterday's update [2013.07.15] Being posted on 2013.07.16:
I am not EXCTLY sure what the problem that I was having very recently. I did multiple syncs and saw a couple bbranches move from bllah/paranoid to github/paranoid-legacy as well as some insertion and deletes on a couple others. After the updates I tried multiple times to do a clean build with NO success. I ended up deleting my entire local repo and running the repo init command again on my directory and running a sync from a clean directory and after that completed I was able to build a Grouper device build yesterday evening.
SO, IF you have had a longstanding local repo you have been working with, and after running repo syncs successfull, AND you are SILL UNABLE to successfully build a zip, then... Do as I did; just completely DELETE [including the hidden .repo directory don't miss that [generally ctrl+h when a file manager is open eithier shows or hides hidden .directories]. Then just run the repo init command and then run repo sync:
Code:
repo init [copy/paste repo init command here]>;repo sync;./rom-build.sh grouper clean
Info has also been added to Post 2 for reference as well.
If you have had the repo before the git setup portion is done and it should be able to do the init, full sync, and run a build after clearing the intermediate files that are left over anywhere from pervious builds. This will prolly only happen if you had a previous repo running as woth a default setup you will need to do the git config to setup the user infos and then do asus after first run of ./rom-build grouper clean to download the device files before you can run a build.
Linux Proficiency Note
---
Semi-colon [;] applies as a linux trick it means to wait for the preceeding command to finish BEFORE running the next command in turn
UPDATE [2013.08.10]: IN ORDER TO BUILD PARANOID 3.95+ [ANDROID 4.3] SUBSTITUTE THE FOLLOWING IN REPO INIT COMMAND: jb43-legacy so that it replaces the jellybean-legacy on the very end. IF YOU HAVE A REPO ALREADY I AM SORRY TO SAY YOU WILL NEED TO ESSENTIALLY HOSE THE WHOLE THING [DELETE IT] AND RUN REPO INIT FROM SCRATCH, BUT YOU ARE ALREADY ALL SET NO OTHER CHANGES NEED BE MADE JUST DELETE IT ALL [DONT FORGET .repo] AND START AGAIN FROM FIRST REPO INIT ON...
Repo Init Line for building Paranoid 3.95 [Android 4.3]
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jb43-legacy
YOU WILL NEED TO USE NEWER GAPPS AND PARANOID PREFS [FROM OFFICIAL 3.95]:
PA PREFS - OFFICIAL PARANOID 3.95 [Yes it's on Google Docs, but from official channels I promise]
4.3 GAPPS [takes you to goo.im repo and just be sure to choose 4.3 version]
I'm getting this error:
Code:
PAVERSION: pa_grouper-3.96-20130811
Copying overlay preferences for pa_tvdpi...
Traceback (most recent call last):
File "/home/kevin/pa_n7/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/kevin/pa_n7/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/kevin/pa_n7/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/kevin/pa_n7/.repo/repo/subcmds/manifest.py", line 80, in Execute
self._Output(opt)
File "/home/kevin/pa_n7/.repo/repo/subcmds/manifest.py", line 70, in _Output
peg_rev_upstream = opt.peg_rev_upstream)
File "/home/kevin/pa_n7/.repo/repo/manifest_xml.py", line 268, in Save
output_projects(None, root, sort_projects)
File "/home/kevin/pa_n7/.repo/repo/manifest_xml.py", line 203, in output_proje
output_project(parent, parent_node, self.projects[p])
File "/home/kevin/pa_n7/.repo/repo/manifest_xml.py", line 226, in output_proje
value = p.work_git.rev_parse(HEAD + '^0')
File "/home/kevin/pa_n7/.repo/repo/project.py", line 2197, in runner
capture_stderr = True)
File "/home/kevin/pa_n7/.repo/repo/git_command.py", line 222, in __init__
raise GitError('%s: %s' % (command[1], e))
error.GitError: rev-parse: [Errno 2] No such file or directory: '/home/kevin/pa_
(END)
RealPariah said:
UPDATE [2013.08.10]: IN ORDER TO BUILD PARANOID 3.95+ [ANDROID 4.3] SUBSTITUTE THE FOLLOWING IN REPO INIT COMMAND: jb43-legacy so that it replaces the jellybean-legacy on the very end. IF YOU HAVE A REPO ALREADY I AM SORRY TO SAY YOU WILL NEED TO ESSENTIALLY HOSE THE WHOLE THING [DELETE IT] AND RUN REPO INIT FROM SCRATCH, BUT YOU ARE ALREADY ALL SET NO OTHER CHANGES NEED BE MADE JUST DELETE IT ALL [DONT FORGET .repo] AND START AGAIN FROM FIRST REPO INIT ON...
Repo Init Line for building Paranoid 3.95 [Android 4.3]
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jb43-legacy
YOU WILL NEED TO USE NEWER GAPPS AND PARANOID PREFS [FROM OFFICIAL 3.95]:
PA PREFS - OFFICIAL PARANOID 3.95 [Yes it's on Google Docs, but from official channels I promise]
4.3 GAPPS [takes you to goo.im repo and just be sure to choose 4.3 version]
Click to expand...
Click to collapse
How did your 3.95 run? I'm having problems with mine. I was able to build 3.94 with no problems, but every 3.95 build I have made will boot, but I get a number of such and such process has stopped messages. I can not figure out what it can be. I have started from Scratch a couple of times already.
Edit: nevermind, I was able to get 3.96 to build. I ended up using just jb43, no legacy. I also was just terminating the terminal when it said end, but this time I pressed q and it built the package correctly, I had been using the ota package, which actually did work fine on the 3.94 I built. Anyways, wish I had seen this guide when I was first trying to get this going, I read like three others to piece together what I needed to do.
Sent from my Nexus 7 using xda premium
bluecarbon said:
How did your 3.95 run? I'm having problems with mine. I was able to build 3.94 with no problems, but every 3.95 build I have made will boot, but I get a number of such and such process has stopped messages. I can not figure out what it can be. I have started from Scratch a couple of times already.
Edit: nevermind, I was able to get 3.96 to build. I ended up using just jb43, no legacy. I also was just terminating the terminal when it said end, but this time I pressed q and it built the package correctly, I had been using the ota package, which actually did work fine on the 3.94 I built. Anyways, wish I had seen this guide when I was first trying to get this going, I read like three others to piece together what I needed to do.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Sounds like you may need to clear your cache and dalvick caches and format your data partition and system and then flash the ROM then GApps.
If worried maybe a build environment issue:
Well what do the messages state [one or two should suffice]? When restarting repo did you make sure to get rid of all the cached data [if have ccache somewhere may want to remove that if not setup then skip] Also, are you using a ./rom-build.sh grouper clean to remove any old build files? I am having phone issues at the moment that have stolen my focus. I shall be more available shortly.
RealPariah said:
Sounds like you may need to clear your cache and dalvick caches and format your data partition and system and then flash the ROM then GApps.
If worried maybe a build environment issue:
Well what do the messages state [one or two should suffice]? When restarting repo did you make sure to get rid of all the cached data [if have ccache somewhere may want to remove that if not setup then skip] Also, are you using a ./rom-build.sh grouper clean to remove any old build files? I am having phone issues at the moment that have stolen my focus. I shall be more available shortly.
Click to expand...
Click to collapse
Thanks, but I figured it out some time ago. I wasn't familiar with the script and I was closing the terminal instead of pressing Q, so it wasn't creating the propped.zip, instead I was flashing the ota, which didn't work. Other than some weird java stuff happening when I updated to 3.99, which I worked through, all my builds have been smooth. Thanks for the .ccache tip, I hadn't thought about clearing it.
Sent from my Nexus 7 using XDA Premium 4 mobile app
big. thank you :good:

[Guide][Compile][Patching]A Kernel From Source For Newbies[Any Device]

Hey Guys,
With All the awesome development going on in the Android world. There Are Many newbies who want to strat development but they exactly Dont Know How To begin with or from where to strat with. So I will Write a guide on how to compile your own kernel from source
=================
What Is A Kernel???
=================
The operating system of a device is the part of the device responsible for basic use and administration. This includes the kernel and device drivers, boot loader, command shell or other user interface, and basic file and system utilities. Whereas the user interface is the outermost portition of the operating system, kernel is the innermost. It is the core internals, the software that provides basic services for all other parts of the system, manages hardware and distributes system resources.
============================
Prerequisites To Compile A kernel
============================
1.A Unix Based Os(Ubuntu Recommended Both 32-bit and 64-bit are good to compile a kernel)
2.A few packages, to let the system know that we are compiling a kernel
3. The Source Code of kernel for your Device
Ok, So Now Lets Begin
==================
Packages Required:
==================
Ok So Now Open The Terminal And Copy Paste This Code:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 git
Okay SO Now If You Are using Ubuntu12.04 , you need to create links of certain files
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Okay now we are done with installing packages
SO Now we need java
Open a terminal and Run This Code:
sudo add-apt-repository ppa:ferramroberto/java
Click to expand...
Click to collapse
Then Run This:
sudo apt-get update
Click to expand...
Click to collapse
Then Type This:
sudo apt-get-install sun-java6-jdk
Click to expand...
Click to collapse
So Now You Have all the needed packages to compile a kernel
Next you need the bootimagetools,source code of kernel and Androidtoolchainsto compile a kernel
Bootimagetools:https://github.com/SaumitraYadav/Boot-Image-tools
AndroidToolchains:https://github.com/SaumitraYadav/Android_Toolchains
Okay once you have Downloaded everything ... now Lets Start Compiling A Kernel
Ok So Fireup A Terminal :
Code:
mkdir kernel
This Will Create a Directory named kernel in your Home Folder
Now extract your kernel Source in this directory
Then Run This:
Code:
cd kernel
Now You Have To Edit the Make File:
Code:
gedit Makefile
The Make file will open.........look out for this and change CROSS_COMPILE= "your toolchain path"
EXAMPLE:
Code:
CROSS_COMPILE?= /home/saumitra/Downloads/Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
this will open up Makefile in gedit, now set the path where youn have downloaded and extracted the toolchains
Now, make the kernel config
Code:
make pico_defconfig
Note: I have a Htc Explorer and my device codename is pico. So i run pico_defconfig
Now Other device users have to look for codename or config names in arch/arm/configs
This Will Make a working kernel config according to the source
Now, if You Wanna Make Some Changes In Your Source Do so , and run this command to start compiling:
Code:
make -jX
The X can be replaced by the maximum number of jobs your computer can handle simultaneously.. The higher this number, the faster the compiling will get.. But do not enter a number too high, your computer may explode due to overheating.
Okay if all goes well your kernel will be compiled in 15mins
The resulting kernel will be in Kernel/arch/arm/boot/zImage
Now We also need modules for wifi and BT to work. So,
cd kernel
Click to expand...
Click to collapse
mkdir modules
Click to expand...
Click to collapse
find . -name '*ko' -exec cp '{}' modules \;
Click to expand...
Click to collapse
Okay So Now The Moules will be in kernel/modules
So Now We will pack the kernel to be flashed on the target Device
-Okay So Now Get A Working Boot.img Of THe Rom on which Wanna Test Your Kernel
-Download and extract The Bootimagetools From The Link Given Above
-place the boot.img in source_img folder inside the boot.img-tools
-enter the bootimagetools Directory
-unpack(This Will extract the boot.img)
$ mkdir -p unpack
$ tools/unpackbootimg -i source_img/boot.img -o unpack
Click to expand...
Click to collapse
-Extracting boot.img-ramdisk.gz(This Will Extract The ramdisk From the boot.img)
$ mkdir -p boot
$ cd boot
$ gzip -dc ../unpack/boot.img-ramdisk.gz | cpio -i
$ cd ../
Click to expand...
Click to collapse
-Packing a new ramdisk(This Will Pack A new ramdisk which will be used in your kernel)
$ tools/mkbootfs boot | gzip > unpack/boot.img-ramdisk-new.gz
Click to expand...
Click to collapse
Now As we want to create a boot.img from the zImage you made so copy the zImage from arch/arm/boot
Then goto the folder unpack in bootimagetools directory and delete boot.img-zImage
now paste the zImage You copied from arch/arm/boot and paste it in unpack folder and rename it to boot.img-zImage
-Create a new boot.img:
$ mkdir -p target_img
$ tools/mkbootimg --kernel unpack/boot.img-zImage --ramdisk unpack/boot.img-ramdisk-new.gz -o target_img/boot.img --base `cat unpack/boot.img-base`
Click to expand...
Click to collapse
Done
Now Take The boot.img for target_img folder and flash it via fastboot and dont forget to push modules else wifi will not work
=============================
Patching The kernel[The Easy Way]
=============================
This will Show You How to Patch your kernel to the latest version.
All The Patches are Available on kernel.org.
So If you apply the patches manually, then your source code will be messed up and you will face compiling errors+ it's time consuming to allow every patch as yes
So I am going to use a program called interdiff to
generate a patch representing the differences between two patches and then
apply the result.
Download:
Code:
http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz
SO Now Setting up the program to work :
1. Download the given file and extract it somewhere ,you swill get a folder named patchutils-0.3.3
2. First Install these Two Packages:
Code:
sudo apt-get install gcc
sudo apt-get install g++
3. Now cd to the folder patchutils-0.3.3
4. Now Type this in terminal
Code:
./configure
5.Now type this
Code:
make
6. Then this
Code:
sudo make install
Now You have setup the program 'interdiff' for applying the patches
To Apply The patches:
Code:
interdiff -z patch-xy patch-yx | patch -p1
Code:
patch-xy: The current kernel version ( for example= patch-3.0.97)
patch-yx: The version to be patched ( for example=patch-3.0.98)
Note: Both the patches should be in your kernel source directory
Credits:
@Red Devil (For Teaching me how to compile a kernel)
Awesome
Markyzz said:
Awesome
Click to expand...
Click to collapse
Thanks
Please Unquote The Post
Great Guide For Noobs Like Me
Speaking Frankly There is a guide by @legen_dary which is really good.
I Don't think this is actually needed.
Thank you.
Brother.. At least change it a little eh??
Or if you want, I can have the original guide thread handed over to you..
ғг๏๓ ҭђє ғเรђ!
Very very useful i'll take a closer look at it later tonight! :good:
Corrected the grammatical errors Happy compiling
Sent from my HTC Explorer using Tapatalk 4 Beta
Added Guide on How to Patch the Kernel Happy compiling
Saumitra Yadav said:
Added Guide on How to Patch the Kernel Happy compiling
Click to expand...
Click to collapse
i need a easy way for patching kernel ...thnxx man u helped a lot ..>!!:laugh:
How to solve this?
Code:
LD drivers/hid/built-in.o
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1408: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1408: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1409: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1409: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1410: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1410: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1415: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1415: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1416: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1416: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1417: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1417: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1418: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1418: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1419: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1419: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1423: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1423: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1424: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1424: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1425: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1425: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1426: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1426: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1427: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1427: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1431: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1431: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1432: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1432: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1433: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1433: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1434: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1434: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1435: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-tamsui-jlo.c:1435: error: (near initialization for 'ion_pdata.heaps')
make[3]: *** [arch/arm/mach-msm/board-tamsui-jlo.o] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
CC net/core/utils.o
CC drivers/hwmon/hwmon.o
CC fs/fat/fatent.o
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:862: error: 'KGSL_3D0_REG_MEMORY' undeclared here (not in a function)
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:868: error: 'KGSL_3D0_IRQ' undeclared here (not in a function)
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:875: error: variable 'kgsl_3d0_pdata' has initializer but incomplete type
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:876: error: unknown field 'pwrlevel' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:876: error: extra brace group at end of initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:876: error: (near initialization for 'kgsl_3d0_pdata')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:877: error: extra brace group at end of initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:877: error: (near initialization for 'kgsl_3d0_pdata')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:881: error: extra brace group at end of initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:881: error: (near initialization for 'kgsl_3d0_pdata')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:885: error: extra brace group at end of initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:885: error: (near initialization for 'kgsl_3d0_pdata')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:890: error: unknown field 'init_level' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:891: error: unknown field 'num_levels' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:892: error: unknown field 'set_grp_async' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:893: error: unknown field 'idle_timeout' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:894: error: unknown field 'strtstp_sleepwake' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:895: error: unknown field 'nap_allowed' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:896: error: unknown field 'clk_map' specified in initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c: In function 'msm7x25a_kgsl_3d0_init':
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:912: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:913: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:913: error: 'struct resource' has no member named 'gpu_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:914: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:914: error: 'struct resource' has no member named 'bus_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:915: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:915: error: 'struct resource' has no member named 'gpu_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:916: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:916: error: 'struct resource' has no member named 'bus_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c: In function 'msm8x25_kgsl_3d0_init':
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:923: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:924: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:928: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:928: error: 'struct resource' has no member named 'gpu_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:930: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:930: error: 'struct resource' has no member named 'gpu_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:932: error: invalid use of undefined type 'struct kgsl_device_platform_data'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:932: error: 'struct resource' has no member named 'bus_freq'
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c: At top level:
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:1581: error: initializer element is not constant
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:1581: error: (near initialization for 'msm8625_kgsl_3d0_resources[0].name')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:1587: error: initializer element is not constant
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/devices-tamsui-jlo.c:1587: error: (near initialization for 'msm8625_kgsl_3d0_resources[1].name')
make[3]: *** [arch/arm/mach-msm/devices-tamsui-jlo.o] Błąd 1
CC fs/fat/file.o
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:664: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:664: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:665: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:665: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:666: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:666: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:671: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:671: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:672: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:672: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:673: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:673: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:674: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:674: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:675: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:675: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:679: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:679: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:680: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:680: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:681: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:681: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:682: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:682: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:683: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:683: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:687: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:687: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:688: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:688: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:689: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:689: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:690: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:690: error: (near initialization for 'ion_pdata.heaps')
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:691: error: field name not in record or union initializer
/home/lozohcum/CM/kernel/sony/msm7x27a-3.4/arch/arm/mach-msm/board-qrd7627a.c:691: error: (near initialization for 'ion_pdata.heaps')
make[3]: *** [arch/arm/mach-msm/board-qrd7627a.o] Błąd 1
make[2]: *** [arch/arm/mach-msm] Błąd 2
make[2]: *** Oczekiwanie na niezakończone zadania....
do I have to add -w to more flags?
This is part of my makefile
Code:
CFLAGS_MODULE = -w
AFLAGS_MODULE = -w
LDFLAGS_MODULE =
CFLAGS_KERNEL = -w
AFLAGS_KERNEL = -w
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
hey bro @Saumitra Yadav , can you help me to fix this? thx
{
"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"
}
ocoot said:
hey bro @Saumitra Yadav , can you help me to fix this? thx
Click to expand...
Click to collapse
Some Package Is Missing Please Give me A pastie of full error
Saumitra Yadav said:
Some Package Is Missing Please Give me A pastie of full error
Click to expand...
Click to collapse
now it's fixed. just install lzop from terminal
mmm can you make a tutorial how to add gov,i/o or freq? coz i added some gov on my kernel when i flash it, it not showing on no frillis, but on command "make menuconfig" its showing the gov i am added before -_-
@Saumitra Yadav can you help me with this?
stuck because of this from 2 days.
Xperia mini | Stock GB kernel Source | ndk 9b
Code:
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
arch/arm/boot/compressed/head.S: Assembler messages:
arch/arm/boot/compressed/head.S:363: Warning: (null)
arch/arm/boot/compressed/head.S:444: Warning: (null)
arch/arm/boot/compressed/head.S:465: Warning: (null)
arch/arm/boot/compressed/head.S:484: Warning: (null)
arch/arm/boot/compressed/head.S:492: Warning: (null)
arch/arm/boot/compressed/head.S:783: Warning: (null)
arch/arm/boot/compressed/head.S:822: Warning: (null)
arch/arm/boot/compressed/head.S:823: Warning: (null)
arch/arm/boot/compressed/head.S:870: Warning: (null)
arch/arm/boot/compressed/head.S:877: Warning: (null)
arch/arm/boot/compressed/head.S:885: Warning: (null)
arch/arm/boot/compressed/head.S:896: Warning: (null)
arch/arm/boot/compressed/head.S:910: Warning: (null)
arch/arm/boot/compressed/head.S:942: Warning: (null)
arch/arm/boot/compressed/head.S:944: Warning: (null)
arch/arm/boot/compressed/head.S:945: Warning: (null)
arch/arm/boot/compressed/head.S:952: Warning: (null)
arch/arm/boot/compressed/head.S:984: Warning: (null)
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
arm-linux-androideabi-ld: error: arch/arm/boot/compressed/piggy.o: unknown CPU architecture
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
[email protected]:~/android/kernel/4.0.2.A.0.84/kernel$
piousheart said:
@Saumitra Yadav can you help me with this?
stuck because of this from 2 days.
Xperia mini | Stock GB kernel Source | ndk 9b
Code:
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
arch/arm/boot/compressed/head.S: Assembler messages:
arch/arm/boot/compressed/head.S:363: Warning: (null)
arch/arm/boot/compressed/head.S:444: Warning: (null)
arch/arm/boot/compressed/head.S:465: Warning: (null)
arch/arm/boot/compressed/head.S:484: Warning: (null)
arch/arm/boot/compressed/head.S:492: Warning: (null)
arch/arm/boot/compressed/head.S:783: Warning: (null)
arch/arm/boot/compressed/head.S:822: Warning: (null)
arch/arm/boot/compressed/head.S:823: Warning: (null)
arch/arm/boot/compressed/head.S:870: Warning: (null)
arch/arm/boot/compressed/head.S:877: Warning: (null)
arch/arm/boot/compressed/head.S:885: Warning: (null)
arch/arm/boot/compressed/head.S:896: Warning: (null)
arch/arm/boot/compressed/head.S:910: Warning: (null)
arch/arm/boot/compressed/head.S:942: Warning: (null)
arch/arm/boot/compressed/head.S:944: Warning: (null)
arch/arm/boot/compressed/head.S:945: Warning: (null)
arch/arm/boot/compressed/head.S:952: Warning: (null)
arch/arm/boot/compressed/head.S:984: Warning: (null)
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
arm-linux-androideabi-ld: error: arch/arm/boot/compressed/piggy.o: unknown CPU architecture
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
[email protected]:~/android/kernel/4.0.2.A.0.84/kernel$
Click to expand...
Click to collapse
Wrong Toolchain Try This Toolchain
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7
Saumitra Yadav said:
Wrong Toolchain Try This Toolchain
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7
Click to expand...
Click to collapse
I don't know how to use git.
where to download that toolchain
Any idea how much time would it take to download all the neccesary things except the packages used for setting up build envi?
Sent from my GT-I9100 using xda premium
Doesn't take me long to download in Ubuntu.
Samsung open source will probably take you longest
engloa said:
Doesn't take me long to download in Ubuntu.
Samsung open source will probably take you longest
Click to expand...
Click to collapse
Hey buddy..
Haha..nice to see u everywhere.
Thank u..
Sent from my GT-I9100 using xda premium

Android oreo comppiling error

HTML:
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[791/792] glob vendor/*/*/Android.bp
[47/47] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_c6903.ninja is missing, regenerating...
[9/1001] including ./cts/Android.mk ...
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
[151/1001] including ./device/sony/common/Android.mk ...
./device/sony/common/Android.mk:104: error: /Android.mk: No such file or directory
17:08:27 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (06:07 (mm:ss)) ####
i am trying to build aosp oreo for my Xperia z1 but getting this strange error.The error specifies android.mk file does not exist but when i checked it is there.i have no idea why this is happening as I am new to building rom.Any help is appreciated.
Thanx in advance.

Building issue for camera QCamera2

I'm getting this error. which I assume I am missing a few library/hal that is needed. Where can I find these files?
[971/971] including vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Androi
device/oneplus/oneplus2/camera/QCamera2/Android.mk: error: camera.msm8994 (SHARED_LIBRARIES android-arm) missing libqdMetaData (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/oneplus/oneplus2/camera/QCamera2/Android.mk: error: camera.msm8994 (SHARED_LIBRARIES android-arm) missing libqdutils (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:833: error: exiting from previous errors.
01:35:39 ckati failed with: exit status 1
#### failed to build some targets (03:06 (mm:ss)) ####

[GKI] [android13-5.10] [Bazel] build failed Differences between ksymtab and symbol list detected!

I following this instruction:https://source.android.com/docs/setup/build/building-kernels
I initialized repo and synced
Using Bazel to build (with build/build.sh same error)
Using this command:tools/bazel run --lto=none //common:kernel_aarch64_dist -- --dist_dir=out/android13-5.10/dist
And get this error:
ERROR: /home/aaron/Builds/android-kernel/common/BUILD.bazel:26:22: Checking for kmi_symbol_list_
strict_mode //common:kernel_aarch64 failed: (Exit 1): bash failed: error executing command (from
target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root f
or debugging
ERROR: Differences between ksymtab and symbol list detected!
Symbols missing from ksymtab:
- __cfi_slowpath
Symbols missing from symbol list:
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3572,647s, Critical Path: 3535,69s
INFO: 7 processes: 3 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Hello, I also encountered this problem, how did you solve it?

Categories

Resources