yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] Nidhal AKA the king:
thanks very much for this easy tutorial, and yeah, it was way easier than others that i saw in some threads....

im bookmarking ur thread for now, and sure one day i'll be back and start up with practice ;)

i love to mess around with the phone as i learned few things until i reach the level of an DEV (why not ;) )

:good:
[Sony Xperia S, Acro S, Ion] funky0308:
Tonight I'll post a tutorial for framework editing.

[HOW TO] change all backgrounds to your favourite picture.

In settings, email, clock, call....

Your background will stay there which ever settings or clock you using, you can change your settings.apk but your background will stay...

(as long as you don't change framework).

See ya tonight ;)
[Sony Xperia S, Acro S, Ion] tOrNadO™:
Actually.. Mate, when r u releasing ur work?? I'm looking for a bug free build of Honami settings.. Tried all of em in Themes secion.. Apparently they all have the stuttering when sliding for the fist time(just like in .200 and .211 builds).. Do urs too have it?? :confused:
[Sony Xperia S, Acro S, Ion] funky0308:
Hmm....mine work?

My work, for now ;), is helping guys in their ROMs.

I don't know that much to BUILD ROM from the sources.

So the question is do we really need one more rom based on stock 96?

I think we don't.

When I learn all stuff I need (and there's plenty stuff to learn - smali for example) I will build something.

But that won't be (most likely) for XS but for Z1.

Swipe settings, modified Home launcher will have all options like we saw in 2.0.5b.

Modified framework and many stuff more.

That's why I prepare everything.

I just don't wanna release clone of a clone...

If I can't make something really different I'll rather skip it for now.
[Sony Xperia S, Acro S, Ion] slink722:
[MENTION=4816245]funky0308[/MENTION], mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha :D thanks mate!

EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
[Sony Xperia S, Acro S, Ion] funky0308:
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.

I'll write one for stock firmware.

;)
[Sony Xperia S, Acro S, Ion] slink722:
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak! :D
[Sony Xperia S, Acro S, Ion] funky0308:
There is no my new ROM guys...

If you heard somewhere something you could only heard that I helped some guys.

There was some plans but as I said - nothing for now.

No sense to release same ROM or copy of the copy...

If I succeed on some things I'm working on - then I'll release something but only if I succeed. ;)
[Sony Xperia S, Acro S, Ion] f(x)THaxxorX:
[MENTION=4816245]funky0308[/MENTION] Im Studying Java and Smali.. I Know maybe 6% Already.. Buy suggestion on your case, if you want to port or to be themer. use Virotus Ten studio. It Can Generate the smali to java class. but you need to edit it on smali. ;)
[Sony Xperia S, Acro S, Ion] funky0308:
Tnx mate, very nice ;)
[Sony Xperia S, Acro S, Ion] f(x)THaxxorX:
Mate? Im Getting Dizzyy. could you help me Changing it to white? my Settings// Im getting Crazy with my developments. Kernels + ROM.. Could you help me on my white? Setting

---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------

Nvm.. Im Done.
[Sony Xperia S, Acro S, Ion] hard91:
How you change wifi and bluetooth on off switch????

Which file i need to edit to remove on and off in round switch
[Sony Xperia S, Acro S, Ion] hard91:
I want to edit on off switch like you

Help me

AND also how to choose different backround color for on off switch
[Sony Xperia S, Acro S, Ion] hard91:
Hello sir plz help me to port ios like on/off switch

I ported by editing framework-res.apk

And i have a problem

1.how to remove on off in round switch

2.how to change backround colour

To red

And how to resize it to correct round shape and small one
[Sony Xperia S, Acro S, Ion] funky0308:
Decompile framework and check drawable xhdpi folder for radio/switch png.

You'll find switches there so yoy can easily change them

Background color will change when you change theme.

If you want Honami switch with caption ON and OFF, find that png in folder (drawable xhdpi) and edit those png, save them to folder I just mentioned, recompile framework and don't forget to sign it - it's system app

