yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] klurosu:
Indeed

Enviado desde mi GT-I9105P usando Tapatalk 2
[Galaxy Note GT-N7000 Android Development] panda00:
I second that. Would love to know as well.

Sent from my GT-I9105P
[Galaxy Note GT-N7000 Android Development] ashok9949:
CRT TV off effect

Quote:

Some custom kernels, works when wifi is on!!

1. We need Backsmali/smali program for this method.

2. Put the service.jar in baksmali folder.

3. Follow its procedure to baksmali service.jar, if done you will have classout folder.

4. Open classout folder and go to \com\android\server folder and open PowerManagerService$ScreenBrightnessAnimator.smali file.

5. Search for "Landroid/os/Handler;->removeMessages(I)VI" and add the following code lines (the blue ones only):

Code:

.line 3064

.end local v0 #delta:I

:cond_60

:goto_60

iget-object v7, p0, Lcom/android/server/PowerManagerService$ScreenBrightnessAnimator;->this$0:Lcom/android/server/PowerManagerService;

#getter for: Lcom/android/server/PowerManagerService;->mScreenBrightnessHandler:Landroid/os/Handler;

invoke-static {v7}, Lcom/android/server/PowerManagerService;->access$7200(Lcom/android/server/PowerManagerService;)Landroid/os/Handler;

move-result-object v7

if-eqz p2, :cond_maj

const/16 v9, 0xb

const/4 v10, 0x0

const v2, 0x10

invoke-virtual {v7, v9, v2, v10}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;

move-result-object v9

invoke-virtual {v9}, Landroid/os/Message;->sendToTarget()V

:cond_maj

const/16 v9, 0xa

invoke-virtual {v7, v9}, Landroid/os/Handler;->removeMessages(I)V

6. Save changes.

Quote:

To disable glitch turning off, please see this post by joosh3 here

7. Recompile (smali) your jar. You will get "classes.dex" and with 7zip, open the archive of the original service.jar. Then drag and drop the classes.dex you just compiled into the jar. Push the jar to your phone.

this methos is not working in GT-I9082 4.1.2 stock rom
[Galaxy Note GT-N7000 Android Development] klurosu:
Method works on many roms but if it doesn't you must customize the mod.

Usually is the same lines to edit...but ot depends of rom. Search well and you'll sucess

sent from an I9105P hipervitaminated :)
[Galaxy Note GT-N7000 Android Development] danivancouver:
Hi, I wanted to comment on what happens with the animation of the battery.

I am creating my rom, edited the animation, the Compilation decopilacion and without failure, without making wiper flaseo and it works, the problem biene when I integrate it in the rom, to make the wiper and flasear, the setting ui fails ...

Let an be?

Greetings.
[Galaxy Note GT-N7000 Android Development] majdinj:
I have tried to port it before but I didn't succeed (you can search my beta version of this mod that has some bugs!!), but if you got a working one, please upload android.policy.jar, so I can look into it
[Galaxy Note GT-N7000 Android Development] grilleld:
yes i will..im from n7100 so i will post it
[Galaxy Note GT-N7000 Android Development] majdinj:
Yes please, I need both, the original and modded android.policy.jar for the same base so I can detect changes easily :fingers-crossed:
[Galaxy Note GT-N7000 Android Development] grilleld:
i have one from xperiacle rom for N7000 and upload for you

i think you have the original file, this file base on xxlt4

http://d-h.st/VTS

---------- Post added at 07:04 PM ---------- Previous post was at 06:46 PM ----------

and onething i have try torch on lockscreen but no luck..when i copy android.policy to the rom ,fix permission then reboot but i get bootloop
[Galaxy Note GT-N7000 Android Development] majdinj:
Thanks I will look at it in my free time...

PS: I hope that was not the one I made before with bugs :silly:
[Galaxy Note GT-N7000 Android Development] fryingpan0613:
Thank you for the write up!
[Galaxy Note GT-N7000 Android Development] majdinj:
Volume Rocker to skip sound track

