VirtualBox 中的 lineageOS,点击 Developer options (打算打开调试功能),GUI 重启

================ VirtualBox 中的 lineageOS,点击 Developer options (打算打开调试功能),GUI 重启


grep "About phone" -R . --exclude-dir=out --exclude-dir='\.git' --exclude-dir=cts --exclude-dir=prebuilts
---------------------------------------------
关键字:
【 Developer options 】
【 Root access 】
【 Android debugging 】【 Enable the Android Debug Bridge (ADB) interface 】【 Allow USB debugging? 】【 Always allow from this computer 】
【 Debugging notify 】【Display a notification when USB or network debugging is enabled 】

【 About phone 】
【 System profiles 】
---------------------------------------------

---------------------------------------------
vim packages/apps/Settings/res/values/cm_strings.xml
---------------------------------------------
    <!-- Setting checkbox title for root access -->
    <string name="root_access">Root access</string>
    <string name="root_access_warning_title">Allow root access?</string>
    <string name="root_access_warning_message">Allowing apps to request root access is very dangerous and could compromise the security of your system!</string>
    <string name="root_access_none">Disabled</string>
    <string name="root_access_apps">Apps only</string>
    <string name="root_access_adb">ADB only</string>
    <string name="root_access_all">Apps and ADB</string>

    <!-- Android debugging -->
    <string name="enable_adb_cm">Android debugging</string>
    <string name="enable_adb_summary_cm">Enable the Android Debug Bridge (ADB) interface</string>

    <!-- Android debugging notification -->
    <string name="adb_notify">Debugging notify</string>
    <string name="adb_notify_summary">Display a notification when USB or network debugging is enabled</string>
---------------------------------------------

---------------------------------------------
vim frameworks/base/packages/SystemUI/res/values/strings.xml
---------------------------------------------
    <!-- Title of confirmation dialog for USB debugging -->
    <string name="usb_debugging_title">Allow USB debugging?</string>

    <!-- Message of confirmation dialog for USB debugging -->
    <string name="usb_debugging_message">The computer\'s RSA key fingerprint is:\n<xliff:g id="fingerprint">%1$s</xliff:g></string>

    <!-- Option to always allow USB debugging from the attached computer -->
    <string name="usb_debugging_always">Always allow from this computer</string>
---------------------------------------------

---------------------------------------------
vim frameworks/base/packages/SettingsLib/res/values/strings.xml
---------------------------------------------
    <string name="development_settings_title">Developer options</string>

    <!-- Preference category for app debugging development settings. [CHAR LIMIT=50] -->
    <string name="debug_debugging_category">Debugging</string>
---------------------------------------------

---------------------------------------------
grep development_settings_title -R packages/
---------------------------------------------
packages/apps/Settings/res/xml/development_prefs.xml:            android:summary="@string/enable_adb_summary_cm" />
---------------------------------------------
packages/apps/Settings/AndroidManifest.xml:                android:label="@string/development_settings_title"
packages/apps/Settings/AndroidManifest.xml:                  android:label="@string/development_settings_title"
packages/apps/Settings/res/xml/development_prefs.xml:        android:title="@string/development_settings_title">
---------------------------------------------

---------------------------------------------
packages/apps/CMParts/res/values/strings.xml:    <string name="profiles_settings_title">System profiles</string>
---------------------------------------------
packages/apps/CMParts/AndroidManifest.xml:            android:label="@string/profiles_settings_title"
---------------------------------------------

---------------------------------------------
grep "About phone" -R . --exclude-dir=out --exclude-dir='\.git' --exclude-dir=cts --exclude-dir=prebuilts
---------------------------------------------
./packages/apps/Settings/res/values-en-rAU/strings.xml:    <string name="about_settings" product="default" msgid="1743378368185371685">"About phone"</string>

./packages/apps/Settings/res/values-en-rGB/strings.xml:    <string name="about_settings" product="default" msgid="1743378368185371685">"About phone"</string>

./packages/apps/Settings/res/values-en-rIN/strings.xml:    <string name="about_settings" product="default" msgid="1743378368185371685">"About phone"</string>

./packages/apps/Settings/res/values/strings.xml:    <string name="about_settings" product="default">About phone</string>

./development/samples/UiAutomator/src/com/android/test/uiautomator/demos/LogBuildNumber.java:        if (!selectSettingsFor("About phone"))
---------------------------------------------


---------------------------------------------
vim packages/apps/Settings/res/xml/development_prefs.xml
---------------------------------------------
将这两个选项 【 Root access 】 【 Android debugging 】
移到下面的文件中
---------------------------------------------
vim packages/apps/Settings/AndroidManifest.xml
---------------------------------------------
vim packages/apps/CMParts/AndroidManifest.xml
---------------------------------------------

---------------------------------------------

---------------------------------------------

================ VirtualBox 中的 lineageOS,点击 Developer options (打算打开调试功能),GUI 重启

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值