[GUIDE]How to add Tab in Settings.apk with Icon(Working) - Galaxy Y GT-S5360 General

Hello Dear Today I Have A Guide All Credits Goes to CarlDeanCatabay From His Awsome Rom.
If You Include This with ur Rom You Should Give Credits to me and Sir CarlDeanCatabay
Downloads The Zip File From Atthachment
1.Decomnile Your Settings Extract downloaded zip it to the decompiled folder.
2.Open String from /res/values/string
3.Add This
<string name="ic_settings_tab_phone_settings_title">Phone Settings</string>
<string name="ic_settings_tab_advanced_title">Advanced Settings</string>
<string name="ic_settings_tab_about">About Hyperion</string>
Click to expand...
Click to collapse
4.Recompnile
5. Decompnile Its Again
6.Now The Parts Where We Need to Modify Smali
7.Open Public from res/values/public
8.
Open TabActivity And Public
Find 0x7f03005b Change it to "indicator" (Layout)
Find 0x7f0b0019 Change it to "title" (ids)
Find 0x7f0b0018 Change it to "icon" (ids)
Find 0x7f0805d8 Change it to "ic_settings_tab_phone_settings_title" (string)
Find 0x7f0200c1 Change it to "ic_tab_system" (drwable)
Find 0x7f0805d9 Change it to "ic_settings_tab_advanced_title" (string)
Find 0x7f0200c0 Change it to "ic_tab_advanced" (drwable)
Find 0x7f0805da Change it to "ic_settings_tab_about" (string)
Find 0x7f0200bf Change it to "ic_tab_about" (drwable)
Find 0x7f03005c Change it to "main" (layout)
Open SystemActivity And Public
Find 0x7f04003a Change it to "advanced_settings" (xml)
Click to expand...
Click to collapse
9.Find This From AndroidManifiest.xml
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
<uses-library android:name="touchwiz" />
Click to expand...
Click to collapse
10.Add this After The Line
<activity android:theme="@*android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabsActivity" 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>
<activity android:name="SettingsActivity" />
<activity android:name="SystemActivity" />
Click to expand...
Click to collapse
11.Now Find This
<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>
Click to expand...
Click to collapse
12.Replace with
<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>
Click to expand...
Click to collapse
13.Compnile Your Settings Make Flashble File Put into /system/app
14.Enjoy

[TUT] Add on/off button for BT and settings and combine it with tab
Reserved
Hi, This is new method for add switch button. First follow This by sniperkiller. Follow that guide until step 2. And for step IIIa, follow my guide :
1. Open styles.xml located in decompiled Settings.apk
Click to expand...
Click to collapse
2. Delete this
Code:
<style name="Switch">
<item name="android:checkboxStyle">@style/Widget.CompoundButton.CheckBox.Holo.Dark</item>
</style>
Click to expand...
Click to collapse
3. Search this
Code:
<style name="TallTitleBarTheme" parent="@android:style/Theme.NoTitleBar">
Click to expand...
Click to collapse
4. Add this below that code
Code:
<item name="android:checkboxStyle">@style/Widget.CompoundButton.CheckBox.Holo.Dark</item>
Click to expand...
Click to collapse
5. Open AndroidManifest.xml
Click to expand...
Click to collapse
6. Search it
Click to expand...
Click to collapse
Code:
<activity android:theme="@*android:style/Theme.NoTitleBar"
Click to expand...
Click to collapse
7. Change it like
Click to expand...
Click to collapse
Code:
<activity android:theme="@style/TallTitleBarTheme"
Click to expand...
Click to collapse
8. Compile and sign it
Click to expand...
Click to collapse
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"
}
Click to expand...
Click to collapse
Click to expand...
Click to collapse

any screenshot?

Somebody Post Screenshoot

NgamTeroxx said:
any screenshot?
Click to expand...
Click to collapse
Same as hyperions settings.
Sent from my GT-S5360 using Tapatalk 2

Yes the File From Hyperion 8 GM I have credit to Sir CarlDeannCaatabay

Good job , nice guide
Sent from my GT-S6310 using XDA Premium 4 mobile app

dikulbahrian said:
Good job , nice guide
Sent from my GT-S6310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No need to say any thing just press thanks
Sent from my GT-S5360 using xda app-developers app

san122 said:
Same as hyperions settings.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Have u try
Sent from my GT-S5360 using xda app-developers app

Screenshoot addede

shadman0 said:
Screenshoot addede
Click to expand...
Click to collapse
update ur resources bro
Sent from my GT-S5360 using xda premium

markmellarpes said:
update ur resources bro
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
When i on computer i will update
Sent from my GT-S5360 using xda app-developers app

How to change the icon to text ?

GSculerlor said:
How to change the icon to text ?
Click to expand...
Click to collapse
How to make Text Tab I will Make This Guide NextTime
Sent from my GT-S5360 using xda app-developers app

can give me your setting.apk?

