yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Shikhar A:
Apps Force Closing

Hey lukakas , thanks for this awesome guide.... I successfully ported this to ANDROID 4.2.2 not CM ... but many apps force close like the WEB SMALL APP ... Here is the logcat ,

07-15 10:05:47.528 2230 2230 E AndroidRuntime: FATAL EXCEPTION: main

07-15 10:05:47.528 2230 2230 E AndroidRuntime: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.view.ViewRootImpl.setView(ViewRootImpl.java:650)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.widget.PopupWindow.invokePopup(PopupWindow.java:993)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.widget.PopupWindow.showAtLocation(PopupWindow.java:847)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at com.android.internal.policy.impl.PhoneWindow$DecorView$1.run(PhoneWindow.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.os.Looper.loop(Looper.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5297)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at java.lang.reflect.Method.invokeNative(Native Method)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Method.java:511)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

07-15 10:05:47.528 2230 2230 E AndroidRuntime:	at dalvik.system.NativeStart.main(Native Method)

07-15 10:05:47.541 514 534 E AppErrorDialog: Failed to get ILowStorageHandle instance
[Android Software Development] vandiaz_sairavinz:
hyyy

C:\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\status_bar_recent_panel.xml:16: error: No resource identifier found for attribute 'lookupKey' in package 'com.android.systemui'

C:\AdvancedApkTool\3-Out\SystemUI.apk\res\layout-land\status_bar_recent_panel.xml:17: error: No resource identifier found for attribute 'lookupKey' in package 'com.android.systemui'
[Android Software Development] Kuato:
when I press small app, it suddenly FC, HELP!!!
[Android Software Development] Kevin-0100:
Take a logcat while launching small apps. You will find the cause of the of the FC in there.
[Android Software Development] Kuato:
Here
[Android Software Development] Daniel_Lechu:
Works perfect!!!, maybe a little slow compared with CM10.1 task switcher but is better :P

One thing, i think is a good idea to add the compile errors from apktool to first post (F.A.Q for example), because i got two kind of errors and both are in people posts.

EDIT: I forgot to say that i've an Xperia S lt26i with CM10.1 (4.2.2).

Greetings!!
[Android Software Development] jackonod:
Ooh, I give up! I tried 5 different types of apktools, but I always felt on somewhere in this decompile/recompile things. I am on 4.4.4 CM with Note3.

If anybody have small free time to me, I'd like to ask to make these mods, I will be very happy.

Here are the 4 key files from my system:

http://www.mediafire.com/download/z3qtlsktqq9cn5a/ToSmallApps.zip

my systemui.apk is a modded xperia-like notification bar systemui for cm11, reachable on xda. I'm using now this without problem, not the original CM11 systemui.Thank you your help!
[Android Software Development] ahmadnawaz195:
Errors while decompiling systemUI.apk

Hi, I followed every step of your guide to port small apps for cm11, In systemUI.apk i am having some problem in compiling. Please help me. Attaching error log.
[Android Software Development] jebe kecil:
hi bro , how to fix after recompil UI like it , in tumb View attachment 3474764
[Android Software Development] codekidX:
Thankyou

yup i have followed it perfectly as it is in your guide..I have cross-checked the hex values as well as the methods..maybe i am missing something :(

and i am using virtuous 10 studio for smali editing

i have attached the project of my edited systemui below..you can extract it to your project folder and look into the problem :)
[Android Software Development] D2m_mhd:
Error

Getting this ... :
[Android Software Development] Android-Andi:
I don´t have this folder "smali/com/" should i copy to "\framework\com" ?​
[Android Software Development] codekidX:
did your systemui decompile properly? apktool.yml is not present

ya error in thread put sony folder in classout/com/"paste here"
[Android Software Development] D2m_mhd:
I followed instructions and did exactly what he said ... everything went fine until recompiling SystemUI.apk .
[Android Software Development] chutanh7:
same error. i'm try to port to galaxy ace use rom Cm10.1
[Android Software Development] Android-Andi:
Same here

