yashsingh1/xdaforums huggingface dataset:
[Android Software Development] MPKMRS:
:good::good::good:nice guide and every thing is fine am not cm user am applied this mod perfectly camera and calculator are working rest all are force closing can u please upload small app launcher too:confused::confused:
[Android Software Development] sev7en:
Good evening,

I have a Mi Mix and I would like get the Small App to lock the screen (useful for youtube): did it is available? How can I install it?

Thanks,m
[Android Software Development] ebram96:
Where can I find " framework-res.apk" ?
[Android Software Development] XZPit:
Is there a possibility that it could work on Android 9 also?

I really miss small apps some times.

Previous used Z5 compact on 7.1.1 now XZ premium on pie.

I read Googles permissions lead to the end of support for small apps.

Any ideas to revive them without foreign overlay apps?
[Android Software Development] sandy7:
Btw did u decompile ur framework-res.apk?
[Android Software Development] sandy7:
now its confirmed this method also working on CM10.1

also i have attached the flashable zip format in OP
[Android Software Development] D2m_mhd:
LOL ... I Am Semi-Noob ... I Thought Decompiling Framework-res.apk Means to open it like a zip file :P

Sorry For Noobish but how to decompile and recompile files ?
[Android Software Development] sandy7:
Search it bro u can find anything.....u need to use apktool for it..
[Android Software Development] Akhil:
You haven't mentioned anywhere what to do with the recompiled framework-res.apk,android.policy.jar and framework.jar.
[Android Software Development] sandy7:
Basic logic u have to put them in system/framework folder in ur flashable zip and flash it simple..
[Android Software Development] m11kkaa:
I'm trying to apply this mod on MIUI. The problem is that I can't edit AndroidManifest.xml of framework (to add permissions) because of signature problems.

The normal way to recompile framework is to replace AndroidManifest.xml and META-INF with original (not-decompiled) versions.

Do you know a way I could modify AndroidManfiest or is there another way to add the permissions?
[Android Software Development] sandy7:
Edit with notepad++ ...after recompiling only replace the meta-inf folder dont replace to androidmanifest.xml ..

But I have not tested this mod on MIUI..
[Android Software Development] m11kkaa:
Even if I don't modify anything replacing meta-inf only results in a bootloop. I really need to replace AndroidManifest.xml
[Android Software Development] Akhil:
I know it but you should mention it in your tutorial.

Anyway , i have managed to edit each of the file you said , i am getting a status 7 error , i have used your cwm recovery flashable zip , checked every line in updater script and every app but still getting error while flashing.
[Android Software Development] sandy7:
Wired....wait for a file ill upload another flashable zip format in few mins.
[Android Software Development] sandy7:
I have attached a new flashable zip format for cwm in OP....try that..
[Android Software Development] OptimusRs:
@sandy7 or any One can do it for Me please :)

here the files

http://d-h.st/XuC
[Android Software Development] sandy7:
Sure...ill do it when I have free time..
[Android Software Development] :
plz delete this

plz delete this
[Android Software Development] sandy7:
thanks for ur log.....the other small apps were taken from xperia z fw....might be some signature problem thats y they are not opening...(even i had the same issue) my bad i kept in the resources.zip....

well try using another app call small apps launcher from play store (the link is there in OP) to the launch the small apps...and u can find more small apps in play store ...

i think c3ma138 is not making any more on small apps...

So let do one thing ill REQ my good friend.. Soumya_digi to make some more smalls for Cm based roms who already has some built and made some small apps..
[Android Software Development] iiandskater:
yes i think so, it's bcs they're taken from Z fw..

maybe i should try one from nxt ICS fw :p

already tried that mate,

but same result.. :rolleyes:

wow thank u very much for ur fast reply, and for ur help of course..

i'm so appreciate it mate,

thanks again.. :)
[Android Software Development] AveryWilson:
Quick question do I have to do all that work if i just flash the zip? and also are either of these flashable using Armon Ra as I have an htc Rezound and this is by far the most stable and reliable recovery for it?
[Android Software Development] sandy7:
i would love to see small apps in ur new 4.2.2 rom..

this is not a recovery or aroma thread.....

this is an GUIDE for moding it urself
[Android Software Development] AveryWilson:
well its a good thing i didnt flash anything...I apparently cant read today its to late thanks mate...
[Android Software Development] ch3mn3y:
What if I dont have values (and strings.xml file) folder in framework-res?
[Android Software Development] sandy7:
It should have....

Once u decompile framework-res.apk

