[DEV] [CyanogenMod] [Omnirom] Android 6.0.1 for MediaTek devices

Search This thread

ferhung

Senior Member
Apr 15, 2012
194
267
Yeah, but this is only happens in the videos that I record with the app screencast, the oficial app of cm13 for screenrecording. In the other videos doesn't happen....

So then? I told that how to fix it.

Sent from my m2 using XDA Free mobile app
 
Last edited:

Typhus_

Senior Member
  • Jan 9, 2013
    1,235
    1,453
    41
    Lisbon
    www.facebook.com
    Xiaomi Mi A1
    Xiaomi Mi A3
    Please, could anyone confirm if it has a 4G capable SIM card and that has mobile network (and data) while using CM13?

    I'm just trying to figure out why my SIM doesn't work on CM13.

    My SIM card is 4G capable. I've tested with another one that it isn't and that one worked.

    Please, anyone?

    Help me understand why my SIM card (and others 4G capable that I've tested) doesn't work.
     

    DheaApriandi

    Senior Member
    Nov 9, 2014
    55
    52
    Cirebon
    HTML:
    /bin/bash: mvn: command not found
    make: *** [/home/dhea/cm13/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.2.aar] Error 127
    make: *** Waiting for unfinished jobs....
    make: Leaving directory `/home/dhea/cm13'

    can you help me :( @ferhung
     

    addictz10

    Senior Member
    Nov 19, 2012
    601
    718
    Yes. I fixed camera from source, But not to release the source which is protected by MTK company.

    Sent from my m2 using XDA Free mobile app

    Good day bro, do you have huawei 3x? if yes, so you have mt6592? we mt6592 users still scratching head trying to fix camera on cm13 :( . any ideas? always cam cant connect when opening cam. Thanks :D
     

    DheaApriandi

    Senior Member
    Nov 9, 2014
    55
    52
    Cirebon
    I can't open pastebin. Copy here Plz.

    Sent from my m2 using XDA Free mobile app

    HTML:
    Target system fs image: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img
    Running:  mkuserimg.sh -s /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 943718400 -D /home/dhea/omni/out/target/product/A66A/system -L system /home/dhea/omni/out/target/product/A66A/root/file_contexts
    make_ext4fs -s -T -1 -S /home/dhea/omni/out/target/product/A66A/root/file_contexts -L system -l 943718400 -a system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/system
    Creating filesystem with parameters:
        Size: 943718400
        Block size: 4096
        Blocks per group: 32768
        Inodes per group: 7200
        Inode size: 256
        Journal blocks: 3600
        Label: system
        Blocks: 230400
        Block groups: 8
        Reserved block group size: 63
    Created filesystem with 1936/57600 inodes and 127925/230400 blocks
    Install system fs image: /home/dhea/omni/out/target/product/A66A/system.img
    /home/dhea/omni/out/target/product/A66A/system.img+ maxsize=963477504 blocksize=135168 total=510064944 reserve=9732096
    Package target files: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip
    
    
    ++++ boot ++++
    
    
    using prebuilt boot.img from BOOTABLE_IMAGES...
    
    
    ++++ recovery ++++
    
    
    using prebuilt recovery.img from BOOTABLE_IMAGES...
    
    
    ++++ system ++++
    
    
    creating system.img...
    Running:  mkuserimg.sh -s /tmp/targetfiles-yYadtB/system /tmp/system-0QKA4W.img ext4 system 943718400 -T 1230742800 -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contexts
    make_ext4fs -s -T 1230742800 -S /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contexts -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system -l 943718400 -a system /tmp/system-0QKA4W.img /tmp/targetfiles-yYadtB/system
    loaded 1926 fs_config entries
    Creating filesystem with parameters:
        Size: 943718400
        Block size: 4096
        Blocks per group: 32768
        Inodes per group: 7200
        Inode size: 256
        Journal blocks: 3600
        Label: system
        Blocks: 230400
        Block groups: 8
        Reserved block group size: 63
    Created filesystem with 1936/57600 inodes and 127925/230400 blocks
    Running:  simg2img /tmp/system-0QKA4W.img /tmp/unsparse_system-0QKA4W.img
    error: file_write: incomplete write
    Cannot write output file
    Traceback (most recent call last):
      File "./build/tools/releasetools/add_img_to_target_files", line 355, in <module>
        main(sys.argv[1:])
      File "./build/tools/releasetools/add_img_to_target_files", line 349, in main
        AddImagesToTargetFiles(args[0])
      File "./build/tools/releasetools/add_img_to_target_files", line 309, in AddImagesToTargetFiles
        AddSystem(output_zip, recovery_img=recovery_image, boot_img=boot_image)
      File "./build/tools/releasetools/add_img_to_target_files", line 69, in AddSystem
        block_list=block_list)
      File "./build/tools/releasetools/add_img_to_target_files", line 77, in BuildSystem
        return CreateImage(input_dir, info_dict, "system", block_list=block_list)
      File "./build/tools/releasetools/add_img_to_target_files", line 160, in CreateImage
        assert succ, "build " + what + ".img image failed"
    AssertionError: build system.img image failed
    make: *** [/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip] Error 1
    make: *** Deleting file `/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip'
     

    ferhung

    Senior Member
    Apr 15, 2012
    194
    267
    HTML:
    Target system fs image: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.imgRunning:  mkuserimg.sh -s /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 943718400 -D /home/dhea/omni/out/target/product/A66A/system -L system /home/dhea/omni/out/target/product/A66A/root/file_contextsmake_ext4fs -s -T -1 -S /home/dhea/omni/out/target/product/A66A/root/file_contexts -L system -l 943718400 -a system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/systemCreating filesystem with parameters:    Size: 943718400    Block size: 4096    Blocks per group: 32768    Inodes per group: 7200    Inode size: 256    Journal blocks: 3600    Label: system    Blocks: 230400    Block groups: 8    Reserved block group size: 63Created filesystem with 1936/57600 inodes and 127925/230400 blocksInstall system fs image: /home/dhea/omni/out/target/product/A66A/system.img/home/dhea/omni/out/target/product/A66A/system.img+ maxsize=963477504 blocksize=135168 total=510064944 reserve=9732096Package target files: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip++++ boot ++++using prebuilt boot.img from BOOTABLE_IMAGES...++++ recovery ++++using prebuilt recovery.img from BOOTABLE_IMAGES...++++ system ++++creating system.img...Running:  mkuserimg.sh -s /tmp/targetfiles-yYadtB/system /tmp/system-0QKA4W.img ext4 system 943718400 -T 1230742800 -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contextsmake_ext4fs -s -T 1230742800 -S /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contexts -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system -l 943718400 -a system /tmp/system-0QKA4W.img /tmp/targetfiles-yYadtB/systemloaded 1926 fs_config entriesCreating filesystem with parameters:    Size: 943718400    Block size: 4096    Blocks per group: 32768    Inodes per group: 7200    Inode size: 256    Journal blocks: 3600    Label: system    Blocks: 230400    Block groups: 8    Reserved block group size: 63Created filesystem with 1936/57600 inodes and 127925/230400 blocksRunning:  simg2img /tmp/system-0QKA4W.img /tmp/unsparse_system-0QKA4W.imgerror: file_write: incomplete writeCannot write output fileTraceback (most recent call last):  File "./build/tools/releasetools/add_img_to_target_files", line 355, in     main(sys.argv[1:])  File "./build/tools/releasetools/add_img_to_target_files", line 349, in main    AddImagesToTargetFiles(args[0])  File "./build/tools/releasetools/add_img_to_target_files", line 309, in AddImagesToTargetFiles    AddSystem(output_zip, recovery_img=recovery_image, boot_img=boot_image)  File "./build/tools/releasetools/add_img_to_target_files", line 69, in AddSystem    block_list=block_list)  File "./build/tools/releasetools/add_img_to_target_files", line 77, in BuildSystem    return CreateImage(input_dir, info_dict, "system", block_list=block_list)  File "./build/tools/releasetools/add_img_to_target_files", line 160, in CreateImage    assert succ, "build " + what + ".img image failed"AssertionError: build system.img image failedmake: *** [/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip] Error 1make: *** Deleting file `/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip'

    Check your setting of partition size or recovery.fstab.
    Make the recovery.fstab as a omnirom's rule.

    Sent from my m2 using XDA Free mobile app
     
    Last edited:

    Surajlad9

    Senior Member
    Feb 19, 2015
    68
    32
    Mumbai
    Check my posts in this thread.

    Sent from my m2 using XDA Free mobile app

    Sir, Can You Suggest an Camera Fix For MT6592 ?
    On Cross port From MT6582, Camera is Not working at All, Not even Latest Build of Hyperion :(
    will It Needs To Fix From Source Only ? Any Workaround For us to Use Sprout Lib's and Make It work ?
     

    Top Liked Posts

    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone