android_packages_apps_settings's People
Forkers
oblikas nexperience rickoslyder vlikebanana omnirom-extended moonlightly kasperhettinga leo-luzzi amperificsuperkang karlsson92 nims11xda mwisbest elkyma oerner mlaws90 ferri64 didassedrix puhu omnihonami schmugele prometheusopensource trebon-chocodot nexuscnmod vinoy omnimotox metalspring omni-tablets kryptonomni aaccount kylinmoddev godofkaos xperiafan-xda bxmxk drexc omniplus mfysa abd6kg ercone android-armv7a-belalang-tempur jessesung lovesitdoll freedomrom axxion-team aospe anddevs andyvand teoandro omniherna zombi-x cyril279 amd-grifon choznjuan mi-4i-omni omni-zenfone-2 omniromwolf crystalzzbackup golden-guy niroparom niroparom-n kayant sub77 androidrul3z exploredev omni-security fsadino stupid-jerk-face omnips daothanhduy305 lehmancurtis147 tdrom luminance12 realmenvvs kldoc dark-os boulzordev rlcdev kuljeetsinghxda omnipmod bitobsession rickybobby2nd geofferey baddar90 innovateos omnitreskmod-op5t dwaynelee2003 harveyspectar pruettdavid22 ablllwi afifceshter infinite-skx andra297 xiaohutou zhaoqingxi132 micky387android_packages_apps_settings's Issues
Malformed settings file will cause infinite boot.
Weekly release 20180610 on my 3T causes a bootloop when downloading and flashing from system update(bia twrp bluespakv8.61) on my 3T. System was not shutdown since 20180603, so the bug may have be introduced then. Downloading and dirty flashing older weeklies did not restore my system. Wiping dalvik cache after each flash.
Watching the logcat shows the following repeatedly (causing the infinite boot):
06-10 21:18:25.325 6637 6637 E SettingsState: Failed parsing settings file: /data/system/users/0/settings_ssaid.xml
06-10 21:18:25.327 6637 6637 E System : ******************************************
06-10 21:18:25.329 6637 6637 E System : ************ Failure starting system services
06-10 21:18:25.329 6637 6637 E System : java.lang.RuntimeException: Failed to start service com.android.server.FontService$Lifecycle: onStart threw an exception
06-10 21:18:25.329 6637 6637 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:126)
Investigating the file I found a malformed entry. After fixing the entry system boots correctly. I don't know what caused the malformed entry, but a malformed settings file will prevent the system from booting. The malformed entry was for an application installed yesterday. System was flashed today. There was no reboot between application install and system flash.
Malformed entry looked like this:
...
<setting id="61" name="10216" value="<PACKAGE-VALUE>" package="<COM.PACKAGE.PACKAGENAME>" defaultValue="<DEFAULT-VALUE>" defaultSysSet="false" tag="null" />
</settings>id="64" name="10218" value="<PACKAGE-VALUE>" package="<COM.PACKAGE.PACKAGENAME>" defaultValue="<DEFAULT-VALUE>" defaultSysSet="false" tag="null" />
</settings>
The DEFAULT-VALUE, PACKAGE-VALUE and COM.PACKAGE.PACKAGENAME are replaced with with specific applications to my installation. You can see the </settings>
tag is embedded inside of the last package tag. The last package is still installed on my system, however I did uninstall some applications after installing that package (packages that had been installed before and after that package).
Androidapp settings
Build failure when private repos are omitted
As public builders, we need to exclude private repos per manfiest readme. However, Settings still refer to it and will therefore fail to build:
error: packages/apps/Settings/Android.bp:22:1: module "Settings-core" variant "android_common": module source path "packages/apps/Settings/OmniGears/res" does not exist
IMO, the whole private repo scheme should be redesigned backwards, i.e. by default public builders can sync and build out of the box, and the privileged few can do extra steps to authenticate and get them.
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.