5,603,591 Members 35,781 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial] Unlimited Recent Apps Panels

Tip us?
 
steal25
Old
(Last edited by steal25; 18th November 2013 at 08:23 AM.)
#1  
steal25's Avatar
Recognized Themer / Contributor / Recognized Developer - OP
Thanks Meter 6579
Posts: 4,321
Join Date: Feb 2011
Location: Behind a dumpster in the Los Angeles Harbor

 
DONATE TO ME
Default [Tutorial] Unlimited Recent Apps Panels

With Zeppelinrox tearing up the multitasking scene around these parts lately I thought this would be a cool compliment to his mod. Plus it only work if you are using his modified services.jar. Heres his thread just a note: I used ff which should be a whole lot more than 16 but but there is a limit in android of 16 which im sure can be upped aswell i just havent looked yet.

mikeyxda brought it to my attention that a few of the edits weren't needed to complete this mod. So thanks mikey for making this even easier!

New zeppelinrox edits added make this mod unlimited panels!!!

Devs, Chefs, Rom Builders, Weekend warriors, whoever fell free to use.

First decompile SystemUI.apk
Navigate to com\android\systemui\recent\FxRecentTasksLoader.sm ali

search for

Code:
    const/16 v1, 0x10

    const/16 v2, 0x20
change to

Code:
    const/16 v1, 0xff

    const/16 v2, 0xff
search for

Code:
.field private static final DISPLAY_TASKS:I = 0x8
change to

Code:
.field private static final DISPLAY_TASKS:I = 0xff
then just below is

Code:
.field private static final DISPLAY_TASKS:I = 0x10
change to
Code:
.field private static final DISPLAY_TASKS:I = 0xff
then search for
search for .method getRecentTasks()Ljava/util/ArrayList;

the next instance of
Code:
const/16 v0, 0x8
change to
Code:
const/16 v0, 0xff
Navigate to
com\android\systemui\recent\RecentAppFxActivity.sm ali

search for

iput-object v2, p0, Lcom/android/systemui/recent/RecentAppFxActivity;->mContext:Landroid/content/Context;

just below this is
Code:
const/16 v0, 0x8
change to
Code:
const/16 v0, 0xff
just below that is
iput v0, p0, Lcom/android/systemui/recent/RecentAppFxActivity;->NUM_PANEL:I
then just below that is
Code:
const/16 v0, 0x10
change to
Code:
const/16 v0, 0xff
then search for
.method private refreshRecentTasksList(Ljava/util/ArrayListV
and the next instance of
Code:
const/16 v5, 0x8
change to
Code:
const/16 v5, 0xff
this is probably not necessary
navigate to com\android\systemui\recent\RecentAppFxActivityTab let.smali

search for

iput-object v2, p0, Lcom/android/systemui/recent/RecentAppFxActivity;->mContext:Landroid/content/Context;

just below this is
Code:
const/16 v0, 0x8
change to
Code:
const/16 v0, 0xff
just below that is
iput v0, p0, Lcom/android/systemui/recent/RecentAppFxActivity;->NUM_PANEL:I
then just below that is
Code:
  const/16 v0, 0x10
change to
Code:
const/16 v0, 0xff
then search for
.method private refreshRecentTasksList(Ljava/util/ArrayListV
and the next instance of
Code:
  const/16 v5, 0x8
change to
Code:
const/16 v5, 0xff
####newly added to fix dissappearing panels####

then search for
invoke-virtual {v3, v4, v5, v7}, Lcom/android/systemui/recent/RecentAppFxActivity$FxListViewAdapter;->bindListView(Lcom/htc/fusion/fx/controls/FxListView;II)V

just above this is

Code:
const/16 v5, 0x8
change to

Code:
const/16 v5, 0xff
navigate to com\android\systemui\recent\RecentTaskLoader.smali

in the .method static constructor section search for

Code:
const/4 v0, 0x6
change to

Code:
const/16 v0, 0xff
then search for

Code:
const/16 v0, 0x14
change to

Code:
const/16 v0, 0xff
And thats it Enjoy!

Fixed >>>>Bugs: scrolling quickly will make panels dissappear, im looking into a fix for this [COLOR="Red"]
These vultures rob everything Leaving nothing but chains....De La Rocha
The Following 34 Users Say Thank You to steal25 For This Useful Post: [ Click to Expand ]
 
il Duce
Old
#2  
il Duce's Avatar
Recognized Developer / Contributor / Themer / Retired Moderator
Thanks Meter 16353
Posts: 16,651
Join Date: Feb 2009
Location: Twin Cities, MN

 
DONATE TO ME
BOOM!
The Following 2 Users Say Thank You to il Duce For This Useful Post: [ Click to Expand ]
 
CrazyTechnoBoy
Old
#3  
CrazyTechnoBoy's Avatar
Senior Member
Thanks Meter 131
Posts: 273
Join Date: Jul 2010
Swag.


I'm actually gonna use this How-To.

Sent from my EVO using xda app-developers app
Android for Life <3
The Following User Says Thank You to CrazyTechnoBoy For This Useful Post: [ Click to Expand ]
 
zeppelinrox
Old
#4  
zeppelinrox's Avatar
Senior Member
Thanks Meter 20502
Posts: 9,232
Join Date: Dec 2010
Location: IN THE FREAKIN' OP

 
DONATE TO ME
Cool... I tried like crazy to find where that bugger was
The Following 4 Users Say Thank You to zeppelinrox For This Useful Post: [ Click to Expand ]
 
mikeyxda
Old
#5  
mikeyxda's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 13145
Posts: 3,459
Join Date: Jul 2010
Location: Florida - Gulf Coast

 
DONATE TO ME
Good stuff, Steal!

Mike
Some of my other creations (mostly digital photography software):
http://www.ddisoftware.com
The Following 5 Users Say Thank You to mikeyxda For This Useful Post: [ Click to Expand ]
 
steal25
Old
#6  
steal25's Avatar
Recognized Themer / Contributor / Recognized Developer - OP
Thanks Meter 6579
Posts: 4,321
Join Date: Feb 2011
Location: Behind a dumpster in the Los Angeles Harbor

 
DONATE TO ME
Quote:
Originally Posted by mikeyxda View Post
Good stuff, Steal!

Mike
Thanks and thank you for pointing out that a few of the edits werent needed.

the op has been revised minus the unneeded edits.
These vultures rob everything Leaving nothing but chains....De La Rocha
The Following 2 Users Say Thank You to steal25 For This Useful Post: [ Click to Expand ]
 
O.M.J
Old
#7  
O.M.J's Avatar
Recognized Contributor
Thanks Meter 5964
Posts: 2,015
Join Date: Jun 2007
Location: Hastings, MN

 
DONATE TO ME
good stuff....thx!
The Following 2 Users Say Thank You to O.M.J For This Useful Post: [ Click to Expand ]
 
fernando sor
Old
#8  
fernando sor's Avatar
Recognized Themer
Thanks Meter 4819
Posts: 9,229
Join Date: Sep 2010
Location: north of the wall
Nice work

Sent from my EVO using Tapatalk 2
Bad seed Customs Founder



The Following 2 Users Say Thank You to fernando sor For This Useful Post: [ Click to Expand ]
 
chogardjr
Old
#9  
chogardjr's Avatar
Senior Member
Thanks Meter 1452
Posts: 2,922
Join Date: Sep 2010

 
DONATE TO ME
Very cool

Sent via LTE from my Evo LTE s-offed by an overweight panda.
The Following 2 Users Say Thank You to chogardjr For This Useful Post: [ Click to Expand ]
 
PuRE IVIonztah
Old
#10  
PuRE IVIonztah's Avatar
Senior Member
Thanks Meter 258
Posts: 432
Join Date: May 2011
Location: Arlington
Thanks for this! Actually gonna use this

Sent from my EVO using xda premium
Device: HTC One 32GB Dev Edition (m7_ul)
Rom: PuREOne
Kernel: ElementalX Max OC
MID: PN0712000
CID: BS_001




TEAM MiK
MikROMs Since 5/12/11
[/CENTER]

The Following User Says Thank You to PuRE IVIonztah For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes