yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] PC.Marema:
Can you please,tell me....How to find cyanogenmod or any custom rom for gionee elife S7...
[Android Q&A, Help & Troubleshooting] Salman Al-Badgail:
[MENTION=7871960]PC.Marema[/MENTION]

Your device Forum HERE

Search over there and find correct thread,

Thanks

Salman

(If I helped you don't forget to click on Thanks Button)

---------- Post added at 12:59 AM ---------- Previous post was at 12:44 AM ----------

[MENTION=7871960]PC.Marema[/MENTION] Did you got any info, please reply to my post so that I can receive notification and can help you back. Good Day
[Android Q&A, Help & Troubleshooting] PC.Marema:
Sorry,I mean gionee elife s7....Thank you
[Sony Cross-Device Development Themes and Apps] FunSucker:
:cowboy: Hello XDA :cowboy:

================================================

Perhaps only a few people are interested about this, because the size of statusbar wider/higher and make your device screen "such as" narrowing. But it's okay. This is just for fun, as well as theming which became one of the fun things in the android world.

So, Heyho Let's Go

:D :D :D !!

================================================

Only a few are required:

All the things needed for de / recompiling apk :p

Please backup your previous ROM

Don't be too serious

## For kitkat look at #3 ​

===============

STEP-BY-STEP

===============

V.1

[IMG="Screenshot"]https://s5.postimg.org/wxiganchj/1.png[/IMG]

[IMG="Screenshot"]https://s5.postimg.org/j58msrb3r/2.png[/IMG]

[IMG="Screenshot"]https://s5.postimg.org/k8sr4pvqv/3.png[/IMG]

​

1. Framework-res.apk

Open your dimens.xml

Done

2. SystemUI.apk

1. system_icons.xml OR msim_system_icons.xml

Compare my base layout with stock layout / yours

NOTES :

Next, re-arrangement id's

The result will look like this

2. status_bar.xml OR msim_status_bar.xml

Now, we'll just change the layout @id/status_bar_content only.

Compare 2 layout below

Next, re-arrangement id's

The result will look like this

3. keyguard_status_bar.xml OR msim_keyguard_status_bar.xml

Compare 2 layout below

NOTES :

4. dimens.xml

5. Done & Enjoy !!​

This method doesn't touch any smali's., so I think it could work in ODEX or DEODEX ROM

If there was a mistake of the above methods, or doesn't works, please let me know.​
[Sony Cross-Device Development Themes and Apps] FunSucker:
V.2

​

1. Framework-res.apk === Look at V.1

2. SystemUI.apk

1. status_bar.xml OR msim_status_bar.xml

Now, we'll just change the layout @id/status_bar_content only.

Look at my new base layout

Next, re-arrangement id's

The result will look like this

2. keyguard_status_bar.xml OR msim_keyguard_status_bar.xml

Look at my modded layout

Look at @+id/profile_runtext from above codes. You can change that lines with yours. But my suggestion, please to use the same attributes.

3. dimens.xml

4. Done & Enjoy !!​

================================================​

3. Extra Mod's (Optional)

V.1

1. Day, date, and seconds in clock

Open status_bar.xml OR msim_status_bar.xml

Hide your stock @id/clock (DON'T DELETE)

Add this lines below your stock @id/clock :

Add this lines above your stock @id/clock :

So the layout should be like this :

Open your strings.xml, and add this :

Done

Some additional info

2. Statusbar background

Open your status_bar.xml OR msim_status_bar.xml

Add this lines above @id/notification_icon_area_inner

Put yours PNG / Vector files to the right folder

Done & enjoy !!

3. Date & time background

Open your status_bar.xml OR msim_status_bar.xml

Add this line inside @id/fun_c

Put yours PNG / Vector files to the right folder

Done & enjoy !!

V.2

1. Divider

Put divider files from attachment into properly folder

Add this codes :

android:background="@drawable/divider"

For full divider, add above codes into <RelativeLayout tag :

<com.android.keyguard.AlphaOptimizedLinearLayout android:id="@id/notification_icon_area_inner" android:layout_width="fill_parent" android:layout_height="25.0dp" >
<RelativeLayout android:background="@drawable/divider" android:layout_width="fill_parent" android:layout_height="fill_parent">

Or if you want have divider like on screenshots (only in the visible layout), add above codes into your active id's. Example from the screenshot :

<LinearLayout android:id="@+id/fun_c_top" android:background="@drawable/divider" android:layout_width="wrap_content" android:layout_height="fill_parent" android:orientation="horizontal" android:layout_centerInParent="true" >
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center" android:paddingEnd="8.0dp" android:paddingStart="8.0dp" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
</LinearLayout>

Done
[Sony Cross-Device Development Themes and Apps] FunSucker:
KITKAT

​

1. Framework-res.apk === Look at Lollipop section (#1)

2. SystemUI.apk

1. status_bar.xml OR msim_status_bar.xml

Now, we'll just change the @id/status_bar_content contents only.

Look at my new base layout

Next, re-arrangement id's

Put these id into LEFT TOP lines space (@+id/fun_ltop)

@id/moreIcon

Put these id's into LEFT BOTTOM lines space (@+id/fun_lbottom)

@id/notification_icon_area
@id/notificationIcons

Put these id's into CENTER lines space (@+id/fun_c)

@id/clock

Put these id's into RIGHT TOP lines space (@+id/fun_rtop)

@id/battery

Put these id's into RIGHT BOTTOM lines space (@+id/fun_rbottom)

@id/msim_signal_cluster

NOTE !!! Now, find @id/statusIcons in the @id/system_icon_area, and then move to RIGHT TOP lines space (@id/fun_rtop). JUST @id/statusIcons , WITHOUT @id/system_icon_area !!!

The result will look like this

2. signal_cluster_view.xml OR msim_signal_cluster_view.xml

Look at first tag, add/change this attribute :

android:gravity="end|center_vertical"

Result :

<com.android.systemui.statusbar.MSimSignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="end|center_vertical"
xmlns:android="http://schemas.android.com/apk/res/android">

3. dimens.xml

Add this :

<dimen name="status_bar_split_height">25.0dip</dimen>

4. Done & Enjoy !!​

================================================​

3. Extra Mod's (Optional)

1. Adding day & date

Open status_bar.xml OR msim_status_bar.xml

Find @id/clock

So the layout should be like this :

Open your strings.xml, and add this :

Done

2. Statusbar background

Open your status_bar.xml OR msim_status_bar.xml

Find @id/status_bar_contents and add this :

Put your files to the right folder

Done & enjoy !!

3. Date & time background

Open your status_bar.xml OR msim_status_bar.xml

Find @id/fun_c and add this :

Put your files to the right folder

Done & enjoy !!

4. Running Text

Find @id/fun_ltop and add this :

Open strings.xml and add this :

<string name="profile_text">Watch out!! I can running and scrolling on your status bar</string>

NOTE !!! Your string value must be longer than the layout_width !!!

Done
[Sony Cross-Device Development Themes and Apps] Ticklefish:
A very impressive mod and a good tutorial. Good work my friend! :highfive:

And that central clock-day-date is very nicely done - I love the background! :D
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Seems i gat to try dis... Dis looks ****ing awesome!!!

Thanks for dis.. Dis tut makes me remember [MENTION=4315551]Ticklefish[/MENTION]
[Sony Cross-Device Development Themes and Apps] whalesplaho:
im using 32.0dip for my navigation_bar_height but in yur tut, it was 45.0dip.... is it possible for me to maintain 32.0dip for navigation_bar_height?
[Sony Cross-Device Development Themes and Apps] yakupTR:
Pls mm

D6503 cihazımdan Tapatalk kullanılarak gönderildi
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] when i used dis codes, i got dis error while compiling....

<RelativeLayout android:id="@+id/fun_r" android:layout_width="fill_parent" android:layout_height="fill_parent">
<include layout="@layout/system_icons" />
<LinearLayout android:id="@+id/fun_c" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" android:paddingStart="4.0dip" android:paddingEnd="4.0dip">
<com.android.systemui.statusbar.policy.DateView android:id="@+id/day_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:datePattern="@string/status_bar_day_format" android:textAllCaps="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="10.0dip" />
[color=red]Line 24[/color]<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" andoid:visibility="gone" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="@string/status_bar_clock_12hr_format" android:format24Hour="@string/status_bar_clock_24hr_format" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<com.android.systemui.statusbar.policy.DateView android:id="@+id/date_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:datePattern="@string/status_bar_date_format" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="10.0dip" />
</LinearLayout>
</RelativeLayout>

C:\Users\LaLa-PC\Desktop\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\status_bar.xml:24: error: Error parsing XML: unbound prefix
[Sony Cross-Device Development Themes and Apps] whalesplaho:
loving dis tut but tha dock icons shifted down much.... any fix for dat?

i reduced my nav bar size to 32 & it works.:highfive::good:

thanks
[Sony Cross-Device Development Themes and Apps] yakupTR:
I want to 6.0 mm pls??

D6503 cihazımdan Tapatalk kullanılarak gönderildi
[Sony Cross-Device Development Themes and Apps] FunSucker:
Unfortunately, my phone didn't get an official update to Android 6.0 :rolleyes: You can try to compare the layout structure.. If you get stuck, I'll try my best to help.

Thanks a lot , sir. and yes! Because I learned from him as well, and I used TMA by [MENTION=4315551]Ticklefish[/MENTION] too for decompiling my APKs/JARs :p haha

About your issue, has it been successfully fixed now? or still error? Did you check all over again?

if still error, can you share your xml ?

Thanks a lot, sir. Finally, I can make "a something" :laugh: lol

Unfortunately, gradient colors not supported in vector drawables :rolleyes:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
im so in love with dis code.... thanks so much [MENTION=5539344]FunSucker[/MENTION]!!

just trying codes around.... but still stuck with tha dock icons alignment & date!
[Sony Cross-Device Development Themes and Apps] FunSucker:
For "datePattern", you can re-check from EXTRA MODS section, look at point 1. Have you added new "datePattern" in strings.xml? Like my examples.

For the dock & navbar, where do you changing the size of navbar? framework-res.apk or overlay framework apk, sir?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
1. I did exactly just dat buh didnt work outta, i declared in strings.xml buh yhu know we didnt declared any variables for android:DatePattern and tha error was no resource attributes found. So i used system:DatePattern and it works but tha date shown aint okay... Check tha screenshot and tha code i used in dis post; https://xdaforums.com/showpost.php?p=70428869&postcount=14

2. I used an overlay... Been using dat before dis mod and it was okay!

---------- Post added at 08:41 AM ---------- Previous post was at 08:34 AM ----------

3. I still need a vector/png for status_bar and date/clock please...

4. Tha notification icons is showing under tha clock....
[Sony Cross-Device Development Themes and Apps] FunSucker:
can you shared your strings.xml, sir ?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Sure brov.... couldnt share all, too much!

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="kg_somc_verizon_puk_enter_pin_hint">Please enter a new 4-8 digit SIM PIN.</string>
<string name="kg_somc_verizon_puk_enter_puk_hint">Please enter your 8-digit SIM PUK code</string>
<string name="kg_somc_verizon_sim_pin_instructions">Please enter your 4-8 digit SIM PIN</string>
<string name="lockscreen_microphone_image_hint">Microphone Image</string>
<string name="lockscreen_voice_unlock_error_hint">Did not recognize passphrase</string>
<string name="lockscreen_voice_unlock_or_short_unlock_hint">Say your passphrase or swipe to unlock</string>
<string name="lockscreen_accessibility_unlock_hint">Swipe up or down to unlock</string>
<string name="lockscreen_app_name">Lock screen</string>
<string name="lockscreen_short_unlock_hint">Swipe to unlock</string>
<string name="lockscreen_unlock_hint">Swipe up or down to unlock</string>
<string name="xperia_lockscreen_name">Xperia™</string>
<string name="widget_default_package_name">com.sonyericsson.advancedwidget.clock</string>
<string name="widget_default_class_name">com.sonymobile.lockscreenclock.ClockWidget</string>
<string name="status_bar_clock_12hr_format">h:mm:ss</string>
<string name="status_bar_clock_24hr_format">HH:mm:ss</string>
<string name="status_bar_day_format">EEEE</string>
<string name="status_bar_date_format">dMMMyyyy</string>
</resources>

i have anoda issue brov.... i tried adding date/clock background but shows no resource found error again. i moved tha png to drawable-xxhdpi folder den used dis code;

really sorry for troubling yhu buddy.....:crying::crying:

<LinearLayout android:id="@+id/fun_c" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" android:background="@drawable/statbar_cbg.9" android:paddingStart="4.0dip" android:paddingEnd="4.0dip">
[Sony Cross-Device Development Themes and Apps] FunSucker:
Download the attachment, and there are 3 files in it :

BatteryMeterDrawable.smali

BatteryMeterDrawable_Converted.java

BatteryMeterDrawable_Base.java

Look at BatteryMeterDrawable_Converted.java first. Find public void draw(Canvas p1), surely you see an error message underneath. It's missing.

So, you can look at BatteryMeterDrawable_Base.java for that. And, pay attention to the green text. it explains what is there.

The last, BatteryMeterDrawable.smali.. You'll see something almost similar. Take a look a keywords in java files, and then try to solve in your smali's .

Sometimes, it needs to decompile other files as well. I'm just trying to help as much as I can :)
[Sony Cross-Device Development Themes and Apps] pop.rahul.mafia:
Bro can u help me in edit apk plzz tell
[Sony Cross-Device Development Themes and Apps] FunSucker:
Just follow the guide first. If you have a problems, or mods didn't work, i will try to help you as i can :)
[Sony Cross-Device Development Themes and Apps] Rodrigodigo:
Works for nougat? :)
[Sony Cross-Device Development Themes and Apps] FunSucker:
Im not really sure for android 6.0 up. Some codes work, and the other didnt works. But you can try it and let me know :)
[Sony Cross-Device Development Themes and Apps] x_files_X:
[MENTION=5539344]FunSucker[/MENTION] hello, i have Xiaomi Redmi K20, i want dual status bar or statusbar background changer. can you help me ? I've been trying for days, but there's no code on the web
[Sony Cross-Device Development Themes and Apps] Ticklefish:
This thread is nearly three years old and is for Android 5.1 (I think). Your phone is running Android 9.0 so there's going to be a lot of differences to your code and the code in the OP.

