hello
i have a sm-g901f device and i want to build a working recovery
i tried recovery builder but it doesn't work !?
i can provide my own boot.img and recovery img ..
doudou425 said:
hello
i have a sm-g901f device and i want to build a working recovery
i tried recovery builder but it doesn't work !?
i can provide my own boot.img and recovery img ..
Click to expand...
Click to collapse
i need only someone with a ready build environment ,because i'm not friend with ubuntu
or only porting the only existing recovery (in chinese) to english
thanks
+1 would be great!
Me too, waiting impatiently
doudou425 said:
i need only someone with a ready build environment ,because i'm not friend with ubuntu
or only porting the only existing recovery (in chinese) to english
Click to expand...
Click to collapse
Me too, waiting impatiently.
well I'm not really friends with ubuntu
I reinstall ubuntu for the second time and I will start the whole procedure
Would be awesome if we got a working english-aroma friendly-cwm for our 901f
Finally i have a fully working buid environment
But there's somme problem when compiling ,something about kernel
I dont know how to go ahead .....
What is the exact problem and at which stage of the compiling does it appear ?
Code:
[email protected]:~/tutu$ build/tools/device/mkvendor.sh samsung g901f /home/g901f/boot.img
Arguments: samsung g901f /home/g901f/boot.img
Output will be in /home/denis/tutu/device/samsung/g901f
cp: impossible d'évaluer «/home/g901f/boot.img»: Aucun fichier ou dossier de ce type
build/tools/device/mkvendor.sh : ligne 84 : 3116 Erreur de segmentation (core dumped) unpackbootimg -i $BOOTIMAGEFILE > /dev/null
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: fin prématurée de l'archive
cat: /tmp/denis/bootimg/boot.img-base: Aucun fichier ou dossier de ce type
cat: /tmp/denis/bootimg/boot.img-cmdline: Aucun fichier ou dossier de ce type
cat: /tmp/denis/bootimg/boot.img-pagesize: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer «/tmp/denis/bootimg/boot.img-zImage»: Aucun fichier ou dossier de ce type
unpackbootimg doesn't work with boot.img from g901f (new type inside)
en francais : a priori unpackbootimg ne fonctionne pas avec le type de boot.img en provenance du g901F ,ce serait un nouveau type de boot
Ça c'est rigolo ça je vais me pencher sur la question ce soir mais là comme ca je vois pas.
I found one unpackbootimg that works , to be continued...
J'ai trouvé un unpackbootimg qui fait correctement le boulot , affaire a suivre
Parfait ! C'est du beau boulot tiens nous au jus si ca avance.
Hello guys,
I think we're all French people on this topic but please if you want help, keep posting in English please
I'm also very interested by this topic.
Keep the good work
Franky
bon de nouveau bloqué ,j'ai maintenant mon boot.img correctement "unpacké" je vois bien tous les fichiers demandés
toutefois il faudrait adapter le mkvendor.sh pour ne plus avoir a unpacker le boot.img mais lui dire ou se trouvent les fichiers extraits pour continuer le taff ,mais ca je sais pas faire
voila le mkvendor.sh des fois que quelqu'un sache le modifier
Code:
#!/bin/bash
function usage
{
echo Usage:
echo " $(basename $0) manufacturer device [boot.img]"
echo " The boot.img argument is the extracted recovery or boot image."
echo " The boot.img argument should not be provided for devices"
echo " that have non standard boot images (ie, Samsung)."
echo
echo Example:
echo " $(basename $0) motorola sholes ~/Downloads/recovery-sholes.img"
exit 0
}
MANUFACTURER=$1
DEVICE=$2
BOOTIMAGE=$3
UNPACKBOOTIMG=$(which unpackbootimg)
echo Arguments: [email protected]
if [ -z "$MANUFACTURER" ]
then
usage
fi
if [ -z "$DEVICE" ]
then
usage
fi
ANDROID_TOP=$(dirname $0)/../../../
pushd $ANDROID_TOP > /dev/null
ANDROID_TOP=$(pwd)
popd > /dev/null
TEMPLATE_DIR=$(dirname $0)
pushd $TEMPLATE_DIR > /dev/null
TEMPLATE_DIR=$(pwd)
popd > /dev/null
DEVICE_DIR=$ANDROID_TOP/device/$MANUFACTURER/$DEVICE
if [ ! -z "$BOOTIMAGE" ]
then
if [ -z "$UNPACKBOOTIMG" ]
then
echo unpackbootimg not found. Is your android build environment set up and have the host tools been built?
exit 0
fi
BOOTIMAGEFILE=$(basename $BOOTIMAGE)
echo Output will be in $DEVICE_DIR
mkdir -p $DEVICE_DIR
TMPDIR=/tmp/$(whoami)/bootimg
rm -rf $TMPDIR
mkdir -p $TMPDIR
cp $BOOTIMAGE $TMPDIR
pushd $TMPDIR > /dev/null
unpackbootimg -i $BOOTIMAGEFILE > /dev/null
mkdir ramdisk
pushd ramdisk > /dev/null
gunzip -c ../$BOOTIMAGEFILE-ramdisk.gz | cpio -i
popd > /dev/null
BASE=$(cat $TMPDIR/$BOOTIMAGEFILE-base)
CMDLINE=$(cat $TMPDIR/$BOOTIMAGEFILE-cmdline)
PAGESIZE=$(cat $TMPDIR/$BOOTIMAGEFILE-pagesize)
export SEDCMD="s#__CMDLINE__#$CMDLINE#g"
echo $SEDCMD > $TMPDIR/sedcommand
cp $TMPDIR/$BOOTIMAGEFILE-zImage $DEVICE_DIR/kernel
popd > /dev/null
else
mkdir -p $DEVICE_DIR
touch $DEVICE_DIR/kernel
BASE=10000000
CMDLINE=no_console_suspend
PAGESIZE=00000800
export SEDCMD="s#__CMDLINE__#$CMDLINE#g"
echo $SEDCMD > $TMPDIR/sedcommand
fi
for file in $(find $TEMPLATE_DIR -name '*.template')
do
OUTPUT_FILE=$DEVICE_DIR/$(basename $(echo $file | sed s/\\.template//g))
cat $file | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g | sed -f $TMPDIR/sedcommand | sed s/__BASE__/$BASE/g | sed s/__PAGE_SIZE__/$PAGESIZE/g > $OUTPUT_FILE
done
if [ ! -z "$TMPDIR" ]
then
RECOVERY_FSTAB=$TMPDIR/ramdisk/etc/recovery.fstab
if [ -f "$RECOVERY_FSTAB" ]
then
cp $RECOVERY_FSTAB $DEVICE_DIR/recovery.fstab
fi
if [ -f "$TMPDIR/ramdisk/sbin/htcbatt" ]
then
mkdir -p $DEVICE_DIR/recovery/root/sbin
CHARGER_FILES="/sbin/choice_fn /sbin/htcbatt /sbin/power_test /sbin/offmode_charging /sbin/detect_key"
for f in $CHARGER_FILES
do
if [ -f "$TMPDIR/ramdisk/$f" ]
then
cp $TMPDIR/ramdisk/$f $DEVICE_DIR/recovery/root/sbin
fi
done
cp $TEMPLATE_DIR/init.htc.rc $DEVICE_DIR/recovery/root/init.$DEVICE.rc
fi
fi
mv $DEVICE_DIR/device.mk $DEVICE_DIR/device_$DEVICE.mk
echo Creating initial git repository.
pushd $DEVICE_DIR
git init
git add .
git commit -a -m "mkvendor.sh: Initial commit of $DEVICE"
popd
echo Done!
echo Use the following command to set up your build environment:
echo ' 'lunch cm_$DEVICE-eng
echo And use the follwowing command to build a recovery:
echo ' '. build/tools/device/makerecoveries.sh cm_$DEVICE-eng
edit in English it'll be harder but I make the effort, thank you google trad
I found a version of unpackbootimg that works, I have all the files neccessaires
but we must adapt mkvendor.sh to use the extracted files instead of extract
by modifying slightly mkvendor.sh not delete the temporary file and pasting the extracted files with the new unpackbootimg
I managed to compile a nonfunctional recovery.img because I left everything default I have not changed boardconfig.mk etc. as shown here on step 4: http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device
this test was just to see if the compilation is finalizing ..... and it worked :good:
en french :
en modifiant legerement mkvendor.sh pour ne pas supprimer le dossier temporaire et en collant les fichiers extraits avec le nouveau unpackbootimg
j'ai reussi a compiler un recovery.img non fonctionnel car j'ai tout laissé par defaut je n'ai pas modifié boardconfig.mk etc comme indiqué ici a l'etape 4 : http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device
cet essai etait juste pour voir si la compilation se finalisait ..... et cela a fonctionné :good:
cool
doudou425 said:
J'ai trouvé un unpackbootimg qui fait correctement le boulot , affaire a suivre
Click to expand...
Click to collapse
T'es un pro!!! tiens nous au courant
merci de faire ça. enfin quelque chose a mettre sur mon G901F.
Thanks for doing it. Finally something for my G901F.
It seems that only france got the g901f
Pas de nouvelles bonne nouvelle :angel:
well ,good news chenglu made an english recovery for us
Chenglu said:
http://yun.baidu.com/pcloud/album/f...12765541086&uk=704970239&fsid=913008460800857
Click to expand...
Click to collapse
tested an approved
thank you @Chenglu
cool
doudou425 said:
well ,good news chenglu made an english recovery for us
tested an approved
thank you @Chenglu
Click to expand...
Click to collapse
tested an approuved too, very nice work.
thank you @Chenglu[/QUOTE]
Fine to have an operationnel custom recovery.
testé et approuvé, c'est cool d'avoir un recovery opérationnel.
Hello,
So I started to do my first ever compilation, based on lineageOS, but as long as I tried with three different vendors, kernels and device tree, the following error persist in every try. The commands I use are breakfast tissot and brunch tissot, as suppose, after doing . build/envsetup.sh. So the code is the following:
Code:
brunch tissot
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
make: se entra en el directorio '/home/alvaro/Escritorio/ROM'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
Running kati to generate build-lineage_tissot.ninja...
device/xiaomi/tissot/camera/mm-image-codec/qomx_core/Android.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
*** Build configuration changed: "lineage_tissot-userdebug-{en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,sq_AL,gu_IN,pa_IN,be_BY,bs_BA,ast_ES,lb_LU,ku_IQ,normal xhdpi}" -> "lineage_tissot-userdebug-{en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,sq_AL,gu_IN,pa_IN,be_BY,bs_BA,ast_ES,lb_LU,ku_IQ,normal xxhdpi}"
*** Forcing "make installclean"...
*** rm -rf /home/alvaro/Escritorio/ROM/out/target/product/tissot/data/* /home/alvaro/Escritorio/ROM/out/target/product/tissot/data-qemu/* /home/alvaro/Escritorio/ROM/out/target/product/tissot/userdata-qemu.img /home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES /home/alvaro/Escritorio/ROM/out/host/linux-x86/sdk /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.img /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.ini /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.txt /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.xlb /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.zip /home/alvaro/Escritorio/ROM/out/target/product/tissot/kernel /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.zip.md5sum /home/alvaro/Escritorio/ROM/out/target/product/tissot/data /home/alvaro/Escritorio/ROM/out/target/product/tissot/skin /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/APPS /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/PACKAGING /home/alvaro/Escritorio/ROM/out/target/product/tissot/recovery /home/alvaro/Escritorio/ROM/out/target/product/tissot/root /home/alvaro/Escritorio/ROM/out/target/product/tissot/system /home/alvaro/Escritorio/ROM/out/target/product/tissot/system_other /home/alvaro/Escritorio/ROM/out/target/product/tissot/vendor /home/alvaro/Escritorio/ROM/out/target/product/tissot/oem /home/alvaro/Escritorio/ROM/out/target/product/tissot/dex_bootjars /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/JAVA_LIBRARIES /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/FAKE /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/adbd_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/logd_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/STATIC_LIBRARIES/libfs_mgr_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/init_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/mac_permissions.xml_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/sepolicy_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/sepolicy.recovery_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/init.environ.rc_intermediates
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES/src/lib64/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES/src/lib/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libm.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcutils.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libjemalloc.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libpcre.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblog.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcutils.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblogwrap.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libm.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc++.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblog.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblogwrap.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc++_static.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcrypto.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libdl.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libselinux.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc_common.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libcutils.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libjemalloc.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/liblogwrap.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libm.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/liblog.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libc++_static.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libc_common.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/liblogwrap.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libpackagelistparser.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/liblog.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libbase.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libcutils.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libdl.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libpcre.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libm.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libc.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libc++.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libcrypto.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libselinux.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/init/installd.rc': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/usr/share/zoneinfo/tzdata': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/installd': Permiso denegado
*** Done with the cleaning, now starting the real build.
build/core/binary.mk:37: hal3-test-app uses kernel headers, but does not depend on them!
find: «/home/alvaro/Escritorio/ROM/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates»: No existe el archivo o el directorio
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk:system/app/QtiTelephonyService/QtiTelephonyService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/TimeService/TimeService.apk:system/app/TimeService/TimeService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/datastatusnotification/datastatusnotification.apk:system/app/datastatusnotification/datastatusnotification.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/embms/embms.apk:system/app/embms/embms.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/fastdormancy/fastdormancy.apk:system/app/fastdormancy/fastdormancy.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/shutdownlistener/shutdownlistener.apk:system/app/shutdownlistener/shutdownlistener.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/CNEService/CNEService.apk:system/priv-app/CNEService/CNEService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/MiuiCamera/MiuiCamera.apk:system/priv-app/MiuiCamera/MiuiCamera.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/QtiTetherService/QtiTetherService.apk:system/priv-app/QtiTetherService/QtiTetherService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk:system/priv-app/com.qualcomm.location/com.qualcomm.location.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk:system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/vendor/app/ims/ims.apk:system/vendor/app/ims/ims.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/vendor/app/imssettings/imssettings.apk:system/vendor/app/imssettings/imssettings.apk, use BUILD_PREBUILT instead!
vendor/cm/build/tasks/kernel.mk:159: ***************************************************************
vendor/cm/build/tasks/kernel.mk:160: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:161: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:162: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:163: * source repository to kernel/xiaomi/msm8953
vendor/cm/build/tasks/kernel.mk:164: * for more information *
vendor/cm/build/tasks/kernel.mk:165: ***************************************************************
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/QtiTelephonyService/QtiTelephonyService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/QtiTelephonyService/QtiTelephonyService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/TimeService/TimeService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/TimeService/TimeService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/datastatusnotification/datastatusnotification.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/datastatusnotification/datastatusnotification.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/embms/embms.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/embms/embms.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/fastdormancy/fastdormancy.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/fastdormancy/fastdormancy.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/shutdownlistener/shutdownlistener.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/shutdownlistener/shutdownlistener.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/mm-qcamera-app'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/mm-qcamera-app'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/wcnss_service'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/wcnss_service'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35532_fhd_video_mode_dsi_panel.xml'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35532_fhd_video_mode_dsi_panel.xml'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35596_tianma_fhd_video_mode_dsi_panel.xml'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35596_tianma_fhd_video_mode_dsi_panel.xml'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/com.qti.location.sdk.jar'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/com.qti.location.sdk.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/qcrilhook.jar'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/qcrilhook.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/audio.primary.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/audio.primary.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/camera.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/camera.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/sensors.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/sensors.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmm-qcamera.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmm-qcamera.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmcamera_interface.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmcamera_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmjpeg_interface.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmjpeg_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libqomx_core.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libqomx_core.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/audio.primary.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/audio.primary.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/sensors.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/sensors.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/CNEService/CNEService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/CNEService/CNEService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/QtiTetherService/QtiTetherService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/QtiTetherService/QtiTetherService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/ims.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/ims.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimscamera_jni.so'
./device/xiaomi/tissot/Android.mk:59: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimscamera_jni.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so'
./device/xiaomi/tissot/Android.mk:59: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/imssettings/imssettings.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/imssettings/imssettings.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libsdm-disp-apis.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libsdm-disp-apis.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libtime_genoff.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libtime_genoff.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_detected_face_hal.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_detected_face_hal.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_face_beautify_hal.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_face_beautify_hal.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libsdm-disp-apis.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libsdm-disp-apis.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libtime_genoff.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libtime_genoff.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/KERNEL_OBJ/usr', needed by '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/STATIC_LIBRARIES/libsdcard_intermediates/sdcard.o', missing and no known rule to make it
build/core/ninja.mk:151: fallo en las instrucciones para el objetivo 'ninja_wrapper'
make: *** [ninja_wrapper] Error 1
make: se sale del directorio '/home/alvaro/Escritorio/ROM'
#### make failed to build some targets (59 seconds) ####
As long as I know it seems that the device tree is incomplete, as I said before, I tried with 3 device tree, 3 kernel and 3 vendor, but the error still there, is there something I am missing?
It seem too a problem with ninja, but when I do make installd it works perfect, so what is the issue?
Thank you in advance
Here is an update:
After cloned deadman's kernel, vendor and device tree and providing su it started to compile, but after 25 minutes it stopped again with this error:
Code:
javac: file not found: /home/alvaro/Escritorio/ROM/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: fallo en las instrucciones para el objetivo 'ninja_wrapper'
make: *** [ninja_wrapper] Error 1
make: se sale del directorio '/home/alvaro/Escritorio/ROM'
Seem that java it's not correctly installed, some advice with what is happening?
i guess you can tag or ask help by tagging any dev working on our devices.