[ANLATIM] AYARLARA SHAKE TOGGLE EKLEME

Rillendin

Aktif Üye
YENİ BİR ANLATIMLA KARŞINIZDAYIM.CİHAZI SALLAMA veya TERS ÇEVİRME HAREKETİ İLE (Wifi-Bluetooth-Ekran Dön.-Sessiz Mod-Uçak Modu-vs) Açma Kapama Yapabilirsiniz.
Şunuda Belirtiyim 2-3 Dengesiz Çıkıp Anlatım Benim Diye Sahiplenmesin.Anlatım Türkçeleştirmesi Düzenlemeleri Bana Ait.Orjinal Hali ''MAADR'' Aittir.

Verdigim Linkteki Dosyaları Gerekli Yerlerine Atın!
https://yadi.sk/d/6clKHCeDtFhUq

Çalışan Romlar:
KK,MM,JB,ICS,LP   (Kitkat'ta Denendi)

Gerekli Araçlar:
Apktool veya Türevleri
Eklenicek Romun (Framework-res.apk-Mediatek-res.apk-Settings.apk)

1-Konuyu Fazla Uzatmamak Amacıyla Framework-Mediatek İmport Ettikten Sonra Settings.apk'yı Decompile Ediyoruz.
2-Androidmanifest.xml'yi Açıp Bu Kodu Aratıyoruz </application
Verdigim Kodları Resimdeki Gibi Ekleyin ve Kaydedin

Kod:
    <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.BIND_INPUT_METHOD"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>


Kod:
<activity android:label="Goyang Activate Toggle" android:name="com.psycho.goyangdu30.PsychoShake"/>
        <activity android:label="Advance shaking settings" android:name="com.psycho.goyangdu30.psychoAdvance"/>
        <service android:name="com.psycho.goyangdu30.psychoService"/>
        <receiver android:name="com.psycho.goyangdu30.psychoStartOnBootRcv">
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
                <category android:name="android.intent.category.HOME"/>
        </receiver>
QM3Q1v.png

3-res/values/arrays.xml  </resources> Üstüne Ekleyin. Açıp Verdigim Kodları Ekleyin ve Kaydedin.

Kod:
<string-array name="arr_toggle_options_entries">
        <item>None</item>
        <item>Wifi</item>
        <item>Bluetooth</item>
        <item>Auto rotate</item>
        <item>Airplane mode</item>
        <item>Silent mode</item>
        <item>Screen on</item>
    </string-array>
    <string-array name="arr_toggle_options_values">
        <item>0</item>
        <item>1</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>5</item>
        <item>6</item>
    </string-array>
    <string-array name="arr_sensitivity_entries">
        <item>1 (very sensitive)</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>5 (normal)</item>
        <item>6</item>
        <item>7</item>
        <item>8</item>
        <item>9 (very hard)</item>
    </string-array>
    <string-array name="arr_sensitivity_values">
        <item>1</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>5</item>
        <item>6</item>
        <item>7</item>
        <item>8</item>
        <item>9</item>
    </string-array>
4-values-tr/Strings.xml Açıp </resources> Üstüne Kodları Ekleyin.

Kod:
    <string name="str_application_settings">Uygulama Ayarları</string>
    <string name="str_enable_shake_toggle">Aktif Shake Toggle</string>
    <string name="str_enable_shake_toggle_key">enable_shake_toggle_key</string>
    <string name="str_enable_shake_toggle_on">Aktif service</string>
    <string name="str_enable_shake_toggle_off">Devre dışı service</string>
    <string name="str_start_on_boot">Açılışta Aktif Et</string>
    <string name="str_start_on_boot_key">start_on_boot_key</string>
    <string name="str_start_on_boot_on">Açılışta Aktif</string>
    <string name="str_start_on_boot_off">Açılışta Kapalı</string>
    <string name="str_shake_settings">Shake Ayarları</string>
    <string name="str_flip_settings">Çevirme Ayarları</string>
    <string name="str_toggle_options_key">toggle_options_key</string>
    <string name="str_flip_toggle_options_key">flip_toggle_options_key</string>
    <string name="str_toggle_options">Toggle ayarları</string>
    <string name="str_toggle_options_summary">Toggle seç</string>
    <string name="str_toggle_options_default">1</string>
    <string name="str_flip_toggle_options_default">3</string>
    <string name="str_sensitivity_key">sensitivity_key</string>
    <string name="str_sensitivity">Hassaslık</string>
    <string name="str_sensitivity_summary">Hassaslıgı Seç</string>
    <string name="str_sensitivity_default">5</string>
    <string name="str_enable_vibration">Titreşim Aktif</string>
    <string name="str_enable_vibration_key">enable_vibration_key</string>
    <string name="str_flip_enable_vibration_key">flip_enable_vibration_key</string>
    <string name="str_enable_vibration_on">Toggle titreşim aktif</string>
    <string name="str_enable_vibration_off">Toggle titreşim aktif devre dışı</string>
    <string name="str_others">Diğer</string>
    <string name="str_advanced_key">advanced_key</string>
    <string name="str_advanced">Gelişmiş</string>
    <string name="str_advanced_summary">Ekstra özellik</string>
    <string name="str_flip_silent_key">flip_silent_key</string>
    <string name="str_flip_silent">Çevirme ile Sessiz</string>
    <string name="str_flip_silent_on">Çevirme ile Sessiz Mod Aktif</string>
    <string name="str_flip_silent_off">Çevirme ile Sessiz Mod Devre Dışı</string>
4-Xml/Display_settings.xml Açıp Bu Kodu Ekleyin

Kod:
<PreferenceScreen android:title="shake to toggle" android:summary="toggle">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.psycho.goyangdu30.PsychoShake" />
    </PreferenceScreen>
5-Settings.apk yı Recompile Edip Tekrar Decompile Edin.
res/values/public.xml yi Açın ve Publicleri Degiştirin.

Kod:
smali\com\psycho\goyangdu30\psychoAdvance.smali (1 hit)
	Line 28:     const v0, 0x7f040109         <public type="layout" name="advanced_shaking" id=
	
  smali\com\psycho\goyangdu30\psychoCheckBoxPreference.smali (1 hit)
	Line 75:     const v3, 0x7f080b44         <public type="string" name="str_enable_shake_toggle_key" id=
	
  smali\com\psycho\goyangdu30\psychoService.smali (10 hits)
	Line 283:     const v2, 0x7f080b4d         <public type="layout" name="advanced_shaking" id=
	Line 289:     const v3, 0x7f080b51         <public type="string" name="str_toggle_options_default" id=
	Line 311:     const v2, 0x7f080b4e         <public type="string" name="str_flip_toggle_options_key" id=
	Line 317:     const v3, 0x7f080b52         <public type="string" name="str_flip_toggle_options_default" id=
	Line 790:     const v2, 0x7f080b58         <public type="string" name="str_enable_vibration_key" id=
	Line 808:     const v2, 0x7f080b59         <public type="string" name="str_flip_enable_vibration_key" id=
	Line 1043:    const v1, 0x7f080b60         <public type="string" name="str_flip_silent_key" id=
	Line 1167:    const v1, 0x7f080b60         <public type="string" name="str_flip_silent_key" id=
	Line 1278:    const v1, 0x7f080b53         <public type="string" name="str_sensitivity_key" id=
	Line 1284:    const v2, 0x7f080b56         <public type="string" name="str_sensitivity_default" id=
	
  smali\com\psycho\goyangdu30\PsychoShake.smali (9 hits)
	Line 72:     const v8, 0x7f080b59           <public type="string" name="str_flip_enable_vibration_key" id=
	Line 74:     const v7, 0x7f080b58           <public type="string" name="str_enable_vibration_key" id=
	Line 76:     const v6, 0x7f080b48           <public type="string" name="str_start_on_boot_key" id=
	Line 78:     const v5, 0x7f080b44           <public type="string" name="str_enable_shake_toggle_key" id=
	Line 86:     const v2, 0x7f04010a           <public type="layout" name="shake_or_die" id=
	Line 171:    const v2, 0x7f080b4d           <public type="layout" name="advanced_shaking" id=
	Line 186:    const v2, 0x7f080b4e           <public type="string" name="str_flip_toggle_options_key" id=
	Line 201:    const v2, 0x7f080b53           <public type="string" name="str_sensitivity_key" id=
	Line 307:    const v2, 0x7f080b5d           <public type="string" name="str_advanced_key" id=
	
  smali\com\psycho\goyangdu30\psychoStartOnBootRcv.smali (1 hit)
	Line 47:     const v2, 0x7f080b48         <public type="string" name="str_start_on_boot_key" id=
6-İşlemler Bu Kadar Settings.apk yı Recompile Edin ve İmzalayın Verdigim Flaşlama Zipi İle Recovery den Flaşlayın.


Link: DOSYALAR


TEŞEKKÜRLER:
@"Frozen" 
MAADR
XDA
psycho mrtechnical
ISRAEL MARTINEZ (Y) 2016
 
türk porno porno porno izle eryaman escort diyarbakır escort
Üst