yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson XPERIA X10 Mini] thomas15v:
Just replaced some icon's and image's. (take me otherwise well 3 hours :silly:)

Some screens.

This works only with MiniCM7 2.2.1.

Only tested with the mimi.

There is a installation bat included just run it and select option 1.

(Make sure no other devices are connected or emulators)

If you find that somthing is wrong just make a screen of it and i fix it :angel:.

Please press thanks if you like it :p.

Enjoy your new miniCM7 with jelly bean icons ;).
[Sony Ericsson XPERIA X10 Mini] LukBoy99:
minicm9 or cm7?lol and whats cm9 2.2.1
[Sony Ericsson XPERIA X10 Mini] sandebal:
2.3.7 means CM7

From the screenshot, its clear that this is for 2.3.7 and that means MiniCM7 2.2.1 and not CM9.........May be a typo..:cowboy:
[Sony Ericsson XPERIA X10 Mini] thomas15v:
Sorry, little mistake, works on minicm 7 newest version.

Verstuurd van mijn U20i met Tapatalk
[Sony Ericsson XPERIA X10 Mini] mclogan:
Nice :thumbup:

Transparent would be so much better :D
[Sony Ericsson XPERIA X10 Mini] WintyBe:
Does this need to be installed through adb? C/p kinda bugs on the network bars.
[Sony Ericsson XPERIA X10 Mini] thomas15v:
You can install it manually using rootexplorer and fix the permissions

V V O

V O O

V O O

Yes i know that there is a smal bug when the signalbar is completly fulled. I will soon upload the fix. (i was waiting until someone noticed it :p).

But if there are other bugs make a screen please !!!!

Verstuurd van mijn U20i met Tapatalk
[General Questions and Answers] bedodot:
I recently purchased a Samsung SHW-M100S Korean Galaxy A.

Is there a working Clockworkmod recovery rom for this phone?

What are the needed tools in modding this phone?

Suggestions will be highly appreciated.

:confused:
[Motorola Droid RAZR] pseudoheld:
wow this is one shoddy piece of hardware!

i bought the original motorola car dock because i thought it would be better than those cheap chinese knockoffs.

now after not moving my car for a few days i got back in only to see that my razr doesn't fit anymore.

the damn cardock got deformed by the sun....wtf! i live in germany its not like i live in africa or some place thats super hot...but still its completely bent and the plastic has warped. now my razr won't fit anymore.

so yeah...think twice about buying the original cardock unless you only drive your car around tunnels...

EDIT: here are some pics of my crippled dock

http://i.imgur.com/G0q9r.jpg

http://i.imgur.com/Fv31v.jpg
[Motorola Droid RAZR] greeky510:
Wow, i didnt expect that from the OEM dock. Anyway, you can remove that piece, heat it with a hair drier or something until its flexing easily and put some books on it or something until it cools down.
[Android Software/Hacking General [Developers Only]] powerpoint45:
Here is something I did:
[Android Software/Hacking General [Developers Only]] Mr.Mefisto:
Nice guide OP! Thanks!
[Android Software/Hacking General [Developers Only]] powerpoint45:
Just because a lot of distros including debian do not have jdk7 in their repository. But if its in your repository you can get jdk 7
[Android Software/Hacking General [Developers Only]] Ichigo:
ok.
[Android Software/Hacking General [Developers Only]] midi_1996:
Thanks. Will try it. :D
[Android Software/Hacking General [Developers Only]] powerpoint45:
Cool, tell me how it goes
[Android Software/Hacking General [Developers Only]] powerpoint45:
Updated op to work with nextus 7 roms
[Android Software/Hacking General [Developers Only]] fishingfon:
Hi,

I tried doing exactly as you said, but when I copy the apk to system/app, the the is no jelly bean icon as on the stock systemui.apk, and my system ui crashed.

I followed your guide exactly.

Can someone please tell me what I have done wrong.

I was making a circle battery mod for the first n7.

I will upload the apk I made in a second when I go on my pc.

Thanks in advance

Cheers