You'll need to look at what the actual changes are and see how you can apply those to your own specific rom .
[Sony Cross-Device Development Themes and Apps] x_files_X:
I've never seen instances of it in the Miui Roms :(
[Sony Cross-Device Development Themes and Apps] Ticklefish:
MIUI does like to do things differently. You'll need to look at your rom and work out what needs to change.

Big changes like these aren't simple, but they're normally possible if you've got the time to do some detective work and experimentation.
[Sony Cross-Device Development Themes and Apps] FunSucker:
Not everything is available on the internet :) . I have explained the logic of how this mod works, starting from the layout structure and others.

As [MENTION=4315551]Ticklefish[/MENTION] said, you need to do an experiment.

I don't know how far you've tried, and I don't know the results. So I can't help anything for now.

Just try it first, and let me now :)
[Sony Cross-Device Development Themes and Apps] x_files_X:
Hello how i move notification icon to pull down?
[Sony Cross-Device Development Themes and Apps] FunSucker:
You mean, you want to move the notification icon to the bottom row?

Which version of mod are you using?
[Sony Cross-Device Development Themes and Apps] x_files_X:
Yes friend, i have android Q miui 11 rom
[Sony Cross-Device Development Themes and Apps] FunSucker:
find @+id=fun_rbottom , and then put your notif icon id's inside the tag.
[Sony Cross-Device Development Themes and Apps] x_files_X:
Thank you friend, i will make :)
[Sony Cross-Device Development Themes and Apps] FunSucker:
yes, you're welcome ?
[Sony Cross-Device Development Themes and Apps] sanoayyk:
Oh this method is what we need most right now!

