Removing Brightness Bar from Notifications Panel, is this possible? - Galaxy Tab Q&A, Help & Troubleshooting

I'm looking for a way to remove the brightness bar because it takes up too much room. I always use my tab in landscape, so that extra room would help with viewing notifications. Anyone have an idea if this is possible or how its done? Thanks!

Its not possible....at least nothing easily done.
From the Tab.
www.twitter.com/ayman07

TheChampJT said:
I'm looking for a way to remove the brightness bar because it takes up too much room. I always use my tab in landscape, so that extra room would help with viewing notifications. Anyone have an idea if this is possible or how its done? Thanks!
Click to expand...
Click to collapse
Hi TheChampJT, Hi Ayman07
Just Decompile framework-res.apk with :-
java -jar apktool.jar d framework-res.apk framework-res
then edit file
framework-res\res\layout\zzzz_quickpanel_brightness_settings.xml
do what you want to do....
recompile with
java -jar apktool.jar b framework-res out\framework-res.apk
You have to install Java and apktool first....
Good Luck...

Sounds simple. Maybe an entire saturday.

Galaxyer you know lot about android, please can you tell me how to install windows 7 on GT

and osx too please!!

framework-res\res\layout\zzzz_quickpanel_brightness_settings.xml
do what you want to do....
Click to expand...
Click to collapse
So if im playing risky and delete it, any other xml files i need to edit other then ..\framework-res\res\values\public.xml ?
Removing lines in public.xml and deleting zzzz_quickpanel_brightness_settings.xml results in many errors when rebuilding apk
bad idea.. way to brut.

biopsin said:
So if im playing risky and delete it, any other xml files i need to edit other then ..\framework-res\res\values\public.xml ?
Removing lines in public.xml and deleting zzzz_quickpanel_brightness_settings.xml results in many errors when rebuilding apk
bad idea.. way to brut.
Click to expand...
Click to collapse
Do not delete file...just edit..resize the bar height to 0
and do not edit public.xml
errors in recompilation may be due to .9.png. to proof, just decompile, recompile without editing

TheChampJT said:
I'm looking for a way to remove the brightness bar because it takes up too much room. I always use my tab in landscape, so that extra room would help with viewing notifications. Anyone have an idea if this is possible or how its done? Thanks!
Click to expand...
Click to collapse
It's not easy because of deep integration. If you remove it you'll get many FCs.
But you can make it smaller like me (see screenshot).

tabing said:
Galaxyer you know lot about android, please can you tell me how to install windows 7 on GT
Click to expand...
Click to collapse
fdisk .

errors in recompilation may be due to .9.png. to proof, just decompile, recompile without editing
Click to expand...
Click to collapse
Yes did the test and only warning is
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'permlab_accessLocationExtraCommands' has no default trans
lation in C:\Users\Administrator\Desktop\APKTool\framework-res\res; found: bg cs
da de el es es_US et et_EE fi fr ga ga_IE hr hu is is_IS it kk kk_KZ ko lt lv m
k mk_MK nl no no_NO pl pt pt_PT ro ru sk sl sl_SI sr sv tr uk
I: Building apk file...
Unfortunely any rebuild i do jams on boot..
@ silver-alx : thats a nice solutution!
thank u both..

No errors, no FC, no boot jam:-
Thanks

tabing said:
Galaxyer you know lot about android, please can you tell me how to install windows 7 on GT
Click to expand...
Click to collapse
spirit32 said:
and osx too please!!
Click to expand...
Click to collapse
Do you mean:- ?????
http://forum.xda-developers.com/showthread.php?t=942561

What strikes me is by decoding and building only the original i still loose 87883 bytes in the prosess. Is the compiler compressing better?
tested this version and still jam..geez this is suppose to be easy

The recompiled apk is without signature, so that is the diff.
and you cannot use the recompiled apk as it is.
You have to manually drag and drop:-
-resources.arsc file
-res folder
from unsigned recompiled apk to the original signed apk
The generated apk may diff in size according to the changes made
regards.

tnx for your reply..
did what u pointed out, but still it jams..I use 7zip soft, do you recommend something other? The prosess of moving asset+res works fine between signed<-build, but when i overwrite my current running framework, the icon changes to a unreconized icon and everything chrashes..
I know my editing is good, it must be the damn signing thingy..I think 7zip is repacking and therefore brakes the signing in some way..

Hi biopsin,
use winrar and open both signed and unsigned apks, select both res folder and resources file and drag them together from unsigned and drop them onto signed apk...wait for extracting, then winrar will ask you for the method; you have to choose zip, store:-

