yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] thereassaad:
Yes , & try it without globalaction$rebootaction because its override my one but both its same things don't know why ,

Edit ::

Here is my one & that's what i use it right now

https://mega.nz/#!il41iICL!BwHFhZfGXnyShJ4dzbwLlXk9EZ4Vcul5dbdC4aeDMMY

Note :: not only me have this issues some others have same problem ..

[emoji17][emoji16]
[Galaxy Note 3 Android Development] Kamy:
I made it working for [MENTION=5862826]Umair Ahmad[/MENTION] on Note5 although I couldn't test it myself but try this too maybe it can help
[Galaxy Note 3 Android Development] Sanjay8787:
Please help ........can edit setting like s6

for quik setting
[Galaxy Note 3 Android Development] thereassaad:
Still no luck with S7E services.jar [emoji17]
[Galaxy Note 3 Android Development] DeeXii:
Will this stuff work on a USA Note 4 with no problem?
[Galaxy Note 3 Android Development] Repulsa:
Hi bro , :) The problem with your services.jar is in GlobalActions$SinglePressAction :) Have a nice day
[Galaxy Note 3 Android Development] thereassaad:
Then what's the problem there i followed the guide exactly but no luck [emoji17] & whatever i try still nothing ,
[Galaxy Note 3 Android Development] Repulsa:
The problem is that you put this codes in a wrong place.

# direct methods
[COLOR="red"].method static constructor ()V
.locals 9

const/4 v8, 0x5

const/4 v7, 0x4

const/4 v6, 0x3

const/4 v5, 0x2

const/4 v4, 0x1

const/4 v3, 0x0

