yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] LuanTeles:
Hey guys, i found a services.jar of a DPDP based rom, but it is of GALAXY S6 noun Edge

That does not have brightness issue, most of the roms if not all on this base suffers a low brightness screen even set at max, that goes to 157 or 115 instead of 255 and with a help of an init.d script, it goes brighter again and released as a fix for DPDP based roms

as released here Brightness Fix

But unfortunatelly it does not have the Edge Features Codes, and i have no clue what are they!

Can someone help me?

Edit

I think its Edge services.jar fault, the Flat ones doesnt suffers this

Does anyone knows how to fix it?
[Galaxy S6 General] LuanTeles:
Hey [MENTION=4596062]asc1977[/MENTION]

I don't know if you realized or what S6 model do youu have

but all of the rooms based on DPDP (other based i dont know)

suffers a brightness issue, its so low, the maximuim sets it to 157 instead of 255

i realized that flashing the services.jar of the Flat model, fix the issue as i released here

Brightness Fix

But unfortunately it brokes the edge panel! i'm i see you know a lot of jar and smalis

can you help me to fix that? to the what lines is for the brightness to port to the s6 edge services.jar or the edge pane to the flat .jar

Thanks in advance!
[Galaxy S6 General] asc1977:
Hi. I didnt know about that but i spended so much time because that that i never want to do that. For me its all ok and i dont need to fix. I tried so often to fix it with [MENTION=5228377]ultimatewaffel[/MENTION] and we dont reached a goal. There is noz only that brightness feature in rom. No there is also a second thimg that also pushes the brightness in extreme light. Every time he fixed i tried and its there. We didnt find out how it works so i let it be like it is. My screen and i dont know why didnt do that brightness thing. Only a litlle bit but not so much like shown in a lot of vids
[Galaxy S6 General] ANDROIDXFOREVER:
i use this launcer from s6 edge plus sm-g928f test its work from your telephone

https://www.androidfilehost.com/?fid=24580917854994567
[Galaxy S6 General] zioriky:
don't work on stock odex G925F-XXU3DPDP
[Galaxy S6 General] nguyentankiet:
How to Remove high volume warning for headphones

Decompile services.jar

Open smali\com\android\server\audio\AudioService.smali

Find:

.method private checkSafeMediaVolume(III)Z

Replace with method:

.method private checkSafeMediaVolume(III)Z
.registers 5

const v0, 0x1

return v0
.end method
[Galaxy S6 General] asc1977:
Already before in op but thx anyway
[Galaxy S6 General] nguyentankiet:
Guide in op have not for me. And i try with that method and work[emoji1]
[Galaxy S6 General] asc1977:
All works but on my screen is the update part above logo but not in xml file. How can i remove unnecessary part
[Galaxy S6 General] Jhfreeze:
I hate the low light auto dim feature so much, I have fixed it every time a rom has it. All you need to do is take the display folder out of the non edge services.jar (services.jar\smali\com\android\server\display) and move it to the edge services.jar. This is what I have found on my own like 6 months ago when I got so fed up with the auto dimming. Also, sometimes I'll flash another versions services, then flash my current rom's back after the first one then it fixes the dimming for me too. I've done both methods serveral times.
[Galaxy S6 General] edzamber:
feature.xml edit :

add :

<CscFeature_Setting_DisableMenuSoftwareUpdate>True</CscFeature_Setting_DisableMenuSoftwareUpdate>
[Galaxy S6 General] nguyentankiet:
My way is delete update apk. We are using rom cook and it is unnecessary
[Galaxy S6 General] asc1977:
Did not work but thx
[Galaxy S6 General] asc1977:
Where i find? Which exact name?

Did you mean UrgentFWUpdate.apk?
[Galaxy S6 General] edzamber:
Yes you're right !

Sorry, its for hide update menu [emoji16]
[Galaxy S6 General] asc1977:
Where i find apk?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] nguyentankiet:
Yes, and with my rom also samsungupdate.apk, configupdate.apk
[Galaxy S6 General] drlupinxx:
Hi guys

anyone knows the method to change the text color to white black curtain notifications MM

Thanks in advance
[Galaxy S6 General] sanoc69:
Delete from priv-app

Fota and SO agent

Enviado do meu SM-G935F através de Tapatalk
[Galaxy S6 General] asc1977:
Thx. Now works
[Galaxy S6 General] LuanTeles:
THANKS MAN! Now got the EDGE FIXED! FULL BRIGHTNESS
[Galaxy S6 General] Jhfreeze:
Awesome, I literally just used that fix today for my s5 for another rom. Originally i stumbled upon it on my note 5. Now it's confirmed to work on s5/s6/note 5. Glad it's working, that screen dimming is so annoying.
[Galaxy S6 General] LuanTeles:
I released it as a Fix for DPDP based Roms

and gave you the proper Credits
[Galaxy S6 General] ANDROIDXFOREVER:
hi is possible 1 screenshot ? tnx
[Galaxy S6 General] SidRobo:
here it is. also there is few post back.
[Galaxy S6 General] SidRobo:
does anyone know which line or file is for mobile data????
[Galaxy S6 General] asc1977:
Id mobile signal group and you find it in res/layout/mobilesignalgroup.xml

Its the up/down arrows and the H+ or G or G3 and so on
[Galaxy S6 General] ANDROIDXFOREVER:


and can space out a little alarm icon on the percentage battery? someone can 'show me the way thanks
[Galaxy S6 General] edzamber:
Change text in Setup Wizard for Marshmallow 6.0.1

Adapted for MM from

Original thread

Thanks to @ambasadii

[*]Decompil SecSetupWizard2015.apk\res\values\strings.xml

Search for

<string name="welcome_start_msg_with_mark">Welcome!</string>

And

<string name="welcome_start_msg">Welcome</string>

Replace by

<string name="welcome_start_msg_with_mark">EdYoBlue ROM</string>

And

<string name="welcome_start_msg">EdYoBlue ROM</string>

[*]Do the same for other languages

For exemple SecSetupWizard2015.apk\res\values-fr\strings.xml

<string name="welcome_start_msg_with_mark">EdYoBlue ROM</string>

And

<string name="welcome_start_msg">EdYoBlue ROM</string>

[*]Recompil​
[Galaxy S6 General] asc1977:
Thx. Its great. Did you also know how to remove the last part with option to install knox?
[Galaxy S6 General] edzamber:
Yes,

Just remove system/app/MyKNOXSetupWizzard [emoji6]
[Galaxy S6 General] asc1977:
I did it one time in my knox remove script bukt than i get bootloop or startscreen freece. I deleted it in updaterscript after copy system to phone

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] edzamber:
No bootloop for me.

Here what i remove (with all usuals Knox apps and Container) :

Removed too :

system/recovery-from-boot.p

system/priv-app/SKMSAgent

All delete directly in Rom zip, not by remove script [emoji6]
[Galaxy S6 General] asc1977:
Oh i remove much more. But i try again

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] edzamber:
Just edit my previous post [emoji6]

Remove it directly in Rom zip[emoji6]
[Galaxy S6 General] asc1977:
here is mine from my script

###################################################################################################################
#
#	Debloat ****
#
###################################################################################################################

delete_recursive("/system/priv-app/FotaAgent");
delete_recursive("/system/priv-app/SOAgent");

###################################################################################################################
#
#	Remove Knox
#
###################################################################################################################
set_progress(0.35);
ui_print("Removing Knox...");
delete_recursive("/system/container");
delete_recursive("/system/etc/secure_storage/com.sec.knoxstore!dex");
delete_recursive("/system/etc/secure_storage/com.sec.knox.store");
delete_recursive("/system/priv-app/KLMSAgent");
delete_recursive("/system/app/BBCAgent");
delete_recursive("/system/app/Bridge");
delete_recursive("/system/app/ContainerAgent");
delete_recursive("/system/app/ContainerEventsRelayManager");
delete_recursive("/system/app/DiagMonAgent");
delete_recursive("/system/app/ELMAgent");
delete_recursive("/system/app/FotaClient");
delete_recursive("/system/app/FWUpdate");
delete_recursive("/system/app/FWUpgrade");
delete_recursive("/system/app/HLC");
delete_recursive("/system/app/KLMSAgent");
delete_recursive("/system/app/LocalFOTA");
delete_recursive("/system/app/RCPComponents");
delete_recursive("/system/app/SecKids");
delete_recursive("/system/app/SecurityLogAgent");
delete_recursive("/system/app/SPDClient");
delete_recursive("/system/app/SyncmlDM");
delete_recursive("/system/app/UniversalMDMClient");
delete_recursive("/system/app/KnoxAppsUpdateAgent");
delete_recursive("/system/app/KnoxAttestationAgent");
delete_recursive("/system/app/KnoxFolderContainer");
delete_recursive("/system/app/KnoxSetupWizardClient");
delete_recursive("/system/app/KnoxSwitcher");
delete_recursive("/system/app/RCPComponents");
delete_recursive("/system/app/UniversalMDMClient");
delete_recursive("/system/app/MyKnoxSetupWizard");
delete_recursive("/system/preloadedmdm");
delete_recursive("/data/data/com.samsung.knox.rcp.components");
delete_recursive("/data/data/com.sec.knox.seandroid");
delete_recursive("/data/data/com.sec.knox.store");
delete_recursive("/data/data/com.sec.knox.containeragent");
delete_recursive("/data/data/com.sec.enterprise.knox.attestation");
delete_recursive("/data/data/com.sec.knox.app.container");
delete_recursive("/data/data/com.sec.knox.eventsmanager");
delete_recursive("/data/data/com.sec.enterprise.knox.cloudmdm.smdms");
delete_recursive("/data/data/com.sec.knox.bridge");
delete_recursive("/data/data/com.sec.knox.knoxsetupwizardclient");
delete_recursive("/data/data/com.sec.knox.setupwizardstub");
delete_recursive("/data/data/com.samsung.klmsagent");
delete_recursive("/data/data/com.samsung.android.walletmanager");
delete_recursive("/data/clipboard/knox");
delete_recursive("/data/system/knoxvpn");
[Galaxy S6 General] edzamber:
Here is mine

#Remove Knox

set_progress(0.35);

ui_print("@Supression Knox...");

delete_recursive("/system/container");

delete_recursive("/system/etc/secure_storage/com.sec.knoxstore!dex");

delete_recursive("/system/etc/secure_storage/com.sec.knox.store");

delete_recursive("/system/priv-app/KLMSAgent");

delete_recursive("/system/app/BBCAgent");

delete_recursive("/system/app/Bridge");

delete_recursive("/system/app/ContainerAgent");

delete_recursive("/system/app/ContainerEventsRelayManager");

delete_recursive("/system/app/DiagMonAgent");

delete_recursive("/system/app/ELMAgent");

delete_recursive("/system/app/FotaClient");

delete_recursive("/system/app/FWUpdate");

delete_recursive("/system/app/FWUpgrade");

delete_recursive("/system/app/HLC");

delete_recursive("/system/app/KLMSAgent");

delete_recursive("/system/app/LocalFOTA");

delete_recursive("/system/app/RCPComponents");

delete_recursive("/system/app/SecKids");

delete_recursive("/system/app/SecurityLogAgent");

delete_recursive("/system/app/SPDClient");

delete_recursive("/system/app/SyncmlDM");

delete_recursive("/system/app/UniversalMDMClient");

delete_recursive("/system/app/KnoxAppsUpdateAgent");

delete_recursive("/system/app/KnoxAttestationAgent");

delete_recursive("/system/app/KnoxFolderContainer");

delete_recursive("/system/app/KnoxSetupWizardClient");

delete_recursive("/system/app/KnoxSwitcher");

delete_recursive("/system/app/RCPComponents");

delete_recursive("/system/app/UniversalMDMClient");

delete_recursive("/system/preloadedmdm");

delete_recursive("/data/data/com.samsung.knox.rcp.components");

delete_recursive("/data/data/com.sec.knox.seandroid");

delete_recursive("/data/data/com.sec.knox.store");

delete_recursive("/data/data/com.sec.knox.containeragent");

delete_recursive("/data/data/com.sec.enterprise.knox.attestation");

delete_recursive("/data/data/com.sec.knox.app.container");

delete_recursive("/data/data/com.sec.knox.eventsmanager");

delete_recursive("/data/data/com.sec.enterprise.knox.cloudmdm.smdms");

delete_recursive("/data/data/com.sec.knox.bridge");

delete_recursive("/data/data/com.sec.knox.knoxsetupwizardclient");

delete_recursive("/data/data/com.sec.knox.setupwizardstub");

delete_recursive("/data/data/com.samsung.klmsagent");

delete_recursive("/data/data/com.samsung.android.walletmanager");

delete_recursive("/data/clipboard/knox");

delete_recursive("/data/system/knoxvpn");

I delete all others apps that i talk about in my previous post directly in Rom zip.
[Galaxy S6 General] ANDROIDXFOREVER:
hi is possible o not ?? tynx for help
[Galaxy S6 General] SidRobo:
it is possible.I think you should use use margin in system_icons.xml. i'll test it when i access to my pc and i'll tell you how should do exactly.

Sent from hell
[Galaxy S6 General] asc1977:
I know you from note3 thread. You are asking a lot and no time you have time. But please be patient. We are not only here for you. Dont understand wrong. It doesnt help if you ask 10 times.

Post your system_icons.xml and i try to help you. But not the file. The text.
[Galaxy S6 General] asc1977:
add in system:icons.xml blue

<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/batterymeter_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:fontFamily="sec-roboto-light" [COLOR="Blue"]android:paddingStart="3.0dip"[/COLOR] android:layout_marginEnd="1.0dip" />

make the number how big or small you want
[Galaxy S6 General] ANDROIDXFOREVER:
sorry I did not want to hurry but it seems that no one sees my post, because of info I try and tell
[Galaxy S6 General] asc1977:
i see every post in my thread but i am same like you. somebody noone wants to answer. didnt know why. i help if i can if not i didnt answer. normal way. i also did a mod for you which you asked me pm. carrier in statusbar but with 3 allignment options. take time
[Galaxy S6 General] asc1977:
[MENTION=4714483]daxgirl[/MENTION]

hi anna

i spend now a lot of time for this mod and try to add a custom text for carrier label in smalis. i read and read but i didnt get it to work. i think up to 10 hours of my life. i read on different sites to learn howto but without sucess. please can you help me a little. please show me how it works. can you please edit it that it work and explain me your steps that i understand in further time. i want to learn and i think you are the best teacher for me

cheers Andreas
[Galaxy S6 General] ANDROIDXFOREVER:
Great you're 1 genius ..good nigt e sorry.again
[Galaxy S6 General] sheard:
i don't know what u want to do but if u want custom carrier text+size+color+font u can check it http://4pda.ru/forum/index.php?s=&showtopic=540887&view=findpost&p=49437110 or check it http://4pda.ru/forum/index.php?s=&showtopic=540887&view=findpost&p=38516189 . they are just smali's which u need to add one line to statusbar.xml and copy smali to sysui .i don't correctly understanded what u want to do but if u want to port them on lockscreen statusbar then look inside of this smali and try to understand how they change text and try to make it on own.there is so much guides and so much smali for statusbar custom carrier .just google it .and u can't find everything on xda check other sites like russian and chienese i use google translate when i surf on chienese forums and i am not only one who use google translate lol. if u search on chienese forums u can find how make custrom statusbar text on lp and kitkat and if u understand it .then u can do it on MM too.If i missunderstand something then sorry,i didn't checked xda about 2 weeks
[Galaxy S6 General] Jaey DR:
Hi all master...can anyone make it TouchWiz launcher Multidpi for MM TouchWiz..Appreciate if can...hopefully..
[Galaxy S6 General] asc1977:
Yes exactly this. I tried but anything should be i didnt understand. If i want to integrate the custom text part always i get a fc of systemui. Anywhere must be a small bug but i didnt find it so i asked [MENTION=4714483]daxgirl[/MENTION] to help me
[Galaxy S6 General] ANDROIDXFOREVER:
https://www.androidfilehost.com/?fid=24580917854994567

