Twrp compile HELP!

there is no twrp that working properly for A605K... so i decided to make it myself (but i'm noob at linux that's the first problem) so i downloaded and i found it that there is no device tree for A605K so i decided to make that too, so i tried followed this thread: but there is no in ./build/tools/device(device folder doesn't even exist in tools folder) so i downloaded it manualy from internet(and put in /usr/bin) and i typed 'source samsung a6pltektt /home/ubuntu/바탕화면/img/boot.img (my device has patched boot img, so i extracted it from A605K firmware file)
Arguments: samsung a6pltektt 바탕화면/img/boot.img
Output will be in //device/samsung/a6pltektt
13161 blocks
cat: /home/ubuntu/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.template: 디렉터리입니다
cat: /home/ubuntu/external/icu/icu4j/eclipse-build/features.template: 디렉터리입니다
cat: /home/ubuntu/external/icu/icu4j/eclipse-build/plugins.template: 디렉터리입니다
cat: /home/ubuntu/external/clang/test/CXX/temp/temp.arg/temp.arg.template: 디렉터리입니다
cat: /home/ubuntu/external/libcxx/test/std/experimental/string.view/string.view.template: 디렉터리입니다
cat: /home/ubuntu/external/libcxx/test/std/strings/string.view/string.view.template: 디렉터리입니다
mv: '//device/samsung/a6pltektt/'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다
Creating initial git repository.
//device/samsung/a6pltektt ~
/device/samsung/a6pltektt/.git/ 안의 빈 깃 저장소를 다시 초기화했습니다
[master (최상위-커밋) ecece5a] Initial commit of a6pltektt
27 files changed, 536 insertions(+)
create mode 100644
create mode 100644 AndroidManifest
create mode 100644
create mode 100644
create mode 100644
create mode 100644 activity
create mode 100644
create mode 100644 build
create mode 100644
create mode 100644 build_gradle
create mode 100644 features
create mode 100644 java_file
create mode 100644 kernel
create mode 100644 launcher_intent_filter
create mode 100644 layout
create mode 100644 plugins
create mode 100644 preference_intent_filter
create mode 100644 prefs
create mode 100644 revision
create mode 100644 string
create mode 100644 string.view
create mode 100644 strings
create mode 100644 temp.arg
create mode 100644 test_instrumentation
create mode 100644 test_uses-library
create mode 100644 uibuild
create mode 100644 uses-sdk
Use the following command to set up your build environment:
lunch cm_a6pltektt-eng
And use the follwowing command to build a recovery:
. build/tools/device/ cm_a6pltektt-eng
(i think i made a mistake so source is in /home/ubuntu i wan't to move sources in source folder)
of course lunch cm_a6pltektt-eng and . build/tools/device/ cm_a6pltektt-eng won't work (i did that after i type this:sudo bash)
and i searched a bit, so i typed make (and make -j4 otatools but it was same result) and it looked working for a while, but this error appears:
ninja: no work to do.
ninja: no work to do.
/home/ubuntu/out/ is missing, regenerating...
[3/238] including ./bootable/recovery/ ...
/bin/bash: 줄 0: test: -ge: unary operator expected
bootable/recovery/gui/ warning:
************************************************** **************************
Could not find ui.xml for TW_THEME:
Set TARGET_SCREEN_WIDTH and TARGET_SCREEN_HEIGHT to automatically select
an appropriate theme, or set TW_THEME to one of the following:
landscape_hdpi landscape_mdpi portrait_hdpi portrait_mdpi watch_mdpi
************************************************** **************************
bootable/recovery/gui/ error: Theme selection failed; exiting.
02:55:20 ckati failed with: exit status 1
build/core/ recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

when i downloading sources, this error appeared on few files: "remote: the remote end hung up unexpectedly." major files has downloaded properly. and i already type this: "git config http.postBuffer 104857600" and re-download entire sources, but same error
how can i fix those problems? i have already used and retried

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by xwatsica
37 minutes ago
Last post by wyman.judah
3 hours ago
Last post by frenner
1 hour ago
Started by ymertz
Last post by germaine18
49 minutes ago
Last post by oswaldo.ward
1 hour ago
Last post by xkuhn
4 hours ago
Last post by anita.beahan
3 hours ago
Last post by tklocko
3 hours ago
Last post by adrienne84
1 hour ago
Last post by jeffry95
3 hours ago
Last post by mabel.metz
4 hours ago
Last post by krystel78
3 hours ago