yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] SilencerOfLambs:
After you have decompiled,copy the SystemUI folder to the ICS Apktool folder.

Then run the apktool from that folder and recompile it there.

Ofcourse without the devs my S2 would have been like a cabbage.Lol
[Galaxy S II Themes and Apps] incarnation95:
View attachment log.txt

maybe this would help you to figure out my problem

EDIT: I solved my problem! i searched a bit more and they said to replace the aapt.exe file.

now it works. phew, now i can proceed :D
[Galaxy S II Themes and Apps] SilencerOfLambs:
That's great to know :)

Good luck ;)

Didnt get the chance to look at the log yet but that aapt.exe version does cause error at times.Plurals error if i remember correctly..
[Galaxy S II Themes and Apps] incarnation95:
yup. :)

for others who by chance get error here are the tools that i used without any problem

http://www.fileswap.com/dl/sRW0bK0xwQ/apktool_decompile_compile_kit.zip.html
[Galaxy S II Themes and Apps] SilencerOfLambs:
Updated OP with steps to mod the NOTIFICATION DROPDOWN BACKGROUND.
[Galaxy S II Themes and Apps] CataVlad:
hehe, you're right there. that's why i told ya you should teach the noobies, not feed us :d im without a L+D+S mod for like 3 weeks cause i was pretty sure u must be very busy. asking ya 1 time was already enough rude from me :)

i was waiting for this moment for sooooo damn long now!!!! :D but,as they say, better late than never!

hope the second one is about the S, D, L. and sure hope dimik teaches us how he makes those brilliant toogles. (havent read ur tutorial yet, so sorry if u already have the toggles here).

THANKS A LOT BUDDY! ;)
[Galaxy S II Themes and Apps] SilencerOfLambs:
Thanks for the appreciation mate :)

I have already included the steps for S+D+L in the OP so you can check it out :)

As for Dimik's toggles,you will need Photoshop/GIMP/Illustrator designing skills.
[Galaxy S II Themes and Apps] CataVlad:
neah, he's already done that part! all i need to know is how to take the blue ics nicer toggles "with me" on every update and every rom.. aokp or no aokp.. ics or no ics...

hope he teaches us that as well..or any other one who knows how. and puts the link here so i surely wont miss it hehe :)

i'll put my .ss on the job tomorrow. hopefully i can finish my all_in_1_mod by christmas :D
[Galaxy S II Themes and Apps] SilencerOfLambs:
Thats easy mate.You just have to drop those toggle pngs in SystemUI.apk/res/drawable-hdpi folder and you are set.

To get his toggles you will have to extract them from a previous zip file using winrar or 7zip.You will find them in the drawable-hdpi folder starting with the name 'toggle_* '.Then using 7zip you can modify any systemui.apk for those toggles..Simple!
[Galaxy S II Themes and Apps] gorak86:
this is great silencer very well written all the way through!!

Edit: just noticed that on your pulldown background tut you do not direct to the folder for the 9.png to be placed
[Galaxy S II Themes and Apps] SilencerOfLambs:
Thanks for the heads up!Edited it :)

Out of thanks :(
[Galaxy S II Themes and Apps] gorak86:
no worries mate

did you have a chance to look at the errors log posted a few back? i am seeming to get these errors all the time have tried different tools but nothing has helped?

i have attached my log

really hope anyone can help
[Galaxy S II Themes and Apps] incarnation95:
Didnt you try the link that i gave for the apktool.. those worked for me:)

Try and ses
[Galaxy S II Themes and Apps] SilencerOfLambs:
Yep..thats easy..delete public.xml from systemui\res\values folder. It is generated automatically during recompiling. So delete and then recompile.
[Galaxy S II Themes and Apps] gorak86:
ahhh not working not the different version or deleting public.xml........ i can decompile and then compile the file if i dont edit anyting its only when i edit that it throws out the errors
[Galaxy S II Themes and Apps] SilencerOfLambs:
Tell me the steps that you are following mate..
[Galaxy S II Themes and Apps] SilencerOfLambs:
Gonna add a really cool and different kinda mod tomorrow guys :)
[Galaxy S II Themes and Apps] gorak86:
using original APKtool with framework-res.apk and SystemUI.apk in the root folder

open cmd to folder, decompile SystemUI "apktool d SystemUI.apk"

edit XML files past notification_bg.9.png into drawable hdpi

move SystemUI folder and SystemUI.apk and framework-res.apk to ICSAPKtool folder open cmd to folder and compile "apktool b SystemUI"

this is when it throws out all the errors
[Galaxy S II Themes and Apps] SilencerOfLambs:
Before recompiling,deleting public.xml did not help?Coz i have had this error few times and deleting public.xml helped.

Also did you install framework with apktool if framework-res.apk?
[Galaxy S II Themes and Apps] incarnation95:
if anybody who has made these mods and has flashed but still didn't work, the do as follows:

reboot recovery

mounts and storage

mount /system

flash zip

fix permissions

reboot

Thanks to SilencerOfLambs :)
[Galaxy S II Themes and Apps] SilencerOfLambs:
I added the same in the OP.This is usually an issue for kernels other than Siyah :)
[Galaxy S II Themes and Apps] gorak86:
Yeah even install both times in original and ics apktool but still get the errors Google all day and found lots of people reporting the error but there never seems to be a clear reason for them. I will keep trying maybe my aapt.exe is the problem I will try update that to the latest I may only have up to 4.0.3 it was a while ago I set up my dev computer and haven't touched any code for a while so had no real need to decompile anything
[Galaxy S II Themes and Apps] SilencerOfLambs:
Yeah try the aapt.exe thing.Funny though.
[Galaxy S II Themes and Apps] SilencerOfLambs:
Just noticed that some weird thing has happened and my OP seems to be clipped somewhere halfway after the nav mod.Wonder what the hell happened!Will go home and put back the cut off part. WEIRD.
[Galaxy S II Themes and Apps] incarnation95:
Lol yeah. I was reading the lockscreen handler one and after a while it was gone... i was like wtf:p
[Galaxy S II Themes and Apps] SilencerOfLambs:
Hahaha i was more than wtf...i thought some apple fans(moderator status) got jealous of the mods and deleted them :D

Will put it up in 40 min...going home now..

EDIT: Fixed. Phew.
[Galaxy S II Themes and Apps] incarnation95:
I am having FC issues in the dialar background....

Does this mean some problem in recompile or decompile or what?

Edit: tried with universal flasher too but same FC .

I touch the phone icon, the background that i had set appears and then FC.

I didnt had them when i did this on rootbox 1.6.