Corey
[Android Software/Hacking General [Developers Only]] fishingfon:
here is the apk
[Android Software/Hacking General [Developers Only]] powerpoint45:
Ok, did you change permissions of SystemUI.apk after you moved it to system/app. Also, sometimes it crashes due to a small misteak. Sometimes that happens to me, and when I completely redo it it works. Another thing, are you making a battery mod?
[Android Software/Hacking General [Developers Only]] fishingfon:
Hi,

I had forgotten to reset the permissions.

The system ui now does not crash anymore.

But now I have a new problem.

The battery icons no longer appear in the status bar, the is no battery icon there at all now.

Do the icons have to be a certain resolution to work? If so, do u know what res the have to be?

I hav, attached a screen, as you can see, the icons no longer show.

Thanks again

Cheers

Corey
[Android Software/Hacking General [Developers Only]] powerpoint45:
Did u drag resources.arsc classes.dex and res/drawable/stat_sys_battery.xml to the origional apk after it compiled. No it doesnt realy need to be a certain resolution. Oh also did u zipalign
[Android Software/Hacking General [Developers Only]] fishingfon:
Hi,

i managed to get it working.

i think you made a small mistake in your guide lol.

you said this:

almostdone.apk is the output file. Once it is done building you need to open the backup apk you made at the beginning with File Roller /7zip. Also open almostdone.apk with File Roller/7zip. From inside the backup apk drag resources.arsc and classes.dex to the root of almostdone.apk and it will replace resources.arsc that is in the apk. You are almost done. From inside almostdone.apk drag the res folder into the backup apk(file roller sometimes has problems moving a whole folder so make sure that the size is updated and the edited images are moved). Now all you need to do is zipalign the apk. Lets say your backup apk is named backup.apk. Go into the terminal at the directory you are working in and type

Where as it should have been:

almostdone.apk is the output file. Once it is done building you need to open the backup apk you made at the beginning with File Roller /7zip. Also open almostdone.apk with File Roller/7zip. From inside the almostdone.apk drag resources.arsc and classes.dex to the root of backup.apk and it will replace resources.arsc that is in the apk. You are almost done. From inside almostdone.apk drag the res folder into the backup apk(file roller sometimes has problems moving a whole folder so make sure that the size is updated and the edited images are moved). Now all you need to do is zipalign the apk. Lets say your backup apk is named backup.apk. Go into the terminal at the directory you are working

in and type

Sorry for all my noobish qustions

Cheers

Corey
[Android Software/Hacking General [Developers Only]] powerpoint45:
Oh. God Thank you for pointing that out. Fixed op.Appreciate it. I just got mixed up wich is wich lol
[Android Software/Hacking General [Developers Only]] Alex240188:
you do know you kinda have this backwards and to be fair rather confusing

i dont know why you mess around copying all classes&resources&res from your almostdone.apk

the way i used to do it when theming for the htc hero system apps was

do your mods

apktool b SystemUI almostdone.apk

then open your SystemUIbackup.apk & copy the meta-inf folder & androidmanifest.xml

inject them into your almostdone.apk

zipalign -v 4 almostdone.apk SystemUI.apk

adb remount

adb push SystemUI.apk /system/app/

adb reboot

has always worked for me

seems miles easier than copying the hundreds of files in all the other folders
[Android Software/Hacking General [Developers Only]] powerpoint45:
I'll look into it once im back from vacation.That will probably work and make it less confusing
[Android Software/Hacking General [Developers Only]] vaibhav palande:
The link for framework is broken. Any new link?
[Android Software/Hacking General [Developers Only]] powerpoint45:
Ok thanks. Ill fix it. Here is a link. http://db.tt/Rpc6zskQ
[Android Software/Hacking General [Developers Only]] vaibhav palande:
I am getting error while recompiling theme chooser theme.. Here is the log:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

