[Android] MEGAX91:
[MENTION=4167023]AndreiLux[/MENTION] [MENTION=4305965]halaszk88[/MENTION] [MENTION=1897326]googy_anas[/MENTION]

i'm trying to update kernel version to upstream latest version!

i download the patch-3.10.41-42.xz from :

https://www.kernel.org/pub/linux/kernel/v3.0/incr/

but when i try to apply the patch to my source , im facing this error :

http://s5.iranxm.com/up/2709600f60cc.png

http://s7.iranxm.com/up/95373f017b65.png

guyver@nagatobimaru:~$ cd android/G
guyver@nagatobimaru:~/android/G$ patch p1 <patch-3.10.40-41
patching file p1
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 22.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 392.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 231.
Hunk #2 FAILED at 356.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 2299.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 2278.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 271.
Hunk #2 FAILED at 278.
Hunk #3 FAILED at 301.
Hunk #4 FAILED at 351.
Hunk #5 FAILED at 2293.
Hunk #6 FAILED at 2303.
6 out of 6 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 431.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 729.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 834.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 147.
Hunk #2 FAILED at 162.
Hunk #3 FAILED at 177.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 94.
Hunk #2 FAILED at 116.
Hunk #3 FAILED at 138.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 4995.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1038.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 12073.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 261.
Hunk #2 FAILED at 283.
Hunk #3 FAILED at 423.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 120.
Hunk #2 FAILED at 128.
Hunk #3 FAILED at 137.
Hunk #4 FAILED at 169.
4 out of 4 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 649.
Hunk #2 FAILED at 698.
Hunk #3 FAILED at 708.
Hunk #4 FAILED at 747.
Hunk #5 FAILED at 760.
5 out of 5 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 486.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 320.
Hunk #2 FAILED at 371.
Hunk #3 FAILED at 392.
Hunk #4 FAILED at 401.
Hunk #5 FAILED at 441.
Hunk #6 FAILED at 474.
Hunk #7 FAILED at 1527.
Hunk #8 FAILED at 1607.
8 out of 8 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 332.
Hunk #2 FAILED at 362.
Hunk #3 FAILED at 978.
Hunk #4 FAILED at 1040.
Hunk #5 FAILED at 1124.
5 out of 5 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1574.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 104.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 912.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1326.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 29.
Hunk #2 FAILED at 284.
Hunk #3 FAILED at 300.
Hunk #4 FAILED at 400.
Hunk #5 FAILED at 415.
Hunk #6 FAILED at 442.
Hunk #7 FAILED at 593.
Hunk #8 FAILED at 607.
Hunk #9 FAILED at 661.
Hunk #10 FAILED at 676.
Hunk #11 FAILED at 685.
Hunk #12 FAILED at 724.
12 out of 12 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 234.
Hunk #2 FAILED at 243.
Hunk #3 FAILED at 286.
Hunk #4 FAILED at 348.
Hunk #5 FAILED at 501.
Hunk #6 FAILED at 1034.
Hunk #7 FAILED at 1498.
Hunk #8 FAILED at 1543.
8 out of 8 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 136.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 291.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1367.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 470.
Hunk #2 FAILED at 477.
Hunk #3 FAILED at 493.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 188.
Hunk #2 FAILED at 268.
Hunk #3 FAILED at 1314.
Hunk #4 FAILED at 1321.
Hunk #5 FAILED at 1347.
Hunk #6 FAILED at 1473.
Hunk #7 FAILED at 1490.
7 out of 7 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 211.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 628.
Hunk #2 FAILED at 677.
Hunk #3 FAILED at 723.
Hunk #4 FAILED at 731.
4 out of 4 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 620.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 373.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 23.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 41.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1252.
Hunk #2 FAILED at 1280.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 248.
Hunk #2 FAILED at 272.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 132.
Hunk #2 FAILED at 139.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 2016.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 685.
Hunk #2 FAILED at 692.
Hunk #3 FAILED at 701.
Hunk #4 FAILED at 713.
4 out of 4 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 641.
Hunk #2 FAILED at 684.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1100.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 512.
Hunk #2 FAILED at 624.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 71.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 438.
Hunk #2 FAILED at 466.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 202.
Hunk #2 FAILED at 212.
Hunk #3 FAILED at 224.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1044.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 3898.
Hunk #2 FAILED at 4634.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 355.
Hunk #2 FAILED at 371.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 714.
Hunk #2 FAILED at 730.
Hunk #3 FAILED at 765.
Hunk #4 FAILED at 826.
Hunk #5 FAILED at 985.
Hunk #6 FAILED at 1039.
Hunk #7 FAILED at 1059.
7 out of 7 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 3487.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 57.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 818.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 42.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 652.
Hunk #2 FAILED at 690.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 579.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1039.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1226.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 204.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1478.
Hunk #2 FAILED at 2306.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 408.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1418.
Hunk #2 FAILED at 1428.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1549.
Hunk #2 FAILED at 1626.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 347.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1531.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1236.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 1236.
Hunk #2 FAILED at 1246.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 754.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 171.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 393.
Hunk #2 FAILED at 447.
Hunk #3 FAILED at 677.
Hunk #4 FAILED at 691.
4 out of 4 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 75.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 498.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 199.
Hunk #2 FAILED at 258.
Hunk #3 FAILED at 343.
Hunk #4 FAILED at 1995.
Hunk #5 FAILED at 2087.
Hunk #6 FAILED at 2137.
Hunk #7 FAILED at 2154.
Hunk #8 FAILED at 2170.
Hunk #9 FAILED at 2204.
Hunk #10 FAILED at 2250.
Hunk #11 FAILED at 2483.
Hunk #12 FAILED at 2623.
Hunk #13 FAILED at 2636.
Hunk #14 FAILED at 2652.
14 out of 14 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 364.
Hunk #2 FAILED at 531.
Hunk #3 FAILED at 1437.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 3318.
Hunk #2 FAILED at 3338.
Hunk #3 FAILED at 3351.
Hunk #4 FAILED at 3373.
Hunk #5 FAILED at 3389.
Hunk #6 FAILED at 3415.
Hunk #7 FAILED at 3431.
Hunk #8 FAILED at 3447.
Hunk #9 FAILED at 3460.
Hunk #10 FAILED at 3476.
Hunk #11 FAILED at 5368.
Hunk #12 FAILED at 5398.
Hunk #13 FAILED at 5417.
Hunk #14 FAILED at 5431.
Hunk #15 FAILED at 5439.
Hunk #16 FAILED at 5475.
Hunk #17 FAILED at 5483.
Hunk #18 FAILED at 5500.
Hunk #19 FAILED at 6582.
Hunk #20 FAILED at 6609.
20 out of 20 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 65.
Hunk #2 FAILED at 267.
Hunk #3 FAILED at 348.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 573.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patch: **** Can't reopen file p1 : No such file or directory
guyver@nagatobimaru:~/android/G$