yashsingh1/xdaforums huggingface dataset:
[Android Software Development] devilmaycry2020:
maybe you miss adding <item type="id" name="recents_clear">false</item> in ids.xml

and ic_recents_clear.xml in drawable folder
[Android Software Development] lukakas:
Anyway, it's gonna appears recents clear button but will not working since it's a CM feature.
[Android Software Development] tulen_kobi:
You were right, adding this causes application to FC ...

Anyway thank you for help.
[Android Software Development] devilmaycry2020:
make tutorial for 4.1.2 stock rom please
[Android Software Development] lawrenceglue:
''

Add these lines at the bottom:

Code:

<dimen name="task_killer_button_layout_padding_top">0.0dip</dimen>

<dimen name="task_killer_button_layout_padding_left">16.0dip</dimen>"

"Then, go to res/values/strings.xml and add these lines at the end:

Code:

<string name="permlab_taskSwitcherPluginView">Provide plugin-view to the task-switcher</string>

<string name="permdesc_taskSwitcherPluginView">Allows the application to provide a plugin-view to the task-switcher.</string>

<string name="permlab_smallapp">Small application overlay</string>

<string name="permdesc_smallapp">Allows running movable small applications on top of other applications.</string>"

hmmmm...Should I add the sentences before </resources> or after it?
[Android Software Development] lawrenceglue:
Thank you very much Lukakas~

Now I can enjoy smallapp on my non-xperia tablet~

Port to nook hd+ cm10.1.3 stable(0923) successfully.

Both works on tablet UI and the original Phablet UI.

flashable zip

for cm10.1.3(0923) original

http://d-h.st/uHI

for cm10.1.3(0923) tablet UI (0927 patch by [MENTION=2566759]buzz killington[/MENTION] ,http://xdaforums.com/showpost.php?p=45978616&postcount=187)

http://d-h.st/iQO
[Android Software Development] Ben Ling:
Is there any ways to port it to Android 4.4 KitKat Stock ROM ?
[Android Software Development] rakz992:
Port to kitkat 4.4 is on the go!!

Need some help bro [MENTION=4684483]lukakas[/MENTION] :)
[Android Software Development] lukakas:
Sony release 4.3 official! CM10.2 and CM11 small app mod coming soon!

pm send =)
[Android Software Development] pedyvirus:
Can you port this guide for enabling xperia z 4.1.2 taskswitcher in cm10?

I really like to see this working on my phone (because xperia play doesnt have cm10.1 :( )
[Android Software Development] khamim:
glad to hear that :)
[Android Software Development] franksdb:
it is possible to have smallapps in android 4.3???
[Android Software Development] Leo:
somebody help....i meet some problem when dealing with the android.policy.jar

after changing the phonewindowmanagerm.smali

i could not complie it.

im on CM11 xperia TX

really need help about smali things, plz plz plz :crying:

[MENTION=5143953]rakz992[/MENTION]

[MENTION=4684483]lukakas[/MENTION]
[MENTION=4662673]sandy7[/MENTION]

here is my file
[Android Software Development] musicazx:
Tried on CM11 - Doesn't work, Stuck at Booting animation

Waiting for CM11 Porting :) Hope it will be release soon

Thanks :D
[Android Software Development] lukakas:
Finally I got it working! Small Apps ported for CM 10.2 from Z1 with Android 4.3 version! :D

I'll update the guide with latest small app 4.3 resource files and new instructions!

Yes, Kitkat version soon!
[Android Software Development] CressKH:
Still tuning in this thread, desperately hoping for KitKat port :D
[Android Software Development] jaderxiii:
Question!

is there anyone here who tried to port this on a mediatek device stock rom?

i tried porting and i got no error at all in decompiling and recompiling but im on a bootloop situation when i flash it to my phone. im using a mediatek device stock rom mt6582 4.2.2

EDIT: [MENTION=4684483]lukakas[/MENTION] sir it seems AndroidMultitool didn't sign my apk that has a modified android.manifest.xml any other way to sign apks?