Error on first compiling

Do You Like Bottom Tabs

GSculerlor said:
Error on first compiling
Click to expand...
Click to collapse
Ganedra You Have Follow the Instruction This Work for Me Give Ur Settings i will make in 7 days bcoz i hmfacing heavy class in school ok
Sent from my GT-S5360 using xda app-developers app

shadman0 said:
Ganedra You Have Follow the Instruction This Work for Me Give Ur Settings i will make in 7 days bcoz i hmfacing heavy class in school ok
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Here you go ! Its from stock DXMJ1 :fingers-crossed:

GSculerlor said:
Here you go ! Its from stock DXMJ1 :fingers-crossed:
Click to expand...
Click to collapse
I will Make in 7 days
Sent from my GT-S5360 using xda app-developers app

Related

[ROM][JB 4.1.1][Unofficial CM10] T989Kang - Aug 26, 2012 Beta/How to build

{
"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"
}
Welcome to T989Kang​
This is unofficial CM10 build. I want to thank the CyanogenMod team and TeamChopsticks for their hard work getting this to work for us. Thanks to mstrk242 for the hours he spent teaching me how to build from source and helping setup my environment! Thanks to nozerogravity for his awesome boot animation.
I am NOT updating every week...
I figured something is better then nothing.
five star rating would be nice and/or thanks...
Official Change Log
Code:
My input change log:
build Aug. 26,2012
- few internal power tweaks
- otherwise same as Official
build Aug. 18, 2012
- re-release
- added Flash player
- few internal tweaks
- Camera works without flashing another kernel
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
By using the rom you agree with the above terms!
Code:
Broken:
- Google Now voice
- the rest that isn't working in the official build
Wanting to build yourself?
You need to be running Linux 12.04, older build should work but this is for 12.04
This is going to need a lot of room. Just one project is a little over 10gbs
- Download the attached CM10.zip and extract it (which is a script to set up your working environment.)
- type sh andadb.sh and follow the prompts
Code:
sh andadb.sh
- Once done you need to set up the local manifest for our phone
Code:
cd cm10
Code:
gedit local_manifest.xml
- Then copy and paste:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_hercules" path="device/samsung/hercules" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="jellybean" />
<project name="TeamChopsticks/hercskytools" path="hercskytools" remote="github" revision="jellybean" />
<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="jellybean" />
</manifest>
- Save the file and close.
- Then type
Code:
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
and then
Code:
repo sync
this part will take a few hours... go drink a beer or two and relax
Code:
hercskytools/cm10-hercules-apply.sh
automatically pulls team chopsticks' latest commits ~ Thanks to Bishop for this!
- Once it is done it is time to build
Type:
Code:
. build/envsetup.sh
then
Code:
vendor/cm/get-prebuilts
and last
Code:
brunch hercules -j3
* * The -j part depends on how many cores your computer has. Mine is a dual so I use -j5, if you are not sure just stick with -j3
Once it is done without any errors you have successfully built CM10 from source...
CWM zip will be under: CM10/out/target/hercules
Now go drink another beer. Heck if you want, buy me one!
​

			
				
