[MOD][HOW-TO][LSJ] Add 5 icons shortcut on lockscreen - Galaxy S II Android Development

Hello xda'ers,
due to many PM requests I give to you an "how to" to get 5 (or even more) icons shortcut on lockscreen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
required:
SecSettings.apk
framework-res.apk
mid knowledge about apktool
For first we need to set icon shortcut to 5 (up to 5)
so decompile SecSettings.apk and navigate to:
smali\com\android\settings\lockscreenshortcut\LockScreenShortcutSettings.smali
Code:
.method static constructor <clinit>()V
.registers 2
.prologue
const/4 v1, 0x0
.line 79
[COLOR="YellowGreen"]const/4 v0, 0x5[/COLOR]
[COLOR="Red"]const/4 v0, 0x3[/COLOR]
sput v0, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
.line 80
sput v1, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->DEFAULT_CURSOR_WIDTH:I
.line 81
sput v1, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->ICON_5_CURSOR_WIDTH:I
return-void
.end method
now we need to set the right icon width for the icons, if not the fifth icon won t be showed
so let s go in framework-res.apk and navigate to:
res\values-hdpi\dimens.xml
and edit these 2 strings with following values
Code:
<dimen name="keyguard_lockscreen_application_shortcut_icon_width">52.0dip</dimen>
<dimen name="keyguard_lockscreen_application_shortcut_icon_height">50.0dip</dimen>
that s it, recompile and enjoy
NOTE:
you can also increase the numbers in settings, but don t forget to set decrease the dimens in framework, if not icons won t be showed.
i didn t do because icons become too small and i really don t need more than 5 icons
cheers

Another great guide:good: Thanks Mirko

Mr.Greg said:
Another great guide:good: Thanks Mirko
Click to expand...
Click to collapse
thanks Greg, at least no PM bothering anymore
coming with Disaster ROM v6 obviously

Nice job Mirko

shoman94 said:
Nice job Mirko
Click to expand...
Click to collapse
thx mate, as u can see, easy as hell

Nice guide

mythtrandyr said:
Nice guide
Click to expand...
Click to collapse
thx

Good work. Just keep going. I like it.

You're a great!!!!!! what a hidden secret always the first ........ great ... always make the difference

grisoxxl said:
Good work. Just keep going. I like it.
Click to expand...
Click to collapse
pepsyone said:
You're a great!!!!!! what a hidden secret always the first ........ great ... always make the difference
Click to expand...
Click to collapse
thanks

Hi Mirko,
You have so many different mods that you provide to the XDA community in how-to guides which is fantastic, and we greatly appreciate it.
One thing is for sure, you are greatly skilled in the fine art of smali editing. Where did you learn to understand smali code so well? Is there some kind of guide that details what all the different smali codes mean?
It is like reading a foreign language to me, but I would really like to learn how to understand it properly.
Your help/advice would be greatly appreciated.
Thanks again for all your hard work for the community.
Dave

daveyannihilation said:
Hi Mirko,
You have so many different mods that you provide to the XDA community in how-to guides which is fantastic, and we greatly appreciate it.
One thing is for sure, you are greatly skilled in the fine art of smali editing. Where did you learn to understand smali code so well? Is there some kind of guide that details what all the different smali codes mean?
It is like reading a foreign language to me, but I would really like to learn how to understand it properly.
Your help/advice would be greatly appreciated.
Thanks again for all your hard work for the community.
Dave
Click to expand...
Click to collapse
Thanks Dave, really.
The only one who really knows smali code is jesus freak, the one who invented it
Best way to "learn" is code a small app in java with sdk, and decompile it with apktool.
Compare smali with java and game is done.
But really, smali is a foreign language for everyone, u r not alone.
I love theming, layout edits, smali is too hard for me

Hey Mirko, we came across this in sho's rom, was causing some people to have 4 icons across. Why samsung would limit US carriers to 4 is beyond me (fat fingers?)
Code:
:cond_3
const-string v30, "ATT"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "TMB"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "VZW"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "SPR"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-eqz v30, :cond_2
.line 160
:cond_4
[b][COLOR="Red"] const/16 v30, 0x4[/COLOR][/b]
sput v30, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
goto/16 :goto_0

Hey Mirko. Been a while so I thought I'd bug you once more.
I only see 4 shortcuts in lockscreen settings. How do I add the fifth one so it will display, am I missing something again? LOL

any chance u can make this as an apk file or a flashable zip ?

jeboo said:
Hey Mirko, we came across this in sho's rom, was causing some people to have 4 icons across. Why samsung would limit US carriers to 4 is beyond me (fat fingers?)
Code:
:cond_3
const-string v30, "ATT"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "TMB"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "VZW"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-nez v30, :cond_4
const-string v30, "SPR"
invoke-static {}, Lcom/android/settings/Utils;->readSalesCode()Ljava/lang/String;
move-result-object v31
invoke-virtual/range {v30 .. v31}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v30
if-eqz v30, :cond_2
.line 160
:cond_4
[b][COLOR="Red"] const/16 v30, 0x4[/COLOR][/b]
sput v30, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
goto/16 :goto_0
Click to expand...
Click to collapse
Thanks for this Jeboo. Made the change to 0x5 for Sprint phone and now lockscreen mod works fine.

