Thursday, April 25, 2019

Guide add partition info in settings


Add partition



Tested on A75A* sc7731

ok, let's start

1. Decompile your Settings.apk

2. Merge all files

3. Add this line in stings.xml above </resoures>


< string name="partition_info_title">Partition info< /string>
< string name="partition_info_system">/system< /string>
< string name="partition_info_data">/data< /string>
< string name="partition_info_cache">/cache< /string>
< string name="partition_info_sdcard">/sdcard (FAT)< /string>
< string name="partition_info_sdext">/sd-ext (EXT)< /string>
< string name="partition_info_used_of">/< /string>
< string name="null">Unavailable< /string>

4. Add this line in device_info_memory.xml


< PreferenceScreen android:title="@string/partition_info_title">
	< intent android:targetPackage="com.android.settings" android:action="com.android.action.MAIN" android:targetClass="com.rentjong.deviceinfo.memory.PartitionInfo" />
< /PreferenceScreen>

5. Add this line in androidManifest.xml



< activity android:label="@string/partition_info_title" android:name="com.rentjong.deviceinfo.memory.PartitionInfo">
	< intent-filter>
		< category android:name="android.intent.category.VOICE_LAUNCH"/>
	< /intent-filter>
< /activity>

6. Now, Recompile and Decompile again for replacing id

        #0x7f0709e8 #



< public type="string" name="partition_info_used_of" id="0x7f0709e8" />

        #0x7f050058 #
     

< public type="xml" name="partition_info" id="0x7f050058" />

7. Recompile, sign, finish...

8. Reboot !


source : http://forum.xda-developers.com/android/themes/guide-add-partition-info-settings-t2911330


*Material


Guide partition info in settings



Thanks to

XDA Group
Rentjong Os
Y0U :*
Me (Aryo Wysata)


Sun, 3-Jun-2018 Jatirejo, Nagan Raya, Aceh