yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
<bool name="lockscreen_isPortrait">true</bool>

Did you try setting this bool value to false? (in framework-res.apk)

Honestly, I never tried it because I don't want my lockscreen to be in landscape mode... so I can't tell for sure if this will work or not...
[Galaxy Note GT-N7000 Android Development] Kamy:
Yep tried that but it is not for AOSP lockscreen it's only for Samsung ' s.
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Can anyone please help me add a Power Saving mode toggle switch on the Battery menu in Settings app?

For example, I want it to look something like this:

I've already tried adding:

<SwitchPreferenceScreen android:title="@string/power_saving_mode_title" android:key="power_saving_mode" android:fragment="com.android.settings.powersavingmode.MenuPowerSavingModeSettings" />

to power_usage_summary.xml, but it didn't work...

Any help will be appreciated :o
[Galaxy Note GT-N7000 Android Development] Movm:
You have to integrate a function, not only a shortcut, do you?
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Yes, I want to integrate the function.

Because just adding a shortcut will most probably not work.
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Does anyone know how to add a Tabbed Settings interface?

View attachment 2928745

I've tried all the threads and guides on XDA, and none of them worked for me.
[Galaxy Note GT-N7000 Android Development] lacoursiere18:
Use a settings that has it.. the amount of resources and smali you have to port, imo, would not be worth the effort when there are devices that have it
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Yeah, you're right.

But I tried using the 2 third party apps I found on Google Play.. But both of them had their own set of things I disliked about them..

Sent from my GT-I9070
[Galaxy Note GT-N7000 Android Development] bombaybadboy:
This probably wont help much but may give you a starting point

http://xdaforums.com/showthread.php?p=36806005

Sent from my GT-I9500
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Thanks for the link. But I've already tried pretty much every How-To threads on XDA (including this one) and none of them worked for me.
[Galaxy Note GT-N7000 Android Development] Dr. Narinder:
What error did U get when implemented different methods
[Galaxy Note GT-N7000 Android Development] cbucz24:
How's the rom coming?
[Galaxy Note GT-N7000 Android Development] Sami Kabir:
Its been more than a month since I tried all the (different) guides on XDA.. So, I deleted those logcats.. but I still have the logcat from my most recent attempt.. But I'm sorry, I can't tell which one it is from because its been a long time and I can't remember it properly..
[Galaxy Note GT-N7000 Android Development] bombaybadboy:
Hey m8 soon as i build one rom and build mods another update comes out with higher change number. Keeps me busy just keeping up :D

Sent from my GT-I9500
[Galaxy Note GT-N7000 Android Development] galaxys s:
how about accuweather widget mod lanscap 5x2 instead 4x2...tks:confused::confused::confused:
[Galaxy Note GT-N7000 Android Development] #Henkate:
[MENTION=369057]majdinj[/MENTION] [MENTION=5056266]lacoursiere18[/MENTION] [MENTION=4608459]bombaybadboy[/MENTION] [MENTION=4348054]drnarinder[/MENTION] [MENTION=4644111]cbucz24[/MENTION]

I mentioned you guys because i see that majdinj wasnt active this year,and last posts was by you and you are active.Maybe you can help me.

I want to include CSC controller in my rom,but i have a question:

If i enable / disable csc features individually (without csc controller implemented) and then i implement csc controller and use toggle to enable / disable csc features it will conflict?

Thank you.
[Galaxy Note GT-N7000 Android Development] Dr. Narinder:
It will not conflict as far as i think
[Galaxy Note GT-N7000 Android Development] steha:
Sorry to ask, but has anyone been able to enable the save and restore feature in secmms_candy, from TW 5.0.

Thanks.
[Galaxy Note GT-N7000 Android Development] isaak:
Solved, it was a weird compilation issue.

I recommend to remove any third-party recording tool.
[Galaxy Note GT-N7000 Android Development] kpirnie:
oh how I wish this was lollipop ;)
[Galaxy Note GT-N7000 Android Development] shahkbrmn:
Helo guys.i want to add mod for back to kill.i cant find it .can anybody help plz.im on alliance rom
[Galaxy Note GT-N7000 Android Development] asmanao:
this? http://xdaforums.com/showthread.php?t=2303311
[Galaxy Note GT-N7000 Android Development] BRoy_98:
I didnt find this lines in GlobalActions$Action in my Galaxy TAB 4 7.0 (4.4.2) :

.line 418
const/4 v1, 0x5 <!--- You need to increase the arrays number here

