Allowing missing dependencies when compiling - Android Q&A, Help & Troubleshooting

Hello everyone,
I'm trying to build unofficial los15.1 for my device but I get an error that can be resolved by 'setting ALLOW_MISSING_DEPENDENCIES=TRUE' in enviroment but I don't know how how and where>
Aside from the question if I want to do this, I just want to see how far I come if I do.
Who nows where I have to put this line to solve the issue?

Getting same problem. Got any solution?

type
export ALLOW_MISSING_DEPENDENCIES=TRUE
youll have to do that every time you open a terminal window unless you add to bashrc

type
ALLOW_MISSING_DEPENDENCIES=TRUE
right after . build/envsetup.sh and before brunch

ripee said:
type
ALLOW_MISSING_DEPENDENCIES=TRUE
right after . build/envsetup.sh and before brunch
Click to expand...
Click to collapse
Or add ALLOW_MISSING_DEPENDENCIES := TRUE to BoardConfig.mk

ripee said:
Or add ALLOW_MISSING_DEPENDENCIES := TRUE to BoardConfig.mk
Click to expand...
Click to collapse
i add to /device/board... but nothing change, error still happen missing (i remove 2 app package and wanna workaround this error),
can you explain more for me (a new bie) please
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

Add rom version to settings (from source)

Hello,
I am going to create a rom from source (based on AOSP).
I want to add a rom version into settings, but where should i add it to my settings?
Can somebody pls help me!
yooouuri said:
Hello,
I am going to create a rom from source (based on AOSP).
I want to add a rom version into settings, but where should i add it to my settings?
Can somebody pls help me!
Click to expand...
Click to collapse
This is usually done through your build.prop.. Settings.apk reads it from there..Here is an example:
Code:
ro.build.display.id=
Find that and then change it to whatever you want it to display this id shows up here in settings (this is a TW ROM but samething):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9
:good:
lacoursiere18 said:
This is usually done through your build.prop.. Settings.apk reads it from there..Here is an example:
Code:
ro.build.display.id=
Find that and then change it to whatever you want it to display this id shows up here in settings (this is a TW ROM but samething):
View attachment 2632165
Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9
:good:
Click to expand...
Click to collapse
Oke thanks for your reply but when im building the build.prop is created. Where can i add it in the source tree?

[DEV][PACE/STRATOS][APK WATCHFACES] APK WatchFaces for Stratos and Pace Source Code

Hi guys ,
I bring you two APK WatchFaces Source Code so that you can see how they're made and how do they work. Use the code as you wish, you're free to build it on your own, mod it or use it to create totally new APK watchfaces. It's a whole new world to discover and I invite you to join me in this.. adventure?
I deleted the HuamiWatchFaces.jar because of Huami's intelectual property and WeatherWidget.java (weather info) and weekdays translation because it was taken from Marco Fregapane's code and it wasn't mine.
The building process is detailed in the README.md, basically you'll have to get HuamiWatchFaces.jar (https://goo.gl/vjzzw1), place it in libs folder and build the watchface using Android Studio.
Big thanks to @Malvarez and Dany Martí for their help!
Have fun, I hope to see your watchfaces soon!
Source Code:
https://github.com/Nxsaul/AmazfitAPKs/tree/master/LBA97Watchfaces
Click to expand...
Click to collapse
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Want to buy me a beer? paypal.me/LuisBaena
It was about time!
Thanks to you for your work @LBA97.

Question [SOLVED] Anybody succeeded to install / run any ARM64 app in WSA?

I ask this question here because it miserably fails at me using WSA ( version 2209.40000.28.0 ) . Running LOGCAT ( the main, system, and crash buffer set is used by default ) shows me that HOUDINI isn't get loaded at all though this ARM-to-INTEL translator is present in WSA.
My researches resulted in fact that In WSA the ARM-To-INTEL-Translator related files are present as shown next
/system/lib64/libhoudini.so
/system/lib/libhoudini.so
/vendor/lib/libhoudini.so
/vendor/lib64/libhoudini.so
/proc/sys/fs/binfmt_misc
/vendor/etc/binfmt_misc/arm64_dyn
/vendor/etc/binfmt_misc/arm64_exe
/vendor/etc/binfmt_misc/arm_dyn
/vendor/etc/binfmt_misc/arm_exe
but they obviously aren't used by default though are loaded via /etc/init.windows_x86_64.rc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also neither file /system/build.prop nor file /vendor/build.prop doesn't contain the related entries
Code:
ro.vendor.enable.native.bridge.exec=1
ro.dalvik.vm.isa.arm=x86
ro.vendor.enable.native.bridge.exec64=1
ro.dalvik.vm.isa.arm64=x86_64
ro.dalvik.vm.native.bridge=libhoudini.so
as shown here.
They are empty files. Have tested it with
Code:
adb shell 'echo "$(cat /system/build.prop)"'
adb shell 'echo "$(cat /vendor/build.prop)"'
Would be great it can be answered with YES and is shown to me a solution.
Same experience: Not any arm app get's installed and running.
Error gone since I upgraded to WSA version 2211.40000.7.0 for Windows 11 what features Android 13

"Operation not permitted" error

Hey guys
I wrote a script that sends ARP packets using Scapy in Python.
When running that script from a terminal on my rooted phone, it works well. When I try to build an APK (with python buildozer) that would do the same, I'm getting permission errors.
This is the error:
PermissionError: [Errno 1] Operation not permitted
Click to expand...
Click to collapse
I tried the following things:
=================
1. Setting the following permissions in buildozer.spec file:
android.permissions = INTERNET,ACCESS_NETWORK_STATE,ACCESS_WIFI_STATE, NET_RAW, NET_ADMIN
Click to expand...
Click to collapse
2 Setting SUID during runtime:
subprocess.run(["su"])
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Setting internet permissions during runtime:
import android
from android.permissions import request_permissions, Permission
request_permissions([Permission.INTERNET])
Click to expand...
Click to collapse
What am I doing wrong? seems that even though I granted the app root permissions, it's still not enough
When running "id" from within the same process, this is the output:
uid=10281(u0_a281) gid=10281(u0_a281) groups=10281(u0_a281),3003(inet),9997(everybody),20281(u0_a281_cache),50281(all_a281),99909997(u999_everybody) context=u:r:untrusted_app_27:s0:c512,c768'
Click to expand...
Click to collapse
Bump

Building LineageOS 16.0 for Redmi 4 fails

I am trying to build LineageOS 16.0 for my Redmi 4, but the build is failing because of some vendor files issue. I am following the official docs for building LineageOS 16.0. Then I get this error on running breakfast santoni.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The docs say this might happen, so jump to the Extracting Propriety Blobs section.
IMPORTANT: Some devices require a vendor directory to be populated before breakfast will succeed. If you receive an error here about vendor makefiles, jump down to Extract proprietary blobs. The first portion of breakfast should have succeeded, and after completing you can rerun breakfast
Click to expand...
Click to collapse
So that's what I did, I ran the commands under the extracting propriety blobs and reran breakfast santoni, but then I got this new error
ninja: error: 'vendor/xiaomi/msm8937-common/proprietary/app/uceShimService/uceShimService.apk', needed by '/home/sohamgadhave/android/lineage/out/target/product/santoni/obj/APPS/uceShimService_intermediates/package.apk', missing and no known rule to make it
15:50:54 ninja failed with: exit status 1
#### failed to build some targets (04:38 (mm:ss)) ####
I don't know what to do next. Please someone tell me how do I resolve this.

Categories

Resources