You can sign it or just copt META-INF folder from original framework.
[Sony Xperia S, Acro S, Ion] funky0308:
One more thing.

If you are beginner don't create new. 9. png's

Edit png's you already have in framework.apk, don't even decompile apk, just use winZip or 7zip program on your PC.

.9. png's are not easy to deal with, once you decompile framework you will get "different" 9.png's with markings and you'll need some knowledge to compile framework with that kind of images.
[Sony Xperia S, Acro S, Ion] Hamodi:
[MENTION=4816245]funky0308[/MENTION] you have any idea how to make backup - restore white ?!

i looked into values style xml ,, but there is nothing with themes !!
[Sony Xperia S, Acro S, Ion] funky0308:
Backup/reset? I guess you meant that.

Like settings/apps need smali editing.

And that's the reason I didn't continue with tutorial - it's big and complex subject.

I'll try to explain that this evening, I'm busy right now.

I had problems with settings/app, I edited smali files and managed to get black/white background but in one colon I still have black background and black text.

I asked [MENTION=599722]niaboc79[/MENTION] for help but for now he is occupied with his ROM.

I'll send you a PM "how to" as soon as I get home.
[Sony Xperia S, Acro S, Ion] Hamodi:
for settings\apps i have it on white and the all setting on white if you want i can send it to you

and i will wait for your pm

another thing ,, you know how to make the launcher background transpart too ?

i think its releated to png on framework no ?
[Sony Xperia S, Acro S, Ion] hard91:
Sir i am on mdpi device

Where to go then
[Sony Xperia S, Acro S, Ion] hard91:
I edited drawable-mdpi folder for switch and got this result
[Sony Xperia S, Acro S, Ion] hard91:
Now i want to know how to change switch round icon to small and remove (off and on) in round button

Or you can say that how to look it just like honanmi framework
[Sony Xperia S, Acro S, Ion] funky0308:
Well if you successfully changed those switches then you know where they are.

Just open them with PhotoShop, edit them, delete or add on them what ever you want, save png and copy them to same folder (mdpi if I understood you well).
[Sony Xperia S, Acro S, Ion] hard91:
Want to do this

http://xdaforums.com/showthread.php?t=2169974
[Sony Xperia S, Acro S, Ion] funky0308:
I didn't quite understood you but I think you want to port whole framework from XZ, right?

You want that I explain how to port complete framework?!

You'll have to Google tutorials mate, if that is such easy thing then everyone could do that.

When you porting apk, you have to redrawn or resize png's (if you trying to port apk from device with bigger/smaller screen), edit xml's, smali files - there's millions things to do.

If you are beginner and I'm guessing you are, start with something simpler, learn how to do all steps and practice.

And the last thing to port should be framework.
[Sony Xperia S, Acro S, Ion] funky0308:
Open android manifest and delete word "light" from "themes" line to get black backup and reset.

Let me try to explain better...

Open android manifest (decompile framework first) with notepad++

Hit ctrl+f and search "theme" (without quotes, of course)

Check the line and ih you see xxxxxx.light.xxx - delete that "light".

Repet that step as long as you can find "light" in themes lines.
[Sony Xperia S, Acro S, Ion] Hamodi:
you get me wrong .. i do want it in white so yes it shud be there Light ! i dont want it black

but never mind i had made it on white

now im working on Radio.apk to make it white :D
[Sony Xperia S, Acro S, Ion] funky0308:
Yeah, sorry - my bad.

Basically it's same procedure for every app.

If you can't find theme settings in values.xml, then it must be in manifest or in smali folders.

I'm still learning some things so if you guys see mistake - Post your solution and fix my mistake.