new-array v1, v1, [Lcom/android/internal/policy/impl/GlobalActions$Action;

This is my GlobalActions$Action :

.class interface abstract Lcom/android/internal/policy/impl/GlobalActions$Action;
.super Ljava/lang/Object;
.source "GlobalActions.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/policy/impl/GlobalActions;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x60a
name = "Action"
.end annotation

# virtual methods
.method public abstract create(Landroid/content/Context;Landroid/view/View;Landroid/view/ViewGroup;Landroid/view/LayoutInflater;)Landroid/view/View;
.end method

.method public abstract isEnabled()Z
.end method

.method public abstract onLongPress()Z
.end method

.method public abstract onPress()V
.end method

.method public abstract showBeforeProvisioning()Z
.end method

.method public abstract showConditional()Z
.end method

.method public abstract showDuringKeyguard()Z
.end method

Please Help me. :(
[Galaxy Note GT-N7000 Android Development] BRoy_98:
Please help me to do this in my Galaxy Tab 4 7.0 (4.4.2). I didnt find this lines in Settings.smali

Settings.smali is in the zip in attachment. Thanks in advance.
[Galaxy Note GT-N7000 Android Development] User_99:
If it's not there than not possible. AND this is for Note not for your tab and an outdated Android version!
[Galaxy Note GT-N7000 Android Development] BRoy_98:
Ooh.. Its ok. But may be there is any other way to do it. Tell me if any one can find it out. Thanks.
[Galaxy Note GT-N7000 Android Development] User_99:
You're welcome. But I think Samsung changed something in the code of your device and this modding is in that way not possible.
[Galaxy Note GT-N7000 Android Development] BRoy_98:
Did you check the smali I have attached..? And please take a look in this post. May be you can help me.
[Galaxy Note GT-N7000 Android Development] asmanao:
You do not have to search in " com/android/internal/policy/impl/GlobalActions$Action"

but in

" com/android/internal/policy/impl/GlobalActions"

look here. There are more explanations and sample files.

http://xdaforums.com/showthread.php?t=2483306
[Galaxy Note GT-N7000 Android Development] BRoy_98:
Hi, I am getting a little error in GlobalActions$99.smali... Please help me...

C:\Users\Bishwajyoti Roy\Desktop\ROMToolsPCv3\tools>java -Xmx512M -jar smali.jar -o android.policy-2.jar classout/
classout\com\android\internal\policy\impl\GlobalActions$99.smali[0,0] 17039360 cannot fit into a short
classout\com\android\internal\policy\impl\GlobalActions$99.smali[80,4] mismatched tree node: I_STATEMENT_FORMAT11n expecting I_CATCHES
classout\com\android\internal\policy\impl\GlobalActions$99.smali[82,86] mismatched tree node: I expecting <UP>

EDIT : SOLVED
[Galaxy Note GT-N7000 Android Development] tkari4:
Don't focus on my lines, because they are different. In yours v0 is v3 => {p1, v3} look at that.

This is the correct line for you:

invoke-interface {p1, v3}, Ljava/util/List;->remove(I)Ljava/lang/Object;

Open the smali with notepad++ and find "remove" in it.

The word remove it's 111 times there, so you can play with it.

But attention, because some of them may kill the settings app.

Put your original setting apk in an flashable zip, then you can start playing with the lines.

for example here:

.line 2323
:cond_5
const v2, [COLOR="Blue"]0x7f0b06ef[/COLOR]

if-ne v7, v2, :cond_6

.line 2328
invoke-interface {p1, v3}, Ljava/util/List;->remove(I)Ljava/lang/Object;

goto :goto_3

To identify what it is you must find this ID 0x7f0b06ef in the res/values/public.xml

I'm using only one disabled function from there: EnableMenuBlockCallMsg

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

move-result-object v2

const-string v4, "CscFeature_Setting_[COLOR="blue"]EnableMenuBlockCallMsg[/COLOR]"

invoke-virtual {v2, v4}, Lcom/sec/android/app/CscFeature;->getEnableStatus(Ljava/lang/String;)Z

move-result v2

if-nez v2, :cond_1

.line 2450
[COLOR="Red"]invoke-interface {p1, v3}, Ljava/util/List;->remove(I)Ljava/lang/Object;[/COLOR]

goto/16 :goto_3

Just remove the red line and job done, or you can unhide it in the others.xml or in the features.xml.

The second option is much faster... ;)

So, before playing prepare an emergency solution. ;)

