yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Themes and Apps] galaxys3lover:
I mean like , just what look you said to that user who asked about the recent apps divider color change, you said he has to edit the line in colors.xml recent_apps_label line .. like that but for other lines and other things inside framework-res , how to change colors in the framework by changing which line in which xml? ...

P.S: You may not be a great themer , but you know a lot of knowledge about xml files ... and you take a lot of time to write tutorials which are awesome too.
[Xperia Arc Themes and Apps] Spex:
Dude that is just pure logic.

Just by reading and playing a bit you can find anything you want ;)
[Xperia Arc Themes and Apps] galaxys3lover:
Alright just thought a little help there would help us.
[Xperia Arc Themes and Apps] Andrewasth:
What changes have you made?
[Xperia Arc Themes and Apps] Spex:
You can always ask for help from some themer or search xda ;)
[Xperia Arc Themes and Apps] sandy7:
well as [MENTION=4288845]Spex[/MENTION] said its easy u can assign the code as per the names in xml..where the names in the xml are simple to understand..

well u can use this tool to open the colors.xml and assign the colors for them..

EDIT: also see drawables.xml for some more codifications..

also read through here to get some ideas http://xdaforums.com/showthread.php?t=1237528
[Xperia Arc Themes and Apps] Spex:
You can check http://xdaforums.com/showthread.php?t=1422116 for some modifications :)
[Xperia Arc Themes and Apps] galaxys3lover:
Thank you so much ! :) will look into all of them . :)
[Xperia Arc Themes and Apps] :
Added CPU Control
[Xperia Arc Themes and Apps] Andrewasth:
Try copying resources.arcs and the xml you edited from compiled to stock
[Xperia Arc Themes and Apps] Sahaab:
Or u can use a app called zipsigner from play store to sign the apk

(do this after u try copying the resource file[if it doesnt work])
[Xperia Arc Themes and Apps] :
None of it worked :(
[Xperia Arc Themes and Apps] sandy7:
use this tool http://d-h.st/vna (which i use for settings.apk)

after compile drag and replace the meta-inf and amnifest from original apk
[Xperia Arc Themes and Apps] :
hi guys,

sorry for asking many questions :silly:

my problem is when i change anything in framework-res it work when i flash it on another framework-res

but when i put it in my rom and flash it without having framework-res before i get bootloop

i just changed bools.xml and changed nav bar to true

please help
[Xperia Arc Themes and Apps] Sahaab:
I get the same problen

What i do is use the copy paste method

First copy the edited framework and paste it in /system (not /system/framework)

Edit its permissions to 'rw-r-r'

Then go into the framework folder and change the previous framework name (i usually add a random letter after 'framework-res' and before '.apk' dnt change the .apk)

Then paste the edited framework-res.apk and reboot

Then after reboot u can delete old framework-res.apk

<this is just a temporary fix i use, i do not know actual fix>
[Xperia Arc Themes and Apps] sandy7:
u have to sign it to make it bootable...
[Xperia Arc Themes and Apps] Sahaab:
I have tried using zipsigner before i dont thnk it worked
[Xperia Arc Themes and Apps] :
i sign it with the copy meta-inf method
[Xperia Arc Themes and Apps] sandy7:
use the tool i have posted in 2nd post and use the option no10 in that tool to sign ur apk...then when u put in ur rom it will be bootable
[Xperia Arc Themes and Apps] :
which apktool version to use?
[Xperia Arc Themes and Apps] sandy7:
just use this tool http://xdaforums.com/showthread.php?t=2011254 use option no 10 to sign ur framework-res.apk
[Xperia Arc Themes and Apps] Daniel D.:
I integrated a framework-res.apk which was edited from jader13254 and it doesn't work. Flashing the file is not a problem, but if I take it out of the flashable-package and integrate it into my ROM, it creates a bootloop. Android is not nice to me. Re-signing using Auto APKTool 2.0.4 didn't help too.
[Xperia Arc Themes and Apps] jader13254:
Remove sign Check via services.jar and resign all ssstem apps like usual apk
[Xperia Arc Themes and Apps] Daniel D.:
That's a good workaround, I'll think about it. I would like to solve the problem without it, so I tried to copy META-INF from the old apk to the new apk and vice versa, copy only the res folder and other changed files between the archieves but it doesn't help - there is a nice bootloop. I think I'll flash your framework-res after installing my ROM and will try to mod my .587 file myself in the next weeks. There is no hurry.
[Xperia Arc Themes and Apps] franksdb:
question?

could help me?

I modify the framework but smallapps not work.

when I try to open one, on the phone tells me it has stopped. :confused::confused::confused::confused:

that might be???? thanks

sorry for my bad English
[Xperia Arc Themes and Apps] a1b2c99:
Is it working on xperia neo v .587 stock fw? I tried to add smallapp and magnification but both time I got bootloop. Any help...
[Xperia Arc Themes and Apps] sandy7:
try updating smalls from play store

have u deodexed ur rom?
[Xperia Arc Themes and Apps] a1b2c99:
Yes I have deodexed and fully working rom.

Edit: I managed to add skip track by long press of vol button. Had to replace cond_c2 with cond_c0 in the OP. Can u tell me exact method to recompile framework apk and sign. I use apktool without error.
[Xperia Arc Themes and Apps] sandy7:
may be u have done some mistake doing it
[Xperia Arc Themes and Apps] a1b2c99:
I booted to rom successfully but when I open any smallapp I get FC. None of them working. Please help.
[Xperia Arc Themes and Apps] franksdb:
the update and still stops me smallapps
[Xperia Arc Themes and Apps] sandy7:
well the new smalls new framework files and TASK.apk ill update them asap in resources.
[Xperia Arc Themes and Apps] anerik:
Skip trakcs via volume button works on miui? Cause i've done it but users reported it didnt work

EDIT: Also, magnification glass works on miui? I hate miui is very different lol
[Xperia Arc Themes and Apps] sandy7:
skip track works where i personally added it and tested ...but magnification glass wont work
[Xperia Arc Themes and Apps] Samuel_Alva:
Can anyone tell me how to change Sony Ericsson‘s Original lockscreen to google’s Original lockscreen (android 4.x)
[Xperia Arc Themes and Apps] Envious_Data:
how?

so i made the header and i was wondering how i would add plain text

click on header to open,and once open you see names and reason why the names

ps - i wanted to make a credits menu without having to make a app in eclipse to provide the text if posible

pps - if you help me i will include your name in my credits (its kinda ironic in a weird way)
[Xperia Arc Themes and Apps] franksdb:
hello could you help me and try smallapps many ways and do not work these are my files the review and you could tell me what's wrong because I do not work

sorry for my bad English

http://www.mediafire.com/download/aam6nb33m2zrqry/smallapps.rar
[Xperia Arc Themes and Apps] osa_misuari:
please port the real small app from xperia Z bro :laugh::highfive::D:cowboy:
[Xperia Arc Themes and Apps] Remmie1973:
Setup Guide has stopped

Hi,

I have a Xperia Mini Pro and followed the instructions to add CPU Control and LED Control to settings.apk

In strings.xml I put this at he and (before </resources>):

<string name="header_category_advanced">Remmie1973 modification</string>

<string name="overclocktool_title">CPU control</string>

<string name="led_title">LED control</string>

In public.xml I put this at the end of the string section:

<public type="string" name="header_category_advanced" id="0x7f0b065a" />

<public type="string" name="overclocktool_title" id="0x7f0b065b" />

<public type="string" name="led_title" id="0x7f0b065c" />

In settings_header.xml I put the following above header_category_personal

<header android:title="@string/header_category_advanced" />

<header android:icon="@drawable/ic_overclocktool" android:title="@string/overclocktool_title">

<intent android:targetPackage="it.sineo.android.noFrillsCPUClassic" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPUClassic.activity.MainActivity" />

</header>

<header android:icon="@drawable/ic_led" android:title="@string/led_title">

<intent android:targetPackage="com.koo.lightmanager" android:action="android.intent.action.MAIN" android:targetClass="com.koo.lightmanager.MainActivity" />

</header>

Added the 2 png files

Also added the 2 apk files to the apps folder

I user Ticklemyandroid for de/recompile with no errors.

I copied the new settings.apk to my rom folder in cygwin en created de zip file

After flashing the zip file I keep getting:

Unfortunately, setup guide has stopped

What went wrong??

thanks in advance
[Xperia Arc Themes and Apps] Remmie1973:
I tried al the steps again and now its working
[Xperia Arc Themes and Apps] Remmie1973:
strange problem

Hi again,

I thought it was working now, but still have strange problem.

So I made changes to settings.apk (led + CPU control) if I flasf only the apk with the flashable zip it works nicely.

Now I have put the settings.apk in android kitchen and created a new zip with my rom.

If I flash it, it will boot but I get stuck at setup guide has stopped.

I really dont understand.

Regards,

Remco
[Xperia Arc Themes and Apps] bolololo:
Scripts are for ICS or above, right? I couldn't find many of these lines in gingerbeard files...
[Xperia Arc Themes and Apps] bejunk:
need some help...

last night tried sth around with ur TUT for magnification glass (on cm 4.2.2 framwork)... but i get everytime bootloop:silly:

now i saw this and i have also some unanswerd questions :D

1. is magnifictation glass mod ONLY for stock roms?

2. in public.xml when i wanted to add some values (strings) the hex codes are same (they already exist) so what should i do?:

---> put the magnification glass values to the end, and change its hex values forwarding to last hex ??? (dont know if the hex values have be exactly same as provided in tut:confused:)

and when NO, what should i do with the 'old' (non-magnification glass) hex values they are 'twice' ???

and 3rd: how do i resign framework-res.apk (like said before cm10.1) properly after recopiling?? (will only ''change it in my rom :)'')

i am litttle confused while there are [...] solutions n this thread for this :silly:

than u very much, an hope somebody can help a little (or give me a flashable zip :D, no just a joke)

peace, bejunk
[Xperia Arc Themes and Apps] sandy7:
well AFAIK it wont work on 4.2.2 ...bcz the smali's are ment for ics stock , ill try to get JB files ASAP

well u must assign hex code's in order...see 2nd post for details .

or there is a simple method to assign hex code by not adding anything in public.xml only add lines in strings.xml and dimes.xml , the apk tool will auto define hex codes in public.xml , then again u can decompile to refer the codes.

u can resign framework by copying the meta-inf folder from original apk to new compiled apk
[Xperia Arc Themes and Apps] SXUsr:
You need to remove the uxpnxtlockscreen.apk, if it doesn't look quite right however you might need to edit your keyguard_screen_tab_unlock.xml. See this post for reference - [How To] AOSP Lockscreen...
[Xperia Arc Themes and Apps] bejunk:
ok i understand. (very thanks for the hex-code trick :))...

but up to some questions: (i will really get it in cm[10]) thanks in advance..

...ok i'm think those files are ui execution code so we'll need all files from jb as provided in our zip in TuT? (not only ''magnifier-glass named.):confused:

2nd think: do u know, (think): those files (pushed from somc jb update) have to be 'edited to work' ??? (or are they well copatible :confused:, or chanching onlysome values?!)

i wanna push the files, and test, but have no idea which fw is best for a 'test' :D so maybe u can say what u think (as a experienced:angel:)

--> from jb xperia-go fw (it has same res as our device thats maybe good, but is only jb 4.1.2)

--> from 2nd newest z fw (is 4.2.2 but u know not 'our' res. :D)

thanks, peace, bejunk
[Xperia Arc Themes and Apps] Someguyfromhell:
These 2 posts never received a reply, so I will request one now.

Ran into same problem myself. Any app, where I try to use the magnification glass feature, the app just force closes.

Logcat (tried in QuickNote and stock Conversations): http://pastebin.com/GZWaVa7h
[Xperia Arc Themes and Apps] sandy7:
well after seeing the logcat...it shows that id's are not matched properly of might be some mistakes while modding it
[Xperia Arc Themes and Apps] Someguyfromhell:
Checked all the IDs, they seem correct, according to the tutorial.

The error lies in this part of framework.jar MagnifierView.smali

.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

invoke-virtual {v12, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v5

aput-object v5, v3, v4

Lucky me, some of the hex codes match as in the tutorial.

According to your tutorial, it should be linked to <public type="dimen" name="selection_handle_offset_y" id="0x01050076" />. It is in my public file.

<public type="dimen" name="magnifier_selection_handle_offset_y" id="0x01050072" />
<public type="dimen" name="roundMagnificationRadius" id="0x01050073" />
<public type="dimen" name="rectangularMagnificationWidth" id="0x01050074" />
<public type="dimen" name="rectangularMagnificationHeight" id="0x01050075" />
<public type="dimen" name="selection_handle_offset_y" id="0x01050076" />
<public type="dimen" name="selection_handle_right_offset_x" id="0x01050077" />
<public type="dimen" name="selection_handle_left_offset_x" id="0x01050078" />

HEX codes are set correctly, framework-res.apk compiled and works fine.

Although the error says, that the object is not a drawable

07-07 21:49:21.875 E/AndroidRuntime( 1608): FATAL EXCEPTION: main
07-07 21:49:21.875 E/AndroidRuntime( 1608): android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x5/d=0x2a01 a=1 r=0x1050076}

What I understand, then this 0x01050076 should determine the size of the magnification glass, but what it actually does, is that it tries to take it as a drawable.
[Xperia Arc Themes and Apps] sandy7:
hmm its quite strange...

can upload plz upload ur public.xml , dimes.xml amd magnifierview.smali ill check them myself in an hour once i reach home
[Xperia Arc Themes and Apps] Someguyfromhell:
Added.

If you find a mistake, let me know, what was it. Just so I could keep it in mind if I start working next time. :)
[Xperia Arc Themes and Apps] sandy7:
just a clarification , have added the png's in drawables-hdpi ?

edit: also have u added the file in webkit and widget folder in framework.jar while i provided in resources.zip

bcz ill seem fine for me
[Xperia Arc Themes and Apps] vishal_android freak:
Sorry to post it here bro.. I had pm you but i didn't get any reply so i posting my issue here.. I added XS lock successfully.. But the only problem is it works only when i flash it using the flashable zip provided by you.. If i move the respected files by root explorer and set permissions, it gives me bootloop.. Please help.. :)
[Xperia Arc Themes and Apps] Someguyfromhell:
The given PNG files were put into res\drawable-hdpi folder, yet you say drawables everywhere. Is that the issue?

I shall try it, will update this post.

Yes, these files were added aswell.

EDIT: Received a directory error, when I tried to add res\drawables-hdpi folder, because the folder ends up like this

framework-res-apk\res/drawables-hdpi

instead of this

framework-res-apk\res\drawables-hdpi
[Xperia Arc Themes and Apps] esduti:
Thank you so much!
[Xperia Arc Themes and Apps] sandy7:
might be some prob with ur framework...can u give ur frameworks ill try to mod it myself ..and get back to u
[Xperia Arc Themes and Apps] Someguyfromhell:
Framework-res.apk and framework.jar: http://www.mediafire.com/?5bekkb3ke1h372c

These have been only deodexed so far.
[Xperia Arc Themes and Apps] Cilenco:
I tried to implement the "Skip track via long press volume button" but if I want to recompile the classes folder it comes to this output:

D:\Android\modification\apktool>java -Xmx512M -jar smali.jar classout/ -o new-cl
asses.dex
classout\com\android\internal\policy\impl\PhoneWindowManager$23.smali[27,4] Erro
r for input '.parameter': Invalid directive
classout\com\android\internal\policy\impl\PhoneWindowManager$24.smali[27,4] Erro
r for input '.parameter': Invalid directive
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[5538,4] Error
for input '.parameter': Invalid directive
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[5538,15] mism
atched input '"keycode"' expecting END_METHOD_DIRECTIVE
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[11518,4] Erro
r for input '.parameter': Invalid directive
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[11518,15] mis
matched input '"intent"' expecting END_METHOD_DIRECTIVE
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[11530,4] Erro
r for input '.parameter': Invalid directive
classout\com\android\internal\policy\impl\PhoneWindowManager.smali[11530,15] mis
matched input '"code"' expecting END_METHOD_DIRECTIVE

Any ideas why? I work with Windows 7x64
[Xperia Arc Themes and Apps] Bakisha:
I had same problem . Use latest (maybe even older, if you have latest) versions of baksmali/smali
[Xperia Arc Themes and Apps] Cilenco:
I tried with many different versions but it allways comes to the same output...
[Xperia Arc Themes and Apps] Bakisha:
Try with this. I remember that this version (i think it's 2.0b1) solve that problem for me and only thing i needed to change is "_c2" thing.
[Xperia Arc Themes and Apps] Cilenco:
Thanks with that I can compile it perfectly. I added it to my ROM but it doesn't work. The same issue I have with the magnification glass (it shows the old selector in the textview). The decompiling, modification and recompiling works great but if I flash it with CWM it does not work.

Have I forgot something? Two MODs which were compiled correctly but both does not work? Curious...

EDIT: My base is .13 ftom this Thread with the Deodexing Patch. For the "skip track via long press" I used the android.policy.jar from the Deodexing Patch. For the magnification glass I used the framework-res.apk from the main ROM and framework.jar from the Patch. At first I flash the main ROM than the Deodexing Patch and than the zip for the magnification glass (I used the zip from the thread and put in the modded files)
[Xperia Arc Themes and Apps] Bakisha:
I modded .631 from stock Neo L ics and it worked. On first page jader said that .13 firmware is using some new java code. Maybe that's why it doesn't work for you.

Unless you didn't clean dalvik cache, I don't how I can help you more.
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
thks sandy...i ll waiting here...:D :good:
[Xperia Arc Themes and Apps] iONEx:
Followed Xperia S/T Lockscreen TUT

Compiles fine, pushed to system, restarted.

Phone boots, and when it's supposed to finish bootin and show the lockscreen, it reboots.

Thus I'm getting a bootloop -.-

Any ideas on what I could be doing wrong?

ThanX!

EDiT:

here's my framework if anyone wants to take a look: https://dl.dropbox.com/u/61884099/framework-res.apk
[Xperia Arc Themes and Apps] sandy7:
Re: [TUTORIAL] How to add various framework mods

Try replacing the uxpnxtlockscreen.apk
[Xperia Arc Themes and Apps] Nathan Ali Ashari:
sorry sandy .. did you know where my file error?

I waited sandy .. I hope you've found it. or if you can make it for me ... I would be very grateful if you did ... thks sandy.
[Xperia Arc Themes and Apps] Ghostfreak NB:
Re: [TUTORIAL] How to add various framework mods

Hello,Nathan,

Just to inform you!

Sandy has some personal issues for a while! He'll contact you when he gets back on track!

One of his family member is critical so that's all I can comment as he won't like me disclosing it all without permissions of his!

Pls keep in touch to stay updated! Also pls co-operate!

Thanks! :)
[Xperia Arc Themes and Apps] iONEx:
Re: [TUTORIAL] How to add various framework mods

Hope everything works out for sandy, whatever the reason!