[90,14] no viable alternative at input 'lookupKey'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\R$styleable.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.
[Android Software Development] Android-Andi:
"classout" ? i dont have it..

must be like in picture attached?
[Android Software Development] codekidX:
replace the hex walue of lookupKey from public.xml to SystemUI\smali\com\android\systemui\"R$styleable.smali"

Correct!! paste it there
[Android Software Development] Android-Andi:
I tried again... started from beginning... not working...

I: Checking whether sources has changed...
I: Smaling...
[B][U][COLOR="Red"][2,0] missing EOF at '.class'[/COLOR][/U][/B]
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\recent\RecentsActivity.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.
[Android Software Development] lukakas:
Thanks my friend, maybe it help me to improve my tutorial. I'm making a vídeo how I do it.
[Android Software Development] lukakas:
You're not using 4.2 API level and you doesn't attached framework tag
[Android Software Development] codekidX:
thanks bro i forgot ...after that did it build without error?

i will try in some time

Edit : Still no success bro...i think you miss some part of the tutorial
[Android Software Development] lukakas:
You decompiled using framework tag and recompiled using framework tag? Anyway, I'km recording my steps on vídeo now.
[Android Software Development] Android-Andi:
I: Checking whether sources has changed...
I: Smaling...
[B][U][2,0] missing EOF at '.class'[/U][/B]
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\recent\RecentsActivity.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.
[Android Software Development] lukakas:
YEAH I find a fix for this error.

You should delete 3 lines duplicates in RecentsActivity.smali

[COLOR="Red"].class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)
.class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)
.class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)
[/COLOR].class public Lcom/android/systemui/recent/RecentsActivity;
.super Landroid/app/Activity;
.source "RecentsActivity.java"

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/systemui/recent/RecentsActivity$TouchOutsideListener;
}
.end annotation
[Android Software Development] lukakas:
Sorry for my mistake!
[Android Software Development] lukakas:
OP updated with resources fix!! http://d-h.st/5J7

Fix this issue:

I: Checking whether sources has changed...
I: Smaling...
[2,0] missing EOF at '.class'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\recent\RecentsActivity.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.

or delete 3 lines duplicates marked in red in RecentsActivity.smali:

[COLOR="red"].class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)
.class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)
.class public Lcom/android/systemui/recent/RecentsActivity; (delete this line)[/COLOR]
.class public Lcom/android/systemui/recent/RecentsActivity;
.super Landroid/app/Activity;
.source "RecentsActivity.java"

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/systemui/recent/RecentsActivity$TouchOutsideListener;
}
.end annotation

Sorry for my mistake.

Anyway, I'm rendering a video step by step and I'll upload on youtube, should help some noobs or not :D.
[Android Software Development] lukakas:
Thanks [MENTION=4532929]chotu222[/MENTION] [MENTION=5153662]Android-Andi[/MENTION] and [MENTION=2954641]uriel_zo[/MENTION] for reporting it.
[Android Software Development] codekidX:
its ok bro! update your tutorial in OP..

I am trying it now :fingers-crossed:
[Android Software Development] lukakas:
Already =D
[Android Software Development] codekidX:
Hey [MENTION=4684483]lukakas[/MENTION] great work bro !!! :good:

Tested working on Xperia T and Samsung galaxy grand duos

Screenshots:

Also i have made a flashable zip of all the latest smallapps ...you can include it in OP so that others need not have to search !!!

The zip includes:

Smallapps

-Camera

-Mirror

-Toggle

-Walkman

-Web

-Google

Edit:

update v2 with

-Latest voiceout

-Unit converter

-Currency converter

Cheers :victory:
[Android Software Development] lukakas:
Thanks for feedback! I'll update OP now! :D:p
[Android Software Development] lukakas:
If anyone got working, please post screenshots in this thread!

In this time I got working on cm10.2 but when open small app I get FC. I think I have to wait for update 4.3 from SONY.