As i am on rootbox 1.7 now. I am having these issues:(
[Galaxy S II Themes and Apps] SilencerOfLambs:
Did you fix permissions?

And tell me your steps.

For dialer background mods there was no need to decompile and recompile.Just simple drag and drop replacement of pNGs in framework-res.apk and contacts.apk

Rootbox 1.7 for G version?

Tell me your steps mate.

Fixed permissions?
[Galaxy S II Themes and Apps] incarnation95:
Yup i fixed permissions...

I also tried the drag and drop thing but still FC.:banghead:

Is it a problem in the Rom?

Let me try flashing the mods from the rbox mod thread
[Galaxy S II Themes and Apps] SilencerOfLambs:
Weird.. You can alternatively use a rootbox mod as the base and then drop the pngs in it.
[Galaxy S II Themes and Apps] 93fuelslut:
Hey, is there any way u can post the zip of the notification bar pull down of one at the top and the zip for the navigation bar background?

I don't have a laptop or a computer to make all that...thanks
[Galaxy S II Themes and Apps] incarnation95:
But what gives me a headache is they worked in rootbox 1.6

Just the problem in 1.7:confused:
[Galaxy S II Themes and Apps] SilencerOfLambs:
Which ROM are you from?
[Galaxy S II Themes and Apps] Jseaway:
[Tutorial]-AOKP/CM9-UPDATED-Miscellaneous MODS[Nav bar,Notification header etc] Repl

Forgive me if im wrong, im still new here, does this flashable zip file work for p500 optimus one, meaning if i decide to make a rom i can use this to place the files in it?

Also im running AOKP cm9 on my p500, is this an update for the rom? im not quite sure. If you can tell me i'd greatly appreciate it. Thnks.:o
[Galaxy S II Themes and Apps] SilencerOfLambs:
Hi mate.This is the Samsung Galaxy S2 section and this thread is a tutorial on how to make certain modifications to your phone user interface.It is not a ROM or any update etc.

Regarding the flashable zip,no mate this is strictly for samsung devices and wont work on LG optimus one.So dont even think of trying it mate as it may brick your phone.
[Galaxy S II Themes and Apps] 93fuelslut:
Aokp for droid 4...most of these mods are working for me..like the hulk and iron man pulldown, and the toggle switch mods.
[Galaxy S II Themes and Apps] SilencerOfLambs:
Hmm,fine ill share the zip when i am back home but flash at your own risk as these are framework and system files for a different ROM on a different phone.You could attach your systemUI.apk and framework-res.apk here and i can look into it.
[Galaxy S II Themes and Apps] 93fuelslut:
Ok thanks...if something bad happens I can just always restore my backup..

[PHP]

[/PHP]
[Galaxy S II Themes and Apps] 93fuelslut:
But thanks for your time...I did flash one of the battery mods for "resurrection" where after u flash it, u have to run fix permissions..that didn't work
[Galaxy S II Themes and Apps] SilencerOfLambs:
Sure..will look into it.Hell,the very fact that even some of them worked is surprising as you are on a Droid.Anyway ill check it up after i reachbhome.
[Galaxy S II Themes and Apps] 93fuelslut:
---------- Post added at 11:58 PM ---------- Previous post was at 11:52 PM ----------

[/COLOR]

Yea I'm surprised to..so far, I'm using the batman lockscreen and dialer, the hulk and ironman pulldown, and the toggle box mod..some mods work, some don't. Yal come up with some cool idea's..
[Galaxy S II Themes and Apps] SilencerOfLambs:
Ok now tell me..what do you want exactly?
[Galaxy S II Themes and Apps] SilencerOfLambs:
Also show me some screenshots of your phone when the notification bar is pulled down..
[Galaxy S II Themes and Apps] 93fuelslut:
The notification bar pulldown of the rootz wiki logo as u posted in your tutorial and the navigation bar background that u also posted in the tutorial as well..,,

And if u have time can u do the one, where u made the toggle background for "dr.dolittle" on post #235?

Thanks again
[Galaxy S II Themes and Apps] Dioktis:
I think I will wait for some milestone Release of Rootbox ROM and then not mess up with the icons anymore :) But still thanks for your help!

Regards,
[Galaxy S II Themes and Apps] d@m3:
Thanks man ! This is really great, thanks again for sharing your knowledge ;)
[Galaxy S II Themes and Apps] Entropy512:
I am going to be blunt - This is the absolute worst tutorial I have ever seen. It does nothing but encourage piss-poor development practices.

Why the HELL are you telling users to decompile APKs that THEY HAVE THE GODDAMNED SOURCE CODE FOR?

I can understand smali/baksmali/winzipping on manufacturer APKs that you don't have the original source code for, but:

Not a single technique described in this thread should EVER be applied to a source-built firmware.

To put it more simply:

If you are using apktool, APK Multitool, or smali/baksmali with a source-built firmware:

YOU ARE DOING IT WRONG

Here are REAL guides for how to do it RIGHT:

http://wiki.cyanogenmod.com/wiki/Building_from_source

Note that the above currently has Gingerbread instructions. Differences for ICS and JB are:

Replace gingerbread with ics or jellybean in the "repo init" command

Replace vendor/cyanogen/get-rommannager with vendor/cm/get-prebuilts

After that, rather than keeping things forked or kanging, if you think your modification fits within CM's UI guidelines, submit it to Gerrit for review:

http://wiki.cyanogenmod.com/wiki/Howto:_Gerrit
[Galaxy S II Themes and Apps] gorak86:
]

Here are REAL guides for how to do it RIGHT:

http://wiki.cyanogenmod.com/wiki/Building_from_source

Note that the above currently has Gingerbread instructions. Differences for ICS and JB are:

Replace gingerbread with ics or jellybean in the "repo init" command

Replace vendor/cyanogen/get-rommannager with vendor/cm/get-prebuilts

After that, rather than keeping things forked or kanging, if you think your modification fits within CM's UI guidelines, submit it to Gerrit for review:

http://wiki.cyanogenmod.com/wiki/Howto:_Gerrit[/QUOTE]

Thanks for the links. Just want to point out that a lot of us are new to all of this and the only way we learn is through trial and error. Silenceroflambs has not been around for long but has managed to pile together a lot of information from around the web with no prior knowledge of how to achieve the end result and I will give him props for that. I am sure he will take your comments and work on his techniques :thumbup:
[Galaxy S II Themes and Apps] SilencerOfLambs:
Fistly,thanks a lot Entropy for the huge heads up.Very frankly speaking,I am so new to this that even building from source will test my non existent skills.I can't thank you enough for guiding me on the right path.I will now take a look into this and try to do it properly.Whatever i have shared was something that i was learning by messing around with system apks.If i had know how to build from source I would have definitely taken that path.However my knowledge is/was pretty limited so I went all awry.

I will totally take your point into consideration and change the way i do things.I have been waiting for this sort of a push and i think it's high time i check out some of the stuff that i always avoided.

Still i feel it might help some people who are not as technically gifted as the rest.I am not sure whether everyone will be able to build from source.This tutorial is aimed at the daily average user who might want to do their own mods.It may not be the best way to do things but will definitely cater to more people.

Thanks a lot again and for stopping by and correcting me! :)

I will surely start anew with these things! :)

A lot of respect for you man!

@Moderators,

Please delete it as it may misguide users and make them practice wrong approaches to modding.
[Galaxy S II Themes and Apps] Entropy512:
Some additional tips:

If you're changing around images and other resources - do research into how to create themes for the CM theme engine. Yes, I realize this hasn't been merged yet for CM10, but for CM9 - replacing image assets is exactly what the engine is there for. :)

If you're making code changes, two things to keep in mind:

1) Smali/baksmali is the hard way to do it. It is not something I would recommend for nontechnical users except as a matter of last resort (In the case of manufacturer APKs, you're already there thanks to not having platform source code). Using baksmali/smali on APKs is the equivalent of using a disassembler IDA to modify an ARM binary that you have the C source code for. Assembly language is hardcore stuff and HIGHLY technical - smali/baksmali is the Java equivalent of assembly. The nature of Java makes it slightly less painful - but still, it's the hard way to do it.

2) If your end goal is submission to gerrit, don't be discouraged if your first attempts get piles of -1s - There are a lot of strict rules on indentation styles and such for stuff that gets merged, and honestly, half of MY patches still need rework because I borked the whitespace. :) If you're doing a UI change, you'll need to get the UI guys to like it. Even if they don't, while it's not optimal, it'll stay around in gerrit and you can point users to it if they want to play with it. One critical thing to remember - you can rework stuff you've submitted to gerrit after submission. Some of the CM UI stuff has 10-15 patchsets that a submission went through before merging.

