Age | Commit message (Collapse) | Author |
|
Change-Id: I4382b2e151cfa98a75a4be60c71d19a01145dc79
|
|
To allow netmgrd to acquire wakelocks correctly
we need to ensure that it belongs to system group
Bug: 24546055
Change-Id: I6231c7d1eb57a12da9be4f081e085e6f1d43b797
|
|
* config.fs doesn't give the ability to add AIDs to Android init such
that they can can actually be used in init scripts.
* Replace instances of qcom_diag, rfs, rfs_shared with the appropriate
IDs (2950, 3012, 3013)
Change-Id: Ided896c4ee051a9bc19fd61ae6e03624f2d54cf3
|
|
bluetooth group
|
|
Change-Id: Ie7c0ecaf48622c8d0bd47591d819e608c7d40fb8
|
|
Change-Id: Iab1ab0ba085d3eb59f50d97079531ab77bf58ad2
|
|
https://android.googlesource.com/platform/system/core/+/android-6.0.1_r68/rootdir/init.rc#21
why this .... Debugfs exists as a simple way for kernel developers to make information
available to user space also it is not enabled in android-6.0.1_r66 tag and not more in N but for
development purposes it is needed here .....
Change-Id: Ic332aeb073edd09b38de756e89b2d98582bc5c79
Signed-off-by: David Viteri <davidteri91@gmail.com>
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.
avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability
Adding
wifi group to access
/data/misc/net/rt_tables
-rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables
wakelock group to access:
/sys/power/wake_lock
-rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock
radio/inet groups to access
/dev/socket/netmgr/netmgr_connect_socket
srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket
Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
|
|
* With the introduction of kipper widevine blobs, a shim for libwvm is
no longer necessary
Change-Id: I82c44e74dcdbb88e50536ca23c64fe2927b5f1eb
|
|
* Moved from vendor repos
* Also remove the associated product_packages copying
Change-Id: I28a906e0bd0c08bba20d22d25122f99bd84669a8
|
|
Remove "data=ordered" as this is the default value.
Remove "errors=panic"
Removed msm_sdcc.3 mount
Change-Id: Id1496dd8f69667a806eddab9b33bcfbe12590bc8
|
|
* When encrypted the rild2 daemon is started at early
stage and data are not yet decrypted.
Change class to late_start to ensure data avaiablity
before starting rild2
Change-Id: Ia1d5cd26032e19c1cb66f05c0a6897a363132184
|
|
- Boot phone in interactive mode instead of performance
- Add TWRP config
Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
|
|
* Not sure if this worked anyway
Change-Id: Ie2910210229c7ba2c2d7d28cb5c1dcba7ad0cff5
|
|
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
|
|
As we are returning to MPDecision.
* Restore MPDecision service
* Remove CPUQuiet related ueventd rules
* Remove RQBalance configuration file
* Interactive CPUFreq settings based on Bacon
Change-Id: If6cf04841083be2f3ded50c4f20d600f0c74d339
|
|
Rename it to reflect that the init is platform specific (i.e: shinano,
rhine, etc).
Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
|
|
Change-Id: I4b4efddf28c00eaa3c46cf7a1cd75fbf2d015a73
|
|
These are common to all sony msm8974 devices
Change-Id: Ia5450d6997c2e71646ad0787e095b17195aa10e4
|
|
These are already defined by init.rc
Change-Id: I31d57f8b1e2a028fd25c4190d57dc6ccad7f643f
|
|
- Values taken from stock .291 kernel
Change-Id: Ia51d9ea493518b7a917e39992720ae9df18cefaa
|
|
Seems obsolete now, time syncing works fine without it.
Change-Id: I76b4e44d05c66b059497a17e1776e2255bb00549
|
|
Change-Id: I89f1d1e6c3eab501b74c273d1d7ebdca3188c063
|
|
Change-Id: I90345c3235a3feaf64148ff05f67648515ca9f34
|
|
Change-Id: I04a4d171ef95dc43c6fc59f6ee2075b827ec6c4d
|
|
- Based on msm8974 dts kernel config
- This replaces the need for the entry in thermanager.xml
Change-Id: I6973d2c21212dc1b7816b5a0174812159f6e41d9
|
|
- Reference from .291 kernel
Change-Id: Icaed3621992238c5815bdb8ca9ca0861104aa5f2
|
|
- msm-adreno-tz is set by default, this line should only be used
if we wanted to set a different governor under different
powermodes.
Change-Id: I0357e2d4e77191470c2af6121cf4273e0fd67f7a
|
|
- Add common init.device.rc for shinano devices.
Change-Id: I9793279a529551106cf31dc1c39844fa9274bb5b
|
|
- Based on stock .291 kernel
- Removed proto entries (they aren't used with IOCTL wake controller)
- bluetooth timeout ms is no longer used by libbt
Change-Id: Iddafa7217ea84238cdbe218c24ecf2f85cac615c
|
|
- We don't use chargemon anymore (now it's healthd)
remove unused/deprecated entries.
- Remove debug_mask (doesn't exists here)
Change-Id: Ic61ec552504691a725e5a3ac89bbbf730a703474
|
|
Sony camera blobs are encrypted, so they need
com.sonyericsson.permission.CAMERA_EXTENDED permission from original
camera to be present in apk to enable Sony custom options (4k video,
iso settings, etc)
camera.qcom.so checks if this permission is available in current camera
app but it can be bypassed when "ro.build.type=eng" thus enabling Sony
camera options. The point of this shim is to make camera.qcom.so believe
that we're currently on an engineering android rom so it bypasses the
permission check allowing camera apps to have full capabilities.
-----------------------------------------------------------------------
Credits to Balázs Triszka from sony-kitakami
Change-Id: I14ef800608c7ed7a95921dd71a56702ed2d68b18
-----------------------------------------------------------------------
Change-Id: I2052aa30fbd30a730ea7b9c60b98f35f99314a51
|
|
Change-Id: I4d6263e6f475c79c68d6d5c7c7903d28822e37f0
|
|
Change-Id: I5c0a524da2c3149025f3a931e953350ea723eeb3
|
|
Change-Id: I1dbbaf3f0f4da8c7bff31210d43b27fb6f138b39
|
|
It feels more right to place it together with CPU freq settings
Also, it's like this on almost every other device
Change-Id: I2b70392acd43a30f776b17fee3b20153ff268d6a
|
|
The new RQBalance-PowerHAL deprecates configuration through
Android properties.
Now the configuration is parsed from an XML, located at
/system/etc/rqbalance_config.xml.
Change-Id: Iebc85a4f420e9b471139063a03a3831f95be5e28
|
|
* usb otg storage path was uncorrect for N.
Change-Id: Ie191cb07aeab43ea27fdc9eedec1fb65bd39e164
|
|
At the moment only Volume + worked but it lowers down the volume.
This fix restores complete functionality of the in-line headset buttons
(+ volume, - volume, play/pause button)
Change-Id: I0cfdd38dcb1028b64efaff0cc53dec8da830c6b3
|
|
Change-Id: I25428cd0900493823e7afa9328886cb0ce6caa05
|
|
* Use one line per shim to make maintenance easiest.
Conflicts:
rootdir/init.camera.rc
Change-Id: I1e25ecbddcd676c263c6a3b9307406e5097be7f2
|
|
* Credmgrdinit script had some mistakes. Adjust
policies according to the new changes.
Change-Id: I6e865f756225a1d8decdbc1833123dced27e75de
|
|
Log improvements:
* new: added logfile (/cache/credmgr.log) instead of logwrapper
for better debugging
* new: more verbose logging
* fix: replaced toybox cmds with generic ones (so either ramdisk
or system can provide them)
Known issue:
* Can cause a black screen issue
Change-Id: I19710e8b6e45d4fa9397575f4f9f31b7727e4468
|
|
* Some services where start with incorrect rights.
* Create tee /data folder
* Keystore and qseecomd are needed for encryption/decryption
and shouldnot be restarted at framework changes.
Change-Id: If1c7c0ba3602dccb8cb65dbe9193221438785c0a
|
|
* Some services where started too early and caused unexpected
behaviors. Encrypt the device broke ril, sometimes initcredmgrd
start after other criticals services.
Moves those services to late_start class.
* Remove uneeded class on disabled services.
Change-Id: I5a0b7175ee3c73b62ed79adf0c35d0ea8c4f0844
|
|
* Service class is useless when service is disabled.
Change-Id: Ifde5e4d6f40fa73c2489f846675ceaf40142b7e4
|
|
Change-Id: I541e952928cb591eaf1996f3f97ea78ba8b2a156
|
|
|
|
Bug: 28108983
Change-Id: Iab933217810fa92687e79992acdf023acdb6ad88
|
|
Bug: 27192644
Change-Id: I3a682a96bb14977678159c5bd6ee361b92763905
|
|
Change-Id: I18e303a17c42657c522229889a8ac541e1eddc05
|
|
Change-Id: Ide69b8924d76154e6a7bfeb7c4b86d58568f2b5b
|
|
* Boot hang for 20 sec. The tmpfs idd wait arg cause this.
Remove it.
Change-Id: I1be8efcb2c3d5b21ccd2e2ef10d25ce108587a08
|
|
* Device wasn't encryptable because of bad return code.
Initial commit message:
> some enhancements you may like ;)
>
> make if loop more bullet proof
> now every command gives an error result back and according to it the script fails or not immediately
> logging to dmesg device to be sure that we can write log messages (just do a "dmesg|grep CREDINIT" to get your log output)
> overall be more verbose
Change-Id: Ife5288522a20a9f962a01630d7a6c52d85ad6db8
|
|
Change-Id: If8a4ced15808aabbbae91f924cd3144a62354491
|
|
Change-Id: I9146571a4f9d952e1299d523811149f5c81a6b89
|
|
Change-Id: I0b85560bb56beee0d21751fe55587c2de4b8ff00
|
|
|
|
|
|
|
|
|
|
Fixes tad socket problems
|
|
* Recovery need a raw partition to work in N,
give it apps_log for this purpose and use
/idd on tmpfs.
Change-Id: I241d317ac472f414ffa9afe5d7568aac86a21b7f
|
|
Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c
This fixes random mac adress at boot
|
|
* also clean bluetooth stuff
Change-Id: Ib76be395aa584553c758c23063e233b54e41a856
|
|
Change-Id: I993e632eb158af22240878c1363100e5701ad5fe
|
|
Change-Id: Ib1b7c45e13cc23006a40ac56f2790deb38adbde3
|
|
Change-Id: I6fbc6fd3d89ab797e4e781af98baba3dc889d8ed
|
|
Bug: 25864142
Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
|
|
Change-Id: I5d8008f0fcb4455c77fb1df4b21e56abb7819ce7
|
|
Change-Id: I00c14251e0417776d84bc3ad96ac0c397277f26c
|
|
Change-Id: I633357fa8a04cf178fdee3e4471d20d5432eb230
|
|
Change-Id: I837aec3285c70fabf4538611f887de6c48b3b6a8
|
|
Change-Id: I178efeca573134df78e1227f3db89cfb8ce2779d
|
|
Change-Id: I73aaadae219f9eee682e5cdb9bb64c237c80fd55
|
|
Needed for sensor init
Change-Id: I61a323a6c9b08946b5be243ce660e1dc12882266
|
|
|
|
* This is the path used on stock .291 kernel.
Change-Id: I2240fbcd37c21259a1aa748d72f8500540bf1c42
|
|
Change-Id: I89d99a4c8226c5ffc5194b2123404ed381b6cbb4
|
|
Change-Id: Idc6306fc79c34969fbb84dab87c42d4305169037
|
|
Change-Id: I9cfe1b3b80359ca5f423a51152bfcd3a4d03846a
|
|
|
|
|
|
Change-Id: Icfc6a998c6c5615351ed59111284858b9f27893c
shinano-common: Rework credmgrd sepolicies
Change-Id: Id922021b05ed0313b5cd7e506641632277a82105
shinano-common: Fix last camera denials
Change-Id: Ibf96ebf0a136ffa40be85369896f57645c24157c
|
|
* iddd is missing getdtablesize. This function return 1024
Change-Id: I402c8671366a250d4b6982c27e681bbce552b4f6
|
|
Change-Id: I4110bf8953024f7777e11880849184cbd9b526fb
shinano-common: Shim bsd_signal: build as shared
Change-Id: Iba94a11082aa47890b3835bcd63b98f41fd3599d
|
|
* Use a separated file for camera and camera dependencies
Change-Id: Id8cb2242b1dffacf427dffe2dbe63628a5d2462f
shinano-common: Correct typo in "Split init.qcom.rc"
Change-Id: I4f2ab062af09a49c6091942ff6157838040f65d8
|
|
|
|
* Took from stock sony ROMs
|
|
* Add shim for MediaBufferGroup workaround
* Blobs have probably be built before this commit:
https://github.com/LineageOS/android_frameworks_av/commit/e9a5b96e7927fd4e38623e17ac73e8e4e25877ee
which cause libwvm.so not starting due to missing symbol ZN7android16MediaBufferGroupC1Ev
Change-Id: I490a2d599c01cd7d8db937d3a9d6eceffaf6a7e6
|
|
Change-Id: I62e1e9b87e48b0f5d436ef44bb816eedf5328347
shinano-common: Solve camera services denials
Change-Id: I36479598ada099da4949d999f7485b69ccd59c19
|
|
Change-Id: If920b5e5265aca89020bd000904d586cd879cc85
|
|
* Remove intree binary
Change-Id: I24bc5f552d57c4634b7d74af956f87baccb8c8ab
|
|
Change-Id: I6735847f5f47126605f2dca135fba94263469796
|
|
|
|
Change-Id: Iae03adb6cb3b7f185701f1eba66108c647fe9b2d
|
|
* Add bootdevice symlink for compatibility
* Clean idd mounting
* Remove uneeded /rca symlink
Change-Id: I4e00fb1c5d5e5d084b4c74ad72e8b2bc4a1900b2
|
|
Change-Id: I1fcb1f6bdcc6e4de32dadcf9eb693cd947be81df
|
|
* /mnt/idd symlink isn't created at mount time.
Workaround this by mounting partition on /idd instead.
Change-Id: I8fdd30c877b565a2e2e0a920d24ceba070183bff
|
|
Change-Id: Ieb761d8717a1008742bf412a5fdedf38786d3e97
|