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.
Related
Hi to all!
I'm in a bit of trouble, I'll be inmensely appreciated to anyone that can give me a hand with this.
I've been developing an android game to help kids learn their first words, I've made sustantial progress but not being familiar gith git I only did commit changes instead of pushing all the way through to the gitlab repo. A couple of days ago my ssd went dead all of a sudden (been trying all sorts of things to revive it but to no avail), the thing is that this drive is where all my source code was and theres no way of getting it back (the drive is not being recognized in the bios).
Luckily (?) I had the game installed in my Galaxy S7 (even though its not the latest version I had its much more advanced than what I have at the gitlab repo). Using ES File Explorer I managed to make a backup of the apk and copied it to my computer. Now what I'm trying to do is decompile the dex files (classes.dex and classes2.dex) to obtain the source code using dex2jar and Java Decompiler to get the java code from the jars.
But in this last step I only get code for com.android.tools package, can anyone point me in the right direction?
{
"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"
}
I'm really frustrated
I appreciate all the help I can get
Diego
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"
}
Do you know what is it? Look:
{
"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 this cannot be hidden:
How to fix it?
I have the same problem on my oneplus 2, so it might be related to the update.
Heyyo, unsure if it is due to the April fools joke or Google but tbh I think it's due to the way Google checks for device certification.
There is updates pushed to Gerrit to fix the fingerprint and device properties to prevent this issue which will be included in the next official build for 15.1.
https://review.lineageos.org/#/c/210870/
https://review.lineageos.org/#/c/210866/
As for the OnePlus2? I'd imagine the same thing there.... Yep she's on Gerrit to be tested and merged. It's the system and vendor build fingerprint commit
https://review.lineageos.org/#/q/project:LineageOS/android_device_oneplus_oneplus2
Well, I think this is it: https://review.lineageos.org/#/c/210866/
My build with above fix included is ok. You can find similar fixes for other devices. For those who are running official build, need to wait for next nightly.
Second problem is of course April fools, it's not any real issue
edit: as I can see, @ThE_MarD posted the same gerrit link. Good point.
TWRP 3.3.1-0 for OP2
Download: https://github.com/clienthax/twrp_device_oneplus_oneplus2/releases
Source: https://github.com/clienthax/twrp_device_oneplus_oneplus2
Good job sir
Updated to resolve a few issues with baseband checks.
Great work! One odd error message when I backup a ROM:
{
"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"
}
I encountered two issues.
1.
This package is for "OnePlus2" devices; this is a "".
Updater process ended with ERROR: 7
Error installing zip file '[filename]'
2.unable to wipe /data -- unknown file system 'auto0'
I later used twrp 3.2.1, and the issues were gone so this should be the problem.
This TWRP is unusable with device encryption. "decrypt took too long", decryption fails every time.
How come this version does not support backup of the EFS partition?
I am using TWRP 3.3.1 Test 2, i found a bug that this twrp cant flash stock rom OOS last rom, its showing Error 7, I am not blind, i flashed OnePlus 2 Rom only. Check this issue
I am currently developing a twrp device tree for the Gigaset GS4.
GitHub - StarMiner99/android_device_Gigaset_Gigaset_GS4_twrp: TWRP Device Tree for Gigaset GS4
TWRP Device Tree for Gigaset GS4. Contribute to StarMiner99/android_device_Gigaset_Gigaset_GS4_twrp development by creating an account on GitHub.
github.com
Everything is working so far but there is one major problem.
The Data Directory is unreadable:
{
"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"
}
This is probably due to encryption.
Things i figured out:
- the device has a metadata partition
- the device uses file base encryption
- twrp does not ask for a password
This is the output of twrp decrypt:
Gigaset_GS4:/ # twrp decrypt twrptest
Attempting to decrypt data partition or user data via command line.
Failed to decrypt data.
Gigaset_GS4:/ #
General information:
- build using twrp-10.0 twrp-minimal-manifest
- stock rom: android 10
- chipset: mt6771
Help would be appreciated!