[Q][FIX]How to fix flashligt toggles? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Anyone here knows how to fix flashlight? When i press it on the toggles my statusbar always fc.

ryan_joshua said:
Anyone here knows how to fix flashlight? When i press it on the toggles my statusbar always fc.
Click to expand...
Click to collapse
install a custom flashlight
you can remove the toggle from settings

ryan_joshua said:
Anyone here knows how to fix flashlight? When i press it on the toggles my statusbar always fc.
Click to expand...
Click to collapse
If you have edited the smali files as explained here
http://forum.xda-developers.com/showthread.php?t=1511307
then you need to add the following line to the AndroidManifest.xml in SystemUI.apk and then resign everything in app & framework
place the following above /application
Code:
activity android:theme="@*android:style/Theme.NoTitleBar.Fullscreen" android:name="com.lidroid.systemui.quickpanel.FlashlightActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />

Related

How to change text labels in ext. power menu (to replace download with screenshot)

Ok, here is the idea. Since the Download option in the Extended Power Menu is working, but will give you a non working download mode. I thought why not replace it with a Screenshot function?
I've already successfully replaced the function and the icon, but it still says Download. in the tutorial I followed they say edit this file:
res/values/strings.xml which should be in framework-res.apk
but the file does not exist! Does someone know how to change it then?
Edit: Added a screenshot!
Edit2: Never mind! I forgot to decompile with APK Manager I'll post the download soon
Edit3: framework-res.apk gives me a bootloop somehow.. hmm I followed the steps correctly
Can someone please do the following things because I get a bootloop after only changing the text "Download"
1. Put framework-res.apk in /place-apk-here-for-modding/ and start APK Manager, press 9
2. Go to projects/framework-res.apk/res/values and open strings.xml in notepad
3. Scroll to the bottom and change:
<string name="reboot_download">Download</string>
to
<string name="reboot_download">Screenshot</string>
4. Now when you are in APK Manager press 11
5. The output will be /place-apk-here-for-modding/unsignedframework-res.apk
Please send me that file. Thanks in advance
i'd like to help but all i can find looking for apk manager are links to megaupload
here you go
in public.xml theres a reference to reboot_download. i don't really know but if its not needed you could delete it probably?
<public type="string" name="reboot_download" id="0x010404c2" />
edit: i'd like to point out the part with "i don't really know"
to change something in the extended power menu you have to edit more than just the framework file
because in the framework file there are only the images
well im not sure but I know you have to decompile the classes.dex in a file
maybe it's the systemui.apk
when I'm back home I can tell you more
Sent from my GT-I9001 using XDA App
EDIT:
okay to change the function of the option Download you have to edit the file android.policy.jar
I already changed the function and the icon. but when I change the text from Download to Screenshot and then compile it I get a bootloop
okey i tried to compile it
here you go
Blumdum said:
okey i tried to compile it
here you go
Click to expand...
Click to collapse
Thanks gonna try it now.
Edit: Thanks! It works !
People behold a screenshot function

Remove Samsung "shortcut bar"

Hi,
I really don't use (or like) the "shortcut bar" that is in the H3.2 builds from Samsung.
I'm running Overcome 2.3.0, but is it possible to remove the Samsung crap and have a clean task bar?
(or install this: https://market.android.com/details?id=com.snowbee.wizzbar)
Thanks in advance
the only way is to edit a couple of xmls in the systemui apk
BroBot175 said:
the only way is to edit a couple of xmls in the systemui apk
Click to expand...
Click to collapse
Okay, is there a guide or something on how to do it, somewhere?

[Q] How to Remove this things?

I want to remove two things from my phone.
I just added lidroid's 14 toggles. how can I remove the labels in the quickpanel? (wifi,bluetooth,flashlight,etc..)
the second thing is this. I edited my settings.apk to put tabs in it. like the tabs in custom roms.
i put shortcuts of apps like cpu spy, quickpannelsettings..
how can i remove their icons from the drawer?
Thanks in Advance.
In lidroid-res.apk locate res/values and open strings.xml
the text below the toggles are located at the bottom of the xml
about hiding the app in launcher
decompile the apk of the app and open AndroidManifest.xml
and find this line and delete
Code:
<category android:name="android.intent.category.LAUNCHER" />
recompile and sign the apk
deleting the strings give fc to lidroid-res.
the second one works. but not all 3rd party apps can be decompile/recompile properly. like the NoFrillsCPU.apk

[Q] Any tutorial/mod to remove the gradient from the statusbar

There's any method or mod or everything else who can disavle/remove the gradient from the transparent statusbar in the TW.
As u can see here https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/1457657_672527776111572_457519153_n.jpg there is a shadow/ gradient at the top of the screen that is what i'm talking about
No one ?
its in framework.apk
statusbar.png or something else
mansuri.shoaib39 said:
its in framework.apk
statusbar.png or something else
Click to expand...
Click to collapse
In other words you have to decompile the framework.apk and edit the image file, then recompile the apk and restore it to the system
ya correct.... its my mean

HELP! How to edit ICON SPACING in SystemUI

Hey guys! I just wanted to share my problem.
I want to edit the icons in status bar. I search it on Google on how to edit the icon spacing in the status bar and they say you need to edit "dimens.xml" but when I try to extract my systemui, I haven't seen that file. Which file do I need to edit? And what tools should I use in order to edit it? I'm using Motion rom anyway. Thanks in advance

			
				
Try to use Apktool
dnjscjf098 said:
Try to use Apktool
Click to expand...
Click to collapse
How??
how to use from apktool
Keith Empeynado said:
Hey guys! I just wanted to share my problem.
I want to edit the icons in status bar. I search it on Google on how to edit the icon spacing in the status bar and they say you need to edit "dimens.xml" but when I try to extract my systemui, I haven't seen that file. Which file do I need to edit? And what tools should I use in order to edit it? I'm using Motion rom anyway. Thanks in advance
Click to expand...
Click to collapse
you should install apktool to your pc
after finish install and installing rom framework
decompile apk file and go to ../res/values/dimens.xml
then u can control your app spaces size and dimens
after finish editing !
you should compile again apk file then sign it and use !
mhs5941 said:
you should install apktool to your pc
after finish install and installing rom framework
decompile apk file and go to ../res/values/dimens.xml
then u can control your app spaces size and dimens
after finish editing !
you should compile again apk file then sign it and use !
Click to expand...
Click to collapse
Thank you!!
Ill try.

Categories

Resources