yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] JonathanRAZ:
Is not my tool

Install the installer first and then the app itself and the rest is easy

Works great on SM-N920T NOTE 5
[Galaxy S6 General] OMassalia:
Im the only one with this issue ?
[Galaxy S6 General] edzamber:
Try to add csc codes with CSC features expert app.
[Galaxy S6 General] OMassalia:
Perfect my friend. With this i saw what was the problem.
[Galaxy S6 General] kforkai:
Any idea which part i went wrong?
[Galaxy S6 General] JonathanRAZ:
Did you install installer first?
[Galaxy S6 General] kforkai:
Did a reinstall and is this correct?
[Galaxy S6 General] JonathanRAZ:
First did you importa framework-res.apk and second twframeworkres.apk?
[Galaxy S6 General] JonathanRAZ:
[MENTION=4305312]kforkai[/MENTION] uninstalled and reinstalled and works perfectly for me is on your side install installer first open after that install app
[Galaxy S6 General] bunnys7679:
with me is not super user request. what can I do?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] bunnys7679:
one more question. whereas it will decompile. do not find the folder

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] JonathanRAZ:
Well if you did not make a folder for all the files it will be where ever you decompiled it
[Galaxy S6 General] bunnys7679:
sorry for the questions. where can one create a folder. When I select an apk and Decompile press it looks

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] JonathanRAZ:
Same as other guy well cant help you anymore samething install first the installer open it then install app and thats it

If does not work is your phone is not compatible then
[Galaxy S6 General] JonathanRAZ:
If you guys only install the app wont work follow instruction have repeat it a lot of times this is what happens if you install only app

READ

1-install apktool installer

2-install apktool app

3-DONE
[Galaxy S6 General] kforkai:
I cant do a "import as framework" on both abovementioned. Same error process got killed

By the way. I did as instructed. Installer first then app.
[Galaxy S6 General] JonathanRAZ:
Okay
[Galaxy S6 General] kforkai:
Thanks for the prompt reply and patience, got it done. Need to set the app to aquire root first(which i didnt). When i recompile the resource i got this is this correct? :

W: Could not find resourcesI: Using Apktool 2.1.1I: Smaling smali folder into classes.dex...I: Smaling smali_classes2 folder into classes2.dex...I: Smaling smali_classes3 folder into classes3.dex...I: Building apk file...I: Copying unknown files/dir...

Many thanks
[Galaxy S6 General] JonathanRAZ:
Yes sir if it says at the end decompiled succsesfull yes and glad you got it xd
[Galaxy S6 General] kforkai:
Many thanks for the kind help. Appreciate
[Galaxy S6 General] AhmadJanjua:
I'm sorry for posting this stupid question. But actually not getting it.

e.g. for systemui mods it says to make changes in systemui. but I can't find it anywhere on my device. Do I have to download it from somewhere or what. And then this compiling and decompiling thingy is confusing me.

Need Help.

P.S I've rooted device + Xposed up and running. I'm only feeling noob at this thread.

ROM: Criscross goes marshmallow 7.0

Thank you :)
[Galaxy S6 General] ANDROIDXFOREVER:
by demand made it understands clearly that you lack the basics and maybe better let stand
[Galaxy S6 General] davy4475:
Is it possible to make a zip for this
[Galaxy S6 General] edzamber:
Create a Folder Apktool on root of sdcard.

Then push apk to decompil inside.

Working perfectly

To import Frameworks, you need to tick Root in Apktool settings

Then close Apktool, load again and accept root permission.
[Galaxy S6 General] tdunham:
Sure, but it won't work on every phone, will probably break stuff and lastly, seriously, it's a text file... if you can't edit a text file you don't have any business modifying other stuff. Maybe your request should be more specific by asking for help to implement it into a specific rom or build.
[Galaxy S6 General] ANDROIDXFOREVER:
:laugh:
[Galaxy S6 General] davy4475:
Ok thanks
[Galaxy S6 General] Mahnsinn:
I don't think this answer is helping him to get the information needed. Maybe giving him a link or keywords to search for would help more.