hii1 said:
any chance u can make this as an apk file or a flashable zip ?
Click to expand...
Click to collapse
+1
Also, is it possible to add more rows of icons to the lockscreen?
Cheers.
p.s nice one Mirko.

strokemesilly said:
+1
Also, is it possible to add more rows of icons to the lockscreen?
Cheers.
p.s nice one Mirko.
Click to expand...
Click to collapse
Working on a flashable zip for 6 shortcuts, seems easy but being first time, it's like a climbing a Mountain.....
today compiling, tomorrow test day

_alex74_ said:
Working on a flashable zip for 6 shortcuts, seems easy but being first time, it's like a climbing a Mountain.....
today compiling, tomorrow test day
Click to expand...
Click to collapse
If you don't mind, can you also post your dimens values for 6 shortcuts please?
Also, why not show us a couple of screenshots so you can have bragging rights with some glitter on it too.

tdunham said:
...... so you can have bragging rights with some glitter on it too.
Click to expand...
Click to collapse
don't care about stuff like that.... it is a first mod for me, nothing to show off...
First try modifying directly into Rom, than let's see....

Related

[MOD]TouchWiz type Recent Apps (with Task Manager Button) - Need Help!

Hi. Wanted some help for this Mod I've been working on from the past 3 days. Coming from the stock Touchwiz of my phone to the recently released CM10, I missed the feature of the Task Manager button which used to be there along with the recent apps.
So I tried to mod the SystemUI.apk of CM10 to include a similar functionality. I tried different approaches to do this. First I tried to compare the smali files from the Galaxy S II SystemUI.apk and make corresponding changes. But that didnt work. So I tried another approach.
What I did was exploited the Button xml attribute * androidnClick="methodname"* where the method with the name 'methodname' is called when the button is clicked.
So I modified the necessary layouts namely,"layout/status_bar_no_recent_apps.xml", "layout-land/status_bar_recent_panel.xml", "layout-port/status_bar_recent_panel.xml"
What I did was added the following code to those layout files :
Code:
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:gravity="center"
android:onClick="openTaskManager"
android:text="Task Manager" />
As you can see on clicking the button, "openTaskManager" should be called.
Next I did was created the method openTaskManager in SystemUIService.smali which is located in SystemUI.apk\smali\com\android\systemui\
I added the following code at the end of the file :
Code:
.method public openTaskManager(Landroid/view/View;)V
.locals 5
.parameter "view"
.prologue
.line 99
:try_start_0
.line 100
new-instance v1, Landroid/content/Intent;
invoke-direct {v1}, Landroid/content/Intent;-><init>()V
.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
.line 105
const/high16 v2, 0x1000
invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
.line 107
const-string v2, "com.sec.android.app.controlpanel"
const-string v3, "com.sec.android.app.controlpanel.activity.JobManagerActivity"
invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
invoke-virtual {p0, v1}, Lcom/android/systemui/SystemUIService;->startActivity(Landroid/content/Intent;)V
.line 109
#iget-object v1, p0, Lcom/android/systemui/SystemUIService;->mRecentsPanel:Lcom/android/systemui/recent/RecentsPanelView;
#invoke-virtual {v1}, Lcom/android/systemui/recent/RecentsPanelView;->dismiss()V
#invoke-virtual {p0}, Lcom/android/systemui/SystemUIService;->onBackPressed()V
#const/4 v1, 0x0
#invoke-virtual {p0, v1, v1}, Lcom/android/systemui/recent/RecentsPanelView;->show(ZZ)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 112
.end local v1 #intent:Landroid/content/Intent;
:goto_0
return-void
.line 115
:catch_0
move-exception v0
.line 117
.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_0
.end method
Note that line numbers may depend on your smali file.
The method starts the activity of the Task Manager. The package name depends on which app you want to call. I'm using the TouchWiz Task Manager which can be found here.
All this took me almost 3 days to get working. Ok, so after doing the modifications and saving, I recompile the apk. Replaced the xml files and classes.dex from new apk to the old apk. Placed the SystemUI.apk in the system/app/ folder with permissions rw-r-r. Reboot the phone.
The mod WORKS but with a minor problem. The following screenshots shows the problem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you see the images properly. The Button is properly place(though it may need changes later), on clicking the button the Task Manager DOES OPEN. But the thing is it opens in the background with the recent apps still showing. Now that's where I need help.
After a lot of analyzing, I can think of 2 approaches to solve this problem.
1. Make TaskManager to start in foreground.
2. Somehow call the RecentPanelView's dismiss() method after starting the Task Manager. I tired this but couldn't make it work.
The RecentPanelView.smali is in SystemUI.apk\smali\com\android\systemui\recent\
So that's that. Would really appreciate it if anybody could help me out. As you can see it's almost done. I would really like to finish it perfectly.
If you have any doubts let me know.
My decompiled SystemUI.apk folder can be downloaded from here.
Thanks.
pretty excited for the final version as I'm also missing the TASK MANAGER button...
any chance of including the Remove All (End All) button as well?
gotnoypi said:
pretty excited for the final version as I'm also missing the TASK MANAGER button...
any chance of including the Remove All (End All) button as well?
Click to expand...
Click to collapse
If only somebody helped me with this.
Can't help, since I can't code, but I have to say thank you for the Taskmanager. Helps greatly! Keep up the good work
In CM -> in status bar settings, we have one setting to hide the status bar after selecting a notification/toggle..........can that be used here to hide the recent app screen after selection??
Sent from my GT-I5801 using xda app-developers app
balamu96m said:
In CM -> in status bar settings, we have one setting to hide the status bar after selecting a notification/toggle..........can that be used here to hide the recent app screen after selection??
Sent from my GT-I5801 using xda app-developers app
Click to expand...
Click to collapse
Hmm.. Let me see... Thanx for the suggestion...
ammar786 said:
Hmm.. Let me see... Thanx for the suggestion...
Click to expand...
Click to collapse
I'm also interested in it!! Can you just post whether it works after trying it?
Sent from my GT-I5801 using xda app-developers app
balamu96m said:
I'm also interested in it!! Can you just post whether it works after trying it?
Sent from my GT-I5801 using xda app-developers app
Click to expand...
Click to collapse
Yes sure...
balamu96m said:
I'm also interested in it!! Can you just post whether it works after trying it?
Sent from my GT-I5801 using xda app-developers app
Click to expand...
Click to collapse
Went through many smalis but cant seem to figure out where the power widget is calling the hide() of the drawer.
ammar786 said:
Went through many smalis but cant seem to figure out where the power widget is calling the hide() of the drawer.
Click to expand...
Click to collapse
I'll also have a look at it......
Sent from my GT-I5801 using xda app-developers app
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.
Archer said:
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.
Click to expand...
Click to collapse
Well it isn't exactly a question. It's kind of a "Project" you can say. Something I wanted to achieve with some help.
Really nice MOD !
One suggestion though : make the last app (in recent apps) show above task manager button! I guess that'll look much better !
PARANOIDANDROID has added that feature to his rom version. may be that could help u?
thanks for this atleast
---------- Post added at 02:55 AM ---------- Previous post was at 02:52 AM ----------
Archer said:
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.
Click to expand...
Click to collapse
very wrong judgement. this dev was helping us with his mod and you made it a question?
If you see the images properly. The Button is properly place(though it may need changes later), on clicking the button the Task Manager DOES OPEN. But the thing is it opens in the background with the recent apps still showing. Now that's where I need help.
Click to expand...
Click to collapse
This is been done by the founder of x-recent (XYUnknown) in his latest version of x-bean 3.0 for I9000....
Hope this will help...
erpurohit said:
This is been done by the founder of x-recent (XYUnknown) in his latest version of x-bean 3.0 for I9000....
Hope this will help...
Click to expand...
Click to collapse
This mod can be done using the sources. Which I don't have. So that is why I couldn't do it. Any ways thanks.
If this can help: you can find the sources here:
https://github.com/CyanogenMod/android_frameworks_base/tree/jellybean/packages/SystemUI
Is this mod still in progress?
I'd really like this for CM10. I'm trying to get it with as many Touchwiz features as possible.
Razyre said:
Is this mod still in progress?
I'd really like this for CM10. I'm trying to get it with as many Touchwiz features as possible.
Click to expand...
Click to collapse
Hi. I was trying this mod through smali. But it was achieved from source. You can get it from here : http://forum.xda-developers.com/showthread.php?t=1949753
Dont forget to thank the op.
ammar786 said:
Hi. I was trying this mod through smali. But it was achieved from source. You can get it from here : http://forum.xda-developers.com/showthread.php?t=1949753
Dont forget to thank the op.
Click to expand...
Click to collapse
Thank you!