Links:
Download 20120826
Downloads Folder
Check out the MEGA CM10 THEME thread
Inverted Gapps
Saved......
So everything going on at the SR forum for JB is the same as this? I also heard they may have Gnow done by tonight. Thanks for your work sir
Sent from my SAMSUNG-SGH-T989 using xda premium
suaverc118 said:
So everything going on at the SR forum for JB is the same as this? I also heard they may have Gnow done by tonight. Thanks for your work sir
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
For this build yes. Working on setting up my environment tonight, then I'll start compiling from CM source.
Jamison904 said:
For this build yes. Working on setting up my environment tonight, then I'll start compiling from CM source.
Click to expand...
Click to collapse
Cool! I'm new to your stuff and I hate asking this.... But will they be nightlife and I can just flash over?? I've followed some of your other stuff but not completely. But I'm excited to try something new. I'm currently on paranoid android. Thanks man
Sent from my SAMSUNG-SGH-T989 using xda premium
Anything different from 7/20 update over at Skyrocket forums?
Sent from my SAMSUNG-SGH-T989 using xda premium
So like this would be updated with the skyrocket or or u gonna be udating the t989 cm10 just trying to understand?
casonswag said:
So like this would be updated with the skyrocket or or u gonna be udating the t989 cm10 just trying to understand?
Click to expand...
Click to collapse
CM10 T989 - is the idea. Once setup I'll be compiling from CM source, not Kang of skyrocket. But I won't be able to keep up with every build. So basically more of a weekly update is what I am going for. Hope this answers your question.
Jamison904 said:
CM10 T989 - is the idea. Once setup I'll be compiling from CM source, not Kang of skyrocket. But I won't be able to keep up with every build. So basically more of a weekly update is what I am going for. Hope this answers your question.
Click to expand...
Click to collapse
Okay thats great man been waiting for that
Just lost call audio. Rebooted wiped caches etc.... anyone know how to get it back?
EDIT: DS cache wipe multiple times did the trick. very odd though...
Locksmith81 said:
Just lost call audio. Rebooted wiped caches etc.... anyone know how to get it back?
EDIT: DS cache wipe multiple times did the trick. very odd though...
Click to expand...
Click to collapse
Hows it going so far? May take the plunge.
Sent from my SGH-T849 using xda app-developers app
Loving it...been running it all day....first the one from the SR forums...now the latest one that was released here today. Solid!
Sent from my SGH-T989 using xda premium
Been using this like all day, skyrocket port, and no camera but ROM is flying, no toggles but should be implemented soon enuff.
Jamison904 said:
CM10 T989 - is the idea. Once setup I'll be compiling from CM source, not Kang of skyrocket. But I won't be able to keep up with every build. So basically more of a weekly update is what I am going for. Hope this answers your question.
Click to expand...
Click to collapse
i doont have the grates PC in the world but i can pull a CM10 rom in 2 hr and 15 mins if you need help ask me, im not intrested in any credit or something, i just want to help on this to get a proper T898 build and not a Ported Rom
thanx for your great work
regards
mulletcutter said:
Been using this like all day, skyrocket port, and no camera but ROM is flying, no toggles but should be implemented soon enuff.
Click to expand...
Click to collapse
Im a toggle kind of guy lol! Just flashed it and restoring apps right now.
Sent from my SGH-T849 using xda app-developers app
Anyones know of gapps to flash with this? Ive flashwd ics ones on my others but this is Jelly. I like the black themes.
Sent from my SGH-T849 using xda app-developers app
suaverc118 said:
Anyones know of gapps to flash with this? Ive flashwd ics ones on my others but this is Jelly. I like the black themes.
Sent from my SGH-T849 using xda app-developers app
Click to expand...
Click to collapse
reed the op Jelly bean gapps are down the rom link
blackwing182 said:
reed the op Jelly bean gapps are down the rom link
Click to expand...
Click to collapse
Crap I left out inverted.
Sent from my SGH-T989 using xda premium

[DISCUSSION] - AOSPA 3.69+ Compilation SucessFul! - Xperia S

Hi, Guys Im Compiling PAC AND CARBON ROM Using Linaro Right. Now Feel Free To Express What you need to say. either its Positive or Negative
--- Disscussion Holder ---
Credits To : OpenSEMC and @RaymanFX
<project path="device/sony/aoba" name="android_device_sony_aoba" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/hikari" name="android_device_sony_hikari" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/nozomi" name="android_device_sony_nozomi" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/common" name="android_device_sony_common" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/qcom-common" name="android_device_sony_qcom-common" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/fuji-common" name="android_device_sony_fuji-common" remote="opensemc" revision="cm-10.1" />
<project path="kernel/sony/msm8x60" name="android_kernel_sony_msm8x60" remote="opensemc" revision="cm-10.1-fuji" />
<project path="vendor/broadcom/wlan" name="vendor_broadcom_wlan" remote="opensemc" revision="cm-10.1" />
<project path="vendor/sony" name="proprietary_vendor_sony" remote="opensemc" revision="cm-10.1" />
------------
Compilation Progress - From Network - ETA 4Hrs Using -j20 On 22Mbps Internet Speed
I wanna try carbon ... So Waiting!
xjox said:
I wanna try carbon ... So Waiting!
Click to expand...
Click to collapse
Right Now.. Im Compiling AOSPA V3+.
waiting for ur work
sent from my aoba device :3
MrGezz said:
waiting for ur work
sent from my aoba device :3
Click to expand...
Click to collapse
Aoba Wont Be Support ...
@TrinityHaxxorX Whats the difference between AOKPA and AOSPA? Thx..
TrinityHaxxorX said:
Hi, Guys Im Compiling PAC AND CARBON ROM Using Linaro Right. Now Feel Free To Express What you need to say. either its Positive or Negative
--- Disscussion Holder ---
Credits To : OpenSEMC and @RaymanFX
<project path="device/sony/aoba" name="android_device_sony_aoba" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/hikari" name="android_device_sony_hikari" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/nozomi" name="android_device_sony_nozomi" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/common" name="android_device_sony_common" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/qcom-common" name="android_device_sony_qcom-common" remote="opensemc" revision="cm-10.1" />
<project path="device/sony/fuji-common" name="android_device_sony_fuji-common" remote="opensemc" revision="cm-10.1" />
<project path="kernel/sony/msm8x60" name="android_kernel_sony_msm8x60" remote="opensemc" revision="cm-10.1-fuji" />
<project path="vendor/broadcom/wlan" name="vendor_broadcom_wlan" remote="opensemc" revision="cm-10.1" />
<project path="vendor/sony" name="proprietary_vendor_sony" remote="opensemc" revision="cm-10.1" />
------------
Compilation Progress - From Network - ETA 4Hrs Using -j20 On 22Mbps Internet Speed
Click to expand...
Click to collapse
Are you sure you are compiling and not just syncing source?
Sent from my Xperia S using xda app-developers app
ny-hardcore said:
Are you sure you are compiling and not just syncing source?
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
I Got Fu**** Many Problems Here.. I Will PM You Please Help me First attempt lol -_-
{
"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"
}
You have the wrong java version, i see that also as compiling noob
Google version 1.7 the one you need..
sent from nexus 7
androidlover007 said:
You have the wrong java version, i see that also as compiling noob
Google version 1.7 the one you need..
sent from nexus 7
Click to expand...
Click to collapse
He need java 1.6.
TrinityHaxxorX said:
I Got Fu**** Many Problems Here.. I Will PM You Please Help me First attempt lol -_-
Click to expand...
Click to collapse
Download java from here.
androidlover007 said:
You have the wrong java version, i see that also as compiling noob
Google version 1.7 the one you need..
sent from nexus 7
Click to expand...
Click to collapse
Indeed Im not Compiling Noob. lol I Compiler Kernel Etc.. The Problem is on the local_manifest.xml Java is ok
Ive Used latest java compiling AOSP on Galaxy S3 Whats the Problem there lol> Better don't use Noob. lol?
Since your Pro @androidlover007..
Explain This to me.
find: `src': No such file or directory
build/core/main.mk:534: *** Some files have been added to ALL_PREBUILT.
build/core/main.mk:535: *
build/core/main.mk:536: * ALL_PREBUILT is a deprecated mechanism that
build/core/main.mk:537: * should not be used for new files.
build/core/main.mk:538: * As an alternative, use PRODUCT_COPY_FILES in
build/core/main.mk:539: * the appropriate product definition.
build/core/main.mk:540: * build/target/product/core.mk is the product
build/core/main.mk:541: * definition used in all products.
build/core/main.mk:542: *
build/core/main.mk:543: * unexpected bcm4330.ko in ALL_PREBUILT
build/core/main.mk:544: *
build/core/main.mk:545: *** ALL_PREBUILT contains unexpected files. Stop.
TrinityHaxxorX said:
Indeed Im not Compiling Noob. lol I Compiler Kernel Etc.. The Problem is on the local_manifest.xml Java is ok
Ive Used latest java compiling AOSP on Galaxy S3 Whats the Problem there lol> Better don't use Noob. lol?
Since your Pro @androidlover007..
Explain This to me.
find: `src': No such file or directory
build/core/main.mk:534: *** Some files have been added to ALL_PREBUILT.
build/core/main.mk:535: *
build/core/main.mk:536: * ALL_PREBUILT is a deprecated mechanism that
build/core/main.mk:537: * should not be used for new files.
build/core/main.mk:538: * As an alternative, use PRODUCT_COPY_FILES in
build/core/main.mk:539: * the appropriate product definition.
build/core/main.mk:540: * build/target/product/core.mk is the product
build/core/main.mk:541: * definition used in all products.
build/core/main.mk:542: *
build/core/main.mk:543: * unexpected bcm4330.ko in ALL_PREBUILT
build/core/main.mk:544: *
build/core/main.mk:545: *** ALL_PREBUILT contains unexpected files. Stop.
Click to expand...
Click to collapse
I think it has to do with a comit rayman made recently about the disabling the prebuilts or so.
You should check his repo I think he also added a comment there.
Also I think you got @androidlover007 wrong. He said HE is the compiling noob
Apology11 said:
I think it has to do with a comit rayman made recently about the disabling the prebuilts or so.
You should check his repo I think he also added a comment there.
Also I think you got @androidlover007 wrong. He said HE is the compiling noob
Click to expand...
Click to collapse
I Got the Compiling Started Like A Boos ..
'I Will Be Providing AOSPA V3.+ For Xperia S With 100% Support and Kernel For AOSPA...
'Kernel For the AOSPA Is Limited to AOSPA ROM(S) Nothing more Nothing Less. I Will Be Editing Frameworks etc.. On the ROM..
The AOSPA Kernel Will Only Work On AOSPA ROM Compiled By Me..
Is it possible somehow to fix Recording in 1080p?
NO
Wait For Sony lol
TrinityHaxxorX said:
Wait For Sony lol
Click to expand...
Click to collapse
Well, we had to wait for Sony to fix the volup bug too. 2 guys found out
Powered by GSR with Android 4.1.2 on the board.
Gallardo994 said:
Well, we had to wait for Sony to fix the volup bug too. 2 guys found out
Powered by GSR with Android 4.1.2 on the board.
Click to expand...
Click to collapse
Its Fixed.. Already By Me the Volume Up
AOSPA 3.69+ Has Been Build. SuccessFully! Releasing Sooon! any Questions?
Question:
Could you build pa 3.95 (android 4.3) with letamas aosp sources?

[GUIDE] How to add device info in ExpandedView (Real Info from device)

CREDITS
THE POTATOINC
WHAT IS THIS?
Its just a simple device info that can be add in expandedview (or in any app)
FEATURES
ROM Name
Phone model
Android version
CPU
Memory
Battery level
Up time
WHAT IS SPECIAL TO THIS MOD?
You will see several mods with this kind of details but in this, the details is actually
the details of your phone (According to my facebook friends) that's why I made this mod
HOW TO ADD/USE
Decompile your SystemUI.apk
Download the attached ZIP file
Extract then paste to your smali folder
Go to SystemUI.apk/res/layout/statusbar_expanded.xml
paste this code anywhere you want to put it
Code:
[FONT=Century Gothic]<com.potato.statusbar.deviceInfo.Information android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#fff" />[/FONT]
Compile your SystemUI.apk again.
SCREENIES
{
"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"
}
SCREENSHOT FROM OTHER DEVICE
Pol Lube - ArcMobile Nitro 500d
Zion Near Samsung GT-S5360
TROUBLESHOOTING
BTW thread is updated.
If still not showing try to put
android:layout_weight="1"
You can use this your mod/rom but please don't change the name
ex. com.YOURAWESOMESUPERLICIOUSDELICOUSNAME.statusbar.myModzz
And a small credits and thanks is okay.
If you want to modify the code please let me know it first
​
Thanksfor this
Can u give me java code of that?
Sent from my GT-S5570I
How can I translate it
nhyaiba712 said:
How can I translate it
Click to expand...
Click to collapse
Open Information.smali then search for the text that you want to translate.
thanks for this
thx for this
how can I do so as a ArcMobile Nitro 500d or Zion Near Samsung GT-S5360?
hey nice one. but is there any way to display only the ram info?
thanks for this
mariozawa said:
CREDITS
THE POTATOINC
WHAT IS THIS?
Its just a simple device info that can be add in expandedview (or in any app)
FEATURES
ROM Name
Phone model
Android version
CPU
Memory
Battery level
Up time
WHAT IS SPECIAL TO THIS MOD?
You will see several mods with this kind of details but in this, the details is actually
the details of your phone (According to my facebook friends) that's why I made this mod
HOW TO ADD/USE
Decompile your SystemUI.apk
Download the attached ZIP file
Extract then paste to your smali folder
Go to SystemUI.apk/res/layout/statusbar_expanded.xml
paste this code anywhere you want to put it
Code:
[FONT=Century Gothic]<com.potato.statusbar.deviceInfo.Information android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#fff" />[/FONT]
Compile your SystemUI.apk again.
SCREENIES
SCREENSHOT FROM OTHER DEVICE
Pol Lube - ArcMobile Nitro 500d
Zion Near Samsung GT-S5360
TROUBLESHOOTING
BTW thread is updated.
If still not showing try to put
android:layout_weight="1"
You can use this your mod/rom but please don't change the name
ex. com.YOURAWESOMESUPERLICIOUSDELICOUSNAME.statusbar.myModzz
And a small credits and thanks is okay.
If you want to modify the code please let me know it first
​
Click to expand...
Click to collapse
thanks can you share code to add that thing in settings about
@mariozawa bro awesome guides by u.
How to add info on the statusbar tracing like in the screenshot of zion near.
It gives a different look.
Thanks.
very good i made it but i have this result can you help me??
HELP
Sir I made it my problem is that I want it to fit on bottom how to do that sir?:laugh:
G.M.L said:
very good i made it but i have this result can you help me??
Click to expand...
Click to collapse
dansoy92 said:
Sir I made it my problem is that I want it to fit on bottom how to do that sir?:laugh:
Click to expand...
Click to collapse
All you have to do is set android:layout variables. I had the same problem with it being stuck at the top. But adding android:layout_gravity="bottom|center", android:gravity="center" and some padding you get this
Sent from my Galaxy Note II
icedventimocha said:
All you have to do is set android:layout variables. I had the same problem with it being stuck at the top. But adding android:layout_gravity="bottom|center", android:gravity="center" and some padding you get this
Sent from my Galaxy Note II
Click to expand...
Click to collapse
sir, extract dowloaded file then i have "com" folder, have to copy to systemui/smali/com ?
and i want add this to statusbar ( not expanded panel ) and i just want it show memory so what i have to do ( delete other smali file ? )
Sorry sir
I'm just noob
my question
how to make writing to center ?
soory my english is bad
btw nice work :good:
Just in case someone needs it here are the smali files for lollipop
@mariozawa it seems like mod doesn't work on Note 5/Lollipop 5.1.1.....
Any chance of workaround?
wcoast said:
@mariozawa it seems like mod doesn't work on Note 5/Lollipop 5.1.1.....
Any chance of workaround?
Click to expand...
Click to collapse
Just a try. Did you look for another status_bar_expanded.xml? I'm on Note Edge and since 5.1.1 I have a second one and have to use it.
Gesendet von meinem SM-N915FY mit Tapatalk
and2 said:
Just a try. Did you look for another status_bar_expanded.xml? I'm on Note Edge and since 5.1.1 I have a second one and have to use it.
Gesendet von meinem SM-N915FY mit Tapatalk
Click to expand...
Click to collapse
Note 5 have status_bar_expanded, sub_status_bar_expanded, status_bar_expanded_header and msim_status_bar_expanded
---------- Post added at 07:17 AM ---------- Previous post was at 06:53 AM ----------
@and2 I have tried all status_bar_expanded that I can see and even added android:layout_weight="1" but no luck...
wcoast said:
Note 5 have status_bar_expanded, sub_status_bar_expanded, status_bar_expanded_header and msim_status_bar_expanded
---------- Post added at 07:17 AM ---------- Previous post was at 06:53 AM ----------
@and2 I have tried all status_bar_expanded that I can see and even added android:layout_weight="1" but no luck...
Click to expand...
Click to collapse
Even if you try it in layout-sw360dp-xxxhdpi-v13/status_bar_expanded.xml, strange. When ifind some time i have to try it on the Note 5 port of my wife.

