Coder Social home page Coder Social logo

android_packages_apps_settings's People

Contributors

adrianroos avatar alanv avatar alexgherghina avatar android-build-merge-worker-robot avatar antonysargent avatar arcwangingoogle avatar beccahughes avatar christinef avatar curtislb avatar delphij avatar dsandler avatar ebiggers avatar gvictor avatar hex539 avatar isheriff avatar jbolinger avatar jsharkey avatar kchyn3 avatar kruton avatar lusilva avatar moltmann avatar monkopedia avatar nfuller avatar paullawrencegoogle avatar pweaver-google avatar sganov avatar szatmz avatar the-felipeal avatar wangchaohui avatar xsjojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_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).

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.