{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I came across this thread a week or more back and implemented it in my ICS rom, but I wasn't happy with it(various reasons but mostly because it is gesture based). So I abandoned it. Fast forward a couple days, jumping from project to project, idea to idea and I somehow ended up porting the latest ICS version of ShenduOS. Then boom, the settings app was *almost* exactly what I wanted. It featured a more natural swiping from tab to tab, similar to most launchers.
So I stripped the code for the tabs from the shendu settings app, stripped that code of any Shendu specific code and re-coded portions of the smali code so I could add it to the settings app of the ICS rom I use as my daily driver. What I ended up with is what seems to be something thats pretty generic and not rom specific.
So now I share with you what *should* work with any ICS+ rom. This guide will be very similar to the one I linked to above.
THIS SHOULD ALSO WORK ON OTHER DEVICES BUT I CANNOT TEST TO BE SURE
Prerequisites:
-experience decompiling/recompiling apk's with APKTool
-experience signing apks
-experience editing/theming apks
I will not go into any of the above any more then just saying when to preform certain actions......
GUIDE:
1. First you will need to decompile the Settings.apk from your ROM with apktool
2. Download the Settings.zip I attached to this post
3. Unzip the Settings.zip and copy the 'res' and 'smali' folders to your decompiled Settings.apk folder(merge with existing folders of the same names)
4. Open 'res/values/strings.xml' from the decompiled settings apk in your favorite text editor and add the following to the end of the list of strings...
Code:
<string name="personalized_setting">Personal</string>
<string name="device_setting">System</string>
<string name="app_setting">Applications</string>
5. Open 'res/values/ids.xml' from the decompiled settings apk in your favorite text editor and add the following to the end of the list of ID's
Code:
<item type="id" name="linearLayout1">false</item>
<item type="id" name="personalized_tab">false</item>
<item type="id" name="device_tab">false</item>
<item type="id" name="app_tab">false</item>
<item type="id" name="cursor">false</item>
<item type="id" name="vPager">false</item>
6.Now you must recompile the settings.apk. This is because APKtool will give resource ID's to certain resources we added during this process, we need these generated ID's in the following steps because the code access's some resources directly by the ID's.
7. Decompile the Newly recompiled APK again, from here on out I will assume your editing this newly recompiled/decompiled version.
8. With this step it is very easy to make a typo, so please make sure you are paying Extra attention to details during this step.
-Open up 'res/values/public.xml' and you will find lines similar to the following.
Code:
<public type="id" name="[COLOR="Red"]vPager[/COLOR]" id="[U]0x7f08022a[/U]" />
-Below I will give you a list of .smali file names, each file is located in the 'smali/com/android/settings/' folder of your decompiled settings.apk
- Each file name will be followed by a line similar to above, you need to search the smali files for the ID(underlined in the example above)
- Then search the public.xml I told you to open above for the name for each line(red in example above)
- Replace the ID in the smali file with the one you located in the public.xml
Code:
!--MainSettings.smali--!
<public type="id" name="vPager" id="0x7f08022a" />
<public type="id" name="cursor" id="0x7f080229" />
<public type="id" name="app_tab" id="0x7f080168" />
<public type="id" name="device_tab" id="0x7f080228" />
<public type="id" name="personalized_tab" id="0x7f080227" />
<public type="layout" name="mainsetting" id="0x7f040090" />
!--DeviceSettings.smali--!
<public type="xml" name="device_settings_headers" id="0x7f050051" />
!--AppSettings.smali--!
<public type="xml" name="app_settings_headers" id="0x7f050052" />
!--PersonalSettings.smali--!
<public type="xml" name="personal_settings_headers" id="0x7f050053" />
9. Now open up the 'AndroidManifest.xml' of your decompiled settings.apk in a text editor.
-Find a section similar to the below....
Code:
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
The important parts you are looking for are 'name="Settings" and the 'android.intent.category.LAUNCHER' lines, there *should* only be a single section with these.
Change this section to the below:
Code:
<activity android:label="@string/settings_label_launcher" android:name="Settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Directly above that section copy/paste the following code:
Code:
<activity android:name="MainSetting" android:theme="@android:style/Theme.NoTitleBar" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="PersonalSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="DeviceSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="AppSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
10. You are now done with this round of modifications, its time to recompile the APK. Because this is a system app and we edited AndroidManifest.xml we must sign this recompiled Apk before pushing it to the system. You can try using any of the keys that come with whatever apk signing tool you use, but you will more then likely end up with a Settings.apk that wont show as being installed. To overcome this on ASOP roms I download and sign system apks with the platfrom keys from CyanogenMod's android_build github. If everything goes well and you push the new signed apk to the system, your settings app should now look similar to this when you open it.
11. What you have is 3 tabs with no settings. I left this for you to do, as each rom has its own specific settings options. Most ASOP roms store the main page of settings options in the 'res/xml/settings_headers.xml'. Copy/paste/reorganize each of these options into the 'app_settings_headers.xml', 'device_settings_headers.xml' and 'personal_settings_headers.xml' files which are also located in 'res/xml/'.
12. After all is said and done above, you *may* need to edit/theme the 'res/layout/mainsettings.xml' to suit your roms specific look.
NOTE:
If you are attempting this on a Non-ASOP Rom or are having trouble you may need to follow these additional instructions
And to finally end this, here are some screenshots where I added this feature to the settings.apk of our twistedmodICS rom by pwn.
alternate mirror to files :http://www.mediafire.com/?8vp99zjfkbe42z2
reserved....
Nice to see you finally got it how you wanted it. Thanks for the guide
Sent from my myTouch_4G_Slide using Tapatalk 2
Nice guide. Thank you.
TEAM MiK
MikROMs Since 3/13/11
strapped365 said:
Nice to see you finally got it how you wanted it. Thanks for the guide
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
Yessir, I was giddy like a little school girl when I finally got it to function how I wanted
Sent from my HTC Evo Shift using xda app-developers app
Thanks for the work you put into this and the guide
Never mind, I figured it out!
SaintZ93 said:
Never mind, I figured it out!
Click to expand...
Click to collapse
lol.. I re-downloaded to double check, checked it, then quoted your reply only to see that you figured it out already... If you need anything else let me know
Awesome
Shifted from planet Namek
thanks Bro for the guide
but I'm still confuse with this
Quote :
"To overcome this on ASOP roms I
download and sign system apks with the
platfrom keys from CyanogenMod's
android_build github. "
can you guide that too ?
Thanks in advance
hello BigSplit.....after I followed your tutorial. I get this in apktool
C: \ Documents and Settings \ server \ Desktop \ ICS Apktool> apkto
I: Checking Whether sources has changed ...
I: Smaling ...
I: Checking Whether resources has changed ...
I: Building resources ...
AAPT: warning: string 'dsds_dsds_device_status' has no def
\ Documents and Settings \ server \ Desktop \ ICS Apktool \ Settings
AAPT: warning: string 'dsdsdevice_status' has no default t
ents and Settings \ server \ Desktop \ ICS Apktool \ Settings \ res;
I: Building apk file ...
C: \ Documents and Settings \ server \ Desktop \ ICS Apktool> apkto
I: Checking Whether sources has changed ...
I: Checking Whether resources has changed ...
I: Building apk file ...
C: \ Documents and Settings \ server \ Desktop \ ICS Apktool>
and I try to push my settings and my settings disappeared after reboot. help me to fix this problem .. thks
did u sign the apk like i mentioned in the op?
Adi_ai****eru said:
thanks Bro for the guide
but I'm still confuse with this
Quote :
"To overcome this on ASOP roms I
download and sign system apks with the
platfrom keys from CyanogenMod's
android_build github. "
can you guide that too ?
Thanks in advance
Click to expand...
Click to collapse
Google for a guide about signing apks. Most tutorials will have you sign apks with test keys, I gave you a link in that sentence you quoted directly to the files I said you should use in signing instead.
BigSplit said:
Google for a guide about signing apks. Most tutorials will have you sign apks with test keys, I gave you a link in that sentence you quoted directly to the files I said you should use in signing instead.
Click to expand...
Click to collapse
Adi_ai****eru said:
thanks Bro for the guide
but I'm still confuse with this
Quote :
"To overcome this on ASOP roms I
download and sign system apks with the
platfrom keys from CyanogenMod's
android_build github. "
can you guide that too ?
Thanks in advance
Click to expand...
Click to collapse
Dont worry, I got you
HOW TO SIGN APKS/ZIPS
Note: Java needs to be installed for this to work
1. Download the signapk.zip file from my mediafire
http://www.mediafire.com/#8gjgusqbct8q2
2. Extract it and read the "usage.txt"
3. Download the .pk8 and .pem files that BigSplit linked to and copy those into the extracted "signapk" directory
4. Open a command prompt window in the "signapk" extracted directory (Shift+RightClick > Open command prompt here)
5. Run the command in the "usage.txt", substituting your downloaded ".pem" file and your downloaded ".pk8" file and the Settings.apk file in the appropriate places
Command should look something like this
Code:
java -jar signapk.jar downloaded-certificate-HERE.pem download-key-HERE.pk8 SettingsAppHere.apk Settings-signed.apk
The "settings-signed.apk" part can be changed to anything, thats just the signed output file
"SettingsAppHere.apk" is the Settings app you are modding
Sent from my PG06100
Time to sticky this one
stare into oblivion
Fall into sleep
turkbot said:
Time to sticky this one
stare into oblivion
Fall into sleep
Click to expand...
Click to collapse
I know right.
Awesome find again, BigSplit, must've taken you a lot of digging in forums and background knowledge but I gotta say, the end product is definitely worth it :good:
Sent from my PG06100
CNexus said:
Dont worry, I got you
HOW TO SIGN APKS/ZIPS
Note: Java needs to be installed for this to work
1. Download the signapk.zip file from my mediafire
http://www.mediafire.com/#8gjgusqbct8q2
2. Extract it and read the "usage.txt"
3. Download the .pk8 and .pem files that BigSplit linked to and copy those into the extracted "signapk" directory
4. Open a command prompt window in the "signapk" extracted directory (Shift+RightClick > Open command prompt here)
5. Run the command in the "usage.txt", substituting your downloaded ".pem" file and your downloaded ".pk8" file and the Settings.apk file in the appropriate places
Command should look something like this
Code:
java -jar signapk.jar downloaded-certificate-HERE.pem download-key-HERE.pk8 SettingsAppHere.apk Settings-signed.apk
The "settings-signed.apk" part can be changed to anything, thats just the signed output file
"SettingsAppHere.apk" is the Settings app you are modding
Sent from my PG06100
Click to expand...
Click to collapse
How about ApkMultitools ?
I ussualy use ApkMultitools to decompile/compile/sign.apk
Sent from my GT-I8150 using xda app-developers app
Adi_ai****eru said:
How about ApkMultitools ?
I ussualy use ApkMultitools to decompile/compile/sign.apk
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
I guess thats fine too. I like doing things manually though when I can
BigSplit said:
did u sign the apk like i mentioned in the op?
Click to expand...
Click to collapse
Sir ... Can you make this for me. I always fail at boot time ... my settings are always lost. probably because I could not find - <public type="layout" name="mainsetting" id="0x7f040090" /> in public.xml,
im st23i 4.0.4. thks sir ..
Nathan Ali Ashari said:
Sir ... Can you make this for me. I always fail at boot time ... my settings are always lost. probably because I could not find - <public type="layout" name="mainsetting" id="0x7f040090" /> in public.xml,
im st23i 4.0.4. thks sir ..
Click to expand...
Click to collapse
So you are on a stock firmware? If so, I would guess that the other packages are not signed with the same keys I linked to since its a stock ROM and not asop. The only thing you can do then is to attempt to re-sign every system apk/jar with a new signature(which I've never been successful at doing).
And the mainsetting will only show up in the public xml AFTER you compile it, then decompile it again. The only reason it wouldnt show up is if you are not placing the files i posted in the correct directories or not recompiling/decompiling when I said to.
Related
well my policy I share what I learn
Several friends have asked me how to do it to not be sending pm to give the public preferred time for all to their own kitchens roms
Step 1 CHOOSE the item you want to leave the default
I Elected
CRYSTAL CM7 Theme by DaRk_dOg
step 2
apktool use to decompile and know the command line to add in the build.prop
ejmplo
copy the apk where is the apktool
C: \ Crystal.apk
go to cmd type the following command
cd ..
cd ..
apktool if Crystal.apk
apktool d Crystal.apk (decompile)
step 3
see the lines that nesesitamos for build.prop
go to
C: \ Crystal \ AndroidManifest.xml (use notepad + + to see the lines you need)
and find the following lines
PHP:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" android:versionCode="44" android:versionName="2.5" package="com.darkdog.theme.crystal"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
<application android:label="@string/theme_name" android:icon="@drawable/icon" android:hasCode="false" />
<uses-feature android:name="com.tmobile.software.themes" />
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" />
<theme pluto:themeId="Crystal" pluto:styleId="@style/Crystal" pluto:name="@string/theme_name" pluto:preview="@drawable/preview" pluto:author="@string/author" pluto:copyright="@string/copyright" pluto:wallpaperImage="@drawable/wallpaper" pluto:styleName="@string/style_appearance_name" pluto:ringtoneName="Shocking" pluto:ringtoneFileName="media/audio/ringtones/Shocking.mp3" pluto:notificationRingtoneName="Teleport" pluto:notificationRingtoneFileName="media/audio/notifications/Teleport.mp3">
<meta-data android:name="com.tmobile.theme.redirections" android:resource="@xml/redirections" />
</theme>
</manifest>
PHP:
package="com.darkdog.theme.crystal
pluto:themeId="Crystal""
PHP:
#Theme
persist.sys.themeId=
persist.sys.themePackageName=
and get something like this in bulid.prop
PHP:
#Theme
persist.sys.themeId=Crystal
persist.sys.themePackageName=com.darkdog.theme.crystal
I hope it serves
Bro,
appreciate your work. but i dont understand what you have done in the above.
is it a theme extract from a rom? pls provide little information.
(its ok, even if you know little english just post some info)
Thank you!
Tommylee567 said:
Bro,
appreciate your work. but i dont understand what you have done in the above.
is it a theme extract from a rom? pls provide little information.
(its ok, even if you know little english just post some info)
Thank you!
Click to expand...
Click to collapse
is to use a default theme in the rom without using theme choose
Sent from my U20i using xda premium
Hi everyone,
I've created a GO SMS Pro theme using their webtool,
but it appears to have yet to implement various common aspects of functionality. I want to be able to modify the AndroidManifest.xml file myself, primarily to add Airpush (the presence of which I let people know of from the beginning), but the formatting is quite garbled. I'm guessing this may be due to the localization to Chinese that the Google Play developer console reports. Does anyone have a functional, readily editable version in English with all the required information for a GO SMS Pro Theme? I want to be assured I have all the required information, rather than hacking together another xml file with Eclipse. I figured I'd install the Chinese language on my computer, but it appears Microsoft did not include such functionality in Windows 7 Premium (64-bit). I've download other GO SMS Pro themes with Airpush, figuring I could use their AndroidManifest.xml and mail.xml files as templates, but found the same formatting / editability issue. Thank you for your help!
I've since found kantbstopped519's post at the end of page 3 in the following thread: http://forum.xda-developers.com/showthread.php?t=1125626&page=3
and used what was posted:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="5" android:versionName="1.0" android:installLocation="auto" package="com.jb.gosms.theme.kxnt.dark"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="@string/app_name" android:icon="@drawable/jb_smsmms">
<activity android:theme="@android:style/Theme.Dialog" android:label="@string/app_name_desc" android:name=".GoSmsInstallDialog" android:excludeFromRecents="true" android:launchMode="singleInstance">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
<intent-filter>
<action android:name="com.jb.mms.theme.others" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="4" />
</manifest>
Click to expand...
Click to collapse
It appears this functioned for kantbstopped519.
I used this as a template (made no additions of Airpush or anything such) and made the supposedly appropriate changes, also changing anything referencing @string to plain text directly in AndroidManifest.xml. Now I'm getting that informative "The server could not process your apk. Try again."
I've been making various changes, deletions, and resigning after each change, to repeatedly the same message. Only re-adding my original garbled-de-goop AndroidManifest.xml file and resigning has thus far resulted in a successful processing upon upload. Could this have something to do with the resources.arsc and/or classes.dex files in the root of the apk?
If the APK is already compiled then you will need to decompile it with apktool to get the XML readable.
eXtended CM10 Settings.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Featured.
Superuser Shortcut
DSPManager Shortcut
USB Connections Shortcut
Tethering Shortcut
Device owner info
Recovery version
Click to expand...
Click to collapse
Things you'll need.
PC or Laptop
apktool, zipalign and others
WinRAR or WinZip
Notepad++
Patience!
Click to expand...
Click to collapse
Installing apkTool.
STEP 1
You must install apktool to your PC from HERE and other tools HERE
Extract it to a same directory
Then, copy cmd from Windows/System32 Directory (ex. C:\Windows\System32) and move it your apktool directory
STEP 2
Download zipalign from HERE, move it to Windows Directory (ex. C:\Windows)
Superuser shortcut.
STEP 1
Copy your framework-res.apk from system/framework and Settings.apk from /system/app/ then place it in your apktool directory
STEP 2
Open cmd in your apktool directory, type
Code:
apktool if framework-res.apk
then
Code:
apktool d Settings.apk
STEP 3
Go to Settings\res\xml
Open settings_headers.xml with Notepad++
Go to this
Code:
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
add a line below
Code:
<header android:icon="@drawable/ic_settings_superuser" android:id="@id/superuser_settings" android:title="@string/superuser_settings_title">
<intent android:targetPackage="[COLOR="Red"](Referring to your Superuser app, go to post [URL="http://forum.xda-developers.com/showpost.php?p=41069458&postcount=3"]#3[/URL])[/COLOR]" android:action="android.intent.action.MAIN" android:targetClass="[COLOR="red"](Referring to your Superuser app, go to post [URL="http://forum.xda-developers.com/showpost.php?p=41069458&postcount=3"]#3[/URL])[/COLOR]" />
</header>
so it look like this
Code:
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
<header android:icon="@drawable/ic_settings_superuser" android:id="@id/superuser_settings" android:title="@string/superuser_settings_title">
<intent android:targetPackage="[COLOR="Red"](Referring to your Superuser app, go to post [URL="http://forum.xda-developers.com/showpost.php?p=41069458&postcount=3"]#3[/URL])[/COLOR]" android:action="android.intent.action.MAIN" android:targetClass="[COLOR="Red"](Referring to your Superuser app, go to post [URL="http://forum.xda-developers.com/showpost.php?p=41069458&postcount=3"]#3[/URL])[/COLOR]" />
</header>
and save
STEP 4
Download the Superuser icon .zip in the attachment below
Extract it to Settings\res\drawable-mdpi
STEP 5
Go to Settings\res\values
Open ids.xml with Notepad++
Go to this
Code:
<item type="id" name="themes_settings">false</item>
add a line below
Code:
<item type="id" name="superuser_settings">false</item>
so it look like this
Code:
<item type="id" name="themes_settings">false</item>
<item type="id" name="superuser_settings">false</item>
and save
STEP 6
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="themes_settings_title">Themes</string>
add a line below
Code:
<string name="superuser_settings_title">Superuser</string>
so it look like this
Code:
<string name="themes_settings_title">Themes</string>
<string name="superuser_settings_title">Superuser</string>
and save
STEP 7
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 8
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 9
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
DSPManager shortcut.
STEP 1
If you have decompiled Settings.apk, Go to Settings\res\xml
Open settings_headers.xml with Notepad++
Go to this
Code:
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
add a line below
Code:
<header android:icon="@drawable/ic_settings_dspmanager" android:id="@id/dspmanager_settings" android:title="@string/dspmanager_settings_title">
<intent android:targetPackage="com.bel.android.dspmanager" android:action="android.intent.action.MAIN" android:targetClass="com.bel.android.dspmanager.activity.DSPManager" />
</header>
so it look like this
Code:
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
<header android:icon="@drawable/ic_settings_dspmanager" android:id="@id/dspmanager_settings" android:title="@string/dspmanager_settings_title">
<intent android:targetPackage="com.bel.android.dspmanager" android:action="android.intent.action.MAIN" android:targetClass="com.bel.android.dspmanager.activity.DSPManager" />
</header>
and save
STEP 2
Download the DSPManager icon .zip in the attachment below
Extract it to Settings\res\drawable-mdpi
STEP 3
Go to Settings\res\values
Open ids.xml with Notepad++
Go to this
Code:
<item type="id" name="themes_settings">false</item>
add a line below
Code:
<item type="id" name="dspmanager_settings">false</item>
so it look like this
Code:
<item type="id" name="themes_settings">false</item>
<item type="id" name="dspmanager_settings">false</item>
and save
STEP 4
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="themes_settings_title">Themes</string>
add a line below
Code:
<string name="dspmanager_settings_title">Equalizer</string>
so it look like this
Code:
<string name="themes_settings_title">Themes</string>
<string name="dspmanager_settings_title">Equalizer</string>
and save
STEP 5
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 6
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 7
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
USB Connections shortcut.
STEP 1
If you have decompiled Settings.apk, Go to Settings\res\xml
Open settings_headers.xml with Notepad++
Go to this
Code:
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
add a line below
Code:
<header android:icon="@drawable/ic_settings_usb" android:id="@id/usb_settings" android:title="@string/storage_title_usb" android:fragment="com.android.settings.deviceinfo.UsbSettings" />
so it look like this
Code:
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_usb" android:id="@id/usb_settings" android:title="@string/storage_title_usb" android:fragment="com.android.settings.deviceinfo.UsbSettings" />
and save
STEP 2
Download the USB icon .zip in the attachment below
Extract it to Settings\res\drawable-mdpi
STEP 3
Go to Settings\res\values
Open ids.xml with Notepad++
Go to this
Code:
<item type="id" name="application_settings">false</item>
add a line below
Code:
<item type="id" name="usb_settings">false</item>
so it look like this
Code:
<item type="id" name="application_settings">false</item>
<item type="id" name="usb_settings">false</item>
and save
STEP 4
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="storage_title_usb">[COLOR="Red"]USB computer connection[/COLOR]</string>
change to
Code:
<string name="storage_title_usb">[COLOR="Red"]USB connection[/COLOR]</string>
and save
STEP 5
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 6
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 7
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
Tethering shortcut.
STEP 1
If you have decompiled Settings.apk, Go to Settings\res\xml
Open settings_headers.xml with Notepad++
Go to this
Code:
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
add a line below
Code:
<header android:icon="@drawable/ic_settings_tether" android:id="@id/tether_settings" android:title="@string/tether_settings_title" android:fragment="com.android.settings.TetherSettings" />
so it look like this
Code:
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_tether" android:id="@id/tether_settings" android:title="@string/tether_settings_title_all" android:fragment="com.android.settings.TetherSettings" />
and save
STEP 2
Download the Tether icon .zip in the attachment below
Extract it to Settings\res\drawable-mdpi
STEP 3
Go to Settings\res\values
Open ids.xml with Notepad++
Go to this
Code:
<item type="id" name="bluetooth_settings">false</item>
add a line below
Code:
<item type="id" name="tether_settings">false</item>
so it look like this
Code:
<item type="id" name="bluetooth_settings">false</item>
<item type="id" name="tether_settings">false</item>
and save
STEP 4
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="bluetooth_settings_title">Bluetooth</string>
add a line below
Code:
<string name="tether_settings_title">Tethering</string>
so it look like this
Code:
<string name="bluetooth_settings_title">Bluetooth</string>
<string name="tether_settings_title">Tethering</string>
and save
STEP 5
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 6
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 7
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
Device owner info.
STEP 1
If you have decompiled Settings.apk, Go to Settings\res\xml
Open device_info_settings.xml with Notepad++
Go to this
Code:
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
add a line below
Code:
<Preference android:title="@string/device_owner" android:key="device_user" android:summary="@string/device_owner_info" style="?android:preferenceInformationStyle" />
so it look like this
Code:
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/device_owner" android:key="device_owner" android:summary="@string/device_owner_info" style="?android:preferenceInformationStyle" />
and save
STEP 2
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="device_info_default">Unknown</string>
add a line below
Code:
<string name="device_owner">Device owner</string>
<string name="device_owner_info">[COLOR="Red"]Your Name[/COLOR]</string>
so it look like this
Code:
<string name="device_info_default">Unknown</string>
<string name="device_owner">Device owner</string>
<string name="device_owner_info">[COLOR="Red"]Your Name[/COLOR]</string>
and save
STEP 3
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 4
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 5
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
Recovery version.
STEP 1
If you have decompiled Settings.apk, Go to Settings\res\xml
Open device_info_settings.xml with Notepad++
Go to this
Code:
<Preference android:title="@string/mod_version" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
add a line below
Code:
<Preference android:title="@string/recovery_version" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
so it look like this
Code:
<Preference android:title="@string/mod_version" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/recovery_version" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
and save
STEP 2
Go to Settings\res\values
Open strings.xml with Notepad++
Go to this
Code:
<string name="mod_version_default">Unknown</string>
add a line below
Code:
<string name="recovery_version">Recovery version</string>
<string name="recovery_version_default">[COLOR="Red"]Your Recovery[/COLOR]</string>
so it look like this
Code:
<string name="mod_version_default">Unknown</string>
<string name="recovery_version">Recovery version</string>
<string name="recovery_version_default">[COLOR="Red"]Your Recovery[/COLOR]</string>
and save
STEP 3
Open cmd in your apktool directory, type
Code:
apktool b Settings al.apk
then open al.apk and Settings.apk with WinRAR, copy META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk, when it ask to compress click OK
STEP 4
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk Settingsmod.apk
STEP 5
Move your Settingsmod.apk to your phone, rename to Settings.apk, move it to /system/app/ and change permission to rw-r--r--
Then reboot
Superuser app.
Superuser by ClockWorkMod (Koushik Dutta)
Code:
android:targetPackage="com.koushikdutta.superuser"
android:targetClass="com.koushikdutta.superuser.MainActivity"
Superuser by ChainsDD
Code:
android:targetPackage="com.noshufou.android.su"
android:targetClass="com.noshufou.android.su.Su"
SuperSU by Chainfire
Code:
android:targetPackage="eu.chainfire.supersu"
android:targetClass="eu.chainfire.supersu.MainActivity"
Click to expand...
Click to collapse
Credits to.
Quinny899 for his adding items guide HERE
Koush for his awesome Superuser app HERE
ChainsDD for his awesome Superuser app HERE
Chainfire for his awesome SuperSU app HERE
@sandy7 already taught this guide in this thread
your thread is some kind of spam in my view
always use search
yamin8000 said:
@sandy7 already taught this guide in this thread
your thread is some kind of spam in my view
always use search
Click to expand...
Click to collapse
But I didn't show how to add su shortcut....
So I think its not a spam..and plz do respect for this tut..
Any how OP nice explaination :thumbup::thumbup:
Sent from my SK17i using xda premium
sandy7 said:
But I didn't show how to add su shortcut....
So I think its not a spam..and plz do respect for this tut..
Any how OP nice explaination :thumbup::thumbup:
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
i dont think adding superuser to settings is different from adding CPU option
both of them are same way
only different is name of package that can anybody find it in android-manifest
if this isn't true somebody must teach us how to add all of play store apps to settings in separate guides :laugh:
The guy atleast put in efforts to type n cared to share his knowledge
Respect the person for that mate!
And it is not a spam ...by any means...
Atleast it's way better than spams by noobs
Sent from my MT11i using xda premium
works great.... Owner in settings!
What about integrating Superuser to Settings .. as it is in Cm roms ??
sidharth.gtm said:
What about integrating Superuser to Settings .. as it is in Cm roms ??
Click to expand...
Click to collapse
Yeah I'm working on it now,,
Diaz1999 said:
Yeah I'm working on it now,,
Click to expand...
Click to collapse
Bro that would be real challenge..
and please teach us with great tutorials
sidharth.gtm said:
Bro that would be real challenge..
and please teach us with great tutorials
Click to expand...
Click to collapse
Please you or someone upload Settings.apk which contain Superuser integration ( usually CM10.1 Settings.apk ), I'll try to port it to our device CM10 Settings
via XDA for Timescape™
Diaz1999 said:
Please you or someone upload Settings.apk which contain Superuser integration ( usually CM10.1 Settings.apk ), I'll try to port it to our device CM10 Settings
via XDA for Timescape™
Click to expand...
Click to collapse
here you go bro !
sidharth.gtm said:
here you go bro !
Click to expand...
Click to collapse
Hoaahem,, now is 12.54 AM in my time zone, I'll try it tomorrow
via XDA for Timescape™
In PA2.5.7, that is based on CM10, in settings we have a option to make the status bar to adapt different transparent levels, so can we get that option in CM settings??
stanlin salu said:
In PA2.5.7, that is based on CM10, in settings we have a option to make the status bar to adapt different transparent levels, so can we get that option in CM settings??
Click to expand...
Click to collapse
I could make a shortcut for that, but you must follow this guide first, then the shortcut will be placed in System > Status bar > Change Transparency will open Statusbar Tweaks inside TweakBox Xposed Module
Can you make tutorial for tabbed settings?
i know there's one on XDA, but i guess that thread doesn't have support anymore and the tutorial is confusing :fingers-crossed:
awesome tut btw
stanlin salu said:
In PA2.5.7, that is based on CM10, in settings we have a option to make the status bar to adapt different transparent levels, so can we get that option in CM settings??
Click to expand...
Click to collapse
I've done make it, but I'm sorry I'm sick at home, have a cold and flu , I'll write the guide later
lanvrc said:
Can you make tutorial for tabbed settings?
i know there's one on XDA, but i guess that thread doesn't have support anymore and the tutorial is confusing :fingers-crossed:
awesome tut btw
Click to expand...
Click to collapse
I've found that guide, I'll try it later
via XDA for Timescape™
work on cm10?
Yes, look on the title...
Sent from my Xperia Mini Pro using xda app-developers app
This Is My First Guide So Please Forgive Me If I Forget Something
In This Guide I Will Show You How to Make A New Activity Like For example :
- Credits
- About Rom
And Etc.
Requirements:
Any Tool that can Decompile & Recompile with it's requirements
Notepad++ (Will Be Much Easier To Use This)
My Friend Saqib Nazm Has Made A Very Good Guide About How to Add Any Option In Settings.apk Which May Prove Helpful In This Guide : [Complete Tutorial] How to add any App/Option in Settings.apk
I Will Be Using Credits In About Phone As An Example:
First Of All You Should Know How To Decompile Settings.apk ( This Guide May Prove HelpFul : How to Decompile/Recompile Apk with Apk Multitool + Decompile/Recompile Jar Files
First Of All Extract And Decompile Your Settings.apk
_
Now Navigate To /res/xml/ And Open
- device_info_settings.xml (If You Want It In The About_Phone Section)
- Go Here If You Want To Add To Main Menu
Now Go To The End And Add (Or Whereever You Want It To Be)
Code:
<PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />
</PreferenceScreen>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
_
Now Navigate To /res/values
And Open Strings.xml
Then Add This At The End
Code:
<string name="credits_activity_title">Credits</string>
<string name="device_credit">Credits</string>
<string name="device_credit_summary"></string>
<string name="credit_dev_header">Developed By:</string>
<string name="credit_dev_name">"Name Here"</string>
<string name="credit_header">Thanks To:</string>
<string name="credit_name">"-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here"</string>
Note : \n Is used to add a new line
_
Now Download The File From The Attachment And Paste The Files Into Your Decompiled Directory
_
Now Edit AndroidManifest.xml
And Add This To The End
Code:
<activity android:label="@string/credits_activity_title" android:name=".deviceinfo.Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
_
Now Recompile The Apk And Then Decompile it Again
_
In The Directory You Just Decompiled The Apk Navigate To /res/values/
And Open Public.xml
Search For : device_info_credits
And Copy The ID Beside What You Just Searched
Then Navigate To /smali/com/android/settings/deviceinfo/
And Open Credits.smali
And Find This Code
Code:
.line 20
const v0, [U]0x7f050039[/U]
Change the UnderLined Part To The ID You Just Copied From Public.xml
_
Now You May Recompile Your Settings.apk
Please Remember To Sign The APK
*ScreenShots Are Available Within The Hidden Contents*
*How To Change This For WhatEver You Want*
*Here I Will Be Explaining How You Can Modify This Guide To Include Whatever You Want*
First In /res/xml/device_info_settings.xml *OPTIONAL*
Change The Codes In Red To What You Desire
Change The Code In Green To What You Desire As Well But Be Cautious About This As Most Things Will Use This
Code:
<PreferenceScreen android:title="@string/[COLOR="Red"]device_credit[/COLOR]" android:key="[COLOR="Red"]credits_info[/COLOR]" android:summary="@string[COLOR="red"]/device_credit_summary[/COLOR]">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo[COLOR="Green"].Credits[/COLOR]" />
</PreferenceScreen>
_
Now In /res/values/Strings.xml *IMPORTANT*
Change The Codes In Red To What You Set In The Previous Step
Change The Codes In Green To Whatever You Want To Be Displayed
Code:
<string name="[COLOR="Red"]credits_activity_title[/COLOR]">[COLOR="green"]Credits[/COLOR]</string>
<string name="[COLOR="red"]device_credit[/COLOR]">[COLOR="green"]Credits[/COLOR]</string>
<string name="[COLOR="red"]device_credit_summary[/COLOR]"></string>
<string name="[COLOR="red"]credit_dev_header[/COLOR]">[COLOR="Green"]Developed By:[/COLOR]</string>
<string name="[COLOR="red"]credit_dev_name[/COLOR]">[COLOR="Green"]Name Here[/COLOR]</string>
<string name="[COLOR="red"]credit_header[/COLOR]">[COLOR="green"]Thanks To:[/COLOR]</string>
<string name="[COLOR="red"]credit_name[/COLOR]">"[COLOR="green"]-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here[/COLOR]"</string>
_
Now In The Attached File *OPTIONAL*
Rename The Both Files In My Settings.apk
The Smali FIle Rename To What You Set In Step 1 (The One In Green)
Inside the smali file change all the occurences accordingly
in Public.xml to get the ID use the name of the renamed xml file
Now In Android Manifest
Change The Stuff In Red To What You Have Already Set
Code:
<activity android:label="@string/[COLOR="Red"]credits_activity_title[/COLOR]" android:name=".deviceinfo[COLOR="Red"].Credits[/COLOR]">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
Edit The xml file in my zip accordingly
And Now Follow My Guide
Ok wait @Sahaab
why to create a thread of you toke an example if this and its already here?
http://forum.xda-developers.com/showthread.php?t=2341389
Pandemic said:
Ok wait @Sahaab
why to create a thread of you toke an example if this and its already here?
http://forum.xda-developers.com/showthread.php?t=2341389
Click to expand...
Click to collapse
Try Creating A new activity with that guide
Right, that's the thing so many people asked me, glad that you made it here. I can just re-direct them here now
saqib nazm said:
Right, that's the thing so many people asked me, glad that you made it here. I can just re-direct them here now
Click to expand...
Click to collapse
Go ahead
And u said to make a guide so here it is
It took a while for me to do this for my ROM so I thought I wud
Sent from my LT18i
Hey
Sahaab
Click to expand...
Click to collapse
so i dont know how to deal with this error, any ideas
/home/dev/adt/apk/Settings/res/xml/device_info_settings.xml:42: error: Error parsing XML: no element found
USEFULL INFO
there is no line 42 , only line 41 (not even empty line 42)
ps i didnt change any of the given codes (too lazy and they are fine how they are , im not going to have a second credits menu am i?)
Pps Here is from line 30 to 41
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/fcc_equipment_id" android:key="fcc_equipment_id" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"] <Preference android:title="@string/rom_header" android:key="rom_header" android:summary="@string/rom_name" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<com.sonymobile.settings.preference.IncludePreference settings:include="@xml/somc_add_device_info_settings" />
[COLOR="Red"] <PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />[/COLOR]
</PreferenceScreen>
Key
RED=ADDED
Envious_Data said:
so i dont know how to deal with this error, any ideas
/home/dev/adt/apk/Settings/res/xml/device_info_settings.xml:42: error: Error parsing XML: no element found
USEFULL INFO
there is no line 42 , only line 41 (not even empty line 42)
ps i didnt change any of the given codes (too lazy and they are fine how they are , im not going to have a second credits menu am i?)
Pps Here is from line 30 to 41
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/fcc_equipment_id" android:key="fcc_equipment_id" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"] <Preference android:title="@string/rom_header" android:key="rom_header" android:summary="@string/rom_name" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<com.sonymobile.settings.preference.IncludePreference settings:include="@xml/somc_add_device_info_settings" />
[COLOR="Red"] <PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />[/COLOR]
</PreferenceScreen>
Key
RED=ADDED
Click to expand...
Click to collapse
Either u forgot to edit manifest
Or forgot to paste the files
Sent from my LT18i
Sahaab said:
Either u forgot to edit manifest
Or forgot to paste the files
Sent from my LT18i
Click to expand...
Click to collapse
i did edit android.manifest , and i did paste the files
Lines 933 to lines 939
Code:
<activity android:theme="@style/Theme.Holo.DialogWhenLarge" android:label="@string/credits_activity_title" android:name=".deviceinfo.Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
</manifest>
EDIT i could send you my Files so you could have a look your self?
Excellent contribution my friend!
Envious_Data said:
i did edit android.manifest , and i did paste the files
Lines 933 to lines 939
Code:
EDIT i could send you my Files so you could have a look your self?
Click to expand...
Click to collapse
Plz give whole decompiled settings here
I will look at them in about 8 hours
Sent from my LT18i
here
Sahaab said:
Plz give whole decompiled settings here
I will look at them in about 8 hours
Sent from my LT18i
Click to expand...
Click to collapse
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Envious_Data said:
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Click to expand...
Click to collapse
Ok atleast not few hours
I am fine with days
Sent from my LT18i
Envious_Data said:
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Click to expand...
Click to collapse
umm it says i am not allowed to access the link :-/
Its working fine. User mistake.
Please read out the errors, apktool tells you everything, its really easy to fix.
jader13254 said:
Its working fine. User mistake.
Please read out the errors, apktool tells you everything, its really easy to fix.
Click to expand...
Click to collapse
Could you plz fix it for him?
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Envious_Data said:
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Click to expand...
Click to collapse
Well iTs 4:30 A.m here so hence I will look at it tmrw
Sent from my LT18i
Envious_Data said:
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Click to expand...
Click to collapse
okay , so i fixed it and am uploading
had to restart using the settings.apk u gave me so it probably lost the modifications u may have done
the problem was prob one of the mods u had done :-/
Envious data
Sahaab said:
okay , so i fixed it and am uploading
had to restart using the settings.apk u gave me so it probably lost the modifications u may have done
the problem was prob one of the mods u had done :-/
Envious data
Click to expand...
Click to collapse
okay , was it just the aditional text boxes that you removed?? what exactly did you do?
ps go here -> http://enviousdataswebsite.jimdo.com/credits/
Add jellybean like Wi-Fi & Bluetooth ON/OFF switch in title_bar.
This is a cool guide to add Wi-Fi or Bluetooth switch in titlebar as you can see in jellybean.
This mod work will on any gingerbread running phone.
Things you need:-
Apktool/Apk-Multitool
Notepad++
Basic knowledge about compiling & decompiling.
Basic knowledge about xml editing & modding.
Settings.apk from your rom
Click to expand...
Click to collapse
Lets start:-
Step-1
First of all decompile your settings.apk
Step-2
Now download this
and extract it.
Open & copy the "res" and paste it in your decompiled "settings" folder
Step-3
Now goto settings/res/xml and open wifi_settings.xml
Here you will see a line like that:
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
Step-4
Add this android:layout="@layout/sachin_wifi_switch" Now it will look like this:
Code:
<CheckBoxPreference android:persistent="false" [COLOR="red"]android:layout="@layout/sachin_wifi_switch"[/COLOR] android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
now save and close it.
Step-5
Now open bluetooth_settings.xml
and find this:
Code:
<CheckBoxPreference android:title="@string/bluetooth" android:key="bt_checkbox" android:summary="@string/bluetooth_quick_toggle_summary" />
Step-6
Here add this android:layout="@layout/sachin_bt_switch"
and now it will look like this:
Code:
<CheckBoxPreference [COLOR="red"]android:layout="@layout/sachin_bt_switch"[/COLOR] android:title="@string/bluetooth" android:key="bt_checkbox" android:summary="@string/bluetooth_quick_toggle_summary" />
save and close it.
Step-7
Now open AndroidManifest.xml in "Settings" folder.
Here find this:
Code:
<activity android:label="@string/wifi_settings" android:icon="@drawable/mainmenu_icon_wifi_settings" android:name=".wifi.WifiSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
Step-8
After "activity" add this android:theme="@android:style/Theme.NoTitleBar"
like this:
Code:
<activity [COLOR="red"]android:theme="@android:style/Theme.NoTitleBar"[/COLOR] android:label="@string/wifi_settings" android:icon="@drawable/mainmenu_icon_wifi_settings" android:name=".wifi.WifiSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
now find this:
Code:
<activity android:label="@string/bluetooth_settings_title" android:icon="@drawable/mainmenu_icon_bluetooth_settings" android:name=".bluetooth.BluetoothSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
similarly do here, add android:theme="@android:style/Theme.NoTitleBar" after "activity".
like this:
Code:
<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/bluetooth_settings_title" android:icon="@drawable/mainmenu_icon_bluetooth_settings" android:name=".bluetooth.BluetoothSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
save and close it.
and you are done with modding.
Now compile & Sign the new Settings.apk
and push it to system/app and change the permission to rw-r-r
Enjoy! Press THANKS if you like it
HIT HARD
HIT OFTEN
#Roman Empire
Regards:- Sachin Kumar53