The main thing that's a blocker for some is that to really work efficiently, you'll want to have an Ubuntu installation. The good news is that installing a dual-boot Ubuntu setup is fairly easy these days, and the initial effort will allow you to start gaining valuable experience. If you're working on Android platform stuff, you REALLY should be doing it on a Linux box (or MacOS at the least... But that can be a royal pain.) - You should be trying to migrate from Windows as soon as you can.

I realize my first post here was a bit heavy - but it gets frustrating to constantly see in CM threads, "why don't you implement this mod" - I suggest gerriting it - and then I find that the hack/mod has always been a smali hack.

By the way, one VERY good reason not to do it the smali way is that there are frequent changes being made to the frameworks as new functionality gets implemented. In many cases, source code changes merge cleanly with these changes, but anything that is smali-hacked will break horribly.
[Galaxy S II Themes and Apps] prbassplayer:
Locked to OP request

Opened again.
[Galaxy S II Themes and Apps] Itachi007:
Hey mate, first off thanks a lot for the guide, its extremely noob friendly and pretty easy to follow, i've been using RR for quite some time now and have loved it....however i've stuck to v2.3 as u didn't update ur lockscreen mods for 2.5+ i really loved the man utd mod. Now after having read ur guide, it seems easy enough to create my own lockscreen and system+dialer mods. Now my question is that, can i use the same method u have stated in ur guide to mod CM10 and JellyBean AOKP roms and can i use the same empty flashable zip u have attached for CM10? awaiting ur reply. Thanks again.
[Galaxy S II Themes and Apps] SilencerOfLambs:
Haven't been following JB closely yet,so don't know for sure.But use the zip i am attaching here.That will work for sure. :)

Btw i am not certain yet whether the instructions are ditto for JB or not as I just had one modder saying that the drawable-xhdpi folder needs to be used instead of drawable-hdpi.So just be a bit a bit wary.I will make a seperate thread for JB soon. :)
[Galaxy S II Themes and Apps] neerajganga:
UFT not workin :(
[Galaxy S II Themes and Apps] SilencerOfLambs:
I think its something to do with the updater script maybe?I am not too sure.

You can use that zip file in my post.It work fine on RR atleast.

BTW congrats on the RC thing.. :D
[Galaxy S II Themes and Apps] neerajganga:
ty

i have that zip

but its a pin to make evrything all ova again

yea it has got smethig to do wih the updater script
[Galaxy S II Themes and Apps] Itachi007:
thx a ton.Looking forward to ur JB tutorial thread :)
[Galaxy S II Themes and Apps] SilencerOfLambs:
Updated-Tutorial for eye candy mods!

Updated my ICS TUTORIAL with how to

ANIMATE YOUR DROPDOWN NOTIFICATION BACKGROUND

.

For those who don't know what i am talking of,it's THIS.

This is probably my last tutorial for ICS.
[Galaxy S II Themes and Apps] samsoul16:
This is Awesome....!!!!!!:D:):beer::thumbup:;)
[Galaxy S II Themes and Apps] SilencerOfLambs:
Thanks a lot mate.. Much appreciated :)

Sent from a phone that makes nearby iPhones self destruct :D
[Galaxy S II Themes and Apps] incarnation95:
How to do this in jb?
[Galaxy S II Themes and Apps] kkk-sgs2:
Pls update for jb, this awesome guide. :)

Have Problems with the xhdpi Format from rr 3.0.5..... :( the sub Text ist unclear/blurred.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Themes and Apps] SilencerOfLambs:
It isnt too diffferent..usually instead of drawable-hdpi,drawable-xhdpi is used..Ill probably update it..Too busy with my theme..

Mate which subtext?

If you are talking of the RR logo,then u will have to redo it probably as the 9.PNG base form may have changed in JB status bar..
[Galaxy S II Themes and Apps] kkk-sgs2:
I mean the statusbar-close, sry.

I have tried your picture but it is not clear. So I got it enlarged 480x52, the same problem. As png and 9.png. To me it seems as if the picture would scale, no idea.

Gesendet von meinem GT-I9100 mit Tapatalk 2