Now you can check this new mod in post #73

http://xdaforums.com/showpost.php?p=35727764&postcount=73

Thanks [MENTION=4948919]xperiacle[/MENTION] and [MENTION=4826618]grilleld[/MENTION]
[Galaxy Note GT-N7000 Android Development] grilleld:
yay..awesome i will try now

do you want to know how to add internet speed meter on statusbar ?

EDIT: for some reason i dont know i get bootloop after mod it, it show boot animation and the light of softkey button but it doesnt show up..any ideas ?
[Galaxy Note GT-N7000 Android Development] majdinj:
Yes I would like to know of course how to do that

Have you tried to logcat the problem,,, there is tut in xda on how to do that on bootloop,, you may check this one:

http://xdaforums.com/showthread.php?t=2274119

Although, in my other separated thread of vol rocker mod, it was tested by [MENTION=5180054]ezaechiel[/MENTION] and it was OK.
[Galaxy Note GT-N7000 Android Development] ezaechiel:
Yes and works great, I only had to copy assets, meta-inf and manifest from the original, and no problem.
[Galaxy Note GT-N7000 Android Development] grilleld:
okay i will pm u and give you all the instruction how to

can you mod android.policy for me.i will upload it ?
[Galaxy Note GT-N7000 Android Development] hara74:
here's a thread about that,

worked for me at lt6

http://xdaforums.com/showthread.php?t=2241739

the last post is even speed meter on open status bar ;)

sent from my G-Note
[Galaxy Note GT-N7000 Android Development] majdinj:
If you have GT-N7000, then I uploaded modded PhoneWindowManager.smali in the separated thread of this mod, you can use it...

But if you have other than GT-N7000, then I will try but can't promise about the results since I need to test it, logcat errors if is there; for which I need the actual device..!!!
[Galaxy Note GT-N7000 Android Development] grilleld:
thats website working for internet speed meter mate,try it

here http://d-h.st/Vyx

im using Note 2 N7100

EDIT: If your mod file still get bootloop then i will send you my logcat so maybe you can know how to fix it :D Thanks
[Galaxy Note GT-N7000 Android Development] majdinj:
Here you are m8,,, :cowboy:

See attachment..
[Galaxy Note GT-N7000 Android Development] grilleld:
Oh no bootloop but the mod doenst work when i long press the vokume button on lockscreen...
[Galaxy Note GT-N7000 Android Development] majdinj:
Playlist,,,

Try it on playlist songs in Play Music app (the one that looks like headphone),,, It should work
[Galaxy Note GT-N7000 Android Development] balliboxer:
Awesome volume rocker guide [MENTION=369057]majdinj[/MENTION] .M too stuck in bootloops many times but atlast make that guide work .Reason found for bootloop is that the 3 step of guide

.field mVolumeUpLongPress:Ljava/lang/Runnable;

Is predefined in smali so no need to add it again
[Galaxy Note GT-N7000 Android Development] grilleld:
not work for me..any ideas ??

what do u mean ? u mean is skip step 3 ?
[Galaxy Note GT-N7000 Android Development] majdinj:
strange,,, no idea dude :confused: although the smali you gave me to edit is like the one in GT-N7000

No your smali doesn't have that field, what he meant is if you already have that field defined in your smali, no need to add it again which might causes bootloop
[Galaxy Note GT-N7000 Android Development] grilleld:
[MENTION=369057]majdinj[/MENTION] THIS from phoenix rom have work for me

im looking on it and do the same but the mod doesnt work when screen off
[Galaxy Note GT-N7000 Android Development] majdinj:
May be the timeout event is your problem..

OK try this one:

- Search for this static field ".field static final LONG_PRESS_POWER_SHUT_OFF:I = 0x2" and add this line bellow it (the blue one):

.field static final LONG_PRESS_POWER_SHUT_OFF:I = 0x2

[B][COLOR="Blue"].field private static final LONG_PRESS_TIMEOUT:I = 0x190[/COLOR][/B]