Finally solved.. Problem is when decompile, it creates in res-folder "...-en-hdpi-v4, ...-hdpi-v4," so on why does it add -v4 to these folders? did not noticed this at first..

I'm unfortunely failing removing the brightness panel..manage to move it and shrink it but not setting it =0
followed the example here
im suppose to override hight and width..but i cant quite figure it out..
would someone maybe supply a suggestion?

spirit32 said:
and osx too please!!
Click to expand...
Click to collapse
Just get the source and cross-compile it against the Android SDK. You'll need to recode the kernel to run on a non-intel CPU though.
Not a big deal....

Related

Sign framework-res.apk on Windows 7

Hello,
how can i sign framework-res.apk on Windows x86????
a.woellert said:
Hello,
how can i sign framework-res.apk on Windows x86????
Click to expand...
Click to collapse
I forgot how you do it, search it. Search "Test sign windows"
a.woellert said:
Hello,
how can i sign framework-res.apk on Windows x86????
Click to expand...
Click to collapse
Why do u want to sign it ? if you are editing images you can simply open the apk as a zip file and drag the newly edited png's into the correct folders. Then adb push it to your phone. If you are compiling from source thats a different story, i havent done that so i would not know sorry.
Use Metamorph, but first try using the "SEARCH" option to get your answers. It's really not that hard.
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
a.woellert said:
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
Click to expand...
Click to collapse
Try making the rom by signing the entire ROM without signing the individual .apk. It should boot then.
An idea!
a.woellert said:
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
Click to expand...
Click to collapse
Andi,
If you have Eclipse setup, you could use a sample apk for testing your png edit. Drop it in your res/drawable folder of the sample apk. Eclipse will tell you if your png is valid for the android version chosen or tell you it not going to work with the error code. You would be saving steps and headaches before your flash. I also recommend using MetaMorph for the job to further skip your steps in signing apk's or zips...
K dude, if ur editing a png you DONT need to sign framework-res.apk
All u have to do is open it in your favorite compressed archive viewer 7zip/winzip blah blah
Then go into appropriate folder, drag the picture u want to edit out of it to ur computer somewhere, edit it and drag it back into the zip n then push it to your phone. SIMPLE.
Not for nothin' fellas but this page is the #1 google return on "sign apk windows7" and though I know you're just talking themes here but ... throw the rest of us googlers a bone and copypaste some instructions pretty please
In the meantime I'll keep googling.
d0ugie said:
Not for nothin' fellas but this page is the #1 google return on "sign apk windows7" and though I know you're just talking themes here but ... throw the rest of us googlers a bone and copypaste some instructions pretty please
In the meantime I'll keep googling.
Click to expand...
Click to collapse
NewYork love! lol
There is a apk on the market called signapktic.apk it should be able to sign it for you.
To sign on windows, you must have java jre or jdk installed to use the signapk.jar or the testsign.jar .

[Q] How to mod framework-res.apk and twframework-res.apk

Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.
icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck
what program are you using to edit your xml's?
chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...
yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.
avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.
I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.
When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.
PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.

Help, any alternative to apktool

Hi can anyone suggest an alternative tool for apktool. It just doesn't work for me. Whatever I do either gives compiling errors or just a bootloop. Thanks guys.
It's nice to know I'm not the only one. Anything past extract optimize and zip is useless for me. I have never had it actually compile an .apk without an error.
I'm having serious problems compiling the framework-res from a CM6.1 based ROM. It decompiles fine, but won't recompile I get hundreds of errors about missing referances.
I only wanna edit a few XML's :sad:
Sent from my HTC Hero using Tapatalk
l0st.prophet said:
I'm having serious problems compiling the framework-res from a CM6.1 based ROM. It decompiles fine, but won't recompile I get hundreds of errors about missing referances. I only wanna edit a few XML's :sad: Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Which xmls do you want to edit, and what are you wanting to change?
dean.d said:
Which xmls do you want to edit, and what are you wanting to change?
Click to expand...
Click to collapse
Thanks for replying, but I worked it out. I had some dodgy .9.png's that were breaking the compile, so I just had to remove them before compiling.
For anyone else having trouble, check the logs after you decompile to see if there are any messages about .9.pngs. If there are, remove them from the decompiled folder, compile when you are finished, then just add the .9.png's back in afterwards with WinRAR.
I was tryna change the color of the text and the border in the bottom popup menu for my Gingerbread theme
l0st.prophet said:
Thanks for replying, but I worked it out. I had some dodgy .9.png's that were breaking the compile, so I just had to remove them before compiling.
For anyone else having trouble, check the logs after you decompile to see if there are any messages about .9.pngs. If there are, remove them from the decompiled folder, compile when you are finished, then just add the .9.png's back in afterwards with WinRAR.
I was tryna change the color of the text and the border in the bottom popup menu for my Gingerbread theme
Click to expand...
Click to collapse
The reason that happens is the original "dev" who themed the framework did not decompile/modify/recompile. He merely dragged and dropped the modified .9.png
Hence when u decompile, apktool cannot find the necessarry data within resources.arsc to decompile the .9.png and hence when u go to recompile, it complains. Ur safest bet is to always decompile an apk as close to stock as possible.
Where do you place your framework-res.apk I placed mine in the platform tools folder but apktool can not find it