I'm trying to port for some customs roms based from 4.2.2 like touchwiz but it needs more smali and layout intense code.

Android 4.1.2 or 4.0 use difference taskswitcher, so I need to add smali codes and modify it all the things necessary. (So hard)

OP updated again xD, if anyone want read it.
[Android Software Development] Android-Andi:
Working on P3110 ; CM 10.1.3 Stable

Thanks for your Tutorial :) :good:
[Android Software Development] lukakas:
That's great! =D
[Android Software Development] Matx13:
Thank you for mod !
[Android Software Development] codekidX:
Copy the hex value of "lookupKey" from public.xml and then replace it with lookupKey in R$styleable.smali
[Android Software Development] Android-Andi:
hey i want to build patches for other devices i Don't own, so i can not test if it is working.

can someone provide a flashable restore where i can put unmodified apk and jar in and wich will delete all files installed from the patch?

this will make it easyer to share this great patch,because people will be feel safe to test.
[Android Software Development] Matx13:
... help me for compil systemUi.apk :

Thank...

[MENTION=4532929]chotu222[/MENTION] : yes because I rebuilt and I had forgotten that :D
[Android Software Development] lukakas:
Follow this guide, it will help you to mod :)

[YOUTUBE]8CFHp5uVqA4[/YOUTUBE]

Part 2 is uploading.

Edit:

Done: [YOUTUBE]FVbN5KbGItM[/YOUTUBE]
[Android Software Development] Android-Andi:
Yeah! I got it working INCLUSIVE TabletUI :)

I used AutoPatcher to make a TabletUI.

I took

SystemUI.apk
framework-res.apk
android.policy.jar

from the TabletUI patch.

framework.jar

token from the rom

I did all of your Tutorial and at least i put

services,jar

(\system\framework\)

from the TabletUI patch and put it into your flashable-zip too.
[Android Software Development] Matx13:
Thank you, but it's the same ...

http://i0.uyl.me/files/44256303970078016364.png

Because status_bar_recent_panel.xml.... ?!

Device : Acer E2, MTK6589 4.2.2 and similar to Google rom.
[Android Software Development] Android-Andi:
Are you using latest "Java Platform (JDK)" ? http://www.oracle.com/technetwork/java/javase/downloads/index.html
[Android Software Development] Matx13:
Yes
[Android Software Development] Android-Andi:
[MENTION=4684483]lukakas[/MENTION] restore.zip attached.

If you want to return from this patch or in case you are having bootloops:

Download and Open the restore.zip from attachemend,

Put unmodified "SystemUI.apk" into

Small_Apps-restore.zip\system\app\

Put unmodified "framework-res.apk" , unmodified "framework.jar" and unmodified "android.policy.jar" into

Small_Apps-restore.zip\system\framework\

Flash it to restore!

Don´t forget to "wipe cache partition" and "wipe dalvic cache" after that ;)
[Android Software Development] lukakas:
Great to know it, thanks.

Delete lines with recents_clear from status_bar_recent_panel.xml (layout and layout-land) also clear recents_clear from id.xml and public.xml

But you are using CM10.1 ROM? Which rom are you using?

Thanks, I'll use it.
[Android Software Development] uriel_zo:
help

broth

i need help CM 10.1(Android 4.2) for Atrix

my phone is in bootloop infinite

this is my original PhoneWindowManager.smali

very different from the samples in the tutorial

.method public checkAddPermission(Landroid/view/WindowManager$LayoutParams;)I
.registers 6
.parameter "attrs"

.prologue
const/4 v2, 0x0

.line 1572
iget v1, p1, Landroid/view/WindowManager$LayoutParams;->type:I

.line 1574
.local v1, type:I
const/16 v3, 0x7d0

if-lt v1, v3, :cond_b

const/16 v3, 0xbb7

if-le v1, v3, :cond_c

.line 1606
:cond_b
:goto_b
return v2

.line 1578
:cond_c
const/4 v0, 0x0

.line 1579
.local v0, permission:Ljava/lang/String;
sparse-switch v1, :sswitch_data_22

