Quantcast
Channel: admin » TWRP
Viewing all articles
Browse latest Browse all 1595

Compiling Recovery E5-SM500 BUG TWRP

$
0
0

Hello Guys.
I am new at developing for android.
Have some problems compiling the TWRP for this device. I know that the recovery is already compiled, but I am doing this for learning purpose.
Device Tree: https://github.com/E5-CyanogenMod/an…amsung_e5ltexx
Kenel: https://github.com/E5-CyanogenMod/an…amsung_e5ltexx

The problem is when i use TWRP. I am using branch "android-5.1"
This is the error message:

Code:

bootable/recovery/minui/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minui/graphics_overlay.c:151:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
    ionAllocData.heap_id_mask =
                ^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minuitwrp/graphics_overlay.c:163:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
    ionAllocData.heap_id_mask =
                ^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'allocate_overlay':
bootable/recovery/minuitwrp/graphics_overlay.c:205:5: warning: implicit declaration of function 'isDisplaySplit' [-Wimplicit-function-declaration]
    if (!isDisplaySplit()) {
    ^
bootable/recovery/minuitwrp/graphics_overlay.c:231:9: warning: implicit declaration of function 'getFbXres' [-Wimplicit-function-declaration]
        float xres = getFbXres();
        ^
bootable/recovery/minuitwrp/graphics_overlay.c:232:9: warning: implicit declaration of function 'getLeftSplit' [-Wimplicit-function-declaration]
        int lSplit = getLeftSplit();
        ^
target Executable: erase_image (/home/eabz/cm12/out/target/product/e5lte/obj/RECOVERY_EXECUTABLES/erase_image_intermediates/LINKED/erase_image)
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/STATIC_LIBRARIES/libminui_intermediates/graphics_overlay.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/graphics_overlay.o] Error 1


If someone knows how to fix?


Viewing all articles
Browse latest Browse all 1595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>