yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] agat63:
It's very hard to add modifications to already modified app. If you want to add something to modified/themed app you have better chances to do that by starting with stock app/unmodified app.

Grab the stock app. Decompiled it. Do whatever you want to do. Recompile it.

Now use 7z to drag and drop your modifications into themed app you wanna use.

Non of us has patience to make absolute clean modding and that's why the app in most of the time can't be decompiled and recompiled again.

Hope it make sense.

If you have more questions just ask.

Now back to error messages you've got.

It looks like it's one error in lines 194 and 195 in string.xml files for different languages. Pleasae checi /values-it/string.xml and make sure it lines 197-198 in there are same as lines 194-195 in other files. If these are same lince open string.xml file from /res/values and compare lines. You should see some differences. Since there is no error message for lines 194-195 in string.xml file in /res/values make sure these lines look same in files you have errors in. And try to recompile.

This might fix the issue.
[Desire HD Android Development] bududroid:
Mate im getting problem when recompiling setting.apk

[*] E:\AutoAPKTool2.0.0\_INPUT_APK\SettingsUltra1.8
recompiling E:\AutoAPKTool2.0.0\_INPUT_APK\SettingsUltra1.8...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

I didnt edit a smali ?solution?
[Desire HD Android Development] agat63:
Apktool can't find the yml file.

That means you had some errors while decompiling.

yml file is created at decompile and placed inside your decompiled apk folder.

If it's not there something went south at decompiling process.
[Desire HD Android Development] bududroid:
Yes i didnt find the yml file :(

I will check again and give the log
[Desire HD Android Development] agat63:
Is this a modified/themed app?

If yes you should try to decompile stock app.

I've said few times it's almost impossible to work with already themed/modified app. Just grub a stock app. Do your changes and than incorporate your changes into modded app you wanna use.
[Desire HD Android Development] blueeagle69:
Link Dead

Hi.

Could someone kindly upload this version of AutoAPK Tool please.

The original rapidshare link is dead :(

Thanks.
[Desire HD Android Development] agat63:
Try this one.

This is a modified version of ApkTool.

I have made some changes to it to make it fully automated.

http://jumbofiles.com/tuwvhbc1ksio

And here is a thread where you can read about changes and additions:

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

In day or so this tool with all explanations will be added to this thread as well.
[Desire HD Android Development] blueeagle69:
Cheers matey.

This has been driving me nuts.

I managed to decompile my framework-res.apk to modify the strings.xml to fix the network location in ICS.

But up to now, my tablet just boot-loops (get stuck at the Android text screen).

So, cheers matey, I will try this one. Tomorrow now. I'm sick at staring at my PC screen.

Thanks again.
[Desire HD Android Development] Youngunn2008:
My phone would always boot loop on me after compiling my edited framework, so what I did is use 7zip to open the archive on the original framework res, and (I use apktool) go into the build folder and drag the resources.arsc file into the original archive, overwriting it, and of course any PNG edits you may have made, drag them into respective res folders in original archive. Then it would boot for me. The compiled apk would never boot for me.

Just something to try, if you have problems still...
[Desire HD Android Development] agat63:
Recompiling apk is not enough. system app should be signed with proper key as well. I have use this method for all my app modding not only system apps so I don't have to worry about signing them. Never has a good luck with that signing part.

But this method works all the time every time.
[Desire HD Android Development] Youngunn2008:
I always drag the signing keys back into the apk from original but I was just saying this always works for me.
[Desire HD Android Development] agat63:
And I was confirming that.:D

That method works for me as well.
[Desire HD Android Development] Youngunn2008:
Ah lol words are hard :D
[Desire HD Android Development] DJSave:
I tried several versions of AKPTool, but when compiling, I always get errors.

no problems with 4.0.3 files. any ideas?

AOKP build 29 framework-res.apk
[Desire HD Android Development] blueeagle69:
Cheers matey.

I will have a look at this later.

Thanks for your help.
[Desire HD Android Development] wait4me2burn:
auto apktool link is down does anyone still have a copy?
[Desire HD Android Development] agat63:
Try this tool.

http://jumbofiles.com/tuwvhbc1ksio/AutoAPKTool2.0.4.zip.html.

It's same tool with added menu options.

You can read more about it in this thread:

http://xdaforums.com/showthread.php?t=1577025
[Desire HD Android Development] nsg86:
Very useful =),thanks
[Desire HD Android Development] wait4me2burn:
Thanks I found another work around but this one seems to be way more hassle free from what I've been reading from it as long as it works for sense should be useful. :)
[Desire HD Android Development] agat63:
Would you please let us know if it works for sense.

I have tried it on E4GT only and after over 200 downloads I still have no feedback.

Would love to know if the tool is universal.

---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------

I did some changes to this tool and added options to decompile ICS apps and also options for smali/baksmali dex and jar files.

Give it a shot.

Here is the thread link:

http://xdaforums.com/showthread.php?t=1577025
[Desire HD Android Development] memnoc:
It works on sense 4 Android 4.0.3 ;)