.line 1598
const-string v0, "android.permission.INTERNAL_SYSTEM_WINDOW"

.line 1600
:goto_12
:sswitch_12
if-eqz v0, :cond_b

.line 1601
iget-object v3, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v3, v0}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I

move-result v3

if-eqz v3, :cond_b

.line 1603
const/4 v2, -0x8

goto :goto_b

.line 1595
:sswitch_1e
const-string v0, "android.permission.SYSTEM_ALERT_WINDOW"

.line 1596
goto :goto_12

.line 1579
nop

:sswitch_data_22
.sparse-switch
0x7d2 -> :sswitch_1e
0x7d3 -> :sswitch_1e
0x7d5 -> :sswitch_12
0x7d6 -> :sswitch_1e
0x7d7 -> :sswitch_1e
0x7da -> :sswitch_1e
0x7db -> :sswitch_12
0x7dd -> :sswitch_12
0x7e7 -> :sswitch_12
.end sparse-switch
.end method

ok modify it and compile.

after decompile it again

apparently does not take the change

watch it:

.method public checkAddPermission(Landroid/view/WindowManager$LayoutParams;)I
.registers 6
.parameter "attrs"

.prologue
const/4 v2, 0x0

.line 1315
iget v1, p1, Landroid/view/WindowManager$LayoutParams;->type:I

.line 1317
.local v1, type:I
const/16 v3, 0x7d0

if-lt v1, v3, :cond_b

const/16 v3, 0xbb7

if-le v1, v3, :cond_c

.line 1353
:cond_b
:goto_b
return v2

.line 1321
:cond_c
const/4 v0, 0x0

.line 1322
.local v0, permission:Ljava/lang/String;
sparse-switch v1, :sswitch_data_24

.line 1345
const-string v0, "android.permission.INTERNAL_SYSTEM_WINDOW"

.line 1347
:goto_12
:sswitch_12
if-eqz v0, :cond_b

.line 1348
iget-object v3, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mContext:Landroid/content/Context;

invoke-virtual {v3, v0}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I

move-result v3

if-eqz v3, :cond_b

.line 1350
const/4 v2, -0x8

goto :goto_b

.line 1338
:sswitch_1e
const-string v0, "android.permission.SYSTEM_ALERT_WINDOW"

.line 1339
goto :goto_12

.line 1342
:sswitch_21
const-string v0, "com.sony.smallapp.permission.SMALLAPP"

.line 1343
goto :goto_12

.line 1322
:sswitch_data_24
.sparse-switch
0x7d2 -> :sswitch_1e
0x7d3 -> :sswitch_1e
0x7d5 -> :sswitch_12
0x7d6 -> :sswitch_1e
0x7d7 -> :sswitch_1e
0x7da -> :sswitch_1e
0x7db -> :sswitch_12
0x7dd -> :sswitch_12
0x7e7 -> :sswitch_12
0xbb5 -> :sswitch_21
0xbb6 -> :sswitch_21
.end sparse-switch
.end method

ani idea

sorry for my bad english.
[Android Software Development] lukakas:
At first, what's your ROM and device?
[Android Software Development] uriel_zo:
CM 10.1(Android 4.2) for Atrix
[Android Software Development] lukakas:
You method it's different compared from cm10.1 original. That's weird.

Wait a minute.
[Android Software Development] lukakas:
[MENTION=2954641]uriel_zo[/MENTION] Which tools you are using to decompile/recompile?
[Android Software Development] Android-Andi:
wich tool are you using? i had no problems usingg Android multitool http://xdaforums.com/showthread.php?t=2326604

after recompiling the. apk put the META -INF folder from the unmodified apk into the new, do not replace the xml! after that sign the new apk.

open the. jar file and replace the classes.dex with your new compiled one.

i can upload auf video some time today in late evening.
[Android Software Development] uriel_zo:
broth

iam using

ApkTool_GUI_1.3.5 in chinesse