Thank you all :thumbup:
[Sony Xperia S, Acro S, Ion] Hamodi:
on radio apk i only can add light to the first lines ,, other will give me error on compiling ,, and its only make the first screen white then it turn back to black !! any ideas ?
[Sony Xperia S, Acro S, Ion] xfreakers:
Request : tutorial how to make animated checkbox n radiobutton like honami
[Sony Xperia S, Acro S, Ion] funky0308:
You have to port Honami framework.
[Sony Xperia S, Acro S, Ion] xfreakers:
[MENTION=4816245]funky0308[/MENTION] yes so I have and tutorial please?
[Sony Xperia S, Acro S, Ion] slink722:
[MENTION=4816245]funky0308[/MENTION], buddy how about how to make transparent UI or transparent framework tutorial please? :victory:
[Sony Xperia S, Acro S, Ion] funky0308:
As soon as I find some free time.

Nice idea for tutorial :thumbup:
[Sony Xperia S, Acro S, Ion] slink722:
Ok thanks buddy :good:
[Sony Xperia S, Acro S, Ion] tOrNadO™:
[MENTION=4816245]funky0308[/MENTION] Hey bud, pls check ur PM.. I need small help..
[Sony Xperia S, Acro S, Ion] funky0308:
I'll answer you here.

First - I recommend to use apktool.

Don't use variations and batch programs, it's hard to help you that way.

Use apktool...

Install it/copy to c:\Android\apktool

Copy framework.apk and semcgenericuxp.apk FROM YOUR DEVICE.

It's very important to install framework files on PC you are using.

So...copy framework.apk and semcgenericuxp.apk to c:\Android\apktool

(of course, first download and copy apktool to same folder)

Install framework

apktool if framework-res.apk

Install semcgenericuxp.apk

apktool if semcgenericuxp.apk

Now decompile applications.

As I said - it's important to install framework from your device.

[MENTION=4655614]slink722[/MENTION]

Now for your error...

You got first error - no sources

That's basically not error, when you are decompiling or compiling framework that's normal.

Framework is source so that's cool.

I believe problem is is wrong framework installed on your PC or you didn't installed semcgenericuxp.apk.

Try to use pure and clean apktool, not kitchen or or similar programs - use clean apktool and you won't have any problems.
[Sony Xperia S, Acro S, Ion] Hamodi:
[MENTION=4816245]funky0308[/MENTION]

do you know why this happen ? i cant compile almost on every apk i mode the same error every time
[Sony Xperia S, Acro S, Ion] slink722:
ohh i see. thanks so much buddy! you're great :D
[Sony Xperia S, Acro S, Ion] funky0308:
[MENTION=4008040]sparxx4[/MENTION]

Open "soundpicker.............item.list.xml file with notepad++ and check lines 4,5 and 6.

You have errors there.

Try to delete them and compile if you compile successfully, copy those lines back and check where did you screwed.

You changed or deleted some sources and they cannot be found to compile.

Did you change something in public.xml or IDS.xml?
[Sony Xperia S, Acro S, Ion] Hamodi:
no i only add this line

<item name="android:textColor">#ff000000</item>

and Light to this one

<style name="AppTheme" parent="@*android:style/Theme.DeviceDefault.Light">
[Sony Xperia S, Acro S, Ion] funky0308:
Try to decompile original apk and compile it right away, without any change.

If all went well open folder values, colour.xml and check do you have ff00000 defined as color.

But error is in that soundpicker......xml in 4,5 and 6 rows.

Try to delete those lines and compile without them...
[Sony Xperia S, Acro S, Ion] Hamodi:
first step i wont try it cuz its will go well :D

and for color.xml ,, its not there :D so no ff00000 is not defined as color :D

what i can do ?
[Sony Xperia S, Acro S, Ion] funky0308:
Delete those rows from soundpicker.xml
[Sony Xperia S, Acro S, Ion] Hamodi:
wich rows ??

the lines that i have add ??!!

---------- Post added at 09:26 AM ---------- Previous post was at 09:17 AM ----------

wait a second