new-array v0, v8, [Ljava/lang/String;

const-string/jumbo v2, "Reboot"

aput-object v2, v0, v3

const-string/jumbo v2, "Hot Reboot"

aput-object v2, v0, v4

const-string/jumbo v2, "Download"

aput-object v2, v0, v5

const-string/jumbo v2, "Recovery"

aput-object v2, v0, v6

const-string/jumbo v2, "Safe Mode"

aput-object v2, v0, v7

sput-object v0, Lcom/android/server/policy/GlobalActions$SinglePressAction;->rebootString:[Ljava/lang/String;

new-array v1, v8, [Ljava/lang/String;

const-string v2, "Reboot"

aput-object v2, v1, v3

const-string v2, "Hot Reboot"

aput-object v2, v1, v4

const-string v2, "Download"

aput-object v2, v1, v5

const-string v2, "Recovery"

aput-object v2, v1, v6

const-string v2, "Safe Mode"

aput-object v2, v1, v7

sput-object v1, Lcom/android/server/policy/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;

return-void
.end method[/COLOR]

.method protected constructor (II)V
[Galaxy Note 3 Android Development] thereassaad:
Emmmm idk what i did wrong but look here in this 2 smali on s7e not work & other s6 that's work for definitely without any issues [emoji17]

S7E

GlobalActions$SinglePressAction

https://mega.nz/#!uxg1gYTT!GyutC8Bq4lvOFTnfFwuntIKGi_qcCo3s8R2m8aAubds

S6

GlobalActions$SinglePressAction

https://mega.nz/#!ShJyFSgI!JHKw-5QJ4rRmcIfFT7kXFh413tNcA5zTMAGjyP1fxTY

Thanks for help my friend ..
[Galaxy Note 3 Android Development] Repulsa:
Ic , Im sorry ,but when i downloaded your services.jar a few pages back you put the codes in a wrong place :D maybe the [MENTION=225651]op[/MENTION] can check it out for ya :D and Im on S7 Ported rom and its working fine on my side

Thanks for the tuts and Keep up the goodwork [MENTION=4819130]kmokhtar79[/MENTION]
[Galaxy Note 3 Android Development] Sanjay8787:
Please some help me How to enable 5 way power menu in touchwiz 5.1.1 Rom.
[Galaxy Note 3 Android Development] thereassaad:
No problem thanks ..

Its on op mate check it there on #2 ..
[Galaxy Note 3 Android Development] tdunham:
Everything looks good as far as I can tell but I also get this on Note 5 marshmallow. Anyone figure it out yet?

I did try the additional code posted here but I think it was just for ease of access: http://xdaforums.com/showpost.php?p=65554350&postcount=1221

Edit: Hold on, I just remembered something.

I'll be right back.
[Galaxy Note 3 Android Development] thereassaad:
Fixed by kep2008 yesterday night he pm me about the fix & its working just fine on S7E services.jar

He posted in the morning here

http://xdaforums.com/showthread.php?p=65644839
[Galaxy Note 3 Android Development] tdunham:
Ahhh, yes that was it!

[MENTION=4819130]kmokhtar79[/MENTION] Can you correct the attached smali too please. :)

Tnx

This is the edit btw:

services.jar.out\smali\com\android\server\policy\GlobalActions$SinglePressAction.smali

# direct methods
.method static constructor [COLOR="Blue"]<clinit>[/COLOR]()V
[Galaxy Note 3 Android Development] Kamy:
Thanks I have done the correction, did you have any other trouble with the current guide in OP, like the icon display? I actually didn't try this yet as we haven't received M on 920i, and was only tested by other user. But it could be done even with that correction part, I am so confused why Samsung keeps changing stuff in different device.
[Galaxy Note 3 Android Development] thereassaad:
I didn't got any issues with restart icon , i never faced this issues on mm even on N5 MM & S6 & S7E MM ,
[Galaxy Note 3 Android Development] tdunham:
And mine is fine as well.
[Galaxy Note 3 Android Development] gencho81:
hi,

First of all i am not sure if here is the place to ask -so sorry for it.

But i have small problem with Advanced power menu.

History- building my own rom ,have it booted and flashed succesfuly. Made aroma for it with kernel,csc and wipes included.

Problem- on clean flash in advanced power menu all options is working EXCEPT - reboot to recovery.

Any ideas welcome.Thanks.

I gues some permissions or simlink is missing.
[Galaxy Note 3 Android Development] Alexandr Ivanov:
Please help to make this mod for 6.0.1? "Move WiFi and Data icons to left side of statusbar"
[Galaxy Note 3 Android Development] KTMNiko:
hello thank you very much for this guide .. I changed color toggle ..suono and quiet ok like everyone else I toggle vibration white remains someone can aiutarmi..Grazie
[Galaxy Note 3 Android Development] Amit.A:
getting this error bro try to help me

E/art (15614): Verification failed on class com.android.internal.policy.impl.GlobalActions in /system/framework/android.policy.jar because: Verifier rejected class com.android.internal.policy.impl.GlobalActions due to bad method com.android.internal.policy.impl.GlobalActions$GlobalActionsDialog com.android.internal.policy.impl.GlobalActions.createDialog()

E/AndroidRuntime(15614): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui

E/AndroidRuntime(15614): java.lang.VerifyError: Verifier rejected class com.android.internal.policy.impl.GlobalActions due to bad method com.android.internal.policy.impl.GlobalActions$GlobalActionsDialog com.android.internal.policy.impl.GlobalActions.createDialog() (declaration of 'com.android.internal.policy.impl.GlobalActions' appears in /system/framework/android.policy.jar)

E/AndroidRuntime(15614): at com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsInternal(PhoneWindowManager.java:1995)

E/AndroidRuntime(15614): at com.android.internal.policy.impl.PhoneWindowManager.powerLongPress(PhoneWindowManager.java:1861)

E/AndroidRuntime(15614): at com.android.internal.policy.impl.PhoneWindowManager.access$1200(PhoneWindowManager.java:255)

E/AndroidRuntime(15614): at com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage(PhoneWindowManager.java:1068)

E/AndroidRuntime(15614): at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(15614): at android.os.Looper.loop(Looper.java:145)

E/AndroidRuntime(15614): at android.os.HandlerThread.run(HandlerThread.java:61)

E/AndroidRuntime(15614): at com.android.server.ServiceThread.run(ServiceThread.java:46)
[Galaxy Note 3 Android Development] daganteng15:
Sir.. Can you tell me how to edit it? Should i copy this and paste there?
[Galaxy Note 3 Android Development] kumbangdesa:
Deleted
[Galaxy Note 3 Android Development] chloeleedow:
Thanks for that I hated those colours any idea how to change the notification bar colors too? would like to change orange hang up to red. All good If not still a vast improvement as is lol oh and the white behind incall buttons and in coming call and hang up transparent i think its been covered by [MENTION=1042140]tdunham[/MENTION] but there were so many edits id be there all year ;) thanks to both of you in advance for sharing your knowledge !
[Galaxy Note 3 Android Development] macasus76:
Im trying to build and customize my first rom. Its built from touchwiz 5.1.1 ok2. I want to set widgets and home screen shortcuts that are there at first boot. Could someone point me in the right direction?
[Galaxy Note 3 Android Development] Kamy:
you should look in CSC folder something like default_workplace.xml
[Galaxy Note 3 Android Development] tdunham:
Look for default_workspace.xml somewhere in system/csc and use that.

Mine was in one of the subfolders, I moved it to just system/csc so it could read it and edited that xml according to what I wanted to show on a fresh flash.
[Galaxy Note 3 Android Development] macasus76:
Thats the ticket! Thank you so very much. Now time to finish this rom!
[Galaxy Note 3 Android Development] charleston2378:
how to translate 5way reboot from Russian language ?
[Galaxy Note 3 Android Development] tdunham:
Yes, look at this guide by [MENTION=4714483]daxgirl[/MENTION]

[MOD][Guide][How to] Translatable 4-way reboot - outsource hard code to resources

---------- Post added at 12:50 PM ---------- Previous post was at 12:48 PM ----------

Note: Some modifications may be necessary to adapt to newer code.
[Galaxy Note 3 Android Development] Josephigloe:
[MENTION=1042140]tdunham[/MENTION] I'm having issues trying to decompile systemui on sprint N5 pc3 mm can you help I'm using tma 13.2 with apktool 2.1 I have tried multiple times and still same issue

Maybe you or any one can help me figure out I'm stumped.. sorry wrong photo hold up.
[Galaxy Note 3 Android Development] Josephigloe:
Here alway says unable to decompile arsc on my Note 5 and on laptop has the same message is this a mm thing or am I just that newb.
[Galaxy Note 3 Android Development] tdunham:
You have to use modified apktool posted recently in TMA thread in the last few days. I tried adding it to TMA but it didn't work so I just use old fashioned commandline way and it is working fine for me so far. It wont work with everything from what I've heard.
[Galaxy Note 3 Android Development] Josephigloe:
Thank you for your reply I have been reading for days everyone has the same issue but there was never no information on how to fix now i know thank you.
[Galaxy Note 3 Android Development] gencho81:
is there any way to make stock Note 3 settings in list view. I did it with sqlite settings database editor and it works but download booster icon is not correct. There is guides only for 4.4.2 and 4.3.Thanks
[Galaxy Note 3 Android Development] Zulfi:
What about auto call recording?

Thanks
[Galaxy Note 3 Android Development] tdunham:
Try again.

This time spend a little more time and write out a full question that we can answer.
[Galaxy Note 3 Android Development] Zulfi:
The mode for auto call recording ;)

Thanks
[Galaxy Note 3 Android Development] tdunham:
I knew what you wanted, I was trying to get you to communicate it in more than 3 words. :p

And by the way, you still didn't ask a question.

(I thought it was fairly clear when I asked for you to try again that I was not satisfied with your post that you could not put together a complete sentence/thought asking what you wanted in a proper manner. :rolleyes:)

If you want help, please keep this mind in the future. We have users here from all over the world and some have difficulty with English so every post should be as clear as possible to prevent confusion.

http://xdaforums.com/showthread.php?p=66112201&highlight=auto#post66112201
[Galaxy Note 3 Android Development] kumbangdesa:
hi sir [MENTION=1042140]tdunham[/MENTION] and [MENTION=4819130]kmokhtar79[/MENTION].. can you guide how to disable or remove recent apps window in task button please?. I'm on Note 5. Thanks sir..
[Galaxy Note 3 Android Development] corsicanu:
[MENTION=4819130]kmokhtar79[/MENTION] [MENTION=1042140]tdunham[/MENTION] please i need a little help. I tried to add 5way reboot to my A500F and it`s working and not.. Meaning i see the menu, can choose how to reboot but whatever i choose i go into recovery and can`t exit until stock flash with odin.. The issue i think it`s in GlobalActions$RebootAction.smali . I attached a zip containing my modded GlobalActions, SinglePressAction and stock RebootAction. I searched in framework and also have 0x112000a so i think it should work.. But there are some :goto_1 in your file that i think it causes the problems.. Anyway, thanks for any answer! Cheers!
[Galaxy Note 3 Android Development] Kamy:
means when you chose reboot option it goes to recovery right? did you check access$ number whether it's same in GlobalActions.smali? and did you download and drop attached smalis into your folder? I can still see non-modified GlobalActions$RebootAction.smali in your folder. There are two guides based on different android version. did you notice it too?
[Galaxy Note 3 Android Development] corsicanu:
When i choose reboot the menu appears, i click reboot and phone goes straight to recovery and remains in recovery even if i try to reboot it normal from recovery or with adb.. I downloaded and dropped all the files. In my zip i left for you original RebootAction to check if there is something different from N9005 to A500. Also, yes i noticed 2 different guides and i followed the one for Lollipop. About access$ number i can't say anything because i didn't quite understand what to search for. In GlobalActions.smali found more and different access$ and didn't get much what they do.. If you could point me what i'm searching will be great. Many many thanks! Cheers!
[Galaxy Note 3 Android Development] Kamy:
There is a access$ in global action 99 that needs ro be matched in global action. If you couldn't find I would check tomorrow morning.
[Galaxy Note 3 Android Development] corsicanu:
[MENTION=4819130]kmokhtar79[/MENTION] turned out to be twrp issue... The menu works fine with stock recovery. Sorry and thanks for help! Cheers!
[Galaxy Note 3 Android Development] HighOnSamsung:
Got a guide or something to add clock in status bar header?? :)
[Galaxy Note 3 Android Development] Kamy:
Which device/rom is that. Almost all devices have that clock in header except Note 4 I guess. Anyway you need to play with status_bar_expanded_header.xml and DateView.smali. Either visibility is set to gone in XML or method is different/removed in smali.
[Galaxy Note 3 Android Development] ROBERT CM:
Hi guys

How remove shadow in status bar?

Thanks..
[Galaxy Note 3 Android Development] Kamy:
There are in res folder (.png and .9.png) I cannot remember right but it's something like status_background.9.png and stick_height, stick_wide... I guess there are 6 to 8 resources that make that translucency effect
[Galaxy Note 3 Android Development] kumbangdesa:
Sir. Can you guide where to change the default wallpaper?. Thanks

Sent from my Marshmallow phone
[Galaxy Note 3 Android Development] tdunham:
I only know keyguard, not desktop:

\SystemUI\res\drawable-xxhdpi-v4\keyguard_default_wallpaper.jpg

Note:

Your path may be slightly different depending on apktool but name of jpg should still be the same.

---------- Post added at 02:48 PM ---------- Previous post was at 02:31 PM ----------

And for desktop wallpaper, they are all stored in WallpaperPicker_Zero2.apk for me. I converted all the images to png but never did figure out how to change stock image so gave up on it after a while.

If anyone figures that one out, I'd be interested to know as well.
[Galaxy Note 3 Android Development] Chaz187:
The default desktop wallpaper is in framework-res.
[Galaxy Note 3 Android Development] Bling:
Can you pls write a guide on how to mod a FullScreen caller id ?

thanks in adv
[Galaxy Note 3 Android Development] Jaey DR:
Hi..have a guide for mod Touchwiz to Multidpi- android L or MM..tq
[Galaxy Note 3 Android Development] ChmT:
Is it possible to add torch toggle and call recording button on G900F 6.0.1?
[Galaxy Note 3 Android Development] Kamy:
Which torch toggle? The one that can be triggered using volume key on lockscreen or the one in quick settings notification panel?
[Galaxy Note 3 Android Development] ChmT:
In notification panel.
[Galaxy Note 3 Android Development] Kamy:
Auto call record is posted here: http://xdaforums.com/showpost.php?p=66112201&postcount=5546

For Flashlight toggle please try editing your database using this app: http://xdaforums.com/showpost.php?p=66720889&postcount=6054

If cannot be enabled by database then try smali way from here: http://xdaforums.com/showthread.php?t=2799050

search for [Guide How-to] Enable Flashlight Toggle Android L

Sorry I dont know what happened I couldn't link those post on my PC and I had to just post the link
[Galaxy Note 3 Android Development] ChmT:
I don't want auto recording. I want like I had before, button in a phone app during a call.
[Galaxy Note 3 Android Development] Er. Aditya:
the you just gotta mode your csc > others.xml

<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
[Galaxy Note 3 Android Development] ChmT:
Thanks, this worked.
[Galaxy Note 3 Android Development] ridwan.sn:
I has tried change as tutorial at here but not work. What happen.
[Galaxy Note 3 Android Development] ROBERT CM:
Deleted
[Galaxy Note 3 Android Development] jazzespresso:
[MENTION=4819130]Kamy[/MENTION]

quick question:

I am modding/theming one of apk , decompiled, and make changes in res folder, all good stuff. While doing so, I also needed to edit AndroidManifest.xml.

After I recompiled it, I used to copy both META-INF and AndroidManifest.xml back to re-compiled one..but this time because I edit AndroidManifest.xml, did not copy it, so left edit one.

of course, using original META-INF folder, still does not works...even if I do sign the recompiled apk with advanced apktool.....

any suggestions?
[Galaxy Note 3 Android Development] Kamy:
What apk are you trying to modify. BTW, after signing the app you are not allowed to copy META-INF, it would break the signature again.
[Galaxy Note 3 Android Development] jazzespresso:
ok....I resized samsung's smartmanager apk....here's where I stand;

I decompiled apk (using advance apktool you posted for lollipop update)

I edit res tolder; adjusted dpi size..etc..

and i found out, in order to app to have widget available, one of developer pointed out, I need to add widget activity entry in AndroidManifest.xml, so I went to apktool's out folder, and smartmanager's AndroidManifest.xml edited.

and now, I am at the point, recompile and sign the app?

the way I always do if I only edit res folder, or smali..etc, I recompile the apk, and open recompiled apk with 7 zip, and then open the orginal apk 7 zip side by side, darg META-INFand AndroidManifest.xml from orginal one to recomplied one...

this is kind of doing "sign" without breaking cert signature. etc....

but now, because I edited AndroidManifest.xml, I can't do above step...so i have to let apktool tool to recompile and sign (option 2)...but of course this time, when I place the apk file in system folder, and reboot, realized it did not get installed...

I guess it is Samsung's signature check something....I remember I read something about it, did not recall how I can bypass that...

ohh thank you!! any help, very much appricated
[Galaxy Note 3 Android Development] Kamy:
Did you disable signature check in services.jar? Should point that some samsung apps still have problem after signature change like systemui or settings. But should try, disable signature check first then sign your apk. Afterward don't touch your apk otherwise the signature would be broken.
[Galaxy Note 3 Android Development] ctrlaltdeln:
New 3minit clock.

http://xdaforums.com/showthread.php?t=3400221
[Galaxy Note 3 Android Development] jazzespresso:
thanks Kamy...I have been looking for how to disable signature check in services.jar in XDA threads, guides I saw were showing how to edit PackageManagerService .smali for it, but as you may guess, PackageManagerService .smali file a bit different than samples they posted, so kind of trying to edit where it makes sense to my PackageManagerService .smali file. Hopefully, my systemui or settings won't complain after I edited PackageManagerService .smali:D

thanks again!:good:
[Galaxy Note 3 Android Development] arbit12:
Deleted
[Galaxy Note 3 Android Development] kakkooran:
Home button shortcut on statusbar

Anyone know how to add Home button shortcut on statusbar?Thanks in advance
[Galaxy Note 3 Android Development] tdunham:
By searching Xda

[MOD][GUIDE][HOW TO]Add Home and Lock Button on Status bar - S5 Toggle Settings
[Galaxy Note 3 Android Development] kakkooran:
Thanks bro.I am using Note 4 with DN 0.6 s7 port.I tried the steps mentioned in the thread but no scuccess.I think MM needs any other modding.
[Galaxy Note 3 Android Development] tdunham:
That definitely works on MM. You added ID and drawable resource for the icon? I didn't really look very hard on that link to see if that info was there. It depends where you are placing it also. For example, I use it on the pulldown header but on ours the path to the layout for notification panel header isn't in res/layout, its in res/layout-v21.

Just in case you didn't know...

Edit: Not saying that line may not need some tweaking but I'm using something very similar on my rom here.
[Galaxy Note 3 Android Development] asheesh131:
Reboot Name

dear friends, how to change the reboot menu name as of my name or anything in mm rom? help me
[Galaxy Note 3 Android Development] asc1977:
Search for word like written in reboot menue in the emails coming with mod. Change there and it is changed
[Galaxy Note 3 Android Development] yash92duster:
*** Changing Power Menu Title ***

To change power menu title

Decompile Services.jar using Batch ApkTool or any other ApkTool

Then Locate to

" services.jar\smali\com\android\server\policy\GlobalActions$99.smali "

Using NotePad++ Open " GlobalActions$99.smali "

and

Find In line #50

const-string v2, "Reboot Menu" #" in this line make changes to whatever you wish "#

then Recompile Services.jar and push it back to system/framework folder using " Root Explorer "
[Galaxy Note 3 Android Development] IRFADHLI:
Help ....

I'm trying to port Game Laucher for N3 N900 Aurora ROM already fix some bugs but now stuck ... please take a look my log ...
[Galaxy Note 3 Android Development] jazzespresso:
Lockscreen effect

deleted
[Galaxy Note 3 Android Development] BayuCiptoaji:
very very awesome mod thread, but there's not thread like this on my forum Samsung Grand Prime SM-G530H, btw realy awesome thread :)
[Galaxy Note 3 Android Development] Revantark:
Is there any guide to remove recents panel clear all bar [First img] and add s6 one [second img]as in figure. Pls can u tell me?
[Galaxy Note 3 Android Development] pammnu:
3 minit battery

Dear,

Not working in s5 g900fd android 5.0.

How to add 3minit battery in g900fd android 5.0 deodex rom.

Please...

Pammnu@gmail.com

---------- Post added at 08:21 AM ---------- Previous post was at 08:05 AM ----------

Dear,

Not working in s5 g900fd android 5.0.

decompile recompile done but not run

How to add 3minit battery

Please...

Akmal

Pammnu@gmail.com
[Galaxy Note 3 Android Development] tdunham:
This is not full guide. You need to follow guide to add 3minit battery in gharrington's thread.

Search xda for 3minit battery.
[Galaxy Note 3 Android Development] bleros:
apktool 4.1.0 cant install framework Apktool was updated support nougat too

Updated with latest Apktool version 2.2.2 (Nougat support)

download here

https://xdaforums.com/showthread.php?t=2639400&page=74

only apktool

https://xdaforums.com/showpost.php?p=70687935&postcount=4635&=1&z=333333477426529
[Galaxy Note 3 Android Development] Hady Dunov:
5 way reboot tw

Hello., anybody can help me please.. how to add png/icon to show in reboot menu.? I already trying to change some smali code and adding in string and arrays.. but thats doesnt work. :confused:

Any clue would be helped me a lot.. Thankyou .. and sorry 4 my bad english.. :)
[Galaxy Note 3 Android Development] LiquidT:
Hey Guys. I made a 3minit battery mod to my s8+, and it is working. But, The stock battery icon is still showing too. Anyone know how to fix this?