Nowadays so many phones have ultra fat statusbar because of punch hole, and there is only one line of icons...

Their obese statusbar is tall enough to fill two or three lines of icons in, isn't it?

I hope multiple lines status bar mod can be a general mod like magisk module or xposed module, becomming available for modern phones.
[Sony Cross-Device Development Themes and Apps] FunSucker:
yes, but 2 lines are enough i think. We dont want made the icons been too small right?

If I have a device like the latest types, maybe I'll try to make mods for it too. But for the module, I have not been able to make it because my brain is still too lazy for it lol
[Sony Cross-Device Development Themes and Apps] sanoayyk:
I saw galaxy s10 to find there are room for as many as three lines with no icon size reduction. But only two can still be twice as good as one.

Anyway I'm not a developer but knowing that it is overlay you should make to mod modern android OS.

Overlay is an apk which overwrites framework value.

For example, treble capable devices have own overlays in vendor partition apart from system partition.

Magisk module, is able to apply overlay without actuality replacing files in system or vender etc.

If you are interested in, I recommend you to learn about it.
[Sony Cross-Device Development Themes and Apps] FunSucker:
For the number of lines, it can be adjusted as needed.

Thank you for the advice. But I already have used overlay to change some framework values ​​in this mod, you can see them in the framework-res.apk section :victory: Because if you change something directly in framework-res.apk, it can be risky.
[Sony Cross-Device Development Themes and Apps] HassanMirza01:
[MENTION=5539344]FunSucker[/MENTION] can you update guide for android 10 system ui ?? Or specifically miui's systemui ?? Am trying to get dual status bar and if its difficult, then frame layout method would all work... I just wanna add netspeedview below wifi icon... Can you help ?? Tell me if you need any packed or unpacked files ??
[Sony Cross-Device Development Themes and Apps] FunSucker:
It will be difficult because I don't have the device, I have to make it from raw code. So your codes & some screenshots will be very helpful :)
[Sony Cross-Device Development Themes and Apps] patangpecotot:
I would love to wait . I believe many other user too
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] tried tha above code and dis is how it looks.... Background issue solved! :good:

