• 825

Note 2生活日記與刷機分享(第12頁第1篇)


globe68 wrote:
找不到照相聲音調節的選項.....(恕刪)


相機=>設定=>快門聲
kk_chow wrote:
E大,請問你有教程或者link敎在note或note2的設定菜單中添加cpu spy,fast dormancy等嗎?
我try google,但搜不到。請指點,謝謝!
(恕刪)

如何在 設定 加入應用程式

這次教學共要加入 5 個應用程式

1. Cpu 訊息, 深睡眠
2. Cpu 工作狀況
3. CSC 代碼變更
4. 三星工程代碼
5. 快速休眠

這次教學我們用 4.1.2 DLL7 V9 的 Secsettings.apk 來說明

所以我把上面 6 個檔, 做個直刷包

farm.zip (23.7 mb)

https://docs.google.com/file/d/0B80kk8AOqhiaZ0t2QlItTEl2eHM/edit

======================================================

1. 下載 farm.zip (23.7 mb), 解壓縮後 取出 system/app/Secsettings.apk

2. 反編譯 Secsettings.apk

3. 本次反編譯, 共需修改的項目如下 :

a. \SecSettings\res\xml\settings_headers.xml
b. \SecSettings\res\values\ids.xml
c. \SecSettings\res\values\strings.xml
d. \SecSettings\res\values\public.xml
e. 5 個圖示

4. 首先我們改 \SecSettings\res\xml\settings_headers.xml

5. 找 android.settings.ADD_ACCOUNT_SETTINGS ( 約 51 列)

下面一列
</header>

插入 , 加入下面這些程式碼 (它的意思,在設定 新增帳號下, 多出一組 設定的選項)


<header android:title="@string/header_category_phoenix" />
<header android:icon="@drawable/spy" android:id="@id/cpuspy" android:title="@string/cpuspy">
<intent android:targetPackage="com.cpuspy" android:action="android.intent.action.MAIN" android:targetClass="com.cpuspy.ui.HomeActivity" />
</header>
<header android:icon="@drawable/cpumon" android:id="@id/cpu" android:title="@string/cpu">
<intent android:targetPackage="aut.lgx.cpumonitor" android:action="android.intent.action.MAIN" android:targetClass="aut.lgx.cpumonitor.CpuMonitor" />
</header>
<header android:icon="@drawable/csc" android:id="@id/csc" android:title="@string/csc">
<intent android:targetPackage="com.manniakk.cscselector" android:action="android.intent.action.MAIN" android:targetClass="com.manniakk.cscselector.MAIN" />
</header>
<header android:icon="@drawable/code" android:id="@id/codesec" android:title="@string/codesec">
<intent android:targetPackage="com.alienware.sgs.secretcode" android:action="android.intent.action.MAIN" android:targetClass="com.alienware.sgs.secretcode.MainActivity" />
</header>
<header android:icon="@drawable/fdormancy" android:id="@id/gokhan" android:title="@string/gokhan">
<intent android:targetPackage="com.gokhanmoral.fastdormancytoggle.i9300" android:action="android.intent.action.MAIN" android:targetClass="com.gokhanmoral.fastdormancytoggle.i9300.main" />
</header>

6. 存檔

7. 打開 \SecSettings\res\values\ids.xml

8. 最後一列加入

<item type="id" name="cpuspy">false</item>
<item type="id" name="cpu">false</item>
<item type="id" name="csc">false</item>
<item type="id" name="codesec">false</item>
<item type="id" name="gokhan">false</item>

9. 存檔

10. 打開 \SecSettings\res\values\strings.xml

11. 最後一列加入

<string name="cpuspy">Cpu 訊息, 深睡眠</string>
<string name="cpu">Cpu 工作狀況</string>
<string name="csc">CSC 代碼變更 (Wipe)</string>
<string name="codesec">三星工程代碼</string>
<string name="header_category_phoenix">增加的程式</string>
<string name="gokhan">快速休眠</string>

12. 存檔

13. 打開 \SecSettings\res\values\public.xml

14. 找下面這一列最後一碼

<public type="drawable" name => 最後一個編碼

<public type="drawable" name="APKTOOL_DUMMY_03ba" id="0x7f0203ba" />


所以從 0x7f0203bb 開始

在 <public type="drawable" name="APKTOOL_DUMMY_03ba" id="0x7f0203ba" /> 下面加入

<public type="drawable" name="code" id="0x7f0203bb" />
<public type="drawable" name="cpumon" id="0x7f0203bc" />
<public type="drawable" name="csc" id="0x7f0203bd" />
<public type="drawable" name="spy" id="0x7f0203be" />
<public type="drawable" name="fdormancy" id="0x7f0203bf" />


找下面這一列最後一碼 0x7f090de7

<public type="string" name="update_firmware" id="0x7f090de7" />

所以從 0x7f090de8 開始

在 <public type="string" name="update_firmware" id="0x7f090de7" /> 下面加入

<public type="string" name="cpuspy" id="0x7f090de8" />
<public type="string" name="cpu" id="0x7f090de9" />
<public type="string" name="csc" id="0x7f090dea" />
<public type="string" name="codesec" id="0x7f090deb" />
<public type="string" name="header_category_phoenix" id="0x7f090dec" />
<public type="string" name="gokhan" id="0x7f090ded" />

找下面這一列最後一碼 0x7f0b03f1

<public type="id" name="wifi_wps" id="0x7f0b03f1" />

所以從 0x7f0b03f2 開始

在 <public type="id" name="wifi_wps" id="0x7f0b03f1" /> 下面加入

<public type="id" name="cpuspy" id="0x7f0b03f2" />
<public type="id" name="cpu" id="0x7f0b03f3" />
<public type="id" name="csc" id="0x7f0b03f4" />
<public type="id" name="codesec" id="0x7f0b03f5" />
<public type="id" name="gokhan" id="0x7f0b03f6" />

15. 存檔

16. 現在要加入 5 個圖示

cpuspy.png
cpu.png
csc.png
codesec.png
gokhan.png




settings.rar (46.6 kb)

https://docs.google.com/file/d/0B80kk8AOqhiac0FSRF8wNEZibVE/edit

17. 將 settings.rar (46.6 kb)解壓縮的圖示 ,復製到 \SecSettings\res\drawable-xhdpi

18. 開始編譯 , 編謘完成後, 資料夾內若有 [dist] 就表示成功

19. 我們要把 [dist]這個資料夾, 裡面的 Secsettings.apk , 解壓縮下面的檔案

\Secsettings\dist\Secsettings\resources.arsc

\SecSettings\dist\SecSettings\res\xml\settings_headers.xml

20. 回到編譯的主目錄, 將上面解壓縮的2個檔分別覆蓋至原來的 Secsettings.apk

21. 原來的 Secsettings.apk 已完成編譯, 但尚未加入 5 個圖示, 剛剛加入的是

編譯中的 Secsettings.apk , 現在要將 5 個圖示,加入已編譯好的 Secsettings.apk

22. 圖示加入後, 整個 Secsettings.apk 才算完全

23. 因為本次是要在設定執行 5 個程式, 所以那 5 個程式,也要刷入手機

24. 所以, 現在做個直刷包,

25. 用剛剛下載 farm.zip (23.7 mb) 為模組 , 再加入已編譯好的 Secsettings.apk

26. 將檔名改為 Settng_add.zip

Settng_add.zip (23.8 mb)

https://docs.google.com/file/d/0B80kk8AOqhiabVdTY3MtMnIydzQ/edit

27. 已經全部完成了, 刷入後 測試看看





28. 上面這個直刷包 Settng_add.zip (23.8 mb) , 只要 4.1.2 的 rom ,都可以刷

Espower wrote:
下拉背景圖示 back.png , 換 25% , 它就是 25%

選擇包 10 可以選擇


那是背景的透明度吧,但是通知項目一樣是全透,我是想調整通知項目的透明度
打開note2 內建功能CSC教學
檔案為/system/csc/feature.xml
步驟1.可以root explorer進入手機的/system/csc/feature.xml copy 到sd卡
步驟2.從sd卡上拷貝到電腦做編輯
步驟3.使用notepad++或是EmEditord來編輯feature.xml這個檔案
步驟4.編輯完成存檔
步驟5.把編輯好的檔案copy到sd卡然而在置換手機裡的feature.xml然後修改權限

notepad++:http://notepad-plus-plus.org/
Emeditord:http://zh-tw.emeditor.com/

新增項目

修改方法:找到</FeatureSet>把以下的設定新增到</FeatureSet>上一行即可
例如:
<!-- Add shutter sound on/off menu to stock camera app -->
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
</FeatureSet>

1.增加相機無聲開關
<!-- Add shutter sound on/off menu to stock camera app -->
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>

2.原生瀏覽器按Menu鍵會出現"X退出瀏覽器"的選項
<!-- Add default Web Browser Close -->
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>