look at my capture
[Android Software Development] billy_cater:
working good on stock 4.2.2 :D thanks very much,and can u give me your browser,in zip file on first page i don not see SmallApp-B

rowser.apk :D

P.S: i found SmallApp-Browser in CHPlay but it not work,open & close after 2-3 seconds
[Android Software Development] Matx13:
Thank you it works :).

But I have a problem when I run new multitasking, I must leave your finger on the touch pad if it disappears: x

Mais j'ai un problème, quand je lance le multitache, il faut que je laisse le doigt sur la touche sensitive, sinon il disparait le multitache :x

Rom, my custom rom based on stock Acer E2. Mediatek 6589.
[Android Software Development] CressKH:
Finally, you've come out with your awesome tutorial! Thanks for your effort!

I need some help here while trying to follow your tutorial, I'm stuck in the step of decompiling SystemUI.apk.

A number of files couldn't be found in res/values/

Attached is the screenshot of the error, I'm using apktool with latest jre7 update.

Any advise?

EDIT: Uploaded SystemUI.apk from my device in case you need it.
[Android Software Development] Android-Andi:
[MENTION=2954641]uriel_zo[/MENTION] Video will be up in maybe 1 or 2 hours for using Android MultiTool from here: http://xdaforums.com/showthread.php?t=2326604

---------- Post added at 06:30 PM ---------- Previous post was at 06:30 PM ----------

[MENTION=5017116]CressKH[/MENTION] you can check this video out too if i have posted it

Edit: Uploading... 93 Minutes.
[Android Software Development] lukakas:
Like I said, only works for CM10.1. I'm working on it: http://xdaforums.com/showpost.php?p=46004108&postcount=44
[Android Software Development] Android-Andi:
Working on P5110 (Galaxy Tab 2 10.1) too. Someone confirmed in a german forum :)
[Android Software Development] lukakas:
OP update with guide video, I suggest all to use Virtuous ten studio because is easy to follow and give us log tools

[MENTION=2954641]uriel_zo[/MENTION]

Check guide video in OP.
[Android Software Development] paul678:
Ok so I think I got all the steps but I get this error at runtime:

09-30 21:08:02.250: E/AndroidRuntime(2061): java.lang.RuntimeException:
Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recent.RecentsActivity}:
java.lang.SecurityException:
Not allowed to start service Intent { act=com.sony.smallapp.intent.action.HIDE_WINDOWS cmp=com.sony.smallapp.managerservice/.SmallAppManagerService (has extras) } without permission com.sony.smallapp.permission.SMALLAPPMANAGER_CONTROL

But I don't have the java code to know why so if anyone can help. And com.sony.smallapp.permission.SMALLAPPMANAGER_CONTROL is declared as said in the tutorial.

Thanks everyone! [MENTION=4684483]lukakas[/MENTION]
[Android Software Development] lukakas:
Give me your AndroidManifest.xml from framework-res.apk and AndroidManifest.xml from SystemUI.apk

What's your ROM?
[Android Software Development] paul678:
CM10.1 for Xperia T. Here come the files, thank you very much!
[Android Software Development] Android-Andi:
Video-Tutorial on How to port SONY Small Apps/Taskswitcher plugin to CM10.1/4.2.2

using "Android Multitool"

from [MENTION=4642185]Flextrick[/MENTION]

[YOUTUBE]NjUP8305-zI[/YOUTUBE]
[Android Software Development] lukakas:
It's fun because [MENTION=4532929]chotu222[/MENTION] already ported to your device: http://xdaforums.com/showthread.php?t=2462974

[MENTION=5153662]Android-Andi[/MENTION] that's really great, so I'll update OP with that video tutorial. It's good expand to more tools
[Android Software Development] hardslog:
Looks like I got it all working on an Android 4.2.1 rom except that I have some crashes in apps, but I think that is due to the legacy small apps port applications still on my tablet. I'll post some screenies when I got it all worked out.

Did I hear somewhere that the newer version of smallapps allows multiple windows to be opened at the same time?