yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Themes and Apps] PIRATA!:
Am I ok for starting? :)

All I need is managing with replacing images and related trasparencies.

An example: I have a trasparent Dialer and would like to change the trasparency, the look of some tabs getting images from other dialers, and then importing all the work done in the Dialer of last Darky's ROM.

I have already putted all the neutral/dummy/trasparent images from the trasparent dialer into the dialer that I want to edit, but now I see all those images as black with no trasparency.

Am I correct if I say that now I need to make changes to some .xml files to set the trasparency??

Ps: I already decompiled the .apk I would like to edit and I get errors decompiling this dialer using APKTool 1.3.1:

=======================================================
::::::: Auto-APKTool Decompile Created By Yanzi :::::::
=======================================================
Compile all APKs Exist Here
U want to Use Additional Resource?[y/n]n
Start...
Premere un tasto per continuare . . .
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\pirata\apktool\framework\1.apk
S: Could not decode file "drawable-hdpi/call_default_btn_normal.9.png" to "drawa ble-hdpi-v4/call_default_btn_normal.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_pressed.9.png" to "draw able-hdpi-v4/call_default_btn_pressed.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_selected.9.png" to "drawable-hdpi-v4/call_default_btn_selected.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_focus.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_focus.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_press.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_press.9.png"
S: Could not decode file "drawable-hdpi/listview_focus_bg.9.png" to "drawable-hdpi-v4/listview_focus_bg.9.png"
S: Could not decode file "drawable-hdpi/listview_press_bg.9.png" to "drawable-hdpi-v4/listview_press_bg.9.png"
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02050097
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

Premere un tasto per continuare . . .

Pps: I putted a PAUSE in the APKTool_Decompile.bat file so to see the errors.
[Galaxy S I9000 Themes and Apps] Jumba:
You need to set your framework-res.apk as the file used to decode... like so:

apktool if c:\whatever\yourframework-res.apk sgs

Then:

apktool d -t sgs c:\whatever\DialerTabActivity.apk c:\decoded\dialer

Then make your edits and compile using:

apktool b c:\decoded\dialer c:\out\DialerTabActivity.apk

After this don't forget to copy the META-INF folder over from the old apk into the new one.

If you're looking to make it transparent there's a guide around here somewhere. You need to change some xmls too. Sometimes some 9.png images don't decompile properly... you'll need to recreate those somehow.
[Galaxy S I9000 Themes and Apps] PIRATA!:
Mmmmm...what is the problem??

=======================================================
::::::: Auto-APKTool Decompile Created By Yanzi :::::::
=======================================================
Compile all APKs Exist Here
U want to Use Additional Resource?[y/n]y
What Resource (Tag) U Want to Use: sgs
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\stefano\apktool\framework\1-sgs.ap
k
S: Could not decode file "drawable-hdpi/call_default_btn_normal.9.png" to "drawable-hdpi-v4/call_default_btn_normal.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_pressed.9.png" to "drawable-hdpi-v4/call_default_btn_pressed.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_selected.9.png" to "drawable-hdpi-v4/call_default_btn_selected.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_focus.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_focus.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_press.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_press.9.png"
S: Could not decode file "drawable-hdpi/listview_focus_bg.9.png" to "drawable-hdpi-v4/listview_focus_bg.9.png"
S: Could not decode file "drawable-hdpi/listview_press_bg.9.png" to "drawable-hdpi-v4/listview_press_bg.9.png"
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02050097
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

Premere un tasto per continuare . . .
[Galaxy S I9000 Themes and Apps] Jumba:
My guess is you need to set twframework-res as package 2 somehow? But I've never seen that error...

Try replacing the 1.apk and 2.apk files in the install folder with your renamed framework and twframework-res.apk's. Then you don't have to use the -t switch when decompiling.
[Galaxy S I9000 Themes and Apps] PIRATA!:
When I installed the app, in Document and Setting I only have the 1.apk file..no 2.apk one.

I'll try with what you say.

About the residencies, applying it is it all the same technique for write all menu or every menu has different file involving and I must go searching for them?
[Galaxy S I9000 Themes and Apps] Jumba:
From my unserstanding you need to use the frameworks that the file you're decoding depends on... I've always just used the fw-res and twfw-res from the rom I'm using without issues.