i tried signing my settings.apk with a modified manifest xml.. and it is not accessible because it is not signed properly.. i also try apkmultitool it also fails me :(
[Android Software Development] :
Brother,

Are you asking about Mediatek....

If yes, then I'm the answer. BTW MTK is best known as "Hell for Developer or Themed"

Download zip signer from play store and sign each app.

That's it.

Do let me know if you need more help in this.
[Android Software Development] jaderxiii:
Yes its about mtk. btw i already tried that. i tried signing my settings.apk.. i only modify the android manifest.xml inside my settings.apk and sign using that zip signer from playstore. and still settings wont appear in my app drawer so it means it is not signed :(

btw. did u already tried to port this mod to a mtk device running on stock 4.2.2 rom?
[Android Software Development] :
Bro,

Just give me your modded and unmodded settings. I'll try to figure it out.

Now regarding my mod, yes i did that long back. BTW i didn't tried that but also successfully ported it to 5 ROMs.

Here is that.....

http://xdaforums.com/showthread.php?t=2476410

Hopefully you will get your answer. Do reply me back if you need any help.
[Android Software Development] jaderxiii:
Please have a look on my settings.apk i only modify the android manifest xml and recompile and signed it but it still wont work. thanks!

btw back to the small apps. im also trying to port it to my device running stock 4.2.2 rom from an mtk device mt6582 but i think my first problem is how i will be going to sign apk that has a modified android manifest xml because modifying the android manifest xml is included in the tutorial in porting the small apps.. actually i already completed the steps in the guide my only problem is the framework-res.apk and my systemui.apk is not signed properly that is why my device goes bootloop because of that..
[Android Software Development] DeveDroid:
Any chance of making this mod work on android 4.4.2?

It will be great!
[Android Software Development] lukakas:
Same thing the case of cm10.2. I think I'll wait for sony release 4.4 android version.

When I open a small app I got FC =/

Kitkat version is hard to port.
[Android Software Development] DeveDroid:
If u want I will help u! :)

May I know why KitKat version is hard?
[Android Software Development] lukakas:
Is hard but the problem is small app jar, it seems to be incompatible for kitkat.
[Android Software Development] DeveDroid:
Ok wait, let me take a look!

I will PM u the progress

:...::::⭐Recognized TDT™ member⭐:::...

....::◀Press Thanks if I helped▶:::...
[Android Software Development] khamim:
We pray for you all,hope small app problem on kitkat can be solved soon
[Android Software Development] TheXorg:
Can you please update that guide to CM11 or at least CM10.2?
[Android Software Development] minhdangoz94:
Resources

Pls help me with this error message:

C:\AndroidMultitool\Decompiled_apk\SystemUI\res\layout\status_bar_recent_panel.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_clear').

Was something wrong? How to fix it?
[Android Software Development] abo hani:
I tried a ported z1 task switcher like this method but when i open recent apps ... No activities found ! How to fix this bug

Sent From School Using KiKat Style ROM
[Android Software Development] lukakas:
Xperia Z1 - 4.3 small apps​

​

Download:

Changelog:

If you liked my work, just click on Thanks button.:laugh:
[Android Software Development] lukakas:
Anyone can try to port for CM10.1 using Z1 - 4.3 resources and flashable zip?
[Android Software Development] Android-Andi:
thanks [MENTION=4684483]lukakas[/MENTION] but there is no official CM10.2 for me :D there was no stable or rc released and all moved from cm´s server beacuse of official CM11 nightlys :p

maybe i have a self-compiled CM10.2 somewhere on my pc :p maybe i´ll run one to test it, but i am really busy at OmniRom and SlimKat atm... :(
[Android Software Development] lukakas:
It seems Sony will launch kitkat in march, then I'll be able to working in CM11 devices. Sorry for quoted your reply wrong.
[Android Software Development] Android-Andi:
no problem [MENTION=4684483]lukakas[/MENTION], i am still interested in it... but i am missing some time to do those stuff atm :(
[Android Software Development] khamim:
[MENTION=4684483]lukakas[/MENTION] if possible please make small apps guide for cm 10 too.

i've back to super jelly bean JB 4.1.2 because it support fm radio in my lww :D
[Android Software Development] pedyvirus:
well after reading some useful threads on xda about these things i found that its not hard because lukakas has done the hard parts

i will try to make one for my xperia play if i get some time
[Android Software Development] carlito-lt26i:
when i recompile android.policy.jar ,prompt invalid directive .

The guide suitability for cm11?

or can you upgrade guide for cm11 thanks .:highfive:View attachment 2589986
[Android Software Development] shaggydiamond:
so no
[Android Software Development] devilex94:
I see no change at all :silly:

I think because I am not using cyanogenmod and my SystemUI is modded by manufacturer its calling for different xml i think.

Will you help me?

EDIT: I got it working

Thank you for awesome guide.

But there is one problem i.e in animation

Like if I haved opened an app then open recent app by long clicking home button, the animation for app going to recent is weird . it first goes on the small launcher bar then comes back to its original place.

What should I do??
[Android Software Development] jaderxiii:
THANKS!

At last small apps successfully ported to my Flare S Mediatek 6582 running stock 4.2.2 deodex

EDIT: [MENTION=4684483]lukakas[/MENTION]. can u also pls port xperia lockscreen 4.2.2 / cm 10.1 which supports widget? thanks! :D looking forward to your mods thanks alot!
[Android Software Development] theonepharaoh:
Please update the guide to cm11

Please update the guide to cm11
[Android Software Development] ulasates:
Waiting for CM11 update to use on my N4 :good:
[Android Software Development] khamim:
any news?
[Android Software Development] ch3mn3y:
There is no other kk xperia stock fw than leaked z2 (if tthere is access to it), so give him some time. Its great that he is doing this, so if u want this u should be able to wait some more or downgrade

Ps. And yes I would like to use small apps on my tf300t, but I can wait for it

Sent using TF300T - CyanogenMod 11.0/GRIMLOCK Kernel
[Android Software Development] theonepharaoh:
I have a problem with the systemui compiling

I tried many tools but no use

I get the errors in the log file

and it stops compiling

all other required files for the small apps have compiled fine with no errors

all files about the problem

please help [MENTION=4684483]lukakas[/MENTION] [MENTION=5153662]Android-Andi[/MENTION]
[Android Software Development] elias234:
any new for cm11 ?
[Android Software Development] lukakas:
Sorry, my Laptop still broken. Wait a couple of days.
[Android Software Development] elias234:
waiting while on fire :P

i really appreciate your work
[Android Software Development] slink722:
wheres the tutorial for CM11 mate? pls provide if u know. haha. thanks! :good:
[Android Software Development] Kevin-0100:
based of your guide, i was finally able to get the taskswitcher to work on CM11 / Android 4.4.2

The SmallApps need more work though, (the smallapps force close when trying to launch them) this guide is not (fully) compatible to make it work with CM11.
[Android Software Development] Heitezy:
working on Xperia U CM10.2

wait for CM11 compability
[Android Software Development] Kevin-0100:
SmallApps and Taskswitcher both working on CM11 using OpenSEMC CM11 Beta 3 on Xperia S
[Android Software Development] Heitezy:
Really? without fc?

How did you do it?
[Android Software Development] Kevin-0100:
Yes for me it works, i used mixed files from the provided zip package for 4.3 ,the 4.4 xperia z2 system dump and cm11 and compared the difference in the needed .smali files. I will upload the build files (Android.policy.jar, framework2.jar, framework-res.APK and systemui.APK) later and highlight the changes i made.
[Android Software Development] ch3mn3y:
I wish it wont have problems with carbon kitkat and will work too

Sent using C6833 - Carbon KitKat
[Android Software Development] Kevin-0100:
Wel since this guide is for jellybean and not kitkat one simply cant copy/paste everything in this guide. The needed files are thesame (except for framework.jar, i used framework2.jar instead) and the needed .smali lines to alter and the steps needed to take as posted here are thesame too.

The difference lies in smali files and which lines to edit.
[Android Software Development] lukakas:
Finally my laptop was fixed today. I'm back to work.

[MENTION=5127507]Kevin-0100[/MENTION] Nice port! Sorry for delay, I switched my notebook for the same model.
[Android Software Development] Kevin-0100:
[MENTION=4684483]lukakas[/MENTION] if you want i van share my files with you so that others can port it to cm11 aswell.
[Android Software Development] lukakas:
I did the same last month but 4.4 wasn't release yet and my laptop broked the LCD and BGA.

http://xdaforums.com/showpost.php?p=49885860&postcount=221
[Android Software Development] lukakas:
That would be good. Thanks.
[Android Software Development] Kevin-0100:
Ah you got it covered then. :D, i will make a zip and pm you the link

---------- Post added at 05:10 PM ---------- Previous post was at 04:39 PM ----------

@lukakas tried to send a PM but wasn't sure if it got through since my browser keeps throwing errors when hit send, so here it is, the zipfile with resources for porting to cm11

https://mega.co.nz/#!swFTWZoQ!kdUmHVeQF_ZOwYTF28LfVo72QfY4uWcMclG9gO-RzNM
[Android Software Development] lukakas:
Checked. I'm working on guide.
[Android Software Development] gamzekal:
I wait your Guide
[Android Software Development] CressKH:
Finally my turn to change to CM11!!
[Android Software Development] Nasheich Xfiles:
[MENTION=4684483]lukakas[/MENTION]

i used cm10.2 but i can't find these line in RecentsActivity.smali

recents_pluginview_container

recents_layout

plugin_view

status_bar_recent_panel

recents_root

config_recent_item_min_alpha

recents_pluginview_container

recents_return_to_launcher_enter

recents_return_to_launcher_exit

what should i do?

And where's the number 9?

you jump from 8 to 10 :/
[Android Software Development] Kevin-0100:
There should be 9 entries to fix, not 10.

in RecentsActivity.smali you won't find names like plugin_view etc. When opening RecentsActivity.smali in VTS, you will notice that there are 9 referrals made to the public.xml. Replace the stock hex id's that came in the zip with the id's you made in public.xml.

To clarify my point, I have attached a zip with 2 files you can use as reference.

Note that this is an example of my files. Do not duplicate the hed id's (the line numbers are from my RecentsActivity.smali)

recents_pluginview_container / id="0x7f07007f" line 176

recents_layout / id="0x7f07007e" line 199

plugin_view / id="0x7f040025" line 239

status_bar_recent_panel / id="0x7f040021" line 788

recents_root / id="0x7f070068" line 793

config_recent_item_min_alpha / id="0x7f0b0008" line 864

recents_pluginview_container / id="0x7f07007f" line 970

recents_return_to_launcher_enter / id="0x7f05000e" line 1070

recents_return_to_launcher_exit / id="0x7f05000f" line 1072
[Android Software Development] Nasheich Xfiles:
Ok, thank you very much, i'll try again ;)

Edit :
[MENTION=5127507]Kevin-0100[/MENTION]

so i just need to replace tje hex with my public.xml, and used your .smali as a base, is that right?
[Android Software Development] Kevin-0100:
[MENTION=4792862]nasheich[/MENTION] no use the RecentsActivity.smali file provided in the 4.3 resource zip mentioned in the OP as a base. You can use my files as a reference to find out where the lines in the RecentsActivity.smali (file provided in the 4.3 zip) are. when you found out which lines contain the hex numbers, change the hex id to match it with the one in public.xml.

For example, in my RecentsActivity.smali file, the first hex number is on line 176, beginning with const v3, 0x********

(keep in mind that the hex number in your base file will differ from mine as i'm using it on android 4.4)

That first number represents recents_pluginview_container. Now when you go to your public.xml , you added <public type="id" name="recents_pluginview_container" id= followed by a hex number which you assigned to it. (for me it was 0x7f07007f)

copy that hex id you assigned in public xml to match the entry in RecentsActivity.smali.

The outcome for me was const v3, 0x0x7f07007f

The second hex number represents recents_layout , the third plugin_view etc.

I hope this explains it :D
[Android Software Development] Nasheich Xfiles:
ok, i understand, thank so much

but i got error while compiling

C:\Documents and Settings\Anisa\Desktop\ApktoolCM>apktool b -f -d systemui

I: Using Apktool 2.0.0-Beta7 on systemui

I: Smaling...

systemui\smali\com\android\systemui\recent\RecentsActivity$1.smali[24,4] Error f

or input '.parameter': Invalid directive

systemui\smali\com\android\systemui\recent\RecentsActivity$1.smali[39,4] Error f

or input '.parameter': Invalid directive

systemui\smali\com\android\systemui\recent\RecentsActivity$1.smali[40,4] Error f

or input '.parameter': Invalid directive

systemui\smali\com\android\systemui\recent\RecentsActivity$1.smali[39,15] mismat

ched input '"context"' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file

: com/android/systemui/recent/RecentsActivity$1.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:337)

at brut.androlib.Androlib.buildSources(Androlib.java:298)

at brut.androlib.Androlib.build(Androlib.java:284)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:233)

at brut.apktool.Main.main(Main.java:88)

Any clue to fix it?

[MENTION=5127507]Kevin-0100[/MENTION]

can you give me your jb 4.3 systemui that used smallapps
[Android Software Development] Kevin-0100:
Did you try to compile it with virtuous ten studio?

Well I can't share my SystemUi.apk since I am not on Jellybean, I am on KitKat.
[Android Software Development] gamzekal:
When prepare you a guide for cm11?
[Android Software Development] lukakas:
Probably tomorrow because I'm getting issues about latest cm 11 build bot. So I'll use recently compiled.
[Android Software Development] CressKH:
Can't wait!!

Feels like my cm10.1 is freaking outdated now.
[Android Software Development] lukakas:
Fixing some bugs now.

View attachment 2707393
[Android Software Development] alinolaw71:
tanx so much bro.

bro pls make guid for cm11 or port for cm 11

.
[Android Software Development] lijianjunyonghu:
CM disable signature check:confused: Whether you need
[Android Software Development] ch3mn3y:
Awesome. But still not for cm11 or in other steps then first kk users should use cm10.2 part of the guide?

Sent using TF300T - CyanogenMod 11.0/GEASS (F2FS)
[Android Software Development] Rainca:
I need your help !
[Android Software Development] ch3mn3y:
I think u dont need his help but anyone how.understand apktool and it will be easier for u to ask in apktool's thread

Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
[Android Software Development] CressKH:
I saw CM11 in the OP thread but it's not completed...

Anxiously waiting :p
[Android Software Development] alinolaw71:
+1

.
[Android Software Development] sidharth.gtm:
if you comile using apktool 2.0 it will give this error use apktool 1.5.2 . and if 1.5.2 does not work for you .. you will need modified smali files to work with apktool 2.0
[Android Software Development] Rainca:
Thx.I'll try this way tomorrow .
[Android Software Development] lukakas:
The new port is based from Xperia Z2 kitkat small apps. There is new codes and permissions to port.
[Android Software Development] alinolaw71:
tanx so much bro.

bro i mode framework.jar and android policy.jar and framework_res.apk.

but i cant find this names in systemui :

recents_pluginview_container

recents_layout

plugin_view

status_bar_recent_panel

recents_root

config_recent_item_min_alpha

recents_pluginview_container

recents_return_to_launcher_enter

recents_return_to_launcher_exit

.

i test your guid on cm 11.

pls update your thrd for cm11

.
[Android Software Development] Pro_SmarT:
[MENTION=4684483]lukakas[/MENTION] please share for cm11
[Android Software Development] Rainca:
Hi !Here's the guide for cm11 .

http://xdaforums.com/showthread.php?t=2728946

Sent from my Ascend P6
[Android Software Development] naheel azawy:
Thanks :good::good::good:

Will try it as soon as possible for xperia 2011 devices :good:
[Android Software Development] Pro_SmarT:
i tryed this it didn't work. :(
[Android Software Development] ch3mn3y:
So why U ask here? U should try in that thread and give some more details.
[Android Software Development] minhdangoz94:
I have the same issue with you

Did you fix it?
[Android Software Development] Kevin-0100:
Replacing apktool 2.0 with 1.5.2 should resolve the issue
[Android Software Development] naheel azawy:
[MENTION=4684483]lukakas[/MENTION]

Thanks so much

I did everything exactly as said but didn't worked on Xperia mini pro CM11.

you've shared it before for cm10.1 on mini Xperia devices forum, please add new version for cm11
[Android Software Development] ch3mn3y:
There is link few posts ago to other thread with guide for cm11

Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
[Android Software Development] lukakas:
Sorry guys. I was too busy but I have a bad news. The latest small app from z2 kitkat got more code to port and I can't do work yet.
[Android Software Development] Kevin-0100:
Those errors mean that you are missing some (drawable) files.
[Android Software Development] ch4n_benson:
How can I fix it?
[Android Software Development] naheel azawy:
your tutorial didn't worked with me :rolleyes:

can you please help there:

http://xdaforums.com/showthread.php?t=2770820

http://xdaforums.com/showpost.php?p=53101781&postcount=198

Thanks
[Android Software Development] CressKH:
Is OP still working on this guide?

I don't mean to rush but it has been quite a long time waiting for cm11 guide...

Thanks.