APKTool Updated with Android Lollipop Support

One of the beauties of Android is the level of flexibility we have over our devices. Whether … more

Lollipop Leak for Sprint Galaxy S5, TWRP for Micromax Canvas Magnus – XDA TV

Android 5.0 Lollipop has been leaked for the Sprint … more

Velocity is Like OpenTable on Steroids

We all enjoy a night out with friends or our significant other from time to time. However, there is … more

Android Lollipop Lands for the Sony Xperia Z Ultra

The undisputed king of the beasts–at least in Sony’s current stable,is the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] How to fix errors resulting from patching the kernel

OP sansari123

1st April 2014, 06:25 AM   |  #1  
OP Member
Thanks Meter: 2
 
51 posts
Join Date:Joined: Jan 2013
Greetings-
I am trying to build my first Kernel, and following this tutorial http://forum.xda-developers.com/showthread.php?t=1748297 , I am getting the following errors and some success:

Code:
root@ubuntu:~/android/kernel/samsung/CivZ-KatTurbine-SM-N9005-900T-master# patch -p1 < kernelPatch 
(Patch is indented 4 spaces.)
patching file drivers/cpufreq/cpufreq_interactivex.c
(Patch is indented 4 spaces.)
patching file drivers/cpufreq/cpufreq_lionheart.c
(Patch is indented 4 spaces.)
patching file drivers/cpufreq/cpufreq_ondemandx.c
(Patch is indented 4 spaces.)
patching file drivers/cpufreq/Kconfig
Hunk #1 succeeded at 94 with fuzz 2 (offset -5 lines).
Hunk #2 FAILED at 132.
Hunk #3 succeeded at 167 with fuzz 2 (offset -5 lines).
Hunk #4 FAILED at 244.
2 out of 4 hunks FAILED -- saving rejects to file drivers/cpufreq/Kconfig.rej
(Patch is indented 4 spaces.)
patching file drivers/cpufreq/Makefile
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file drivers/cpufreq/Makefile.rej
(Patch is indented 4 spaces.)
patching file include/linux/cpufreq.h
Hunk #1 FAILED at 363.
Hunk #2 FAILED at 372.
2 out of 2 hunks FAILED -- saving rejects to file include/linux/cpufreq.h.rej
As you can see I put the patch in the same directory which was result of my unpacking the source zip file from Samsung. Am I doing this wrong? Should the patch be 100% successful?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes