[Vega Android Development] brotbuexe:
SOLVED. Issue with clockworkmod and a titaniumbackupupdate.zip

Cant install anything after flashing latest version:

I/ActivityManager( 6768): Displayed com.android.packageinstaller/.PackageInstallerActivity: +686ms

I/ActivityManager( 6768): Starting: Intent { dat=file:///mnt/sdcard/vegarecoveryboot.apk cmp=com.android.packageinstaller/.Install

AppProgress (has extras) } from pid 7490

I/ActivityManager( 6768): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=7

544 uid=10018 gids={1015, 2001}

D/dalvikvm( 7544): GC_EXPLICIT freed 48K, 54% free 2506K/5379K, external 0K/0K, paused 24ms

W/ActivityManager( 6768): No content provider found for:

W/dalvikvm( 6768): threadid=11: thread exiting with uncaught exception (group=0x40015560)

E/PackageManager( 6768): Couldn't create temp file for downloaded package file.

E/AndroidRuntime( 6768): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager

E/AndroidRuntime( 6768): java.lang.NullPointerException

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$FileInstallArgs.createCopyFile(PackageManagerService.j

ava:5049)

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$FileInstallArgs.copyApk(PackageManagerService.java:505

7)

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$InstallParams.handleStartCopy(PackageManagerService.ja

va:4853)

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$HandlerParams.startCopy(PackageManagerService.java:470

4)

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$PackageHandler.doHandleMessage(PackageManagerService.j

ava:496)

E/AndroidRuntime( 6768): at com.android.server.PackageManagerService$PackageHandler.handleMessage(PackageManagerService.jav

a:441)

E/AndroidRuntime( 6768): at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 6768): at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 6768): at android.os.HandlerThread.run(HandlerThread.java:60)

I/Process ( 6768): Sending signal. PID: 6768 SIG: 9

and it reboots.

If it could tell where it try to copy to...

mount

rootfs on / type rootfs (ro,relatime)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/mtdblock3 on /system type yaffs2 (ro,relatime)

/dev/block/mtdblock6 on /data type yaffs2 (rw,nosuid,nodev,relatime)

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,relatime)

/dev/block/vold/179:25 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,a

llow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:25 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0

702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 217.9M 0 217.9M 0% /dev

tmpfs 217.9M 0 217.9M 0% /mnt/asec

tmpfs 217.9M 0 217.9M 0% /mnt/obb

/dev/block/mtdblock3 119.6M 106.6M 13.0M 89% /system

/dev/block/mtdblock6 331.1M 37.7M 293.4M 11% /data

/dev/block/mtdblock4 32.0M 1.3M 30.7M 4% /cache

/dev/block/vold/179:25

14.5G 4.0G 10.5G 28% /mnt/sdcard

/dev/block/vold/179:25

14.5G 4.0G 10.5G 28% /mnt/secure/asec

system: pov mobii tegra. wiped in clockwork 2.5.1.8 befor flashing. modaco rom works.

problem was i flashed a update.zip with titatiniumbackup i created in the app. it seems the clockworkmod created the /data/app with root:root instead of system:system...

# ls /data

ls /data

app dalvik-cache lost+found system

app-private data misc

backup dontpanic property

bluez_provider local secure

# ls -l /data

ls -l /data

drwxr-xr-x 1 root root 2048 Apr 2 03:43 app

drwxrwx--x 1 system system 2048 Apr 2 03:43 app-private

drwx------ 1 system system 2048 Apr 2 03:44 backup

drwxrwxrwx 1 root root 2048 Apr 2 03:43 bluez_provider

drwxrwx--x 1 system system 2048 Apr 2 03:44 dalvik-cache

drwxrwx--x 1 system system 2048 Apr 2 03:44 data

drwxr-x--- 1 root log 2048 Apr 2 03:43 dontpanic

drwxrwx--x 1 shell shell 2048 Apr 2 03:43 local

drwxrwx--- 1 root root 2048 Apr 2 03:43 lost+found

drwxrwx--t 1 system misc 2048 Apr 2 03:43 misc

drwx------ 1 root root 2048 Apr 2 03:46 property

drwx------ 1 system system 2048 Apr 2 03:43 secure

drwxrwxr-x 1 system system 2048 Apr 2 03:50 system

# ls -l /data/app

ls -l /data/app

-rw-r--r-- 1 root root 2015200 Aug 1 2008 com.keramidas.TitaniumBackup.apk

used:

chown system:system /data/app

and app install worked...