.field static final MINI_APP_DIALOG_LAYER:I = 0x5

Then change this code method in my tutorial ".method handleVolumeLongPress(I)V", and ".method handleVolumeLongPressAbort()V" to:

[B][COLOR="Blue"].method handleVolumeLongPress(I)V
.registers 6

const/4 v1, 0x1

move-object/from16 v0, p0

iput-boolean v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsVolumeBlocking:Z

const/4 v1, 0x0

iput-boolean v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsVolumeAction:Z

const/16 v1, 0x18

if-ne p1, v1, :cond_majdi

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolumeUpLongPress:Ljava/lang/Runnable;

:goto_nj
iget-object v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;

sget v2, Lcom/android/internal/policy/impl/PhoneWindowManager;->LONG_PRESS_TIMEOUT:I

int-to-long v2, v2

invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

return-void

:cond_majdi
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolumeDownLongPress:Ljava/lang/Runnable;

goto :goto_nj
.end method

.method handleVolumeLongPressAbort()V
.registers 3

const/4 v1, 0x0

move-object/from16 v0, p0

iput-boolean v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsVolumeBlocking:Z

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;

iget-object v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolumeUpLongPress:Ljava/lang/Runnable;

invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;

iget-object v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolumeDownLongPress:Ljava/lang/Runnable;

invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

return-void
.end method[/COLOR][/B]

I have tested this new method in my device and it worked great with set timeout delay..

I will update the post soon

EDIT:

The post is already modified for the new way.. have fun
[Galaxy Note GT-N7000 Android Development] grilleld:
thanks :d try it now