Add a Circle ImageView to Framework + Circle Profile Picture Guide

Good day again. I have a new guide here over XDA again. This time I brought you Circle ImageView. I cant make a circle imageview by just using the ordinary imageview. So I came up unto an idea to make a Circle ImageView by means of AOSP. Please dont discriminate me if this guide doesnt useful for some, its for themers. if I help press thanks.
Download Link:
Code:
[url]https://www.mediafire.com/?ra3i2oqb0r7e27t[/url]
Fork this in Github if you want,
Code:
[URL="https://github.com/PineappleOwl/CircleImageView"]https://github.com/PineappleOwl/CircleImageView[/URL]
Now we will be putting the smali in framework,
1. Download the zip over there at the download link.
2. Extract it.
3. Pull your framework.jar
4. Decompile it.
5. Now put the smali you downloaded in the decompiled framework.jar in the directory /smali/android/widget/
6. Compile the framework.jar now.
7. Flash.
As you can see after flashing, there is no changes. Yes thats true LOL. To make it work
Import your new framework.jar in your apktool.
As you now want to add a circle imageview in your layout, here is an example:
Code:
<CircleImageView android:src="@drawable/thepicture" android:layout_height="fill_parent" android:layout_width="fill_parent" />
Apply as ordinary imageview but only make the first word CircleImageView.
Note: LenoxEvolutionV3PrePotatoXLenox has this already in its framework. But only implemented a circle in Lockscreen.
[Update]Circle Custom Picture:
1. I assume you did this already.
2. Now we gonna edit the smali of b16h22's profile picture, open the smali.
3. Now replace every "ImageView" word into "CircleImageView"
4. Save.
5. Enjoy
SS:
{
"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:
Lenox Developers
Potato Inc. specially the Ninja.
AOSP
Greets,
PineappleOwl
CircleImageView is <3
tentenponce said:
CircleImageView is <3
Click to expand...
Click to collapse
Someone requested it hahah then I post. By the way Ive been keeping an eye on your signature.
Look like Lenox right ?
Sent from my GT-S5360 using XDA Free mobile app
GSculerlor said:
Look like Lenox right ?
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
Yes indeed sir hehe
Thank you
Cool now I know how to do it.
By the way who's the monkey? XD:laugh:
TheNightBaron said:
Cool now I know how to do it.
By the way who's the monkey? XD:laugh:
Click to expand...
Click to collapse
Hahaha I dont know maybe you sir. :laugh::laugh::laugh:
LOL
PineappleOwl said:
Hahaha I dont know maybe you sir. :laugh::laugh::laugh:
Click to expand...
Click to collapse
Hahaha :laugh:
Boooooom!
The thing that ive been waiting.HAHA Thanks bon-bon :good::good:
RikudouSennin said:
The thing that ive been waiting.HAHA Thanks bon-bon :good::good:
Click to expand...
Click to collapse
Oh I remembered you Bon bon Glad to knew your username heheh
PineappleOwl said:
Oh I remembered you Bon bon Glad to knew your username heheh
Click to expand...
Click to collapse
Great guide,just wanted to know that what editing needs in layout to have changeable pic with b16h22's sir guide?
Thnk u bro
nightwalker said:
Great guide,just wanted to know that what editing needs in layout to have changeable pic with b16h22's sir guide?
Thnk u bro
Click to expand...
Click to collapse
When you want to use it in an owner picture. Just simply go to the smali of sir b16h22 and then change every "ImageView" you see and turn it into "CircleImageView"
PineappleOwl said:
When you want to use it in an owner picture. Just simply go to the smali of sir b16h22 and then change every "ImageView" you see and turn it into "CircleImageView"
Click to expand...
Click to collapse
Thnk u bro,where to place b16h22's smali?In framework.jar?
Cool!
PineappleOwl said:
Good day again. I have a new guide here over XDA again. This time I brought you Circle ImageView. I cant make a circle imageview by just using the ordinary imageview. So I came up unto an idea to make a Circle ImageView by means of AOSP. Please dont discriminate me if this guide doesnt useful for some, its for themers. if I help press thanks.
Download Link:
Code:
[url]https://www.mediafire.com/?ra3i2oqb0r7e27t[/url]
Fork this in Github if you want,
Code:
[URL="https://github.com/PineappleOwl/CircleImageView"]https://github.com/PineappleOwl/CircleImageView[/URL]
Now we will be putting the smali in framework,
1. Download the zip over there at the download link.
2. Extract it.
3. Pull your framework.jar
4. Decompile it.
5. Now put the smali you downloaded in the decompiled framework.jar in the directory /smali/android/widget/
6. Compile the framework.jar now.
7. Flash.
As you can see after flashing, there is no changes. Yes thats true LOL. To make it work
Import your new framework.jar in your apktool.
As you now want to add a circle imageview in your layout, here is an example:
Code:
<CircleImageView android:src="@drawable/thepicture" android:layout_height="fill_parent" android:layout_width="fill_parent" />
Apply as ordinary imageview but only make the first word CircleImageView.
Note: LenoxEvolutionV3PrePotatoXLenox has this already in its framework. But only implemented a circle in Lockscreen.
[Update]Circle Custom Picture:
1. I assume you did this already.
2. Now we gonna edit the smali of b16h22's profile picture, open the smali.
3. Now replace every "ImageView" word into "CircleImageView"
4. Save.
5. Enjoy
SS:
Credits:
Lenox Developers
Potato Inc. specially the Ninja.
AOSP
Greets,
PineappleOwl
Click to expand...
Click to collapse
Thanks sir, I was looking for this :good:
nightwalker said:
Thnk u bro,where to place b16h22's smali?In framework.jar?
Click to expand...
Click to collapse
No sir . the original way. Just replace the ImageView to CircleImageView in his smali hehe
Sent from my Nexus 7 using Tapatalk
Sir, i still didnt get mean of this :
As you can see after flashing, there is no changes. Yes thats true LOL. To make it work
Import your new framework.jar in your apktool.
As you now want to add a circle imageview in your layout, here is an example:
Code:
Code:
<CircleImageView android:src="@drawable/thepicture" android:layout_height="fill_parent" android:layout_width="fill_parent" />
Apply as ordinary imageview but only make the first word CircleImageView.
Click to expand...
Click to collapse
Where i must place that code ?
GSculerlor said:
Sir, i still didnt get mean of this :
Where i must place that code ?
Click to expand...
Click to collapse
Hehe when you compiled the framework.jar make it now your framework.jar in apktool change too
Sent from my Nexus 7 using Tapatalk
PineappleOwl said:
Oh I remembered you Bon bon Glad to knew your username heheh
Click to expand...
Click to collapse
Can i add this on CM based roms ?
RikudouSennin said:
Can i add this on CM based roms ?
Click to expand...
Click to collapse
Cm9 and above wont work hehehe
Sent from my Nexus 7 using Tapatalk
sir can u tell me how to add owner pic at lockscreen? i have tried b16h22's guide but got fc on sb coz i have same thing on sb too any help sir?

[Guide][LP] How to Add Task Manager Panel to SystemUI

Hi!
Just wanna share simple mod: how to show task manager panel to statusbar expanded
Should work on stock or any custom rom using stock SystemUI
Requirement: rooted device & know how to decompile, recompile, sign apk
Steps
- decompile SystemUI.apk
- open res/values/bools.xml
- find
Code:
<bool name="config_showTaskManagerSwitcher">false</bool>
- change it to
Code:
<bool name="config_showTaskManagerSwitcher">true</bool>
- open res/layout/status_bar_expanded_header.xml
- find
Code:
<ImageButton android:id="@id/task_manager_button" android:visibility="gone" android:layout_width="48.0dip" android:layout_height="@dimen/status_bar_header_height" android:src="@drawable/ic_tasklist_switch_normal" android:layout_marginStart="8.0dip" android:layout_toStartOf="@id/settings_button" style="@android:style/Widget.Material.Button.Borderless" />
<ImageButton android:id="@id/somc_qs_button" android:background="@drawable/ripple_drawable" android:layout_width="@dimen/multi_user_switch_width_collapsed" android:layout_height="@dimen/status_bar_header_height" android:src="@drawable/ic_edit_settings" android:contentDescription="@string/accessibility_desc_edit_quick_settings" android:layout_toStartOf="@id/settings_button" style="@android:style/Widget.Material.Button.Borderless" />
- change them to
Code:
<ImageButton android:id="@id/task_manager_button" android:background="@drawable/ripple_drawable" android:visibility="gone" android:layout_width="@dimen/multi_user_switch_width_collapsed" android:layout_height="@dimen/status_bar_header_height" android:src="@drawable/ic_tasklist_switch_normal" android:layout_toStartOf="@id/settings_button" style="@android:style/Widget.Material.Button.Borderless" />
<ImageButton android:id="@id/somc_qs_button" android:background="@drawable/ripple_drawable" android:layout_width="@dimen/multi_user_switch_width_collapsed" android:layout_height="@dimen/status_bar_header_height" android:src="@drawable/ic_edit_settings" android:contentDescription="@string/accessibility_desc_edit_quick_settings" android:layout_toStartOf="@id/task_manager_button" style="@android:style/Widget.Material.Button.Borderless" />
- save all changes
- recompile, sign, push
- done
Screenshoot
{
"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"
}
Thank you for the guide, I will try to add it later.
Off-topic:
Do you how to change status bar/toggle icons to AOSP style? I am looking to change WiFi and Signal icons in status bar and Wifi toggle in quick settings.
Also, any way to disable this annoying auto sync pop-up message when you toggle on/off in quick settings.
Great Guide.Thanks
Thanks, I will try it later!!!
How to add the visualizer the same as you in screenshot?
Enviado desde mi D6603 mediante Tapatalk
Workin' perfectly on XZL <3
I have this bug on stock Sony .200 build number . The icons to change tile order overlaps, there are 2 of them and one doesn't disappear :/
Good news and bad news: I added the Equalizer from this tutorial: http://forum.xda-developers.com/android/themes/guide-how-to-add-selectable-8-style-t3070550
But the icons are still overlaping
I can provide all neccesary files to help fix It.
somtimes my quick settings blank and i must click on task manager to show it again, any help ??
masteriori said:
Thank you for the guide, I will try to add it later.
Off-topic:
Do you how to change status bar/toggle icons to AOSP style? I am looking to change WiFi and Signal icons in status bar and Wifi toggle in quick settings.
Also, any way to disable this annoying auto sync pop-up message when you toggle on/off in quick settings.
Click to expand...
Click to collapse
yes, I do
Chxrlyglez said:
Thanks, I will try it later!!!
How to add the visualizer the same as you in screenshot?
Enviado desde mi D6603 mediante Tapatalk
Click to expand...
Click to collapse
here http://forum.xda-developers.com/android/themes/guide-how-to-add-selectable-8-style-t3070550/
xkeita said:
Workin' perfectly on XZL <3
Click to expand...
Click to collapse
nice
cachanilla86 said:
I have this bug on stock Sony .200 build number . The icons to change tile order overlaps, there are 2 of them and one doesn't disappear :/
Good news and bad news: I added the Equalizer from this tutorial: http://forum.xda-developers.com/android/themes/guide-how-to-add-selectable-8-style-t3070550
But the icons are still overlaping
I can provide all neccesary files to help fix It.
Click to expand...
Click to collapse
did u follow steps carefully?
can u upload ur status_bar_expanded_header.xml & dimens.xml?
rebiiejr said:
somtimes my quick settings blank and i must click on task manager to show it again, any help ??
Click to expand...
Click to collapse
never happen to me
idid idamrep said:
did u follow steps carefully?
can u upload ur status_bar_expanded_header.xml & dimens.xml?
Click to expand...
Click to collapse
Both file are attached. I'm gonna downgrade to 546 to see if it works on the older build number
cachanilla86 said:
Both file are attached. I'm gonna downgrade to 546 to see if it works on the older build number
Click to expand...
Click to collapse
u have two lines with same id
delete the last one
idid idamrep said:
u have two lines with same id
delete the last one
Click to expand...
Click to collapse
Yeah! It works...but I was on 546 build number, so the users of Z2 have to delete the other line. I'm gonna go back to .200 now. Thanks! :good::highfive:
Working Perfectly here
nice guide @idid idamrep
will try it soon
sir, i can't find <bool name="config_showTaskManagerSwitcher"> string on bools.xml? is this work on another AOSP rom? based on Cyanogenmod?
never mind, i got my problem
Black Plague said:
Working Perfectly here
Click to expand...
Click to collapse
How's you added blur in SystemUI ?
wolfmannight said:
How's you added blur in SystemUI ?
Click to expand...
Click to collapse
here u go buddy
http://repo.xposed.info/module/serajr.blurred.system.ui.lp
apktool for some reason won't recompile my systemui.apk
Did u install the correct framework files bro
Black Plague said:
Did u install the correct framework files bro
Click to expand...
Click to collapse
yes i am using framework from my phone
rom: cyanogenmod
based on android 5.1.1
latest apk tool - it will decompile but will not re-compile
aww I dont have any idea about Cyanogen mod framework coz I used to work only on Stock Sony Roms, did others confirm this mod working on a CM base Rom?

Categories

Resources