[MOD]MulitWindow with unlimited apps for deodex rom

Status
Not open for further replies.
Search This thread

yhagbalz

Member
Jul 7, 2008
12
1
Somewhere
Same here man.. Any update on 7105 lj4 odex?
Dont want to flashback on lj3 as lj4 is much more stable for me..
Waiting for the miracle...

Sent from my GT-N7105
 

teshxx

Senior Member
Jul 19, 2010
1,712
3,362
FL
Hey,

Could you be kind enough to provide step by step instructions on how to edit services.jar?? I want to edit and make it work for N7105XXALJ5.

Thanks.
 
Last edited:

goddamnit

Senior Member
Nov 4, 2010
400
279
1.Decompile services.jar

open MultiWindowManagerService.smali

1: Search : iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;
then get follow

1.1:
.prologue
.line 391
iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_a

.line 392
const/4 v0, 0x1

.line 395
:goto_9
return v0

:cond_a
const/4 v0, 0x0

goto :goto_9
.end method

1.2: Start from
.prologue
To
.end method

1.3: Replace with

.prologue
.line 391
const/4 v0, 0x1

goto :goto_b

iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_c

.line 392
const/4 v0, 0x1

.line 395
:goto_b
return v0

:cond_c
const/4 v0, 0x0

goto :goto_b
.end method


2.Open PackageManagerService.smali
2.1 Search
.line 7660
and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_6

.line 7666
:cond_5
:goto_5
return v0

.line 7663
:cond_6
and-int/lit8 v1, p0, 0x8

Replace with
.line 7660
and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_7

.line 7666
:cond_5
:goto_5
const/4 v0, 0x0

return v0

.line 7663
:cond_7
and-int/lit8 v1, p0, 0x8
------------- Recompile services.jar ----------
 

teshxx

Senior Member
Jul 19, 2010
1,712
3,362
FL
1.Decompile services.jar

open MultiWindowManagerService.smali

1: Search : iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;
then get follow

1.1:
.prologue
.line 391
iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_a

.line 392
const/4 v0, 0x1

.line 395
:goto_9
return v0

:cond_a
const/4 v0, 0x0

goto :goto_9
.end method

1.2: Start from
.prologue
To
.end method

1.3: Replace with

.prologue
.line 391
const/4 v0, 0x1

goto :goto_b

iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_c

.line 392
const/4 v0, 0x1

.line 395
:goto_b
return v0

:cond_c
const/4 v0, 0x0

goto :goto_b
.end method


2.Open PackageManagerService.smali
2.1 Search
.line 7660
and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_6

.line 7666
:cond_5
:goto_5
return v0

.line 7663
:cond_6
and-int/lit8 v1, p0, 0x8

Replace with
.line 7660
and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_7

.line 7666
:cond_5
:goto_5
const/4 v0, 0x0

return v0

.line 7663
:cond_7
and-int/lit8 v1, p0, 0x8
------------- Recompile services.jar ----------


You sir are awesome. Greatly appreciated.
 

teshxx

Senior Member
Jul 19, 2010
1,712
3,362
FL
Do I need to edit FlashBarInfo.smali ? or Do I just need to edit services and install mwcontrol ?

Thanks
 

hadar.shamir

Senior Member
May 10, 2011
56
3
ARHD just changed its base to ALJ2.
I really need the all app multi-window features! Is there any way to use it on ALJ2?

Thanks.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    --------------------------------------------------------------------------------------------------
    ** Error report with odex rom . So if you are using odex rom ,this may not suit for you **
    File for odex rom LJ3 online .Mod by arifhn
    Port to 10.1 : No idea
    Odex version : No idea

    --------------------------------------------------------------------------------------------------
    Work on
    Odex
    N7100 - LJ3

    Deodex
    N7100 - LJ1 / LJ3 / LJ7 / LJA
    N7105 - LJ4
    --------------------------------------------------------------------------------------------------
    All credits to ownhere .This fix is from him since ZCALJ6
    --------------------------------------------------------------------------------------------------
    *ALWAYS have a Nandroid Backup first .*
    --------------------------------------------------------------------------------------------------
    Please check your ROM firmware version first before flash .You can get firmware version @ the page you download your ROM
    Choose one of them to install from OP ,by Recovery like CWM or TWRP ,for DEODEX ROM only
    And odex ROM still under testing.
    You can check your firmware version at [Settings -> About Phone]
    --------------------------------------------------------------------------------------------------
    Download List :
    v3.1.FlashBarServices.Source.Sprint (This one is better then N7000 one.Worked on N7000/N7100/Sprint L900)
    v3.1.FlashBarServices-MOD.Source.Sprint.zip

    v3.FlashBarServices-MOD.Source.N7000.Leak.zip

    N7100.deodex.LJA
    N7100.deodex.LJ7
    N7100.deodex.LJ3
    N7100.deodex.LJ1
    N7100.monxDIFIED.01-01
    N7105.deodex.LJ4

    N7100.odex.LJ3

    Sprint.deodex.LJC
    --------------------------------------------------------------------------------------------------
    File below is used for restore your phone .

    N7100.Restore.LJA
    N7100.Restore.LJ7
    N7100.Restore.LJ3
    N7100.Restore.LJ1
    N7100.Restore.monxFIFIED.01-01
    N7105.Restore.LJ4

    N7100.Restore.odex.LJ3

    Sprint.Restore.LJC
    2
    I will CLOSE this thread as I'm moving into the other apartment right now ,and WILL BE ON A TRIP to Taiwan.
    I have no time even download and flash Wanam v2.0 till X'Mas

    And then it will not screwed someone phones balabala


    DLJ2 Mod removed
    2
    Update 2012 Nov 3.2
    • Bugfix again ,I found that I miss something.
      Flash v03.LJ_ MultiWindow Unlimited.zip with your firmware version.
    • Add 7105-LJ4 Support
      v03.LJ4-N7105 MultiWindow Unlimited.zip included FlashBarService.apk ,do not need to flash FlashBarServices-MOD.zip
    Bug report please leave message
    2
    ** Error report with odex rom . So if you are using odex rom ,this is not suit for you **
    ** New one MAY work in odex rom .Anyone willing to try this and report ? Nandroid Backup 1st **
    ** After that ,delete /system/framework/services.odex and /system/app/FlashBarService.odex **


    Update 2012 Nov 3 .
    Mod flashbarservices again .
    You can flash only FlashBarServices-MOD.zip if you have flash update @ 2012 Nov 2.
    Update 2012 Nov 2 .
    Fixed Random Apk issue ,now it can add any apk that locate in your system but not only 1st page.

    All credits to 平海浪子 and ownhere
    Please check your ROM firmware version first before flash .You can get firmware version @ the page you download your ROM
    Choose one of them to install from OP ,by Recovery like CWM or TWRP ,for DEODEX ROM only

    • New LJ1 MultiWindow Unlimited for LJ1 base
    • New LJ3 MultiWindow Unlimited for LJ3 base
    • New LJ7 MultiWindow Unlimited for LJ7 base

    AND ,you need to flash also
    FlashBarServices-MOD.zip

    *Nandroid Backup first .I only tested LJ3 with Omega 4*
    *LJ7 tested by my friend ,work fine*
    *Please report bugs ,or thanks :p*
    --------------------------
    2
    hi ownhere ,
    OP changed ,thank you :eek:

    Thank you.

    In fact, I do a small optimization for FlashBarService: Edit state timeout time extended from 3 seconds to 10 seconds, so editing more comfortable.