Test its work
[Galaxy S6 General] asc1977:
Hi my friend,

I do it now 3 times and mod work. But after i added this mod i cant change lockscreen security mean open with swipe or pin or fingerprint. If i want to change it the settings fc.

Did you have dame problem with this mod? Did you include that mod and you can change the unlock settings?
[Galaxy S6 General] Repulsa:
Did u do something about service.jar mate? Display folder? Let me test it out on your 6.4 soon .
[Galaxy S6 General] asc1977:
No. It works all. Than do this mod and than didnt work

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] kep2008:
I installed this mod. Change unlock setting is functioning normally.
[Galaxy S6 General] asc1977:
Thats not normal. I didnt know what is wrong. I tested with and without that mod also copy and paste modded classes.dex in unmodded one. Same problem

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] Jaey DR:
Already try it..but is't multidpi sir..back to s6 touchwiz zero multidpi..im using now..but s6 not smooth like original touchwiz MM..
[Galaxy S6 General] kep2008:
I can give you is to check my SecSettings 2. Just do not know whether you will approach from G920F.
[Galaxy S6 General] asc1977:
Yes please send me to try. Must be same
[Galaxy S6 General] SidRobo:
i tried to add data usage in status bar expanded header on top of date so i add below line to tw_status_bar_expanded_header.xml but data usage is zero.:confused:

<LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/date_timeView" android:padding="@dimen/headerview_date_timeView_start_padding" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentStart="true">
<include android:layout_gravity="center_vertical" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" layout="@layout/split_clock_view" />
[COLOR="Blue"]<com.android.systemui.statusbar.phone.DataUsageView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="top" android:id="@id/data_usage_view" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="6.0dip" android:layout_marginTop="5.0dip" android:includeFontPadding="false" />[/COLOR]
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="bottom" android:id="@id/date" android:paddingBottom="@dimen/headerview_date_bottom_margin_small" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_marginLeft="-90.0dip" systemui:datePattern="@string/status_view_wday_day_month_no_year" />
</LinearLayout>
[Galaxy S6 General] kep2008:
https://yadi.sk/d/4j1j5kLssLkMx
[Galaxy S6 General] asc1977:
Here is mine. Its with and without mod. Can you take a look

https://mega.nz/#!TNgjnBRK!sOX6hm0FLfRZfce8o5kZz41YzjVkfXTUr7ahMGP6EX4

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] asc1977:
Ok. I tried with yours and it also fc. But with my file without this mod dont fc. Really crazy
[Galaxy S6 General] asc1977:
[MENTION=7308585]kep2008[/MENTION]

No i did wrong. Yours work

I figuared out that something happen with my secsetting2.apk if i decompile and recompile. It makes my apk buggy. It work sometimes but after clean install didnt work and settingsreceiver stopped.

So i must find right way to mod that apk. Thats my bug

[MENTION=3136944]Repulsa[/MENTION] [MENTION=7308585]kep2008[/MENTION]

How the ways you mod that apk?

Decompile, mod, recompile and finish

Or

Decompile, mod, recompile and push f.e. classes.dex new in original secsetting2.apk?
[Galaxy S6 General] kep2008:
I still copy all the modified files in the stock .apk via 7zip. For settings apply this fix

http://xdaforums.com/showpost.php?p=67075887&postcount=6550
[Galaxy S6 General] asc1977:
Ok. I try this way. The fix i know. Thx

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] zioriky:
Add page transition effect

TouchWizHome_2016/res/values/integers.xml

