I recently installed a new rom on my HTC Desire. MildWild V5
Now I'm trying to get Pdroid installed on it, but I can't get the ROM patched with the patcher (haven't tried the auto patcher, since I don't have a virtual machine at hand a.t.m.)
Since I haven't made enough posts to reply in the development section I ask it here.
Below is the log file of the 1.32 patcher
Code:
PDroid Patcher v0.321 - Patch v1.32
Patching C:\Users\BlaBla\Downloads\MildWild CM-5.0.zip
Extracting framework files from ROM
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: META-INF/com/google/android/updater-script
inflated: META-INF/com/google/android/update-binary
Decompiling original files
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
Cleaning up smali
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\app\ContextImpl.smali 1>framework.mod.jar.out\smali\android\app\ContextImpl.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\app\ContextImpl.smali.new framework.mod.jar.out\smali\android\app\ContextImpl.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\content\ContentResolver.smali 1>framework.mod.jar.out\smali\android\content\ContentResolver.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\content\ContentResolver.smali.new framework.mod.jar.out\smali\android\content\ContentResolver.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali 1>services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\ServerThread.smali 1>services.mod.jar.out\smali\com\android\server\ServerThread.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\ServerThread.smali.new services.mod.jar.out\smali\com\android\server\ServerThread.smali
1 bestand(en) zijn verplaatst.
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali 1>core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new
C:\Users\BlaBla\AppData\Roaming\PDroidPatcher\tmp>move /Y core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali
1 bestand(en) zijn verplaatst.
Applying PDroid patches
patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 151 (offset 5 lines).
Hunk #3 succeeded at 683 with fuzz 3 (offset 40 lines).
Hunk #4 succeeded at 1166 with fuzz 2 (offset 61 lines).
Hunk #5 succeeded at 1190 with fuzz 3 (offset 64 lines).
Hunk #6 succeeded at 1466 (offset 123 lines).
Hunk #7 succeeded at 1714 (offset 129 lines).
patching file smali/android/content/ContentResolver.smali
Hunk #1 succeeded at 2850 with fuzz 3.
patching file smali/android/privacy/IPrivacySettingsManager.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub$Proxy.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub.smali
patching file smali/android/privacy/PrivacyFileObserver.smali
patching file smali/android/privacy/PrivacyPersistenceAdapter.smali
patching file smali/android/privacy/PrivacySettings$1.smali
patching file smali/android/privacy/PrivacySettingsManagerService.smali
patching file smali/android/privacy/PrivacySettingsManager.smali
patching file smali/android/privacy/PrivacySettings.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager$PrivacyAccountManagerFuture.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager.smali
patching file smali/android/privacy/surrogate/PrivacyActivityManagerService.smali
patching file smali/android/privacy/surrogate/PrivacyContentResolver.smali
patching file smali/android/privacy/surrogate/PrivacyCursor.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager$PrivacyLocationUpdater.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager.smali
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager.smali
patching file smali/android/telephony/PhoneStateListener$1.smali
patching file smali/android/telephony/PhoneStateListener.smali
Hunk #2 succeeded at 64 (offset 1 line).
Hunk #3 succeeded at 173 with fuzz 1 (offset 23 lines).
patching file smali/com/android/server/am/ActivityManagerService.smali
Hunk #1 succeeded at 13018 with fuzz 1 (offset 962 lines).
Hunk #2 succeeded at 19222 with fuzz 2 (offset 1384 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #1 succeeded at 44 (offset 4 lines).
Hunk #2 succeeded at 396 (offset 44 lines).
patching file smali/java/lang/PrivacyInputStream.smali
patching file smali/java/lang/PrivacyProcessManager$PrivacyFileReader.smali
patching file smali/java/lang/PrivacyProcessManager.smali
patching file smali/java/lang/ProcessManager$ProcessImpl.smali
Hunk #1 succeeded at 57 (offset 5 lines).
Hunk #2 succeeded at 79 (offset 5 lines).
failed to apply PDroid patches
So....
[Solved]
I got my hands on a XP pc and tried it on there. That worked just fine.
So I asume that was the problem, the patcher doesn't work correctly with win7.
:victory:
Related
I am trying to apply the BFS patch from here:
http://ck.kolivas.org/patches/bfs/
When I try to apply it, these are the errors that I get:
[email protected]:~/Desktop/test/msm$ patch -p1 < 2.6.31-sched-bfs-222.patch
patching file Documentation/sysctl/kernel.txt
Hunk #1 succeeded at 25 (offset -2 lines).
Hunk #2 succeeded at 45 (offset -5 lines).
Hunk #3 succeeded at 167 (offset -6 lines).
Hunk #4 succeeded at 329 (offset -16 lines).
patching file fs/pipe.c
Hunk #1 succeeded at 42 with fuzz 2 (offset -36 lines).
patching file include/linux/init_task.h
Hunk #1 succeeded at 124 with fuzz 2 (offset 8 lines).
patching file include/linux/sched.h
Hunk #2 succeeded at 140 with fuzz 1 (offset -7 lines).
Hunk #3 succeeded at 152 (offset -7 lines).
Hunk #4 FAILED at 243.
Hunk #5 FAILED at 1010.
Hunk #6 succeeded at 887 (offset -139 lines).
Hunk #7 succeeded at 921 (offset -139 lines).
Hunk #8 succeeded at 984 (offset -147 lines).
Hunk #9 succeeded at 1174 (offset -182 lines).
Hunk #10 succeeded at 1449 with fuzz 1 (offset -198 lines).
2 out of 10 hunks FAILED -- saving rejects to file include/linux/sched.h.rej
patching file kernel/sched.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched.c.rej
patching file kernel/sysctl.c
Hunk #1 FAILED at 86.
Hunk #2 FAILED at 102.
Hunk #3 FAILED at 241.
Hunk #4 succeeded at 587 (offset -87 lines).
3 out of 4 hunks FAILED -- saving rejects to file kernel/sysctl.c.rej
patching file kernel/workqueue.c
Hunk #1 succeeded at 322 (offset 5 lines).
patching file kernel/sched_fair.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_fair.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_fair.c.rej
patching file kernel/sched_idletask.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_idletask.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_idletask.c.rej
patching file kernel/sched_rt.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_rt.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_rt.c.rej
patching file kernel/sched_bfs.c
patching file kernel/Makefile
Hunk #2 succeeded at 95 (offset -12 lines).
patching file kernel/kthread.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -2 lines).
Hunk #2 succeeded at 179 with fuzz 1 (offset 9 lines).
patching file kernel/posix-cpu-timers.c
Hunk #1 FAILED at 249.
Hunk #2 succeeded at 466 (offset -50 lines).
Hunk #3 FAILED at 476.
Hunk #4 FAILED at 967.
Hunk #5 succeeded at 1020 (offset -13 lines).
Hunk #6 succeeded at 1028 (offset -13 lines).
Hunk #7 FAILED at 1344.
4 out of 7 hunks FAILED -- saving rejects to file kernel/posix-cpu-timers.c.rej
patching file kernel/exit.c
Hunk #1 succeeded at 122 (offset 2 lines).
Hunk #2 FAILED at 144.
1 out of 2 hunks FAILED -- saving rejects to file kernel/exit.c.rej
patching file kernel/fork.c
Hunk #1 succeeded at 1169 (offset -24 lines).
patching file mm/oom_kill.c
Hunk #1 succeeded at 333 (offset -5 lines).
patching file init/Kconfig
Hunk #1 FAILED at 441.
Hunk #2 FAILED at 505.
2 out of 2 hunks FAILED -- saving rejects to file init/Kconfig.rej
patching file kernel/delayacct.c
Hunk #1 FAILED at 127.
1 out of 1 hunk FAILED -- saving rejects to file kernel/delayacct.c.rej
patching file kernel/trace/trace.c
Hunk #1 succeeded at 160 (offset -115 lines).
patching file fs/proc/base.c
Hunk #1 FAILED at 366.
1 out of 1 hunk FAILED -- saving rejects to file fs/proc/base.c.rej
patching file kernel/sched_debug.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_debug.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_debug.c.rej
patching file include/linux/ioprio.h
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file kernel/Kconfig.preempt
patching file kernel/timer.c
Hunk #1 succeeded at 973 (offset -180 lines).
Click to expand...
Click to collapse
Any ideas about what could be causing these errors?
I'm kind of confused, shouldn't you be flashing a BFS enabled kernel?
33K said:
I'm kind of confused, shouldn't you be flashing a BFS enabled kernel?
Click to expand...
Click to collapse
I'm trying to make my own kernel with BFS.
Hotweiss, the problem with this patch is that it was made for a 2.6.31 kernel and you are trying to patch a 2.6.29 kernel.
Cyanogen had to backport it to work on 2.6.29 from 2.6.31.
So I would recommend you either ask Cyanogen for a kernel patch or back-port it yourself.
TigerTael said:
Hotweiss, the problem with this patch is that it was made for a 2.6.31 kernel and you are trying to patch a 2.6.29 kernel.
Cyanogen had to backport it to work on 2.6.29 from 2.6.31.
So I would recommend you either ask Cyanogen for a kernel patch or back-port it yourself.
Click to expand...
Click to collapse
I just downloaded the 2.6.31 kernel and it patched perfectly. I will try to patch it manually today.
I am trying to apply the BFS patch from here:
http://ck.kolivas.org/patches/bfs/
When I try to apply it, these are the errors that I get:
[email protected]:~/Desktop/test/msm$ patch -p1 < 2.6.31-sched-bfs-222.patch
patching file Documentation/sysctl/kernel.txt
Hunk #1 succeeded at 25 (offset -2 lines).
Hunk #2 succeeded at 45 (offset -5 lines).
Hunk #3 succeeded at 167 (offset -6 lines).
Hunk #4 succeeded at 329 (offset -16 lines).
patching file fs/pipe.c
Hunk #1 succeeded at 42 with fuzz 2 (offset -36 lines).
patching file include/linux/init_task.h
Hunk #1 succeeded at 124 with fuzz 2 (offset 8 lines).
patching file include/linux/sched.h
Hunk #2 succeeded at 140 with fuzz 1 (offset -7 lines).
Hunk #3 succeeded at 152 (offset -7 lines).
Hunk #4 FAILED at 243.
Hunk #5 FAILED at 1010.
Hunk #6 succeeded at 887 (offset -139 lines).
Hunk #7 succeeded at 921 (offset -139 lines).
Hunk #8 succeeded at 984 (offset -147 lines).
Hunk #9 succeeded at 1174 (offset -182 lines).
Hunk #10 succeeded at 1449 with fuzz 1 (offset -198 lines).
2 out of 10 hunks FAILED -- saving rejects to file include/linux/sched.h.rej
patching file kernel/sched.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched.c.rej
patching file kernel/sysctl.c
Hunk #1 FAILED at 86.
Hunk #2 FAILED at 102.
Hunk #3 FAILED at 241.
Hunk #4 succeeded at 587 (offset -87 lines).
3 out of 4 hunks FAILED -- saving rejects to file kernel/sysctl.c.rej
patching file kernel/workqueue.c
Hunk #1 succeeded at 322 (offset 5 lines).
patching file kernel/sched_fair.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_fair.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_fair.c.rej
patching file kernel/sched_idletask.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_idletask.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_idletask.c.rej
patching file kernel/sched_rt.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_rt.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_rt.c.rej
patching file kernel/sched_bfs.c
patching file kernel/Makefile
Hunk #2 succeeded at 95 (offset -12 lines).
patching file kernel/kthread.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -2 lines).
Hunk #2 succeeded at 179 with fuzz 1 (offset 9 lines).
patching file kernel/posix-cpu-timers.c
Hunk #1 FAILED at 249.
Hunk #2 succeeded at 466 (offset -50 lines).
Hunk #3 FAILED at 476.
Hunk #4 FAILED at 967.
Hunk #5 succeeded at 1020 (offset -13 lines).
Hunk #6 succeeded at 1028 (offset -13 lines).
Hunk #7 FAILED at 1344.
4 out of 7 hunks FAILED -- saving rejects to file kernel/posix-cpu-timers.c.rej
patching file kernel/exit.c
Hunk #1 succeeded at 122 (offset 2 lines).
Hunk #2 FAILED at 144.
1 out of 2 hunks FAILED -- saving rejects to file kernel/exit.c.rej
patching file kernel/fork.c
Hunk #1 succeeded at 1169 (offset -24 lines).
patching file mm/oom_kill.c
Hunk #1 succeeded at 333 (offset -5 lines).
patching file init/Kconfig
Hunk #1 FAILED at 441.
Hunk #2 FAILED at 505.
2 out of 2 hunks FAILED -- saving rejects to file init/Kconfig.rej
patching file kernel/delayacct.c
Hunk #1 FAILED at 127.
1 out of 1 hunk FAILED -- saving rejects to file kernel/delayacct.c.rej
patching file kernel/trace/trace.c
Hunk #1 succeeded at 160 (offset -115 lines).
patching file fs/proc/base.c
Hunk #1 FAILED at 366.
1 out of 1 hunk FAILED -- saving rejects to file fs/proc/base.c.rej
patching file kernel/sched_debug.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Patch attempted to create file kernel/sched_debug.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file kernel/sched_debug.c.rej
patching file include/linux/ioprio.h
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file kernel/Kconfig.preempt
patching file kernel/timer.c
Hunk #1 succeeded at 973 (offset -180 lines).
Click to expand...
Click to collapse
Any ideas about what could be causing these errors?
Which ROM are you applying this to?
You have to do a lot of other stuff. Your best bet is to checkout android-2.6.29-bfs from android.git.kernel.org under experimental.
hey Cyanogen, would you mind telling me some of the specifics for the backport
Trying to test out the new BFS 310
Ok, pulled the .31 kernel from android git - apply bfs batch
All good with one error trying to figure out
patching file linux-2.6.31-bfs/kernel/posix-cpu-timers.c
Hunk #3 FAILED at 526.
Reject file info:
*************** void posix_cpu_timers_exit_group(struct
*** 526,532 ****
cleanup_timers(tsk->signal->cpu_timers,
cputime_add(tsk->utime, sig->utime),
cputime_add(tsk->stime, sig->stime),
- tsk->se.sum_exec_runtime + sig->sum_sched_runtime);
}
static void clear_dead_task(struct k_itimer *timer, union cpu_time_count now)
--- 526,532 ----
cleanup_timers(tsk->signal->cpu_timers,
cputime_add(tsk->utime, sig->utime),
cputime_add(tsk->stime, sig->stime),
+ tsk->sched_time + sig->sum_sched_runtime);
}
static void clear_dead_task(struct k_itimer *timer, union cpu_time_count now)
Going to try to compile with reject and see how it goes
Is there not a pre patched file we can just flash for 4.2.5?
Funkstar De Luxe said:
Is there not a pre patched file we can just flash for 4.2.5?
Click to expand...
Click to collapse
Compiling a patched version of AOSP experimental bfs .29 with bfs310 (versus the original 230) now
Great, hopefully it's an easy install proceedure
Anyone managed this yet? Eager to test
got bfs 311 working on 2.6.29.6. Seems to work fine.
Code:
uname -a
Linux localhost 2.6.29.6-cm42-bfs311-farmatito9 #20 PREEMPT Mon Nov 23 22:46:22 CET 2009 armv6l GNU/Linux
Code:
# dmesg | grep BFS
[ 7.187500] BFS CPU scheduler v0.311 by Con Kolivas.
farmatito said:
got bfs 311 working on 2.6.29.6. Seems to work fine.
Code:
uname -a
Linux localhost 2.6.29.6-cm42-bfs311-farmatito9 #20 PREEMPT Mon Nov 23 22:46:22 CET 2009 armv6l GNU/Linux
Code:
# dmesg | grep BFS
[ 7.187500] BFS CPU scheduler v0.311 by Con Kolivas.
Click to expand...
Click to collapse
Is there a file you can upload from your build so I can use it on mine? Or do I need to patch my own install?
I could upload the full source...but where to?
or maybe a diff but against which kernel version?
Can't figure out a solution....
The installation patching instructions look pretty annoying. Has anyone done this and has a CWM flashable patch I could use?
http://forum.xda-developers.com/showthread.php?t=1357056
This is what I get when using the patch generator:
Code:
PDroid Patcher v0.3 - Patch v1.27
Patching C:\Users\Ryan\Desktop\StockMod-2-UCLA3-0.2kernel.zip
Extracting framework files from ROM
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: META-INF/com/google/android/updater-script
inflated: META-INF/com/google/android/update-binary
Decompiling original files
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
Cleaning up smali
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\app\ContextImpl.smali 1>framework.mod.jar.out\smali\android\app\ContextImpl.smali.new
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\app\ContextImpl.smali.new framework.mod.jar.out\smali\android\app\ContextImpl.smali
1 file(s) moved.
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" framework.mod.jar.out\smali\android\content\ContentResolver.smali 1>framework.mod.jar.out\smali\android\content\ContentResolver.smali.new
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\content\ContentResolver.smali.new framework.mod.jar.out\smali\android\content\ContentResolver.smali
1 file(s) moved.
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali 1>services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali
1 file(s) moved.
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" services.mod.jar.out\smali\com\android\server\ServerThread.smali 1>services.mod.jar.out\smali\com\android\server\ServerThread.smali.new
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\ServerThread.smali.new services.mod.jar.out\smali\com\android\server\ServerThread.smali
1 file(s) moved.
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\)\s*$/d" core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali 1>core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new
C:\Users\Ryan\AppData\Roaming\PDroidPatcher\tmp>move /Y core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali
1 file(s) moved.
Applying PDroid patches
patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 155 (offset 8 lines).
Hunk #3 succeeded at 695 (offset 20 lines).
Hunk #4 succeeded at 1270 (offset 112 lines).
Hunk #5 succeeded at 1294 (offset 112 lines).
Hunk #6 succeeded at 1570 (offset 161 lines).
Hunk #7 succeeded at 1823 (offset 161 lines).
patching file smali/android/content/ContentResolver.smali
patching file smali/android/privacy/IPrivacySettingsManager.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub$Proxy.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub.smali
patching file smali/android/privacy/PrivacyFileObserver.smali
patching file smali/android/privacy/PrivacyPersistenceAdapter.smali
patching file smali/android/privacy/PrivacySettings$1.smali
patching file smali/android/privacy/PrivacySettingsManagerService.smali
patching file smali/android/privacy/PrivacySettingsManager.smali
patching file smali/android/privacy/PrivacySettings.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager$PrivacyAccountManagerFuture.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager.smali
patching file smali/android/privacy/surrogate/PrivacyActivityManagerService.smali
patching file smali/android/privacy/surrogate/PrivacyContentResolver.smali
patching file smali/android/privacy/surrogate/PrivacyCursor.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager$PrivacyLocationUpdater.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager.smali
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager$PrivacyPhoneStateListener.smali
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager.smali
patching file smali/com/android/server/am/ActivityManagerService.smali
Hunk #1 succeeded at 12780 (offset 92 lines).
Hunk #2 succeeded at 18937 (offset 104 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #1 succeeded at 43 with fuzz 1.
Hunk #2 succeeded at 522 (offset 139 lines).
patching file smali/java/lang/PrivacyInputStream.smali
patching file smali/java/lang/PrivacyProcessManager$PrivacyFileReader.smali
patching file smali/java/lang/PrivacyProcessManager.smali
patching file smali/java/lang/ProcessManager$ProcessImpl.smali
Creating updater script
Original mount statement not found, using default updater script
Building modified framework.jar
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out\smali\android\app\ContextImpl.smali.orig
W: Could not find resources
I: Building apk file...
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: preloaded-classes
adding: preloaded-classes(in = 65693) (out= 11977)(deflated 81%)
updated manifest
Building modified services.jar
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: services.mod.jar.out\smali\com\android\server\ServerThread.smali.orig
W: Unknown file type, ignoring: services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.orig
W: Could not find resources
I: Building apk file...
created: META-INF/
inflated: META-INF/MANIFEST.MF
updated manifest
Building modified core.jar
I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: org/apache/harmony/dalvik/ddmc/README.txt
inflated: com/ibm/icu4jni/ThirdPartyProject.prop
inflated: org/apache/xalan/Version.src
inflated: org/apache/xalan/processor/XSLProcessorVersion.src
inflated: org/apache/xalan/res/XSLTInfo.properties
inflated: org/apache/xml/serializer/XMLEntities.properties
inflated: org/apache/xml/serializer/HTMLEntities.properties
inflated: org/apache/xml/serializer/Version.src
inflated: org/apache/xml/serializer/output_text.properties
inflated: org/apache/xml/serializer/output_unknown.properties
inflated: org/apache/xml/serializer/output_html.properties
inflated: org/apache/xml/serializer/output_xml.properties
inflated: org/apache/xml/serializer/Encodings.properties
inflated: java/security/security.properties
inflated: java/util/logging/logging.properties
inflated: org/xmlpull/ThirdPartyProject.prop
inflated: org/kxml2/ThirdPartyProject.prop
inflated: org/xml/ThirdPartyProject.prop
inflated: classes.dex
adding: com/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/icu4jni/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/icu4jni/ThirdPartyProject.prop(in = 318) (out= 202)(deflated 36%)
adding: java/(in = 0) (out= 0)(stored 0%)
adding: java/security/(in = 0) (out= 0)(stored 0%)
adding: java/security/security.properties(in = 5084) (out= 1837)(deflated 63%)
adding: java/util/(in = 0) (out= 0)(stored 0%)
adding: java/util/logging/(in = 0) (out= 0)(stored 0%)
adding: java/util/logging/logging.properties(in = 3123) (out= 1129)(deflated 63%)
adding: org/(in = 0) (out= 0)(stored 0%)
adding: org/apache/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/ddmc/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/ddmc/README.txt(in = 78) (out= 69)(deflated 11%)
adding: org/apache/xalan/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/processor/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/processor/XSLProcessorVersion.src(in = 4126) (out= 1696)(deflated 58%)
adding: org/apache/xalan/res/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/res/XSLTInfo.properties(in = 1061) (out= 606)(deflated 42%)
adding: org/apache/xalan/Version.src(in = 4999) (out= 1909)(deflated 61%)
adding: org/apache/xml/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xml/serializer/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xml/serializer/Encodings.properties(in = 11338) (out= 3094)(deflated 72%)
adding: org/apache/xml/serializer/HTMLEntities.properties(in = 4353) (out= 2220)(deflated 49%)
adding: org/apache/xml/serializer/output_html.properties(in = 1841) (out= 922)(deflated 49%)
adding: org/apache/xml/serializer/output_text.properties(in = 1525) (out= 832)(deflated 45%)
adding: org/apache/xml/serializer/output_unknown.properties(in = 1769) (out= 948)(deflated 46%)
adding: org/apache/xml/serializer/output_xml.properties(in = 1818) (out= 943)(deflated 48%)
adding: org/apache/xml/serializer/Version.src(in = 4720) (out= 1869)(deflated 60%)
adding: org/apache/xml/serializer/XMLEntities.properties(in = 1086) (out= 647)(deflated 40%)
adding: org/kxml2/(in = 0) (out= 0)(stored 0%)
adding: org/kxml2/ThirdPartyProject.prop(in = 209) (out= 173)(deflated 17%)
adding: org/xml/(in = 0) (out= 0)(stored 0%)
adding: org/xml/ThirdPartyProject.prop(in = 224) (out= 178)(deflated 20%)
adding: org/xmlpull/(in = 0) (out= 0)(stored 0%)
adding: org/xmlpull/ThirdPartyProject.prop(in = 224) (out= 179)(deflated 20%)
updated manifest
Creating flashable patch zip
added manifest
adding: system/(in = 0) (out= 0)(stored 0%)
adding: system/framework/(in = 0) (out= 0)(stored 0%)
adding: system/framework/core.jar(in = 1908530) (out= 1897353)(deflated 0%)
adding: system/framework/framework.jar(in = 4087409) (out= 4062341)(deflated 0%)
adding: system/framework/services.jar(in = 883227) (out= 882283)(deflated 0%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/update-binary(in = 224244) (out= 144112)(deflated 35%)
adding: META-INF/com/google/android/updater-script(in = 239) (out= 142)(deflated 40%)
Creating flashable restore zip
added manifest
adding: system/(in = 0) (out= 0)(stored 0%)
adding: system/framework/(in = 0) (out= 0)(stored 0%)
adding: system/framework/core.jar(in = 1925304) (out= 1915877)(deflated 0%)
adding: system/framework/framework.jar(in = 4066524) (out= 4044700)(deflated 0%)
adding: system/framework/services.jar(in = 901158) (out= 900324)(deflated 0%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/update-binary(in = 224244) (out= 144112)(deflated 35%)
adding: META-INF/com/google/android/updater-script(in = 240) (out= 142)(deflated 40%)
Successfully created PDroid patch.
PDroid Patch: C:\Users\Ryan\Desktop\PDroidPatcher\PDroid-v1.27-StockMod-2-UCLA3-0.2kernel.zip.
You can flash it through recovery (for example CWM).
To restore your ROM and remove PDroid, flash PDroid-RESTORE-StockMod-2-UCLA3-0.2kernel.zip
TRY MOUNTING /SYSTEM IN RECOVERY (CWM) IF FLASHING THE PATCH DOES NOT WORK
One of the first things I did for the phone was trying to get this to work. It didn't haha, but I was a novice compared to my level of comfort with modifying apks etc. I might give it another go.
Me three
I would be really interested in seeing this work in the Skyrocket as well! From reading through the posts last night it appears one needs to have DEODX'd ROM to make this work.
What is pdroid?
Sent from my SAMSUNG-SGH-I727 using xda premium
remf4i said:
What is pdroid?
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
permissions manager that doesnt load as an app (aka block facebook from using gps, reading contacts, reading phone status, IMEI, etc).
I.E. LBE privacy guard loads once the phone boots, Pdroid would effectively block once the phone receives power and doesnt wait for the phone OS to start.
This stemmed from a fear that LBE privacy guard wasnt very honest, but I went back to it and used droidwall from allowing LBE to communicate any data.
orlandoxpolice said:
permissions manager that doesnt load as an app (aka block facebook from using gps, reading contacts, reading phone status, IMEI, etc).
I.E. LBE privacy guard loads once the phone boots, Pdroid would effectively block once the phone receives power and doesnt wait for the phone OS to start.
This stemmed from a fear that LBE privacy guard wasnt very honest, but I went back to it and used droidwall from allowing LBE to communicate any data.
Click to expand...
Click to collapse
Thanks for the heads up on LBE, after some more research. It scares me that it's written by a Chinese source, and isn't open sourced, their website doesn't even work. I'm too leary of the Chinese Gov sponsored hacking against US targets.
creedicd said:
Thanks for the heads up on LBE, after some more research. It scares me that it's written by a Chinese source, and isn't open sourced, their website doesn't even work. I'm too leary of the Chinese Gov sponsored hacking against US targets.
Click to expand...
Click to collapse
Just use droidwall and block its ability to send any info packets from your ohone
Sent from my SAMSUNG-SGH-I727 using xda premium
Anyone have a patch for sky ics 7 speed- faux 10u- ucla3 modem?
I have yet to understand how to make it
Sent from my samsung-sgh-i727 using XDA
orlandoxpolice said:
The installation patching instructions look pretty annoying. Has anyone done this and has a CWM flashable patch I could use?
http://forum.xda-developers.com/showthread.php?t=1357056
Click to expand...
Click to collapse
Why would you use this???
odeccacccp said:
Why would you use this???
Click to expand...
Click to collapse
Do you like to have any control over the information on your phone?
I am using Pdroid on Sky-ICE 7.4 in addition to LBE. So far, I have have no problems running both on this ROM.
Also, whenever I flash a new ROM, I use Pdoid.
However, I have a T989...but I would assume it would work just as well on on an I727.
My method (when installing a new ROM):
1) Open PdroidPatcher.exe on Windows
2) Select a ROM of your choice (Pdroid prompts you for the file)
3) Patch
4) Copy both the original ROM and the Pdroid generated .zip file to your SD
5) Reboot into CWM
6) *** BACKUP ***
7) Wipe (I use darkside's superwipe)
8) Install ROM from SD card
9) I let the ROM boot up and then reboot again into CWM
10) Install Pdroid generated .zip file
11) Reboot and make sure you install the Pdoid app from the market (play store)
12) Enjoy!
It really isn't that complicated - but if it doesn't work for you, don't blame me
The TabletUI mod no longer works now that the cm 10.1.1 has come out. It fails on the SystemUI.apk patch as follows:
Code:
... apply SystemUI.apk.patch ...
1 out of 1 hunk FAILED -- saving rejects to file smali/com/android/systemui/statusbar/tablet/TabletStatusBar.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/systemui/statusbar/policy/BatteryController$BatteryStateChangeCallback.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/systemui/statusbar/policy/BatteryController$SettingsObserver.smali.rej'
4 out of 5 hunks FAILED -- saving rejects to file smali/com/android/systemui/statusbar/policy/BatteryController.smali.rej
1 out of 1 hunk FAILED -- saving rejects to file 'smali/com/android/systemui/statusbar/policy/CircleBattery$SettingsObserver.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
25 out of 25 hunks ignored -- saving rejects to file smali/com/android/systemui/statusbar/policy/CircleBattery.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/com/android/systemui/statusbar/policy/CircleDockBattery.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/systemui/statusbar/policy/DockBatteryController$DockBatteryStateChangeCallback.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/com/android/systemui/statusbar/policy/DockBatteryController.smali.rej
I'd post it in its thread but I just started posting here.
loftwyr said:
The TabletUI mod no longer works now that the cm 10.1.1 has come out. It fails on the SystemUI.apk patch as follows:
..
I'd post it in its thread but I just started posting here.
Click to expand...
Click to collapse
The code in the stable build is actually like the nightlies from a few weeks ago. Because of this you have to use older tabletUI patches, like this
Code:
./auto_patcher cm-10.1.1-p5110.zip tabletUI cm 20130403
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:
[email protected]:~/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?