Goto res/values ..

There u will find that xml
[Android Software Development] 7alvi:
Hi this is a great guide...Congratulations bro that it got on XDA portal...It worked for me on cm10....but somehow doesnt seem to work on cm10.1....I know its been reported that it works but it doesn't for me so if you can take a look at these files, that i modded, it would be really great!! :highfive:

Link
[Android Software Development] sandy7:
ya ill look on it soon
[Android Software Development] 7alvi:
Hi thanx i just found out this line in AndroidManifest.xml

<permission android:name="android.permission.SYSTEM_ALERT_WINDOW" android:label="@string/permlab_systemAlertWindow" android:description="@string/permdesc_systemAlertWindow" android:protectionLevel="dangerous" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" />

^This is already there BUT as the screenie shows it should be under this line

<permission android:label="@string/permlab_retrieve_window_content" android:name="android.permission.RETRIEVE_WINDOW_CONTENT" android:protectionLevel="system|signature" android:permissionGroup="android.permission-group.PERSONAL_INFO" android:description="@string/permdesc_retrieve_window_content" />

which it ISNT

so i tried to add just the other line and also ii tried adding both lines as shown in screenie...doesnt work....and if i delete SYSTEM_ALERT_WINDOW line from its original place it gives error in compiling :(
[Android Software Development] ch3mn3y:
I would like to do it but this is my framework-res (unpacked using 7zip coz for now i only want to find values folder)
[Android Software Development] 7alvi:
You have to use apktool to decompile the app... 7zip extracts the app!
[Android Software Development] ch3mn3y:
I know, but it should show all files? or not?

EDIT: Ok. I was wrong. Now i have values folder. Thanks again for showing me my (big) mistake
[Android Software Development] sandy7:
Ho god some one kill me....

Those folder wont show up unless u decompile them using apk tool..

Plz search in google and xda before posting here..
[Android Software Development] ch3mn3y:
Now i know :D An i didit. Its working, but i have only camera (not working) nad calc as small apps. I understand that its coz small app need "big" app, which i dont have.

However browser/recorder/timer - i have "big" app and small and it still dont work. I need sony browser/recorder/timer? I always thought that this apps are unchanged by phone manufacturers.

Anyone know when i can found multiscreen or hdpi ManagerService, Notes (and browser/recorder/timer), which should work with this mod?
[Android Software Development] jumper62:
For more small apps, search them on Google play store
[Android Software Development] 'Shiino:
great! we hope that works on xperia arc s CM10.1!

A question you could ported lockscreen on xperia z for cm10.1 in xperia arc?
[Android Software Development] mato_d007:
Great guide, thanks!

I sucessully ported it to my rom on a Motorola Defy. Now i have a question, how i can add this to the rom zip itself? i mean, this works ok when you flash the patch zip after the rom, but because of the androidmanifest.xml edit on framework-res.apk it wont work implemented on a rom zip (framework-res.apk will cause bootloop). This is due to a signature problem afaik, the only way i can make it work is re-signing every system app? or there is an alternative?
[Android Software Development] sandy7:
resign it again
[Android Software Development] lukakas:
I made an SmallApps MOD for latest PAC ROM!

Thread: SmallApps MOD for PAC JB 4.2.2 - v22.1.0
[Android Software Development] readyfordeals:
I know this is for CM but any way to make this would for the Samsung Galaxy Nexus? Running on either PA 3.1 or ROM][4.2.2-JDQ39] CyberGR-MOD|Gnex ver.3|TWEAKS++|MODS++|Nemesis?
[Android Software Development] sandy7:
It will work...try it..
[Android Software Development] readyfordeals:
Well, I've been trying all day yesterday and today to no avail. Might be just me. I'll wait til ameonemakes a flashable twrp file for me. Thanks
[Android Software Development] OptimusRs:
I did all the steps and i get this

How to fix this :confused:
[Android Software Development] ch3mn3y:
I had similar problem. I think that there is more icons then should bre. Afteri installing/updating small apps in market it dissapeared

Sent using SO-01D - P.A.C Man/Turbo Kernel
[Android Software Development] mato_d007:
You must edit the framework's androidmanifest.xml to declare the permissions. Its on the guide on the op.

Btw, i was experimenting today trying to make direct access to the mini camera on the app drawer, but it looks like it can only be triggered by Slauncher or the other launcher. I only get fc's when i open it from the app drawer icon but it works in Slauncher after edit the manifest. I noticed that mini camera opens faster than the stock jb camera so i though that it will be nice to have a rapid direct acces. Do you know a way to do it? I tried with all the 3 classes i found inside the manifest but just fcs...
[Android Software Development] sandy7:
add new resources file in OP with more working small apps

thanks to [MENTION=4659672]yamin8000[/MENTION] and [MENTION=3962236]Pranav Pandey[/MENTION]
[Android Software Development] HellFish23:
Can someyone help me, I tried but it didnt work. Maybe thats because I used a mac (pc sucks) :D

Files:

http://db.tt/DjdcIvyC

send with my awesome xperia S running latest PAC rom :D
[Android Software Development] Ahmad.H:
Hi,

I have done all the steps but I get FC when opening small apps.

I have Xperia X8 with CM10

Please help me.

Thanks
[Android Software Development] sandy7:
Use the new resources from OP...and also update apps from play..

Use Slauncher rather than small apps launcher
[Android Software Development] ch3mn3y:
I see new apps :)

If i had apps from old resources working can i flash only files which are in new resources zip or I need to recompile everything again?

Sent using tf300t - stock 4.2.1
[Android Software Development] sandy7:
Yes u can
[Android Software Development] matthiastan5:
how to use the flashable cwm zip format?

or can someone help me with this?

files are here https://www.dropbox.com/sh/zglvvobujz2s0cc/k076jzQK9D
[Android Software Development] ch3mn3y:
Open cwm zip in eg winrar and move files u made to the zip (need to be corect folders) and than flash it

Sent using SO-01D - P.A.C Man/Turbo Kernel
[Android Software Development] Hussein El Feky:
HELP!!!!!!!!!

Hello guys!!!!! Plzzzzz can anyone do it for me?! :o I tried doing it for many hours but i failed and it didn't work for me :( Here are the files. Plz anyone reply to me!!! I am using xperia mini pro .587 ICS
[Android Software Development] sandy7:
[MENTION=224033]hussein[/MENTION]...

This is a tut for adding small apps to cm based roms...see my signature 'adding framework mods' for how to add to ics.
[Android Software Development] ayazm.140895:
Hello sandy! I'm trying to port xperia keyboard to my device (LG optimus one p500 running on 2.3.3 ) I have stock gb of xperia mini in a zip. How do I start? I'm confused, if you could help me and point me to right direction... I'd be grateful to You! I'm new to this process. I have everything installed on Ubuntu like apk tool etc. Thank You! :)
[Android Software Development] jumper62:
Xperia keyboard has been ported for Ics. Just search it on android apps and games. Doesn't work on gb
[Android Software Development] ayazm.140895:
I want it for gb that's why I have downloaded stock gingerbread for xperia mini. Please help me out to make one!
[Android Software Development] isotonik:
hi.. just want to help you , please backup you rom first before you flash it , i'm noob so forgive me if any trouble. here is the link :

http://www.4shared.com/zip/MVDc0uox/SMALL_APPS_for_Hussein_El_Feky.html
[Android Software Development] matthiastan5:
Hi

I finally was able to edit all the files and stuff then I added everything to the flashable zip file for Cwm, and flashed it but got status 0 error

Please help:(

Sent from a penguin<(° )
[Android Software Development] Kevin-0100:
Nice tutorial, confirming this works on Xperia S running CM10.1 (OpenSEMC rom)
[Android Software Development] Ahmad.H:
Try this:

http://www.mediafire.com/?fgt53ysk52osm0f
[Android Software Development] Bejda:
Try to take META-INF/com/google/android/update-binary file from a cwm zip that works on your device to replace the one from the OP zip.
[Android Software Development] Hussein El Feky:
Thanks man!!! You are awesome!!! :good: It worked perfectly for me!!! :laugh: :victory:
[Android Software Development] ayazm.140895:
This zip doesnt work as it has update script not updater script. I had to place the files using root explorer! I did everything like proper permissions, but it didnt work!
[Android Software Development] isotonik:
u're welcome :D
[Android Software Development] lukakas:
It's hard to port or mod "Recent apps" for support small app mod? Because at xda is difficult to see a any mod for "Recent apps".
[Android Software Development] sandy7:
Yes it hard...I tried many times to do...when opening the recent apps systemUI fc's
[Android Software Development] galaxys3lover:
[MENTION=4662673]sandy7[/MENTION]

Thank you it worked :) on cm10.1 nightly :)

Anyway to make it look like its on xperia phones?.. like that multi window look?

