PDroid Patch for GingerVolt 1.3 - LG Revolution
Please don't give me any credit for this, I simply followed the patching instructions found in the original thread @ http://forum.xda-developers.com/showthread.php?t=1357056.
I patched GingerVolt 1.3 with pdoridpatcher-v1.27, and I am attaching the patch file, as well as the resstore file.
You need to flash the PDroid-v1.27-GingerVolt1.3.zip (MD5 - 180694280acf1c816cb30058ad9d6c20 )
After flashing, download PDroid App from market, and configure your permissions.
If for any reason you need to undo PDroid patch, flash the PDroid-RESTORE-GingerVolt1.3.zip (MD5 - 4e840b763b106100fa860e43849dff52 )
As is customary, I am not responsible for anything happening to your phone , and I strongly advice you to make a backup.
If you don't trust my files, you can create a patch for yourself, just follow the instructions in the original thread.
Here's the patch run log in case you're interested.
Code:
./patchpdroid GingerVolt1.3.zip
***************************************************
**** PDroid Patcher Beta 0.71 - Patch Version 1.27
***************************************************
Creating temp dirs
mkdir: created directory `/home/gumnaam/Downloads/tmp1326380253'
mkdir: created directory `/home/gumnaam/Downloads/tools1326380253'
Extracting tools and resources
inflated: apktool.jar
inflated: apktool
inflated: pdroidpatcher.jar
inflated: services.patch
inflated: framework.patch
inflated: core.patch
inflated: framework.mod.jar
inflated: signapk.jar
extracted: updatekey.pk8
inflated: updatecert.pem
inflated: updaterB
extracted: updaterA
inflated: cleanupsmalimod
inflated: aapt
Extracting original files from ROM
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
`system/framework/core.jar' -> `./core.jar'
`system/framework/framework.jar' -> `./framework.jar'
`system/framework/services.jar' -> `./services.jar'
`META-INF/com/google/android/update-binary' -> `./update-binary'
`META-INF/com/google/android/updater-script' -> `./updater-script'
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 code
Applying PDroid patches
patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 148 (offset 2 lines).
Hunk #3 succeeded at 645 (offset 2 lines).
Hunk #4 succeeded at 1107 (offset 2 lines).
Hunk #5 succeeded at 1128 (offset 2 lines).
Hunk #6 succeeded at 1345 (offset 2 lines).
Hunk #7 succeeded at 1587 (offset 2 lines).
patching file smali/android/content/ContentResolver.smali
Hunk #1 succeeded at 2858 (offset 8 lines).
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 12185 (offset 129 lines).
Hunk #2 succeeded at 17969 (offset 131 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #2 succeeded at 362 (offset 10 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
Building modified framework.jar
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/content/ContentResolver.smali.orig
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...
inflated: classes.dex
inflated: com/ibm/icu4jni/ThirdPartyProject.prop
inflated: java/security/security.properties
inflated: java/util/logging/logging.properties
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: org/apache/harmony/dalvik/ddmc/README.txt
inflated: org/apache/xalan/processor/XSLProcessorVersion.src
inflated: org/apache/xalan/res/XSLTInfo.properties
inflated: org/apache/xalan/Version.src
inflated: org/apache/xml/serializer/Encodings.properties
inflated: org/apache/xml/serializer/HTMLEntities.properties
inflated: org/apache/xml/serializer/output_html.properties
inflated: org/apache/xml/serializer/output_text.properties
inflated: org/apache/xml/serializer/output_unknown.properties
inflated: org/apache/xml/serializer/output_xml.properties
inflated: org/apache/xml/serializer/Version.src
inflated: org/apache/xml/serializer/XMLEntities.properties
inflated: org/kxml2/ThirdPartyProject.prop
inflated: org/xmlpull/ThirdPartyProject.prop
inflated: org/xml/ThirdPartyProject.prop
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/xml/(in = 0) (out= 0)(stored 0%)
adding: org/xml/ThirdPartyProject.prop(in = 224) (out= 178)(deflated 20%)
adding: org/apache/(in = 0) (out= 0)(stored 0%)
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/XMLEntities.properties(in = 1086) (out= 647)(deflated 40%)
adding: org/apache/xml/serializer/output_text.properties(in = 1525) (out= 832)(deflated 45%)
adding: org/apache/xml/serializer/HTMLEntities.properties(in = 4353) (out= 2220)(deflated 49%)
adding: org/apache/xml/serializer/Encodings.properties(in = 11338) (out= 3094)(deflated 72%)
adding: org/apache/xml/serializer/output_html.properties(in = 1841) (out= 922)(deflated 49%)
adding: org/apache/xml/serializer/output_unknown.properties(in = 1769) (out= 948)(deflated 46%)
adding: org/apache/xml/serializer/Version.src(in = 4720) (out= 1869)(deflated 60%)
adding: org/apache/xml/serializer/output_xml.properties(in = 1818) (out= 943)(deflated 48%)
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/xmlpull/(in = 0) (out= 0)(stored 0%)
adding: org/xmlpull/ThirdPartyProject.prop(in = 224) (out= 179)(deflated 20%)
adding: org/kxml2/(in = 0) (out= 0)(stored 0%)
adding: org/kxml2/ThirdPartyProject.prop(in = 209) (out= 173)(deflated 17%)
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/services.jar(in = 742463) (out= 741836)(deflated 0%)
adding: system/framework/core.jar(in = 1925692) (out= 1914288)(deflated 0%)
adding: system/framework/framework.jar(in = 4057782) (out= 4033032)(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/updater-script(in = 244) (out= 145)(deflated 40%)
adding: META-INF/com/google/android/update-binary(in = 251996) (out= 155930)(deflated 38%)
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/services.jar(in = 732860) (out= 732069)(deflated 0%)
adding: system/framework/core.jar(in = 1848601) (out= 1840859)(deflated 0%)
adding: system/framework/framework.jar(in = 4050318) (out= 4028612)(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/updater-script(in = 246) (out= 144)(deflated 41%)
adding: META-INF/com/google/android/update-binary(in = 251996) (out= 155930)(deflated 38%)
Removing temp dirs
Looks like everything went fine
PDroid patch: PDroid-v1.27-GingerVolt1.3.zip
MD5 hash: 180694280acf1c816cb30058ad9d6c20
Flash it through CWM *OR* extract the files in /system/framework/ and push them via ADB
To restore your ROM and remove PDroid, flash PDroid-RESTORE-GingerVolt1.3.zip
Interesting....Thank you.....
what does this do exactly?
Read the link in the post.
Allows you to revoke permissions on Apps, after you've installed the app. Better privacy control.
gumnaam.sur said:
Read the link in the post.
Allows you to revoke permissions on Apps, after you've installed the app. Better privacy control.
Click to expand...
Click to collapse
it does help if you read the post
thanks
Related
help building / install Droid Incredible kernel
I want to make some modifications to my Incredible's kernel. However, before I start I would like to at least try to rebuild and replace the stock kernel. That way I know that any issues are related to my changes, and not trouble building/installing the stock kernel. So I went to my Incredible's Software Information and found my kernel version to be: Code: 2.6.32.17-g9a2fc16 [email protected] #1 So I went to HTC's android source code page and found the following kernel source code which matches my build: HTC - Mobile Phones, Smartphones, Cell Phones, PDAs I pulled the kernel configuration from my phone with: Code: adb pull /proc/config.gz gunzip config.gz mv config .config Then I made sure to build with the local version properly set: Code: make LOCALVERSION=-g9a2fc16 Now, the tricky part to me is actually setting up the proper boot.img. I have done two things to extract the original boot.img to get boot parameters and ramdisk. I found my boot partition here: Code: [email protected]:~$ adb shell cat /proc/mtd dev: size erasesize name mtd0: 000a0000 00020000 "misc" mtd1: 00480000 00020000 "recovery" mtd2: 00300000 00020000 "boot" mtd3: 0f800000 00020000 "system" mtd4: 000a0000 00020000 "local" mtd5: 02800000 00020000 "cache" mtd6: 09500000 00020000 "datadata" Then I extracted boot.img as follows and split it: Code: $ adb shell $ su # cat /dev/mtd/mtd2 > /sdcard/stock_boot.img # exit $ exit $ ./split_bootimg.pl stock_boot.img Page size: 2048 (0x00000800) Kernel size: 2274960 (0x0022b690) Ramdisk size: 167337 (0x00028da9) Second size: 0 (0x00000000) Board name: Command line: no_console_suspend=1 Writing stock_boot.img-kernel ... complete. Writing stock_boot.img-ramdisk.gz ... complete. Then, I combine this ramdisk with my own built version of the kernel as follows: Code: ./mkbootimg --kernel kernel/arch/arm/boot/zImage --ramdisk stock_boot.img-ramdisk.gz --cmdline "no_console_suspend=1" -o boot.img Then I pushed it to my sdcard as "mystock_incredible_boot.img" and rebooted my phone to recovery mode. In recovery mode, I did: Code: # flash_image boot /sdcard/mystock_incredible_boot.img flashing boot from /sdcard/mystock_incredible_boot.img mtd: successfully wrote block at 0 mtd: successfully wrote block at 20000 mtd: successfully wrote block at 40000 mtd: successfully wrote block at 60000 mtd: successfully wrote block at 80000 mtd: successfully wrote block at a0000 mtd: successfully wrote block at c0000 mtd: successfully wrote block at e0000 mtd: successfully wrote block at 100000 mtd: successfully wrote block at 120000 mtd: successfully wrote block at 140000 mtd: successfully wrote block at 160000 mtd: successfully wrote block at 180000 mtd: successfully wrote block at 1a0000 mtd: successfully wrote block at 1c0000 mtd: successfully wrote block at 1e0000 mtd: successfully wrote block at 200000 mtd: successfully wrote block at 220000 mtd: successfully wrote block at 240000 mtd: successfully wrote block at 0 Then, I rebooted the phone and it never gets past the "htc Incredible" white screen. So then I tried to do some debugging and despite that the only kernel option found in the stock boot.img was "no_console_suspend=1", I found from dmesg that when the phone boots the stock boot.img there are many more kernel options: Code: <5>[ 0.000000] Kernel command line: board_incrediblec.disable_uart3=0 board_incrediblec.usb_h2w_sw=0 board_incrediblec.disable_sdcard=0 diag.enabled=0 board_incrediblec.debug_uart=0 smisize=0 userdata_sel=1 androidboot.baseband=2.15.00.07.28 androidboot.cid=VZW__001 androidboot.carrier=COMMON androidboot.mid=PB3120000 androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=HT042HJ01678 androidboot.bootloader=0.92.0000 androidboot.hardware=inc no_console_suspend=1 So, then I tried packaging it with all of these boot parameters also, and I still do not get past the "htc Incredible" white screen. I'm not sure what I am missing here. Does anyone see anything wrong with what I have done?
Not sure exactly where your problem is, but try flashing the stock boot.img, then package up your zImage in Koush's AnyKernel Updater zip template. See if that eliminates any errors. This is how you would distribute the kernel as well, unless you are making a custom rom to go with your custom kernel, in which case it wouldn't really matter. Hope you find your solution.
wdfowty said: Not sure exactly where your problem is, but try flashing the stock boot.img, then package up your zImage in Koush's AnyKernel Updater zip template. See if that eliminates any errors. This is how you would distribute the kernel as well, unless you are making a custom rom to go with your custom kernel, in which case it wouldn't really matter. Hope you find your solution. Click to expand... Click to collapse Thanks for the suggestion! I am trying Koush's AnyKernel Updater, but I'm getting an error. Maybe I am doing something wrong. I checked out his git source, then I replaced kernel/zImage with my own zImage. Then I created an update.zip: Code: $ zip -r update.zip * adding: META-INF/ (stored 0%) adding: META-INF/CERT.RSA (deflated 33%) adding: META-INF/CERT.SF (deflated 61%) adding: META-INF/com/ (stored 0%) adding: META-INF/com/google/ (stored 0%) adding: META-INF/com/google/android/ (stored 0%) adding: META-INF/com/google/android/update-binary (deflated 34%) adding: META-INF/com/google/android/updater-script (deflated 63%) adding: META-INF/MANIFEST.MF (deflated 61%) adding: kernel/ (stored 0%) adding: kernel/dump_image (deflated 32%) adding: kernel/mkbootimg (deflated 35%) adding: kernel/mkbootimg.sh (deflated 52%) adding: kernel/unpackbootimg (deflated 32%) adding: kernel/zImage (deflated 1%) adding: system/ (stored 0%) adding: system/lib/ (stored 0%) adding: system/lib/modules/ (stored 0%) I put it on my sdcard and I tried to install it, but I get the following error: Code: -- Installing: /sdcard/update.zip Finding update package... Opening update package... Installing update... AnyKernel Updater by Koush. Extracting System Files... mount() expects 4 args, got 3 E:Error in /sdcard/update.zip (Status 7) Installation aborted. My guess is that the source of this error comes in META-INF/com/google/android/updater-script at this line: Code: mount("MTD", "system", "/system"); But I'm assuming that was not meant to be changed by me...
hedpe said: Thanks for the suggestion! I am trying Koush's AnyKernel Updater, but I'm getting an error. Maybe I am doing something wrong. I checked out his git source, then I replaced kernel/zImage with my own zImage. Then I created an update.zip: Code: $ zip -r update.zip * adding: META-INF/ (stored 0%) adding: META-INF/CERT.RSA (deflated 33%) adding: META-INF/CERT.SF (deflated 61%) adding: META-INF/com/ (stored 0%) adding: META-INF/com/google/ (stored 0%) adding: META-INF/com/google/android/ (stored 0%) adding: META-INF/com/google/android/update-binary (deflated 34%) adding: META-INF/com/google/android/updater-script (deflated 63%) adding: META-INF/MANIFEST.MF (deflated 61%) adding: kernel/ (stored 0%) adding: kernel/dump_image (deflated 32%) adding: kernel/mkbootimg (deflated 35%) adding: kernel/mkbootimg.sh (deflated 52%) adding: kernel/unpackbootimg (deflated 32%) adding: kernel/zImage (deflated 1%) adding: system/ (stored 0%) adding: system/lib/ (stored 0%) adding: system/lib/modules/ (stored 0%) I put it on my sdcard and I tried to install it, but I get the following error: Code: -- Installing: /sdcard/update.zip Finding update package... Opening update package... Installing update... AnyKernel Updater by Koush. Extracting System Files... mount() expects 4 args, got 3 E:Error in /sdcard/update.zip (Status 7) Installation aborted. My guess is that the source of this error comes in META-INF/com/google/android/updater-script at this line: Code: mount("MTD", "system", "/system"); But I'm assuming that was not meant to be changed by me... Click to expand... Click to collapse Grab a kernel zip from my thread and use that as your template. Sent from my ADR6300 using XDA App
thanks, bud! That worked... my kernel is running now
hedpe said: thanks, bud! That worked... my kernel is running now Click to expand... Click to collapse Grats welcome to the party Sent from my ADR6300 using XDA App
Pushing for MIUI
Hi all Tonight (1 Dec) I have time. Lets see how far we can get with MIUI (with whoever is keen). Check here: http://forum.xda-developers.com/showthread.php?t=1371428 What my approach this time is is to "dependency inject" MIUI into CM7. That is, start with CM7 base and then add the jars + apks + libs of MIUI from LG's Optimus2X one for one. This is different than starting with MIUI and then changing it with CM files one for one. Right Attached is the file list of CM7 nightly and MIUI 1.11.25. Differences of note: lgdrmserver libbridge liblgdrm /system/media/gadget files I'll keep updating on progress! Please do hop on the development, I'm doing all the "beta" testing on my side (thus press thank you and don't post I'll help you test).
Does one need to compile from source <github> or can we just grab files from LG's Optimus2X zip'd MIUI and overwrite the CM7 files? I will also spend some time on this see if I can make some leeway!
Thank you for your help and hard work!! What does all this mean ? If I can help with anything? please let me know!! Thanks so much for your efforts!
ssmr2t said: Thank you for your help and hard work!! What does all this mean ? If I can help with anything? please let me know!! Thanks so much for your efforts! Click to expand... Click to collapse Means it might be over your head and should wait till a stable comes out. Sent from my Inspire
dascope said: Does one need to compile from source <github> or can we just grab files from LG's Optimus2X zip'd MIUI and overwrite the CM7 files? I will also spend some time on this see if I can make some leeway! Click to expand... Click to collapse Yes, binary files - no compiling. That is, however, what I'm up to.
First up, /system/bin/app_process : zygote, main system daemon.
/system/bin/app_process : No difference in startup. Next up: framework.jar : The whole platform (will break a lot of things, I'm sure - we'll see)
Ladies and gents, our first boot loop: W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePathLjava/lang/String;I)Z W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePathLjava/lang/StringI W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount)I W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageNameI)Ljava/lang/String; W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageIdI)I W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNativeI)V W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative)V W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirectionsIII)Z Seems like a .so that is missing or a .so that needs replacing.
/system/lib/libutils.so is a match - checking.
Solved previous error, now getting this: I/Netd ( 1741): Netd 1.0 starting repeatedly. Getting strace output:
writev(3, [{"\4", 1}, {"Netd\0", 5}, {"Netd 1.0 starting\0", 18}], 3) = 24 brk(0x13000) = 0x13000 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9 getpid() = 2106 socket(PF_NETLINK, SOCK_DGRAM, 15) = 10 setsockopt(10, SOL_SOCKET, 0x21 /* SO_??? */, [65536], 4) = 0 setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 bind(10, {sa_family=AF_NETLINK, pid=2106, groups=ffffffff}, 12) = 0 mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 getsockopt(10, SOL_SOCKET, SO_PEERCRED, "\0\0\0\0��������", [12]) = 0 pipe([11, 12]) = 0 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000000 mprotect(0x10000000, 4096, PROT_NONE) = 0 clone(Process 2108 attached child_stack=0x100fff00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 2108 [pid 2106] writev(6, [{"\6", 1}, {"SocketListener\0", 15}, {"Obtaining file descriptor socket"..., 79}], 3) = 95 [pid 2106] writev(3, [{"\6", 1}, {"Netd\0", 5}, {"Unable to start DnsProxyListener"..., 61}], 3) = 67 Not entirely helpful. Sockets for system services are normally "premade" in Android in the init.rc file. Will look around, otherwise will check for MIUI version.
service zygote /system/xbin/strace -f -tt -o /cache/debug/boot.strace /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server Will make strace put out debug of zygote. Yay for more debug...
No help, make strace of just netd be put out. Argh.
Code: 1697 19:43:35.612710 open("/dev/log/main", O_WRONLY) = 3 1697 19:43:35.612897 open("/dev/log/radio", O_WRONLY) = 4 1697 19:43:35.613083 open("/dev/log/events", O_WRONLY) = 5 1697 19:43:35.625796 open("/dev/log/system", O_WRONLY) = 6 1697 19:43:35.626018 writev(3, [{"\4", 1}, {"Netd\0", 5}, {"Netd 1.0 starting\0", 18}], 3) = 24 1697 19:43:35.626365 brk(0x13000) = 0x13000 1697 19:43:35.626509 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7 1697 19:43:35.626663 getpid() = 1697 1697 19:43:35.626785 socket(PF_NETLINK, SOCK_DGRAM, 15) = 11 1697 19:43:35.626952 setsockopt(11, SOL_SOCKET, 0x21 /* SO_??? */, [65536], 4) = 0 1697 19:43:35.627099 setsockopt(11, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 1697 19:43:35.627234 bind(11, {sa_family=AF_NETLINK, pid=1697, groups=ffffffff}, 12) = 0 1697 19:43:35.627397 mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 1697 19:43:35.627557 getsockopt(11, SOL_SOCKET, SO_PEERCRED, "\0\0\0\0��������", [12]) = 0 1697 19:43:35.627718 pipe([12, 13]) = 0 1697 19:43:35.627891 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000000 1697 19:43:35.628027 mprotect(0x10000000, 4096, PROT_NONE) = 0 1697 19:43:35.628173 clone(child_stack=0x100fff00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1698 1697 19:43:35.628371 listen(9, 4) = 0 1697 19:43:35.628495 pipe([14, 15]) = 0 1697 19:43:35.628648 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4001a000 1697 19:43:35.628782 mprotect(0x4001a000, 4096, PROT_NONE) = 0 1697 19:43:35.628923 clone(child_stack=0x40119f00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1699 1697 19:43:35.629080 listen(10, 4) = 0 1697 19:43:35.629203 pipe([16, 17]) = 0 1697 19:43:35.629356 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4011a000 1697 19:43:35.629521 mprotect(0x4011a000, 4096, PROT_NONE) = 0 1697 19:43:35.629667 clone(child_stack=0x40219f00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1700 1697 19:43:35.629820 nanosleep({1000, 0}, <unfinished ...> 1698 19:43:35.629966 syscall_983045(0x100fff00, 0x125c8, 0, 0x40, 0x100fff00, 0xaef01e71, 0x40009008, 0xf0005, 0x10000000, 0xaef01e71, 0x100000, 0x40009008, 0, 0x100ffee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x100fff00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1698 19:43:35.630125 select(13, [11 12], NULL, NULL, NULL <unfinished ...> 1699 19:43:35.630262 syscall_983045(0x40119f00, 0x12728, 0, 0x40, 0x40119f00, 0xaef01e71, 0x12678, 0xf0005, 0x4001a000, 0xaef01e71, 0x100000, 0x12678, 0, 0x40119ee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x40119f00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1699 19:43:35.630421 select(15, [9 14], NULL, NULL, NULL <unfinished ...> 1700 19:43:35.630553 syscall_983045(0x40219f00, 0x12768, 0, 0x40, 0x40219f00, 0xaef01e71, 0x112d8, 0xf0005, 0x4011a000, 0xaef01e71, 0x100000, 0x112d8, 0, 0x40219ee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x40219f00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1700 19:43:35.630712 select(17, [10 16], NULL, NULL, NULLULL^C Before netd fs off into oblivion. Right, replacing netd then. Not keen - this is suppose to work out of the box.
Did not help. What I can gather: It loads its libraries fine, and then starts to listen for a connection. Then, a system call syscall_983045 goes unfinished. Prompting the crash in netd. Library dependencies for netd seems (so far from strace): c,sysutils,log,stdc++,m,cutils,netutils,crypto,z,hardware_legacy,utils,binder,wpa_client,bluedroid Guessing who is the culprit: Not c (C lib),stdc++ (standard c++ lib),wpa_client(WiFi),bluedroid (BT),hardware_legacy (lights),log (log),m (math), z (compression),crypto (crypto) Either cutils, sysutils, netutils, binder
Utils ldd: arm-none-eabi-ld: warning: libz.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: liblog.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libcutils.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libc.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libstdc++.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libm.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: cannot find entry symbol _start; defaulting to 00008188 Replacing liblog and libcutils with MIUI versions. Lets have a look what breaks next
liblog added the following error: 1973 20:13:37.926040 open("/dev/log/libra", O_WRONLY) = -1 ENOENT (No such file or directory) Still no change in netd.
Trying libc, see if netd will budge
Googled for syscall_983045 Apparently used to spawn a service. Part of binder. Replacing binder as well. Crikey
Well if things break due to syscalls not going through, then we've hit a snag on kernel levels. Anyone got privy on where they hide the MIUI Optimus 2X kernel source?
Nitrogen (CM7-Based ROM) fails to fully boot after applying Pdoid patch
I would of posted this in the offical thread for "[Rom][Official CM7 based]Nitrogen [Android UnChained][PSN FireKernel MemMod V3]" at http://forum.xda-developers.com/showthread.php?t=2205818 but being new to the forum, can't post to the Development area. Then again, this may be more of a Pdroid-related issue and, if need be, can be moved accordingly. Have installed this ROM plus the most-recent patch with no issues, but am having issues when I try to apply the Pdroid patch that I've generated from this ROM. Will boot up to "Samsung Galaxy Cooper GT-S5830" screen and not proceed any futher beyond that point. Samsung Galaxy Ace GT-S5830D Nitrogen[Android Un-Chained] Patched Up-To-Date with Patch 3. Did notice some warnings generated in the patcher app log that may be of concern: Note: Win7 User Dir Name has been changed and warning messages have been bolded and highlighted in red, --- PDroid Patcher v0.321 - Patch v1.32 Patching C:\Users\******\Documents\Droidz\XDA_Nitrogen[Android Un-Chained][Revision1]-20130322-183515.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\******\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\******\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\******\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\******\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\******\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\******\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 file(s) moved. C:\Users\******\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\******\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 file(s) moved. C:\Users\******\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\******\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\******\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\******\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\******\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\******\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 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 19142 with fuzz 2 (offset 1304 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). Creating 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: Unknown file type, ignoring: framework.mod.jar.out\smali\android\content\ContentResolver.smali.orig W: Unknown file type, ignoring: framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.orig Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.jf.dexlib.Util.ByteArrayAnnotatedOutput.ensureCapacity(ByteArrayAnnotatedOutput.java:577) at org.jf.dexlib.Util.ByteArrayAnnotatedOutput.writeShort(ByteArrayAnnotatedOutput.java:180) at org.jf.dexlib.Code.Format.Instruction22c.writeInstruction(Instruction22c.java:77) at org.jf.dexlib.Code.Instruction.write(Instruction.java:57) at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258) at org.jf.dexlib.Item.writeTo(Item.java:116) at org.jf.dexlib.Section.writeTo(Section.java:119) at org.jf.dexlib.DexFile.writeTo(DexFile.java:716) at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:75) at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35) at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222) at brut.androlib.Androlib.buildSources(Androlib.java:179) at brut.androlib.Androlib.build(Androlib.java:170) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:182) at brut.apktool.Main.main(Main.java:67) Error encountered, trying to build modified framework.jar again I: Checking whether sources has changed... 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: Unknown file type, ignoring: core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.orig W: Could not find resources I: Building apk file... created: META-INF/ inflated: META-INF/MANIFEST.MF inflated: classes.dex 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/output_text.properties inflated: org/apache/xml/serializer/HTMLEntities.properties inflated: org/apache/xml/serializer/Version.src inflated: org/apache/xml/serializer/Encodings.properties inflated: org/apache/xml/serializer/output_xml.properties inflated: org/apache/xml/serializer/output_unknown.properties inflated: org/apache/xml/serializer/output_html.properties inflated: java/security/security.properties inflated: java/util/logging/logging.properties inflated: org/xml/ThirdPartyProject.prop inflated: org/kxml2/ThirdPartyProject.prop inflated: org/xmlpull/ThirdPartyProject.prop 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 = 1914926) (out= 1902928)(deflated 0%) adding: system/framework/framework.jar(in = 12434) (out= 12293)(deflated 1%) adding: system/framework/services.jar(in = 708944) (out= 708315)(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 = 228376) (out= 147107)(deflated 35%) adding: META-INF/com/google/android/updater-script(in = 243) (out= 144)(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 = 1862816) (out= 1851862)(deflated 0%) adding: system/framework/framework.jar(in = 3128765) (out= 3116139)(deflated 0%) adding: system/framework/services.jar(in = 684964) (out= 684053)(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 = 228376) (out= 147107)(deflated 35%) adding: META-INF/com/google/android/updater-script(in = 243) (out= 144)(deflated 40%) Successfully created PDroid patch. PDroid Patch: C:\Users\******Documents\Droidz\pdroid\PDroid-v1.32-XDA_Nitrogen[Android Un-Chained][Revision1]-20130322-183515.zip. You can flash it through recovery (for example CWM). To restore your ROM and remove PDroid, flash PDroid-RESTORE-XDA_Nitrogen[Android Un-Chained][Revision1]-20130322-183515.zip --- Also used Android Debug Monitor and captured the following errors from LogCat: --- 04-10 07:39:55.689: E/AudioHardwareMSM72XX(213): audioeq library open failure 04-10 07:40:02.819: E/dalvikvm(330): too small to be DEX 04-10 07:40:02.819: E/dalvikvm(330): Optimization failed 04-10 07:40:02.819: E/dalvikvm(212): Unable to extract+optimize DEX from '/system/framework/framework.jar' 04-10 07:40:05.639: E/JNIHelp(212): Native registration unable to find class 'android/debug/JNITest' 04-10 07:40:05.639: E/AndroidRuntime(212): Unable to register all android natives 04-10 07:40:06.059: E/dalvikvm(352): too small to be DEX 04-10 07:40:06.069: E/dalvikvm(352): Optimization failed 04-10 07:40:06.069: E/dalvikvm(348): Unable to extract+optimize DEX from '/system/framework/framework.jar' 04-10 07:40:06.159: E/JNIHelp(348): Native registration unable to find class 'android/debug/JNITest' 04-10 07:40:06.159: E/AndroidRuntime(348): Unable to register all android natives --- And this keeps going on until I dsconnected the phone from my system. Any assistance with this would be appreciated. Cheers
Exactly same issue; happening with every CM based rom (Cooper)
[Q] Need Help
I've tried rooting my lg 4xhd for a few days but every time I try it it just says: * daemon not running. starting it now on port 5037 * * daemon started successfully * DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING! PUSH FILES failed to copy 'busybox' to '/data/local/busybox': No such file or direc failed to copy 'su' to '/data/local/su': No such file or directory failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': No such f irectory - exec '/system/bin/sh' failed: No such file or directory (2) - read NV size = 4, offset = 0 read NV ret = 4 read NV offset = 0, message = (0)[0] check_LGE_official: nvdata_buf = , , . check_LGE_official: enable_root = 1 - exec '/system/bin/sh' failed: No such file or directory (2) - read NV size = 4, offset = 0 read NV ret = 4 read NV offset = 0, message = (0)[0] check_LGE_official: nvdata_buf = , , . check_LGE_official: enable_root = 1 - exec '/system/bin/sh' failed: No such file or directory (2) - read NV size = 4, offset = 0 read NV ret = 4 read NV offset = 0, message = (0)[0] check_LGE_official: nvdata_buf = , , . check_LGE_official: enable_root = 1 - exec '/system/bin/sh' failed: No such file or directory (2) - read NV size = 4, offset = 0 read NV ret = 4 read NV offset = 0, message = (0)[0] check_LGE_official: nvdata_buf = , , . check_LGE_official: enable_root = 1 - exec '/system/bin/sh' failed: No such file or directory (2) - read NV size = 4, offset = 0 read NV ret = 4 read NV offset = 0, message = (0)[0] check_LGE_official: nvdata_buf = , , . check_LGE_official: enable_root = 1 REBOOT /system/bin/sh: can't create /data/local.prop: Permission denied AGAIN REBOOT AGAIN!? mount: Operation not permitted mount: Operation not permitted /system/bin/sh: can't create /system/xbin/busybox: Read-only file system Unable to chmod /system/xbin/busybox: No such file or directory /system/bin/sh: /system/xbin/busybox: not found /system/bin/sh: busybox: not found /system/bin/sh: busybox: not found Unable to chown /system/xbin/su: No such file or directory Unable to chmod /system/xbin/su: No such file or directory Unable to chmod /system/app/Superuser.apk: No such file or directory rm failed for /data/local.prop, No such file or directory rm failed for /data/local/tmp, Permission denied failed on '/data/local/tmp.bak' - No such file or directory Now I am not really an expert with complicated stuff but I DID install all the drivers properly. It would be nice if someone could help me in a awnser that I can hopefully understand. Thanks in advance
As the log implies quite clearly, it isn't finding the files to push Check out you have all required files and that you unpacked everything correctly in proper directories
Are there any TI/OMAP experts left in the wild?
Ducati errors on OMAP CPU based machines running marshmallow I've tried 2 Marshmallow releases for OMAP based CPU's The Kindle Fire 7 HD Resurrection Remix and the Nook Tablet Official CM13 they are both awesome releases , but IMO really miss being commercial quality for 1 big thing native screencasting to a chromecast doesn't work Some chromecast enable apps work fine, others dont, and its hunt and peck for workarounds logcats on both units return similiar results Are there any TI/OMAP experts left in the wild? D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati D DOMX : hardware/ti/omap4/domx/omx_proxy_component/omx_video_enc/src/omx_h264_enc/src/omx_proxy_h264enc.c:511 LOCAL_PROXY_H264E_GetParameter() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001006 - Error in Proxy GetParameter E OMXNodeInstance: getParameter(40:TI.DUCATI1.H264E, ParamConsumerUsageBits(0x6f800004)) ERROR: NotImplemented(0x80001006) D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati E ACodec : Encoder could not be configured to emit SPS/PPS before IDR frames. (err -1010) E ACodec : [OMX.TI.DUCATI1.VIDEO.H264E] configureCodec returning error -1010 E ACodec : signalError(omxError 0xfffffc0e, internalError -1010) E MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3 E MediaCodec: configure failed with err 0xfffffc0e, resetting... I OMXClient: Using client-side OMX mux. I Converter: We going to manually prepend SPS and PPS to IDR frames. D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati D DOMX : hardware/ti/omap4/domx/omx_proxy_component/omx_video_enc/src/omx_h264_enc/src/omx_proxy_h264enc.c:511 LOCAL_PROXY_H264E_GetParameter() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001006 - Error in Proxy GetParameter E OMXNodeInstance: getParameter(41:TI.DUCATI1.H264E, ParamConsumerUsageBits(0x6f800004)) ERROR: NotImplemented(0x80001006) D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati W ACodec : do not know color format 0x7f000789 = 2130708361 I ACodec : setupVideoEncoder succeeded D DOMX : hardware/ti/omap4/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1955 PROXY_GetExtensionIndex() D DOMX : ERROR: failed check: (eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x8000101a - Error returned from OMX API in ducati
@transi1 Do you think this is possible?