Editing the Xperia Play (slide open) app

Search This thread

deepestblue

Member
Apr 26, 2011
13
15
See Post 21 for guide on how to add modify your apps to appear in the launcher....

Orignal post below...


Hi,

Ok, it really annoyed me that when I flipped open the game pad I could only see the apps Sony Erricson allowed.... I have made some progress on this front, just not a 100% working fix yet :(

I'm not an expect, so please don't flame me if this is useless info!


Here goes the instructions....

I will warn those who have little skill in editing files this is not for you!

Here is how I added Solitare (free app from the android market) as a test to the Xperia Play Launcher....

First browse to

data/data/com.sonyericsson.semcsuite/databases

copy the to content.db file to your computer

edit the content.db
with SQLite (which you can download for free)

The info you need to edit is under browse data in SQLite, you need the pkg name of the app you want to include inside, as well as the full name of the app you are inserting… I simply replaced an app I wasn't bothered about in the launcher, my assumption would be that you can insert more by following the numbering convention used! :D

In the cover column you need to use -1 as the cover name and false under the menu...

then save the file

Now reboot the phone open the xperia play app, click on more games…. Then copy over the file…. I copied over the file while on more games….

Then kill the app in the settings (in mine shows as Android System), finally reopen the app and the added applications will show!

You then have the added apps you want in the launcher :)


Here is a screenshot of the added solitaire app as a test:
imageshack.us/photo/my-images/821/screenshot2zm.png


The big problem I have found so far is that the app very frequently ovewrites the .db :mad: For example on reboot or sometimes randomly, so at the moment it's not an actual fix...

I have attempted making the file read only but this crashes the app on opening...

But progress is progress any ideas moving forward? It would be nice to be able to slide open your play and see a bunch of emulators ;)

Chris
 
Last edited:

deepestblue

Member
Apr 26, 2011
13
15
i told them all they needed to edit the database.db but no1 beleved me :rolleyes: lol

Just found your old thread, damn could have been here sooner! Oh, well progress still made :D

So much better knowing I can slide open my play and see all my emulators! :D

I've found out that once you get the hacked.db file on the play and get it to open correctly provide you press the home button and not the back button then it stays put :D Hopefully it should stay in place unless I accidently quit the app or need to reboot!

Still not a permanant fix, but close enough until we figure out how to stop the app replacing the edited file!

Here are two new screenshots completed with emulators hehe
imageshack.us/photo/my-images/853/screenshotye.png/
imageshack.us/photo/my-images/200/screenshot1kv.png/

The only downside is that the app blows up the icon of the edited in app, so it looks a bit pixelated - but I really don't care about that!

Chris
 
  • Like
Reactions: Ofej

AndroHero

Senior Member
May 28, 2010
6,476
906
Manchester
Just found your old thread, damn could have been here sooner! Oh, well progress still made :D

So much better knowing I can slide open my play and see all my emulators! :D

I've found out that once you get the hacked.db file on the play and get it to open correctly provide you press the home button and not the back button then it stays put :D Hopefully it should stay in place unless I accidently quit the app or need to reboot!

Still not a permanant fix, but close enough until we figure out how to stop the app replacing the edited file!

Here are two new screenshots completed with emulators hehe
imageshack.us/photo/my-images/853/screenshotye.png/
imageshack.us/photo/my-images/200/screenshot1kv.png/

The only downside is that the app blows up the icon of the edited in app, so it looks a bit pixelated - but I really don't care about that!

Chris

that looks really cool maybe a line in one of the .xml files can be changed in the .apk to get it to read from a diffrent (modded) file, then it dosent matter if it rewrites the database.db file :confused:
 

zerojay

Senior Member
Aug 3, 2010
635
119
Yes, we know, this is nothing new. We've already known about this for weeks. The problem of course is that it has to be populated manually. We've been searching for a way to do this automatically just by looking at how it works and doing what needs to be done to tell it "hey, I should be on this list" whenever it rebuilds the database.
 

deepestblue

Member
Apr 26, 2011
13
15
Well so far good news, the xperia play app has yet to overwrite the file, so I guess leaving it the app open and not quiting, is possibly a very good temporary solution.

AndroHero said:
that looks really cool maybe a line in one of the .xml files can be changed in the .apk to get it to read from a diffrent (modded) file, then it dosent matter if it rewrites the database.db file :confused:

Unfortunately, after taking a look at the xml files no joy :(
There doesn't seem to be any reffrence to writing to the .db or that location...

Within the apk, there is a searchable.xml file though where the app is asking to search. So, possibly changing this so it searches for something else? hmm
The problem is if you change it to something else then I assume it would create a blank .db file! LOL But this might be a way forward... Feel free to take a look at the included xml file of the launcher here:
mediafire.com/?2eqtw1f0358omp2

Logseman said:
Could the whole db edition be done through an app?

Probably, if someone wanted to create such an app... But editing the .db file is not so hard, provided you are not wanting to change things all the time! I'd write up step by step instructions, so it should be fairly easy...

The problem at the moment is that it is not a full solution to our problem...

zerojay said:
Yes, we know, this is nothing new. We've already known about this for weeks. The problem of course is that it has to be populated manually. We've been searching for a way to do this automatically just by looking at how it works and doing what needs to be done to tell it "hey, I should be on this list" whenever it rebuilds the database.

I've had a scan though the past posts, and yes your right the .db file was known about for weeks... But unfortunately not followed though, no one actually attempted to edit the .db file nor get the edited file to work or at least not that I can see.... It's a shame really as we could have been here sooner...

Actually, I have an idea of how the app decides what should go into the database... I believe it is rather simple how the app works... The app will search installed apk, then my assumption would be that it would look at the AndroidManifest.xml of said installed apps for an xperiaplayoptimized_content tag.

An xperiaplayoptimized_content tag can be seen in the AndoridManifest.xml of two free apps on the market Cyberlords - Arcology, Happy Vikings.... I've not checked any other apps from the market, but please check more - maybe I'm wrong :confused:.

The problem is if this is how the app works and is needed in every app, it would mean adding to evey app we wanted to be included in the launcher and removing from every app we did not want to appear in the launcher, sigh... :(

I suppose if someone wants they could check this for certain by adding an xperiaplayoptimized_content tag to an app or removing the tag from an app and seeing what happens...

So, I'm thinking three possible options? Unless any can think of any further solutions?

a) Change how the Xperia Play app searches - possibly by editing the searchable.xml file - although I'm not sure what to change the search to?

b) Add the xperiaplayoptimized_content tag to every maifest of every app we want included - that's also, assuming xperiaplayoptimized_content is the correct tag!

c) Leave things as they are - you just lose the changed .db file on reboot or when you close the application by mistake. Perhaps even a simple app to replace .db file when this happens?

Sigh, so much work/effort for something simple - damn you Sony Erricson! LOL

Chris
 
  • Like
Reactions: Ofej

svenk919

Senior Member
Oct 12, 2008
418
62
Enschede
Hurray, it works :)

Added this line:
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
right before:
Code:
</application>
you can probably use the @drawable to make it any icon you want.

The happy viking game uses a resolution of 170*170 I believe.

Now is there anyone with the skills to have the android manifests modified of allready installed apps with a nice menu where you could select wich app you want to have the line added to the manifest? If that's possible at all.

Edit: updated the app I use for testing stuff so it shows up in the game launcher: http://xdaforums.com/showthread.php?p=14451093#post14451093
 
Last edited:
  • Like
Reactions: Ofej and ps3taker

deepestblue

Member
Apr 26, 2011
13
15
Hurray, it works :)

Added this line:
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
right before:
Code:
</application>
you can probably use the @drawable to make it any icon you want.

The happy viking game uses a resolution of 170*170 I believe.

Now is there anyone with the skills to have the android manifests modified of allready installed apps with a nice menu where you could select wich app you want to have the line added to the manifest? If that's possible at all.

Edit: updated the app I use for testing stuff so it shows up in the game launcher: http://xdaforums.com/showthread.php?p=14451093#post14451093

Great work :D, just tested your app! Awesome we now know for certain that xperiaplayoptimized_content is the correct tag...

Ageed it needs someone skilled - but an app that acutally modifies the manifests already installed apps is far beyond what I can do :(
As you say I'm not even sure such a feat is possible? :confused:

An alternative may be to decompile your apps and recompile them... Apktool, should do the trick...
code.google.com/p/android-apktool/

Hmm, tempting... I think I might have a go with one app, see how long it takes to decompile, edit and recompile an app!
 

AndroHero

Senior Member
May 28, 2010
6,476
906
Manchester
Great work :D, just tested your app! Awesome we now know for certain that xperiaplayoptimized_content is the correct tag...

Ageed it needs someone skilled - but an app that acutally modifies the manifests already installed apps is far beyond what I can do :(
As you say I'm not even sure such a feat is possible? :confused:

An alternative may be to decompile your apps and recompile them... Apktool, should do the trick...
code.google.com/p/android-apktool/

Hmm, tempting... I think I might have a go with one app, see how long it takes to decompile, edit and recompile an app!

Maybe an app along the lines of ninjamorph but more dedicated to editing the android mainifest :)

Sent from my R800i using Tapatalk
 

deepestblue

Member
Apr 26, 2011
13
15
Maybe an app along the lines of ninjamorph but more dedicated to editing the android mainifest :)