add at the bottom

<integer name="page_transition_effect">[COLOR="Red"]?[/COLOR]</integer>

Change ? to 1,2,3,4,5 or 6

Recompile

Done.
[Galaxy S6 General] bunnys7679:
What exactly do this?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] zioriky:
change page transition effect
[Galaxy S6 General] ANDROIDXFOREVER:
great tnx:o:o:o
[Galaxy S6 General] bunnys7679:
It is possible to change this with Rom Control

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] asc1977:
My mentioned method is working which linked from [MENTION=4507636]edzamber[/MENTION]

I put it in op later. Your i dont know. I cant test. Have no headphones. My method is tested by an user
[Galaxy S6 General] asc1977:
Working CSC features

#Disable SMS to MMS converting

#Shutter Sound option in camera settings

#Hide Software Update Menue in About device

#Show NFC Icon if on in statusbar

#Second Site in Smart Manager like Note5

#Call Recording Button

#Call and SMS blocking menue in Settings

#Enable Auto Data connect to send and recieve MMS without Toogle Data

#Enable Black list in Stock Message settings

#Enable Save/Restore in Stock Message

#Force Enable Security Save in SmartManager

#Enable Support Recent App Protection

#Show Data usage in expanded SystemUI near brightness auto check

#Add only LTE mode in Network selection menue in Settings

Thx to [MENTION=4596062]asc1977[/MENTION] [MENTION=4507636]edzamber[/MENTION] [MENTION=4074799]ambasadii[/MENTION] [MENTION=693309]edgarf28[/MENTION]
[Galaxy S6 General] Mentalmuso:
Framework-res.apk res/values/integers and search for a line that mentions volume warning. Change value from 10 to 20. Ill find the exact line when i het home. Its pretty obvious though. I think this method still works in mm

?--->
[Galaxy S6 General] asc1977:
thx but already found and in OP

mod for services.jar
[Galaxy S6 General] edzamber:
#Enable Auto Data connect to send and recieve MMS without Toogle Data

<CscFeature_RIL_ForceConnectMMS>true</CscFeature_RIL_ForceConnectMMS>

#Enable Black list in Stock Message settings

<CscFeature_Message_EnableBlackList>true</CscFeature_Message_EnableBlackList>

#Enable Save/Restore in Stock Message

<CscFeature_Message_EnableSaveRestoreSDCard>true</CscFeature_Message_EnableSaveRestoreSDCard>

NB : On some CSC it need to add theses csc features into feature.xml instead of others.xml [emoji6]
[Galaxy S6 General] grzegorz354:
My method works on ROM PureStock by ambasadii
[Galaxy S6 General] kep2008:
Flash sboot.bin of recovery.

updater-script

package_extract_file("sboot.bin", "/dev/block/sda1");
run_program("/sbin/reboot", "fota_bl");
[Galaxy S6 General] Mentalmuso:
Does anyone have a method to get edge panel working on flat firmware? I don't know what it is i'm doing wrong but it always just crashes out. Even with framework files.
[Galaxy S6 General] edzamber:
Working great !
[Galaxy S6 General] asc1977:
Great. Than i add this method to op
[Galaxy S6 General] frenkowski:
I'm working on this feature since last week... I tried to port framework.jar and services.jar and all edge app but works only the first screen... I think that is necessary to work on S6 Edge firmware but if someone know how fix it I'll appreciate

Sent from my TyrannusS6
[Galaxy S6 General] asc1977:
Why you both taken not 925F firmware. Its same but with edge panel. So you have no problems to port it
[Galaxy S6 General] Mentalmuso:
I tried that and I got playstore crashes on the setup screen after clean wipe. I ran out of patience with it.

--->
[Galaxy S6 General] asc1977:
i also have this one time. i tried again with no mods. only clean rom and than it works. you must build all mods new

i dont know that that is your problem but a solution was it for me
[Galaxy S6 General] Mentalmuso:
Hmmm. Mine was clean and deodexed

Oh... unless its my csc. Its from a 920