sorry ,, i try to compile it without any edit ,, and its fail :(

---------- Post added at 09:26 AM ---------- Previous post was at 09:26 AM ----------

wait a second

sorry ,, i try to compile it without any edit ,, and its fail :(
[Sony Xperia S, Acro S, Ion] funky0308:
No, mate.

I told you.

You got errors in soundpicker.....item.xml (check your screenshot for full name, it's in the first line)

Open that file in notepad++ and delete 4,5 and 6 lines (be sure you have deleted whole line) and try to compile.

You'll move them back later, but you have to check is your error there - and I'm 100% it is.

If you get errors in same xml file after you deleted those 3 lines, check what lines aren't good (you'll get same errors and it's easy to read which lines are causing problems) and delete them too.
[Sony Xperia S, Acro S, Ion] funky0308:
That's the reason why developers never edit already edited files.

It's very hard to find errors.

But it's not possible that you got error in files you haven't edited.

Are you sure you don't get any error if you compile it without changing anything?
[Sony Xperia S, Acro S, Ion] Hamodi:
error on normal compile too !! what this mean ?

sorry for asking alot here but im learning so be patince with me :D

---------- Post added at 09:31 AM ---------- Previous post was at 09:29 AM ----------

i do have error on compile without changing
[Sony Xperia S, Acro S, Ion] funky0308:
That's why I said - always first try to compile without changing anything.

You have corrupted file.

Someone already fu**ed this app ;)

I'll try when I get home...I'm at work now.
[Sony Xperia S, Acro S, Ion] Hamodi:
try different apks might help ??
[Sony Xperia S, Acro S, Ion] funky0308:
But if I were you I would open that soundpicker...xml and will delete lines.

Just read where the errors are (when you compile, you get everything written)

So delete lines and try, if you get new errors in same file, delete those lines and compile again.
[Sony Xperia S, Acro S, Ion] funky0308:
Yeap
[Sony Xperia S, Acro S, Ion] Hamodi:
ok i will try ,, thank you my friend :) really helped me :)
[Sony Xperia S, Acro S, Ion] funky0308:
Anytime ;)
[Sony Xperia S, Acro S, Ion] hard91:
I tried alot and end with this

Plz help me to remove off/on from round button

And my question is

By removing on off from switch will my switch become round????
[Sony Xperia S, Acro S, Ion] hard91:
I want this
[Sony Xperia S, Acro S, Ion] funky0308:
It's png file - picture.

You can't just remove txt from buttons/switches, you have to find those four png files (or maybe just two - if bluetooth and wifi use same png for switches) and edit them or replace them with pngs you wanna use.

I think you can find them in xhdpi/mdpi (depends on your device) under "radio_btn" names.

Or post your apk here and I'll try to check.
[Sony Xperia S, Acro S, Ion] hard91:
No its not a png file

I searched it every where
[Sony Xperia S, Acro S, Ion] funky0308:
Well then you didn't search well.

Every button, checkbox, switch, icon or background must be drowned, resized and saved in folder for your device (for some things it's nodpi folder)

If you took that from iphone then I don't know but I believe iOS uses same method.
[Sony Xperia S, Acro S, Ion] Hamodi:
[MENTION=4816245]funky0308[/MENTION]

this error i get with semcalbum
[Sony Xperia S, Acro S, Ion] funky0308:
OP UPDATED

With awesome new things :beer:
[Sony Xperia S, Acro S, Ion] funky0308:
Well I can see it's error in values/styles.xml in line 7.

So that's obvious.

But the question is did you add something maybe to ids or public.xml?

Could you post screen from values.xml (lines 1-10)?
[Sony Xperia S, Acro S, Ion] Hamodi:
do you mean values/style.xml ?!

i didnt edit line 7 at all !!
[Sony Xperia S, Acro S, Ion] funky0308:
I really think that one letter couldn't be a problem.

I wrote valyes/styleS.xml - so yeah, I meant values/style.xml

Once again - take stock app to edit.

You are all taking some crapy apps already edited.

I believe you haven't edited that but who knows who did...

Maybe someone added few files of code for some reason but you don't have all sources now and you get compile errors...

Take clean, stock app and theme that.

Only I can say for this is that I already told - error is in styles.xml in line 7.

Delete that line and you'll see it'll work but I'm quite sure you'll need that file for fully functioning app.
[Sony Xperia S, Acro S, Ion] Hamodi:
ok :) next post will be after doing this thing ,, trying different apks ,, and try compile without change if i still get the error i will post :)

thank you for the help buddy :good:
[Sony Xperia S, Acro S, Ion] funky0308:
If you have suspicious app first decompile and immediately after that recompile - without any change.

That way you'll know do you have good app or you have app full of errors... Which is best to throw in recycle bin ;)

Find system dump from XZ Z1 or other device, find tutoruals how to port and port by yourself.

What do you think why all great developers port apps alone?!

Not only because they wanna be originally... they don't have time to fix someone elses errors.

It's always easier to work from a stretch then trying to find errors and bugs in the code.
[Sony Xperia S, Acro S, Ion] Hamodi:
how to change the font color here ?? its only on system/apps

every thing work fine
[Sony Xperia S, Acro S, Ion] funky0308:
Smali files.

Check tutorials from OP.
[Sony Xperia S, Acro S, Ion] Hamodi:
smali files ,, but wich one ? what file i shud edit ?!

every thing on OP is for how to make white !

and the smali tutorial is how to edit jar files but nothing how to make it white font
[Sony Xperia S, Acro S, Ion] funky0308:
Guys... You are not cool

This is short tutorial how to make few things.

Smali files are complicated, I post what I know...

If you just put little effort and just open smali folders you'll see by yourself.

Each file have name, check names and you'll find it - you can't expect someone will work for you.

I really think I'm O.K and I'm trying to answer on every PM and post, but this is toooo much.

It's just not possible to write tutorial for everything.

If you learn and research you'll get it.

Once when you understand smali or xml you'll know how to theme or edit everything.

Don't follow tutorial like blind man, learn something and apply your knowledge elsewhere.

What most of you ask is that someone else write every single "." and letter - that's why most of developers won't even answer - try : you can't lose anything

- research : read, read, read

- use already edited files : find project already edited and compare it to yours, you'll understand it better and you'll see where did you failed.

I'm not trying to be smart here but guys, I'm still learning too.

I took niabocs eXistenZ v2 white and black and I open, for example, style.xml from both versions in Notepad++ and I spend hours on comparing and learning.

[MENTION=4008040]sparxx4[/MENTION]

Check this files, compare them like I said (niaboc ROM), take his two ROMs and learn.

I'll tell only this, these files are for settings/apps and I don't know exactly which lines to edit.

Learn and write tutorial how to change settings/apps - you'll see it's not that easy and you'll help others.

Files you should edit are:

ApplicationsState.xxxxxx (all files)

InstalledAppDetails.xxxxx (all files)

ManageApplications.xxxxx(all files)

RunningState.xxxxx(all files)

RunningServiceDetails.xxx(all files)

RunningProcesses.xxxxxxx(all files)

Once again.

Don't just "steal" other guys work.

If you just copy xmls and smali from other ROMs or other guys edit everything for you - you'll never learn
[Sony Xperia S, Acro S, Ion] funky0308:
If I sound rude - sorry...

But as I said, it's just not possible to write tutorial for every xml or other Android file.

Why don't you help me?

When you learn something new, post here or send me PM and I'll post your TUT in OP with your name.

I have little son and I can't find that much free time to work as I would like to have.

So, let's work together, post here every little thing you know.

No matter how small it is - believe me, it'll help someone.
[Sony Xperia S, Acro S, Ion] Hamodi:
the link to download SMALI editing TUTORIAL is down !
[Sony Xperia S, Acro S, Ion] funky0308:
Well...that's not mine thread so you should ask OP there.

But try to download from PC.

You have great tutorial here too

http://xdaforums.com/showthread.php?t=2193735
[Sony Xperia S, Acro S, Ion] FenrirMX:
Dude, you need to stop demanding everyone to solve your problems. Do your research on your own, no one should do it for you. The information is out there, most of it here at xda.
[Sony Xperia S, Acro S, Ion] funky0308:
Google, mate, just use Google.

You can find almost everything ;)
[Sony Xperia S, Acro S, Ion] Yorzua:
thxs

Thanks for the credits, buddy :good:
[Sony Xperia S, Acro S, Ion] funky0308:
Well...It's your work mate so that's the least I could do. ;)
[Sony Xperia S, Acro S, Ion] Hamodi:
im not demanding !! i just say it so funky0308 can notice that because the thread he put was closed !!

any way i think better to make my self more clear and i didnt ask any one to solve every problem ,, and since you do not own this thread its out of your bussne me and funky0308 had make it clear throw PM not every thing you read shud be every thing that goes around !

stay cool :good:
[Sony Xperia S, Acro S, Ion] FenrirMX:
It might not be my thread but neither is it yours, and your constant whining and demanding of everyone to solve your problems without you making the effort are making this thread harder than it needs to be to navigate. You should read the forum rules, by the way.
[Sony Xperia S, Acro S, Ion] funky0308:
That thread isn't closed.

Only download link is down.

Owner of that thread just posted here yesterday so try to contact him.

http://xdaforums.com/showthread.php?p=46257903

I'm sure he will fix that link ;)Uf 3rd party link is down, I'm sorry but I can't do nothing there.
[Sony Xperia S, Acro S, Ion] Hamodi:
Again you get me wrong.. i dont need the link to download because im not going to try it now.. im Just saying so it can be solve for others.. And im not demanding anyone here im Just posting my problems.. im sure others Will have this problems so they Will know what to do..
[Sony Xperia S, Acro S, Ion] Hamodi:
[MENTION=4816245]funky0308[/MENTION]. If you want to share here another cool toturial to change drop down background. I know How :thumbup:
[Sony Xperia S, Acro S, Ion] funky0308:
Sure mate...

That's the main idea...to work together.

If you want to post in OP only - send me tut by PM.

Or wrire tutorial here and I'll put link in OP ;)

Tnx
[Sony Xperia S, Acro S, Ion] f(x)THaxxorX:
[MENTION=4816245]funky0308[/MENTION]

your theming make me dizzy before. here is A tip.. you can use..

<style name="AppTheme" parent="android:Theme.Holo" />

or

<style name="AppTheme" parent="android:Theme.Light" />

Ive Learned that @ my Porting Apps and Theming ;) and Application Making apk.
[Sony Xperia S, Acro S, Ion] funky0308:
Sorry mate but...what?

Do not mix my theming and this tutorial.

This is collection of tutorials with one mine tutorial (and that's only what I wrote).

Don't know what's dizzy nor what will you achieve with that one line of code - especially in Honami framework.
[Sony Xperia S, Acro S, Ion] f(x)THaxxorX:
Nvm;. You dont get me ;).
[Sony Xperia S, Acro S, Ion] kohage:
thanks man, realy realy usefull!! :)
[Sony Xperia S, Acro S, Ion] xroy08:
this theming tutorial is awesome

but there is a new app which avaliable in play store now

THEMER APP

this is an awesome app one can apply any theme by one click

i cant post any link but one can search it on a play store or on XDA
[Sony Xperia S, Acro S, Ion] funky0308:
But this "themer beta" isn't even close to this tutorial.

It would be awesome if it could add lines to style.xml or manifest but, if course - it cannot.

So it's a nice app (if you get a code) but you can't theme settings, framework or systemUI with it.