Sent from my R800i using Tapatalk

Hi, I tried ninjamorph but it didn't actually decompile the the android manifest...

However apktool did! :D

So, it's a simple matter of copying your apk, decompile with apktool, add the xperia play optimized tag, recompile with apktool and then install :D

It's a much quicker process than it sounds, and to add the tag to an app in total takes about 15 mins with install...

If anyone wants step by step instructions let me know!

It's so much better having the apps you want in the launcher....
 

g9man

New member
Sep 14, 2007
3
2
Hi, I tried ninjamorph but it didn't actually decompile the the android manifest...

However apktool did! :D

So, it's a simple matter of copying your apk, decompile with apktool, add the xperia play optimized tag, recompile with apktool and then install :D

It's a much quicker process than it sounds, and to add the tag to an app in total takes about 15 mins with install...

If anyone wants step by step instructions let me know!

It's so much better having the apps you want in the launcher....

If it isnt too much trouble,could you please post the step by step process. I would greatly appreciate it.
 
  • Like
Reactions: Nhialor

Logseman

Senior Member
Nov 22, 2010
2,513
651
35
Tenerife
logseman.svbtle.com
I picked the Xperia Play Camera Mod app, courtesy of Zoop57, to tinker a bit. svenk's suggestion left me with this error:

Code:
C:\Users\Logseman\Downloads\seb.camera.mod-1\AndroidManifest.xml:46: error: Error: No resource found that matches the given name (at 'resource' with value '@drawable/icon').

and some others chained to it. I presume we need to add something more than that line? This is the first time I actually use apktool, so I can perfectly have missed something.
 
Last edited:

svenk919

Senior Member
Oct 12, 2008
418
62
Enschede
apk tool should give a "res" map, if you have folders like: "drawable-h/m/ldpi" look into it, mostly it has an icon named "icon.png" but it could be named different with the camera app, if it is different change the icon '@drawable/icon' to what the file is named in the camera app. If such folders don't exist you probably have to chancgte the '@drawable' part to.

PS.

I think the line of code in case of the camera app should be:

Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/ic_launcher_camera" />
 
Last edited:

Logseman

Senior Member
Nov 22, 2010
2,513
651
35
Tenerife
logseman.svbtle.com
I managed to build the app using "@drawable/ic_launcher_camera" in that field. However, after installing it, it won't show in the Xperia Play launcher with the games. Moreover, I decoded fifa.apk, which does appear in the launcher as Fifa 10, and it doesn't show that line on the Manifest:


Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1034" android:versionName="1.0.34" package="com.eamobile.Fifa"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
    <application android:label="@string/app_name" android:icon="@drawable/icon">
        <activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:name=".Fifa" android:launchMode="singleTask" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" />
</manifest>
 

svenk919

Senior Member
Oct 12, 2008
418
62
Enschede
Did you reboot the phone? The launcher doesn't refresh its database all the time. The line was there with the happy vikings game and it did work to add my touchpadtester app to my launcher.
 

svenk919

Senior Member
Oct 12, 2008
418
62
Enschede
Does the camera app uses sdk version 9 or later? It should be stated in the manifest. Probably the xperia play optimized tag only works since android 2.3.2.
 

Logseman

Senior Member
Nov 22, 2010
2,513
651
35
Tenerife
logseman.svbtle.com
Does the camera app uses sdk version 9 or later? It should be stated in the manifest. Probably the xperia play optimized tag only works since android 2.3.2.

Hmmm... Zoop mentioned that he grabbed the latest source, so it should be 2.3.4.