Edit:works on another Rom based on the cm 10.1 ,everything works except the camera small app.. It ssays error :confused:
[Android Software Development] readyfordeals:
Anyone want to help me port this to the Samsung Galaxy Nexus Maguro for the latest beanstalk ROM v1.225. Will donate some cash 20 bucks if Hou could.
[Android Software Development] galaxys3lover:
Sure .. I'll try .. send me the link to the Rom and i will port it :)
[Android Software Development] andrewnelson23:
Hi, I was trying to do this for the Desire HD build of cm10.1. It's difficult, and I can't quite figure it out. The blue text from android policy jar is different than the one's that I have. If anyone could PLEASE do this for me, that'd be really awesome! Here's a link to the downloads for the cm10.1 on DHD.
[Android Software Development] sandy7:
upload me the files ill do it by today night
[Android Software Development] andrewnelson23:
Sweet! Here are the files. :) :good:
[Android Software Development] andrewnelson23:
Any luck, sandy7?
[Android Software Development] sandy7:
oops forgot about ur req ...ill do it in a while
[Android Software Development] sandy7:
here buddy made it for u...sorry for delay

choose the flashable zip as per ur recovery

TWRP

CWM
[Android Software Development] andrewnelson23:
You're the man! Thank you so much! Works perfectly. One question, while I was on the sense 4.0 rom, I could use it and multiple small apps could be open at the same time, but now they can't. Would you know anything about that?
[Android Software Development] pnoire:
I'm testing this small apps on DHD in the same rom you use. Like you, i can't open multiple small apps, even after updating apps and launcher.

Btw i've noticed a strange issue. After falshing the zip, my wallpaper was not displayed. After many tests, i've found that only animated wallpapers can be displayed, Do you have the same behavior?
[Android Software Development] galaxys3lover:
Sandy anyway you could make this work just like it does on Sony devices i mean with that multi window type of look?..
[Android Software Development] sandy7:
yes the task switcher has be patched to systemUI ...i tried once but while opening it fc's.....will start working it again when i get my phone repaired or when i buy a new phone
[Android Software Development] galaxys3lover:
Thank you so much for your great work! .. i ve been using your work with my mini pro! :) :) ,.. and please if you can update this thread if the multi window type sony apps works :) Thank you again! :)
[Android Software Development] andrewnelson23:
Is there any way this mod could be made into an xposed mod? That'd make things a lot easier and it'd make it work across different versions of roms.
[Android Software Development] nokiagye:
Sundy I have the xperia arc s of the mom it have small apps with the small window multitasking no need launcher to open them ... but now I am on slim bean what do you want for me to make it compatible with my cm 10.1?
[Android Software Development] LJegenda:
I am getting status 0 error :(

pls help

im using xperia mini pro, ROM: HavenDroid XS Katana, Kernel: 3.4.47
[Android Software Development] sandy7:
upload ur updater script
[Android Software Development] LJegenda:
here it is
[Android Software Development] sandy7:
are u using TWRP or CWM?
[Android Software Development] LJegenda:
cwm, do you need full zip? :D
[Android Software Development] sandy7:
try this http://xdaforums.com/attachment.php?attachmentid=1880359&d=1365851472
[Android Software Development] LJegenda:
still getting status 0 :(
[Android Software Development] Bejda:
Try to replace META-INF/com/google/android/update-binary with the one from a zip that you know works on your device.
[Android Software Development] LJegenda:
tryed didnt work :(
[Android Software Development] Bejda:
Maybe you could get some log of the install right after the flash with advanced>report log (goes to /sdcard/clockworkmod directory for me) cwm option or adb pull /tmp/recovery.log

Maybe you have some last_install or last_log files automatically produced under /cache/recovery or somewhere else also..

Maybe it will show more infos of the error?
[Android Software Development] LJegenda:
https://docs.google.com/file/d/0B0Km4IVUNuM9eXp5RmFHWUI2RTg/edit?usp=sharing here it is hope it helps :)
[Android Software Development] Bejda:
The link isn't public, you'll get mail request from peolpes that will try to access to it ;)

Just recently I had a fight with drive to upload publicly a file from my device.. I just gave up lol.
[Android Software Development] LJegenda:
try now :D
[Android Software Development] lozohcum:
I decompiled framework.jar but I don't have such a folder like "classout/com"
[Android Software Development] sandy7:
there should be one
[Android Software Development] lozohcum:
maybe it should be smali/com ?
[Android Software Development] sandy7:
may ur using a different apktool

in some tools it will classout/com in some it will be smali/com
[Android Software Development] erikrecca:
Can you share me calculator, note... for small apps? It doesn't appear in my Google Play :(
[Android Software Development] hardslog:
ZOMG!!!!!!

I got it working on a STOCK BASED 4.2.1 ROM!!!!!!!!!!!!!
[Android Software Development] robgee789:
hey mate ive got a tf300t running cromi-x with twrp could i just flash SmallApp_flashable_zip_format_TWRP_recovery.zip from the op to get these on my tablet?
[Android Software Development] sandy7:
no u cant..... u have to mod the framework files following this tut..and then put the files in a flashable zip and flash it
[Android Software Development] robgee789:
i knew it wouldnt be that easy lol thanks mate :)
[Android Software Development] sandy7:
if u want upload these 3 files from ur rom's framework folder ill mod it for u

framework-res.apk

android.policy.jar

framework.jar
[Android Software Development] robgee789:
cheers mate that would be epic :)

