hello!
Could anyone tell me how to center the clock at the base XWLPY?
I've tried all possible ways and no way. I get an error when compiling.
Ap0calipsis said:
hello!
Could anyone tell me how to center the clock at the base XWLPY?
I've tried all possible ways and no way. I get an error when compiling.
Click to expand...
Click to collapse
Do you have a log of the error? If yes then attach it.
Maybe that the problem is not the base firmware.
You can try to decompile the systemUI and simply recompile (without making any change) just to see if the problem is the systemUI itself, assuming it's a deodexed one, of course.
If that works this way means that you code has something wrong.
y u no post in Q&A?
Related
Hello everyone!
I have tried and tried to customize framework-res.apk, and what a nightmare!! I made a script that works all fine when using Defrost 2.9a and 2.5, but if i try Cyanogenmod or Defrost 3.0, i get force close. When I modify both xml and images.
What am I doing wrong?
Bestest of best regards,
Jonas Hald
Check this initially:
http://forum.xda-developers.com/showthread.php?t=722993
Daelyn said:
Check this initially:
Click to expand...
Click to collapse
As i get it, that doesnt work when I edit the xml, then it has to be recompiled?
Sure
If u change the code it has to be Recompiled ;-)
xtcislove said:
Sure
If u change the code it has to be Recompiled ;-)
Click to expand...
Click to collapse
Yeah, so I do
But i get force close in cyanogen and DF 3.0 - but the Circle Mod online framework modifier can do it, without force close.
Are you sure its not semi-edit the files? I think there are just various versions of the framework.
xtcislove said:
Are you sure its not semi-edit the files? I think there are just various versions of the framework.
Click to expand...
Click to collapse
Semi-edit the files?
So i'm trying to edit the status bar background.png file. I've made a copy of the framework, changed it to zip, replaced file, changed back to apk. But the systems folder is read only. how do i go about changing it to 'write' so I can replace the frameworks???
Also, if my background is transparent, do i also need to change something in the xml if I want the new background to be a solid color
I've been debugging my mms themed app and have come up on a problem. Everything works great, but even a simple decompile/recompile seems to break the search messaging function. I get no errors during decompile/recompile, and no installation errors. Search just doesn't work. I'll post a logcat in case somebody can see something i missed. I'm using apk manager 5.0.2 and have also tried multi-tool 1.0.2.
-My question is, could someone decompile, then recompile the stock 4.0.3 mms.apk, then try to search via the magnifying glass at the bottom? Mine always FC's when i hit search. Thanks for the help guys.
also, i cannot decompile with dependencies, as it tells me that the framework-res.apk isn't the correct dependant, try again. decompiling without dependants seems to work fine, but i have a feeling i'll have to be able to get it with dependants since i think the search function uses external sources.
Exactly same problem with gingerbread mms.apk from LG Optimus Black.
If I retouch images or smali code, no problem at all... but when try to modify a .xml inside /values/ and then replace resources.asrc, search function returns a FC!!!!
It must be a format problem, but how to bypass this issue?
Regards.
Huexxx said:
Exactly same problem with gingerbread mms.apk from LG Optimus Black.
If I retouch images or smali code, no problem at all... but when try to modify a .xml inside /values/ and then replace resources.asrc, search function returns a FC!!!!
It must be a format problem, but how to bypass this issue?
Regards.
Click to expand...
Click to collapse
I bet on recompiling, you are including extra XML files you never edited. Apktool has a nasty bug of adding random extra '\' to files. Check your edited files too.
Hmmmm odd, apkmultitool doesn't introduce the bug you report. And I blacked out a stock 4.0.4 apk and search is fine.
good day.
lol i forgot about this thread. I fixed it a long time ago Turned out to be a bug in the version of apktool i was using.
chopper the dog said:
Hmmmm odd, apkmultitool doesn't introduce the bug you report. And I blacked out a stock 4.0.4 apk and search is fine.
good day.
Click to expand...
Click to collapse
artvandelay440 said:
lol i forgot about this thread. I fixed it a long time ago Turned out to be a bug in the version of apktool i was using.
Click to expand...
Click to collapse
/me slaps chopperthedog upside the head with nitsuj17
Hi guys, I'm looking for the status bar pattern in the SystemUI.apk or framework-res.apk in order to change it into a full transparent white through ZipThemer (and finally have a transparent status bar in 4.2.2 stock :victory
But there's so many png in those files that I don't know which one I should use
Can you guys help me ?
Many thanks !
PS : Here are my files if you want to check quickly : https://www.box.com/s/4ij73xgwutyin6bmmkih
UP
Next time, try Google search if you aren't comfortable with xda search.
Literally the first link when I searched for "status bar png systemUI.apk"
Please read the entire thread before you do anything. The instructions in the OP are flawed.
Hung0702 said:
Next time, try Google search if you aren't comfortable with xda search.
Literally the first link when I searched for "status bar png systemUI.apk"
Please read the entire thread before you do anything. The instructions in the OP are flawed.
Click to expand...
Click to collapse
Thank you but it didn't work I've tried many tutorial by now and it didn't work. I really want to achieve it through ZipThemer because I want to be able to change quite easily
azertguigui said:
Thank you but it didn't work I've tried many tutorial by now and I didn't work. I really want to achieve it through ZipThemer because I want to be able to change quite easily
Click to expand...
Click to collapse
With the new roms this is not an option as it is no longer a png file file a combo of color codes thoughout the systemui and framework res. It took me 3 months to find all the changes to redirect it to a png
zelendel said:
With the new roms this is not an option as it is no longer a png file file a combo of color codes thoughout the systemui and framework res. It took me 3 months to find all the changes to redirect it to a png
Click to expand...
Click to collapse
I'm not sure I understand your post. You mean I have to change .xml files to apply a transparent status bar ? That is not a problem with ZipThemer, right ?
azertguigui said:
I'm not sure I understand your post. You mean I have to change .xml files to apply a transparent status bar ? That is not a problem with ZipThemer, right ?
Click to expand...
Click to collapse
What I mean depending on your rom is that you will have to adjust the color codes. Your issues is that the main place one of these changes needs to be made are in a place tat cant be adjusted with zip themer.
zelendel said:
What I mean depending on your rom is that you will have to adjust the color codes. Your issues is that the main place one of these changes needs to be made are in a place tat cant be adjusted with zip themer.
Click to expand...
Click to collapse
Ok so what would be the solution ? (without ZipThemer)
(By the way thanks for helping me )
azertguigui said:
Ok so what would be the solution ? (without ZipThemer)
(By the way thanks for helping me )
Click to expand...
Click to collapse
You would have to decompile the both Framework-res apk and the systemui.apk and make about 15 xml edits to redirect it to an image and then remove a few places. Then recompile the apks and then flash them. This would have to be done for each rom you flash.
What are you trying to do over all?
zelendel said:
You would have to decompile the both Framework-res apk and the systemui.apk and make about 15 xml edits to redirect it to an image and then remove a few places. Then recompile the apks and then flash them. This would have to be done for each rom you flash.
What are you trying to do over all?
Click to expand...
Click to collapse
I just want a transparent status bar :crying:
azertguigui said:
I just want a transparent status bar :crying:
Click to expand...
Click to collapse
This option is in most custom roms. What rom are you running?
zelendel said:
This option is in most custom roms. What rom are you running?
Click to expand...
Click to collapse
4.2.2 stock with some mods (beats louder, a custom battery in status bar, a new locking...)
I agree that I have no idea why CM doesn't add this in their most recent ROM's, making the statusbar transparent is such an improvement to the UI immediately
...but I'm having issues installing the required java & android sdk files to my PC so I'm unsuccessful when trying to decompile the SystemUI.apk. Has anyone done that mod to a TW 4.1.2 ROM (Im on JMTJB v6 btw). If so think you could share the edited xml file(s) or the SystemUI apk? I also posted a link of my SystemUI.apk to see if anyone is willing to edit the needed xml files. Just name your price Thx ahead.
I can't be the only one wanting this mod, right? There has to be someone else who got it done on TW 4.1.2
http://forum.xda-developers.com/showthread.php?t=2109973 this should help you out
krazierokz said:
http://forum.xda-developers.com/showthread.php?t=2109973 this should help you out
Click to expand...
Click to collapse
Thank you...but as you see (and I stated on the o.p.) I have problems with my old-ass pc and I can't get the necessary files installed for me to decompile any apk. I have tried and tried but it just won't do it and I'm left unable to decompile crap. I know EXACTLY what I need to do but I CAN'T DECOMPILE the SystemUI.apk to do it. . That's the reason I'm asking if someone (that knows how to decompile, edit the status_bar.xml & tw_status_bar.xml, & compile again) could hook me up...and of course I'm willing to pay for their time.
Hi,
Can anyone provide me a solution to disable the red coloured pattern trail in lockscreen when wrong pattern is entered.
I have tried with gravity box, but not working, Please help.Thanking you in advance.
midhunbhayi said:
Hi,
Can anyone provide me a solution to disable the red coloured pattern trail in lockscreen when wrong pattern is entered.
I have tried with gravity box, but not working, Please help.Thanking you in advance.
Click to expand...
Click to collapse
Bro its quite hard. You should be able to trace out under which 'ACTIVITY name' lock screen layout is there and the corresponding Classname which gets executed and you should change the hash value for the corresponding colour in code level and then compile it into a apk file.You should know to compile a new rom for doing this.
midhunbhayi said:
Hi,
Can anyone provide me a solution to disable the red coloured pattern trail in lockscreen when wrong pattern is entered.
I have tried with gravity box, but not working, Please help.Thanking you in advance.
Click to expand...
Click to collapse
Gravity box worked fine for me.
gokukaushik said:
Bro its quite hard. You should be able to trace out under which 'ACTIVITY name' lock screen layout is there and the corresponding Classname which gets executed and you should change the hash value for the corresponding colour in code level and then compile it into a apk file.You should know to compile a new rom for doing this.
Click to expand...
Click to collapse
For this small change , Why should i know to compile a new ROM .??? Are You kidding??
midhunbhayi said:
For this small change , Why should i know to compile a new ROM .??? Are You kidding??
Click to expand...
Click to collapse
Hmm..... Well,how else can you do it if you want to change a functionality in the code.I guess you know that all the apk are compiled versions of code and other resources.You need to have source code to make your changes not the compiled one.Another possiblility is that you can decompile the code to from dex files to java files and make your changes and recompile it back to .dex files, patch it back to your apk file for it to work properly.I am not aware of any tools/foolproof method that could do it properly.Educate me if you know how to do it without compiling a new rom.
gokukaushik said:
Hmm..... Well,how else can you do it i..................................Educate me if you know how to do it without compiling a new rom.
Click to expand...
Click to collapse
Modify the apk and recompile it and put back into the phone using any file explorer giving appropriate permission is enough to do this. There is no need to compile the entire ROM , my friend.
Could you elaborate the procedure to do it.How to modify a apk file.only images and layout files files could be decompiled and patched.As far as my experience goes even if you decompile dex to jar,the resulting code after patching cannot be recompiled back to workable dex files.only possible way to do it is using smali file generation. Believe me it is better to go with compiling a new rom from source rather than learning smali language for your patch.
Sent from my C6502 using XDA Free mobile app