I am Btw in the same situation and would like to get a link for information about how to compile or decompile. Thx
[Galaxy S6 General] JonathanRAZ:
Use the search function
[Galaxy S6 General] tdunham:
This is a great tool for windows with a graphic interface. Takes a bit to learn but it does it all. But first you have to start with a deodexed build of some sort which isn't that simple to do from scratch unless you are familiar with Ubuntu/Linux.

[TOOL] Tickle My Android 13.4 - Decompile & Deodex With Style!
[Galaxy S6 General] kforkai:
Install the apktool installer follow by apktool app posted by [MENTION=1021772]johnathan[/MENTION]RAZ earlier. Then allow root to apktool app.( u get that by clicking on folders with a lock sign) after that import as framework for these 2 files framework-res.apk and twframework-res.apk

Under /system/framework. Tadaaa the rest is up to your creativity. Hope it helps.

http://xdaforums.com/galaxy-s6/sams...ment/devs-helpingd-devs-t3321679/post67470139
[Galaxy S6 General] Mahnsinn:
You both are awesome! Thx. Got my next lecture
[Galaxy S6 General] nguyentankiet:
My SShareCommon haven't ".method private setAlwaysUseFeature()V". Who can help me?

I have attatch it.
[Galaxy S6 General] edzamber:
Did you try to add method at bottom of smali ?
[Galaxy S6 General] nguyentankiet:
Can you send me full that method? thank you.
[Galaxy S6 General] edzamber:
Here is a text file.
[Galaxy S6 General] Wuby986:
Why would you think that simply adding that method will work?

Do you realize that if you don't invoke it that method is never used?

Inviato dal mio SM-G935F utilizzando Tapatalk
[Galaxy S6 General] tdunham:
Wuby986 is correct, it is going to take a lot more to get this modification installed if the method is missing and there is no invoke for it. If there WERE already an invoke for it and the method were missing, the phone would be bootlooping with a logcat error of missing class.

---------- Post added at 05:10 PM ---------- Previous post was at 05:06 PM ----------

And if I remember the framework correctly, that method (in ours where it is working), is called in multiple areas within framework. BUT, that's not the end of the story... framework does nothing by itself, it is just laying groundwork for use in apps so just adding all the missing code in framework isn't enough. It must also be determined what apps are calling it as well and any missing code must be added in the app(s) as well.
[Galaxy S6 General] AhmadJanjua:
Thanks pal. It helped :)
[Galaxy S6 General] edzamber:
You're right guys, i miss theses facts...
[Galaxy S6 General] thereassaad:
Okey guys , i have noticed that Samsung was changed the method completely on newer S6/E based fw so here what i did & got it sorted , this also it should work on Note5 newer base fw but for S7 didn't know once Samsung changed the method completely , just for now once i upgrade my base port to newer S7 one

This for Always / Just once

framework\smali_classes2\com\samsung\android\share\SShareCommon.smali

So here u go

.method private setAlwaysUseFeature()V

.locals 4

const-string v0, "ENABLE"

invoke-static {}, Lcom/sec/android/app/CscFeature;->getInstance()Lcom/sec/android/app/CscFeature;

move-result-object v1

const-string v2, "CscFeature_Framework_ConfigResolverActivityButton"

const-string v3, ""

invoke-virtual {v1, v2, v3}, Lcom/sec/android/app/CscFeature;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

move-result-object v1

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_0

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

:goto_0

return-void

:cond_0

const/4 v0, 0x1

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

goto :goto_0

.end method

I just change it to this

.method private setAlwaysUseFeature()V

.locals 1

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

return-void

.end method

Hope its clear for all ,
[Galaxy S6 General] OMassalia:
Sorry but its for what ?
[Galaxy S6 General] kforkai:
For always or once I assume
[Galaxy S6 General] nguyentankiet:
I successful that mod. Thank you