Inviato dal mio Sensation usando Tapatalk
[Desire HD Android Development] Consan:
Hmm I can decompile framework-res.apk with no problem but when im going to recompile it I got this error!!

[*] C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res

recompiling C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res...

W: Could not find sources

I: Building resources...

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/animator

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/interpolator

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-320dpi

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-hdpi

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-ldpi

invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-mdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Conny\AppData\Local\Temp\APKTOOL5624832612541785277.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)

at brut.androlib.Androlib.buildResourcesFull(Unknown Source)

at brut.androlib.Androlib.buildResources(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.apktool.Main.cmdBuild(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Conny\AppData\Local\Temp\APKTOOL5624832612541785277.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(Unknown Source)

... 7 more
[Desire HD Android Development] draxterix:
all localization file is dead

please upload version 2.0.4 hotfile or db
[Desire HD Android Development] marinalin85:
I can't recompile framework-res.apk :( Why?

Please help me :(
[Desire HD Android Development] agat63:
You gotta be more specific.

What phone?

What build?

Did you run option 1 in tool menu first?

Stock framework or modified?
[Desire HD Android Development] marinalin85:
Phone: Alcatel OT908 with ICS Tentative ROM 2.2.2 made by me

FRG83G,modified framework.

Thank you!
[Desire HD Android Development] agat63:
I think this has been mentioned before.

Usually it's very hard (if not impossible) to decompile a modified app.

Every dev does cut the corners when modifying any app and it makes it imposible to decompile/recompile it again.

To make sure it's not the tool or your settings try to decompile stock framework-res.apk first. And then recompile it without changes.

It that works than your tool and settings are correct and any future problems with decompiling/recompiling will mean a misstake in app itself or in changes and modifications done to it.
[Desire HD Android Development] marinalin85:
Ok, let me see what can I do. Thank you so much!

---------- Post added at 04:55 PM ---------- Previous post was at 04:48 PM ----------

With stock framework-res.apk is working :|
[Desire HD Android Development] agat63:
What tool are you using?

Here link to modified tool:

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

I put it together to make decompiling ICS apps easy and did add backsmali/smali options for dex and jar files.

Check it out if you haven't seen it yet.
[Desire HD Android Development] marinalin85:
AutoApkTool 2.0.4
[Desire HD Android Development] agat63:
One modified by me?

Just trying to get more info to be able to help you better (if I can):D
[Desire HD Android Development] marinalin85:
Yes, that modified by you ;)
[Desire HD Android Development] agat63:
OK.

Let me know how it goes with stock framework.
[Desire HD Android Development] marinalin85:
What can I do? :(

---------- Post added at 05:14 PM ---------- Previous post was at 05:13 PM ----------

Can I give you my framework-res.apk maybe you can compile?
[Desire HD Android Development] agat63:
You couldn't decompile a stock version of framework?
[Desire HD Android Development] marinalin85:
Stock version can compile, but custom/modified cannot :(

---------- Post added at 05:25 PM ---------- Previous post was at 05:23 PM ----------

Maybe is another way, i want to make my status bar transparent, like ICS, and I know that I must to put android:background:"#000000" in status_bar_tracking.xml right?

Can I do in another way?
[Desire HD Android Development] agat63:
This is what I do.

Decompile stock version.

Do all modifications I want to do. Edit png's, 9.png's and xml files.

Recompile stock version with all my changes.

Open recompiled stock app with 7z for view and open modified app you want add you changes to in another 7z window for view.

Drag'n'drop xml and png files from freshly modified stock app into same locations of modified app.

Close both windows and push modified app to my phone or rom.

Hope this make sense because I don't know any other method except to fix all problems in that framework you can't decompile.

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

I'm not familar with your phone and it's framework but it might be more to it.

E.G for E4GT you would have to modify SustemUI.apk for that.
[Desire HD Android Development] marinalin85:
I don't have SystemUI.apk, I'm runing 2.2.2 FroYo
[Desire HD Android Development] agat63:
That was said as an example.

I don't know what and where would you change to get transparent background for status bar drop down.

But if you know what needs to be done do it in decompiled stock framework.

edit xml files and then recompile the stock framework.

After recompiling drag the modified xml files into framework file you want to use with your rom.
[Desire HD Android Development] marinalin85:
Ok, thank you so much :D!!!

---------- Post added at 07:01 PM ---------- Previous post was at 06:57 PM ----------

Look here ;)
[Desire HD Android Development] marinalin85:
I've made a ****, BIG ONE.

My phone has a problem, I cannot enter in USB Storage mod, my jack is broken, what i want to put in my SD Card I use Card Reader.

And now, i flash my ROM with one who doesn't have recovery.img installed, I mean I should to install my self, and now my phone is not pass from bootanimation he is stuck there :(.

What can I do?

I know that it's possible with adb but I can't use adb if my phone is not recognize by PC :((.

HELP PLEASEEEE
[Desire HD Android Development] agat63:
Usually recovery image is not part of the rom unless you flashing kernel as part of the rom and recovery is packed into kernel (zImage).

Since you didn't do any changes to zImage you should have your recovery in tact.

Copy a tested working rom to your sd crad via card reader. Put card back into it's slot and boot phone into recovery. There should be a button combination for that.

Flash working rom and boot to system.

This is only way I can thing of if you your usb port is broken.
[Desire HD Android Development] marinalin85:
My phone don't want to boot into recovery :( pass direct to bootimg :((
[Desire HD Android Development] agat63:
Where you able to boot to recovery before?
[Desire HD Android Development] marinalin85:
Yes i was able
[Desire HD Android Development] agat63:
And now after trying to flash your rom you can't boot into recovery anymore?

If it's so I don't think anyone can help you.

You have no means to fix things. No usb connection no recovery.

You would have to find a way to either fix your USB or get to recovery somehow.
[Desire HD Android Development] marinalin85:
I hope I can fix USB, so thank you so much for your help and time.

Good luck!
[Desire HD Android Development] agat63:
Good luck to you.

And if you from Moldova let me wish you:

Удачи!!
[Desire HD Android Development] marinalin85:
Thank you, I know that you're said "luck" but I am from Romania (Moldova Noua) ;)
[Desire HD Android Development] darksilk:
Rapidshare link is death =(

Could someone upload a mirror please =)
[Desire HD Android Development] USMC retired:
none

And I bet all the developers are reading all these posts and are having a good laugh, it's no mystery that they don't want us cracking their codes, but we do it, a ot of folks are having the same issue, I am as well, HTC is just playing games, we will get it all figured out, might take a few weeks, but it will be cracked. Some of us themers will just have to wait lol
[Desire HD Android Development] agat63:
Try any of links below.

This is modified Apktool edited by me to deal with ICS apps.

http://www.mediafire.com/download.php?qod57h65kwwv3cb

http://jumbofiles.com/tuwvhbc1ksio

And here is the thread link for how to questions:

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

If you have more questions ask here or in my thread.
[Desire HD Android Development] kifac:
Wow...you saved me!!

Thank you thank you!!!
[Desire HD Android Development] agat63:
I guess it worked for you.:D
[Desire HD Android Development] agat63:
Check and update your jave jre and jdk versions.

Also make sure you install framework first. Option 1 in menu.
[Desire HD Android Development] kifac:
Wait i think i got it!! i saw option 15 for ICS recompliing :D

edit....it does more then before but still same error :(

You hyave links to update? jdk and such
[Desire HD Android Development] agat63:
Errors look like wrong java version or missing framework.

Hope it will recompile but if not check it.
[Desire HD Android Development] kifac:
.it does more then before but still same error

You hyave links to update? jdk and such
[Desire HD Android Development] agat63:
Just google it.

jre (java runtime enviroment)

jdk (java development kit).

I'm using jre6 and jre7 and jdk1.7.0_02

Have no problems to decompile and recompile ICS apps.

Make sure java is in your PATH as well.
[Desire HD Android Development] kifac:
downloading now..and what do you mean path? as in C drive?

Downloaded and installed and same issue :/
[Huawei Ideos X5 U8800] hap123:
Hi everyone,

Does anyone know of any battery docks that are reliable for spare batteries of x5?

I'm in Australia so buying locally would be best, but I'd appreciate any feedback at all really :)
[Huawei Ideos X5 U8800] SerJR2D2:
hi

i dont know
[HTC Sensation] mexxxico:
My vision for animation Cyanogen(mod) 10 :)

CM10 bootanimatiaon download

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

Bootanimation made ​​from CM9

Sensation download: Bootanimation.zip

Pic for splashscreen download: splash.bmp

480x800 smaller screen download DHDBootanimation.zip

... and... don't forget to rename it to bootanimation.zip :)

Enjoy
[HTC Sensation] AZ2ENVY:
Downloading!! Thanks !! Now if CM would release a ROM for our devices.....

---------- Post added at 03:06 PM ---------- Previous post was at 02:56 PM ----------

Okay this wont work on our devices properly...... Our resolution is 540x960. The

bootanimation you provided is 450x800 which is scaled down and will look like

poopy.
[HTC Sensation] FroyoShark:
It's not working on my phone... I batch resized all the images to the resolution of my phone and changed the desc.txt but it only shows a black screen.

EDIT: It didn't work before I changed them either.
[HTC Sensation] AZ2ENVY:
Make sure you select store in the .zip and do not compress it.
[HTC Sensation] mexxxico:
Uploading new one...

P.S. Sorry guys...

And.... 'original' bootanimation is 450x800 (63Mb ?!?)...

Scaling to 540x960 you don't get anything except larger file
[HTC Sensation] FroyoShark:
Thanks, that fixed it.

---------- Post added at 04:28 PM ---------- Previous post was at 04:26 PM ----------

Can you make another one for 480x800 please? I resized the images but they're very low quality.

EDIT: How did you get the pictures from the video? Like what software did you use so you just get the boot animation?
[HTC Sensation] mexxxico:
Yep.... give me 5 min :)
[HTC Sensation] mexxxico:
Thread updated :)
[HTC Sensation] FroyoShark:
It was actually for the Motorola Triumph, not the DHD, but thanks :)
[HTC Sensation] AZ2ENVY:
The Sensation download is still 450x800 ;)
[HTC Sensation] BurnRubber90:
Not trying to hi-jack your post.. but here is a working Bootanimation for Sensation (or any qHD). http://www.mediafire.com/?liu1esd5y2wj3ma

PD: NOT flashable ATM.
[HTC Sensation] FroyoShark:
Why is it so slow? :o
[HTC Sensation] mexxxico:
In desc.txt change 24 to 30 :)
[HTC Sensation] FroyoShark:
Wow, my phone boots before the animation even finishes. That kinda sucks.

---------- Post added at 04:51 PM ---------- Previous post was at 04:49 PM ----------

Lol, I changed it to 30 and it's just a black screen.
[HTC Sensation] AZ2ENVY:
The one in the comments is 450x800 as well......
[HTC Sensation] mexxxico:
I think that is a little too big...

I made this with more pictures and file are shorter and better ...

Ok, ok... uploading again :)
[HTC Sensation] BurnRubber90:
Sensation is 540x960 ;)
[HTC Sensation] AZ2ENVY:
Thats my point..... Sensation is 540x960 and all these CM9 bootanimations

are popping up with only 450x800 resolution images. Low quality and looks

like doo doo on our qHD screens.
[HTC Sensation] BurnRubber90:
O You are right. Though mine is based on a 720P one i found on Youtube.. proper credits to the creator ;) .

Still looks a bit blurry (from 60MB to 11MB).
[HTC Sensation] mexxxico:
If you want a little better picture in the animation ... try to adapt this :D
[HTC Sensation] FroyoShark:
480x800 link is broken