c:\4nec2>apktool b 12345 done.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
c:\4nec2\12345\res\values\styles.xml:98: error: Error retrieving parent for item
: No resource found that matches the given name '@android:style/TextAppearance.S
tatusBar'.
c:\4nec2\12345\res\values\styles.xml:99: error: Error retrieving parent for item
: No resource found that matches the given name '@android:style/TextAppearance.S
tatusBar'.
c:\4nec2\12345\res\values\styles.xml:119: error: Error retrieving parent for ite
m: No resource found that matches the given name '@android:style/TextAppearance.
StatusBar.Ticker'.
c:\4nec2\12345\res\values\styles.xml:123: error: Error retrieving parent for ite
m: No resource found that matches the given name '@android:style/TextAppearance.
StatusBar'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Vaibhav\AppData\Local\Temp
\APKTOOL7356544712132047658.tmp, -x, -I, C:\Users\Vaibhav\apktool\framework\1.ap
k, -S, c:\4nec2\12345\res, -M, c:\4nec2\12345\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Vaibhav\AppData\Local\Temp\APKTOOL7356544712132047658.tmp, -x, -I, C:\Users
\Vaibhav\apktool\framework\1.apk, -S, c:\4nec2\12345\res, -M, c:\4nec2\12345\And
roidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:249)
... 6 more

c:\4nec2>

While decompiling it worked perfectly but recompiling got stuck. Any solution?

---------- Post added at 11:53 PM ---------- Previous post was at 11:38 PM ----------

EDIT: IT WORKED WITH NEW FRAMEWORK FILES. THANX FOR THE NEW LINK:good::good::good::):)
[Android Software/Hacking General [Developers Only]] powerpoint45:
We have not ported over 4.2 to the kindle fire but once we get it, I will be all over that.
[Android Software/Hacking General [Developers Only]] smileyanz:
PowerPoint your a diamond this is great stuff, wish there was more guys like you around , I always wanted to know and pick it up. MASSIVE THANKS GEEZER WOW. I've never really been that interested coz I've always had me head down building me guitars and in my own little world lol with something hanging from my mouth? Giggles
[Android Software/Hacking General [Developers Only]] powerpoint45:
WTF LOL thanks!?!?
[Android Software/Hacking General [Developers Only]] victor711:
i got this eror what can i do :( ? please help me

C:\Users\Novin Pendar\Desktop\a>apktool b SystemUI almostdone.apk

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:168)

at brut.androlib.Androlib.build(Androlib.java:185)

at brut.androlib.Androlib.build(Androlib.java:180)

at brut.apktool.Main.cmdBuild(Main.java:209)

at brut.apktool.Main.main(Main.java:72)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:164)

... 4 more
[Android Software/Hacking General [Developers Only]] triptosyll:
U got all the correct files from the OP? The correct aapt?
[Android Software/Hacking General [Developers Only]] victor711:
yes i got all the file .. would you please share your aapt ?? i decompile ..but cant recompile ... :(
[Android Software/Hacking General [Developers Only]] jrod091:
Didn't mean to hit thanks...

aapt is in one of the links in the op
[Android Software/Hacking General [Developers Only]] victor711:
i know .. i do as same as instruction but got that eror ...
[Android Software/Hacking General [Developers Only]] jasurodd:
Thank you so much for this wonderful guide:good:
[Android Software/Hacking General [Developers Only]] benty1:
+1

I have followed all the instructions to the T

i cant recompile my apk

Any help will be appreciated
[Android Software/Hacking General [Developers Only]] Carlos_Manuel:
when trying to decompile systemUI.apk (Galaxy Nexus Jelly Bean 4.2.1)

I also downloaded your framework files for "(NEXTUS 7 ROMS)" ????

C:\Users\Carlos Manuel>apktool d SystemUI.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Carlos Manuel\apktool\framework\1.
apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=androidprv, na
me=primaryUserOnly, value=0xffffffff
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01010457
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
5)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:64)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:98)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:112)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:126)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:152
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)

But thanks anyway...
[Android Software/Hacking General [Developers Only]] jrod091:
4.2 isn't supported yet... The apktool hasn't been updated by ibotpeaches into a workable state yet for all apks, although he does have a new aapt. Once he gets it figured out, 4.2 will get rolling and powerpoint45 will get if figured out. He also needs to get 4.2 ported to the kindle fire, AFAIK
[Android Software/Hacking General [Developers Only]] Carlos_Manuel:
OK good to know that! Thanks! :)
[Android Software/Hacking General [Developers Only]] Ichigo:
Kindle Fire has 4.2 now. You can't decompile apk's from 4.2. I'm guessing apktool needs an update.

