[Android Software/Hacking General [Developers Only]] Quinny899:
I have a ACER ASPIRE ONE D255 with Android 2.1 dual-boot and Windows 7 Home Premium

The android works fine, I have rooted it, installed busybox, hacked the market onto it, used apps 2 x-root [x-root is a folder with ubuntu in it for Firefox that's on it](rather than SD, as it cannot be partitioned) except for a few things:

Apps with librarys (/data/data//lib/)

When I install an app that has a library in it (/lib folder in the apk) it gives "application not installed" error in the package installer and "package file invalid" error when installing in the market. It gets as far as creating the /data/data//lib/, but the folder is empty. If I push the app to /data/app and the lib to /data/data/ I get tis error in the logcat (this is SUFBS):

08-01 17:18:38.237 D/dalvikvm(15529): GC freed 5586 objects / 413384 bytes in 31ms
08-01 17:18:38.377 I/MidWindowManager( 4236): mLidOpen: false lidOpen:false
08-01 17:18:38.387 W/GoWidgetManager( 4321): invoke resume Widget err, widget id = -103
08-01 17:18:38.586 D/dalvikvm( 4236): GC freed 7093 objects / 488144 bytes in 103ms
08-01 17:18:38.586 I/NotificationService( 4236): enqueueToast pkg=com.nolanlawson.logcat callback=android.app.ITransientNotification$Stub$Proxy@b075c258 duration=0
08-01 17:18:39.636 I/ActivityManager( 4236): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.protocol.x.su.fbs/.ViewHandler bnds=[154,178][240,252] }
08-01 17:18:39.667 W/GoWidgetManager( 4321): invoke pause Widget err, widget id = -103
08-01 17:18:39.687 D/vold ( 4408): [UEVENT] Sq: 4356 S: uids A: 0 P: /kernel/uids/10066
08-01 17:18:39.687 D/vold ( 4408): DEVPATH=/kernel/uids/10066
08-01 17:18:39.687 D/vold ( 4408): No uevent handlers registered for 'uids' subsystem
08-01 17:18:39.697 I/ActivityManager( 4236): Start proc com.protocol.x.su.fbs for activity com.protocol.x.su.fbs/.ViewHandler: pid=15554 uid=10066 gids={3003, 1015}
08-01 17:18:39.707 I/dalvikvm(15554): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
08-01 17:18:39.717 I/MidWindowManager( 4236): mLidOpen: false lidOpen:false
08-01 17:18:39.727 I/dalvikvm(15554): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=46)
08-01 17:18:39.807 D/skia (15554): ------ build_power_table 1.4
08-01 17:18:39.817 D/skia (15554): ------ build_power_table 0.714286
08-01 17:18:39.887 E/Term (15554): onCreate
08-01 17:18:39.897 D/dalvikvm(15529): GC freed 8167 objects / 504320 bytes in 42ms
08-01 17:18:39.897 D/dalvikvm(15554): Trying to load lib /data/data/com.protocol.x.su.fbs/lib/libcom_google_ase_Exec.so 0xb02a3860
08-01 17:18:39.897 I/dalvikvm(15554): Unable to dlopen(/data/data/com.protocol.x.su.fbs/lib/libcom_google_ase_Exec.so): Cannot load library: reloc_library[1372]: 4194 unknown reloc type 22 @ 0x82700740 (0)
08-01 17:18:39.897 W/dalvikvm(15554): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/google/ase/Exec;.
08-01 17:18:39.897 D/AndroidRuntime(15554): Shutting down VM
08-01 17:18:39.897 W/dalvikvm(15554): threadid=3: thread exiting with uncaught exception (group=0xb6027c28)
08-01 17:18:39.897 E/AndroidRuntime(15554): Uncaught handler: thread main exiting due to uncaught exception
08-01 17:18:39.897 E/AndroidRuntime(15554): java.lang.ExceptionInInitializerError
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.protocol.x.su.fbs.Term.createSubprocess(Term.java:287)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.protocol.x.su.fbs.Term.startListening(Term.java:206)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.protocol.x.su.fbs.Term.onCreate(Term.java:193)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.startActivityNow(ActivityThread.java:2335)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.protocol.x.su.fbs.ViewHandler.onCreate(ViewHandler.java:121)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.access$2200(ActivityThread.java:119)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.os.Handler.dispatchMessage(Handler.java:99)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.os.Looper.loop(Looper.java:123)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at android.app.ActivityThread.main(ActivityThread.java:4363)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at java.lang.reflect.Method.invokeNative(Native Method)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at java.lang.reflect.Method.invoke(Method.java:521)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at dalvik.system.NativeStart.main(Native Method)
08-01 17:18:39.897 E/AndroidRuntime(15554): Caused by: java.lang.UnsatisfiedLinkError: Library com_google_ase_Exec not found
08-01 17:18:39.897 E/AndroidRuntime(15554):	at java.lang.Runtime.loadLibrary(Runtime.java:489)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at java.lang.System.loadLibrary(System.java:557)
08-01 17:18:39.897 E/AndroidRuntime(15554):	at com.google.ase.Exec.(Exec.java:67)
08-01 17:18:39.897 E/AndroidRuntime(15554):	... 22 more
08-01 17:18:39.907 I/Process ( 4236): Sending signal. PID: 15554 SIG: 3
08-01 17:18:39.927 I/dalvikvm(15554): threadid=7: reacting to signal 3
08-01 17:18:39.937 I/dalvikvm(15554): Wrote stack trace to '/data/anr/traces.txt'
08-01 17:18:41.136 E/SurfaceComposerClient( 4236): openGlobalTransaction() called more than once. skipping.
08-01 17:18:41.136 E/SurfaceComposerClient( 4236): Not in transaction (client=0x857b9a8, SurfaceID=0, mTransactionOpen=0
08-01 17:18:41.147 W/WindowManager( 4236): Error updating surface in Window{b0556a78 Toast paused=false}
08-01 17:18:41.147 W/WindowManager( 4236): java.lang.IllegalArgumentException
08-01 17:18:41.147 W/WindowManager( 4236):	at android.view.Surface.setAlpha(Native Method)
08-01 17:18:41.147 W/WindowManager( 4236):	at com.android.server.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:10375)
08-01 17:18:41.147 W/WindowManager( 4236):	at com.android.server.WindowManagerService.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:9437)
08-01 17:18:41.147 W/WindowManager( 4236):	at com.android.server.WindowManagerService.access$2200(WindowManagerService.java:141)
08-01 17:18:41.147 W/WindowManager( 4236):	at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:9002)
08-01 17:18:41.147 W/WindowManager( 4236):	at android.os.Handler.dispatchMessage(Handler.java:99)
08-01 17:18:41.147 W/WindowManager( 4236):	at android.os.Looper.loop(Looper.java:123)
08-01 17:18:41.147 W/WindowManager( 4236):	at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:585)
08-01 17:18:41.147 D/WindowManager( 4236): $$$$$$$$$$$$$$$$$$$$$$$$$$$$ reclaimSomeSurfaceMemoryLocked $$$$$$$$$$$$$$$$$$$$$$$$$$$$$
08-01 17:18:41.167 D/WindowManager( 4236): Calling echo 3 > /proc/sys/vm/drop_caches to flush caches for memory
08-01 17:18:41.187 E/WindowManager( 4236): Error to drop caches
08-01 17:18:41.187 E/WindowManager( 4236): java.io.IOException: Error running exec(). Commands: [echo, 3, >, /proc/sys/vm/drop_caches] Working Directory: null Environment: null
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.ProcessManager.exec(ProcessManager.java:196)
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.Runtime.exec(Runtime.java:225)
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.Runtime.exec(Runtime.java:313)
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.Runtime.exec(Runtime.java:246)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService.reclaimSomeSurfaceMemoryLocked(WindowManagerService.java:10758)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:10383)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:9437)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService.access$2200(WindowManagerService.java:141)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:9002)
08-01 17:18:41.187 E/WindowManager( 4236):	at android.os.Handler.dispatchMessage(Handler.java:99)
08-01 17:18:41.187 E/WindowManager( 4236):	at android.os.Looper.loop(Looper.java:123)
08-01 17:18:41.187 E/WindowManager( 4236):	at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:585)
08-01 17:18:41.187 E/WindowManager( 4236): Caused by: java.io.IOException: Permission denied
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.ProcessManager.exec(Native Method)
08-01 17:18:41.187 E/WindowManager( 4236):	at java.lang.ProcessManager.exec(ProcessManager.java:194)
08-01 17:18:41.187 E/WindowManager( 4236):	... 11 more
08-01 17:18:41.246 I/DumpStateReceiver( 4236): Added state dump to 1 crashes
08-01 17:18:41.306 I/Process (15554): Sending signal. PID: 15554 SIG: 9
08-01 17:18:41.316 I/ActivityManager( 4236): Process com.protocol.x.su.fbs (pid 15554) has died.
08-01 17:18:41.316 I/MidWindowManager( 4236): mLidOpen: false lidOpen:false
08-01 17:18:41.326 W/GoWidgetManager( 4321): invoke resume Widget err, widget id = -103
08-01 17:18:41.386 I/UsageStats( 4236): Unexpected resume of com.gau.go.launcherex while already resumed in com.protocol.x.su.fbs
08-01 17:18:41.406 D/vold ( 4408): [UEVENT] Sq: 4357 S: uids A: 1 P: /kernel/uids/10066
08-01 17:18:41.406 D/vold ( 4408): DEVPATH=/kernel/uids/10066
08-01 17:18:41.406 D/vold ( 4408): No uevent handlers registered for 'uids' subsystem
08-01 17:18:41.486 W/InputManagerService( 4236): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b0639c50
08-01 17:18:41.506 D/dalvikvm(15529): GC freed 7286 objects / 541720 bytes in 124ms

Why is this? The data partition is mounted r/w and the /data/data//lib/ has the correct permissions (checked on my phone [LG GT540 using CM7], along with the rest of the path to it)

Theming:

When I try to theme using Metamorph & Ninjamorph (no recovery, see below) the theme gets undone on reboot and you must reboot to apply framework themes. It also doesn't apply changes to /data/app apks or /system/app ones. Any ideas why? Also, it doesn't have the folder /system/etc/init.d or /data/etc/init.d, so I can't check the boot process. Any help with this? I can't get logcat as it IS my pc, so no adb via USB.

Terminal Emulator and flashing:

When I try to use the flash_image command, it gives me a Syntax Error 3, token "(" expected

I used the command flash_image recovery /sdcard/recovery.img

If I use flash_image (all other commands fail with the same error with the same error as above)

it gives me Syntax error: newline unexpected.

This happens in Better terminal emulator pro v3.38 and DevTools' Terminal Emulator (Jackpal's terminal and Google's Termial Force Close, along with SUFBS, with library errors [see above])