It seems to be looking for dependencies that aren't available in the frameworks you are using. Perhaps try and get the files that match the dialer you downloaded, or try another dialer.
[Galaxy S I9000 Themes and Apps] PIRATA!:
The fact is that I have tryed with Darky's ROM v9.1 Dialer and its frameworks files, and I get the same problem.

This means he used different files mixed together for making the theme??

In the mean time I'll try with a stock rom files and let you know if it is like you say.
[Galaxy S I9000 Themes and Apps] PIRATA!:
I tryed to get framework files from Darky's ROM v9.2 and rename framework-res.apk in 1.apk and twframework-res.apk in 2apk, place them in the Documents and Settings folder of apktool and try them on the DialerTabActivity.apk from same Darky's v9.2.

Here is what I got:

=======================================================
::::::: Auto-APKTool Decompile Created By Yanzi :::::::
=======================================================
Compile all APKs Exist Here
U want to Use Additional Resource?[y/n]n
Start...

Premere un tasto per continuare . . .

I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\stefano\apktool\framework\1.apk
S: Could not decode file "drawable-hdpi/tw_tab_selected_bar_left.9.png" to "drawable-hdpi-v4/tw_tab_selected_bar_left.9.png"
S: Could not decode file "drawable-hdpi/tw_tab_selected_bar_right.9.png" to "drawable-hdpi-v4/tw_tab_selected_bar_right.9.png"
I: Loading resource table from file: C:\Users\stefano\apktool\framework\2.apk
I: Copying assets and libs...

Premere un tasto per continuare . . .

What do you think? Is it ok, regardless for those two files??

EDIT:

This is what I get from the dialer I would like to decode using those same framework files:

=======================================================
::::::: Auto-APKTool Decompile Created By Yanzi :::::::
=======================================================
Compile all APKs Exist Here
U want to Use Additional Resource?[y/n]n
Start...

Premere un tasto per continuare . . .

I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\stefano\apktool\framework\1.apk
S: Could not decode file "drawable-hdpi/call_default_btn_normal.9.png" to "drawable-hdpi-v4/call_default_btn_normal.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_pressed.9.png" to "drawable-hdpi-v4/call_default_btn_pressed.9.png"
S: Could not decode file "drawable-hdpi/call_default_btn_selected.9.png" to "drawable-hdpi-v4/call_default_btn_selected.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_focus.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_focus.9.png"
S: Could not decode file "drawable-hdpi/dialer_tab_button_bg_press.9.png" to "drawable-hdpi-v4/dialer_tab_button_bg_press.9.png"
S: Could not decode file "drawable-hdpi/listview_focus_bg.9.png" to "drawable-hdpi-v4/listview_focus_bg.9.png"
S: Could not decode file "drawable-hdpi/listview_press_bg.9.png" to "drawable-hdpi-v4/listview_press_bg.9.png"
I: Loading resource table from file: C:\Users\stefano\apktool\framework\2.apk
I: Copying assets and libs...

Premere un tasto per continuare . . .

Again: what do you think? Is it ok, regardless for those undecoded files?? Can I just extract from the apk manually and overwrite the undecoded?? They are only images...
[Galaxy S I9000 Themes and Apps] Jumba:
Much better, yes, but you'll still need to replace those files at some stage. APKTool will have replaced those with dummy files. See for yourself - they will be there but are probably 0 bytes. You can most likey compile the dialer as-is then copy those .9.png files back into the apk afterwards or replace them with new ones.
[Galaxy S I9000 Themes and Apps] PIRATA!:
Oh..but can't I just replace them now before compiling? Do I have to do this after when the apk file is already done?!?

Ps: I have to edit 2 images. Do I have to use Adobe Photoshop and Fireworks + PNGOptimizer?? I don't have Photoshop and Fireworks, and never used them, so I'm a little bit noob with those....
[Galaxy S I9000 Themes and Apps] Jumba:
If you want to replace. 9.png images before compiling you'll need to re-create the 9-patch info (the thin black lines around the edges of the image) else it won't compile. If this isn't possible for some reason then you can add the original compiled ones in afterwards. I can send you the pre-compiled images that you are missing when I get home later if you like... but take some time to read up on how 9-patches work, it could save you some headaches in the future.
[Galaxy S I9000 Themes and Apps] PIRATA!:
The fact is that those images are modded images from the creator of the modded Dialer: in the thumbs they look all like a big black square, but if I open them they look all blank trasparent.