Here's the manifest of his camera mod:

Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="5" android:versionName="5" package="seb.camera.mod"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <original-package android:name="com.android.camera" />
    <uses-sdk android:minSdkVersion="9" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera" />
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.SET_WALLPAPER" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_SMS" />
    <application android:label="Camera Mod" android:icon="@drawable/ic_launcher_camera" android:taskAffinity="">
        <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
            <intent-filter>
                <action android:name="android.intent.action.CAMERA_BUTTON" />
            </intent-filter>
        </receiver>
        <activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:name="com.android.camera.Camera" android:taskAffinity="android.task.camera" android:clearTaskOnLaunch="true" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.media.action.IMAGE_CAPTURE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:label="@string/video_camera_label" android:icon="@drawable/ic_launcher_video_camera" android:name="com.android.camera.VideoCamera" android:taskAffinity="android.task.camcorder" android:clearTaskOnLaunch="true" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.media.action.VIDEO_CAMERA" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.media.action.VIDEO_CAPTURE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
    </application>
</manifest>
 
Last edited:

svenk919

Senior Member
Oct 12, 2008
418
62
Enschede
This is the manifest of my touchpad app:

Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest package="test.play.controls"
  xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.2" android:versionCode="2">
    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" />
    <application android:label="@string/app_name" android:icon="@drawable/icon">
        <activity android:label="@string/app_name" android:name="android.app.NativeActivity" android:launchMode="singleInstance" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
            <meta-data android:name="android.app.lib_name" android:value="touchpadndk" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
      	<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/launchericon" />
    </application>
</manifest>
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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! :p
    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?id=xcxin.filexpert&feature=search_result
    Titanium Backup * (required for backing up save data of the app you are editing - root only)
    https://market.android.com/details?id=com.keramidas.TitaniumBackup&feature=search_result
    QuickSSHd *
    https://market.android.com/details?id=com.teslacoilsw.quicksshd&feature=search_result
    ZipSigner 2
    https://market.android.com/details?id=kellinwood.zipsigner2&feature=search_result

    -

    Apktool (Mac / Linux)
    http://code.google.com/p/android-apktool/

    OR

    ApkManager (Windows / Linux)
    http://xdaforums.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 :cool:

    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=dkQVXeAOdWo&feature=related

    Also, here is a great guide to using Apktool (Mac / Linux) here:
    http://xdaforums.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" android:process=":emulator" />
        </application>
    </manifest>

    replace

    Code:
    <service android:name="EmulatorService" android:process=":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!
    2
    Hurray, it works :)

    Added this line:
    Code:
    <meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
    right before:
    Code:
    </application>
    you can probably use the @drawable to make it any icon you want.

    The happy viking game uses a resolution of 170*170 I believe.

    Now is there anyone with the skills to have the android manifests modified of allready installed apps with a nice menu where you could select wich app you want to have the line added to the manifest? If that's possible at all.

    Edit: updated the app I use for testing stuff so it shows up in the game launcher: http://xdaforums.com/showthread.php?p=14451093#post14451093
    2
    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! :p

    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?id=xcxin.filexpert&feature=search_result
    Titanium Backup *
    https://market.android.com/details?id=com.keramidas.TitaniumBackup&feature=search_result
    QuickSSHd *
    https://market.android.com/details?id=com.teslacoilsw.quicksshd&feature=search_result
    ZipSigner 2
    https://market.android.com/details?id=kellinwood.zipsigner2&feature=search_result

    -

    Apktool (Mac / Linux)
    http://code.google.com/p/android-apktool/

    OR

    ApkManager (Windows / Linux)
    http://xdaforums.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 :cool:

    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. 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=dkQVXeAOdWo&feature=related

    Also, here is a great guide to using Apktool (Mac / Linux) here:
    http://xdaforums.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" android:process=":emulator" />
        </application>
    </manifest>

    replace

    Code:
    <service android:name="EmulatorService" android:process=":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. 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!
    Thanks for this tutorial - will Titanium Backup run on stock (unrooted) Xplay please?
    1
    i told them all they needed to edit the database.db but no1 beleved me :rolleyes: lol

    Just found your old thread, damn could have been here sooner! Oh, well progress still made :D

    So much better knowing I can slide open my play and see all my emulators! :D

    I've found out that once you get the hacked.db file on the play and get it to open correctly provide you press the home button and not the back button then it stays put :D Hopefully it should stay in place unless I accidently quit the app or need to reboot!

    Still not a permanant fix, but close enough until we figure out how to stop the app replacing the edited file!

    Here are two new screenshots completed with emulators hehe
    imageshack.us/photo/my-images/853/screenshotye.png/
    imageshack.us/photo/my-images/200/screenshot1kv.png/

    The only downside is that the app blows up the icon of the edited in app, so it looks a bit pixelated - but I really don't care about that!

    Chris
    1
    Could the whole db edition be done through an app?