三星i9500的刷机教程

新手学堂012

三星i9500的刷机教程,第1张

  三星Galaxy S4 I9500多窗口完美全开的修改教程,通过这个三星S4多窗口全开修改教程修改系统文件之后,可以在Galaxy S4的flashbar/多窗口中使用所有安装在应用抽屉的应用程序,新安装的应用程序也可以使用,因此不需要在flashbar中添加新应用程序。

 准备事项

 1 准备好工具apktool,确定你对apktool的反编译和重新编译有所了解,而且知道怎么使用。

 2 准备好文本编辑器notepad++ 。

 3 准备好工具backsmali 。

 详细修改步骤

 1、修改flashbarserviceapk

 用apktool反编译system/app目录中的flashbarserviceapk

 进入flashbarservicesmalicomsecandroidappFlashBar Service

 用文件编辑器notepad++打开FlashBarInfosmali文件

 搜索方法 method public generateFlashBarList()V

 然后按照下面的说明来修改,左侧有-号的是你要删除的内容,有+号的`是你要增加的内容

 iget-object v10, v6, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

 - const-string v11, "androidintentcategoryMULTIWINDOW_LAUNCHER"

 + const-string v11, "androidintentcategoryLAUNCHER"

 invoke-virtual {v10, v11}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

 iget-object v10, v6, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

 - const-string v11, "comsecandroidintentcategoryMULTIWINDOW_LAUNCHER"

 + const-string v11, "comsecandroidintentcategoryLAUNCHER"

 invoke-virtual {v10, v11}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

 :try_end_0

 iget-object v8, v7, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

 - const-string v9, "androidintentcategoryMULTIWINDOW_LAUNCHER"

 + const-string v9, "androidintentcategoryLAUNCHER"

 invoke-virtual {v8, v9}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

 iget-object v8, v7, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

 - const-string v9, "comsecandroidintentcategoryMULTIWINDOW_LAUNCHER"

 + const-string v9, "comsecandroidintentcategoryLAUNCHER"

 invoke-virtual {v8, v9}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

 :try_end_0

 修改完成后,保存文件,然后重新编译回去,替换原文件,这一部分的修改就完成了。

 2、修改servicesjar

 反编译system/framework目录中的servicesjar文件

 进入servicesjaroutsmalicomandroidserveram目录

 使用文本编辑器notepad++打开MultiWindowManagerServicesmali文件

 搜索方法 method public isSupportApp(Ljava/lang/StringZ

 然后按照下面的说明来修改,左侧有-号的是你要删除的内容,有+号的是你要增加的内容

 prologue

 line 567

 + const/4 v0, 0x1

 +

 + goto :goto_0

 +

 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

 修改完成后,保存文件,然后重新编译回去,替换原文件,这样就修改完了。

 上述修改完成并替换好文件后,你会发现多窗口列表中已经列出了所有应用程序,这样三星S4多窗口功能就可以随心所欲的使用了。以上就是三星S4多窗口完美全开的修改教程,本教程仅供各位参考。

尊敬的三星用户您好:

三星官网无法获得第三方软件的ROOT权限,并且也不建议三星手机用户为手机获得这个软件权限的。因为这种软件并不稳定而且危害极大,极易造成手机性能上的缺陷或系统上的不稳定,并且现在网上有很多的可以修改ROOT的软件,用户可以随意的下载安装使用,但是会对手机会造成很多的不良现象(例如无法开机等多种故障)。我们建议您不要获取ROOT权限。

评价、建议、吐槽,请点击:supportsamsungcomcn/survey