---------- Post added at 08:18 PM ---------- Previous post was at 08:16 PM ----------

There's 1080p you know...
[HTC Sensation] AZ2ENVY:
450x800 as well haha
[HTC Sensation] bolidegt:
480x800 smaller screen can not download
[HTC Sensation] skygear:
pic? would be nice
[HTC Sensation] mexxxico:
Links updated...
[HTC Sensation] atltrickster:
540x960 at 60fps :-) Found this in the general Android forum...

http://www.mediafire.com/?d2aern3537fn9c0
[HTC Sensation] mexxxico:
Tnx, but animation is 12MB and 60fps...

Why?? The human eye registers 24-25 fps.

If you want, 30 fps is more than enough... :)
[HTC Sensation] atltrickster:
Simply because I can : )
[HTC Sensation] AZ2ENVY:
Awesome! This one will work great :D
[HTC Sensation] codito:
Um the human eye can register much more than 25 fps. Hence why there's a VERY obvious difference between 30 and 60 FPS when say playing a game or watching a movie.
[HTC Sensation] mexxxico:
Yep... you're right.

The human eye/brain combination can see well over 100 frames per second.

But the whole story about this is much more complicated.

At the end of the 'story'... That's a only a bootanimation....

Is there really needs to be 20-30 or more Mb just for a few more FPS?
[HTC Sensation] Jester89:
Great Splash Screen
[AT&T Samsung Galaxy S II SGH-I777] Smac7:
I have experience with rooting HTC devices and the HP touchpad, but i am a complete samsung noob. Things seem to work completely different with recovery on the this phone. I managed to get cwm recovery on the phone by flashing the entropy kernal (http://xdaforums.com/showthread.php?t=1289460); however, it also says this is for gingerbread non-aosp roms only. Does that mean the CWM will not flash an ICS rom such as ICScrewed?

I am just generally confused cause on my other devices, kernals were always flashed using CMW, not the other way around. If someone can clear this up that would be amazing. I tried searching and looking in the stickies but i still can't find the info im looking for. thanks.
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
ICScrewed is not an ICS rom, its just themed that way.

We do not have working ICS yet, check the sticky. ;)

