yashsingh1/xdaforums huggingface dataset:
[Android Themes] guriroyals:
stuck at instructions on status_bar_expanded.xml

cant follow the instructions for status_bar_expanded.xml ... what are we supposed to do???

can you please a little bit like settings..

thanks:highfive::D

gud tut by the way your notification drawer looks awsome:good:
[Android Themes] khusika:
Give your statusbar_expanded.xml to me, i'll help you
[Android Themes] guriroyals:
https://www.dropbox.com/s/9weglb5ptu0sueg/status_bar_expanded.xml here it is ...

why dont you just simplify the guide part too so that everyone can understand it :)
[Android Themes] r2dak:
please a download link for apktool 2.0.0 beta 9 would be nice,

i tried searching but i only found [Tool]Advanced ApkTool v2.0.0[Windows][9/2/2014] is it the same
[Android Themes] khusika:
yup, you can use that
[Android Themes] khusika:
do you build file in the right directory?
[Android Themes] Under Blue Sky:
eror smali

i got eror now on smali ..

can you tell me what can i do ??

I: Smaling...

[43,4] Error for input '.param': Invalid directive

[44,4] Error for input '.param': Invalid directive

[43,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /apktool/Settings_ori_src/smali/com/android/settings/adi/about/ProfileName$1.smali

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)

at brut.androlib.Androlib.buildSources(Androlib.java:214)

at brut.androlib.Androlib.build(Androlib.java:205)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

at brut.apktool.Main.main(Main.java:79)
[Android Themes] khusika:
did you use apktool latest version? check your apktool version, type in CMD apktool -version
[Android Themes] mohawk97:
I have build in right place

i have build in right place
[Android Themes] Dawn_ddw:
can't download the attachment sir,only loading

please fixing :D
[Android Themes] khusika:
Which one? All of link? I tried it & work. Try to use PC
[Android Themes] r2dak:
Still getting error while recompiling after adding smali files
[Android Themes] budi78:
great job

Waiting for cm11 bro..
[Android Themes] MYKH:
Thanks, sir!!!

Thank you sir.. i'll try this guide soon :)
[Android Themes] Dawn_ddw:
only "status_bar_expand_pressed.zip" but it's ok now

can u rearrange my statusbar_expanded?

https://www.dropbox.com/s/8bwyuna9counwcu/status_bar_expanded.xml
[Android Themes] yash989:
can anyone edit my statusbar expanded.XML m on kitkat
[Android Themes] lacoursiere18:
Two ERRORS:

C:\Users\GML\Desktop\AdvancedApkTool\3-Out\Settings.apk\res\layout\adi_logo.xml:8: error: No resource identifier found for attribute 'layout_marginRigt' in package 'android'

C:\Users\GML\Desktop\AdvancedApkTool\3-Out\Settings.apk\res\xml\display_settings.xml:23: error: Error parsing XML: no element found

First one you'll have to change bc it doesnt look like your api supports it..

Second..Put the xml up here in a txt file ill take a look.. But it give you the line: 23.. so look there and see what is not there
[Android Themes] G.M.L:
For the second you mean all the XML file?

And for the first really I'm not understand what you mean

this is my display_settings.xml

<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen android:title="@string/display_settings"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">

<com.android.settings.BrightnessPreference android:title="@string/brightness" android:key="brightness" android:dialogTitle="@string/brightness" />

<PreferenceScreen android:title="@string/backlight_title" android:key="backlight_widget" android:summary="@string/backlight_summary" android:fragment="com.android.settings.cyanogenmod.Backlight" />

<PreferenceScreen android:title="@string/display_rotation_title" android:key="display_rotation" android:fragment="com.android.settings.cyanogenmod.DisplayRotation" />

<ListPreference android:persistent="false" android:entries="@array/screen_timeout_entries" android:title="@string/screen_timeout" android:key="screen_timeout" android:summary="@string/screen_timeout_summary" android:entryValues="@array/screen_timeout_values" />

<PreferenceScreen android:title="@string/notification_pulse_title" android:key="notification_pulse" android:fragment="com.android.settings.notificationlight.NotificationLightSettings" />

<PreferenceScreen android:title="@string/battery_light_title" android:key="battery_light" android:fragment="com.android.settings.notificationlight.BatteryLightSettings" />

<PreferenceCategory android:title="@string/display_category_animation_options_title" android:key="category_animation_options" />

<CheckBoxPreference android:title="@string/display_electron_beam_animation_on_title" android:key="electron_beam_animation_on" android:defaultValue="false" />

<CheckBoxPreference android:title="@string/display_electron_beam_animation_off_title" android:key="electron_beam_animation_off" android:defaultValue="true" />

<PreferenceCategory android:title="@string/display_category_wakeup_options_title" android:key="category_wakeup_options" />

<CheckBoxPreference android:title="@string/pref_volume_wake_title" android:key="pref_volume_wake" android:summary="@string/pref_volume_wake_summary" android:defaultValue="false" />

<PreferenceScreen android:title="Device owner" android:key="device_owner" android:summary="">

<PreferenceScreen android:title="Change logo" android:summary="Set up cover and owner picture">

<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />

</PreferenceScreen>

<Preference android:title="Profile picture" android:summary="Set up profile picture">

<intent android:targetPackage="com.lenox.Lenox_Label" android:action="android.intent.action.MAIN" android:targetClass="com.lenox.Lenox_Label.MyActivity" />

</Preference>

</PreferenceScreen>

G.M.L._V2_IcSmoothness

http://pasakalis.blogspot.gr
[Android Themes] lacoursiere18:
Yes the second post that xml file, display_settings.xml, and ill take a look

The first one..You need to change "layout_marginRigt" to "layout_marginRight" in adi_logo.xml lol it's mispelled.. ignore what i said earlier:good:

EDIT: attached the hole xml in a zip.. don't paste it in the thread
[Android Themes] G.M.L:
ok sorry

if i upload here my settings and my systemui can you make it if you can of course because i dont see to make it my self??
[Android Themes] lacoursiere18:
Try this..

View attachment xml.zip
[Android Themes] lacoursiere18:
Send me your stock Settings.apk.. NOT modded

and framework-res.apk
[Android Themes] lacoursiere18:
Here ya go.. Just drop them in the correct folders:good:

View attachment Settings.zip
[Android Themes] G.M.L:
here you go
[Android Themes] G.M.L:
​

ok know my settings was compiled right we myst me to sign it? know continue with something else in settings or im going to systemui quide?
[Android Themes] lacoursiere18:
Did you add the smali to settings as well? If so then you need to change the public ids as well. .Then move on to systemui
[Android Themes] G.M.L:
before i compilled i put the contain of smalli apk in settings and then i compilled
[Android Themes] lacoursiere18:
Umm I don't know if it is a language barrier or something else but not sure I understand you.. This guide might be a little much for you if you don't understand it;)
[Android Themes] G.M.L:
nevermind im quit to do that i can i want to much and i like to much but because i have to care and my litlle girl im one in the pc and one in my daughter ican do it nevermind
[Android Themes] Rishal_17:
Thank bro :D :good:

I asking for permission to use this guide for my rom,

if allowed?:confused:
[Android Themes] khusika:
Ok, no problem :)
[Android Themes] crazy_user:
sir, i get this error, can you fix it? Thanks :)
[Android Themes] lacoursiere18:
"layout_marginrigt " is misspelled.. It needs to be

"layout_marginRight";)
[Android Themes] khusika:
Yup, i forgot those line, i'll update this guide as soon as possible
[Android Themes] xiiVaune:
sir

Sir I downloaded a fbui that ported by one of xda member but I have a problem I can't change my profile pic everytime I try to change my profile pic nothing happens or my status I can't change

so I did was I change the profile picture inside the systemui and setting now my 2nd problem I can't find where to edit the word "Haiyan" see in screenshot could you tell me the path?
[Android Themes] crazy_user:
Thanks :) one question again.. how to remove this line?? (please look my ScreenShot) :)
[Android Themes] E1nzte1N:
I get this error when i recompile Settings.apk

can you help me sir ?
[Android Themes] lacoursiere18:
If you would just search this thread.. You would have found your answer...marginRght is misspelled.. It needs to be marginRight
[Android Themes] E1nzte1N:
I've been able to fix this erorr.

the problem is not on spelling marginRight, because the file was already written marginRight smali.

after i change to marginStart and marginEnd, the problem is fix. recompile success and i get the apk for compare the smali and go to step 2.

I have done all the steps, and everything works without error. and when I push to the system are also no problem. but when I want to go into the settings. I get a force close. :( if anyone can help me look for my mistakes?

I use the C1605 E DUAL XPERIA with android version 4.1.2 JB. (stockROM deodexed)

I attach the following results from trying this tutorial.
[Android Themes] lacoursiere18:
Instead of uploading your apks.. Upload a log and ill have a look..
[Android Themes] E1nzte1N:
oh, im sorry sir..

when i paste the log , forum system says "The text that you have entered is too long (672849 characters). Please shorten it to 30000 characters long."

so i attach my logcat. i dont understand what the log mean. please help.

Thanks sir.
[Android Themes] lacoursiere18:
Did you add the following to your AndroidManifest? Then sign your apk?

<activity android:label="@string/change_pic_k" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
[Android Themes] E1nzte1N:
Yes sir, I've added the code in my AndroidManifest.xml (Settings.apk)

What I wrong in putting that code?

see the attachment image
[Android Themes] Dawn_ddw:
you need too sign your settings.apk like this so you wouldn't get setting fc java -jar SignApk.jar testkey.x509.pem testkey.pk8 Settings.apk Settings_signed.apk
[Android Themes] E1nzte1N:
I've signed the apk, but now.. my systemui get force close..
[Android Themes] lacoursiere18:
No that is correct.. Well and activity is not getting called properly.. SO my sugesstion would be to look over all your ids you change in the smali and make sure they match your public.xml

---------- Post added at 07:40 AM ---------- Previous post was at 07:40 AM ----------

Pull and post a log in zip format..
[Android Themes] lacoursiere18:
You need to read the cmd line.. I know all those line seem overwhelming when you first begin modding but they tell you exactly what your missing or what is wrong...So your error, which is key to identify, is:

D:\xperia\apktool v2\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\[COLOR="Red"]Settings.apk\res\values\styles.xml[/COLOR]:[COLOR="SeaGreen"]137[/COLOR]: error: Error retrieving parent for item: No resource found that matches the given name '[COLOR="DarkOrchid"]@android:style/PreferencePanel.Dialog[/COLOR]'.

D:\xperia\apktool v2\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\[COLOR="red"]Settings.apk\res\values\styles.xml[/COLOR]:[COLOR="SeaGreen"]148[/COLOR]: error: Error retrieving parent for item: No resource found that matches the given name '[COLOR="DarkOrchid"]@android:style/WindowTitle.DeviceDefault[/COLOR]'.

In RED is where the error is.. So in your case it's in styles.xml under folders res/values..

In GREEN is the exact line number it is found on:137, if you use notepadd ++ it displays the line numbers to the left of the window..

In PURPLE is what is the problem.. There is NO parent theme that matches these things that you added..

The ? is these are not in this mod.. So where did they come from..And if you didnt add them.. Something is wrong..
[Android Themes] E1nzte1N:
I've checked again and compare the id on the public.xml and smali files. everything is correct.

and the following is the logcat.

thanks for your help.
[Android Themes] op_opick:
help sir..

i got this message error.. what must i do sir??:confused::confused:
[Android Themes] Elixia:
SystemUI

Sir, Can you do it on my status_bar_expanded.xml to?

Sorry, becouse I don't understand how to compire your metode in this file. So please help me.

ST27i - Jelly Bean

https://www.dropbox.com/s/1a1pu7b4nlt8spv/SystemUI.zip
[Android Themes] lacoursiere18:
Use apk tool 1.5.2 this should solve this.. If it does not.. post those two smali both in a zip and I'll fix them.. and show you what it meant;)
[Android Themes] op_opick:
here sir the zip..thanks..:D

oke sir here the zip include original apk and after first decompile apk:o:o
[Android Themes] lacoursiere18:
Ok man.. I think you may need to take a step back on this mod.. I'm looking over your smali.. You don't just copy what the OP put for the ids..

Like in your smali, your error in cmd line is this:

SystemUI\smali\com\b16h22\haiyan\[COLOR="Red"]ProfileCover$1.smali[/COLOR][[COLOR="Green"]86[/COLOR],25]

RED is where your error lies.. GREEN is the line number it's on..

Here is what you have:

const v2, [COLOR="Red"]0x7f020180[/COLOR] type="drawable" name="[COLOR="SeaGreen"]ic_qs_default_user"[/COLOR]

This is just copied from the OP where he tells you what that id (id in RED) defines..(GREEN is the drawable)

So you don't copy this into the smali.. You have to compile your apk with the drawbles you added, then that will create a NEW public id for that drawable..When you have that new public id, in public.xml.. Search "ic_qs_default_use" and you replace the id that is there with your NEW one..

Like I said, looking over what you did, Im not sure if you grasp the concept of this mod.. YOu might want to read a few guide and tutorials before attemping this..
[Android Themes] op_opick:
oke sir i understand finnaly..:D and so there are 2 problems i can't handle.. first after success recompiling and signing, should i zipalign the apk?? or can be directly push app to system?? and i doubt with my status_bar_expanded.xml, can you check this?? thanks before..
[Android Themes] rey.ardian:
I've run it every step 1 would continue recompli setting.apk why always failed so gan. please enlightenment. I have been using apktool version 2.0.0
[Android Themes] RBDoMGaM:
Read the recent replies, HERE explains the error in your /res/layout/adi_logo.xml (line 8)
[Android Themes] kobisKahn:
Help Me Gan, Sir

i was also confused for mod status_bar_expanded.xml on CM 11. Can you mod my status_bar_expanded.xml for mee to?

i attached my status_bar__expanded.xml :o

Sorry for my bad english Gan :D
[Android Themes] GDay21:
epic comment haha :D

well we on the same island :D

----------

btw nice tutor bro :D
[Android Themes] tyoagreed:
help sir :(
[Android Themes] tyoagreed:
HELP sir :(

xperia E dua
[Android Themes] lacoursiere18:
Pic won't come up cant see the error:rolleyes:

---------- Post added at 11:13 AM ---------- Previous post was at 11:12 AM ----------

Looks like you do not have the proper frameworks installed..therefore getting bad public id mix uped
[Android Themes] tyoagreed:
error sir :(
[Android Themes] tyoagreed:
help
[Android Themes] tyoagreed:
recompile error,,

please help me sir :( xperia E dual
[Android Themes] lacoursiere18:
You cant just upload your SystemUI.. Without proper frameworks we CAN NOT decompile it.. Please post your status_bar_expanded.xml.. You have a mismatched tag..

Please post it in a zip format
[Android Themes] tyoagreed:
I will upload systemUI and framework-res .. sorry sir
[Android Themes] tyoagreed:
settings.apk have fix but systemUI decompile error :crying: help sir
[Android Themes] tyoagreed:
sir :)
[Android Themes] lacoursiere18:
Waiting on above..
[Android Themes] AhmadRD:
hello sir, i get this problem when i recompile settings.apk after compare public :(

..\3-Out\Settings.apk\smali\com\android\settings\adi\about\ProfileName.smali[23,25] mismatched input 'type' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/adi/about/ProfileName.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)

at brut.androlib.Androlib.buildSources(Androlib.java:299)

at brut.androlib.Androlib.build(Androlib.java:285)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:236)

at brut.apktool.Main.main(Main.java:88)
[Android Themes] lacoursiere18:
What apktool are you using? Apktool 1.5.2 might solve that issue..try it.. If not post the smali here in a zip
[Android Themes] the_vanya1:
pls help me to edit my status_bar_expanded.xml

https://www.dropbox.com/s/kpy5ih9gfgolvam/status_bar_expanded.xml
[Android Themes] E1nzte1N:
I try to help, this is the edited statusbar_expanded.xml appropriate tutorial above.

good luck ;)
[Android Themes] kuriboo:
Gan, di ane kok pas milih Change Logo FC ya ?

---------- Post added at 04:28 AM ---------- Previous post was at 03:32 AM ----------

Ane posisi JB 4.3
[Android Themes] addictz10:
Good day [MENTION=5123347]K_TECH[/MENTION] im having this error... I have a JB 4.2.2 version
[Android Themes] abhay1333:
plz any one make this UI for me here is my:

setng.apk & sysmUI.apk of [ 4.2.2 ] $$** Mackay Rom **

http://www.datafilehost.com/d/33b5b69c
[Android Themes] genica03:
Help sir. I can't change the profile picture. Success in recompiling settings and systemui. I can only change the cover photos. Please help. Thank you.
[Android Themes] GreyL:
after compare

..\3-Out\Settings.apk\smali\com\android\settings\adi\about\ProfileName.smali[23,25] mismatched input 'type' expecting END_METHOD_DIRECTIVE

Sir, when I try to recompile settings, i got that error, how can i fix it? I don't know how to use apktool 1.5.2, :D

here is my smali
[Android Themes] RBDoMGaM:
Are you using what version of apktool? Try with 2.0.0 Beta 9, if don't solve use apktool 1.5.2
[Android Themes] khusika:
Please, use apktool 2.0.0 beta 9. It will fix your problems
[Android Themes] GreyL:
I am using advanced apktool 2.0.0 beta 9, sir.

and I have that error. i don't know how to use apktool 1.5.2 cause it is jar file. I have no idea how to use it. :D sorry, this is my first mod for my rom.

Oh, I forget something. I have the .aapt.exe too, but when I try to open the apps, the window is force close. the same thing happen to me for another apktool.
[Android Themes] Offick:
App settings

I successfully without any error but it does not appear the app settings ,,#sorry my bad english
[Android Themes] khusika:
If you're following my guide

Go to settings>display
[Android Themes] Offick:
I can not get into his settings,, settings missing
[Android Themes] JynAlek:
Well I tried using the stock rom 4.1.2 (TouchWiz) ​​and did not work, I tried to use the Omni Rom (4.4.2) and it did not work, and tried to CyanogenMod 11 is also given in the same, none of the three recompiles the apk again I'm using the latest version of apktool and nothing
[Android Themes] khusika:
Are you fail when you edit/force close? Which one, settings/systemUI?
[Android Themes] aNgga - Fe Hung:
Please Your Respon

Indonesian Version.

saya telah download opktool v2.0.0 beta 9,,

tetapi saya masih mengalami kendala pada saat pertama kali Recompile..

pertanyaan saya..

1.jika di Samsung Galaxy Ace 2, setting itu namanya SecSettings.apk, bukan ??

saya minta tolong sekali kepada anda untuk merespon pertanyaan saya.... (masalah saya sama seperti pada halaman pertama )

English Version

I have downloaded opktool v2.0.0 beta 9,

but I am still having problems when first Recompile .. (same as my problem on the first page)

my question ..

1.If in Samsung Galaxy Ace 2, setting SecSettings.apk it's called, is not it??

I ask you to respond at all to my question ....
[Android Themes] khusika:
Those error not from my smali
[Android Themes] zie.do2y:
HElp

hi dude ..

I get a bit of a problem.

1. Did not work profilePic.apk the features of the display settings

if you can help me?

w8 device CM7 2.3.7
[Android Themes] lacoursiere18:
He just needs to use apktool 1.5.2.. If you use greater apktool will throw those errors in the smali;)
[Android Themes] asheg-al-reem:
Thank you for a beautiful explanation:good:
[Android Themes] khusika:
Hmm,I'll fix it for GB rom from this guide as soon as possible. because some user report to me, got problems like you.
[Android Themes] zie.do2y:
Thx for respon...

manualy change cpver n profile aja deh :D
[Android Themes] dugeriss:
Mastah modus

Sungkem m(_ _)m
[Android Themes] esoreiramdc:
layout problem?

Edit out systemui apk first everything seems to be ok but whenever i switch to quick settings :( problem. Can you please edit my status_bar_expanded or should i give gemini_status_bar_expanded (mediatek phone)
[Android Themes] esoreiramdc:
My problems

1st pic from home>quick settings

2nd pic from profile>quick settings

3rd pic from status>quick settings

Your response will be much appreciated
[Android Themes] Erhany:
[MENTION=5123347]K_TECH[/MENTION]

why get errors on compiling settings.apk's classes.dex ?

I tried both smali/baksmali 1.3.3 and 1.4.2.. All baksmali works fine but a ton of errors while compiling..

EDIT: Solved but... Baksmali dex with 2.0.3 and smali back. using java -Xmx512M .. command..

Nothing happens when I click "change logo" or "profile picture".. Whats wrong?
[Android Themes] khusika:
you dont need smali/baksmali to de/recompile Settings.apk, use apktool to de/recompile Settings.apk
[Android Themes] Erhany:
thats not a big thing. Im asking that do I have to take Step2 ? on Settings>display> Device Owner> change logo/picture doesnt take effect.

Are they belong to Step2?
[Android Themes] khusika:
Are you use GB rom?

What did you mean "doesnt take effect." when open display>Device Owner? you got FC when open it?
[Android Themes] Erhany:
lets make it clear. Im on GB. I did all Step1 and installed ProfilePic.apk.

Settings> About phone. I see ic_qs_default_user pic and Status: .... Status !ThatsOk!

Settings> Display> Device Owner> Change logo/picture.. When I click them, nothing happens.

Is step2 needed for this ?
[Android Themes] esoreiramdc:
Sir can you fix my problem :(

---------- Post added at 02:56 AM ---------- Previous post was at 02:47 AM ----------

I will upload my gemini_status_bar_expanded later
[Android Themes] Erhany:
It will be good if you share whole apktool folder in a zip.. I can decompile but again having smali problems while recompiling..
[Android Themes] Punkzappa09:
hehehheeh.. Guess who.. :)

di pa ba yon naayos sayo?
[Android Themes] esoreiramdc:
Glenn or Jc James hahaha
[Android Themes] khusika:
Okey, i'll share it next time :)
[Android Themes] addictz10:
We will wait,we hope that you will upload it right away :)
[Android Themes] aNgga - Fe Hung:
saya telah berhasil decompile & recompilenya,

kenapa ketika saya push ke system, SystemUI saya force close dan tidak ada menu setting..

I've managed to decompile & recompilenya,

why when I push to the system, my SystemUI force close and no settings menu ..
[Android Themes] khusika:
Have you sign apk after recompile?
[Android Themes] aNgga - Fe Hung:
Yes, I have signed the apk before I push to the system....

hmmm

I guess my mistake on the status_bar_expanded.xml ...

Can you help me edit status_bar_expanded??