Advertisement
Guest User

Untitled

a guest
Jun 4th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. ROOT= /home/remi/Autopatch
  2. TOOL= /home/remi/Autopatch/patch_tools.tgz
  3. ROM= /home/remi/Autopatch/aokp_mako_nightly_2013-06-03.zip
  4. ROMX= /home/remi/Autopatch/aokp_mako_nightly_2013-06-03.zip
  5.  
  6. ### verify tools ###
  7. /usr/bin/patch
  8. /usr/bin/tar
  9. /usr/bin/jar
  10. /usr/bin/java
  11. /usr/bin/cpio
  12.  
  13. ### verify ROM ###
  14. ### running ./auto_patcher aokp_mako_nightly_2013-06-03.zip openpdroid aokp
  15. PATH= /home/remi/Autopatch/tmp20130604213021:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/remi/Desktop/android-sdk-linux/tools:/home/remi/Desktop/android-sdk-linux/platform-tools
  16.  
  17. ### unzip patch tools ###
  18.  
  19. ### unzip patch patches ###
  20.  
  21. ### probe rom type ###
  22. #### Standard Build Query ####
  23. # VER= v2.9.8
  24. # OS= linux-gnu 64bit
  25. # VID= 4.2.2
  26. # PID= openpdroid
  27. # MID= aokp_mako-userdebug
  28. # RID= aokp
  29. # ANDR= 4.2
  30. # BDID= 20130603
  31. # DID= mako
  32. # BID= 20130514
  33. Patches are openpdroid/4.2/aokp/20130514
  34. ### DELETE FILES=
  35. ### COPY FILES= system/media/PDroid.jpeg
  36. ### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar
  37. ### APK FILES= system/app/Mms.apk
  38. ### IMG FILES=
  39. ### TXT FILES=
  40.  
  41. ### unzip rom ###
  42.  
  43. ### create updater script ###
  44.  
  45. ... using Clockworkmod installer ...
  46. # generated updater-script
  47. ui_print("");
  48. ui_print("");
  49. ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
  50. ui_print("* *");
  51. ui_print("* * The Auto-Patcher * *");
  52. ui_print("* * * * * *");
  53. ui_print("* * by mateor * *");
  54. ui_print("* *");
  55. ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
  56. ui_print("");
  57. ui_print(" Attention");
  58. ui_print(" ************************************");
  59. ui_print("");
  60. ui_print(" There is nothing that can go wrong here");
  61. ui_print(" that reflashing your ROM won't fix.");
  62. ui_print("");
  63. mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
  64. package_extract_dir("system", "/system");
  65. set_perm_recursive(0, 0, 0755, 0644, "/system");
  66. set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
  67. set_perm(0, 3003, 02750, "/system/bin/netcfg");
  68. set_perm(0, 3004, 02755, "/system/bin/ping");
  69. set_perm(0, 2000, 06750, "/system/bin/run-as");
  70. set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
  71. set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
  72. set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
  73. set_perm(0, 0, 0755, "/system/etc/init.d");
  74. set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
  75. set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
  76. set_perm(0, 2000, 0755, "/system/vendor");
  77. set_perm(0, 2000, 0755, "/system/vendor/firmware");
  78. set_perm(0, 2000, 0755, "/system/vendor/firmware/discretix");
  79. set_perm(0, 2000, 0755, "/system/vendor/firmware/keymaster");
  80. set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware/wlan");
  81. set_perm(0, 0, 0644, "/system/vendor/firmware/wlan/prima/WCNSS_cfg.dat");
  82. set_perm(0, 2000, 0755, "/system/vendor/lib");
  83. set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
  84. set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
  85. set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
  86. set_perm(0, 0, 06755, "/system/xbin/librank");
  87. set_perm(0, 0, 06755, "/system/xbin/procmem");
  88. set_perm(0, 0, 06755, "/system/xbin/procrank");
  89. set_perm(0, 0, 06755, "/system/xbin/su");
  90. unmount("/system");
  91. ui_print(" .");
  92. ui_print(" .");
  93. ui_print(" done!");
  94.  
  95. ### create restore.zip ###
  96.  
  97. ### decompile system files ###
  98.  
  99. ... decompile framework.jar ...
  100.  
  101. ... extract preloaded-classes ...
  102. \décompressé : preloaded-classes
  103.  
  104. ... decompile core.jar ...
  105.  
  106. ... decompile services.jar ...
  107.  
  108. ... decompile telephony-common.jar ...
  109. \décompressé : system/framework/framework-res.apk
  110.  
  111. ... installing framework files ...
  112.  
  113. ... decompile Mms.apk ...
  114. I: Baksmaling...
  115. I: Loading resource table...
  116. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  117. W: Invalid config flags detected. Dropping resources: drawable-v8-ERR0
  118. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  119. W: Invalid config flags detected. Dropping resources: drawable-xhdpi-v8-ERR1
  120. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  121. W: Invalid config flags detected. Dropping resources: mipmap-mdpi-v8-ERR2
  122. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  123. W: Invalid config flags detected. Dropping resources: mipmap-hdpi-v8-ERR3
  124. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  125. W: Invalid config flags detected. Dropping resources: mipmap-xhdpi-v8-ERR4
  126. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  127. W: Invalid config flags detected. Dropping resources: mipmap-xxhdpi-v8-ERR5
  128. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  129. W: Invalid config flags detected. Dropping resources: layout-v8-ERR6
  130. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  131. W: Invalid config flags detected. Dropping resources: color-v8-ERR7
  132. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  133. W: Invalid config flags detected. Dropping resources: style-v8-ERR8
  134. I: Loaded.
  135. I: Decoding AndroidManifest.xml with resources...
  136. I: Loading resource table from file: /home/remi/apktool/framework/1.apk
  137. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  138. W: Invalid config flags detected: drawable-nodpi-v8-ERR9
  139. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  140. W: Invalid config flags detected: drawable-v8-ERR10
  141. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  142. W: Invalid config flags detected: drawable-xhdpi-v8-ERR11
  143. I: Loaded.
  144. I: Regular manifest package...
  145. I: Decoding file-resources...
  146. I: Decoding values */* XMLs...
  147. I: Done.
  148. I: Copying assets and libs...
  149. ### copy patch openpdroid/4.2/aokp/20130514 ###
  150.  
  151. ... copying system/media/PDroid.jpeg ...
  152.  
  153. ... overwriting system/media/PDroid.jpeg from openpdroid ...
  154. « patches/openpdroid/4.2/aokp/20130514/system/media/PDroid.jpeg » -> « ./system/media/PDroid.jpeg »
  155. ### delete patch openpdroid/4.2/aokp/20130514 ###
  156. ### jar patch openpdroid/4.2/aokp/20130514 ###
  157.  
  158. ... apply framework.patch ...
  159. 9 out of 9 hunks FAILED -- saving rejects to file smali/android/content/ContentResolver.smali.rej
  160. 1 out of 9 hunks FAILED -- saving rejects to file 'smali/android/provider/Settings$Secure.smali.rej'
  161.  
  162. ... apply preloaded.patch ...
  163.  
  164. !!! PATCHING FAILED FOR android/content/ContentResolver.smali android/provider/Settings$Secure.smali' !!!
  165. !!! patch error for android/content/ContentResolver.smali !!!
  166.  
  167. File for which patching failed:
  168.  
  169. ---------------------------------------------
  170.  
  171. ContentResolver.smali
  172.  
  173. You only need to report this if running the program gives you problems!!!
  174. askconsent final = yes: for android/content/ContentResolver.smali
  175.  
  176. ... replace android/content/ContentResolver.smali ...
  177. « patches/openpdroid/4.2/.provisionals/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali » -> « tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali »
  178. !!! patch error for android/provider/Settings$Secure.smali' !!!
  179.  
  180. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  181.  
  182. !!! error: failed android/provider/Settings$Secure.smali' in framework.jar cannot be remedied
  183.  
  184. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement