yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] treacherous_hawk:
if you cant post the link just mention the steps you are following to install it and mention the error code if any.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] acanofcoke:
The video says recovery, wipe/factory reset/ wipe cache then dalvik then install but when i choose rom the press install after a second it just says "failed " in red letters.

Could it be that I need a different kernel?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] treacherous_hawk:
yes try a different kernel CM Kernel. Check the downloaded file's MD5 and match.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] acanofcoke:
Where can i get CM kernel, i cant find it
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] treacherous_hawk:
http://xdaforums.com/showthread.php?t=1789397
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] acanofcoke:
Yep that worked chapola, ta muchly!

:victory:
[LG Optimus 4X HD] GalaxyVolvoZ:
Hey Guys, can you send me pls your Antutu Points Results ?ayv
[LG Optimus 4X HD] GalaxyVolvoZ:
Only on 20a ! Maybe Screenshot :)
[LG Optimus 4X HD] PsevDo1:
my results
[LG Optimus 4X HD] GalaxyVolvoZ:
Thanks dude :) ! Woar 12,9 k ?
[LG Optimus 4X HD] GalaxyVolvoZ:
My :
[LG Optimus 4X HD] zihh:
V20a with iodak kernel
[LG Optimus 4X HD] vladja10:
Here is mine. Stock rom with latest iodak kernel
[LG Optimus 4X HD] Turbol:
Iodak. V4
[Samsung Epic 4G Touch] hackaveli:
Yesterday I flashed a ROM for the first time. I went with CM 10.1 WFTN. I went from a problematic stock 4.0.4 FH13 build so I was loving my new ROM except I can't get MMS to work. I tried to edit build.prop to configure my APN to work. When I went to reboot it would show the Samsung Galaxy S2 logo splash then it would go to a black screen and not boot. I was terrified that I might've bricked my phone. I pulled battery and attempted to boot into recovery and was ecstatic it did. I wiped data wiped cache wiped system and installed CM10.1 and Gapps and now I'm okay. I think? Not sure what caused the no-boot. My questions are:

1) did I handle the situation correctly or should I have restored to my FH13 Nandroid backup?

2) Is having my Nandroid backup and having CWM custom recovery the only preventive measures I need to take to save myself from any future headaches or are there other things I should learn/know?
[Samsung Epic 4G Touch] patrao_n:
It was most likely the change before the reboot. I have never edited the apn so I will say maybe that was it. But yes you handled it correctly.
[Samsung Epic 4G Touch] jdsingle76:
The problem most likely came from the ics to jb transition. Before flashing CM, op says wipe everything except sd card, so if you didn't do that, that may have caused the boot loop too. Having a good backup is crucial, but if your fh13 is problematic, I'd find a good stock that works flawlessly as my backup. That way, in a pinch, you will always have a working backup. Secondly, mms on wftn has began an issue for others as well, just read the thread. And changing build prop is tricky, you're better off trying to change it using the voice dialer. I would always keep a copy of Chris41g's EL26 cwm in both tar and zip form saved to both internal and external drives of your phone. And invest in mobile Odin pro. And have Odin on your laptop as well as the latest Sammy drivers. And have fun!

Edit: but no, having cwm in and of itself will not 100% protect you from bricking. Reading, reading, reading, and asking the right questions will go just as far! Good luck.
[Xperia Z General] erorcun:
Hi XZ owners!

I made this for XU / XSOLA JB port actually and currently they uses this method but later I discovered other JB Xperia's have this problem too.

Thanks to XperienceD for improving guide.

Workaround:

Firstly decompile your framework.jar, framework-res.apk and SemcGenericUxpRes.apk files, then download and extract this: framework-fix.zip

1- Copy the ColorizableDrawable.smali to "framework.jar/android/graphics/drawable".

2- Remove these lines from "framework.jar/android/graphics/drawable/Drawable.smali":

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_109

3- In the drawable folder of your framework-res you need to find and change a number of xmls and the easiest way to do this is with Notepad++. Download and open it first, then in the drawable folder highlight all 150 xmls prefixed with semc_, and drop them into Notepad++ (You may want to do so many at a time depending on your Computers specs). Using the search and replace feature, replace...

somc:colorizable

for...

colorizable

...using the Replace All in All Opened Documents button...

...then you need to Replace this whole line...

android:color="@com.sonyericsson.uxp:color/semc_theme_accent_color" xmlns:somc="com.sonymobile"

...using the same method with...

android:color="#00000000"

I moved theme color part to smali, so "#00000000" is just a placholder in here and won't affect anything.

4- Open styles.xml in the values folder with Notepad++ and search for...

@com.sonyericsson.uxp:drawable/semc_bg

...there should be two, that one and then one with _bright, replace that line with...

@drawable/semc_bg

...and replace the other with...

@drawable/semc_bg_bright

Then copy from your drawable-hdpi and drawable-xhdpi folders in your decompiled SemcGenericUxpRes folder, semc_bg_bright.xml, semc_bg.xml, semc_bg_bright_tile.png and semc_bg_tile.png into the same folders in your decompiled framework folders.

Normally app backgrounds doesn't change with 2013 xperia themes in anyway but theme system still has this ability, if you want to keep this I fixed it too, search for "@com.sonyericsson.uxp:drawable/semc_bg" and change with "@drawable/semc_bg_new" then put semc_bg_new.xml to drawable folder from downloaded file and don't forget adding semc_bg_new to public.xml.

5- In your decompiled framework folder open apktool.yml with Notepad++ and remove the "-2" from the "usedFrameworks" code...

...then recompile your framework.jar and framework-res.apk, add the signatures in the usual manner, copy both files to the Phone, change permissions, reboot, and you should finally have a success boot. :)

This method is currently working on all JB Xperia's.

Enjoy!
[Xperia Z General] SXUsr:
Going to test in a bit, thanks! :)
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

There is no drawable folder in framework.jar? And yeah you have to look each file which has semc_ prefix (I forgot to write that) on drawable folder unfortunately.
[Xperia Z General] SXUsr:
Schoolboy error there. :o

A search in Virtuous found 59 files in total, so what I've done is open all 150 SEMC files in Notepad++ and searched and replaced somc:colorizable for colorizable, and the same again for the android:color. :)
[Xperia Z General] erorcun:
Yep but don't forget xmlns:somc tag at the end, you must delete it. And don't forget to put old signatures back.
[Xperia Z General] SXUsr:
Perhaps you could put a bit more effort into writing the OP, as the image names are incorrect too.
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

OP is okay and there's nothing wrong. You're doing something wrong. xmlns:somc part is already on OP.
[Xperia Z General] peetr_:
Going to test it on XT, when I will have some time.
[Xperia Z General] SXUsr:
I got that part in the end, but it's still bootlooping. Perhaps you could take a look please? - Xperia_Z_307_fw.zip
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

Could you send your edited files?
[Xperia Z General] SXUsr:
Sure - Recomp_Z_fw.zip
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

I don't have time to fix it but I can't even decompile your framework-res file.

Also I noticed preloaded-classes and META-INF are missing in framework.jar.
[Xperia Z General] SXUsr:
Thanks for looking, I'll have another bash tonight, could be just the jar then I've not done right.

From me to you.
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

I think there is something wrong about framework-res too. Did you try removing 'used frameworks' part in apktool.yml? It seems I forgot to say that, sorry.
[Xperia Z General] SXUsr:
I didn't no although I've seen that in another thread too so may have tried it eventually, at least we're heading in the right direction. :)

From me to you.
[Xperia Z General] erorcun:
I'm sure it will work with XZ. I will wait feedback from you tonight, thanks in advance.
[Xperia Z General] SXUsr:
It does! :) Thank You very much!! Will get a link added to my guide at the weekend, I do it now but I've got some playing to do. :D The OP needs re-writing though I will say just to clear things up a bit.

But once again, Thank You. :)
[Xperia Z General] erorcun:
Thanks. =) Which things needs rewriting?
[Xperia Z General] SXUsr:
Like this :)...

Workaround:

Firstly decompile your framework.jar, framework-res.apk and SemcGenericUxpRes.apk files, then download and extract this: framework-fix.zip

1- Copy the ColorizableDrawable.smali to "framework.jar/android/graphics/drawable".

2- Remove these lines from "framework.jar/android/graphics/drawable/Drawable.smali":

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_109

3- In the drawable folder of your framework-res you need to find and change a number of xmls and the easiest way to do this is with Notepad++. Download and open it first, then in the drawable folder highlight all 150 xmls prefixed with semc_, and drop them into Notepad++ (You may want to do so many at a time depending on your Computers specs). Using the search and replace feature, replace...

somc:colorizable

for...

colorizable

...using the Replace All in All Opened Documents button...

...then you need to Replace this whole line...

android:color="@com.sonyericsson.uxp:color/semc_theme_accent_color" xmlns:somc="com.sonymobile"

...using the same method with...

android:color="#00000000"

I moved theme color part to smali, so "#00000000" is just a placholder in here and won't affect anything.

4- Open styles.xml in the values folder with Notepad++ and search for...

@com.sonyericsson.uxp:drawable/semc_bg

...there should be two, that one and then one with _bright, replace that line with...

@drawable/semc_bg

...and replace the other with...

@drawable/semc_bg_bright

Then copy from your drawable-hdpi and drawable-xhdpi folders in your decompiled SemcGenericUxpRes folder, semc_bg_bright.xml, semc_bg.xml, semc_bg_bright_tile.png and semc_bg_tile.png into the same folders in your decompiled framework folders.

Normally app backgrounds doesn't change with 2013 xperia themes in anyway but theme system still has this ability, if you want to keep this I fixed it too, search for "@com.sonyericsson.uxp:drawable/semc_bg" and change with "@drawable/semc_bg_new" then put semc_bg_new.xml to drawable folder from downloaded file and don't forget adding semc_bg_new to public.xml.)[/COLOR][/I]

5- In your decompiled framework folder open apktool.yml with Notepad++ and remove the "-2" from the "usedFrameworks" code...

...then recompile your framework.jar and framework-res.apk, add the signatures in the usual manner, copy both files to the Phone, change permissions, reboot, and you should finally have a success boot. :)

This is tested on SP (Not S, P), U and Sola and works on the Z too.

Enjoy!
[Xperia Z General] erorcun:
[MENTION=2735402]XperienceD[/MENTION]

Thanks, I'm adding it to OP. I can't write guide that detailed my english isn't very good.

But I will be happy if you give link to this topic on other topic.
[Xperia Z General] SXUsr:
No problem, I didn't think it was your first language but its still very much understandable! :)

I'll change the link in my sig so it comes to this guide. :)
[Xperia Z General] erorcun:
Thanks for both =D
[Xperia Z General] pharix:
U got a problem. I am XIon user. Everytime ai recompile the apk i got 13mb imstead of 21mb. And it did not work. So this method will solve my problem?
[Xperia Z General] erorcun:
[MENTION=4887709]pharix[/MENTION]

Ion is ICS, isn't it? So you must use that: http://xdaforums.com/showthread.php?t=2254787
[Xperia Z General] pharix:
No. We have leaked JB.
[Xperia Z General] erorcun:
[MENTION=4887709]pharix[/MENTION]

Then you can use this method.
[Xperia Z General] monx®:
thanks for the guide but im afraid we're going to lose sony themes compatibility.
[Xperia Z General] erorcun:
That's why I made this method, everything stays, I'm experienced at programming and I was searching a workaround for months for keeping theme support. Firstly try please.
[Xperia Z General] monx®:
Great! just want to double check :good::highfive:
[Xperia Z General] thanhhii:
Oh yeah Succesfully recompiling Framework-res.apk and phone boot WELL

Thanks so much!

I''m using Leak 204 JB Xperia Ion!
[Xperia Z General] Diego910:
I have a problem in XU, i followed the tutorial and the phone boots, but colors in settings won't show.
[Xperia Z General] erorcun:
[MENTION=5029632]Diego910[/MENTION]

I know as XU JB port already use this method. Did you gone to bootloop ever before using this method?
[Xperia Z General] Diego910:
I am compiling stock XP. 100 framework.
[Xperia Z General] SXUsr:
Confirmed working for 4.2.2. :)
[Xperia Z General] Kyrie1965:
erorcun, thank you!

Did anyone have already moded 10.3.A.0.423 (4.2.2) framework.jar, framework-res.apk and SemcGenericUxpRes.apk? Share please.
[Xperia Z General] lzyllp:
U can share you moded files?Thanks
[Xperia Z General] SXUsr:
Just my decompiled files so you can build them you mean? Or the built apk and jar file?
[Xperia Z General] lzyllp:
Thanks,final success compiled in 4.22
[Xperia Z General] SXUsr:
:good:
[Xperia Z General] black97one:
hello,

i din't found the drawable-hdpi and drawable-xhdpi in my decompiled framework.jar file :(

can you help me please?

and where to find the "@com.sonyericsson.uxp:drawable/semc_bg"

thanks :)
[Xperia Z General] sj8023ld:
they are in framework-res.apk
[Xperia Z General] black97one:
thanks...but i already found a other way to modding :)
[Xperia Z General] erorcun:
[MENTION=1296343]black97one[/MENTION]

What's that?
[Xperia Z General] black97one:
7zip :p
[Xperia Z General] erorcun:
[MENTION=1296343]black97one[/MENTION]