---------- Post added at 07:37 PM ---------- Previous post was at 06:51 PM ----------

In pitch black theme it works. Since I put the image in the hdpi folder. Without border pixels, as with the original PBT statusbar close. At xhdpi will Not clear.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Themes and Apps] SilencerOfLambs:
Ill get back home and check the issue out. Thanks for the heads up. :)

Sent from a phone that makes nearby iPhones self destruct :D
[Galaxy S II Themes and Apps] stealo:
awesome tut

thanks for this, made a drop down animation from the new cyanogenmod boot animation.

quick question, can the method for the drop down anim be used for other drawables like the lock screen handle?
[Galaxy S II Themes and Apps] kkk-sgs2:
Nice!

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Themes and Apps] SilencerOfLambs:
Looks classy mate! :)

Glad it helped.. :)

Regarding your query...a very nice query as i think it is possible..infact i have been wondering about the same thing...And i haven't given it a shot yet..but i fail to see why it shouldnt work unless there is some underlying code involved that i am not aware of..But feel free to experiment ;)..Take a backup..Let me know ;)
[Galaxy S II Themes and Apps] stealo:
i have no idea with this coding but will try.

is this the general pattern of how it works:

layout refers to drawable xml, drawable xml refers to picture/s?
[Galaxy S II Themes and Apps] dave481985:
i have a question, i'm a noob at this....

i want to change the dialer backround in wanams contacts.apk to be total black but this path, res\drawable-nodpi ,doesnt exist to change background_dial_holo_dark.png.

Actually background_dial_holo_dark.png doesnt exist anywhere in contacts.apk.

If someone knows which png to change i would apreciate your help.

I attach the apk for anyone to take a look into.

Thnx in advance
[Galaxy S II Themes and Apps] stealo:
i can have a look later today, couple of hours though.
[Galaxy S II Themes and Apps] SilencerOfLambs:
Actually this tutorial is for AOKP/CM9 so it wont probably work for Wanam's ROM as it is a stock based ROM.. Ill look into your request today.. It will be helpful if u could also upload a screenshot of your current dialer background :)

Ill give the lock ring a try today if i get some time.. I dont have much experience with the animation coding yet, but ill try and see what happens.. Regarding your previous post.. It depends actually.. But its usually that way... XMLs pointing to resources... But while animating it we need to point the xml to another xml which will contain all the images that we want to use..

Sent from a phone that makes nearby iPhones self destruct :D
[Galaxy S II Themes and Apps] stealo:
i couldn't work out how to animate the lock rings. but added the left, top, & bottom chevron things to the lockscreen.

excuse the graphics was just testing.
[Galaxy S II Themes and Apps] SilencerOfLambs:
The link says 404 not found mate.Can't see the pic.

The chevron things are for the waves on the lockscreen.You can play around with those :)
[Galaxy S II Themes and Apps] sahil001:
How can i change this image

Sent from my GT-I9100
[Galaxy S II Themes and Apps] SilencerOfLambs:
Which ROM are you on? I have included that mod in the OP.. Pulldown notification background mod..

Sent from a phone that makes nearby iPhones self destruct :D
[Galaxy S II Themes and Apps] sahil001:
I am using recurrection ics 4.0.4 i read ur thread but can u explain me how to do it in simple way and thanks dude for ur reply

Sent from my GT-I9100
[Galaxy S II Themes and Apps] SilencerOfLambs:
Hi mate..There really is no other simpler way to do it..And i have really tried to make it as simple as possible in the tutorial...The part u r trying to theme does require the knowledge of compiling and all,so you really should give it a try..:)..Plus you will learn a lot in the process..:)

Sorry for the late reply..Been very busy off late :(
[Galaxy S II Themes and Apps] gb.yolo:
+1 for the great work mate :)

I would just ask you a question: can you tell me the clock and battery percentage text font? Thank you :)

http://i.imgur.com/kvQyb.png