EDIT: oh god still not work for me..wt ..?? (do u think the problem is beat audio i have install ?

do u have any ideas about torch on lockscreen ?

im sure i have do it right but stuck at boot animation screen all the time
[Galaxy Note GT-N7000 Android Development] ezaechiel:
Hi majdinj,

May I propose an addendum to ink effect in 240 dpi ?

In 240dpi to activate it, another change must be made.

1 - Backsmali framework-res.apk

2 - Go to framework-res.apk\res\values-hdpi

3 - Open Bools.xml

4 - Make this change :

From :

<bool name="config_isWaterRippleEnabled">[COLOR="Red"]false[/COLOR]</bool>

to

<bool name="config_isWaterRippleEnabled">[COLOR="Blue"]true[/COLOR]</bool>

And it's done ^^.
[Galaxy Note GT-N7000 Android Development] remuntada78:
I am following the guide http://xdaforums.com/showthread.php?t=1573032 for 4way reboot for JB that says:

In file "GlobalActions$99.smali" there is id 0x1110008, you might want to check that this id is same in you roms puplic.xml ( config_sf_slowBlur ). In gingerbread roms this did not change, but not I'm not sure about these ICS roms.

now the value in my public.xml for conf_sf_slowBlur is 0x1110009, I have to change the value in GlobalActions$99.smali?
[Galaxy Note GT-N7000 Android Development] majdinj:
Not necessarily for JB or ICS,, only for:

0x104000a = 0x0104000a = "string" name="ok"

0x104 = 0x01040000 = "string" name="cancel"

>>> New mod added

Browser Edge Zoom Enabling

See post #75
[Galaxy Note GT-N7000 Android Development] ezaechiel:
Hi majdinj,

are you sure of the line in blue :

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 28
[COLOR="Blue"].param p1, "event" # Landroid/view/MotionEvent;[/COLOR]

.prologue
.line 207
move-object/from16 v0, p0

Because I can't compile the file with this line.
[Galaxy Note GT-N7000 Android Development] pekaka:
yes,the same error happened when I recompiled the classout
[Galaxy Note GT-N7000 Android Development] majdinj:
Have you update baksmali and smali codes,,,

The problem arise only with old codes..

I am using baksmali / smali manager v1.5 with the latest baksmali and smali codes (15/6/2013) and worked flawlessly ( just re-tested one minute ago!!)

Update the codes and try again, I will be waiting to help ya
[Galaxy Note GT-N7000 Android Development] ezaechiel:
Will test it asap, thanks for your answer, you're right I'm using this smali/backsmali code since april so it might be out of date ^^.
[Galaxy Note GT-N7000 Android Development] majdinj:
This is also the same complain in my other thread of this mod,,, but solved when use baksmali tool that has the latest codes
[Galaxy Note GT-N7000 Android Development] maskerwsk:
Hey maj.

Do you have any java programming knowledge?
[Galaxy Note GT-N7000 Android Development] majdinj:
believe me I am just a noob that has some interest in modding,,, Java programming!! come on!!! I don't think that I am going to even touch that level even in far future :silly:..!!
[Galaxy Note GT-N7000 Android Development] ezaechiel:
You're too modest ^^.
[Galaxy Note GT-N7000 Android Development] pekaka:
yes,update baksmali to the lastest version,success!Thank majdini,you are a great man,five stars vote up for you!
[Galaxy Note GT-N7000 Android Development] Vivek_Neel:
+1
[Galaxy Note GT-N7000 Android Development] remuntada78:
The Inkeffect enable guide work for GS S2 too?
[Galaxy Note GT-N7000 Android Development] nikhilbhalwankar:
What do I need to do to modify secSettings.apk to have S4 like white settings color. Please let me know.
[Galaxy Note GT-N7000 Android Development] cbucz24:
Post a screen showing what part of settings your trying to change.

check out our rom website, http://updater.team-nocturnal.com/labrats/
[Galaxy Note GT-N7000 Android Development] Javho:
hi [MENTION=369057]majdinj[/MENTION] in the quote above I could you explain a little better than see what value access$xx in GlobalActions.smali because I'm trying to port it to a galaxy s rom advance please
[Galaxy Note GT-N7000 Android Development] majdinj:
#1

To match the same "Landroid/content/context" class in both GlobalActions.smali and GlobalActions$99.smali, open GlobalActions.smali, and search for the method that includes this class "Landroid/content/context", usually it is:

.method static synthetic access$200(Lcom/android/internal/policy/impl/GlobalActions;)Landroid/content/Context;

As you see here, the class "Landroid/content/Context" is defined by the method "method static synthetic access$200". Here take a look at "access$200" that what we want to know,,,

Now open GlobalActions$99.smali and search for all lines that contains the class "Landroid/content/context" and adjust any "access$xx" to what you have found in GlobalActions.smali

#2

You will need to decompile framework-res.apk and to go to res\values folder and open public.xml and look for:

<public type="string" name="ok" id="0x0104000a" />

and

<public type="string" name="cancel" id="0x01040000" />

Here the ids (0x0104000a) and (0x01040000) will be differ according to your ROM. Now open GlobalActions$99.smali and change ids values there to be like the ones above; you need to omit the first 0 value from each id (0x0104000a will be 0x104000a and 0x01040000 will be 0x1040000 in GlobalActions$99.smali)
[Galaxy Note GT-N7000 Android Development] tkari4:
Check this guide I made mine with it: http://xdaforums.com/showthread.php?p=42834663&postcount=9

Make the changes only in the styles.xml.

And don't forget to change the settings png icon color from white to one other color.. :D

You can find it in the drawable-xhdpi folder ic_sysbar_quicksettings.png.
[Galaxy Note GT-N7000 Android Development] ekache:
Have you check this one too:

http://xdaforums.com/showthread.php?t=2220549
[Galaxy Note GT-N7000 Android Development] Javho:
[MENTION=369057]majdinj[/MENTION] actually for my device I got a custom ROM with aosp lock screen but this aosp lock screen is disabled when I touch the menu boton, my question is with your guide for aosp lockscreen I got the same problem or you manage to fix the problem (sorry my bad English)

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Galaxy Note GT-N7000 Android Development] majdinj:
At least for me, it is running fine,,, So you have to try..
[Galaxy Note GT-N7000 Android Development] lacoursiere18:
Im trying to find out how to change the background of the advance power menu.. I can not find the png at all I have looked through every single png file in all drawables.. Is it an .xml edit?
[Galaxy Note GT-N7000 Android Development] HighlanderZA:
Is this for the Note2 again? That runs Touchwiz,right?