3.原生瀏覽器按退出瀏覽器時會有確認是否要退出瀏覽器訊息
<!-- Add Confirm whether you want to exit the browser -->
<CscFeature_Web_EnablePromptToExit>true</CscFeature_Web_EnablePromptToExit>

4.原生瀏覽器按設定時顯示進階設定
<!-- Show the current user agent in Internet_Settings_Advanced -->
<CscFeature_Web_ShowVersionInSetting>true</CscFeature_Web_ShowVersionInSetting>

5.增加連絡人有撥號按鍵
<!-- Enable call button in contact list -->
<CscFeature_Contact_EnableCallButtonInList>true</CscFeature_Contact_EnableCallButtonInList>

6.快速撥號 10 組增加至 100 組
<!-- extend speed dials to 100 -->
<CscFeature_Contact_ExtendSpeedDialTo100>true</CscFeature_Contact_ExtendSpeedDialTo100>

7.聯絡人的長度不限制 (1280)
<!-- Extend Contact name lenth Limit to 1280 -->
<CscFeature_Contact_LimitNameLength>1280</CscFeature_Contact_LimitNameLength>

8.開啟三星鍵盤字集功能
注意(<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>此行有些ROM版本會有有些沒有
如果有的話把原有的那一行DEL即可)
<!-- Enable sub Symbols on Stock Samsung keyboard -->
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB;zh_TW</CscFeature_Sip_EnableSymbolInSecondary>

9.從設定隱藏軟件更新
<!-- Hide Software Update from Settings -->
<CscFeature_Setting_DisableMenuSoftwareUpdate>true</CscFeature_Setting_DisableMenuSoftwareUpdate>

10.開啟設定時,顯示您的硬體版本(同輸入*#12580 * 369#)
<!-- Show your hardware revision in Settings_About -->
<CscFeature_Setting_EnableHwVersionDisplay>true</CscFeature_Setting_EnableHwVersionDisplay>

修改項目

修改方法:
例如:找到<CscFeature_Contact_SetLinkCountMaxAs>5</CscFeature_Contact_SetLinkCountMaxAs>
把這一行置換成
<!-- No Limits on joining contacts together -->
<CscFeature_Contact_SetLinkCountMaxAs>999</CscFeature_Contact_SetLinkCountMaxAs>

1.合併聯絡人 5 組增加到 1000 組(原值為5)
原設定(找)
<CscFeature_Contact_SetLinkCountMaxAs>5</CscFeature_Contact_SetLinkCountMaxAs>
置換成
<!-- No Limits on joining contacts together -->
<CscFeature_Contact_SetLinkCountMaxAs>999</CscFeature_Contact_SetLinkCountMaxAs>

2.撥號尋找時,找到同號碼時,接著撥出電話(原值為[1]false [2]9)
原設定(找)
<CscFeature_Dialer_PhonebookNdigitsMatching>false</CscFeature_Dialer_PhonebookNdigitsMatching>
置換成
<!-- Dialer search matches numbers in contacts and call logs along with contacts -->
<CscFeature_Dialer_PhonebookNdigitsMatching>true</CscFeature_Dialer_PhonebookNdigitsMatching>
原設定(找)
<CscFeature_RIL_CallerIdMatchingDigit>9</CscFeature_RIL_CallerIdMatchingDigit>
置換成
<!-- Dialer search matches numbers in contacts and call logs along with contacts -->
<CscFeature_RIL_CallerIdMatchingDigit>true</CscFeature_RIL_CallerIdMatchingDigit>

參考網址XDA-->http://forum.xda-developers.com/showthread.php?t=2033894

emprize wrote:
那是背景的透明度吧,...(恕刪)


怪不得有時大大們這麼生氣
請問各位有試過THOR KERNEL 嗎?

emprize wrote:
那是背景的透明度吧,...(恕刪)

這位大大,你要的是狀態列的透明度嗎?
另外,e大是很辛苦的在幫各位解決問題,請不要當成理所當然一樣,說話客氣點。

Espower wrote:
相機=>設定=...(恕刪)


可是只有關跟開呢@.@
請問大家有試過相機拍照突然會變得比較白汒汒一片嗎?
拍出來的都好像很光的樣子。。。
不知道出什麼問題勒。。。

globe68 wrote:
可是只有關跟開呢@....(恕刪)


其實我一早的理解也是開跟關,不過大大看字面上可能以為能選音效,例如青蛙叫之類
  • 825
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 825)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?