[SOLVED]Problem with signing in patchrom


Mar 12, 2013
12
1
13
#1
Hello guys,
I encounter this problem:
Code:
To add prebuilt apps
To add prebuilt libraries
#@ cp -f /home/sijav/patchrom/miui/HDPI/system/framework/miui-framework.jar out/ZIP/system/framework/
#@ cp -f /home/sijav/patchrom/miui/HDPI/system/lib/libjni_latinime.so out/ZIP/system/lib/
To add prebuilt media files
To add prebuilt files under etc
#@ cp -f /home/sijav/patchrom/miui/HDPI/system/etc/permissions/miui-framework.xml out/ZIP/system/etc/permissions/
#@ cp -f /home/sijav/patchrom/miui/HDPI/system/etc/unicode_py_index.td out/ZIP/system/etc/
To add LBESEC_MIUI
Add miui prebuilt completed!
/home/sijav/patchrom/tools/set_build_prop.sh out/ZIP/system/build.prop /home/sijav/patchrom/nypone 02.20130527.050142
>>> To build out target file: fullota.zip ...
/home/sijav/patchrom/tools/build_target_files.sh  false fullota.zip
Copy target file template into current working directory
Copy bootimage
Copy system dir
Copy miui preinstall apps
Process metadata
Recovery link files success
Compress the target_files dir into zip file
/home/sijav/patchrom/nypone/out/target_files
zip -q -r -y /home/sijav/patchrom/nypone/out/target_files.zip *
/home/sijav/patchrom/nypone
Sign target files
    signing: Userbook.apk                                  (/home/sijav/patchrom/build/security/platform)
Traceback (most recent call last):
  File "/home/sijav/patchrom/tools/releasetools/sign_target_files_apks", line 354, in <module>
    main(sys.argv[1:])
  File "/home/sijav/patchrom/tools/releasetools/sign_target_files_apks", line 341, in main
    SignApks(input_zip, output_zip, apk_key_map, key_passwords)
  File "/home/sijav/patchrom/tools/releasetools/sign_target_files_apks", line 153, in SignApks
    signed_data = SignApk(data, key, key_passwords[key])
  File "/home/sijav/patchrom/tools/releasetools/sign_target_files_apks", line 131, in SignApk
    common.SignFile(unsigned.name, signed.name, keyname, pw, align=4)
  File "/home/sijav/patchrom/tools/releasetools/common.py", line 366, in SignFile
    p = Run(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/home/sijav/patchrom/tools/releasetools/common.py", line 62, in Run
    return subprocess.Popen(args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
as you can see It's a problem for signing!
Not sure why I'm getting this error,
It worked perfectly when I first installed 64 bit 12.04 version of Ubuntu without any restarts!
and I already have a fullota package!!
but after a full updates and restarting I'm encounter above error!
I did re install my ubuntu but still I get the same error,
Did I accidentally delete something? Please tell me!
Do I have to do something before making fullota again? I insist please tell me :D
And For information purpose only I have a metadata folder in nypone (my device name folder) and I have already build an apkcert.txt file with certificates!
thnx in advance for your replay and time ;)