But there is almost nothing usable, what is hidden it's better to keep it hidden. :o
[Galaxy Note GT-N7000 Android Development] Ssbroly:
Hello, I have a problem with swiftkey, to integrate it to my rom, I succeeded but it must be activated in the parameters ... The swiftkey keyboard must be activated by default in settings / languages and input / Virtual keyboard / swiftkey .. thanks for helping me!
[Galaxy Note GT-N7000 Android Development] TheLogicalGamer:
Sorry to bump an old thread, but I'm trying to port this to the LG G3 D851 6.0 MM. The only thing I think I'm missing is finding the right reboot button global action. I thought it was GlobalActions$RebootAction. But when trying that the menu doesn't appear at all. Which would be because I have it set to the wrong button right? Anyways I trued searching for msrestart in notepad++ and couldn't find anyway of tracking it down.
[Galaxy Note GT-N7000 Android Development] brolee93:
Thanks for your effort. It is great thanks for all very hard job thanks bro.

Eh guys can you please add tuto for add MultiWindoW?. Because I have note 1 and tab 2. But in tab in jb4.1.1 I don't have MultiWindoW and I want to add this can you explain please?

Thanks for reply bro
[Galaxy Note GT-N7000 Android Development] Petros_tigra:
Great tut :)

but i need some help.

When i try to recombile with smali the classes.dex file after applying the all apps multiwindow mod i get this error

E:\path\com\android\server\am\MultiWindowManagerService.smali[5458,4] missing EOF at 'move-result'