From The Highlands, Nexus 7 JWR66N 4.3
[Galaxy Note GT-N7000 Android Development] lacoursiere18:
Lol yes..
[Galaxy Note GT-N7000 Android Development] HighlanderZA:
Okay - I'm not sure, but if they are the same or similar to the S2 then you'll be looking for a bunch of 9 patch pngs in framework-res.

If not the same maybe these names will point you in the right direction.

dialog_bottom_xx

dialog_top_xx

dialog_full_xx

dialog_middle_xx

popup_bottom_xx

popup_center_xx

popup_full_xx

popup_top_xx

and if you're themeing those then you might want to do

menu_dropdown_xx

menu_hardkey_xx

as well.

I themed them for the S2 if you'ed like to take a look at my thread. Popup Menu mods.

See Sig below.
[Galaxy Note GT-N7000 Android Development] lacoursiere18:
Yea I swear I have tried all those and I have not had a change.. I running a tablet UI but a stock framework so I don't know why it would be different..
[Galaxy Note GT-N7000 Android Development] HighlanderZA:
Hmmm - well happy searching bud - sorry, but that's all I've got to suggest.

If it's not them then things changed a bit on your Note.
[Galaxy Note GT-N7000 Android Development] cbucz24:
What controls your tabletUI?

I ask cuz when I was trying to color the text on the dropdown toggles, it was always a specific xml. When it didn't work I got pretty frustrated. But I had forgotten, I was coloring the lidroid toggles.

His toggle has its own colors files. So you may be hitting the right ones normally. But since the ui is changed, it may be determining the other parts your looking for too. Since you have tried every where asking for help, id decompile that an see if you can find it

check out our rom website, http://updater.team-nocturnal.com/labrats/
[Galaxy Note GT-N7000 Android Development] lacoursiere18:
I thought the same.. But thanks again guys for all your help I might try over and theme all those files you listed.. and see what happens.. Thank you again!

EDIT: I kinda thought it was pulling it from a theme in the styles.xml

EDIT #2: So i changed those files in phone UI and they change the background fine.. But in Tablet UI they do not change.. Thats why I think it is using something else..
[Galaxy Note GT-N7000 Android Development] cbucz24:
Obviously you have looked inside an apk an learned a lot. If you noticed, there are like 4-6 versions of file sets in the framework and the systemui.

Looking thru all the xmls, deciphering what is where, sometimes that is where I go to find a name of a file. Then I go digging to where it is.

You will see all of the [MENTION=3944923]drawab[/MENTION]le/myfile.9.png and then go from there. the different resolutions and options change everything.

I edited a Pandora and on my note2 it used the hdpi but on my wife evo it used mdpi. Same application, but it grabs what it wants. So, good luck an im sorry I didn't have the right place for you.

:thumbup:

check out our rom website, http://updater.team-nocturnal.com/labrats/
[Galaxy Note GT-N7000 Android Development] majdinj:
Thanks to forum moderator for sticking this thread.. :good:
[Galaxy Note GT-N7000 Android Development] burtcom:
Yay for the sticky :)

Now -- I am trying to figure out where the heck the default background is for the Jellybean TW lockscreen. Looking in framework-res.apk for the latest LT9 SweetROM and not finding it.
[Galaxy Note GT-N7000 Android Development] majdinj:
Check this post:

http://xdaforums.com/showpost.php?p=35727703&postcount=71

PS: You just need to drag and drop your png image with WinRAR or 7-zip in the directory mentioned in the post..!!!
[Galaxy Note GT-N7000 Android Development] Robbie Hood:
Lol in abscense I see my work here without askin or creds ??????

