legacy bringup
full rebase to aospa-legacy source