Best wishes...

Sent from my ST15i
[Xperia Arc Themes and Apps] sandy7:
well there are 2 things which caused u bootloop..

1st- u didnt push it with uxpnexlockscreen.apk

2nd- u might have a signed the framework with old meta-inf and manifest.xml (which will replace the edited manifest.)

see in the tut i have posted a link how to decompile a, recompile and sign framework... try again keeping the above listed things..let me know if it works.

and sorry for the delay
[Xperia Arc Themes and Apps] sandy7:
thanks for the wishes buddy...

after changing the uxpnxtlockscreen.apk did it work?
[Xperia Arc Themes and Apps] iONEx:
actually... no :(

I'm using my own ROM which is as you might know based on C'n'T built by serajr&you.

If I framework-res to I get bootloop :-/

I tried nxt framework by TK, with stock SemcGenericUxpRes, framework.jar and android.policy.jar but I also got bootloop.

So I guess it must be some problem in the ROMs framework?
[Xperia Arc Themes and Apps] sandy7:
upload me ur framework-res.apk , android. policy.jar
[Xperia Arc Themes and Apps] iONEx:
https://dl.dropbox.com/u/61884099/framework-res.apk

https://dl.dropbox.com/u/61884099/android.policy.jar

problem is, whatever framework I change it doesn't work.... only framework from the ROM works.

thanX!
[Xperia Arc Themes and Apps] sandy7:
ok ill patch it and ill get back to u tomorrow..
[Xperia Arc Themes and Apps] Dawoods:
hey, sandy

where i could find classes.dex in my stock android.policy.jar? there is just META-INF folder inside it. :confused:

Sorry for my noob question. :D

please see my android.policy.jar file.
[Xperia Arc Themes and Apps] sandy7:
open the android.policy.jar with winrar (right click on android.policy.jar >open with >winrar archive then u will find classes.dex
[Xperia Arc Themes and Apps] Dawoods:
i already open it with 7zip but i cannot find it. it from my stock ST17i ICS .587. :confused:
[Xperia Arc Themes and Apps] sandy7:
the file u attached is is only 313 B......the file must be broken...

is ur rom Deodexd?
[Xperia Arc Themes and Apps] attack11:
hi sandy ! nice tutorials !

im trying to make the xperia loockscren with seraj clean and tweaked ( with no small apps) and i edit and decompile everything ok but when i push the files edited in my celphone nothings seems to change,it is incompatible if it has wave loockscreen ?

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

Make sure did u push the framework-res.apk , android.policy.jar , and uxpnxtlockscreen.apk.
[Xperia Arc Themes and Apps] sandy7:
bro here is ur lockscreen...test it it if it works...

http://d-h.st/Mq6
[Xperia Arc Themes and Apps] iONEx:
Re: [TUTORIAL] How to add various framework mods

Thanx! Will let ya know tmrw ;)

Sent from my ST15i
[Xperia Arc Themes and Apps] Someguyfromhell:
Any luck yet?
[Xperia Arc Themes and Apps] sandy7:
sorry for the delay..was busy .

also had some compiling errors , fixed it.

here http://d-h.st/I9s i moded it flash it and see if it work
[Xperia Arc Themes and Apps] :
Same problem here,

always get fc

i am sure that the ids are correct

i am on .13 base

regards
[Xperia Arc Themes and Apps] sandy7:
ya the new fw is causing some problem...let me check and ill try to mod another way
[Xperia Arc Themes and Apps] :
I managed to find a solution for .13 ROMs :D

Firstly, edit the framework as in sandy7 guide.

Secondly, for the framework.jar you MUST USE .587 FRAMEWORK.JAR and don't use magni_resources from sandy7 guide, use the this one:

http://d-h.st/W3W

Then, continue editing the ids as in sandy7 guide

And it worked!! :D
[Xperia Arc Themes and Apps] sandy7:
thanks ...well ill update the resources for .13 fw