Yeah possible but you can't edit values folder by this way =D
[Xperia Z General] black97one:
yes...doing only graphic modding for the moment :rolleyes:

but where is exavtly located "@com.sonyericsson.uxp:drawable/semc_bg" ???

perhaps edit your Guide for framework-res part and no framework one... :o
[Xperia Z General] erorcun:
[MENTION=1296343]black97one[/MENTION]

It's in styles.xml
[Xperia Z General] ReadReadz:
[MENTION=4898631]erorcun[/MENTION]

I not found this line in my framework / Drawable.smali

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_109

It have

1/

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_10

2/

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_f

I should remove 1/ or 2/ ??

:D
[Xperia Z General] erorcun:
Search 'colorizable' word and delete the one around it.
[Xperia Z General] whalesplaho:
can i use dis method for my XV?
[Xperia Z General] erorcun:
Try?
[Xperia Z General] whalesplaho:
framework.jar is not decompiling, didnt create any classout folder.... please help me!

here is my framework.jar file.
[Xperia Z General] SXUsr:
Have you not deodexed?
[Xperia Z General] whalesplaho:
sure brov.. am using dis rom; http://xdaforums.com/showthread.php?t=2235675

help please.... really wanna mod my framework!
[Xperia Z General] SXUsr:
Your framework.jar doesn't contain a classes.dex?
[Xperia Z General] whalesplaho:
It only have a file called preloaded-class. Its not in .dex
[Xperia Z General] SXUsr:
I've got both which is why I ask and seems strange that you don't.
[Xperia Z General] whalesplaho:
Sorry brov, my bad.... I uploaded framework.jar from stock (oxeded)

---------- Post added at 10:08 AM ---------- Previous post was at 10:06 AM ----------

I ll upload tha one from tha ROM i am using.
[Xperia Z General] whalesplaho:
Check dis out, it has classes.dex but when i drag it to Quick-Baksmali, it didnt create a folder.
[Xperia Z General] SXUsr:
I knew it was that. :p

Decompiles fine for me. Grap the apktool folder from my Definitive Thread and try doing it with command prompts instead which is what I've just used to do it.
[Xperia Z General] jatinrungta:
I receive this error in decompiling .

Can you please take a look at this. :D

Thank You

http://prntscr.com/1e29wh
[Xperia Z General] erorcun:
Don't you know how to install correct frameworks?
[Xperia Z General] jatinrungta:
I have done many times, no use its doing the same thing again and again

edit : [MENTION=4898631]erorcun[/MENTION] Leave it, also can you please modify this guide for the 4.2.2 honami framework :D
[Xperia Z General] whalesplaho:
decompile successfully using apkmanager brov.... thanks!!!:cowboy:

---------- Post added at 12:43 AM ---------- Previous post was at 12:10 AM ----------

in "framework.jar/android/graphics/drawable/Drawable.smali", i found dis 2 so should i delete dem cos nothing like cond_109!

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_10

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_f
[Xperia Z General] whalesplaho:
just like magic, enable small screen button, rotable lockscreen, disable keyboard & so on in framework..... thumbsup guys!
[Xperia Z General] Rodger_Rulez:
del
[Xperia Z General] devilmaycry2020:
hi

i got error when recompile framework.jar. i drag and drop classout folder to Quick-Smali.cmd

please help. thanks
[Xperia Z General] erorcun:
You can't decompile with old smali and recompile with new smali, or it's opposite.
[Xperia Z General] devilmaycry2020:
no , it newest version: baksmali-2.0b5.jar , smali-2.0b5.jar

something wrong in ColorizableDrawable.smali

such as :

.parameter "state"

.parameter "res"

must be :

.param p1, "state"

.param p2, "res"
[Xperia Z General] erorcun:
Oops I forgot to say, they changed in smali2, so you must use smali1.4.2
[Xperia Z General] devilmaycry2020:
why use old version of smali ? maybe you wrong i just compare the ColorizableDrawable.smali from the download zip with original file and re-edit the file from download zip file and it work. you are wrong maybe.
[Xperia Z General] erorcun:
I'm not wrong, new version of smali has some language changes(for example .parameter ->.param) and I made it with old smali.
[Xperia Z General] NuriJ:
Works perfect for Xperia V, thanks!
[Xperia Z General] lucky92:
Works perfect for Xperia TX, now I can mod SystemUI, thanks!
[Xperia Z General] SXUsr:
Edit:
[Xperia Z General] SXUsr:
Works perfectly on .244. :)
[Xperia Z General] ReadReadz:
I have question

Replace