Probably he added them after compiling the .apk as you say.

I think I'd better do the same.

About modding the images I told you up here, I aldready did with a free tool :)
[Galaxy S I9000 Themes and Apps] PIRATA!:
Any links?

Ps: I edited my previous post:
[Galaxy S I9000 Themes and Apps] PIRATA!:
Do you refere to this thread? http://xdaforums.com/showthread.php?t=863519
[Galaxy S I9000 Themes and Apps] Jumba:
No, that thread is about adjusting dpi.
[Galaxy S I9000 Themes and Apps] PIRATA!:
Mmmm..I can't find anything.......
[Galaxy S I9000 Themes and Apps] Jumba:
:(

http://www.google.com/m?q=xda+dialer+transparent

The answer is in the 2nd result.
[Galaxy S I9000 Themes and Apps] PIRATA!:
......sorry. I haven't made that kind of searhing on xda.:(

Ps: I realized that you have made Glass Dialers your self.

I have done one based on GlassDialer with Darky's rom icons that works good...but it lags in the Logs and Favourite menues because my LiveWallpaper is heavy, so I was looking for remove trasparency from underneath the 2 squares Logs and Favourites on top of list (between Keypad and Contacts squares) and see if I could even remove trasparency underneath all the Log and Favourite listing, so to have trasparency only when the Keypad is loaded

Do you understand what I'm looking for doing?
[Galaxy S I9000 Themes and Apps] Jumba:
Glad to hear it's working. I have tried to make the call log and favorites transparent but all I get is white squares... perhaps you'll have better luck.

Lag seems to be standard in the dialer. :(
[Galaxy S I9000 Themes and Apps] MikeyMike01:
APK Manager

Notepad++

Photoshop

Time

Alcohol Patience
[Galaxy S I9000 Themes and Apps] PIRATA!:
Have you ever tryed the new TouchWizLauncher with trasparent App Drawer? The live wallpaper underneath just freezes, and that prevent to have lags.

Do you think we can do something similar on Dialers? If you notice, you could either interact with the live wallpaper underneath the Dialer, so the trasparent is in fact something that enables you also to "touch" the wallpaper!!

I don't think that with stock dialers we are actually touching the livewallpaper underneath even if we don't see it....

What can you say??
[Galaxy S I9000 Themes and Apps] PIRATA!:
Any clue?? :)
[Galaxy S I9000 Themes and Apps] Jumba:
No idea, it's beyond my abilities. ;)

But I'm sure anything's possible if you compare the xmls.
[Galaxy S I9000 Themes and Apps] king.com:
Stock Theme

Where to find stock theme JPO???, or another with colorized settings icon? (not gray, not same color from all icons), but JPY (Darky's) compatible?

Thanks :)
[Galaxy S I9000 Themes and Apps] PIRATA!:
What do you mean? Do you compare xml files with some apps? and with what should I compare them??

The fact is that all customized themes are deodexed, and this means that stock roms are not able to accept those themes.

You should use your standard theme until you decide to root and install coocked rom....otherwise you should make some research and find out how to install modded themes on stock roms......and is not that simple because you must go and delete all .odex files for every files involved in the new themes, and all that must be done manually and all in one shot, without rebooting or some.

In a few words, don't ever try to lose your time with that: it is a boog thing, and in my all experience with file borwser moving and deleting stuff from system files, I have made it only once!
[Galaxy S I9000 Themes and Apps] le_bron:
Where are the icons of the settings menu placed? I am looking in all the framework folders and I cant find them!

SGS/Tapatalk
[Galaxy S I9000 Themes and Apps] PIRATA!:
Do you mean the icons of the Settings menu listing? The menu with Wireless and network, Call setings, Sounds, Display,....eh??

Tey are in Settings.apk, subfolder \res\drawable-hdpi\
[Galaxy S I9000 Themes and Apps] le_bron:
Yes man thank you!
[Galaxy S I9000 Themes and Apps] PIRATA!:
Thank me with the button ;)
[General Questions and Answers] folusmile:
i am using HtC HERMES 300,doest have network on it also when charging showing green light instead of red.i tried to upgrade radio but still the same.Also i cant upgrade my spl 1.40 to 2.40 i tried many times but still the same.