Any advice?
[Galaxy Note GT-N7000 Android Development] nokiamodeln91:
seems you missed an end statement. check the file again
[Galaxy Note GT-N7000 Android Development] majdinj:
It seems I am out of space to add new tutorials (no space left in post #1 and #2).. Next time I update my thread I will move it to another one with some reserved posts to continue adding more modding tutorials..

Or does anybody has better solution!!!
[Galaxy Note GT-N7000 Android Development] eybee1970:
post it here in link to it in OP
[Galaxy Note GT-N7000 Android Development] ekache:
Dear majdinj,

Is it possible to have Smart Alert on XXLSC?

Thanks in advance for your efforts.
[Galaxy Note GT-N7000 Android Development] majdinj:
It is already there.. if you set new alarm by stock Clock alarm you will have option down there to set smart alarm and is working properly...
[Galaxy Note GT-N7000 Android Development] resac:
How to remove the Sms from Call log. i just eagerly waiting to do it..
[Galaxy Note GT-N7000 Android Development] majdinj:
I will look for it, though I didn't have any idea about this feature before.. nice to hear bro :good:

Actually I know 3 ways to approach this mod:

1. "SecContacts.apk mod": it just sets call log to view all call log by default instead of all log; so sms, mms and email log still can be logged if you want to (this is a clean way but not permanent!)..

2. "LogsProvider.apk mod": that actually disables sms, mms and email from being logged to call log permanently but it causes problem with stock Email.apk!!!!

3. The one that I like!! that uses "SecMms.apk mod" that disable the code that call for logging the history of sms, mms and email permanently (I might post this one nearby).. but my question to developer, have anybody come across this way "i.e, modding SecMms.apk" for call log and have any issue??? if not, I will post the method here within these days...

cheers :cool:

Marry Christmas to you all mate
[Galaxy Note GT-N7000 Android Development] ekache:
Smart Alert

¨¨ўūþ¨☺...that's what I meant with the "Smart Alert" not the "Smart Alarm".

it was an option in Settings-Motion-smart alert from XXLS2 (4.1.1).
[Galaxy Note GT-N7000 Android Development] resac:
Actually I know 3 ways to approach this mod:

1. "SecContacts.apk mod": it just sets call log to view all call log by default instead of all log; so sms, mms and email log still can be logged if you want to (this is a clean way but not permanent!)..

2. "LogsProvider.apk mod": that actually disables sms, mms and email from being logged to call log permanently but it causes problem with stock Email.apk!!!!

3. The one that I like!! that uses "SecMms.apk mod" that disable the code that call for logging the history of sms, mms and email permanently (I might post this one nearby).. but my question to developer, have anybody come across this way "i.e, modding SecMms.apk" for call log and have any issue??? if not, I will post the method here within these days...

Thanks Bro.. and I m waiting to get that mod or tut to mod.. Thanks
[Galaxy Note GT-N7000 Android Development] majdinj:
OK.. I think it is better to be shared between us all to test it and to report bugs regarding the functionality of SMS, MMS, Email & phone applications; so I will do the mod, and I will put it in "Galaxy Note GT-N7000 Themes and Apps" section and I will see other members feedback and if it is good, I will put [how to do this mod for DEV] here...:cool:

Edit:

you can test this mod now on my thread here
[Galaxy Note GT-N7000 Android Development] majdinj:
I managed to make motion menu to display Smart Alert feature but how can I use it??

I made a miss call to my phone, and after a while I pick up the phone but no vibration!!

Are there any things to do to make it working or just enable the feature in motion menu and that is all!!!!
[Galaxy Note GT-N7000 Android Development] ekache:
Wow...it's great to hear that you have succeeded to display Smart Alert feature in motion menu...:good:

And still we want the vibration...:o

Is it possible to look for vibration settings at the smali from SecSettings.apk of XXLS2 (that already has Smart Alert feature with Vibration)?:confused:

Thanks for your great efforts.
[Galaxy Note GT-N7000 Android Development] REVERSiN:
Honestly LS2 had the best features but missed the MultiWindow.... it had motions like double tap, shake... somethings I can't recall. We need to enable those in XXLSC will be but needs 9nvestigating as vibrations don't work..
[Galaxy Note GT-N7000 Android Development] deaddrg:
Thank god now atleast someone understands what i was talking about smart alert and quick glance

---------- Post added at 08:59 AM ---------- Previous post was at 08:56 AM ----------

Will it work if you flash ls2 modem?
[Galaxy Note GT-N7000 Android Development] majdinj:
Hi dear REVERSiN,

if you like I can send you the smali to show Smart Alert and if you have time you can look with me for vibration thing..
[Galaxy Note GT-N7000 Android Development] Dryblow:
Is it an error? Because mod of "no autoconverter on mms" not work on my phone...
[Galaxy Note GT-N7000 Android Development] REVERSiN:
No actually its not disabling, it gives it a longer string (nore chars space) till it converts it... so this isnt disabling mate!

I can enable it among with other features such as double tap the thing is these motions don't work a few things are. Missing so it seems and iam trying to find out...
[Galaxy Note GT-N7000 Android Development] Dryblow:
Mod for contact work fine, but not it isn't convert to 200 sms.. it convert on 3 message.

This is string for no convert:

<int name="smsToMmsTextThreshold">4</int>

to:

<int name="smsToMmsTextThreshold">200</int>
[Galaxy Note GT-N7000 Android Development] btemtd:
I. Increase Contacts adding for the message:

In /res/xml/mms_config.xml change the following values:

Code:

<int name="recipientLimit">10</int>

to:

Code:

<int name="recipientLimit">200</int>

II. Change the AutoConverting:

still in mms_config.xml file, change the following values:

Code:

<int name="recipientLimit">10</int>

to:

Code:

<int name="recipientLimit">200</int>

what the heck i dont get this can someone explain why it says to change the same code twice and it does 2 different things?

why wouldnt you just say do it once and it changes this and that
[Galaxy Note GT-N7000 Android Development] REVERSiN:
So fine, what's your steps for building apk, using unsigned one will force close you have to open original replace the classes.dex I changed and goto res/XML/ and replace this with the one from build apk..... Try this and see mate.
[Galaxy Note GT-N7000 Android Development] ekache:
maybe majdinj forgot to edit the Auto converting mms script? :confused:

Hope there will be some fixes for the scripts.
[Galaxy Note GT-N7000 Android Development] deaddrg:
as long as we are trying for motion features can you guys add quick glance feature as well because we have front facing cam as well
[Galaxy Note GT-N7000 Android Development] majdinj:
Opps!!

No it is 2 lines but the 2nd line is repeated by mistake.. sorry guys it was my fault :(.. I will edit it now in OP

Also I will put how to permanent disabling of sms, mms & email logs history to be logged in call logs in post #71
[Galaxy Note GT-N7000 Android Development] 8xfan:
can u mod my framework for CRT? mine not same with u :(

i search mod for my device and no luck..please :(

here is my services.jar
[Galaxy Note GT-N7000 Android Development] jwee:
Scolling wallpaper

Hello Majdinj,

Thank you very much for your post, I'd like your help on scrolling wallpaper in the seclauncher2 decompiling, I can not find the file bools.xml, could you tell me in which folder it is, I said that I'm working on the 240 dpi. Thank you for your help.
[Galaxy Note GT-N7000 Android Development] Hazem62:
thanks for the great tuts
[Galaxy Note GT-N7000 Android Development] mac231us:
Hi majdinj...great many thanks for your thread...awesome work ! Could you show how to add screenshot to power menu if it is possible (think we had it on Galaxy s and s2 variants in GB i recall) THanks !
[Galaxy Note GT-N7000 Android Development] bhatia.mani:
Hi cant find SecMMS.apk in system/ app folder.

Kindly help. i am on stock rooted 4.0.4 , phils kernel
[Galaxy Note GT-N7000 Android Development] mylitoazia:
ink effect

first question..i dont have a xdpi folder so a copy the images over to what i have is mdpi. will that effect anything?

second , in to androidpolicy folder, there are smali and a folder . do i put all and paste all of it in the same location?

result was everything compile fine

problem was pushing androidpolicy.jar back cause my rom to bootloop so i know its no good

i got SECsettings.apk to work but all a have is blue ripple when i search on lockscreen option to check color nothing shows up and i get setting failure crash...followed all steps...any advice??
[Galaxy Note GT-N7000 Android Development] brolee93:
Thnaks for this very good THREAD !)

It is possible to add tuto for add multiwindow please ?

Because in my tablet i dont have multiwindow and i want it looll have you tuto ?

i have samsung tab 2 official firmware deodexed etc by me (160dpi with mdpi files)
[Galaxy Note GT-N7000 Android Development] arocker:
Help please....

thank you Majdinj,

Fantastic tuts! was able to mod ink effect for sg3 d2mtr variant. it was my first mod and im quite happy about it thanks to your post.

im experiencing an ink effect graphical issue im hoping you can help with. touching the lockscreen produces the effect as intended. however quickly swiping the lockscreen to unlock causes the entire screen to flash the color ink that was chosen. for example, choose black ink in settings and slowly touch the lockscreen [without unlocking] it shows the black ink as it should, however moving your finger quickly as if to unlock makes the screen turn [flash] totally black for a second or two before returning to normal lockscreen. this is repeatable with any color setting and as i stated, the entire screen flashes that color.

any ideas and help would be appreciated.

thank you again!
[Galaxy Note GT-N7000 Android Development] joseamc91:
I'm aplying your tutorials to my Galaxy Note 10.1.

I know that theya are different devices, but the code is very similar.

To begin, i've used the CRToff but i have a problem: It's works, but only the first time after reboot. Do you know this error?

Thanks

I will now try the Ink effect... :p

EDIT: The CRT effect is working now in Note10.

Ink effect works but I cant change the color. The ink effect option in Settings give me a Force Close.

Do you know why Blue is the default color? Knowing this, maybe i can change the color without the setting option working.
[Galaxy Note GT-N7000 Android Development] arocker:
is the op still checking this post?
[Galaxy Note GT-N7000 Android Development] joseamc91:
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

Im like you exactly. Whats tour device?
[Galaxy Note GT-N7000 Android Development] mani1999:
AW: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

Does the 4-way-reboot tutorial also wotk for a Galaxy S2 on XWLS8?

Thanks in advanced....;)
[Galaxy Note GT-N7000 Android Development] Goldie:
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

Yes :)
[Galaxy Note GT-N7000 Android Development] mani1999:
AW: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

And the one to add toggles for apps in settings?
[Galaxy Note GT-N7000 Android Development] Goldie:
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

Note files are virtually same on jb. Ive not read the guide but probably yeah
[Galaxy Note GT-N7000 Android Development] mani1999:
AW: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

So does that mean I can use every guide for the Note 1 for the Galaxy S2? And how about the mods for the Galaxy S3 and Note 2?
[Galaxy Note GT-N7000 Android Development] _Sofos_:
Απ: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

Now that's a nice detailed guide.

Thank you, saved me a lot of time.

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy Note GT-N7000 Android Development] moisesfco:
Good!
[Galaxy Note GT-N7000 Android Development] _Sofos_:
Απ: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

I've checked a note ii and under Settings - Display there is " Notification Panel " which allows you to change toggles in your notification bar.

Recently I saw this option ported to our S2 (Omega Rom) which means it can be ported pretty much to any device that runs jb.

Let us know if you find a detailed guide about it as well :)

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy Note GT-N7000 Android Development] nokiamodeln91:
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

It's there in the JB leaks for note already as stock.
[Galaxy Note GT-N7000 Android Development] _Sofos_:
Απ: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms hack.etc (28/12

I know. I saw it in a i9100 custom Rom which doesn't have it as Samsung stock, that's why I asked if there could be a guide.

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy Note GT-N7000 Android Development] iepurasu_poznas:
can be added a guide for screenshot button on power menu to! ? Please!
[Galaxy Note GT-N7000 Android Development] zenxus31:
ink effect can be activated in gingerbread?(galaxy y)

reply please.. :cyclops: