patchrom icon indicating copy to clipboard operation
patchrom copied to clipboard

miui-framework prob v6

Open Zoldyck07 opened this issue 9 years ago • 13 comments

how to fix this?

build out/MiuiFramework.apk... cp: cannot stat ‘MiuiFramework’: No such file or directory /home/alfa/patchrom/build/porting.mk:326: recipe for target 'out/MiuiFramework.apk' failed make: *** [out/MiuiFramework.apk] Error

Zoldyck07 avatar May 09 '15 05:05 Zoldyck07

refer to patchrom_nexus5

Omnioculars avatar May 09 '15 06:05 Omnioculars

give the detail bro ? :D

Zoldyck07 avatar May 09 '15 06:05 Zoldyck07

I skip that one by delete MiuiFramework from makefile now I got this / Traceback (most recent call last): File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 884, in main(sys.argv[1:]) File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 852, in main WriteFullOTAPackage(input_zip, output_zip) File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 401, in WriteFullOTAPackage device_specific.FullOTA_Assertions() File "/home/alfa/patchrom/tools/releasetools/common.py", line 690, in FullOTA_Assertions return self._DoCall("FullOTA_Assertions") File "/home/alfa/patchrom/tools/releasetools/common.py", line 679, in DoCall getattr(self.miui_module, function_name)(((self,) + args), *_kwargs) File "/home/alfa/patchrom/tools/releasetools/miui_releasetools.py", line 6, in FullOTA_Assertions info.script.Mount("/data") File "/home/alfa/patchrom/tools/releasetools/edify_generator.py", line 140, in Mount p = fstab[mount_point] KeyError: '/data' /home/alfa/patchrom/build/porting.mk:439: recipe for target 'fullota' failed make: *** [fullota] Error 1

Zoldyck07 avatar May 09 '15 06:05 Zoldyck07

Reset MiuiFramework in makefile, can't delete it. And check the file metadata/recovery.fstab.

Omnioculars avatar May 09 '15 07:05 Omnioculars

yup i fixed recovery.fstab now I'm facing this Traceback (most recent call last): File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 884, in main(sys.argv[1:]) File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 852, in main WriteFullOTAPackage(input_zip, output_zip) File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 432, in WriteFullOTAPackage Item.GetMetadata(input_zip) File "/home/alfa/patchrom/tools/releasetools/ota_from_target_files", line 163, in GetMetadata name, uid, gid, mode = columns[:4] ValueError: need more than 2 values to unpack /home/alfa/patchrom/build/porting.mk:439: recipe for target 'fullota' failed make: *** [fullota] Error 1

Zoldyck07 avatar May 09 '15 07:05 Zoldyck07

even i face the same issue. any solutions to this

rajesheber avatar May 12 '15 11:05 rajesheber

So extracting errors depend of recovery.fstab? consider i unmount data partition from cwm and fetch this error during patchrom for samsung galaxy s2 plus File "/home/haky86/patchrom/tools/releasetools/ota_from_target_files", line 884, in main(sys.argv[1:]) File "/home/haky86/patchrom/tools/releasetools/ota_from_target_files", line 852, in main WriteFullOTAPackage(input_zip, output_zip) File "/home/haky86/patchrom/tools/releasetools/ota_from_target_files", line 401, in WriteFullOTAPackage device_specific.FullOTA_Assertions() File "/home/haky86/patchrom/tools/releasetools/common.py", line 690, in FullOTA_Assertions return self._DoCall("FullOTA_Assertions") File "/home/haky86/patchrom/tools/releasetools/common.py", line 679, in DoCall getattr(self.miui_module, function_name)(((self,) + args), *_kwargs) File "/home/haky86/patchrom/tools/releasetools/miui_releasetools.py", line 6, in FullOTA_Assertions info.script.Mount("/data") File "/home/haky86/patchrom/tools/releasetools/edify_generator.py", line 140, in Mount p = fstab[mount_point] KeyError: '/data'

ghost avatar May 26 '15 10:05 ghost

@hak86 could you show you recovery fstab in the metadata folder?

caelin99 avatar Aug 27 '15 17:08 caelin99

done, i patchrom miui v6 and now v7 for s2 plus @caelin99 :+1: :)

ghost avatar Aug 27 '15 17:08 ghost

@hak86 hahaha alright! Can I ask you, have you ever had trouble with this issue?: http://en.miui.com/forum.php?mod=viewthread&tid=150827&extra=page%3D2&mobile=2

caelin99 avatar Aug 27 '15 17:08 caelin99

to be honest, yes and no, which java use? i done everything such as workspace, fristpatch and fullota using java 7 oracle, only this error? nothing before? @caelin99

ghost avatar Aug 27 '15 17:08 ghost

@I use Java 6, but I only executed ota_target_from_phone and ota_from_target_files. I used to get an error for mounting /data, but I fixed my recovery.fstab Now I only get ValueError

caelin99 avatar Aug 27 '15 18:08 caelin99

@i oops i meant to tag @hak86 haha

caelin99 avatar Aug 27 '15 18:08 caelin99