How to add Contributors Credits options of Cyanogenmod ROM in other ROMs
Hello good day XDA
Tested this on MT6577 & MT6589 device running Jellybean. I think this guide will work on other's too.
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL 2 ++
Ok Let's Start
STEP 1
First decompile your Settings.apk.
STEP 2
Merge the files in Settings.apk
{
"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"
}
STEP 3
Now replace the exiting png named "contributors_cloud.png" present in "assets" folder with your png. But make sure the name of png should be same i.e "contributors_cloud"
STEP 4
Now open "device_info_settings.xml" Or Where ever You Want present in Settings.apk/res/xml and add this code.
Code:
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.gurpreet.ContributorsCloud" />
STEP 5
Now open the "strings.xml" present in Settings.apk/res/values and add these lines above </resources>
Code:
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
STEP 6
- Compile
- Sign it
Special Thanks to :-
Code:
Cyanogenmod
Gurpreet Singh
Note !
You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali
HAPPY MODDING
SCREENSHOTS
Reserved
nice sir...thx for guide
Thanks you.
D2Y aka E said:
nice sir...thx for guide
Click to expand...
Click to collapse
Carlos Arriaga said:
Thanks you.
Click to expand...
Click to collapse
Your Welcome HIT THANKS
Related
This is actually part of http://forum.xda-developers.com/showthread.php?t=1102755 I was part of the testers and gave them my systemUI and framework.
http://dl.dropbox.com/u/11560058/patch(1).zip
( CM7.0.3 only, maybe nightlies or older versions might work, I'm not sure. )
{
"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"
}
Launcher Pro - Only works with Live Wallpaper, if normal wallpapers you'd have to Hide notification bar at Appearance Settings
Adw Launcher - Disable Wallpaper Hack
Go Launcher - No problems
GB Launcher - No problems
Arc Launcher - No problems ( I use this. Looks better and feels better than all others. )
This is how to make this patch work with other themes.
1 : Pull theme APK from device ( titanium backup would work fine )
2 : Unpack the APK
3 : Make a semi transparent 480x38 png named statusbar_background2 and place it in /Res/Drawable-HDPI ( it does not have to replace the old statusbar background. ) It can have textures or just transparent. This part is up to you.
3 : Go into /Res/XML and find com_android_systemui.xml and open with a text editor.
4 : Find the lines
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">@drawable/com_android_systemui_statusbar_background</item>
Click to expand...
Click to collapse
and change it to
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">statusbar_background2</item>
Click to expand...
Click to collapse
( Change the item name to the png you've made )
Then repack your apk and install and apply. Should work! if it does not, contact me.
Once again this flashable zip file belongs to ZduneX25 and not me. Make sure to check out the original thread
EchoT Scripter
v1.0
Description :
It's a small program i made for myself to create updater-script easily .
Require:
jre 7 .
Features :
Select box operations.
Set permission calculator.
Symlink from files in a folder OR files' names on txt file.
Batch operations.
Editable text field so you can edit whatever you want.
Upcoming features :
Add busybox installation .
Add busybox run tools .
Your suggestion ?!
v1.1 :
Added read from file.
Now it's exe file .
Icon added.
Windows look and feel.
Minor String edit.
Screenshots :
{
"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"
}
Download
http://goo.gl/9gcRP
**Note : you have to revise the script because it's still in the early version .As there's no regex for any input strings,
or an app bug,, don't blame me for throwing your phone from the window
res
Re: [tool][Windows][Updater-script]EchoT Scripter
I think this might be worth a look.....
Thanks for sharing
Sent from my GT-I9300 using xda premium
Nice app dude! Really helpful for dualboot maniacs as me. xD
911-Future_Maker said:
Nice app dude! Really helpful for dualboot maniacs as me. xD
Click to expand...
Click to collapse
yes the idea was to make symlink easily for dualbooting so i need something like that
v1.1 :
Added read from file.
Now it's exe file .
Icon added.
Windows look and feel.
Minor String edit.
hello xda devs
from very first i would like to say im really big fan of white theme i dont like black backgroud so i was looking for guide i found guides for apps having styles.xml
and in androidmanifest.xml some codes but for what that which app dont use any both of these so many apps donsent use theming code so for that i made this guide with this you can use white theme and mod the app so lets start
things you need
apk decompiler and recompiler for ex (apktool , apktool for android , apk manager , etc
and any text editor
decompile app that you want to theme it to white
note: this is only for those apps that do not use theme codes in style.xml and
androidmanifest.xml
so how is it possible to theme that app ?
answer is so simple just add a little code to androidmanifest.xml
open androidmanifest.xml and look for
<activity
android:label="@strings/example
if you found it [example is only for example it may diffrent in apps so i keep it example
see the images and just below that code add this code
android:theme="@*android:style/Theme.Holo.Light"
or you can also use this
android:theme="@*android:style/Theme.DeviceDefault.Light"
see images below
Before adding code
View attachment 2548446
After adding code
View attachment 2548448
what's next ?
youre done
now recompile and sign it
I have used sony smart key from play store
View attachment 2548455
{
"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"
}
credits = @akashpillai
note: if you use this guide please give proper credits
enjoy
dont forget to hit thanks button
i like black one. still hit thanks for helpful post
Sent from my ST23i using XDA Premium 4 mobile app
great guide broda
Hi, I bring some applications modified with the appearance of android lollipop,
and i changed to work perfectly in the s duos
Note:
Code:
[COLOR="Red"]Some applications are not the originals, just themed stock application of ICS gapps.[/COLOR]
What is themed?
Code:
Calculator.apk
MyFiles.apk
SecGallery.apk
...
Well, here are a few applications that I've finished edit:
Calculator:
{
"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"
}
MyFiles:
SecGallery
Install Instructions and Links on two post
HIT TANKS BUTTON IF YOU LIKE MY WORK!
Instructions and Links
Instructions:
Download Material_Apps.zip from attachments
Reboot to recovery
Install the .zip file
Reboot
Enjoy :good:
If there any bugs please tell me!
Changelog
Code:
add Calculator
add MyFiles
add SecGallery
Good job but mostly are using cm11
prajjwal13 said:
Good job but mostly are using cm11
Click to expand...
Click to collapse
Thanks, new apps will be added soon
mois2511 said:
Hi, I bring some applications modified with the appearance of android lollipop,
and i changed to work perfectly in the s duos
Note:
Code:
[COLOR="Red"]Some applications are not the originals, just themed stock application of ICS gapps.[/COLOR]
What is themed?
Code:
Calculator.apk
MyFiles.apk
SecGallery.apk
...
Well, here are a few applications that I've finished edit:
Calculator:
MyFiles:
SecGallery
Install Instructions and Links on two post
HIT TANKS BUTTON IF YOU LIKE MY WORK!
Click to expand...
Click to collapse
my files not working its force stopping can give the stock my file ?!
Hello guys…
This guide is for developers who are still developing Android 2.3 GingerBread devices. Before adding, make sure your ROM has CM7 Screenshot app.
Let's start!
1. Decomplie SystemUI.apk
2.Unzip the smali folder in smali.zip and copy the smali folder to decomplied smali folder.
3.Open the layout xml which you want to add button, and add this line according to your layout:
<com.vesa.actionbar.BackButton android:layout_height="32.0dip" android:layout_width="fill_parent" android:text="@string/meui_ssbtn" android:background="#00000000" />
4.Open res/values/strings.xml, and before </resources>
add this line:
<string name="meui_ssbtn">Take Screenshot</string>
5. (Additional) If you want Simplified Chinese support, open res/values-zh-rCN/strings.xml, before </resources>
Add this line:
<string name="meui_ssbtn">屏幕截图</string>
6.Recompile SystemUI, sign(if you have patched signature) and put it in system.
Sorry for my English…
Smali comes from:
https://forum.xda-developers.com/an...buttons-titlebar-height-t2825667/post54349163
Thanks!
Screenshot:
{
"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"
}
Attachment:
https://mega.nz/#!xYMi1ZpY!vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
Key to link: !vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
(If your ROM doesn't have screenshot support, put the apk into /system/app and set permission 0644, put the screenshot file into /system/bin and set permission 0755. )
Created: 2017-3-4
Last updated: 2017-3-4
如果您的母语是中文,前往:http://tieba.baidu.com/p/4649407787
Sent from my Honor 4C 『天生急性子』
Reserved.
Sent from my Honor 4C 『天生急性子』
If this guide helps you, please click thanks button…
Sent from my HUAWEI CHM-TL00H using XDA Labs