22 Commits

Author SHA1 Message Date
me-cafebabe
c6d338c4c5 violet: Retrofit Dynamic Partitions
Change-Id: I68cbb801fc029f6f9f2116ea36ff52acc1440ac8
2024-03-12 15:44:29 +00:00
Jack Pham
26cd14b04f violet: init.qcom.usb.rc: Consolidate init.msm.usb.configfs.rc
Remove obsolete android_usb based property triggers now
that configfs is always used. Merge in init.msm.configfs.rc
so we now have just a single .rc init file.

Also remove all other references to /sys/class/android_usb/*.

Change-Id: I06eba8e715ccee5974dc9de8ac19df6c79ae0c45
2021-01-31 12:48:10 +05:30
Jack Pham
4994375771 violet: init.qcom.usb.rc: Prepare for removal
Guard LOCAL_MODULE definitions for init.qcom.usb.{rc,sh}
and init.msm.usb.configfs.rc to prepare for them getting
moved to the USB project area and defined in Android.bp
there. Full removal of the actual files will follow once
they are in place at the new location.

In addition, move the import of init.msm.usb.configfs.rc
to init.qcom.usb.rc to remove a direct reference from
init.qcom.rc. This will make it easier to consolidate
the files later after they have moved.

Change-Id: I58dfad3f6a460f9dc2f198b33ede4f210c910e07
2020-11-26 14:19:57 +00:00
Mohamed Moussa
663f870621 violet: rootdir: Move init.recovery.qcom.rc out of root
The file init.recovery.qcom.rc flagged as offending file in root/,
because it violates the pathing req. (system/ & root/). Place the file
in $(TARGET_RECOVERY_ROOT_OUT)

Change-Id: Iefae195fec947127ffc33c013ebabca072ba81e3
2020-11-26 14:19:57 +00:00
Chris Fries
98ffa4e049 sm6150-common: Introduce fstab.persist
Add a new fstab.persist that mounts (and checks) persist partition.

Bug: 111865955
Change-Id: I9967b2a8db031a727da9babda7118d29372d88f8
2020-08-14 06:51:21 +08:00
Saurabh Shah
7d84243b5b sm6150-common: Add init.recovery.qcom.rc
Add init.recovery.qcom.rc to set a default brightness value on the
new backlight node /sys/class/backlight/panel0-backlight/brightness
This file is included by init.recovery.rc currently.

Change-Id: Ic446a22b69ae25a1c7cf8f75ad581f34f2fb1601
2020-08-07 03:36:43 +02:00
Pig
15901ea673 sm6150-common: Move device specific targets back to device tree.
* This reverts commit c0699ac900.

Change-Id: I229f407d47143c7ddd2bb097f08779105097a270
2020-08-07 03:36:43 +02:00
YH_Lin
f37dbb2199 sm6150-common: remove mounting persist partition via fstab.persist
Change to mount persist partition via kernel device tree in boot up
progress.

Bug: 119959876
Test: build pass, boot to home
Change-Id: Ic0e56280538b4130d1e51eeef461508e3f6021b5
Signed-off-by: YH_Lin <yhli@google.com>
2020-02-10 19:53:31 -05:00
PIPIPIG233666
c0699ac900 sm6150-common: Add device specific init script
Change-Id: Ib67170495a0a11f4065d996278a159e1c54de752
2020-02-10 19:53:28 -05:00
Chris Fries
4404b14962 sm6150-common: Introduce fstab.persist
Add a new fstab.persist that mounts (and checks) persist partition.

Bug: 111865955
Change-Id: I9967b2a8db031a727da9babda7118d29372d88f8
2020-02-10 19:53:23 -05:00
weivincewang
d64878a853 sm6150-common: Improve boot time and pull in bootanim display time
1) launch bootanim early
2) parallel slow init operations: write sysfs
3) boot runtime fs tune

After CL:
Boot time saved 330ms, bootanim triggered early before data/ mounted

Bug: 36780513
Test: walleye boots
Change-Id: I02803179746710413f4b1e2372f3550cd95d1581
2020-02-10 19:53:20 -05:00
Robb Glasser
98de7297f5 sm6150-common: Create power init script
Updating power init scripts with the latest settings.

Bug: 69270928
Test: Compiled and booted
Test: Checked logcat for errors
Test: Verified writes made it to respective nodes
Change-Id: I417126cd1a56a82d53a1cf7455beccbd6240e76c
2020-02-10 19:53:11 -05:00
Ethan Chen
12e5c79fef sm6150-common: Remove unused init.qcom.*sh
Change-Id: I8e4a21dd3ff5bec755fec787f5661d8be43e20f0
2020-02-10 19:53:05 -05:00
AnilKumar Chimata
c478a1badd sm6150-common: Remove keymaster enablement flags
Remove keymaster enablement flags and corresponding
entries from .mk files because these flags are moved
to respective modules.

Change-Id: I83eedf0ab122ebdd40675899e286afbcf4bb46f2
2020-02-10 19:53:00 -05:00
padarshr
00eaaca1fa sm6150-common: Address 'LOCAL_MODULE_TAGS := eng debug' deprecation.
Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug.
We now remove that and instead add the package to
PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable.

To ensure that we don't miss out on any package during this switch,
we add these explicitly, even though it might have been already
added under PRODUCT_PACKAGES at some other location.

Change-Id: I35bd67c3e7752be5bcd8f8682864062173e92724
2020-02-07 23:08:43 -05:00
Bruno Martins
fb583ee6f2 sm6150-common: Delete class_main init shell script
Apart from useless battery capacity faking, all this does is to
start/stop data and radio services based upon the baseband type
of several QCOM targets. Since all the supported targets in this
common tree are of the same type, simply start all relevant services
unconditionally and get rid of one more shell script.

Change-Id: I1297b2537fcbea31d514bab5e248691cabdf523c
2020-02-07 23:07:07 -05:00
PIPIPIG233666
456d1348fd sm6150-common: Update QCOM init scripts
* Stripped down version of the scripts based on tag
   LA.UM.7.9.r1-08000-sm6150.0.

Change-Id: I8100ca74cc81aefa4639dfc16c6f7faf228acbfd
2020-02-07 23:05:38 -05:00
PIPIPIG233666
a17f903dc4 sm6150-common: Kill init.qti.fm.sh
Change-Id: Ie274ba2a230ec06adc5f796ca0957a9eabd09f06
2020-02-07 23:05:38 -05:00
Atman
9ac8412e11 violet: Import rootdir from stock
Change-Id: Id1fe2517fc645cf6404585dd47768d712ae63d48
2019-06-03 12:49:14 +00:00
Bruno Martins
1c3597e4e3 sdm845-common: Move offmode charging daemon away
* Follow-up change for commit ea5882d that simply moves the
   prebuilt to its proper place.

Change-Id: I40d37ea6ae53fe8fe919dda758db22df3c1c4229
2018-09-29 01:10:15 +02:00
Bruno Martins
ea5882dda2 sdm845-common: Use MIUI poweroff charging animation
* It's cool, and more importantly... it actually works!
   Oh look, it even displays battery level. Wow. :-P

Change-Id: I6351e2eac6df89aa1b6b98e4e6b2815fa5c37794
2018-09-24 11:06:20 +02:00
Luca Stefani
9f26a0e25d sdm845-common: Load qcacld from system
* This will implicitly add every kernel module to system

Change-Id: I1fb827536a7cd6cb0d46c9dbb78da4f19e80492b
2018-07-31 00:30:31 +01:00