can anyone help me plssssssssssssssssssssssss

Thanks

dania
[Nook Color General] sbddude:
Is there anyway to tweak the touchscreen sensitivity? In other words, a lot of the time the Nook is interpreting a tap as a drag. When I tap an app on the home screen to launch it, the screen moves and bounces back as if I tried to swipe to another home screen.

I would like to set the minimum distance for a drag/swipe to greater than it is now.
[Nook Color General] zdrifter:
Have not see a way to adjust the sensitivity ... that being said, many have reported the screen sensitivity is greatly affected by 'residue' on the screen (i.e. skin oils, moisture, etc) and have seen lots of benefit from a screen protector .. this has helped lots for me but especially the edge areas of the screen remain darn sensitive.
[Nook Color General] miemens:
There is an adb method on the dev wiki that helped me a bit. I haven't figured out copy/paste on this thing yet, but a google search for "nook devs recalibrate screen" should get you there.
[Nook Color General] phirephotog:
I don't think this will work on setting a minimum movement like you mentioned, but there is a howto on nookdevs about tweaking the touchscreen sensitivity.

http://nookdevs.com/Recalibrate_the_NookColor_touch_screen

Hope that helps!
[Android Themes] xift:
Hi,

I just started a new project.

It's a little piece of software that can be used to easily interchange image files in framework-res.apk and other files. Currently it's just a proof of concept. The software is able to pull the files from phone, extract them, exchange the statusbar (just for my phone right now) and push it all back to the phone.

I first wanted to make it wysiwyg... But that won't work because the devices are too different after all. And I still have to find a way to deal with odex'd files.

However, I think it will be one of the more comfortable ways to exchange resource files.

To check it out or for feature requests and stuff look at https://sourceforge.net/projects/droidthemetool/

Hope you are interested...

Not sure if I am gonna use it myself! Apart from replacing my notification bar with a black one.
[Android Themes] Raadius:
Cool, would love to see something easier to mod / customize the status bar. I gather you would have to be rooted for this?
[Android Themes] xift:
Yes you have to be root. It is necessary to remount the system partition writable and replace the resource files.
[Galaxy 3 General] jazux:
so i have JPF and lagfix but when i use, example CoPilot live, or navigon it doesnt find my location and the gps optimiser isnt working, but when i use google maps it finds my location in couple secs... whats wrong???????? and the #*#*1472365#*#* code DOES NOT work for me it doesnt do anything... gps booster doesnt work either... this SUCKS!!!!!! :mad: :mad: :mad: :mad: :mad:
[Galaxy 3 General] stubborn_d0nkey:
are you sure google maps finds your gps location, not your network location? well if so, then just opening google maps and getting your location then opening your app of choice should work (a lil hassle, yes, but not that big). Also I'd check to see if gpssetup2 finds your location, and how long it takes.

You can make a homescreen shortcut for gpssetup2 by downloading anycut, choosing shortcuts ->any cut->gpssetup2
[Galaxy 3 General] jazux:
Your right... when i turn dont use wifi location it doesnt find me anymore... ill try any cut

EDIT: how do i make the shortcut? I press add shortcut----->make your own----->gpssetup2 and then it says shortcut created but where is it? When i press activities it just gives me a black screen... thanks in advance
[Galaxy 3 General] jazux:
ok. i got the shortcut but it DOESNT work!!!!
[Galaxy 3 General] stubborn_d0nkey:
really? did you try the other stuff?
[Galaxy 3 General] jazux:
I mean the shortcut works but it doesnt get my location i waited over 10mins... <----- and if it takes more than 10mins im not going to use it.... what is wrong? It must be in the rom cuz when i was in eclair it worked perfectly... qhat other methods???
[Droid Incredible Q&A, Help & Troubleshooting] billymac122:
Anyone else using the AnimMod app from the market? Feelings on it? Ive been using it for about a week now and am experiencing some lag, but i really like the anims and dont want to get rid of it, so is there something i can do to make it more snappy? thoughts?

Running:

Droid Incredible AMOLED

Skyraider 3.5 w/Uncommon

HeyItsLou #8
[Droid Incredible Q&A, Help & Troubleshooting] superchilpil:
It's pretty cool

