Pachrom error when porting to wave

Discussion in 'Porting Advice/Help' started by ihavenick, Apr 25, 2013.

  1. ihavenick

    ihavenickMembers

    Apr 25, 2013
    2
    0
    11
    Male
    I get this error and doesnt know how to fix it.I searched it on google and no answer find.
    So i will ask to there
    Code:
    pull: /system/build.prop -> /home/ihavenick/patchrom/wave/out/target_files/SYSTEM/build.prop
    3897 files pulled. 0 files skipped.
    1284 KB/s (411634334 bytes in 312.842s)
    Remount /system to be writable
    remount succeeded
    Run getfilesysteminfo to build filesystem_config.txt
    130 KB/s (5572 bytes in 0.041s)
    Run getfilesysteminfo and recoverylink.py to recover symlink
    Recovery link files success
    Build apkcerts.txt
    1511 KB/s (251784 bytes in 0.162s)
    Generate metadata used to build target files...
    Compress the target_files dir into zip file
    /home/ihavenick/patchrom/wave
    Build full ota package: /home/ihavenick/patchrom/wave/stockrom.zip
    Traceback (most recent call last):
      File "../tools/releasetools/ota_from_target_files", line 76, in <module>
        import common
      File "/home/ihavenick/patchrom/tools/releasetools/common.py", line 42, in <module>
        OPTIONS.search_path = os.path.join(os.environ["PORT_ROOT"], "tools");
      File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
        raise KeyError(key)
    KeyError: 'PORT_ROOT'
    
    How to fix KeyError: "PORT_ROOT"

     
  2. 1982Strand

    1982StrandMembers

    Apr 2, 2011
    204
    10
    40
    What commands are you running?

    Sendt fra min GT-I9300 med Tapatalk2
     
  3. ihavenick

    ihavenickMembers

    Apr 25, 2013
    2
    0
    11
    Male
    I am used commands from https://github.com/MiCode/patchrom "readme"But i passed this error via ota_from_phone from real andorid source.

    But now its wants signapk pass. but i dont know it.Maybe i must change it too?
     

Share Our Site