[MOD][28/08] SecMms {UPDATED}{iOS7 THEME ADDED}(MORE COMING)

SecMms MOD
MOD Features:
AUTO MMS CONVERSION DISABLED
UNLIMITED RECIPIENT LIMIT
SCREEN ON TOGGLE
GROUP MESSAGES
SAVE/RESTORE MESSAGES TO/FROM SDCARD
MMS MAX SIZE + MAX IMAGE SIZE INCREASED (2MB & 8.4MP Respectively)
ORIGINAL TIME STAMPS (The time at which sender sends the message)
Click to expand...
Click to collapse
THEME Features:
iOS7 BLUE CONVERSATION BUBBLES AND BACKGROUND (See Third Post For Downloads and Screenshots!)
Click to expand...
Click to collapse
Note: This MOD was tested on DMG1 Firmware, This should work on all 4.1.2 ROMS too.
How to Install Manually:
Download and Extract your preferred SecMms MOD zip
Transfer the Extracted SecMms.apk to your phone
Use any Root File Explorer to go to /system/app folder and rename
the original SecMms.apk to SecMms.bak
* For Odexed ROMS, Delete the SecMms.odex file
or rename it to SecMms.odex.bak
Now copy SecMms.apk from the SD card to phone's
/system/app folder
Change the permissions to:
[+] [+] [ ]
[+] [ ] [ ]
[+] [ ] [ ]
Restart Phone!
Done
Click to expand...
Click to collapse
Changelog:
Code:
[SIZE="2"][COLOR="Blue"][U]28/08/2013[/U][/COLOR][/SIZE]
- Original Time Stamp Feature Added in seperate zip files.
[SIZE="2"][COLOR="Blue"][U]26/08/2013[/U][/COLOR][/SIZE]
- SecMms.apk extracted from [URL="http://forum.xda-developers.com/showthread.php?t=1928227"]WanamLite 3.9[/URL]
CREDITS:
- wanam (For apk) (mms convert and recipient limit was already moded by him)
- jovy23 (For Guidance)
Click to expand...
Click to collapse
Download​
Flashable Zips:
For Odexed ROMS
SecMms_Odex.zip
For DeOdexed ROMS
SecMms_Deodex.zip
Sent Time stamp added including above features
Odexed: SecMms_Odex(TimeStamp).zip
DeOdex: SecMms_Deodex(TimeStamp).zip
​
Click to expand...
Click to collapse
* To revert back to stock, delete the SecMms.apk from /system/app and rename the SecMms.bak to SecMms.apk and Restart Phone.
Hit THANKS to appreciate my work.​
SCREENSHOTS(MOD):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THEMES SECTION:
iOS7 BLUE
SCREENSHOTS​
Click to expand...
Click to collapse
DOWNLOAD:​
FLASHABLE ZIP:​SecMms.Deodex.Themed.zip
SecMms.Odex.Themed.zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
---reserved---
Great mod! Thanks! Listen, I had tried to modify the secmms.apk to avoid conversion to mms but it never worked, continued to convert. What method did you use? You have changed only secmms.apk?
Linuxx84 said:
Great mod! Thanks! Listen, I had tried to modify the secmms.apk to avoid conversion to mms but it never worked, continued to convert. What method did you use? You have changed only secmms.apk?
Click to expand...
Click to collapse
target the mmsconfig. smali file...
Thanks for the mod! Working great!!
Linuxx84 said:
Great mod! Thanks! Listen, I had tried to modify the secmms.apk to avoid conversion to mms but it never worked, continued to convert. What method did you use? You have changed only secmms.apk?
Click to expand...
Click to collapse
Do what grgsiocl said...
Only editing the xml won't work. If you want I can provide you the edited mmsconfig.smali
Sent from my GT-N7100 using Tapatalk 2
thank u so much
Thank u so much. Working great on my deodexed DLK7 stock rom.
dead-angel said:
Do what grgsiocl said...
Only editing the xml won't work. If you want I can provide you the edited mmsconfig.smali
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
if you tell me what kind of changes you've made to mmsconfig.smali I would be grateful. :highfive:
Linuxx84 said:
if you tell me what kind of changes you've made to mmsconfig.smali I would be grateful. :highfive:
Click to expand...
Click to collapse
Target this file secmms/smali/com/android/mms/MmsConfig.smali and make the following changes:
Note: Remove all the code which is shown in - and add the code which is in +
PHP:
sput v0, Lcom/android/mms/MmsConfig;->mMaxImageWidthRestrictedMode:I
- sput v7, Lcom/android/mms/MmsConfig;->mRecipientLimit:I
+ const/16 v0, 0x3e8
- const/16 v0, 0xc8
+ sput v0, Lcom/android/mms/MmsConfig;->mRecipientLimit:I
sput v0, Lcom/android/mms/MmsConfig;->mDefaultSMSMessagesPerThread:I
sput-boolean v2, Lcom/android/mms/MmsConfig;->mAllowAttachAudio:Z
- const/4 v0, 0x4
+ const/16 v0, 0x3e8
sput v0, Lcom/android/mms/MmsConfig;->mSmsToMmsTextThreshold:I
.method public static getMaxRecipientLength()I
.locals 1
- sget v0, Lcom/android/mms/MmsConfig;->mMaxRecipientLength:I
+ const/16 v0, 0x3e8
return v0
.end method
.method public static getMmsMaxRecipient()I
.locals 1
- sget v0, Lcom/android/mms/MmsConfig;->mMmsRecipientLimit:I
+ const/16 v0, 0x3e8
return v0
.end method
.method public static getRecipientLimit()I
.locals 1
- sget v0, Lcom/android/mms/MmsConfig;->mRecipientLimit:I
+ const/16 v0, 0x3e8
return v0
.end method
.method public static getSmsToMmsTextThreshold()I
.locals 1
- sget v0, Lcom/android/mms/MmsConfig;->mSmsToMmsTextThreshold:I
+ const/16 v0, 0x3e8
return v0
.end method
move-result v9
+ const/16 v9, 0x3e8
+
sput v9, Lcom/android/mms/MmsConfig;->mMaxRecipientLength:I
sget v9, Lcom/android/mms/MmsConfig;->mMinRecipientLength:I
move-result v1
+ const/16 v1, 0x3e8
+
sput v1, Lcom/android/mms/MmsConfig;->mSmsToMmsTextThreshold:I
const-string v1, "Mms/MmsConfig"
invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v1
+
+ const/16 v1, 0x3e8
sput v1, Lcom/android/mms/MmsConfig;->mRecipientLimit:I
Linuxx84 said:
if you tell me what kind of changes you've made to mmsconfig.smali I would be grateful. :highfive:
Click to expand...
Click to collapse
Cross reference the mmsconfig from the mod apk and the stock apk through Winmerge
I tried to modify mmsconfig.smali but after putting mms.apk in the phone and reboot says "the program message has been arrested".
Ok I repeated the procedure and now it seems not to go crash. But I noticed that when you reach page 14 does not allow to write the message. The application gives me this message: Message size limit reached - Reached maximum number of characters. Any idea?
Hey bro, thanks for this, it really helped me and my boss. So let me get this straight, when typing a message it will not automatically convert to mms when typing over 3 "pages" worth of text, correct? Also it allows you to add as many contacts as you like to the message? Because the 10 contacts limit is not good for us.
Are there any restrictions still in place?
Cheers,
Evil
Can someone make version without converting to mms and change receive time to sending time please
evilbarcode said:
Hey bro, thanks for this, it really helped me and my boss. So let me get this straight, when typing a message it will not automatically convert to mms when typing over 3 "pages" worth of text, correct? Also it allows you to add as many contacts as you like to the message? Because the 10 contacts limit is not good for us.
Are there any restrictions still in place?
Cheers,
Evil
Click to expand...
Click to collapse
No All Stated Restrictions are removed, If there are others that I don't know of, kindly let me know.
Timestamp feature added as well
poltec said:
Can someone make version without converting to mms and change receive time to sending time please
Click to expand...
Click to collapse
Sending time feature added.. Check the OP. Kindly Hit Thanks to appreciate my work. Thank you
Thxxx
thank u soo much. love itt
dead-angel said:
No All Stated Restrictions are removed, If there are others that I don't know of, kindly let me know.
Timestamp feature added as well
Sending time feature added.. Check the OP. Kindly Hit Thanks to appreciate my work. Thank you
Click to expand...
Click to collapse
Beyond page 14 does not allow to write sms.
Well done, thank you

[MOD] Auto Correct and Uses System Font for Samsung Keyboard

Hi,
It is strange Samsung doesn't add the option to enable auto correction or auto complete word with spacebar in Samsung Keyboard. Nevermind, thanks to Greenlant for the link to the guide and thanks to eclipxe for the guide to add this feature in Samsung Keyboard.
Tested working on version N7100 DLL7 and should work on all version of N7100 Samsung JB 4.1.2
To install this feature, just download the zip file at the link below and flash in recovery (only with custom recovery). Clear dalvik cache recommended. Please make a backup just in case something went wrong.
Update 12 Apr 2013
Modded XXDMB6 keyboard with S4 themed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download :
N7100 XXDMB6 without Auto Correct (S4 themed)
N7100 XXDMB6 with Auto Correct(S4 themed)
N7105 240DPI with Auto Correct, 200ms long press & system font
N7100 ZSDMA6 with Auto Correct, 200ms long press & system font
N7100 ZSDMA6 with 200ms long press & system font. No Auto Correct
Older mods:
N7100 XXDMA5 -long press 200ms and system font
N7100 XXDLL7
N7100 UBDLL3
N7100 UBDLL3 with long press delay reduced to 200ms
N7100 XXDMA5/MA6
N7100 XXDMA5/MA6 with long press delay reduced to 200ms
AT&T Note ll
AT&T Note ll with long press delay reduced to 200ms
Verizon Note ll
SPH-L900 Sprint Note ll (MA5 built) with long press delay reduced to 200ms
sorry but no working with my stock XXLDLL7 Odex Stock ( i deleted the SamsungIME.odex file)
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
Op,
is it possible for u to modify the ATT deodexed version for us ATT users? I been waiting for this mod for so long.
Thanks!
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
cb1100r said:
sorry but no working with my stock XXLDLL7 Odex Stock ( i deleted the SamsungIME.odex file)
Click to expand...
Click to collapse
Re-upload. Please try again.
Sent from my GT-N7100 using Tapatalk 2
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
lehoi79 said:
Op,
is it possible for u to modify the ATT deodexed version for us ATT users? I been waiting for this mod for so long.
Thanks!
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
I will try but I need the SamsungIME.apk
Sent from my GT-N7100 using Tapatalk 2
Arsaw said:
I will try but I need the SamsungIME.apk
Here it is. This is 4.1.2 stock samsung IME from deodexed AT&T rom. (CleanRom SE). Hope you can mod this for us, many thanks!
Click to expand...
Click to collapse
lehoi79 said:
Arsaw said:
I will try but I need the SamsungIME.apk
Here it is. This is 4.1.2 stock samsung IME from deodexed AT&T rom. (CleanRom SE). Hope you can mod this for us, many thanks!
Click to expand...
Click to collapse
Here you go. Hope it works for you.
Click to expand...
Click to collapse
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
Arsaw said:
lehoi79 said:
Here you go. Hope it works for you.
Click to expand...
Click to collapse
awesome, I'll try it now and let u know. thank u
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
---------- Post added 22nd January 2013 at 12:02 AM ---------- Previous post was 21st January 2013 at 11:29 PM ----------
didnt work...
flashed in recovery, wiped cache and delvik cache, rebooted
Samsung keyboard disappeard from the input menu... I see the apk in system\app but doesn't show up in the settings...
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
Nice Mod!:good:
HOW TO
target following file smali/com/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule.smali
PHP:
:goto_1
const/16 v7, 0xa
- if-ne p1, v7, :cond_4
+ if-ne p1, v7, :cond_5
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->sendEnterKeyHandle()V
goto :goto_0
:cond_3
+ iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+ invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
+
+ move-result v7
+
+ if-lez v7, :cond_4
+
+ iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
+
+ iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+ invoke-interface {v7, v8, v9}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getCharSequence(Ljava/lang/StringBuilder;I)I
+
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->updateSuggestion()V
+
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->setComposingText()V
+
+ :cond_4
+ invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->clearCandidateList()V
+
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mCandidates:Ljava/util/ArrayList;
goto :goto_1
- :cond_4
+ :cond_5
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mRepository:Lcom/diotek/ime/framework/repository/Repository;
const-string v8, "IN_MULTITAP"
move-result v5
- if-eqz v5, :cond_5
+ if-eqz v5, :cond_6
invoke-virtual {p0, p1, p2}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->processMultiTapSymbolicKey(I[I)V
goto/16 :goto_0
- :cond_5
+ :cond_6
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mAutoSpaceController:Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;
invoke-virtual {v7, p1}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->isEnableAutoSpaceAtSymbol(I)Z
move-result v7
- if-eqz v7, :cond_6
+ if-eqz v7, :cond_7
invoke-virtual {p0, v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V
invoke-virtual {p0, v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)V
- :cond_6
+ :cond_7
invoke-virtual {p0, v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
move-result v7
- if-eqz v7, :cond_7
+ if-eqz v7, :cond_8
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-virtual {v7}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->disableSetUpAutoSpace()V
- :cond_7
+ :cond_8
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-virtual {p0, v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)V
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
lehoi79 said:
Arsaw said:
awesome, I'll try it now and let u know. thank u
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
---------- Post added 22nd January 2013 at 12:02 AM ---------- Previous post was 21st January 2013 at 11:29 PM ----------
didnt work...
flashed in recovery, wiped cache and delvik cache, rebooted
Samsung keyboard disappeard from the input menu... I see the apk in system\app but doesn't show up in the settings...
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
I guess I need another file from you. Can you send the framework-res.apk to me?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Arsaw said:
Re-upload. Please try again.
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
I still have the same concerns: the keyboard is no longer present.
it might be my flashing method which is bad, and not your Mod.
usually it works but not
it is better to wait for other feedback users of Deodexed ROM and using CMW to know a little more ...
Working great with Wanamlite 2.5 (DLL3)
Tks for your work!!:good:
does your keyboard have sub symbols displayed also?
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
bervin said:
does your keyboard have sub symbols displayed also?
Click to expand...
Click to collapse
Yes, it does.
Sent from my GT-N7100 using Tapatalk 2
installed on wanam's 2.5 and its working fine for me too. thanks man!
Arsaw said:
lehoi79 said:
I guess I need another file from you. Can you send the framework-res.apk to me?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Here is the framework-res.apk from ATT stock deodexed rom.
Thanks again for looking into this.
http://db.tt/BVhiEGnx
Click to expand...
Click to collapse
lehoi79 said:
Arsaw said:
Here is the framework-res.apk from ATT stock deodexed rom.
Thanks again for looking into this.
http://db.tt/BVhiEGnx
Click to expand...
Click to collapse
Okay, try this : http://www.mediafire.com/?y20bu7vcct9998o
:fingers-crossed:
Click to expand...
Click to collapse
Same problem as cb1100r here. The Samsung keyboard disappears after flashing the zip OR replacing the SamsungIME.apk in system/app with the one in the same zip and correcting the permissions
It could be due to the fact that I am running UBDLL3 (newer than XXDLL7).
I would greatly appreciate if you looked into this issue or modded the latest version (UBDLL3)
Ever since I flashed this mod I've noticed a decrease in battery life. Upon closer inspection I have noticed that the high freqs are used much more and this is under the same usage pattern of just using WhatsApp. No gaming whatsoever. Does anyone else notice this?
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
Androssama said:
Same problem as cb1100r here. The Samsung keyboard disappears after flashing the zip OR replacing the SamsungIME.apk in system/app with the one in the same zip and correcting the permissions
It could be due to the fact that I am running UBDLL3 (newer than XXDLL7).
I would greatly appreciate if you looked into this issue or modded the latest version (UBDLL3)
Click to expand...
Click to collapse
I will need the framework-res.apk from your rom.
Sent from my GT-N7100 using Tapatalk 2

Latest notification background color

Hi.
I'm trying to theme my touchwiz 4.1.2 notification bar, and I achived putting color to everything except the latest notification:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I guess the color for this is in this smali code:
Code:
.class public Lcom/android/systemui/statusbar/LatestItemView;
.super Landroid/widget/FrameLayout;
.source "LatestItemView.java"
# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 3
.parameter "context"
.parameter "attrs"
.prologue
.line 27
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.line 28
return-void
.end method
# virtual methods
.method public onRequestSendAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
.registers 5
.parameter "child"
.parameter "event"
.prologue
.line 37
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onRequestSendAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
move-result v1
if-eqz v1, :cond_15
.line 40
invoke-static {}, Landroid/view/accessibility/AccessibilityEvent;->obtain()Landroid/view/accessibility/AccessibilityEvent;
move-result-object v0
.line 41
.local v0, record:Landroid/view/accessibility/AccessibilityEvent;
invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/LatestItemView;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
.line 42
invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/LatestItemView;->dispatchPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)Z
.line 43
invoke-virtual {p2, v0}, Landroid/view/accessibility/AccessibilityEvent;->appendRecord(Landroid/view/accessibility/AccessibilityRecord;)V
.line 44
const/4 v1, 0x1
.line 46
.end local v0 #record:Landroid/view/accessibility/AccessibilityEvent;
:goto_14
return v1
:cond_15
const/4 v1, 0x0
goto :goto_14
.end method
.method public setOnClickListener(Landroid/view/View$OnClickListener;)V
.registers 2
.parameter "l"
.prologue
.line 32
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 33
return-void
.end method
How do I edit this to get the #FF1a1a1a background color that I want it to have? Maybe I'm not even looking at the right place?
Thanks in advance,
pemell
For transparent you can do this:-
- Go to SystemUI/smali/com/android/systemui/statusbar/phone/ folder and open PhoneStatusBar.smali and search for "-0x100". There will be two lines; change them from:
Code: const/high16 v15, -0x100
to:
Code:
const/high16 v15, 0x0
manikant_009 said:
For transparent you can do this:-
- Go to SystemUI/smali/com/android/systemui/statusbar/phone/ folder and open PhoneStatusBar.smali and search for "-0x100". There will be two lines; change them from:
Code: const/high16 v15, -0x100
to:
Code:
const/high16 v15, 0x0
Click to expand...
Click to collapse
Thanks for your response.
Though I'm not looking to get it transparent. I want it to have the color #FF1a1a1a
I have changed:
- the background color in tw_status_bar_expanded_header.xml
- the @id/brightness_controller background color
- the tw_notification_background_null
- the tw_notification_background_pressed
and the notification_panel_bg.9.png
And I achive to color everything in the notification bar except the latest notification item background. It's still black.
How do I change that last part...
Would really appreciate if someone could teach me,
pemell
@manikant_009 I mean this one:
Do you know how to color it?
You need to edit framework-res.apk not SystemUI
dr.ketan said:
You need to edit framework-res.apk not SystemUI
Click to expand...
Click to collapse
@dr.ketan legend, do you know where in the codes to look? Strange that I could edit everything else but this last notification in SystemUI...
yeah as i said you can't do with SystemUI.
If i have remember it correctly, look this
Framework-res apk - res -value - drawable - look for notification backgroud color or something similar
dr.ketan said:
yeah as i said you can't do with SystemUI.
If i have remember it correctly, look this
Framework-res apk - res -value - drawable - look for notification backgroud color or something similar
Click to expand...
Click to collapse
Found it! Big thanks, will try to edit it.
@dr.ketan can I ask you something else, what do you think about this mod, will it work on my device?
http://forum.xda-developers.com/showthread.php?t=2125196
yeah extended power menu works on Note2 too.
Ok, I got a bootloop when trying to apply it. Will try again...
You may need to change some codes accordingly your rom.
Sent from my GT-N7100 using xda premium
dr.ketan said:
You may need to change some codes accordingly your rom.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Yeah, I know. But I'm probably too much of a novice to find which code
@dr.ketan I've changed notification_bg_normal.9 in \res\drawable-xhdpi but it's still black after pushing it.
I'm getting crazy here...
No no
Read again what did I said, not png but value.
Sent from my GT-N7100 using xda premium
dr.ketan said:
No no
Read again what did I said, not png but value.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
That worked, thanks!
Tried to donate to you but it said that you can't receive donations?
For Indian user PayPal have different policy
Sent you pm.
Sent from my GT-N7100 using xda premium
dr.ketan said:
For Indian user PayPal have different policy
Sent you pm.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
@dr.ketan I tried to replace the notification_panel_bg.9 with the one from cm which have a little bit of transparency in it but the SystemUI fc. Do you know why?
.9 img are very sensitive and i recommend to use special tool to patch those
dr.ketan said:
.9 img are very sensitive and i recommend to use special tool to patch those
Click to expand...
Click to collapse
@dr.ketan I didn't think there would be much issues when replacing a .9.png with another .9.png? Isn't it already patched? Hm...
Also modding .9 on framework-res shouldn't cause issue with SystemUI. mostly it gives error while compiling, you may have messed up some other things on SystemUI.

[GUIDE/MOD] Multiple Small Apps [All Xperia]

Only for Sony Xperia Devices
With Xperia Small Apps Framework
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Hello friends,
I know its already posted but I want to share how we can edit SmallAppManagerService.apk to run multiple small apps on any Xperia device which has small app support (Upto Jelly Bean 4.1.2). Please note that I have not used any file from this MOD. My file is different, it is from my Xperia Z Small Apps Port.
Click to expand...
Click to collapse
Instructions
Tested with xNXT™ ROM
Make Backup first
Decompile your SmallAppManagerService.apk and then, go to SmallAppManagerService\smali\com\sony\smallapp\managerservice\ and open...
SmallAppManagerService.smali and search for this...
Code:
mAllowMultiple
and hit enter two times and you will get something like this...
Code:
.method public constructor <init>()V
.locals 2
.prologue
const/4 v1, [COLOR="red"]0x0[/COLOR]
.line 32
invoke-direct {p0}, Landroid/app/Service;-><init>()V
.line 41
iput-boolean v1, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mAppStartPending:Z
.line 64
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mApps:Ljava/util/HashMap;
.line 67
iput-boolean v1, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mAllowMultiple:Z
.line 70
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mUseAppTokens:Z
.line 73
new-instance v0, Landroid/os/Handler;
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
iput-object v0, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mHandler:Landroid/os/Handler;
.line 287
return-void
.end method
Change 0x0 to 0x1
Then, again search for
Code:
mAllowMultiple
and hit enter and you will get something like this...
Code:
.method private init()V
.locals 1
.prologue
const/4 v0, [COLOR="Red"]0x0[/COLOR]
.line 105
iput-boolean v0, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mAllowMultiple:Z
.line 106
iput-boolean v0, p0, Lcom/sony/smallapp/managerservice/SmallAppManagerService;->mUseAppTokens:Z
.line 111
return-void
.end method
Change 0x0 to 0x1
Done, now re-compile and push the modified apk into system with correct permissions (rw-r--r--) and reboot.
Click to expand...
Click to collapse
You can also download and flash the edited apk if you already have Xperia Z Small Apps support. You can also use Xposed Module if you have Xposed framework installed.
Click to expand...
Click to collapse
Download
Required Xperia Z Small Apps Framework
Tested with xNXT™ ROM
Multiple Small Apps for Xperia
Xposed Module [Thanks to @_TB_TB_] Original Post
Click to expand...
Click to collapse
If you liked my work, just click on Thanks button.
Works perfectly on xnxt
Thanks man
Sent from my WT19i using xda premium
Works great on stock ICS :good:
Thanks
Sent from my SK17i using XDA Premium HD app
The first topic is here: http://forum.xda-developers.com/showthread.php?t=2467763
http://www.xda-developers.com/android/run-multiple-small-apps-on-the-sony-xperia-t-and-tx/
I think gredit will great
An Xposed module for that: http://repo.xposed.info/module/pl.suzume.xposed.xperiamultimini
Cheers!
very nice
it is one of blind spot of smallapps that you fill it.
nice, working well... any mod to stop small app list resetting over reboot?
TheRisingDragon said:
nice, working well... any mod to stop small app list resetting over reboot?
Click to expand...
Click to collapse
If you find a mod for that for any Xperia device, I can try converting it to Xposed Framework module.
please, the apk file
_TB_TB_ said:
If you find a mod for that for any Xperia device, I can try converting it to Xposed Framework module.
Click to expand...
Click to collapse
hey, guys can you please upload the modified and the edited apk file (sgp311), it would be alot easier if you upload it.........
Hi,
Can you do this for 4.2.2?
(Sony Xperia Tablet Z sgp321, .244)
HackerNG said:
Can you do this for 4.2.2?
(Sony Xperia Tablet Z sgp321, .244)
Click to expand...
Click to collapse
did u tried to follow the guide???
bejunk said:
did u tried to follow the guide???
Click to expand...
Click to collapse
[offtop]I've no time for this [/offtop]
HackerNG said:
[offtop]I've no time for this [/offtop]
Click to expand...
Click to collapse
this is done in 10 mins (from pulling files to boot phone )
if u send me ur apk + framework-res.apk i can do it for u
HackerNG said:
[offtop]I've no time for this [/offtop]
Click to expand...
Click to collapse
Bro try the xposed module, it should work on XTZ:
http://forum.xda-developers.com/showthread.php?t=2472306
But sorry I couldn't test it cuz my XTZ isn't rooted yet
Can't install the xposed module on stock ics. Shows PARSE ERROR. Probably the apk is for jb only :/
Can anyone try to port the module to ics?
Sent from my ST15i using Tapatalk
Arun Av said:
Can't install the xposed module on stock ics. Shows PARSE ERROR. Probably the apk is for jb only :/
Can anyone try to port the module to ics?
Sent from my ST15i using Tapatalk
Click to expand...
Click to collapse
Sure, but I have no idea how to test it Will do it within a hour or less.
Sent from my SGP321 using Tapatalk 4
TheRisingDragon said:
nice, working well... any mod to stop small app list resetting over reboot?
Click to expand...
Click to collapse
Yup even I noticed it...app list resets over reboot Anyone know how to fix it? Issue is not there in Xperia T smallapps
Sent from my ST15i using Tapatalk
I have Xperia Z1 and installed this module but cant find anything different in mini apps..
rambo420 said:
I have Xperia Z1 and installed this module but cant find anything different in mini apps..
Click to expand...
Click to collapse
I guess that z1 already supports multi small app
Cool like multi windows on the note and LG devices. Should be built in, nice work

Categories

Resources