My rom base note 5 ux and SS changed place and code[emoji1]
[Galaxy S6 General] OMassalia:
Not clear for me. What file must i modify ? What is full step ?

Sorry for my english
[Galaxy S6 General] thereassaad:
Please re read the guide g what i mentioned i already say where & how
[Galaxy S6 General] koko115:
On my s7 edge decompile works great. But when i go to recompile i wait 10minutes and still recompile...

Any idea ?
[Galaxy S6 General] yash92duster:
Hello Seniors [MENTION=4596062]asc1977[/MENTION] [MENTION=5405448]thereassaad[/MENTION]

I need help regarding s7 secsettings2

I'm using s5 g900h deodexed mm 6.0.1

And I want s7 secsettings2

how to match s7 secsettings2 Id's with s5 secsettings???

What and all changes should be made to make it run on my s5

Like frameworkres.apk framework.jar.... What all should be edited and compiled

Any guides ?

Thanks in advance

Edit fixed it:)
[Galaxy S6 General] kforkai:
0x1 change to 0x0
[Galaxy S6 General] JonathanRAZ:
Never had an issue like that i am on note 5 i cant say if its much but maybe someone with s7 edge systemui can help you
[Galaxy S6 General] OMassalia:
Sorry but what is the part to change ?
[Galaxy S6 General] koko115:
How long recompile systemui in Your device ?
[Galaxy S6 General] JonathanRAZ:
Well sometimes maybe less than 2 minutes or close it takes time to recompile but it does recompile i will share more info and exact time in a minute i am doing some stuff and reinstalling some stuff
[Galaxy S6 General] Vell123:
Hi

I'm trying to get more into the android modding development etc etc. I'm confused on where to start...how do i do these mods? These Csc tweaks? I have a ln app called idoneapps and it allows me to input new csc code or at least it seems but are these tweaks only to be done through an android apk compiler/decompiler or are they to be used on a Windows pc and or Linux? Any help is appreciated thanks in advance

LaVelle
[Galaxy S6 General] Carotix:
who wants to get this battery bar in pulldown and lockscreen only ... need to put the same line in the same place at the end but in status_bar_expanded.xml
[Galaxy S6 General] gvmiguez:
Nobody knows why I am loosing the owner info on lockscreen doing the mod? The layout should be placed elsewhere? Thanks
[Galaxy S6 General] Vell123:
Mods don't work
[Galaxy S6 General] LuanTeles:
Working here, but in contacts it does not find anything that i search

gave all permitions and still nothing, here in brazil works on s7, but here is yellowpages not whitepages i think! should i replace the text whitepages to yellow?
[Galaxy S6 General] gvmiguez:
I was having one problem doing the next alarm on lockscreen mod from this guide, my Owner Info disapear. Using Android Monitor I saw that the container with the id keyguard_status_view on SystemUI, them on dimens.xml change the height of this line:

<dimen name="kg_status_view_height">200.0dip</dimen>

To:

<dimen name="kg_status_view_height">[COLOR="Red"]250.0dip[/COLOR]</dimen>

Editing the line Owner Info is visible again, but when you have a notification it overlaps a little, them on dimens.xml again edit the line:

<dimen name="notification_top_padding_keyguard">200.0dip</dimen>

To:

<dimen name="notification_top_padding_keyguard">[COLOR="Red"]215.0dip[/COLOR]</dimen>

I´m on S7 Edge, on other devices may vary.
[Galaxy S6 General] gvmiguez:
Screen captures to see the diference, before:

And after:
[Galaxy S6 General] edzamber:
Information

3minit battery mod have been updated.

It needed to replace new smali in SystemUI and MinitBatteryResources.apk/3MinitBatterySettings.apk into system/app

http://xdaforums.com/showthread.php?p=67544161
[Galaxy S6 General] Repulsa:
No idea about the contact finding places but identifying calls works for me .as you can see means warning phone seller . :D
[Galaxy S6 General] LuanTeles:
Yeah identifying unsaved numbers works like a charm
[Galaxy S6 General] senzatiOn-:
Guys .. who can help..

When i want to add some mod to SystemUI my pin and finger print not working after reboot..

Maybe apktool problem ?

Who can give me one good pls
[Galaxy S6 General] asc1977:
Where is guide fot that? I forgot to add to post1
[Galaxy S6 General] Repulsa:
You can find it from here
[Galaxy S6 General] JonathanRAZ:
http://xdaforums.com/showpost.php?p=67445428&postcount=2439
[Galaxy S6 General] OMassalia:
i must replace ALL THAT ?

.method private setAlwaysUseFeature()V

.locals 4

const-string v0, "ENABLE"

invoke-static {}, Lcom/sec/android/app/CscFeature;->getInstance()Lcom/sec/android/app/CscFeature;

move-result-object v1

const-string v2, "CscFeature_Framework_ConfigResolverActivityButton "

const-string v3, ""

invoke-virtual {v1, v2, v3}, Lcom/sec/android/app/CscFeature;->getString(Ljava/lang/String;Ljava/lang/StringLjava/lang/String;

move-result-object v1

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/ObjectZ

move-result v0

if-eqz v0, :cond_0

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

:goto_0

return-void

:cond_0

const/4 v0, 0x1

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

goto :goto_0

.end method

WITH THIS ?

.method private setAlwaysUseFeature()V

.locals 1

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

return-void

.end method
[Galaxy S6 General] thereassaad:
Mate look u have newer base this method

.method private setAlwaysUseFeature()V

.locals 4

const-string v0, "ENABLE"

invoke-static {}, Lcom/sec/android/app/CscFeature;->getInstance()Lcom/sec/android/app/CscFeature;

move-result-object v1

const-string v2, "CscFeature_Framework_ConfigResolverActivityButton "

const-string v3, ""

invoke-virtual {v1, v2, v3}, Lcom/sec/android/app/CscFeature;->getString(Ljava/lang/String;Ljava/lang/StringLjava/lang/String;

move-result-object v1

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/ObjectZ

move-result v0

if-eqz v0, :cond_0

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

:goto_0

return-void

:cond_0

const/4 v0, 0x1

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

goto :goto_0

.end method

Now just replace the whole above method with this method

.method private setAlwaysUseFeature()V

.locals 1

const/4 v0, 0x0

sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z

return-void

.end method

Now save & recompile & its will be back Always or just once on newer s6 base ,
[Galaxy S6 General] louforgiveno:
Is there a mod yet to swipe notifications left to be re-reminded at a set time or interval?

Thanks
[Galaxy S6 General] Vell123:
I don't get how do add these mods to your rom. Can someone explain
[Galaxy S6 General] jazzespresso:
all clear, only thing I am not sure if I need replace "GlobalActions$RebootAction.smali" file you attached (Smali_MM.zip) with the original one in my services.jar?

I copied GlobalActions$99$1.smali and GlobalActions$99.smali back to \smali\com\android\server\policy, but when I try GlobalActions$RebootAction.smali copy, of course it prompt me if I want to replace it or not..

Very much appreciated if you tell me what to do here....and yes I made all the edit you outlined...just this piece I am not clear
[Galaxy S6 General] asc1977:
Yes you have to add all files and repmace if nessesary
[Galaxy S6 General] nguyentankiet:
Hi. I see your crisscross rom v1.0 have icon is max brightness but not overlap by sms, sbrower... app. How to? Thank you.
[Galaxy S6 General] asc1977:
Max brightness here

http://xdaforums.com/showthread.php?p=66969252
[Galaxy S6 General] nguyentankiet:
With my new ux base if i edit same that guide then sms, sbrower... will overlap icon
[Galaxy S6 General] asc1977:
I am also on UX note 5 but dont know what you mean. Can you make a screensjot to show me
[Galaxy S6 General] nguyentankiet:
Sorry mate. I have that issue when mod color for signal, wifi... icon only.
[Galaxy S6 General] tdunham:
When you can ask a complete coherent question that we can derive what it is you want then maybe someone can answer your question.

Edit:

What I mean is we cant tell what it is you need or want. Please repost your question with a lot more details.
[Galaxy S6 General] asc1977:
You mean if you made color mod for icons signal and so on you dont get full color means a little transparency??
[Galaxy S6 General] Kamy:
He means after colorizing statusbar icons/text dark mod would be gone. White statusbar icons/text on white backgrounds like message and Internet. Just like the issue I had before and I asked you [MENTION=1042140]tdunham[/MENTION], remember? I guess his best solution with colorizing mod is to apply dynamic statusbar that you shared.
[Galaxy S6 General] haifish9999:
He has just themed the status bar icons like network icon, WiFi icon... with colorful) with your guide link, all are done. But when he has the SMS, Sbrowser,Tapatalk notification arrived, the notifications position will overwriting into the default status bar icons position ..afaik.
[Galaxy S6 General] asc1977:
Yes dont work, only with dynamic statusbar or gradient statusbar
[Galaxy S6 General] Vell123:
Ok then. I have Sm-G925T currently running the Stockish 63% custom rom. All the guides on here continue to say the same thing. Decomplie SystemUI.apk find the smali etc. My question is this: what do i use to Decomplie and recompile SystemUI.apk apk and other files like framework apk to get started modding my device? Is there an app for my device to use or do i need to use a tool on windows or linux? Then my next question is this what is this "smali" and where do i find it? How do i edit it to mod my device?

I really feel like this collection of mods should have at least one user friendly noob tutorial and it doesn't. Is there any guides anywhere to help me begin this modding? I realized that CSC is written in java and i can make minor mods in my phone by using an app called IDONEAPPS that automatically locations your Csc files writes to them and reboot your device but i need to know the hard way as well. Thanks in advance for any help given.

LaVelle
[Galaxy S6 General] tdunham:
Perfect! :good::good:

I would recommend Ticklemyandroid. It has a graphic interface, takes a little getting used to but it definitely takes a lot of the guesswork out of decompiling & recompiling.

[TOOL] Tickle My Android 13.4 - Decompile & Deodex With Style!
[Galaxy S6 General] Vell123:
Ok now this is just for re/decompiling but what about finding the smali? I literally don't understand what I'm supposed to do. What is the process? For example i want to make a power menu but how do i start where do i start? Is this the only tool that i need? If so what would be the next step for me?
[Galaxy S6 General] haifish9999:
Decompile the apk, which one you need to modify,you will see the smali folder. Need Notepad++ and some tool to edit & modify them,then followed the guide to do what you need...
[Galaxy S6 General] tdunham:
That's ok, don't know if you don't ask.

Apk's are built of multiple resources. Once you decompile you will see everything and the guides usually point you to what to edit.

Inside stock apk is classes.dex, this is the compiled smali. When you decompile, you will then see the smali folder.

I didn't think to ask but you cannot modify stock odexed build. If you look in any of the apk's and classes.dex is missing, then you are odexed and you will need to find a deodexed base to work out of.

Framework JAR files are just classes.dex files inside, not a lot of extra stuff in those.

Edit: Like the previous user stated, use Notepad++ to edit any text, this includes smali.
[Galaxy S6 General] Vell123:
Ok what tools do i need?
[Galaxy S6 General] haifish9999:
It's depend of what do you want to modify the apk.You should have to use Tickle My Android tool as [MENTION=1042140]tdunham[/MENTION] mentioned before,and some tool like Notepad++ and Photoshop tool.
[Galaxy S6 General] Vell123:
Ohhhh okay. So i would need a base rom running 6.0.1 if i want to modify 6.0.1? Because i honestly wanted to modify this Stockish 63% rom just to add a power menu and additional tweaks. So i have to start from the beginning base rom or a stock rom? And when you guys say stock I'm going to assume you mean an official Samsung Galaxy s6 edge rom with rooted privileges? Is that correct?

---------- Post added at 05:11 PM ---------- Previous post was at 05:06 PM ----------

Ok now i feel a little better or more confident in possibly modding. Sounds like i could pretty much make my own custom rom then huh? I'm assuming Photoshop is for the Gui
[Galaxy S6 General] edzamber:
Hi all,

Fix for Private Mod doesn't working anymore on 3DPBG base.

I mean it asking for my pin but can't enable... Any idea ?

I do this :

/smali/com/samsung/android/personalpage/service/util/SecureProperties.smali

add: const/4 v0, 0x0

invoke-static {p1}, Lcom/samsung/android/personalpage/service/util/SecureProperties$SecureStorageProperties;->getInstance(Landroid/content/Context;)Lcom/samsung/android/personalpage/service/util/SecureProperties$PropertiesImpl;

move-result-object v0

const/4 v0, 0x0
[Galaxy S6 General] asc1977:
With spaceX 2.1 kernel it works for me on CC rom. Bit dont know whats done in kernel that it work. With editing apk i also dont get it to work on MM
[Galaxy S6 General] asc1977:
Anyome have a guide for adding networkspeed with seperate in/out but without editing secsettings.apk means only speed in statusbar without any options you can choose
[Galaxy S6 General] asc1977:
I think you must ask [MENTION=5403589]Albe95[/MENTION] because he ports some apps from there
[Galaxy S6 General] edzamber:
I make it working on 3DPAD with this Edit.

Now i switch to 3DPBG and even with SpaceX kernel it doesn't working anymore.
[Galaxy S6 General] asc1977:
Hmmmm

On 3DPBK is working. Base 925F
[Galaxy S6 General] edzamber:
Ok i make it working !!! A wipe factory/reset + wipe dalvik + wipe cache partition was needed because of data and Dalvik ;)

So i can tell that edit for Private Mod is working !!!

PersonalPageService.apk/smali/com/samsung/android/personalpage/service/util/SecureProperties.smali

add: const/4 v0, 0x0

invoke-static {p1}, Lcom/samsung/android/personalpage/service/util/SecureProperties$SecureStorageProperties;->getInstance(Landroid/content/Context);Lcom/samsung/android/personalpage/service/util/SecureProperties$PropertiesImpl;

move-result-object v0

const/4 v0, 0x0
[Galaxy S6 General] grzegorz354:
Mod Nr 1 Add Internet Speed meter on Statusbar for Android MM

asc1977 add first post

Decompile SystemUI

Go to SystemUI.apk\res\layout open status_bar.xml

Add following line in red

copy the smali files

Recompile SystemUI.

This mod works on rom Pure Stock ExtraLite v4.0 Rom by ambasadii
[Galaxy S6 General] grzegorz354:
Mod nr 2 Add Internet Speed meter on Statusbar for Android MM

asc1977 add first post

Decompile SystemUI

Go to SystemUI.apk\res\layout open status_bar.xml

Add following line in red

Info android:textColor="#ffffffff" - color Speed meter

copy the smali files

Recompile SystemUI.
[Galaxy S6 General] intxeon:
Hi guys

I'm trying to decompile/recomplie framework-res.apk but every time I got fc.

Actually I recompiled and decompiled with apktool 2.0.0...I also tried to recompile with apktool 2.0.3 but still no luck
[Galaxy S6 General] Moe9269:
[MENTION=4596062]asc1977[/MENTION] can you please make all apps multi window zip to flash I'm twrp recovery

---------- Post added at 12:30 AM ---------- Previous post was at 12:24 AM ----------

[MENTION=5405448]thereassaad[/MENTION] has it in his rom you should ask him