here you go buddy

http://www.mediafire.com/download/bdywcwmibukcwc4/files_for_small_apps.zip
[Android Software Development] sandy7:
i need the deodex files...what u sent me are odex files
[Android Software Development] robgee789:
where would i get the deodexed files from mate? do i need to flash the deodexed rom?
[Android Software Development] Cup_Cake:
Yup! You need to flash a deodexed ROM. Or you can just pull those files out of the zip.
[Android Software Development] robgee789:
here you go mate these are from the deodexed rom but will i be able to use them on the odexed rom or is it a deodexed only thing?

http://www.mediafire.com/download/6y4kbatyidth7uh/small_apps_files_2.zip
[Android Software Development] sandy7:
here u go i modded it for u ---http://d-h.st/mCR

make sure u flash this mod on deodexed rom , bcz it wont work on Odex rom

also see STEP-5 in OP for how to use small apps..
[Android Software Development] robgee789:
thanks mate your a legend :)
[Android Software Development] CBank:
Did it work CROMI? Also do you remember which version of CROMI those files are from? I would love to try it if it worked.
[Android Software Development] robgee789:
there from the latest one mate but i gave the files to sbdags so he can add them to the rom mate
[Android Software Development] tzpm:
Smali_classes\com\android\internal\policy\impl\PhoneWindowManager.smali[5302,4]

Error for input '.parameter': Invalid directive

Smali_classes\com\android\internal\policy\impl\PhoneWindowManager.smali[5302,15]

mismatched input '"attrs"' expecting END_METHOD_DIRECTIVE

what is the reason？
[Android Software Development] sandy7:
come mistakes in these lines [5302,4] [5302,15]

upload ur smali file ill check it
[Android Software Development] tzpm:
I Do it as you say，but why will have a error？ thanks，man.

---------- Post added at 04:01 PM ---------- Previous post was at 03:59 PM ----------

I Do it as you say in the thread，but why will have a error？what's means 'upload ur smali file ill check it' .thanks，man.
[Android Software Development] slade9220:
Sorry guys i have a problem..

When a recompile my framework-res.apk if i don't past Android.Manifest and Meta-Inf folder my from original apk my phone always go to the bootloop.. now how do i mod the manifest?

Thanks!

Inviato dal mio GT-I8160 con Tapatalk 2
[Android Software Development] sandy7:
no only meta-inf
[Android Software Development] slade9220:
I'll try, thanks

Inviato dal mio GT-I8160 con Tapatalk 2
[Android Software Development] iead_20:
can someone upload the small app launcher as an apk for me please
[Android Software Development] sandy7:
u can easily find it play store
[Android Software Development] iead_20:
i live in syria and the google play store is blocked from my country
[Android Software Development] nokiagye:
Install the aptoide apk Google it is a free store
[Android Software Development] bstyle bears:
Tganks..
[Android Software Development] S-AJAD:
hi every one

i want to use small apps in my xperia s with 4.2.2 rom based cm 10.1

but i can't find values/strings.xml in framework-res.apk

and

when i open AndroidManifest.xml to edit it , it's not true incoding and not show right

and in android.policy.jar of my rom , com folder isn't

if i upload needed file to port small apps in my rom , anybody can edit my file and give me that?

tnx

and i'm so sorry for my bad English
[Android Software Development] sandy7:
u need decompile them using apktool to decode them and extract those folder....simply opening with winrar with show it..

if its hard for u to do it...upload the framework-res.apk , framework.jar and android.policy.jar ill mod it by tomorrow