Comments (3)
TARGET_BOOTANIMATION_PRELOAD = true
You need to have this flag in your device tree.
from android_frameworks_base.
tried that , same error
I removed
#ifdef PRELOAD_BOOTANIMATION
// Preload the bootanimation zip on memory, so we don't stutter
// when showing the animation
FILE* fd;
if (encryptedAnimation && access(getAnimationFileName(IMG_ENC), R_OK) == 0)
fd = fopen(getAnimationFileName(IMG_ENC), "r");
else if (access(getAnimationFileName(IMG_OEM), R_OK) == 0)
fd = fopen(getAnimationFileName(IMG_OEM), "r");
else if (access(getAnimationFileName(IMG_SYS), R_OK) == 0)
fd = fopen(getAnimationFileName(IMG_SYS), "r");
else
return NO_ERROR;
if (fd != NULL) {
// Since including fcntl.h doesn't give us the wrapper, use the syscall.
// 32 bits takes LO/HI offset (we don't care about endianness of 0).
#if defined(aarch64) || defined(x86_64)
if (syscall(__NR_readahead, fd, 0, INT_MAX))
#else
if (syscall(__NR_readahead, fd, 0, 0, INT_MAX))
#endif
ALOGW("Unable to cache the animation");
fclose(fd);
}
#endif
and worked
from android_frameworks_base.
hello @DarkWoodens this rom is still wip, we are still sorting the things now and adding features.
i recommend not to try compiling this rom!!
once everything is fine, will post on xda or other medium :)
from android_frameworks_base.
Related Issues (20)
- Clear all fab is visible even if no apps are present in recent apps
- High temperature warning on bootup HOT 2
- found not translated strings HOT 1
- Configuration for hardware key customisation / hardware key light enabling is missing. HOT 4
- Cannot build with "make dist" HOT 1
- why HOT 2
- Add settings for allowing HW buttons to wake device.
- When will DC dimming support be added
- Issue/Request HOT 1
- Navigation Bug
- [Cause Bootloop]Miss Lineageos Platform Permission
- Lockscreen before AOD HOT 4
- MonetWannabe causes apps like Solid Explorer or Root Explorer to crash HOT 1
- Screen before AOD [2]
- MonetWannabe: Shades of black and gray HOT 7
- feature: more background execution limits
- signature spoofing
- Timeline feature in google not working HOT 1
- build error -- error: type mismatch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_frameworks_base.