You can flash one but audio will not work.
[AT&T Samsung Galaxy S II SGH-I777] Smac7:
o ok, thanks. thats clears that part up thanks. I'm doing this for a friend but it turned out to be much more hassle than i was expecting. So any rom suggestions? I don't like the idea of pretending to have ICS much. I'm looking for a rom that's debloated, faster, more battery life, and has some visual polish. I'm not a huge fan of the stock touchwiz look.
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
UnNamed and ShoStock have a few themes and are by far the most stable I know of.

Or you can check i9100 roms and port them over or grab one that already is ported.
[AT&T Samsung Galaxy S II SGH-I777] Red5:
Read the Sticky thread thats in the General Section.
[Galaxy S I9000 General] Redscorpian:
I'd just like to say THANK YOU to all the contributors of these forums. I now have a Samsung Galaxy S i9000, rooted, unlocked to all networks and with CM9 (version 15) happily running it!

At one time it seemed 'bricked' - would only start to a picture of a phone linked to a PC via a warning triangle - and wouldn't boot at all. I started with two broken phones and was hoping to make one good one - which I obviously now have.

I had to trawl through many pages and glean all sorts of bits of information from various sources but the fact is that everything I needed to know was here. And by the way - my htc Hero was treated similarly and still works, unlocked, rooted etc.

So keep it up - you're absolutely brilliant!!!
[Galaxy S I9000 General] n99flake:
Just noticed this is your first post. Hat's off sir, to a good first post!
[Vibrant Q&A, Help & Troubleshooting] chadhoard:
Is there a good camera app that can take good pictures without making things blurry??
[Vibrant Q&A, Help & Troubleshooting] johnny12times:
I highly recommend camera fx, it is really good and has a lot of options. The other thing to check is to make sure your camera lens on the back of your phone isn't all scratched up. If it is, Google vibrant replacement housing and you can replace it for next to nothing.