1. Dock icons still overlap on nav bar

2. Date in status bar not fixed yet... But clock okay

3. Notification icons overlap.....

I just want a perfect mod please buddy.... Thanks!
[Sony Cross-Device Development Themes and Apps] FunSucker:
Please give me your SystemUI.apk and your framework apk files . I will look at your overall codes sir.

I will try to do the best as I can :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
appreciate yur response & zeal to help..... here yhu go, i added SystemUI.apk, Framework-res.apk & framework-res-overlay.apk dat i created!

https://drive.google.com/file/d/0B6Q-veJIWV_GX0JMVWFpQWpmbk0/view?usp=sharing
[Sony Cross-Device Development Themes and Apps] FunSucker:
Do you have SemcGenericUxpRes.apk in your framework, sir? If yes, i need it too :D
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Here yhu go buddy... Grateful!!
[Sony Cross-Device Development Themes and Apps] FunSucker:
oke try this.

In your strings.xml, find and change to be likes this:

<string name="status_bar_day_format">eeee</string>
<string name="status_bar_date_format">MMMMd</string>

and then used the attached xml for your status_bar.xml

for the navigation bar, have you tried to use another launchers, sir ?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
okay buddy.... gonna do dat now & post feedback, thanks for yur time buddy! i tried nova launcher & no overlapping.... but prefer stock launcher!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] still no luck with day/date format..... im really sorry for troubling dis much!:crying::crying:
[Sony Cross-Device Development Themes and Apps] FunSucker:
Take'n easy, sir. No problemo :)