a.k.a. Josepho1997

Merry Christmas!
[Android Software/Hacking General [Developers Only]] jrod091:
So does aapt
[Android Software/Hacking General [Developers Only]] jrod091:
Apktool 1.5.1 got released
[Android Software/Hacking General [Developers Only]] DeSim:
well im trying to figure this out..

My goal is to make a skin for my HTC Evo LTE that is running Meanbean (JB 4.1.1) im tring to move the apk tool to usr/local/bin. when i drag and drop it it dont want to copy over it says Error while moving apktool.jar i hit the show more it says "Error moving file: Permission denied" Im running ubuntu 12.10 any help would be great.. thanks
[Android Software/Hacking General [Developers Only]] Deadly:
Permission denied means you are not super user.... type su in terminal.. then type Nautilus or any other file browser... read op carefully..

___________________________________

[HELP THREAD]Ask Any Questions!

ΧΔΑ Fraternity: TOT Time! & IRC Info

No one is listening until you make a mistake.
[Android Software/Hacking General [Developers Only]] DeSim:
ill give it a shot. was gonna jump over to windows to see if i can get something going. i just started using ubuntu so im still getting used to it.. thanks man
[Android Software/Hacking General [Developers Only]] DeSim:
Well I'm lost the only password I know I set up on here isn't working. It's the one I made up when I installed Ubuntu right?

Sent from my MeanEvo
[Android Software/Hacking General [Developers Only]] Deadly:
Sorry man.. I forgot you are new..

Do this.. sudo su

Or sudo Nautilus

Use your login password

___________________________________

[HELP THREAD]Ask Any Questions!

ΧΔΑ Fraternity: TOT Time! & IRC Info

No one is listening until you make a mistake.
[Android Software/Hacking General [Developers Only]] powerpoint45:
Also if u havnt

sudo passwd
[Android Software/Hacking General [Developers Only]] DeSim:
Thanks guys that helped.. Lol. So If I'm understanding I can do this with any apk not just the systemui correct..

Sent from my MeanEvo
[Android Software/Hacking General [Developers Only]] Deadly:
Yes... any apk.. just don't forget to use apktool if framework-res.apk

And other apk's dependancy when working with system apks..

___________________________________

[HELP THREAD]Ask Any Questions!

ΧΔΑ Fraternity: TOT Time! & IRC Info

No one is listening until you make a mistake.
[Android Software/Hacking General [Developers Only]] DeSim:
This is what I'm doing lol.. Not sure what the deal is. Is there away to disable it so I can drag and drop? Also I have to put the apk tool.jar here? file system/usr/local/bin

Sent from my MeanEvo
[Android Software/Hacking General [Developers Only]] DeSim:
Sent from my MeanEvo
[Android Software/Hacking General [Developers Only]] Deadly:
Yes.. you would have to put all 3 files you got.. apktool.jar aapt and one more filename I don't remember..

Go through first post carefully once.. its all there.. follow it step by step...

___________________________________

[HELP THREAD]Ask Any Questions!

ΧΔΑ Fraternity: TOT Time! & IRC Info

No one is listening until you make a mistake.
[Android Software/Hacking General [Developers Only]] fishingfon:
Does it work with 4.2 jellybean?, as I really need one that works with that.

Cheers

Corey

Sent from my GT-N7100

If I helped you, please hit Thanks..
[Android Software/Hacking General [Developers Only]] Deadly:
Yes, it does.. for more info check here..

http://xdaforums.com/showthread.php?t=1755243

___________________________________

[HELP THREAD]Ask Any Questions!

ΧΔΑ Fraternity: TOT Time! & IRC Info

No one is listening until you make a mistake.
[Android Software/Hacking General [Developers Only]] jrod091:
for those using linux, what programs are you using to edit images? I'm trying to change the colors of the signal and wifi bars in SystemUI, but when I got to save it, it comes out all pixelated?? I'm using Gimp
[Android Software/Hacking General [Developers Only]] clonednull:
thanks for asking this mate!

i have this problem on windows :mad:

i found out it happens when you have a indexed png and convert it to RGB mode (wich happens sometimes automaticly when making some changes)

the transparency information, wich is needed for nice anti aliasing of the edges, gets somehow lost and therefore all rounded gets pixelated :(

thats my experience so far. :confused:

even if i only want to change the color palete the conversion takes place..

this happens using gimp and also the same effect when using photoshop :silly:

a hint would be really appreciated! :good:
[Android Software/Hacking General [Developers Only]] powerpoint45:
Gimp>image>mode>rgb
[Android Software/Hacking General [Developers Only]] clonednull:
if you check one post above (post #214), you will see that this step will "pixelate" the image

thanks for your tip but but this is no solution, this will only let you change the image in any form but will deform or "pixelate" it... :(
[Android Software/Hacking General [Developers Only]] powerpoint45:
It has all ways worked for me... I enable rgb mode before I do any modifications.
[Android Software/Hacking General [Developers Only]] clonednull:
thanks again for your reply mate!

i just realized that converting the image back to indexed mode pixelates the image in gimp but when i use the rgb png file it also works fine :good:

in photoshop the indexed png image gets somehow autoconverted to rgb format, this pixelates the image on open procedure.. :(

thanks for loosening my brainlag :highfive:
[Android Software/Hacking General [Developers Only]] jrod091:
I always change to rgb, sometimes I get pixelated images though
[Android Software/Hacking General [Developers Only]] powerpoint45:
I see what your saying. I actually just leave it in rgb mode when exporting it to apk and it seems to work.
[Android Software/Hacking General [Developers Only]] Nachiket.Namjoshi:
Okay... will try t soon... :D :victory: :o
[Android Software/Hacking General [Developers Only]] jrod091:
Hmm, I will try leaving it in rgb mode
[Android Software/Hacking General [Developers Only]] voldomart13:
Hey I'm trying to do this on windows and I'm running into a problem. When I enter the code "apktool if SystemUI.apk" It gives me this screen (see attachemnt). Any help?
[Android Software/Hacking General [Developers Only]] jrod091:
Put apktool in your PATH
[Android Software/Hacking General [Developers Only]] SXUsr:
Hi.

This should help if you're using Windows - [Guide/Tools] Basic Android Theming - Simple APK Modding [07/01/13]
[Android Software/Hacking General [Developers Only]] voldomart13:
No not really, it continues to fail for 4.2 jellybean. I really want to mod this but NO ONE has come up with a sound working gui or ANYTHING and its pissing me off how long its been. Ive tried these tutorials before and they always fail!

---------- Post added at 08:56 PM ---------- Previous post was at 08:53 PM ----------

Kind of a dumb response of course it is. I followed the directions to the letter, yet it fails.
[Android Software/Hacking General [Developers Only]] powerpoint45:
4.2 isn't supported yet unless the link to the modded apktool works...
[Android Software/Hacking General [Developers Only]] jrod091:
I have successfully decompiled and recompiled 4.2 apks with http://xdaforums.com/showthread.php?p=28366939 <<-- that updated tool
[Android Software/Hacking General [Developers Only]] powerpoint45:
Yeah... Thats the link I have on my thread. I just hadn't tried decompiling/recompiling with 4.2 yet. So im not sure
[Android Software/Hacking General [Developers Only]] jrod091:
Well, it works, I can attest
[Android Software/Hacking General [Developers Only]] bokuwahmz:
Thanks for the guide.
[Android Software/Hacking General [Developers Only]] SXUsr:
The path in your screen shot doesn't look right or have you just put your apktool files in C:\ and not C:\apktool_folder? Try this...
[Android Software/Hacking General [Developers Only]] cousiver:
First try with no "luck"

Someone have time, care to see and help with my problem :

Edit : nevermind, I think its working now, just wrong framework "I guess".

Will see...

Thanks for your great tutorial @OP

BTW, can you give tutorial for your second post... :D