[Q] V - Bootloops with modded framework-res.apk usual fixes not helping

I know that there are already several thousand threads on forums spanning the internet involving recompiled framework-res.apk's causing bootloops, but the ones that are actually useful pretty much all say the same thing, that is to replace the meta-inf folder and AndroidManifest.xml from the newly built apk with the ones from the original file. Needless to say, that hasn't worked in my case, and neither has changing from apk-manager (wanam's latest version) to using command line apktool or from using flashable zips to adb pushing the file to /system/framework. Primary and secondary frameworks are both installed. The apk decompiles and recompiles without errors. SystemUI.apk, the only other apk I've worked on thus far, flashes without issues. I don't have a lot of experience with adb, and right now I can't remember the exact error it gave me, "protocol error" perhaps? Firmware is deodexed 9.0.1.D.0.10 / Nordic "SuperSport".
Quite probably I'm doing or not doing something really basic that will make me look and feel foolish once this is resolved, but I'm out of ideas and I just want to start modding some 9.png's. Does anyone have any suggestions?
Sv: [Q] V - Bootloops with modded framework-res.apk usual fixes not helping
Try the framework-res from here and let me know
http://forum.xda-developers.com/showthread.php?p=36503238
NuriJ said:
Try the framework-res from here and let me know
http://forum.xda-developers.com/showthread.php?p=36503238
Click to expand...
Click to collapse
Thanks, but that didn't work either. Here's exactly what I did, maybe there's something obvious I'm doing wrong:
1. Dragged the framework-res.apk from your zip to my apktool folder.
2. Decompiled with the command "apktool d framework-res.apk". Without the quotes, of course.
3. In this case I didn't modify anything, I simply recompiled with the command "apktool b framework-res". It gave me this:
C:\apktoolv3>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'BaMmi' has no default translation in C:\apktoolv3\framewo
rk-res\res; found: ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in i
t iw ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv th tl tr uk vi zh_CN zh_TW
I: Building apk file...
4. Deleted assets, res and resources.arsc from the original framework-res.apk inside your zip. Dragged those folders/files from within the rebuilt apk in my framework-res/dist folder to the original apk.
5. Dragged the framework-res.apk from your zip to a flashable zip. I've used this zip successfully to flash modded versions of SystemUI.apk, so I don't see a reason it wouldn't work for this.
6. Booted into TWRP recovery.
7. Wiped cache and dalvik cache.
8. Flashed the zip.
9. Bootlooped.
Am I missing something? I've gotten so used to using apk-manager that I wouldn't be surprised if it's just something I'm doing wrong in apktool.
shockwaverider said:
Thanks, but that didn't work either. Here's exactly what I did, maybe there's something obvious I'm doing wrong:
1. Dragged the framework-res.apk from your zip to my apktool folder.
2. Decompiled with the command "apktool d framework-res.apk". Without the quotes, of course.
3. In this case I didn't modify anything, I simply recompiled with the command "apktool b framework-res". It gave me this:
C:\apktoolv3>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'BaMmi' has no default translation in C:\apktoolv3\framewo
rk-res\res; found: ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in i
t iw ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv th tl tr uk vi zh_CN zh_TW
I: Building apk file...
4. Deleted assets, res and resources.arsc from the original framework-res.apk inside your zip. Dragged those folders/files from within the rebuilt apk in my framework-res/dist folder to the original apk.
5. Dragged the framework-res.apk from your zip to a flashable zip. I've used this zip successfully to flash modded versions of SystemUI.apk, so I don't see a reason it wouldn't work for this.
6. Booted into TWRP recovery.
7. Wiped cache and dalvik cache.
8. Flashed the zip.
9. Bootlooped.
Am I missing something? I've gotten so used to using apk-manager that I wouldn't be surprised if it's just something I'm doing wrong in apktool.
Click to expand...
Click to collapse
you need to install the semcgenericUPS file as well....I cant think of the exact commands now, but I will try and dig them out and post them tomorrow...
gregbradley said:
you need to install the semcgenericUPS file as well....I cant think of the exact commands now, but I will try and dig them out and post them tomorrow...
Click to expand...
Click to collapse
If you mean install it as a secondary framework in apktool, I've done that.
Sent from my LT25i using xda premium
shockwaverider said:
If you mean install it as a secondary framework in apktool, I've done that.
Sent from my LT25i using xda premium
Click to expand...
Click to collapse
ok, I think you may need to ask in the apktool thread in android hacking and develpment section
Before I go asking there I was thinking it might be worth starting over from scratch, using a completely stock firmware instead of spida_singh's modded version and flashing Nuri's deodexing package. Not that I really expect it to help, but it's worth a shot.
Sent from my LT25i using xda premium
You were right man.. I just changed the framework-res for the first time today and it didn't boot. Then i've tried without even touching anything.. Just with a clean recompile but still, it bootloops
NuriJ said:
You were right man.. I just changed the framework-res for the first time today and it didn't boot. Then i've tried without even touching anything.. Just with a clean recompile but still, it bootloops
Click to expand...
Click to collapse
Frustrating, isn't it? I haven't had much time these past few days to really follow up any more on this, like gregbradley said, we might need to ask in the apktool thread, but I've wanted to make sure I've tried absolutely everything else before I ask there. I think I'm pretty much at that point now.
shockwaverider said:
Frustrating, isn't it? I haven't had much time these past few days to really follow up any more on this, like gregbradley said, we might need to ask in the apktool thread, but I've wanted to make sure I've tried absolutely everything else before I ask there. I think I'm pretty much at that point now.
Click to expand...
Click to collapse
Yes, I think the apk tool is not compatable with ICS framework without some modifications. There are work arounds but asking the people who use it most will get you the best answers
gregbradley said:
Yes, I think the apk tool is not compatable with ICS framework without some modifications. There are work arounds but asking the people who use it most will get you the best answers
Click to expand...
Click to collapse
True. The jump from GB to ICS was a huge PITA for me, and I'm somewhat dreading upgrading to JB, as far as theming goes.
I finally just found this version of APK Manager in my DropBox, it's the one I used for months without problems but couldn't find it before because I stuck it in the wrong folder when I changed computers recently. Nuri, if you want to try it go ahead, I'm at work now and won't be able to do anything with it for at least another 12 hours, and possibly not until this weekend. I know it's a long shot, but it can't hurt to try.
EDIT: I also found this in the Xperia T/V/whatever Apps & Themes forum in the "[MOD] Reduced size onscreen buttons" thread, basically that another user (with a different device?) solved his bootloops by replacing the resources.arsc in his rebuilt apk with the original. I haven't followed that up because to be honest, that's only mildly useful for me as I tend to do a lot of modifications in /values/styles.xml as well as in other values files, so of course I need to be able to use the rebuilt resources.arsc. But for anyone not doing any edits in values, this may be enough of a workaround to get a working framework-res.
shockwaverider said:
True. The jump from GB to ICS was a huge PITA for me, and I'm somewhat dreading upgrading to JB, as far as theming goes.
I finally just found this version of APK Manager in my DropBox, it's the one I used for months without problems but couldn't find it before because I stuck it in the wrong folder when I changed computers recently. Nuri, if you want to try it go ahead, I'm at work now and won't be able to do anything with it for at least another 12 hours, and possibly not until this weekend. I know it's a long shot, but it can't hurt to try.
EDIT: I also found this in the Xperia T/V/whatever Apps & Themes forum in the "[MOD] Reduced size onscreen buttons" thread, basically that another user (with a different device?) solved his bootloops by replacing the resources.arsc in his rebuilt apk with the original. I haven't followed that up because to be honest, that's only mildly useful for me as I tend to do a lot of modifications in /values/styles.xml as well as in other values files, so of course I need to be able to use the rebuilt resources.arsc. But for anyone not doing any edits in values, this may be enough of a workaround to get a working framework-res.
Click to expand...
Click to collapse
I'll try :good:
..about that post.. He wrote that nothing changed, if he replaced the resources.arsc with stock one. Of course nothing would change then..
Hmm atleast i got the point, it's the resources.arsc file which apktool builds that's unable to boot with.
So yea maybe it's something with apktool
I'm afraid I didn't have any better luck with that version of apk-manager, either with or without replacing resources.arsc.
i find this Tutorial http://forum.xda-developers.com/showthread.php?t=1823223
ideeseng said:
i find this Tutorial http://forum.xda-developers.com/showthread.php?t=1823223
Click to expand...
Click to collapse
Good find, I'll try this out over the weekend, although I definitely hope to get an actual fix at some point.
Sent from my LT25i using xda premium
shockwaverider said:
I know that there are already several thousand threads on forums spanning the internet involving recompiled framework-res.apk's causing bootloops, but the ones that are actually useful pretty much all say the same thing, that is to replace the meta-inf folder and AndroidManifest.xml from the newly built apk with the ones from the original file. Needless to say, that hasn't worked in my case, and neither has changing from apk-manager (wanam's latest version) to using command line apktool or from using flashable zips to adb pushing the file to /system/framework. Primary and secondary frameworks are both installed. The apk decompiles and recompiles without errors. SystemUI.apk, the only other apk I've worked on thus far, flashes without issues. I don't have a lot of experience with adb, and right now I can't remember the exact error it gave me, "protocol error" perhaps? Firmware is deodexed 9.0.1.D.0.10 / Nordic "SuperSport".
Quite probably I'm doing or not doing something really basic that will make me look and feel foolish once this is resolved, but I'm out of ideas and I just want to start modding some 9.png's. Does anyone have any suggestions?
Click to expand...
Click to collapse
I suspect I know where you're going wrong..
Try Tickle My Android. Install SemcGenericUxpRes.apk before decompiling framework-res.apk. Then make your changes, recompile and use Tickle My Android's Prepare System Files For Flashing option.
If you get no luck, let me know and I can try a few things..
Sent from my SK17i using xda premium
Ticklefish said:
I suspect I know where you're going wrong..
Try Tickle My Android. Install SemcGenericUxpRes.apk before decompiling framework-res.apk. Then make your changes, recompile and use Tickle My Android's Prepare System Files For Flashing option.
If you get no luck, let me know and I can try a few things..
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Thank you, helpful stranger!
I had a quick go of it when I got home (from a 16-hour workday no less), and so far it's been more of the same. I'll post details in your thread when I'm feeling a bit more functional, but basically I did what you said. Your tool failed on creating a flashable zip, and I once again had bootloops when I used my own zip. Regardless, I'm really impressed with TMA, and I hope with your help I can get some real use out of it!
Sv: [Q] V - Bootloops with modded framework-res.apk usual fixes not helping
Anyone tried with the new jelly bean framework?
NuriJ said:
Anyone tried with the new jelly bean framework?
Click to expand...
Click to collapse
Haven't tried yet, and tbh I haven't even had the time lately to upgrade to JB. Taking a quick look around the threads, it looks like we now have working cwm, is this right? After the bootloop problems I had with ICS, there's no way I'll try modding framework-res without recovery, lol.
btw NuriJ, is there a version of your modded shutdown menu for JB?
shockwaverider said:
Haven't tried yet, and tbh I haven't even had the time lately to upgrade to JB. Taking a quick look around the threads, it looks like we now have working cwm, is this right? After the bootloop problems I had with ICS, there's no way I'll try modding framework-res without recovery, lol.
btw NuriJ, is there a version of your modded shutdown menu for JB?
Click to expand...
Click to collapse
Yes working on that.
.. I just had time and tried to today. It doesnt boot.. just like ics, it stops at bootanimation and bootloops
btw yes see dev section vdsirotkin managed to include cwm into the stock jb kernel

[Q] OnOffTools background ?

I've decompiled OnOffTools.apk but I don't find the png image of the widgets background in drawable-xhdpi...
Any idea where I can fing this png ?
Thanks in advance.
how does your /res/...folders look?
there should be the pngs...hdpi,mdpi,xhdpi folder and more
i tried it out,i see them
i see there pngs like minimised_plate.png, plate.png, plate_pressed.png and all the icon.png's
see my png file,thats in drawable-xhdpi folder
is it, what you ask for?
edit:
i saw you asked the same in the honami home thread? so i guess you mean the onofftools.apk from that honami.zip?
i decompiled, and there isnt plate.png's...you are right.
is it transparent?
immerblind said:
how does your /res/...folders look?
there should be the pngs...hdpi,mdpi,xhdpi folder and more
i tried it out,i see them
i see there pngs like minimised_plate.png, plate.png, plate_pressed.png and all the icon.png's
see my png file,thats in drawable-xhdpi folder
is it, what you ask for?
edit:
i saw you asked the same in the honami home thread? so i guess you mean the onofftools.apk from that honami.zip?
i decompiled, and there isnt plate.png's...you are right.
is it transparent?
Click to expand...
Click to collapse
Yes, I use the honami onofftools.apk. The widget backgroung is white. There's plate.9.png in /res/drawable/nodpi. I hope it's the good one.
Thanks.
OnOffTools.apk\res\drawable-nodpi\plate.9.png
dully79 said:
OnOffTools.apk\res\drawable-nodpi\plate.9.png
Click to expand...
Click to collapse
Thanks.
I've modified plate.9.png (just applied negative filter on the white part), refashed OnOffTools.apk, but Xperia home FC when I try to add the widgets.
However, since it is a 9 patch png, I've left the image border unchanged...
When you saved the image did you save it as a .9.png and not a standard .png?
It works fine in my UFT zip
dully79 said:
When you saved the image did you save it as a .9.png and not a standard .png?
It works fine in my UFT zip
Click to expand...
Click to collapse
No. I use Gimp 2.8 or PaintShop Pro and they don't propose saving as .9.png...
nreuge said:
No. I use Gimp 2.8 or PaintShop Pro and they don't propose saving as .9.png...
Click to expand...
Click to collapse
A lot of the time photoshop doesn't.
I usually copy out the images im editing to another folder, make my edits and then when saving double click the image in the new folder to pick up the full name including .9
I use a USB stick as my workbench so i can drag and drop without moving and overwriting things unless i want to.
dully79 said:
A lot of the time photoshop doesn't.
I usually copy out the images im editing to another folder, make my edits and then when saving double click the image in the new folder to pick up the full name including .9
I use a USB stick as my workbench so i can drag and drop without moving and overwriting things unless i want to.
Click to expand...
Click to collapse
Yes, I've renamed my new image with .9.png extention and I'm really think that my new .9.png is good. Then, I've use Winrar to replace the png in OnOffTools.apk. Actually, Xperia home FC because my new OnOffTools.apk does not want to install...
I'll try to recompile OnOffTools.apk instead of using Winrar.
oh you not use apktool for decompile and recompile?
i recommend using it. its quiet easy after you setup everything
i normally open the 9.png with photoshop,then i edit and keep the black borders like it was, i not touch frame.just change color or whatever.then i just save it. (same file) its the best to edit the stock files. i think better than replace with others. just my experience
(for example open stock.9.png in drawable folder, then edit it, and override/save the file same place...)
oii,im not sure, was that understandable english?
also at beginning i got errors, only while i painted wrong accidentally some pixels in 9.png files. you sure you not touch the borders?
edit: i read u tried recompiling? have some errors while recompiling?
more edit: i remember something, after recompiling you put META-INF and AndroidManifest.xml from the stock OnOffTools.apk inside your new compiled apk?
nreuge said:
Yes, I've renamed my new image with .9.png extention and I'm really think that my new .9.png is good. Then, I've use Winrar to replace the png in OnOffTools.apk. Actually, Xperia home FC because my new OnOffTools.apk does not want to install...
I'll try to recompile OnOffTools.apk instead of using Winrar.
Click to expand...
Click to collapse
Dont bother messing with apks, use UFT.zip, you can find a link and details in my thread in the theme section(basic theming guide).
immerblind said:
oh you not use apktool for decompile and recompile?
i recommend using it. its quiet easy after you setup everything
i normally open the 9.png with photoshop,then i edit and keep the black borders like it was, i not touch frame.just change color or whatever.then i just save it. (same file) its the best to edit the stock files. i think better than replace with others. just my experience
(for example open stock.9.png in drawable folder, then edit it, and override/save the file same place...)
oii,im not sure, was that understandable english?
also at beginning i got errors, only while i painted wrong accidentally some pixels in 9.png files. you sure you not touch the borders?
edit: i read u tried recompiling? have some errors while recompiling?
Click to expand...
Click to collapse
Sucess!!
Firstly, I didn't succeed in recompliling because my 9.png was wrong. Now, the recompiling is working so the 9.png is ok.
The Winrar method don't seem to work all the time because I've use it with the good 9.png and then after fashing Xperia home FC.
Thanks for your help.
I would also suggest using apkmanager or multitool as they provide an log to check for errors.

Categories

Resources