Can you find "ro.com.android.dateformat" & "ro.product.locale" in your build.prop ?! And what language are you using in your device, sir?!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I dnt have "ro.com.android.dateformat" in build.prop but mu product.locale is en-US.
[Sony Cross-Device Development Themes and Apps] FunSucker:
Far as I know, dateFormat depending on locale as well. So, try using English (global language) on your device, and check the results.

Still no luck ? We'll try a few possibilities..

We will try to use an values from existing pattern in strings.xml.

Open strings.xml and find this :

<string name="status_bar_day_format">EEEE</string>
<string name="status_bar_date_format">dMMMyyyy</string>

Change to be like this (This is fromat from "abbrev_wday_month_day_no_year_alarm") & check the result:

<string name="status_bar_day_format">EEEEMMMMd</string>
<string name="status_bar_date_format">EEEEMMMMd</string>
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I ll give tha code a shot.. Dnt wanna tamper with my build.prob language and whats tha code for English global?
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Would using TextClock help? https://xdaforums.com/showthread.php?t=2713812
[Sony Cross-Device Development Themes and Apps] whalesplaho:
did exactly same thing buddy, not having issues with clock but date/day format. if yhu check below in tha screenshot, yhu ll see what i mean!

used dis format;

<com.android.systemui.statusbar.policy.DateView android:id="@+id/day_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAllCaps="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="10.0dip" systemui:datePattern="@string/status_bar_day_format" />
<com.android.systemui.statusbar.policy.DateView android:id="@+id/date_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="10.0dip" systemui:datePattern="@string/status_bar_date_format" />