That torch on home and **** took a lot of work and not just comparing it with a compare tool to a stock rom.....

Thanks for the rrspect buddy.....
[Galaxy Note GT-N7000 Android Development] majdinj:
LOL.. you have been credited in the main mod thread here:

http://xdaforums.com/showthread.php?t=2302921

but not in this thread,,, bad me,,

It will corrected.. sorry I didn't noticed
[Galaxy Note GT-N7000 Android Development] Robbie Hood:
Well thanks but dont think eybee has something to do with it ;)

Still I think its utterly without respect to take someones work and just compare it to a stock rom.

Then writing it down here as if it was made by you or you made a effort to make it work....

I think this even goes against the xda GPL.

This post is stopping me from makin a new rom.....

Will report this.
[Galaxy Note GT-N7000 Android Development] majdinj:
In the guide (the link I posted), it was mentioned that "Actual mod was done by RobbieHood and eybee1970" and the last edit to that post was 2 June 2013. so if you still think that I crossed the line by writing the guide for helping others, then I am sorry mate (although I didn't even post the mod, only the guide, thought by doing this I still respect you..) Also I did write the guide only after pressuring from others..

I don't say that you shouldn't report to moderator though,,, but please consider this issue, I didn't even mention that was my work..

Even if I got some action from moderators by your report, I will never hate a good brother like you, so please don't hate me..

Regards
[Galaxy Note GT-N7000 Android Development] ekache:
This is what I'm looking for...great tutorials from a great one who has a kind to share.

Thanks in advance, dear majdinj.

Hope there will be a Rotating TouchWiz tutorial Mod, if it possible.
[Galaxy Note GT-N7000 Android Development] mccmjoon76:
Thanks for the effort.. :good:
[Galaxy Note GT-N7000 Android Development] mac231us:
MORE I LOOK AT THIS THREAD...BEST THREAD IN RECENT TIMES..Asides from ROMs

AWESOME ! THANKS most useful general purpose thread I have seen (than repositories etc)...just what I wanted ! THANKS THANKS THANKS !

---------- Post added at 02:41 PM ---------- Previous post was at 02:39 PM ----------

You do not even have a donate to me button unlike some who post other people's work and then say don't donate but will take them anyway...you gave modding details which I so much appreciate ! how do I donate?

You need 8000+ thanks..!
[Galaxy Note GT-N7000 Android Development] coelho_:
Polalalala great work

Envoyé depuis mon GT-N7000 avec Tapatalk
[Galaxy Note GT-N7000 Android Development] mjrifath:
Many thanks for you effort and time giving.

Any idea of removing Message Log from Call Log history..

:laugh:
[Galaxy Note GT-N7000 Android Development] Kamy:
Thanks. You are the first one providing a comprehensive theme moding tutorials.
[Galaxy Note GT-N7000 Android Development] DefaultBR:
Im not a dev...but every time i flash a rom i mentaly ask how they do this....thxxx the answers... =) nice job brow
[Galaxy Note GT-N7000 Android Development] rraaka:
cooking and themeing is best left to men coz they do it best

but

im gonna try the battery themeing ......promise :)

airview is easy

keeping a back up of all the info

thanks
[Galaxy Note GT-N7000 Android Development] maskerwsk:
Thanks for this! Awesome
[Galaxy Note GT-N7000 Android Development] sarf2k4:
The guide for 4 way reboot method is what ive been looking for, the 4 way reboot method is to make another reboot selection method appear right?

Good and very simple guide to follow:)
[Galaxy Note GT-N7000 Android Development] bllod:
hey

is there a Way to get the Ripple Wall LWP of Note 2
[Galaxy Note GT-N7000 Android Development] not-i:
Great guide mate. Well done :good:
[Galaxy Note GT-N7000 Android Development] Dryblow:
For compiling Framework-res.apk i select option "11 compile system APK files" or none apk file?

Sorry for my bad english...

Edit: i have problem for compile framework-res.apk, not work on my rom..