yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] sandy7:
correction crt off animation have to change from true to false
[Xperia Arc Themes and Apps] sinoboss:
AW: [TUTORIAL] How to add various framework mods

I dont read all but is there a description how to go with headphones?

sorry for my little english
[Xperia Arc Themes and Apps] sandy7:
what?
[Xperia Arc Themes and Apps] sandy7:
added xperia s lockscreen and small apps TUT
[Xperia Arc Themes and Apps] Erhany:
thanks for tuts. If you know the important thing is long press back button to kill apps. I belive lots of people need that..
[Xperia Arc Themes and Apps] Orochixxx:
SKIP TRACK VIA VOL LONG PRESS not Work Error ???

Send Me ur Apktool ...

problem Solved Wrong Code

.line 2841
invoke-direct {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->cancelPendingScreenshotChordAction()V

invoke-virtual {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeLongPressAbort()V

invoke-virtual {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->isMusicActive()Z

move-result v12

if-eqz v12, :cond_c2

move-object/from16 v0, p0

iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsLongPress:Z

move v12, v0

if-nez v12, :cond_c2

and-int/lit8 v12, v10, 0x1

if-nez v12, :cond_c2

const/4 v12, 0x3

move-object/from16 v0, p0

invoke-virtual {v0, v12, v8}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeKey(II)V

goto :goto_c2

.line 2843

to

.line 2841
invoke-direct {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->cancelPendingScreenshotChordAction()V

invoke-virtual {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeLongPressAbort()V

invoke-virtual {p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->isMusicActive()Z

move-result v12

if-eqz v12, :cond_c0

move-object/from16 v0, p0

iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsLongPress:Z

move v12, v0

if-nez v12, :cond_c0

and-int/lit8 v12, v10, 0x1

if-nez v12, :cond_c0

const/4 v12, 0x3

move-object/from16 v0, p0

invoke-virtual {v0, v12, v8}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeKey(II)V

goto :goto_c0

.line 2843
[Xperia Arc Themes and Apps] sandy7:
thanks for letting me know the code...... appreciate it..

sry out of 8 thanks
[Xperia Arc Themes and Apps] soumya_digi:
@sandy7, Great work bro! :good:
[Xperia Arc Themes and Apps] xange:
Hi, Sandy, I have some question here. What if the id at public.xml that is used for the following line to add small app are like these:

<public type="string" name="permlab_smallapp" id="0x01040552" />

<public type="string" name="permdesc_smallapp" id="0x01040553" />

<public type="string" name="permlab_external_lockscreen" id="0x01040554" />

<public type="string" name="permdesc_external_lockscreen" id="0x01040555" />

<public type="string" name="permlab_externalTaskSwitcher" id="0x01040556" />

<public type="string" name="permdesc_externalTaskSwitcher" id="0x01040557" />

should I edit those smali at the small app apk and framework.jar? which line should be changed? I'm from Optimax, the framework of that ROM last string id ends at 0x01040551, so I cant use the lines provided by you or else fail recompile as the co-exist of the id.

mind to teach me how to do it?
[Xperia Arc Themes and Apps] sandy7:
well no need edit any smali's just add the smali's i have provided in resources.zip in framework.jar..

well about public.xml

u are telling that the last id ends at 0x01040551 so the next id's will be like this

0x01040552

0x01040553

0x01040554

0x01040555

0x01040556

0x01040557

0x01040558

0x01040559

0x0104055a

0x0104055b

and so on

and if ur adding only small apps u dont need these lines..

<public type="string" name="permlab_external_lockscreen" id="0x01040554" />

<public type="string" name="permdesc_external_lockscreen" id="0x01040555" />

these are for lockscreen
[Xperia Arc Themes and Apps] pathaniya:
Sandy, you are no less than a God to me, I have always wanted to learn and know,

the volume key hack/mod. Could you tell me it's possible on any version of Android, (from Donut to JB) also would it work on OEM's. Like am on stock Galaxy Note 2 would it work?

OR if i go back to X10i stock would it work? Or are there other formalities?
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework mods

Sandy :thumbup::thumbup: bro you made my day!

Hope I can learn some things from this tut!

Hope you find time to add some more mod guides! :p
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Should be the same..any how upload ur android.policy.jar ill go through it...and see if it has any changes..
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Hope u like it..

Yes back to kill all apps tut is in process..will add soon.
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework mods

No doubting that + you kept your word bro!

You'd told I'd be making a guide when we'd talked over pm!

:D

Will require your help! Hope you'd

Help me and not get offended! (final exams are near so not much chance before that,but once its over! I'd be the 1st one to trouble you, just kiddin ')
[Xperia Arc Themes and Apps] pathaniya:
Sandy would it be too much to ask if you can incorporate download links in your original posts. Since google so so much to offer, too many links to go through.
[Xperia Arc Themes and Apps] rockernaxo:
I managed to solve the problems of compiling and it works fine!!!!

Thanks sandy!! For your tutorials and support!!!:)
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Sandy need help I want to implement big music albumart mod in my framework can u tell me which files I need to edit. android.policy.jar? framework.jar or framework-res.apk?

Sent from my WT19i
[Xperia Arc Themes and Apps] xperiarcs:
Ynt: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Thanks for Information :)

LT18i cihazımdan Tapatalk 2 ile gönderildi
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

For that u need to mod both android.policy.jar and frameork-res.apk.....

I know what to modify (big thanks to serajr)

Ill post a tut once I come back from trip..
[Xperia Arc Themes and Apps] vokal1992:
how did you mod the NoFrills app to not show in the app drawer? send me PM please, thanks!
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Why a Pm?

Rather we'd all like to hear from Sandy regarding this
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Once u decompile no firls app...goto manifest.xml

U have to remove one line there but forgot the name..iam on phone now..

If u can upload a screenshot of manifest.xml I can tell u the name..
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

this lines

<action android:name=android.intent.action.MAIN">

<category android:name="android.intent.category.LAUNCHER">

??

Sent from my WT19i
[Xperia Arc Themes and Apps] shyam4ever:
Hi, Sandy..

I need to fix the black back ground on my framework. Can you please help me about it or can provide me any tutorial? Thanks in advance...
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Just look in drawables-nodpi folder...replace the background holo png
[Xperia Arc Themes and Apps] openperl:
1. decomplile framework-res.apk

2. open "styles.xml" with your editor (notepad++ recommended if on Windows OS)

3. search "Theme.DeviceDefault" style definition

4. add these 2 lines below

<item name="android:backgroundDimAmount">0.6</item>

<item name="android:semcWindowShowGlobalAppBackground">true</item>

5. recompile and sign
[Xperia Arc Themes and Apps] Daniel D.:
AW: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Is there a chance for a tutorial adding/removing 3-dot-menu button?
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Decompile your framework-res.apk goto values folder and open bools.xml and search for line

<bool name="config_showNavigationBar">false</bool>

Make it true and save it.

Then open dimens.xml and search for

navigation_bar_height and navigation_bar_width

Change the dip of both to >0.0dip<

Thats it now recompile and you have 3-dot menu button.

And yes to remove 3-dot menu open bools.xml and change showNavigationBar from true to false.
[Xperia Arc Themes and Apps] Daniel D.:
Oh, so easy? Thanks, I'll try it!
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Try and report if it works

Press Thanks if I helped
[Xperia Arc Themes and Apps] shyam4ever:
I have tried it and its working perfectly. Thanks...

---------- Post added at 01:32 AM ---------- Previous post was at 01:00 AM ----------

Thanks for the tutorial. I have tried it and its working like charm. Thanks Again...
[Xperia Arc Themes and Apps] toshi_imsa:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

I can decompile/compile other system apk like framework etc but I can't compile "semcphone.apk"

Can somebody help me
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

Which semcphone.apk it is?

I can decompile/recompile semcphone.apk but the one which gives error is danisariandi's white z style semcphone.apk

Press Thanks if I helped
[Xperia Arc Themes and Apps] rockernaxo:
Hi sandy!!!

Sorry for disturbing again, but I'm having new issues when trying to compile settings.apk. I have followed the tutorial to add new options step by step, but apktools gives this error.

I've attach the error apktools shows.

Thanks in advance!!!
[Xperia Arc Themes and Apps] sandy7:
see 28th line in settings_header.xml u made a mistake there or upload me ur settings_header.xml to me
[Xperia Arc Themes and Apps] rockernaxo:
Hi sandy!! Thanks for answering so quickly

I can't find the error so here you are settings_headers.xml
[Xperia Arc Themes and Apps] toshi_imsa:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

It is stock. 587 haven't tried to compile danisariadi's. Tried on apktool 1.4.1,1.5.2 etc
[Xperia Arc Themes and Apps] laba2batu:
There have tutorial add CMScreenshot on ics stock rom?
[Xperia Arc Themes and Apps] sandy7:
will add it soon
[Xperia Arc Themes and Apps] sandy7:
here do this...

goto res/values/ids.xml

at the end add this line..

[B]<item type="id" name="quickpanel_location_settings">false</item>[/B]

and then u recompile
[Xperia Arc Themes and Apps] laba2batu:
okay, thanks sandy7 :victory:
[Xperia Arc Themes and Apps] frogerra:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

It's a simple program to compile decompile apk and jar files, it's also will create a flashable zip after you done modifying your apk. Created by Adrian DC, for Xperia user only.

Here's the link, http://xdaforums.com/showthread.php?t=1794207

Sorry for my bad English.

It's X-Ray with Tapatalk!
[Xperia Arc Themes and Apps] vashta:
Now.. usually cusrom had their own 'advanced setting'.

What file must i edit, to remove some part of it. Example, I wanna remove pdroid from viper setting.

I can uninstall the app from titanium backup, but the menu in setting still there...

And btw... could you make a (kill back button mod only) for ICS ?
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

The simple thing is u can just delete the pdroid app but the option will be there I settings (which is useless ,If. Press pdroid settings will fc)

For removing it from settings , decompile it

Goto res/xml/settings_headers.xml

Remove the pdroid header and recompile it..
[Xperia Arc Themes and Apps] Orochixxx:
pls Add First Message For	beginner :)

public.xml sample hexadecimal codes :p

0x70000000

0x70000001

0x70000002

0x70000003

0x70000004

0x70000005

0x70000006

0x70000007

0x70000008

0x70000009

0x7000000a

0x7000000b

0x7000000c

0x7000000d

0x7000000e

0x7000000f

0x70000010
[Xperia Arc Themes and Apps] sandy7:
added
[Xperia Arc Themes and Apps] shyam4ever:
Need screenshot option tutorial...

Hi Sandy, This is a nice thread where we can get various mods and tutorials in one place. Thanks for it.

Please add tutorial "How to add Screenshot option in power menu in Xperia .587 FW"

Thanks in advance...
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 24/2/2013]

New tut coming up in few hours....

Camera button press for paly/pause music when screen is off...

EDIT: Camera button press for paly/pause music when screen is off... tut added in 1st post ...happy learning..

if u like my work plz press thanks

or buy me a beer (see OP for instructions for donating me)
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Thanks alot sandy7 u made my day the play/pause camera button mod just works perfect. Awesomeness :D :D

Press Thanks if I helped.
[Xperia Arc Themes and Apps] shyam4ever:
Please add the tutorial "How to enable wave lock screen on Xperia stock ICS FW"
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Sure ill add ASAP wont miss any req..
[Xperia Arc Themes and Apps] rockernaxo:
How can I enable CRT animation? I have change "animate_screen_lights" from true to false, but nothing happens :|
[Xperia Arc Themes and Apps] sandy7:
it wont work in ICS....only in GB......for ICS we have to modify while building rom form source..
[Xperia Arc Themes and Apps] :
Here add these two at the end (see pic for reference.) and save it

<string name="permlab_external_lockscreen">xperia lockscreen</string>
<string name="permdesc_external_lockscreen">xperia loxkscreen</string>

Lockscreen or loxkscreen ?

By the way , Is it possible for normall Settings.apk without Lockscreen option support as i just want to have lockscreen and i don't need to customize anything related to the lockscreen i'll leave it just as the default :D

Or can i just link UxpLockscreen to settings.apk
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Lockscreen or u can write any thing there...

Just use stock settings.apk u wont have lockscreen settings in it.
[Xperia Arc Themes and Apps] Pepi17:
I'm having some trouble building Settings.apk after I edit the xml files to add led control. Could anyone help me?

This is the apktool log:

java version "1.7.0_11"

Java(TM) SE Runtime Environment (build 1.7.0_11-b21)

Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res\values\public.xml:2554: error: Public entry identifier 0x7f0b0660 entry index is larger than available symbols (index 1632, total symbols 1563).

C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res\values\public.xml:2554: error: Public symbol string/led_title declared here is not defined.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Pepi\AppData\Local\Temp\APKTOOL1577985511419987113.tmp, -I, C:\Users\Pepi\apktool\framework\1.apk, -S, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res, -M, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

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

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

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

at brut.apktool.Main.main(Main.java:79)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Pepi\AppData\Local\Temp\APKTOOL1577985511419987113.tmp, -I, C:\Users\Pepi\apktool\framework\1.apk, -S, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res, -M, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\Pepi\AppData\Local\Temp\APKTOOL1577985511419987113.tmp, -I, C:\Users\Pepi\apktool\framework\1.apk, -S, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res, -M, C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)

... 6 more
[Xperia Arc Themes and Apps] jader13254:
AW: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Why don't you just read out the error :p

[HIGHLIGHT]C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res\values\public.xml:2554: error: Public entry identifier 0x7f0b0660 entry index is larger than available symbols (index 1632, total symbols 1563).
C:\android\APK-Multi-Tool\other\..\projects\SettingsAwesome.apk\res\values\public.xml:2554: error: Public symbol string/led_title declared here is not defined.[/HIGHLIGHT]

Means, you need another id...

Ex. 0x0001

0x0002

0x0003

Just check the last id, 0-9 & a-f
[Xperia Arc Themes and Apps] emwno:
Instead of adding the IDs to the public.xml, just delete it. It eill be regenerated during compiling, a suggestion to sandy to make this guide even easier and to solve the problem above. And @sandy ill pm you the lockscreen method today if I can.
[Xperia Arc Themes and Apps] Metallijim:
OK, little stuck here

Hi trying to make the edits to add volume=skip tracks, and I get this error when re-compiling

F:\Documents\Android\Tools\Thebyani_baksmail-smali>java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[7988,17] Label "cond_c2" is not defined.
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[7996,17] Label "cond_c2" is not defined.
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[8000,4] mismatched tree node: I_STATEMENT_FORMAT21t expecting I_CATCHES
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[8006,34] mismatched tree node: Lcom/android/internal/policy/impl/PhoneWindowManager; expecting <UP>

F:\Documents\Android\Tools\Thebyani_baksmail-smali>pause
Press any key to continue . . .

I've managed the mag mod ok, and put the camera mod=play/pause in

Any hints? can attach classout if needed

I was using the xposed method for doing this, but wanted to try this out and not rely on that.

I had that installed and running when I pulled android.policy.jar from my phone

Many thanks to sandy7 for excellent tuts:D Keep 'em coming!!
[Xperia Arc Themes and Apps] sandy7:
thanks for ur suggestions bro....ill do the same thing u said and re modify the whole guide
[Xperia Arc Themes and Apps] sandy7:
did understand ur problem.....

are u having problem while compiling camera button play/pause mod ?
[Xperia Arc Themes and Apps] Metallijim:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

No, volume up down.

Sent from my metalliArc S
[Xperia Arc Themes and Apps] sandy7:
try changing this to cond_c2-------cond_c0
[Xperia Arc Themes and Apps] Metallijim:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Will do, and let you know the outcome. I had a hunch it was that, just thought I'd consult the master :)

Sent from my metalliArc S
[Xperia Arc Themes and Apps] sandy7:
this might clear some doubts for u

http://xdaforums.com/showpost.php?p=37315423&postcount=10
[Xperia Arc Themes and Apps] Metallijim:
Thanks!!!

Sorry, I didn't even see that post!

Went by your instructions, and all is well!!

Many, many thanks :good:
[Xperia Arc Themes and Apps] Sesme:
I make Skip Track Volumen Buttons to 4.1.B.1.13

Skip Track Volumen Button

Skip Track Volumen Button & Play Pause Camera Button

Return to original

Thx Sandy7
[Xperia Arc Themes and Apps] Sesme:
Sandy friend i compile fine settings.apk

That new item's no see... compile no errors level 9 into autoapktool
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

What? Plz be more specific
[Xperia Arc Themes and Apps] indra05:
ghjhgj

sandy,, i've succes add magnifier to my framework,,

but i found some problem,, when the magnifyng glasses come out,, it dont show like a circle,, but an rectangular with circle in there...

hmm sorry if i make you confuse,, i'm not good in english...

here i give you my screenshot
[Xperia Arc Themes and Apps] djedjy:
Look here :)
[Xperia Arc Themes and Apps] indra05:
:D

thanks,, i'll try it

EDIT:

one more thing,, why is the circle not fully transparent,, its have a white background...

it is normal???
[Xperia Arc Themes and Apps] Sesme:
I try to change the settings in Settings and not get anything to compile conmpila well without glitches but the menu does not change ...

I have followed all your steps to the letter. The only thing I have not clear is the level of compression to 128mb autoapktool'm using 3.0.2 with compression level 9 and can be no error

Thank you for your attention

Sorry for my bad English
[Xperia Arc Themes and Apps] Siddhesh:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Yes

Press Thanks if I helped.
[Xperia Arc Themes and Apps] sandy7:
use this tool.....its set at 128mb compression by default.

http://d-h.st/vna
[Xperia Arc Themes and Apps] :
For me i only use apktool 1.4.2 ! I am not familiar with multitool or sth ! So how can i set compression level ?

Edit : Fine ! I'll try to adapt with the tool given :p
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 16/3/2013]

Use the tool posted above...its 126mb y default...

While using that tool go through the options u will find everything
[Xperia Arc Themes and Apps] :
According to what he said ! So for example

<public type="string" name="permlab_external_lockscreen" id="0x01040525" />
<public type="string" name="permdesc_external_lockscreen" id="0x01040526" />

So we just need to put like this

<public type="string" name="permlab_external_lockscreen" id="" />
<public type="string" name="permdesc_external_lockscreen" id="" />

:confused::confused::confused:

And without adding ID ! Will it re-generate with another XML ? So it will be more easier :cool:

Sorry for asking !!!

Edit : Hello ???
[Xperia Arc Themes and Apps] Pepi17:
Reboot options

Hey guys, I want to add reboot, reboot to recovery and screenshot options to my power menu.

Could anyone give me a hand?
[Xperia Arc Themes and Apps] sandy7:
no ur completely wrong.....this is how it goes....

just add lines in strings.xml and png's in drawables folder so apktool will auto generate id's in public.xml

here is an example

only add these lines in strings.xml

<string name="permlab_external_lockscreen">xperia lockscreen</string>
<string name="permdesc_external_lockscreen">xperia lockscreen</string>

now apktool will generate a id's according to hex orders with the full string line in public.xml...

another example just add some png's in drawables folder , so apktool will auto generate drawables id's in public.xml