yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] sandy7:
thanks ill add this in OP.....

iam re-modifying the whole tut and ill delete all hex related stuffs bcz while compiling apktool will auto define hex
[Xperia Arc Themes and Apps] android avatar:
Grate work sandy :good:

Very usefull guide :fingers-crossed:

keep it up :highfive:
[Xperia Arc Themes and Apps] sean.paul:
hi sandy look here

a problem in written code in second post ===> loxkscreen

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

<string name="permdesc_external_lockscreen">xperia lo

x

kscreen</string>
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 26/3/2013]

Thats not a problem bro u can write any thing in that area...
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 26/3/2013]

Yes
[Xperia Arc Themes and Apps] BeYoung_CareRockz:
I see a different order in public.xml in your guide with public xml that you edit for Saingpor (below)

So which order i should try ???

<public type="drawable" name="semc_magnifier_arrow_above" id="0x010807f5" />

<public type="drawable" name="semc_magnifier_arrow_left" id="0x010807f6" />

<public type="drawable" name="semc_magnifier_arrow_right" id="0x010807f7" />

<public type="drawable" name="semc_magnifier_rectangle" id="0x010807f8" />

<public type="drawable" name="semc_magnifier_round" id="0x010807f9" />

<public type="drawable" name="textfield_search_right_holo" id="0x010807fa" />
[Xperia Arc Themes and Apps] soumya_digi:
The hex ids are more important than the order in which they are placed. So don't worry about it.
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 26/3/2013]

Hmmm ao much big error...well iam on phone I can go through it properly..

But I can tell might. Be caused from these reasons..

Is ur aapt old?

Did u install the framework?

Or can tell what changes did u do in ur framework
[Xperia Arc Themes and Apps] Spex:
no it aint old

yes i did

i tried to add xs lockscreen (but error comes up even if i dont change anything
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework/Settings mods [Update 26/3/2013]

Well try with any other framework and se u get the same errors.. And dont theme the framework before u add a mods in it.
[Xperia Arc Themes and Apps] .MoHaMaD:
This is true

<public type="drawable" name="semc_magnifier_round" id="0x010807fc" />

.line 413

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mFrames:[Landroid/graphics/drawable/Drawable;

const/4 v4, 0x0

const v5, 0x010807fc

#

<public type="drawable" name="semc_magnifier_rectangle" id="0x010807fb" />

.line 414

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mFrames:[Landroid/graphics/drawable/Drawable;

const/4 v4, 0x1

const v5, 0x010807fb

#

<public type="dimen" name="roundMagnificationRadius" id="0x01050073" />

.line 422

const v3, 0x01050073

invoke-virtual {v12, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v13

#

<public type="dimen" name="rectangularMagnificationWidth" id="0x01050074" />

.line 426

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mMagnificationWidth:[I

const/4 v4, 0x1

const v5, 0x1050074

#

<public type="dimen" name="rectangularMagnificationHeight" id="0x01050075" />

.line 428

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mMagnificationHeight:[I

const/4 v4, 0x1

const v5, 0x1050075

#

<public type="dimen" name="selection_handle_offset_y" id="0x01050076" />

.line 452

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mArrowDrawables:[Landroid/graphics/drawable/Drawable;

const/4 v4, 0x0

const v5, 0x1050076

#

<public type="dimen" name="selection_handle_right_offset_x" id="0x01050077" />

.line 454

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mArrowDrawables:[Landroid/graphics/drawable/Drawable;

const/4 v4, 0x1

const v5, 0x1050077

#

<public type="dimen" name="selection_handle_left_offset_x" id="0x01050078" />

.line 456

move-object/from16 v0, p0

iget-object v3, v0, Landroid/widget/MagnifierView;->mArrowDrawables:[Landroid/graphics/drawable/Drawable;

const/4 v4, 0x2

const v5, 0x1050078

But it still was not :crying:

Both here

http://www.mediafire.com/?5nxcfxc1950kskk
[Xperia Arc Themes and Apps] sandy7:
well all fine with ur codes....but how come the line numbers in ur magnifierview smali are different .
[Xperia Arc Themes and Apps] lo2ay:
There are several mods you posted that i want to apply, the problem is, my ROM (UHD) is odexed, Android-policy.jar doesn't have the classes.dex file inside it.

I've decompiled, edited and recompiled several Apks before, so I won't have any problem with the editing itself.

Is there any way i can merge android-policy.jar and android-policy.odex into one file WITHOUT using dsxidia's kitchen ?

I'm having problems downloading it. The major internet cable coming from the sea has been cut, internet is freaking slow in the whole country, I can't download anything.... :( :mad: :eek: :crying:

Tools that I already have: APKtool, cygwin, and java JDK

Does any one have any ideas about that ?
[Xperia Arc Themes and Apps] EvilHobbit:
I had the same problem (odex). I did deodex my UHD 3.0.2 via this:

http://xdaforums.com/showpost.php?p=37531030&postcount=1.

(It helps, if You dont mind to deodex Your ROM)

If not, then i hope the brighter minds can answer Your question.
[Xperia Arc Themes and Apps] .MoHaMaD:
Sorry I did not exactly ask you.

But I odexer for you

http://xdaforums.com/showpost.php?p=34228765&postcount=62
[Xperia Arc Themes and Apps] franksdb:
hello please help me.

when I try to add the magnifier gives an error.

I: Building resources...

C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res\values\public.xml:6603: error: Public entry identifier 0x1080801 entry index is larger than available symbols (index 2049, total symbols 2049).

C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res\values\public.xml:6603: error: Public symbol drawable/semc_magnifier_rectangle declared here is not defined.

C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res\values\public.xml:6604: error: Public entry identifier 0x1080802 entry index is larger than available symbols (index 2050, total symbols 2049).

C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res\values\public.xml:6604: error: Public symbol drawable/semc_magnifier_round declared here is not defined.

http://d-h.st/c3h

:crying::crying::crying::confused::confused::confused::confused:
[Xperia Arc Themes and Apps] sandy7:
check ur public.xml

line 6603 and 6604

hex id's are not in order.
[Xperia Arc Themes and Apps] franksdb:
thanks check codes and now I get this error.

Could you help me please.

I: Building resources...

C:\APKMultiTools _\tools\..\projects\framework-res.apk\res\values\public.xml:6653: error: Public entry identifier 0x1080800 entry index is larger than available symbols (index 2048, total symbols 2048).

C:\APKMultiTools _\tools\..\projects\framework-res.apk\res\values\public.xml:6653: error: Public symbol drawable/semc_magnifier_round declared here is not defined.

C:\APKMultiTools _\tools\..\projects\framework-res.apk\res\values\public.xml:6648: error: Public symbol drawable/textfield_search_right_holo declared here is not defined.
[Xperia Arc Themes and Apps] sandy7:
u forgot the add the png's...add them
[Xperia Arc Themes and Apps] franksdb:
if I added but I always get an error when compiling:confused::confused:
[Xperia Arc Themes and Apps] sandy7:
see the errors the png's name...goto drawables folder search those png's and see weather they have .9 at the end of the name....if not add it
[Xperia Arc Themes and Apps] franksdb:
if you have them.

but will not let me compile
[Xperia Arc Themes and Apps] dadierv17:
the image is the same of "dimens"..... in which part or "drawable" i put this codes??
[Xperia Arc Themes and Apps] dadierv17:
i have this error making my modded settings what means that??

C:\android\apktool\Settings\res\xml\settings_headers.xml:28: error: Error: No resource found that matches the given name (at 'id' with value '@id/quickpanel_location_settings').
[Xperia Arc Themes and Apps] jader13254:
AW: [TUTORIAL] How to add various framework/Settings mods [Update 26/3/2013]

That there is no id "quickpanel_location_settings".. Means: Recheck the xml for mistakes and remove the wrong id.
[Xperia Arc Themes and Apps] dadierv17:
this is my line 28 and i have this where is the error??

<header android:icon="@drawable/ic_settings_quickpanel" android:id="@id/quickpanel_location_settings" android:title="@string/quickpanel_location">

please help me :fingers-crossed:
[Xperia Arc Themes and Apps] vashta:
Some noob question.

Does it matter, wheter it's odex or de-odex, the rom that i wanna use for the mod. ?
[Xperia Arc Themes and Apps] sandy7:
yes without deodexing u cant mod any thing...

for example...if ur decompile and odex android.policy.jar there will be no classout.dex file in it

so it should be deodexed
[Xperia Arc Themes and Apps] sandy7:
add this line at the end of res/values/ids.xml to fix ur problem

<item type="id" name="quickpanel_location_settings">false</item>
[Xperia Arc Themes and Apps] rockernaxo:
Hi!!

I'm trying to add dpi per app in settings and all works fine, but when I decompile Xposed apk to hid it from app drawer (by changing AndroidManifiest) it stops working.

Whenever I try to enter the app FC.

Any idea?
[Xperia Arc Themes and Apps] sandy7:
flash this it will be fixed

http://xdaforums.com/attachment.php?attachmentid=1825482&d=1363976438
[Xperia Arc Themes and Apps] rockernaxo:
Thanks you very much!!!

The same occurs with another app I have added. It works well from settings but when I modify and recompile again it never works anymore.

It's the toggle to switch between 2G and 3G.

Could you please modify this app too? If you have any spare time, I'd be very glad.

Here's the link of the app
[Xperia Arc Themes and Apps] vokal1992:
thanks that did the trick, but when I edit the Manifest the app doesnt install when I include it in my rom
[Xperia Arc Themes and Apps] joaopereira_19:
[/COLOR]Hi sandy can you make a toturial on how to make an option in settings to choose between z style and aosp on settings?
[Xperia Arc Themes and Apps] toshi_imsa:
can some post how to add honeycomb/AOSP lockscreen into framework
[Xperia Arc Themes and Apps] vishal_android freak:
Hi.. I wanted to add xs lockscreen in my ROM Pure Xperia HD, but I am having a problem.. When I flashed the zip made of lockscreen, it said android is upgrading and when all finished and "starting applications" came there was a bootloop.. :( can you tell me where I must have gone wrong sandy?? My base of the ROM is pureness build 13
[Xperia Arc Themes and Apps] sandy7:
did u mod them correctly ?
[Xperia Arc Themes and Apps] vishal_android freak:
Yes bro.. There was no compilation error also.. :( what should I try doing again tell me.. Il do.. Is the pureness framework not compatible with this or something like that?
[Xperia Arc Themes and Apps] sandy7:
check ur framework
[Xperia Arc Themes and Apps] sandy7:
haa i hate this ...took an hr to type a tut for adding small apps cm roms.....and by mistake i closed the browser ....all gone...

pain man again i have to retype them ...will be done in some hours.

EDIT: add thw TUT for adding small apps to cm roms....see 1st for more info

happy learning..
[Xperia Arc Themes and Apps] Ghostfreak NB:
You should always type it to a word doc when you are dealing with long long codes

My pc got hung up quite a few times while creating threads and man,experience has taught me!:p
[Xperia Arc Themes and Apps] Spex:
i know the feel

happened to me when i was updating rom list :/
[Xperia Arc Themes and Apps] sidharth.gtm:
Thnx for great tutorial ..
[Xperia Arc Themes and Apps] sandy7:
The only thing I noticed after every recompiling was the last line in the logs:

[*] "F:\Eigene Dateien\Downloads\Android Tools\AutoAPKTool2.0.4\_INPUT_APK\Settings"
recompiling "F:\Eigene Dateien\Downloads\Android Tools\AutoAPKTool2.0.4\_INPUT_APK\Settings"...
I: Smaling...
I: Building resources...
I: Building apk file...
Das System kann das angegebene Laufwerk nicht finden.

It means that the system can't find the specific drive. Why and does it matter? Do you have any clue why it doesn't work? I only copied ic_settings_lockstyle.png, UxpNxtLockScreen.apk, LockscreenStyle.apk and my modified files. Did I miss anything?[/QUOTE]

Das System kann das angegebene Laufwerk nicht finden. means u have successfully recompiled ur file......
[Xperia Arc Themes and Apps] Vasishta Reddy:
Small apps cm photo isn't visible bro can you please fix it :)

http://s12.postimg.org/5zj61um6l/Untitled.png
[Xperia Arc Themes and Apps] sandy7:
Ho ill fix it by eve...
[Xperia Arc Themes and Apps] Vasishta Reddy:
Thanks bro here you go I added credits for you in my thread :good:

http://xdaforums.com/showthread.php?t=1862705
[Xperia Arc Themes and Apps] XPS_93:
back press to kill

@Sandy7

I have a question here, which file is responsible for "back press to kill" function"? I wish to restore this function which I lost after flashing a certain framework mod along with reboot&CWM options in power menu. Rather, it would be great if you can make a tutorial bout this
[Xperia Arc Themes and Apps] sandy7:
Framework-res.apk , android.policy.jar and settings.apk

Back to kill is a huge tut...need more time to write clearly in a understandable way for u guys.
[Xperia Arc Themes and Apps] XPS_93:
I see, it must be the new framework mod over-written the "back press to kill". Are you gonna make a tutorial of this in the future?
[Xperia Arc Themes and Apps] sandy7:
Yes
[Xperia Arc Themes and Apps] :
Can this tutorial support CM10 or only stock based ?

As i saw somewhere in the OP stated that Small Apps for CM !!! So everything else are support all firmware only Small Apps is different for CM ? :good:

:angel:
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Which download links..
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
sandy I always fail when recompile fw-res. Can you make this lockscreen for x miro fw 11.0.A.55. I really hope you can take your time to my request ... because I always fail with your tutorial .. thanks
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Give me the apktool error log....sohat I can see what is the problem..
[Xperia Arc Themes and Apps] vashta:
Any Kill Back App - Mod ? :D
[Xperia Arc Themes and Apps] YeoZy96:
Re: [TUTORIAL] How to add various framework mods

Sandy, if you could port jellybean lockscreen. What I found out is, keyguard tab unlock layout have

To be changed, attr, addition of many styles. In framework jar, com...bla...widget,multiwave.glowdot from JB is needed. And something in Android Policy, Lockscreen$GlowDotView Something.....

I suck in Smali so I hope you could try n port it haha.

Last time I tried to Port CM Performance settings, Processor Setting half-working, memory management totally useless, other 3 more can be ticked but don't know whether got effect or not.

Haha

Sent from my Sensed ST18i with Tapatalk 2
[Xperia Arc Themes and Apps] sandy7:
plz read some posts back i told iam preparing it...will add soon..

hmm thanks for the info....(even i to suck at smali :p) if iam too jobless ill try for it..
[Xperia Arc Themes and Apps] xange:
thanks sandy, great tutorials, made my own thread for optimax rom at neo section. sorry for the late credits :p

tips: not necessary to add that 4 lines at public, it should be auto generated once you add 4 lines at strings and recompile it. Since there's no need to edit any smali to direct them to the ID at public, that step can be skip. it's working on my framework.

*using Framework_Toolkit by Themike but updated apktool engine to the latest.

about the small app, i wonder why only currency converter, mirror and unit converter not working. even i install from google play still the same.
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework mods

Mate just use a previous version of small apps you told and try!

I too got the same issue

See ss

If I update,it just vanishes away!

So I'm not updating it!

Can sandy or anyone help me with a workaround?
[Xperia Arc Themes and Apps] sandy7:
no fix...just update them
[Xperia Arc Themes and Apps] freakzapster:
Re: [TUTORIAL] How to add various framework mods

The update is what causes the issue!
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework mods

+1 to this!

Sandy when we update! It doesn't show up at all!
[Xperia Arc Themes and Apps] sandy7:
yes almost every one facing that prob
[Xperia Arc Themes and Apps] pathaniya:
The perquisites, the programs that we are suppose to have before we begin, that you mentioned in your first post. like adb, notepad++ and all.

Not important only if you feel like it.
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Lol

Notepad++ search in google..

Apktool ill give a links..

Or simply use search in xda will find all the tools.
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
Xperia S/T Lockscreen TUT >> solved . but where I can find settings.apk (which supports XS LS)? ... and whether it can match my firmware (st23i) .. sandy get you help me? ... sorry for my bad engglish ..:D :good:
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Xperia tipo dont have settings whick supports LS..wait ill post a tutorial for hor how to mod ur settings..
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
I'm done with decompile and recompile fw-res / policy.jar without any error. I try to push the 2 files without settings, and finally i got bootlop ... I do not know what's wrong. Can you check my file if there is something wrong when I edit ... ok I'll wait for a tutorial from you to edit my settings. thks sandy. :good: :good:
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Well are this the fw from same Rom u using...and did u try flashing them by flashable zip
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
yes .. I've tried it for a second. but the result remains the same.
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Ok I'll check it
[Xperia Arc Themes and Apps] sandy7:
its different.....tut of small apps for CM based roms are in OP

tut of smalls apps for sony stock based roms are in 2nd post

and the tut for skip track and camera button play/pause can be used on CM roms....but others cant be used
[Xperia Arc Themes and Apps] dadierv17:
hi sandy can you help me (again :fingers-crossed:) i have some problems with this......i am trying to add the small apps to the cm10 (fxp 214) i this is the problem.

C:\android\apktool\framework-res\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\android\apktool\framework-res\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected

what can i do?
[Xperia Arc Themes and Apps] sandy7:
did u change any thing in plurals.xml?
[Xperia Arc Themes and Apps] MarioJerkovic:
sandy can you make a tutorial for me about adding battery percentage in statusbar :) i searched for it but nothing :)
[Xperia Arc Themes and Apps] sandy7:
U mean battery icon with percentage...
[Xperia Arc Themes and Apps] MarioJerkovic:
Yes :) can you do it :)
[Xperia Arc Themes and Apps] sandy7:
Ill post a tut for it by night..
[Xperia Arc Themes and Apps] MarioJerkovic:
Thank's man ;) and it's for ICS SystemUI
[Xperia Arc Themes and Apps] jatinrungta:
about the small apps adding

Is that it?

After this can putting files (framework and jar files and small apps) in a custom rom would enable small apps by default in that rom?

Thank You
[Xperia Arc Themes and Apps] sandy7:
yes it will...but make sure the sign the framework-res.apk other wise ur rom wont boot up
[Xperia Arc Themes and Apps] Daniel D.:
Does that mean if I de- and recompile framework-res.apk without explicit signing it won't work on a (stock) ROM?
[Xperia Arc Themes and Apps] Saqib Nazm:
this thread should be pinned. anyways sandy bro you can add all the headlines as title in top of your post so that people can easily figure out if there's something new added :) :good:
[Xperia Arc Themes and Apps] sandy7:
not like that...when u add some mods in ur rom they wont boot up untill u sign them again...

thanks for the tip ill add them
[Xperia Arc Themes and Apps] sandy7:
sorry bro ill make ur tut tomorrow ....too tired now
[Xperia Arc Themes and Apps] MarioJerkovic:
No problem, i am glad that you will make it because there is no tut for that on XDA :) i searched for that for a long time :)
[Xperia Arc Themes and Apps] dadierv17:
Nope i only follow the tutorial and this problem appears :/
[Xperia Arc Themes and Apps] sandy7:
well i also tried even got the same error...that was only with the apktool which i provided in OP...

and i used other apktool and it worked fine with out errors..

try any other apktool..
[Xperia Arc Themes and Apps] jatinrungta:
adding small does not work with XperiaNXT series?

Tried it many times but seems not working

Help ME
[Xperia Arc Themes and Apps] sandy7:
Did u follow all the steps....

Post any error logs I can help u..
[Xperia Arc Themes and Apps] sean.paul:
hi all

have nice times

dear sandy i made small app with ur tut thank u very much

but how i can flash it

mean , i must flash .jar files firsT and wipe dalvik cash and reboot to home screen

then reboot to recovery and flash other files - (like AEON MOD)???

PLEASE TELL ME HOW IS CORRECT WAY?
[Xperia Arc Themes and Apps] sandy7:
Hmm did u read the small apps tut properly...

U are supposed to put all the files in a flashable zip which I have provided ..

Put all these things from resources.rar provided by me.

In the flashable zip u will find a system folder

In there again u make a 3 folders as

App

Etc

Framework

Then add the smalls in app folder

Permission files in etc/permission

And compiled framework-res.apk and android.policy.jar in framework folder

Zip the both meta-inf and system folder and flash via cwm

Hope u understand
[Xperia Arc Themes and Apps] sean.paul:
thank u again

i know this dear sandy

i mean can i putt them in my main rom

i did it again.. but when i run the small apps i got force close

even i putt the meta-inf from orginal framwork in my recompiled framework but not worked again ...

i wiped data and dalvik cach

i got boot loop

where is my problem - i do ur tut carefully and truely

my magnifier not worked too

thank u sandy help me please
[Xperia Arc Themes and Apps] sandy7:
If u want to put in ur Rom...see in 2nd the tool which is suggested ...after recompiling use option 10 to sign framework-res.apk

Then the new signed file will be in sign apk folder..

Then it will work.

Dont update apps from play store.

And magnification glass make u assigned the proper hex codes in smali
[Xperia Arc Themes and Apps] :
Can you point me out on how to transparent framework-res.apk So in some apps like Settings.apk will become transparent. Example: edit the style.xml...

Actionbar... :confused:
[Xperia Arc Themes and Apps] jader13254:
Not framework-res related, you need to edit the apps you want to make Transparent
[Xperia Arc Themes and Apps] :
By the way, ThillinaC told me it was in framework-res.apk but he didn't remember since he don't own Xperia phones anymore :)
[Xperia Arc Themes and Apps] Andrewasth:
What if I don't assign the hex codes you provided in the public.xml? Is it related or it is only needed On the jar file? Oh and on the autoapk took there isn't option to decompile jar!