android:color="@com.sonyericsson.uxp:color/semc_theme_accent_color" xmlns:somc="com.sonymobile"

with

android:color="#00000000"

I wanna change some Text color according to themes

I found: <item name="textColor...">@com.sonyericsson.uxp:color/somc_theme_accent_color_dark</item>

So, what things I should edit, because will error when recompile: No resource......with com.sonyericsson.uxp:color

Some xml from color folder

<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
[B]<item android:color="[COLOR="Blue"]@com.sonyericsson.uxp:color/[/COLOR]somc_theme_accent_color_light" android:state_activated="true" />[/B]
[B] <item android:state_selected="true" android:color="[COLOR="Blue"]@com.sonyericsson.uxp:color/[/COLOR]somc_theme_accent_color_light" />[/B]
<item android:state_enabled="false" android:color="#ffbebebe" />
<item android:color="#ff333333" />
</selector>

Thanks in advance:)
[Xperia Z General] kz_rider_0274:
i tried to decompile framework.jar, but didnt get drawable folder in there..i only get apktool.yml...

can you help me?
[Xperia Z General] immerblind:
Where i have to search that files? What drawable folder? In the downloaded attachment i not see such folder. And add semc_bg_new to what public.xml?

Please can you specify that steps? Thanks

edit: all fine, figured out myself

works on XT
[Xperia Z General] dulemilosevski:
Please can you specify that steps to me :laugh:
[Xperia Z General] silverbios:
work this method with xperia zl 2.67?

tnx
[Xperia Z General] SuperHanss:
Yes it does
[Xperia Z General] silverbios:
where is the location this text :
[MENTION=294944]COM[/MENTION].sonyericsson.uxp:drawable/semc_bg?
[Xperia Z General] dulemilosevski:
In res/values/Styles.xml
[Xperia Z General] TitaniumZERO:
I'm facing similar problem too. During recompilation I get no resource errors in res/colors/somc_theme_accent_color_dark.xml and res/colors/somc_theme_accent_color_light.xml at com.sonyericsson.uxp:color/somc_theme_accent_color_dark and com.sonyericsson.uxp:color/somc_theme_accent_color_light

To my understand this is to call the accent theme color from SemcGenericUxpRes.apk, so to recompile without error I look into the respective xml in SemcGenericUxpRes.apk and found that for 'dark' the color is black (#ff000000) white for 'light' the color is white (#ffffffff).

So I replace the line with the respective color, no error during recompile but once installed I lost accenting color in some texts (which will follow theme accent color, but now only shows black/white). Anyone can help?
[Xperia Z General] silverbios:
const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_109

not exist in my framewrok.jar!

see:

http://d-h.st/rw7
[Xperia Z General] xperian.ir:
on line 739 & 766
[Xperia Z General] silverbios:
i have this problem!!!

no idea?:(

----------------------

finally found!

remove this:

const-string v3, "com.sonymobile"

invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_f

but doesn't background change app!!!!:confused:
[Xperia Z General] silverbios:
but with this method after reset factory rom go to bootloop!!!!!

xperia zl 2.67 fw
[Xperia Z General] Levered:
HELP

D:\Developers\AndroidMultitool\Decompiled_apk\framework-resL\res\color\somc_theme_accent_color_dark.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@com.sonyericsson.uxp:color/somc_theme_accent_color_dark').

D:\Developers\AndroidMultitool\Decompiled_apk\framework-resL\res\color\somc_theme_accent_color_light.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@com.sonyericsson.uxp:color/somc_theme_accent_color_light').
[Xperia Z General] rockernaxo:
+1

This also happens to me with Honami framework :/
[Xperia Z General] xXWeresXx:
please update for 4.3
[Xperia Z General] Levered:
can [MENTION=4898631]erorcun[/MENTION]un post how to port z1 framework fully?
[Xperia Z General] SXUsr:
I've been away for 7 months and not done any modding in that time and from what I can gather we need a modded apktool for 4.3, so if you know who's got one let me know.
[Xperia Z General] krazzyvishal:
I talked about that in the official Google Code page of apktool. That guy did find a solution for SemcGenericUxpRes.apk not being installed by apktool but only posted the fix, didn't update apktool with the fix.

Don't know when he'll do it... :/

If we want it we will have to compile apktool on our own, he has written how to fix that error. Now my PC is admitted in the hospital else I would have compiled it... :/

sent from under the water through my Sony Xperia Z
[Xperia Z General] SXUsr:
I saw that and spent ages looking for one as I'd hoped someone might have done it already. I do it myself if I knew how, something else to learn then. :)