[Q] Power toggle in notification port - G Tablet Q&A, Help & Troubleshooting

can anyone post what changes i need to do
or link me
already tried searching but found nothing
i only know i need to edit files in services.jar and framework.jar and framework-res.apk
some files include smali/xmls and added pngs.
thnx

well? anyone?

bump 1234 yay!

Related

[Q] How to modify notification toggle

Hello,
I would like know how to add a data toggle in notification widget in KG1 2.3.4 Rom.
Like in Cognition 1.15 Rom.
Which file must be modified to add a toggle ?
Thank you
I try to find in xml files in framework-res.apk and framework.jar but i don't know what to look for.
cerede2000 said:
I try to find in xml files in framework-res.apk and framework.jar but i don't know what to look for.
Click to expand...
Click to collapse
Look inside systemUI.apk, should be in there, not in framework-res.apk...

[Q] How to add data toggle in notification

Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
yes please
Yeah i was under the impression that it's Kernel/ROM dependent but its a massive feature im missing coming from a HTC desire running CM7 and im not up for testing the CM nightlies with a new baby to look after just in case my wife needs me asap lol
Please What do not say how to add the data toggle
cerede2000 said:
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
Click to expand...
Click to collapse
Wrong thread. You can find out more on " Samsung Galaxy S2 Q&A"
No one answers in Q & A as seems to be the case here.
Why no one wants to unravel the mystery
cerede2000 is right, this is a key feature, that I personally would love to see, on a stockish sgs2 rom.
I've recently noticed the appearance of the data toggle, which was promising, but no way to customise.
perhaps now that the devs are getting more stable roms they could delve further into this?
Ah one can dream.
Hold power button... Data off. hehe
Otherwise, I think Cognition ROM has it.
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
cerede2000 said:
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
Click to expand...
Click to collapse
Posted on your other thread in Q&A... It's in SystemUI.apk, can't say where though.
I try to modify SystemUI.apk in smali files but have FC's
Are you sure is just SystemUI.apk ?
I do not understand when I put directly SystemUI.apk of Cognition ROM it works well.
However when I change my ROM from my stock SystemUI.apk XXKG3 j'obtient one of FC's SystemUI.apk.
Please help me.
Here is my SystemUI.apk : http://www.multiupload.com/15QBK0IX9U
What is wrong with my SystemUI changed.
Thank you!
The reason is that your stock ROM is odexed and the other is deodexed.
This thread should be in the Q&A section.
Absolutely not! I deodex my rom...
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
cerede2000 said:
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
Click to expand...
Click to collapse
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
sicopat said:
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
Click to expand...
Click to collapse
I not only added the png. I changed the xml files and smali files.
I edit by hand public.xml.
I'll let ApkManager do I see if I have no FC's.
Great! It's work!
We had to do to just let ApkManager public.xml!

WAVE LOCKSCREEN w/o AUTOROTATION ARC S ICS

can somebody plz upload the aosp wave lockscreen for ics WITHOUT autorotation!!
as i have tried to edit the framework res apk for HANSIP87s' mod
but cannot find the BOOLS.xml.... i have uploaded the APK if anyone can take a look and fix it for me.. thanks!!
thegreatsega said:
can somebody plz upload the aosp wave lockscreen for ics WITHOUT autorotation!!
as i have tried to edit the framework res apk for HANSIP87s' mod
but cannot find the BOOLS.xml.... i have uploaded the APK if anyone can take a look and fix it for me.. thanks!!
Click to expand...
Click to collapse
Layouts
Mate
Sent from my Xoom using XDA Premium HD app
Disabled Lockscreen Rotation
I have managed to edit bools.xml and disabled lockscreenrotation for values\bools.xml and for the layouts-land\bools.xml
Do a backup of system before replacing.
Please rename to framework-res.apk.
Also edit file permissions and place in system\framework while using a root file explorer.

[REQ] Help with edit SemcGenericUxpRes

hi, can anyone replace icons from archive to apk in archive ? http://www64.zippyshare.com/v/52683022/file.html because when I'm doing it and changing this app in system/app icons are stretched, I changed icons via WinRar because when I'm trying to de/recompile this app via apk tool and other similar applications I have errors and can't do it properly
regards
Yes... But I need the original .pngs (those are from a decompiled .apk) - you can obtain them easy just unzip that .apk using "7 zip". And the framework-res.apk from the same folder (framework) as SemcGenericUxpRes.apk you are trying to modify (because I need to install it in my "APK Multi-Tool", otherwise I can't recompile the .apk)
so here is my framework and original icons http://www16.zippyshare.com/v/11770168/file.html
XperienceD said:
Quick Tip: If all you want to do is edit or replace normal images, things like your Status Bar icons or Menu icons like those used in the main screen of Settings then decompiling IS NOT necessary, simply open the apk in a zip program then just drag and drop any replacement images in to the correct folder, for images like your actual Status Bar which may have a .9 at the end then decompiling IS required.
Note: It's important to use STORE as the compression method when replacing images in the apk.
Also Note: .9 pngs need to be edited ONLY when in the decompiled folder, if you just take a .9 png and edit it then you won't be able to see the borders that the system needs to determine how that image should be displayed. I have included links at the end of this post to help with .9 editing along with links to other various theming resources that I've come across and bookmarked.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
..
XperienceD said:
..
Click to expand...
Click to collapse
I'm noob at this, can you help me with edit these icons, please ?
Deleted
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
http://www76.zippyshare.com/v/9442694/file.html
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
thanks for your effort but I used tutorial from your link http://forum.xda-developers.com/showthread.php?t=2190716 and did it myself and it is working, thank you very much
godlesplay said:
http://www76.zippyshare.com/v/9442694/file.html
Click to expand...
Click to collapse
Here it is. Try it. I hope it will work. By the way I resized them a little, because they were not the same size as the ones from the original .apk.
Later...
OK. I'm very happy for you. Have a nice day. I used the same tutorial for recompiling...

Removing entries from Settings.apk

Hi!
Can anyone here help me out in decompiling the Settings.apk for the custom ROM (CyanogenMod) I'm making?
It has a lot of useless entries (my phone doesn't have them), like auto brightness, capacitive buttons backlight, performance, etc.
I'm new to this but I have already read threads about decompiling apks.
I'm really eager to this since this is my first custom ROM.
Thanks to all who will help!
Decompile the Settings.apk then go to /res/xml/ and find the file named settings_headers.xml, it should containt the entries.
Cozzmy13 said:
Decompile the Settings.apk then go to /res/xml/ and find the file named settings_headers.xml, it should containt the entries.
Click to expand...
Click to collapse
Yes I already removed some but the auto-brightness feature doesn't seem to be located in the settings.apk. I can enable/disable it even without going into settings. Do you know where it is? Must be in SystemUI.apk, framework-res.apk or framework.jar,
Man, what happened to searching the forums?
http://forum.xda-developers.com/showthread.php?t=2184207
[GUIDE][4.0+] Add items to Settings.apk / Change Layout
You need WinRar, or 7zip, Notepad++ or Sublime or Atom, and yeah. Maybe an apk signer.
berryman13 said:
Man, what happened to searching the forums?
http://forum.xda-developers.com/showthread.php?t=2184207
[GUIDE][4.0+] Add items to Settings.apk / Change Layout
You need WinRar, or 7zip, Notepad++ or Sublime or Atom, and yeah. Maybe an apk signer.
Click to expand...
Click to collapse
Read my above reply, i already found out how to do it. But do you know where the code for auto-brightness is located? I'm pretty sure it isn't in settings.apk. I'd like to remove it since my phone doesn't have an ambient light sensor. Thanks!

Categories

Resources