FWB / Settings / Build 6.0 reference

pemell

Senior Member
Jan 4, 2012
1,351
1,323
0
Gothenburg
Hi.

Most roms today (Chroma, PureNexus, Benzo, Omni, CM etc.) uses a rom dedicated settings app and/or rely on vendor repos for many features and AOSP fixes.

For those who wants to build their own AOSP rom but don't want to use a dedicated vendor repo or a rom specific settings app I will now share a reference you can use. I've adapted most features from other devs to work on AOSP and w/o vendor or dedicated settings app.

https://github.com/PerLycke/frameworks_base
https://github.com/PerLycke/packages_apps_Settings
https://github.com/PerLycke/build (This will name the rom zip Spring, you can change this in core/Makefile to what you prefer)
https://github.com/PerLycke/external_sepolicy (thanks @BeansTown106)
https://github.com/PerLycke/device_moto_shamu

In those repos (branch aosp6.0) you will find the following features / fixes:

- Google app permissions (Play Services FC, Setup wizard FC).
- Removed all stock OTA, recovery and so on. Also fixed gms battery drain.
- Custom navbar.
- Fixed navbar layout.
- Arrow keys when typing.
- Quick pulldown (QS).
- Advanced reboot.
- Prepared for root, just flash SuperSU after flashing ROM/Gapps.
- Swift Themed interface.
- Stock bootanimation and one of the factory M wallpapers as default.
- Sane animation scale entries, and enabled by default.
- Control media volume by default. Safe headset volume and sane notification sounds.

You'd probably find more things you might like.

I credit all those authors of the commits. The main reason to post this is to enable rom builders to try features without the need to use the dedicated settings apps / vendor repos.

First time builder? First get a build environment going. Nice guide here: http://forum.xda-developers.com/chef-central/android/guide-how-to-configure-ubuntu-15-04-t3091938

For building check the sony guide, which is awesome:

http://developer.sonymobile.com/kno...aosp-marshmallow-for-unlocked-xperia-devices/

This might serve some too:

https://source.android.com/source/initializing.html

Have fun!
pemell
 
Last edited: