FORUMS

 View Poll Results: Hello Users...!!! Is Thread Useful.......!!!

Yes.....Good Collection of Mods.
 
210 Vote(s)
92.92%
Not useful, I dont own Samsung Device.
 
21 Vote(s)
9.29%

[Mods]Samsung ¬Android Mods Collection[Exynos]

13,133 posts
Thanks Meter: 15,870
 
By yash92duster, Senior Member on 2nd April 2018, 01:31 AM
Post Reply Email Thread
Announcement from yash92duster: Last Updated Post #1522
14th April 2018, 08:24 AM |#31  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Signature Check Disable For Oreo:


Locate to
Services.jar\smali\com\android\server\pm\PackageMa nagerService.smali

Search for
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/SignatureI


Replace the entire .method with the following code:

Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    .locals 7

    const/4 v0, 0x0

    return v0
.end method

This Guide is from
https://forum.xda-developers.com/sho...&postcount=557
by edzamber, tdunham, one_love_420 and CNexus
The Following 6 Users Say Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
14th April 2018, 08:27 AM |#32  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Installing Apps Older Versions Over Newer For Oreo:


Locate to
Services.jar\smali\com\android\server\pm\PackageMa nagerService$InstallParams.smali

Search for :
.method private installLocationPolicy(Landroid/content/pm/PackageInfoLiteI

Now just change if-nez to if-eqz

Code:
From
if-nez v1, :cond_1
To
if-eqz v1, :cond_1

Like Follows,

Code:
    :goto_2
    if-eqz v2, :cond_6

    sget-boolean v10, Landroid/os/Build;->IS_DEBUGGABLE:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-nez v10, :cond_5

    move v1, v7

    :goto_3
    if-eqz v1, :cond_1

    :try_start_1
    invoke-static {v0, p1}, Lcom/android/server/pm/PackageManagerService;->-wrap35(Landroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageInfoLite;)V
    :try_end_1
    .catch Lcom/android/server/pm/PackageManagerException; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
Recompile Services.jar
Done

Now you can install any old app version on top of a newer without unistalling before


This Guide is from
https://forum.xda-developers.com/sho...&postcount=557
by edzamber, tdunham, one_love_420 and CNexus
The Following 4 Users Say Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
14th April 2018, 08:30 AM |#33  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Camera Flash Light 1% Mod:



Decompile framework-res.apk

Locate to
res/values.integer.xml

Find the following:
<integer name="config_lowBatteryWarningLevel">15</integer>

Change accordingly:
Code:
From
<integer name="config_lowBatteryWarningLevel">15</integer>

To
<integer name="config_lowBatteryWarningLevel">1</integer>

Now Flashlight in Camera Will work till 1% Battery

By yash92duster
The Following 5 Users Say Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
14th April 2018, 08:38 AM |#34  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Rom Logo to SecSettings for Oreo:


Decompile SecSettings.apk


Locate to res/xml/device_info_settings.xml


Add the following code:

Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
  xmlns:android="http://schemas.android.com/apk/res/android">
  
  <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
    <PreferenceCategory android:title="@string/rom_info" android:key="dummy_gen">
        <Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
        <Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
        <Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
        <Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
		<Preference android:title="@string/rom_dev_country" android:key="rom_dev_country" android:summary="@string/rom_dev_country_name" style="?android:preferenceInformationStyle" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/device_info" android:key="dummy_gen" />

Add logo.png (410x160 pix) to res/drawable folder


Add logo.xml to res/layout folder


Locate to res/values/ids.xml
Add the following code at the end of the xml

Code:
<item type="id" name="dev_settings">false</item>


Locate to res/values/strings.xml
Add the following code at the end of the xml
Code:
    <string name="device_info">Device Information</string>
    <string name="rom_info">Information About ROM</string>
    <string name="rom_name">ROM Name</string>
    <string name="rom_name_details">LightROM</string>
    <string name="rom_ver">ROM Version</string>
    <string name="rom_ver_details">Based on CRB7</string>
    <string name="rom_date">ROM Date</string>
    <string name="rom_date_details">01.January.2018</string>
    <string name="rom_developer">ROM Developer</string>
    <string name="rom_developer_name">yash92duster</string>
    <string name="rom_dev_country">Developer Country</string>
    <string name="rom_dev_country_name">Chennai/India</string>
    </resources>
Recompile SecSettings.apk

Country Code is by one of my Telegram Friend

This Guide is optimized from
https://forum.xda-developers.com/sho...postcount=1873
Thanks to ambasadii
Attached Files
File Type: zip Logo and Xml.zip - [Click for QR Code] (19.8 KB, 888 views)
The Following 3 Users Say Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
14th April 2018, 08:48 AM |#35  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Adding Changelog Option To SecSettings Oreo:



Decompile SecSettings .apk

Locate to res/values/strings.xml

Add the following codes:
Code:
    <string name="changelog_title"><b>Changelog</b></string>
    <string name="changelog_title_summary">View recent changes in ROM</string>
    <string name="changelog_loading">Loading changelog...</string>
    <string name="changelog_error">Unable to load changelog</string>
    <string name="changelog_unknown">Unknown</string>
    <string name="changelog_version">Version</string>

Open
res/xml/device_info_settings.xml and look for the following code

Code:
<Preference android:title="@string/device_feedback" android:key="device_feedback" />

Add the following code after or before the above code

Code:
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog" android:summary="@string/changelog_title_summary" android:fragment="com.samsung.android.settings.rz.ChangeLog" />

Merge the smali.zip to SecSettings.apk

Compile and Decompile for Replacing public id


Find
res/values/public.xml
Code:
<public type="string" name="changelog_error" id="0x7f090f8e" /> This code needs to be used in the ChangeLog.smali
6. Find 0x7f090f8e in SecSettings\smali_classes2\com\samsung\android\set tings\rz\ChangeLog.smali

Code:
    move-object v2, v3

    :goto_1
    const v9, 0x7f090f8e

    :try_start_2
    invoke-virtual {p0, v9}, Lcom/samsung/android/settings/rz/ChangeLog;->getString(I)Ljava/lang/String;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

Now copy RZChangelog.txt to system/etc Folder


Optimized for Oreo by yash92duster

This Guide is optimized from
https://forum.xda-developers.com/cro...s-rom-t3278694
Thanks to venkat kamesh
Attached Files
File Type: rar Smali and RZChangelog Txt.rar - [Click for QR Code] (4.5 KB, 284 views)
The Following User Says Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
14th April 2018, 08:50 AM |#36  
yash92duster's Avatar
OP Senior Member
Flag Nellore/Chennai
Thanks Meter: 15,870
 
More
Deleted
The Following 15 Users Say Thank You to yash92duster For This Useful Post: [ View ] Gift yash92duster Ad-Free
15th April 2018, 03:40 PM |#37  
elxufas's Avatar
Senior Member
Thanks Meter: 101
 
More
Thanks for the thread, to keep in mind and to follow it.
The Following 2 Users Say Thank You to elxufas For This Useful Post: [ View ] Gift elxufas Ad-Free
16th April 2018, 07:35 PM |#38  
bulldog74ts's Avatar
Senior Member
Free Territory of Trieste
Thanks Meter: 4,603
 
Donate to Me
More
Quote:
Originally Posted by yash92duster

Guide To Fix Headphones in S9+ Oreo Ports:


Decompile framework-res.apk

Locate to
framework-res/res/values/bools.xml


Search for AudioJack


And Change the following:

Code:
From
<bool name="config_useDevInputEventForAudioJack">true</bool>
To
<bool name="config_useDevInputEventForAudioJack">false</bool>

By AlexisXDA

By Bulldog74ts
The Following 2 Users Say Thank You to bulldog74ts For This Useful Post: [ View ] Gift bulldog74ts Ad-Free
17th April 2018, 04:24 PM |#39  
a.raul's Avatar
Senior Member
Flag Mordor
Thanks Meter: 511
 
More
Good afternoon

I hope everything is understandable ...

First of all to thank all the people of XDA who little by little, contribute and contribute, so that we all go a little better in this "hobby"

Also, of course, @AbrahamGC, you are a great chaval and you have a promising future in this ...

Say that I use to decompile and compile, the following tool, or in some case CMD. Thank @BDFreak

https://forum.xda-developers.com/sho....php?t=2639400

With apktool 2.3.2, now, before 2.3.1 both valid, Thank @iBotPeaches

https://forum.xda-developers.com/sho....php?t=1755243


Let's start explaining how to modify SystemUI.apk, Secsettings.apk, framework-res.apk and the * .jar of Samsung Oreo

I want to explain my procedure, which is the one that is not giving me any problem of any kind, it may be that other DEV, do it differently.


SystemUI.apk

We will have 2 copies of SystemUI.apk, each one with a different name so as not to get mixed up,
for example SystemUI_origen.apk and another with a different name, for example SystemUI_mod0.apk.

We open both with 7zip

In SystemUI_mod0.apk we open the animator folder, and in SystemUI_origen.apk animator-v21,
we copy paste from animator-v21, in animator.

In SystemUI_mod0.apk we open the color folder, and in SystemUI_origen.apk color-v11 and color-v23,
copy paste color-v11 and color-v23, in color.

In SystemUI_mod0.apk we open the drawable folder, and in SystemUI_origen.apk drawable-v21 and drawable-v23,
We copy paste from drawable-v21 and drawable-v23, in drawable.

In SystemUI_mod0.apk we open the folder layout, and in SystemUI_origen.apk layout-v11, layout-v21 and layout-v26,
copy paste from layout-v11, layout-v21 and layout-v26, in layout.

We have prepared SystemUI_mod0.apk to decompile, decompile.

We will see that the names of some folders have been renamed eliminating the term -v ...

In the zip that I leave added in the post, there is the file pip_dismiss_scrim.9.png, this we will change it for the one that is in
drawable-xxxhdpi (decompiled) which is the name of the drawable-xxxhdpi-v4 folder in the apk without decompiling.

We have compiled the SystemUI_mod0.apk, we are going to rename it so as not to get mixed up, for example SystemUI_mod0_compilado.apk.

Now we have to use SystemUI_mod0.apk and SystemUI_mod0_compilado.apk, we open both with 7zip

Copy from the SystemUI_mod0_compilado.apk the folder res, classes.dex, classes2.dex and resources.arsc in SystemUI_mod0.apk
In addition to the zip where pip_dismiss_scrim.9.png is located, it is copied / pasted into drawable-xxxhdpi-v4.

With this we will have prepared the SystemUI.apk prepared for future modifications and we will not have any problem in decompilation and compilation.

In all the modifications, I at least copy and paste all the above, the folder res, classes.dex, classes2.dex and resources.arsc
and if there is any addition in the assets folder by modification, I open the folder and add what that modification implies.

I leave descriptive images of the steps, for better understanding.

Regards
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla (1).png
Views:	2098
Size:	45.5 KB
ID:	4478904   Click image for larger version

Name:	Captura de pantalla (2).png
Views:	2058
Size:	86.7 KB
ID:	4478905   Click image for larger version

Name:	Captura de pantalla (3).png
Views:	1976
Size:	116.3 KB
ID:	4478906   Click image for larger version

Name:	Captura de pantalla (4).png
Views:	1790
Size:	128.2 KB
ID:	4478907   Click image for larger version

Name:	Captura de pantalla (5).png
Views:	1730
Size:	128.8 KB
ID:	4478908   Click image for larger version

Name:	Captura de pantalla (6).png
Views:	1676
Size:	114.1 KB
ID:	4478909   Click image for larger version

Name:	Captura de pantalla (7).png
Views:	1588
Size:	123.9 KB
ID:	4478910   Click image for larger version

Name:	Captura de pantalla (8).png
Views:	1526
Size:	124.1 KB
ID:	4478911   Click image for larger version

Name:	Captura de pantalla (9).png
Views:	1472
Size:	112.4 KB
ID:	4478912   Click image for larger version

Name:	Captura de pantalla (10).png
Views:	1390
Size:	111.9 KB
ID:	4478913   Click image for larger version

Name:	Captura de pantalla (11).png
Views:	1322
Size:	50.9 KB
ID:	4478914   Click image for larger version

Name:	Captura de pantalla (12).png
Views:	1342
Size:	50.7 KB
ID:	4478915   Click image for larger version

Name:	Captura de pantalla (13).png
Views:	1310
Size:	117.7 KB
ID:	4478916   Click image for larger version

Name:	Captura de pantalla (14).png
Views:	1302
Size:	114.4 KB
ID:	4478917   Click image for larger version

Name:	Captura de pantalla (15).png
Views:	1348
Size:	129.8 KB
ID:	4478918   Click image for larger version

Name:	Captura de pantalla (16).png
Views:	1320
Size:	27.0 KB
ID:	4478919   Click image for larger version

Name:	Captura de pantalla (17).png
Views:	1342
Size:	38.3 KB
ID:	4478921  
Attached Files
File Type: zip SystemUI.zip - [Click for QR Code] (2.3 KB, 664 views)
The Following 10 Users Say Thank You to a.raul For This Useful Post: [ View ] Gift a.raul Ad-Free
17th April 2018, 04:28 PM |#40  
a.raul's Avatar
Senior Member
Flag Mordor
Thanks Meter: 511
 
More
We continue with...

Let's start explaining how to modify SystemUI.apk, SecSettings.apk, framework-res.apk and the * .jar of Samsung Oreo

I want to explain my procedure, which is the one that is not giving me any problem of any kind, it may be that other DEV, do it differently.

SecSettings.apk

We are going to have 2 copies of SecSettings.apk, each with a different name so as not to get involved,
for example SecSettings_origen.apk and another with a different name, for example SecSettings_mod0.apk.

We open both with 7zip

In SecSettings_mod0.apk we open the anim folder, and in SecSettings_origen.apk anim-v21,
we copy paste from anim-v21, in anim.

In SecSettings_mod0.apk we open the color folder, and in SecSettings_origen.apk color-v11 and color-v23,
copy paste color-v11 and color-v23, in color.

In SecSettings_mod0.apk we open the drawable folder, and in SecSettings_origen.apk drawable-v21 and drawable-v23,
We copy paste from drawable-v21 and drawable-v23, in drawable.

In SecSettings_mod0.apk we open the layout folder, and in SecSettings_origen.apk layout-v11, layout-v21 and layout-v26,
copy paste from layout-v11, layout-v21 and layout-v26, in layout.

We have prepared SecSettings_mod0.apk to decompile, decompile.

We will see that the names of some folders have been renamed eliminating the term -v ...

Go to res / values ​​/ styles.xml and delete the following line:

Code:
<item name="dropdownPreferenceStyle">@style/SettingsDropdownPreference</item> ## Delete line
We save and close, and compile,

We have compiled the SecSettings_mod0.apk, we are going to rename it to not get involved, for example SecSettings_mod0_compilado.apk.

Now we have to use SecSettings_mod0.apk and SecSettings_mod0_compilado.apk, we open both with 7zip.

Unlike SystemUI.apk, the folder res is not completely copied, the reason we can have a fix, for example in fingerprints.
I leave an image of the folders to be copied (marked in blue) of SecSettings_mod0_compilado.apk in SecSettings_mod0.apk,
what I do to make my job easier and not having any mess is to eliminate what I do not have to go through (everyone who does it their own way)
but only the folders of the image, and then I copy / paste the folder res, resources.arsc, classes.dex and classes2.dex of SecSettings_mod0_compilado.apk in SecSettings_mod0.apk

With this we will have prepared the SecSettings.apk prepared for future modifications and we will not have any problem in decompilation and compilation.

In future modifications, just copy / paste what has been modified.
If it influences resources.arsc, classes.dex and classes2.dex, of course what has been modified, but,
if the modification influences an * .xml we will only pass that * .xml in in the corresponding folder, we will avoid fix.

I leave descriptive images of the steps, for better understanding.

Regards
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla (1).png
Views:	1392
Size:	47.0 KB
ID:	4478924   Click image for larger version

Name:	Captura de pantalla (2).png
Views:	1368
Size:	110.7 KB
ID:	4478925   Click image for larger version

Name:	Captura de pantalla (3).png
Views:	1234
Size:	115.1 KB
ID:	4478926   Click image for larger version

Name:	Captura de pantalla (4).png
Views:	1128
Size:	120.8 KB
ID:	4478927   Click image for larger version

Name:	Captura de pantalla (5).png
Views:	1128
Size:	132.4 KB
ID:	4478928   Click image for larger version

Name:	Captura de pantalla (6).png
Views:	1074
Size:	121.5 KB
ID:	4478929   Click image for larger version

Name:	Captura de pantalla (7).png
Views:	1056
Size:	118.7 KB
ID:	4478930   Click image for larger version

Name:	Captura de pantalla (8).png
Views:	1048
Size:	125.6 KB
ID:	4478931   Click image for larger version

Name:	Captura de pantalla (9).png
Views:	1062
Size:	120.3 KB
ID:	4478932   Click image for larger version

Name:	Captura de pantalla (10).png
Views:	1082
Size:	176.8 KB
ID:	4478933   Click image for larger version

Name:	Captura de pantalla (11).png
Views:	1080
Size:	175.3 KB
ID:	4478934   Click image for larger version

Name:	Captura de pantalla (12).png
Views:	1204
Size:	133.3 KB
ID:	4478935  
The Following 9 Users Say Thank You to a.raul For This Useful Post: [ View ] Gift a.raul Ad-Free
17th April 2018, 04:56 PM |#41  
a.raul's Avatar
Senior Member
Flag Mordor
Thanks Meter: 511
 
More
Let's explain how to modify framework-res.apk Samsung Oreo

I want to explain my procedure, which is the one that is not giving me any problem of any kind, it may be that other DEV, do it differently.

framework-res.apk

We decompiled framework-res.apk

We will see that the names of some folders have been renamed eliminating the term -v ...

Go to res / values ​​/ styles.xml and delete the next line, one of the 2, the one we want, since they are identical

Code:
<item name="dropdownListPreferredItemHeight">@dimen/tw_dropdown_list_item_height</item> ## Delete line
We save and close, and compile,

We have compiled the framework-res.apk, we are going to rename it so as not to get mixed up, for example framework-res_mod0_compilado.apk.

Now we have to use framework-res.apk and framework-res_mod0_compilado.apk, we open both with 7zip.

Copy the framework-res_mod0_compilado.apk the folder res and resources.arsc in framework-res.apk

With this we will have prepared the framework-res.apk for future modifications and we will not have any problem in decompilation and compilation.

In future modifications, just copy / paste what has been modified.
If it influences resources.arsc of course what has been modified, but, if the modification influences an * .xml,
we will just pass that * .xml in in the corresponding folder, we will avoid fix.

I leave descriptive images of the steps, for better understanding.

Regards y spankys
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla (1).png
Views:	3622
Size:	69.7 KB
ID:	4478967   Click image for larger version

Name:	Captura de pantalla (2).png
Views:	3578
Size:	63.8 KB
ID:	4478968   Click image for larger version

Name:	Captura de pantalla (3).png
Views:	3606
Size:	121.8 KB
ID:	4478969   Click image for larger version

Name:	Captura de pantalla (4).png
Views:	3524
Size:	55.4 KB
ID:	4478970   Click image for larger version

Name:	Captura de pantalla (5).png
Views:	3470
Size:	57.2 KB
ID:	4478972   Click image for larger version

Name:	Captura de pantalla (6).png
Views:	3414
Size:	124.0 KB
ID:	4478973  
The Following 8 Users Say Thank You to a.raul For This Useful Post: [ View ] Gift a.raul Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes