TPK Installation Failure on Z1 Device with FATAL_ERROR[61]

Original Created Apr 29, 2016 | Regeneration Apr 22, 2026

I'm attempting to install the BasicUI native app sample on a Z1 device but consistently encounter FATAL_ERROR[61]. Here are the details:

Installation Log:

[Deploying the package...]
   RDS: On
[Creating the package...]
   Created package: C:\Users\yyang\workspace\BasicUI\Release\org.example.basicui-1.0.0-arm.tpk
[Transferring the package...]
   Transferred package to: /opt/usr/apps/tmp
[Installing the package...]
   Uninstalling previous package...
   Path: /opt/usr/apps/tmp/org.example.basicui-1.0.0-arm.tpk
   Start process (install)
   Error: 0
   End process (fail)
   Processing result: FATAL_ERROR [61] failed
   Time spent: 3221ms
   cmd_ret:61

Error from sdb dlog:

04-28 12:23:42.992 : ERROR / PKGMGR_SERVER ( 7930 : 7930 ) : pkgmgr-server.c: main(1608) > server start
04-28 12:23:43.232 : ERROR / rpm-installer ( 7934 : 7934 ) : rpm-appcore-intf.c: main(197) > [/opt/usr/apps/tmp/org.example.basicui-1.0.0-arm.tpk] is tpk package.
04-28 12:23:43.262 : ERROR / rpm-installer ( 7934 : 7934 ) : rpm-installer-core.c: _rpm_installer_get_pkgname_info(297) > first installation, pkgid=[org.example.basicui]
04-28 12:23:44.182 : ERROR / PKGMGR_PARSER ( 7934 : 7934 ) : pkgmgr_parser.c: pkgmgr_parser_check_manifest_validation(2401) > Manifest Validation Failed with error code 1866
04-28 12:23:44.182 : ERROR / rpm-installer ( 7934 : 7934 ) : coretpk-installer.c: _coretpk_installer_package_install(2590) > invalid manifest file

Steps I've verified:

  1. Completed all certificate processes (author.p12 and distributor.p12) through IDE successfully
  2. Enabled "permit to install applications" via Connection Explorer
  3. Confirmed DUID matches the device
  4. Verified device date/time are correct

Environment:

  • Tizen SDK 2.4 Rev5 with Certificate Extension SDK
  • Windows 8 64-bit
  • Tried both api_version 2.4 and 2.3

The tizen-manifest.xml is untouched (default from IDE), yet pkgcmd reports it as invalid. Any suggestions?

Problem Understanding

The FATAL_ERROR[61] typically indicates a certificate-related issue during TPK installation. The specific error (Manifest Validation Failed with error code 1866) suggests there's a problem with the package's manifest validation.

Solution Methods

  1. Verify Device Profile Configuration:

    • Ensure your device-profile.xml is properly configured in /home/developer
    • Confirm the DUID in device-profile.xml matches your device's actual DUID
  2. Check Certificate Chain:

    • Revalidate your certificate chain (author and distributor certificates)
    • Ensure certificates are properly registered in Tizen Studio
  3. Manifest File Validation:

    • Review your tizen-manifest.xml for any inconsistencies
    • Compare with a working sample manifest
    • Pay special attention to:
      • Package ID format
      • API version compatibility
      • Required permissions
  4. Clean Rebuild:

    • Clean your project and rebuild
    • Generate new certificates if needed
    • Try creating a fresh TPK package

Additional Tips

  • For commercial devices like SM-Z130H/SM-Z300H, certificate requirements are stricter than reference devices
  • Consider testing with a simpler application first to isolate the issue
  • Check Samsung Tizen OS documentation for updated certificate requirements: Samsung Tizen OS Developer Portal

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.