[Q] How to Remove this things? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

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

Related

[Q] Xperia PLAY App: Game Launcher (How to get other apps on there?)

I use the Xperia Play game launcher to start up games that are optimized for my play (I'm in the US, so I don't have the PlayStation Pocket app yet).
My question is: I have emulators (such as fpse, and nesoid), and today, fpse randomly appeared on my launcher, alongside Crash Bandicoot, Asphalt 6, etc.
Is there a way to have emulators show up here? It'd be cool to have ALL my emulators and games show up here, whether they're optimized or not.
I apologize if this has been asked before, but thanks for your help.
Edit: I just had a thought. I updated fpse today. Does this mean the developer of the app chooses whether or not it appears? That would explain it.
Thanks.
originally posted here http://forum.xda-developers.com/showthread.php?t=1110405&page=3
Ok, here is a step by step guide I have tried to keep it as simple and straight forward as possible…
The good news is you don't even need root, to get your apps in the launcher!
Those with root can keep the save data from edited apps, those without will lose save data.
Every app, I have tried works! The only app, which didn't was ScummVM due to an integrity check! There is alternative version of ScummVM you can use though (which I think is better anywho)!
You need the following installed:
File Expert *
https://market.android.com/details?i...=search_result
Titanium Backup * (required for backing up save data of the app you are editing - root only)
https://market.android.com/details?i...=search_result
QuickSSHd *
https://market.android.com/details?i...=search_result
ZipSigner 2
https://market.android.com/details?i...=search_result
-
Apktool (Mac / Linux)
http://code.google.com/p/android-apktool/
OR
ApkManager (Windows / Linux)
http://forum.xda-developers.com/showthread.php?t=695701
-
Smultron (Mac / Linux) *
http://sourceforge.net/projects/smultron/
OR
Notepad ++ (Windows) *
http://notepad-plus-plus.org/
(* Optional, you can use alternatives)
=================================================
Ok, so here goes the guide if you get stuck or need help just ask….
You could also no doubt skip some steps, or do things differently so feel free to tweak the guide
1. Open File Expert and click on the app tab, backup the apps you wish to edit…. The app files, .apk - will be saved in a folder called backup_apps on your SD card.
2. (ROOT ONLY STEP) Open up Titanium Backup - first backup the apps - (this will allow you to restore the saved data later on)… Then remove the apps…
3. Copy the apps to your computer…. For this I use QuickSSHd
4. Install Apktool (Mac / Linux) or ApkManager (Windows / Linux)
4a) Use Apktool or ApkManager to decompile the app
There is a nice youtube video of ApkManager (Windows / Linux) here:
http://www.youtube.com/watch?v=dkQVX...eature=related
Also, here is a great guide to using Apktool (Mac / Linux) here:
http://forum.xda-developers.com/showthread.php?t=916814
5. You should now have a nice decompiled app, go to the folder and open up AndroidManifest.xml - using either Smultron (Mac / Linux) or Notepad ++ (Windows)
6. Edit the manifest…. I found Apktool sometimes didn't like certain changes…. So instead of adding a line I replaced lines which where not needed…. For example in the excellent emulators by Yongzh here is what the manifest looks like:
Code:
</intent-filter>
</activity>
<service android:name="EmulatorService" androidrocess=":emulator" />
</application>
</manifest>
replace
Code:
<service android:name="EmulatorService" androidrocess=":emulator" />
with this line
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
so it now looks like
Code:
</intent-filter>
</activity>
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
</application>
</manifest>
6. Part of the problem of adding this line however is that you need to add some extra files inside the 'res' folder.
Go to the res folder and create three new folders, called:
drawable-hdpi
drawable-ldpi
drawable-mdpi
7. Go to the drawable folder and copy the app icon, then go to the drawable-hdpi and paste the app icon renaming it icon.png, paste the image once more this time renaming it launchericon.png…. Paste a further copy of icon.png in both drawable-ldpi and drawable-mdpi
8. Recompile the app using Apktool or Apkmanager….
9. Complete steps 4-8 with each apk you wish to show in the launcher….
10. Copy the edited apk files back to your Xperia Play, in a folder called changed… within that folder create another folder called permissions (this just makes it easier to find your correct files)…
11. Open the Zipsigner app, select the input file from the changed folder and select the signed out for the permissions folder. Make sure that under the key/mode auto-testkey is selected and click sign the file.
12. Repeat this process for each app
13. Reboot your Xperia play - this step is needed as android will notice that your are attempting to install an app which is the same as a previous installed app, only that the signatures don't match! By rebooting it will clear the remnants of those old files!
14. Open File Expert and go to the permissions folder and install your newly modified apps! They should now show in the launcher, if it doesn't kill the launcher app and reopen it!
15. (ROOT ONLY STEP) Go back to Titanium Backup and restore your app data only!
That's it, sit back and enjoy your launcher showing the apps you want! Oh, to remove the stock apps, simply back them up with Titanium Backup and then remove them... Open up the launcher and they will now be gone!
FPSe is updated to appear in the games launcher.
GetPatriotized said:
FPSe is updated to appear in the games launcher.
Click to expand...
Click to collapse
as the op said they updated fpse and it shows in the launcher (same on my xplay)
they wanted to add OTHER emulators (like gba, snes, nes) and i pasted a tutorial found by a quick search made kindly by another member

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

[Q] Icon change help

I am trying to make a CyanogenMod icon theme and I need to ask a few questions:
What do you do if you want to change icons of an app on SD? Do you push and then make a folder?
How do you change the icons of Google Apps (ie Play Store, Gmail)?
Can anyone help me?
1 decompile the apk,
2 navigate to res/drawable-ldpi/
and locate for the icon,
3 change, edit, and paste with your desired icon (make sure that it is proportional to the old one),
4 recompile the apk
deathnotice01 said:
1 decompile the apk,
2 navigate to res/drawable-ldpi/
and locate for the icon,
3 change, edit, and paste with your desired icon (make sure that it is proportional to the old one),
4 recompile the apk
Click to expand...
Click to collapse
It's so simple... Thanks for the help
But how to make it into flashable zip?
make a edifier script
Code:
package_extract_dir("system", "/system");
check out kuro's guide in the general section on how

[Q][FIX]How to fix flashligt toggles?

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" />

[Q] [Mod][Theme] Add new icons to LGHome theme Bunnyfairy

Hi everyone.
First, thank the developer that remake Bunnyfairy theme for G2!
I love the theme so much I want to add more icons. After able to de-compile the .apk using apktool I modified "appfilter.xml" and add a line:
<item component="ComponentInfo{com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity}" drawable="lg_launcher_ic_filemanager" />
...and hope that will makes ES File Explorer changes its icon but after build and install new apk (already uninstalled old one) and apply the theme nothing changed... Other icons and style work just fine but ES icon doesn't change
I believe that the name of the app (com.estrongs.android.pop) and the main activity (com.estrongs.android.pop.view.FileExplorerActivity) are all correct, what more must I do to make it work?
Please help, thank a bunch!
PS: the icon used above already exists I haven't added new one yet.
NVM I solved the problem by adding new line into theme_resources.xml
Now I'm facing another issue... if I change ES File explorer icon size to 2x2 it looks blur. Each icon have its large version, and another icons are displayed correctly using their large image when size changed to 2x2 but not my addition icon. I am searching in the decoded source and haven't yet found any clue...
Please help, thanks!

Categories

Resources