[Galaxy S III Q&A, Help & Troubleshooting] homeplayer:
Update problem.

Trying to update PA, i get parsing errors in recovery.

Fresh download of PA,

Error assert failed: getprop("ro.product.device") == " getprop("ro.build.product") == "m0"

E: Error in ...PA~.zip

(Status 7)

This is the origanal updater-script

pa_i9300-3.57-06JUN2013-065625.zip\META-INF\com\google\android\updater-script

assert(
getprop("ro.product.device") == "m0" ||
getprop("ro.build.product") == "m0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
--snip--

After edit whit this guide, http://xdaforums.com/showpost.php?p=42238811&postcount=4695&nocache=1&z=5435450691729784

assert(getprop("ro.product.device") == "m0" || getprop("ro.build.product") == "m0" ||
getprop("ro.product.device") == "i9300" || getprop("ro.build.product") == "i9300" ||
getprop("ro.product.device") == "GT-I9300" || getprop("ro.build.product") == "GT-I9300");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
--snip--

I get Error flashing zip, (Status 6)

TWR project v2.3.3.0

TWR log;

Starting TWRP 2.3.3.0 on Sat Jun 8 08:22:24 2013
I:Internal path defined: '/data/media'
I:External path defined: '/external_sd'
I:Mount: Unable to find partition for path '/data' <----------------------------------
Starting the UI...Pixel format: 720x1280 @ 32bpp
Pixel format: BGR_565
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/efs'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/cache'
I:Processing '/system'
I:Processing '/data'
I:Processing '/preload'
I:Processing '/external_sd'
I:Created '/external_sd' folder.
Updating partition details...
I:Data backup size is 343MB, size: 11622MB, used: 592MB, free: 10869MB, in data/media: 248MB.
I:Unmounting main partitions...

Partition Logs:
/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 8MB Free: 11MB Backup Size: 8MB
Flags: Can_Be_Wiped IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: efs
Backup_Path: /efs
Backup_Name: efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/boot | /dev/block/mmcblk0p5 | Size: 8MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p5
Display_Name: boot
Backup_Path: /boot
Backup_Name: boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p6 | Size: 8MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p6
Display_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/cache | /dev/block/mmcblk0p8 | Size: 1007MB Used: 17MB Free: 990MB Backup Size: 17MB
Flags: Can_Be_Wiped Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/system | /dev/block/mmcblk0p9 | Size: 1511MB Used: 352MB Free: 1159MB Backup Size: 352MB
Flags: Can_Be_Wiped Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: System
Backup_Path: /system
Backup_Name: system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p12 | Size: 11622MB Used: 592MB Free: 10869MB Backup Size: 343MB
Flags: Can_Be_Wiped Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Is_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Data
Backup_Path: /data
Backup_Name: data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/preload | /dev/block/mmcblk0p10 | Size: 551MB Used: 103MB Free: 447MB Backup Size: 103MB
Flags: Can_Be_Wiped IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: preload
Backup_Path: /preload
Backup_Name: preload
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/external_sd | /dev/block/mmcblk1p1 | Size: 30326MB Used: 0MB Free: 30325MB Backup Size: 0MB
Flags: Can_Be_Wiped Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: external_sd
Backup_Path: /external_sd
Backup_Name: external_sd
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/4df1cfbf48fd5f25' <---------------------------------------------
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Switching packages (TWRP)
I:Set page: 'clear_vars'
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76L
ro.build.display.id=cm_i9300-eng 4.0.4 IMM76L eng.dees_troy.20121219.165635 test-keys
ro.build.version.incremental=eng.dees_troy.20121219.165635
ro.build.version.sdk=15
I:Set page: 'main2'
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Wed Dec 19 16:56:46 UTC 2012
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=dees_troy
ro.build.host=ded1.ktechnology.net
ro.build.tags=test-keys
ro.product.model=GT-I9300
ro.product.brand=samsung
ro.product.name=cm_i9300
ro.product.device=i9300
ro.product.board=smdk4x12
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=exynos4
ro.build.product=i9300
ro.build.description=cm_i9300-eng 4.0.4 IMM76L eng.dees_troy.20121219.165635 test-keys
ro.build.fingerprint=samsung/cm_i9300/i9300:4.0.4/IMM76L/eng.dees_troy.20121219.165635:eng/test-keys
ro.build.characteristics=default
ro.cm.device=i9300
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9.0.0-RC0-i9300-UNOFFICIAL
ro.modversion=9.0.0-RC0-i9300-UNOFFICIAL
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=4df1cfbf48fd5f25
ro.bootmode=unknown <---------------------------------------------------------------
ro.baseband=unknown <---------------------------------------------------------------
ro.carrier=unknown <---------------------------------------------------------------
ro.bootloader=localbuild
ro.hardware=smdk4x12
ro.revision=12
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=restarting
adb.recovery=1
service.adb.root=1

I:Attempt to load settings from settings file...
I:Version number saved to '/data/media/0/TWRP/.version'
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/sdcard/pa_i9300-3.57-06JUN2013-065625 (1).zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
line 1 col 87: syntax error, unexpected BAD, expecting IF or STRING or '!' or '(' <-------------------------------------------------
1 parse errors
E:Error in /sdcard/pa_i9300-3.57-06JUN2013-065625 (1).zip
(Status 6)
Error flashing zip '/sdcard/pa_i9300-3.57-06JUN2013-065625 (1).zip'
Updating partition details...
I:Data backup size is 343MB, size: 11622MB, used: 592MB, free: 10869MB, in data/media: 248MB.
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'

In the error log i have put some " <---------------------------------------------------------------" where the problem could be.

Maybe someone knows how to resolve my update problems.

Thanks

SOLVED

Use PhilZ Touch 5 Recovery