[Google Pixel Questions & Answers] lf314611086:
I got a pixel recently, I want to flash kernel, but I met some problems

pc os : ubuntu 14.04

pixel android version: NDE63H

pixel kernel version: 3.18.31-g19caf23

1. I have unlocked the bootloader

2. make defconfig

cause pixel and pixel XL use the marlin_defconfig, so

$ make marlin_defconfig

$ make

$ cp arch/arm64/boot/Image.gz /device/google/marlin-kernel

$ source build/envsetup.sh

$ lunch (choose the sailfish)

3. FLash bootimage into the phone

but the phone reboot about 3 times and enter in the recovery

Question:

1. do I miss something or do someting wrong? why can't boot the system

2. Is there some relation bewteen android version and kernel version?

-------------------------------------------------

I also met a compile error , here is the error log, bad CRC ???

[ 0% 7/35152] Docs droiddoc: out/target/common/docs/api-stubs
DroidDoc took 9 sec. to write docs to out/target/common/docs/api-stubs
[ 0% 10/35152] Docs droiddoc: out/target/common/docs/system-api-stubs
DroidDoc took 10 sec. to write docs to out/target/common/docs/system-api-stubs
[ 0% 13/35152] Docs droiddoc: out/target/common/docs/test-api-stubs
DroidDoc took 7 sec. to write docs to out/target/common/docs/test-api-stubs
[ 0% 51/35152] Ensure Jack server is installed and started
Jack server already installed in "/home/local/xxx/.jack-server"
Server is already running
[ 0% 59/35136] target R.java/Manifest.java: Bluetooth (out/target/common/obj/APPS/Bluetooth_intermediates/src/R.stamp)
warning: string 'map_acceptance_timeout_message' has no default translation.
warning: string 'map_auth_notif_message' has no default translation.
warning: string 'map_auth_notif_ticker' has no default translation.
warning: string 'map_auth_notif_title' has no default translation.
warning: string 'map_authentication_timeout_message' has no default translation.
warning: string 'map_defaultname' has no default translation.
warning: string 'map_defaultnumber' has no default translation.
warning: string 'map_localPhoneName' has no default translation.
warning: string 'map_session_key_dialog_header' has no default translation.
warning: string 'map_session_key_dialog_title' has no default translation.
warning: string 'map_unknownName' has no default translation.
[ 0% 60/35136] Compiling SDK Stubs: out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 64/35136] build out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/13/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res -iname \"*.class\" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack [MENTION=252872]build[/MENTION]/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/13/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res )"
out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack.tmpjill.res/res/drawable-large-nodpi/default_wallpaper.jpg bad CRC a27dfad3 (should be 8f07f03c)
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (05:51 (mm:ss)) ####

thx a lot