About the lag, anim mod just replaces the transition files within your Rom so for you to have a lag

Either the transition files are broken or your Rom lags
[Droid Incredible Q&A, Help & Troubleshooting] billymac122:
Thanks for the input.

I reset the animations back to stock then uninstalled the app. After re-installing it and rebooting, it seems to have corrected the problem. I was just a little leery of deleting it at first, obviously I'm pretty new to this ha.
[Droid Incredible Q&A, Help & Troubleshooting] superchilpil:
Once you get into this you won't go back haha
[EVO 4G General] Cuppeerr:
Ever since I went to get a new evo at sprint (I shattered the screen on my previous one) iv been getting horrible data speeds, and when i restored it to cyanogen 7 it never says i have 3g service no matter where I go, before I got the new evo I was running the exact same rom and would get 3g service, any help? Ive tried using mys warm two point two, cyanogen nightlys every rc, and stock rooted and I cant get good speeds at all.
[EVO 4G General] SgtUSMC:
Try this... I posted it yesterday as its own thread but its already fallen to the depths if the forum...

I've been running CM7 since it was being compiled by lithid. At some point my 3G broke and I tried to ask for help but never could find a complete answer. At some point someone said the words "##data#" and "call sprint." Below is a step by step guide to what I did to fix 3G and it's been working through numerous wipe/flashes since. If someone already posted this information I apologize. This has worked for me and at least one other person that I know of, so hopefully it doesn't ruin anyone's phone.

1. Download MSL Reader from market, run it and write down results.

2. Nandroid current rom.

3. Flash cauklins format all

4. Flash latest rooted OTA (I found one in the wiki)

5. Boot OTA (I skipped all of the google login/set up stuff)

6. Enter ##3282# (##data#) in to the dialer.

7. Menu will popup select "Edit Mode"

8. Enter MSL when it asks for password.

9. Tap "Data Profiles"

10. Tap Menu button, then "Restore"

11. Phone will reboot in 10 seconds or you can click ok.

12. Hands free activation will come up shortly after phone reboots, then PRL update and Firmware update. (It found no frimware updates I think because I used the latest OTA) Let it process all.

13. Power phone off.

14. Boot to bootloader (hold power + vol down)

15. Select recovery.

16. Flash format all again.

17. Nand restore.

18. Enjoy working 3g.

I did all this the first time on the phone with sprint. As soon as I booted the OTA I had 3g again, I just told them it was broken and they gave me the steps. I just did it all again while typing this to verify that it works rather than try to rely on my memory of what i did.

Hope this helps. I also did the ##gpsclrx# while I had that sprint garbage installed.

If these are instructions to seriously break your phone, can someone who knows better than me please correct me. So far I've had no problems, other than fixed 3G:)
[EVO 4G General] SgtUSMC:
From what I've seen it seems to only happen to those with 0004 hardware
[EVO 4G General] Cuppeerr:
THIS WORKED!!!! Thank you so much!
[EVO 4G General] Registerforwhat:
Make sure you do this on sense 1.0 not Myns WarmZ, luckily i was able to restore to my original sprint ROM and it activated 3g Immediately.
[EVO 4G General] mic.mayorga:
why does everyone get good results with this? it hasnt done crap for me
[Droid Incredible Q&A, Help & Troubleshooting] mtnbkerman:
Hi guys, really hope I am posting this in the right area and hope its not a repost.

Rooted my phone and installed cm 6.1 about a month and a half ago (very stable). Recently decided to start fooling around with other roms and kernels. All ways follow through with the wipe sequence before installing any rom/kernel. Have tried several variations of roms/kernels and can not get any of them stable. My main issue is charging: seems while charging, the process terminates (for example: woke up in the middle of the night and the charging process was stopped at 73% and the amber led was on but no charge animation, powered off and then back on, reads 31%). Seems to happen with any rom, kernel or variation of both that I load except cm6.1 with the provided kernel. Any input would greatly be appreciated. Could this issue possibly be related to a specific version of my inc?
[Droid Incredible Q&A, Help & Troubleshooting] wdfowty:
edit: looks like it got moved to Q&A already by a moderator

My 2 cents: try a factory reset from the settings menu, then follow this "get back to stock" thread: http://xdaforums.com/showthread.php?t=786436

If you can't charge after that, it's probably a hardware issue