[HOW-TO] Enable SpellChecker Service - Galaxy Note GT-N7000 General

For me Spell Checking option is very important and I like using it in CM roms. However, our NOTE is more productive with Stock roms. I searched a lot to find a way to enable the option. Unfortunately, there was no 100% clear guidance but I could manage to get it. Thanks to everyone helped.
You need to decompile Secsettings.apk & framework2.jar.
In SecSettings, open the file "res\xml\language_settings.xml" and look for:
Code:
<PreferenceScreen android:title="@string/phone_language" android:key="phone_language" android:fragment="com.android.settings.LocalePicker" />
add new line and paste the following:
Code:
<com.android.settings.inputmethod.SpellCheckersPreference android:title="@string/spellcheckers_settings_title" android:key="spellcheckers_settings" />
In framework2.jar, open the file "smali\android\widget\TextView.smali" and look for:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B]const/4 v0, 0x0[/B][/COLOR]
return v0
.end method
Change the highlighted to:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B] const/4 v0, 0x1[/B][/COLOR]
return v0
.end method
That is all and enjoy.
NOTE: It works with Google Keyboard or alternatives based on Google Keyboard like
https://play.google.com/store/apps/...method.latin.jelly.free&feature=search_result.

Ill give it a try spell check is important to me as ive had iphones for years which does it all for me
Sent from my GT-N7000 using xda app-developers app

Anyone confirm working? On jellybean stock touchwiz?

active spell checker
primitive.A said:
Anyone confirm working? On jellybean stock touchwiz?
Click to expand...
Click to collapse
“Bump”
Has any one tried this yet?
I’ve just bought a Note-2 and to my horror now found I have no active spell checker . . Doh!

This is for custom stock rom? Or cm based rom only?
Sent from my GT-N7000

It does work . I always do the same.

iT iS Me said:
It does work . I always do the same.
Click to expand...
Click to collapse
work for JB4.1.2?

zai89 said:
work for JB4.1.2?
Click to expand...
Click to collapse
Yes.

.method public isSuggestionsEnabled()Z
.registers 2
.prologue
.line 8485
const/4 v0, 0x1
return v0
.end method
Click to expand...
Click to collapse
Hello, this is the only line that I saw in TextView.smali in LT4 firmware. I already edited it according to your instruction. Is it okay? I will confirm if this is working for me.

mac20dnangel said:
Hello, this is the only line that I saw in TextView.smali in LT4 firmware. I already edited it according to your instruction. Is it okay? I will confirm if this is working for me.
Click to expand...
Click to collapse
Yes, that's all. I am working now on the same firmware, because I want to feel the stock ROM for sometimes as I am an AOSPA-Paranoid fan.

i just switched over from a razr maxx to the note2 and i really miss this feature.
i have the verizon SCH-I605, rooted and unlocked on the stock rom currently. i found this thread on a google search
is there any updates on this? an easier way to go about it, or a guide to help completing this task?
-Thanks

framework2.jar error
Hi,
I am getting the following error when I try to decompile framework2.jar
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework2.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:280)
Any thoughts?

iT iS Me said:
For me Spell Checking option is very important and I like using it in CM roms. However, our NOTE is more productive with Stock roms. I searched a lot to find a way to enable the option. Unfortunately, there was no 100% clear guidance but I could manage to get it. Thanks to everyone helped.
You need to decompile Secsettings.apk & framework2.jar.
In SecSettings, open the file "res\xml\language_settings.xml" and look for:
Code:
<PreferenceScreen android:title="@string/phone_language" android:key="phone_language" android:fragment="com.android.settings.LocalePicker" />
add new line and paste the following:
Code:
<com.android.settings.inputmethod.SpellCheckersPreference android:title="@string/spellcheckers_settings_title" android:key="spellcheckers_settings" />
In framework2.jar, open the file "smali\android\widget\TextView.smali" and look for:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B]const/4 v0, 0x0[/B][/COLOR]
return v0
.end method
Change the highlighted to:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B] const/4 v0, 0x1[/B][/COLOR]
return v0
.end method
That is all and enjoy.
NOTE: It works with Google Keyboard or alternatives based on Google Keyboard like
https://play.google.com/store/apps/...method.latin.jelly.free&feature=search_result.
Click to expand...
Click to collapse
Hi,
I am getting the following error when I try to decompile framework2.jar
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework2.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:280)
Any thoughts?

gilbertgk said:
Hi,
I am getting the following error when I try to decompile framework2.jar
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework2.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:280)
Any thoughts?
Click to expand...
Click to collapse
Is your rom deodexed??

iT iS Me said:
Is your rom deodexed??
Click to expand...
Click to collapse
I am applying the same steps on my GS note 8. and its rooted with stock Touchwiz. no custom rom installed
Sent from my SM-N900W8 using Tapatalk

gilbertgk said:
I am applying the same steps on my GS note 8. and its rooted with stock Touchwiz. no custom rom installed
Sent from my SM-N900W8 using Tapatalk
Click to expand...
Click to collapse
Your ROM should be deodexed
Sent via Phone.

iT iS Me said:
Your ROM should be deodexed
Sent via Phone.
Click to expand...
Click to collapse
is there a way to apply deodexed on my rooted note 8 without installing a custom rom?
Sent from my SM-N900W8 using Tapatalk

In my framework2.jar it's already showing 0x1. is it ok to proceed. can any one confirm that it's working in SM-N900W8. Also what's the best and recommended way to replace those two files.
Sent from my SM-N900W8 using Tapatalk

gilbertgk said:
In my framework2.jar it's already showing 0x1. is it ok to proceed. can any one confirm that it's working in SM-N900W8. Also what's the best and recommended way to replace those two files.
Sent from my SM-N900W8 using Tapatalk
Click to expand...
Click to collapse
Same here. On top of that there is no such .xml file in my SecSettings.apk decompiled folder. Must be missing something?

I have just done it for my note 3 N9005
Sent from my SM-N9005 using Tapatalk

Related

swipe + pattern unlock

http://forum.xda-developers.com/showthread.php?t=2404770
here is something i found in xperia sp ..
someone with knowledge to edit java files can try
although this is 4.2 i guess
ozz_y said:
1. decompile u'r android.policy.jar (i'm using apktool), u'll get folder android.policy.jar.out... find file LockPatternKeyguardView.smali,
2. open with text editor (i'm using notepad ++) and find line like this:
.prologue
const/4 v1, 0x0
...
...
.line 120
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
change to:
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
...
...
.line 120
iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
3. build (compile) android.policy.jar.out and u'll get file named: classes.dex in folder "android.policy.jar.out\build\apk".
4. open u'r original android.policy.jar with 7zip or winrar (u'll see META-INF and classes.dex), and delete classes.dex.
5 drag file classes.dex from u'r "android.policy.jar.out\build\apk" folder to 7zip or winrar window.
u'r done... just copy to /system/framework and change permission.. but it's a good idea to backup u'r rom fist...
Click to expand...
Click to collapse
demonicjas said:
http://forum.xda-developers.com/showthread.php?t=2404770
here is something i found in xperia sp ..
someone with knowledge to edit java files can try
although this is 4.2 i guess
Click to expand...
Click to collapse
i tried that its not working for 4.3 niaboc found a way out dont know whats that;-(
i have also tried that thing when 4.2 was there those lines weren't there in xperia z 4.2 firmware and even in 4.3 same thing there is something more to edit
maybe i am wrong or someone can correct me if am wrong than too will see
nielneal said:
i tried that its not working for 4.3 niaboc found a way out dont know whats that;-(
i have also tried that thing when 4.2 was there those lines weren't there in xperia z 4.2 firmware and even in 4.3 same thing there is something more to edit
maybe i am wrong or someone can correct me if am wrong than too will see
Click to expand...
Click to collapse
i tried the black edition but even there its not working for me and another person ..
even on my zl for ultra v3 there
he added in the changelog lock + pattern same time .. im assuming its same swipe + pattern .doesnt work there either
well thanks for confirming this does not work on 4.3
Why is it that you guys want both? I remember old ics pattern lockscreen that didn't have features the new one has, but the new one seems pretty good.
Not being a smartass, just wondering if there's some advantage to it
Sent from my C6603 using xda app-developers app
Kocayine said:
Why is it that you guys want both? I remember old ics pattern lockscreen that didn't have features the new one has, but the new one seems pretty good.
Not being a smartass, just wondering if there's some advantage to it
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
the swipe screen before the lockscreen ..much like what htc has and aosp i guess .. if u enable pattern lock u lose the swipe effect ..
demonicjas said:
the swipe screen before the lockscreen ..much like what htc has and aosp i guess .. if u enable pattern lock u lose the swipe effect ..
Click to expand...
Click to collapse
Isn't that just twice the work? Pattern got the same features as swipe

[q] [help] tablet tweak on stock dxll1

Guys, im applying tablet tweak on stock dxll1 baseband. I applied custock dxlf1 to deodex. Everything was working fine except the statusbar. I cant make it expand. Is there someone who could help me add tablet tweak support on my statusbar? thanks!
Edit:
Please do help me. this is what im on
*Baseband:dxll1
*Rom:Custock dxlf1
*Framework already has tablet tweak
Problem:
*I cant make it expand when its at the bottom.
*Cant add soft buttons
If someone could provide me a plain systemui that supports tablet tweak, please do give me it here or at fb. thanks!
deleted
guide for fully expanded status bar although I dont think thats what you mean
http://forum.xda-developers.com/showthread.php?t=2359344
do you mean you cant pull down the status bar?
maybe an mistake in tracking or status_bar_expanded
if you want the toggles at the bottom why not just use cm7? there is an open there to set status bar icons to the bottom
marcussmith2626 said:
guide for fully expanded status bar although I dont think thats what you mean
http://forum.xda-developers.com/showthread.php?t=2359344
do you mean you cant pull down the status bar?
maybe an mistake in tracking or status_bar_expanded
if you want the toggles at the bottom why not just use cm7? there is an open there to set status bar icons to the bottom
Click to expand...
Click to collapse
what i mean sir is i cant open my statusbar when bottom statusbar was activated. and i cant add soft keys on it
Wickedfire.214 said:
what i mean sir is i cant open my statusbar when bottom statusbar was activated. and i cant add soft keys on it
Click to expand...
Click to collapse
its either a layout problem in xml files or smali problem
either way without logcat if it force closes or something happens when you do something or screenshots and access to to files theres no way to know what is wrong - plus if you didnt do the mod it will be very hard to know to where to start
You can always just use cm7 as it has this mod anyway
marcussmith2626 said:
its either a layout problem in xml files or smali problem
either way without logcat if it force closes or something happens when you do something or screenshots and access to to files theres no way to know what is wrong - plus if you didnt do the mod it will be very hard to know to where to start
You can always just use cm7 as it has this mod anyway
Click to expand...
Click to collapse
ill take logcat tommorow. please guide me again tommorow. its sleep time in my country
here is the logcat sir? is this correct
logcat
Wickedfire.214 said:
logcat
Click to expand...
Click to collapse
looks like a smali error
Code:
06-01 07:47:05.265 2934 2934 E AndroidRuntime: java.lang.NoSuchMethodError: com.android.systemui.statusbar.StatusBarView.onInterceptTouchEvent
06-01 07:47:05.265 2934 2934 E AndroidRuntime: at com.android.systemui.statusbar.CmStatusBarView.onInterceptTouchEvent(CmStatusBarView.java:308)
Unless you did the mod and can understand smali it will be hard to fix it - unfortunatly I dont understand smali as im not a programmer but thats where the error is
marcussmith2626 said:
looks like a smali error
Code:
06-01 07:47:05.265 2934 2934 E AndroidRuntime: java.lang.NoSuchMethodError: com.android.systemui.statusbar.StatusBarView.onInterceptTouchEvent
06-01 07:47:05.265 2934 2934 E AndroidRuntime: at com.android.systemui.statusbar.CmStatusBarView.onInterceptTouchEvent(CmStatusBarView.java:308)
Unless you did the mod and can understand smali it will be hard to fix it - unfortunatly I dont understand smali as im not a programmer but thats where the error is
Click to expand...
Click to collapse
i fixed it now sir. my problem is when i activated bottom statusbar on tablet tweak settings, i wont be able to expand it to see the expanded view. any fix? im on stockrom
Wickedfire.214 said:
i fixed it now sir. my problem is when i activated bottom statusbar on tablet tweak settings, i wont be able to expand it to see the expanded view. any fix? im on stockrom
Click to expand...
Click to collapse
not unless you correct the smali errors that are to do with it
like I said if you want that option would be much easier to use cm7 as it has this option
marcussmith2626 said:
not unless you correct the smali errors that are to do with it
like I said if you want that option would be much easier to use cm7 as it has this option
Click to expand...
Click to collapse
i can use the soft keys now. but i cant go to expanded view
here is the prob
Wickedfire.214 said:
here is the prob
Click to expand...
Click to collapse
I keep telling you - error in smali
StatusBarView and CmStatusBarView with the command onInterceptTouchEven
Wickedfire.214 said:
here is the prob
Click to expand...
Click to collapse
this is because u now load the statusbar at bottom.
but it doesnt update the date layout in top
so basicly it doesnt fl top part because they layout isnt being pushed upside down
Sent from my Acer S500 CloudMobile
SpaceCaker said:
this is because u now load the statusbar at bottom.
but it doesnt update the date layout in top
so basicly it doesnt fl top part because they layout isnt being pushed upside down
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
its with statusbarpolicy smali sir???? how could i fix this
Wickedfire.214 said:
its with statusbarpolicy smali sir???? how could i fix this
Click to expand...
Click to collapse
use java?
Sent from my Acer S500 CloudMobile
SpaceCaker said:
use java?
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
I decompiled two systemUI. The One is CM Based and i grabbed the smalis and compared to get it working on stock rom. The soft keys were working but i cant go to the expanded view if statusbar.
Wickedfire.214 said:
I decompiled two systemUI. The One is CM Based and i grabbed the smalis and compared to get it working on stock rom. The soft keys were working but i cant go to the expanded view if statusbar.
Click to expand...
Click to collapse
cm smali from StatusBarView.smali
Code:
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.locals 1
.parameter "event"
.prologue
.line 172
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lcom/android/systemui/statusbar/StatusBarView;->onInterceptTouchEvent(Landroid/view/MotionEvent;Z)Z
move-result v0
return v0
.end method
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;Z)Z
.locals 1
.parameter "event"
.parameter "skipService"
.prologue
.line 163
if-eqz p2, :cond_0
.line 164
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
.line 166
:goto_0
return v0
:cond_0
iget-object v0, p0, Lcom/android/systemui/statusbar/StatusBarView;->mService:Lcom/android/systemui/statusbar/StatusBarService;
invoke-virtual {v0, p1}, Lcom/android/systemui/statusbar/StatusBarService;->interceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x1
goto :goto_0
:cond_1
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
goto :goto_0
.end method
stock smali from StatusBarView.smali
Code:
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.locals 1
.parameter "event"
.prologue
.line 149
iget-object v0, p0, Lcom/android/systemui/statusbar/StatusBarView;->mService:Lcom/android/systemui/statusbar/StatusBarService;
invoke-virtual {v0, p1}, Lcom/android/systemui/statusbar/StatusBarService;->interceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
goto :goto_0
.end method
Like I said this is the area that was giving the error in your logcat in StatusBarView.smali
I dont understand smali so I cant help you but thats what needs fixing

Home screen search bar

So I was trying to remover the google search bar and make the home screen 4x5... The grid is a 4x5 but the search bar still remains (see screen) I changed layout-port/search_bar.xml relative layout height to 0.0dip and layout-port/launcher.xml com.motorola.homescreen.MotoWorkspace> padding top to 0.0dip... I looked through the smali for what is mentioned in this but couldn't find what was mentioned... I'm not sure if it's due to all this being done in es file explorer and Axel or if its not there but any input is appreciated..thank you kindly for your time
Edit: just tried removing velvet.apk from priv-app and it still remains
Sent from my XT907 using XDA Premium 4 mobile app
use other launchers, like apex, nova. pretty good.
ezknives said:
So I was trying to remover the google search bar and make the home screen 4x5... The grid is a 4x5 but the search bar still remains (see screen) I changed layout-port/search_bar.xml relative layout height to 0.0dip and layout-port/launcher.xml com.motorola.homescreen.MotoWorkspace> padding top to 0.0dip... I looked through the smali for what is mentioned in this but couldn't find what was mentioned... I'm not sure if it's due to all this being done in es file explorer and Axel or if its not there but any input is appreciated..thank you kindly for your time
Edit: just tried removing velvet.apk from priv-app and it still remains
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I want to be able to use the circle widget... I figured it out I had to make it delete com.google.android.googlequicksearchbox-2.apk also..
Sent from my XT907 using XDA Premium 4 mobile app
in app manager disable "Google Search"
1st thing i do with my new phones. it gets rid of the bar from the homescreen but it doesnt make the space available... until you just showed us how
---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------
ezknives said:
So I was trying to remover the google search bar and make the home screen 4x5... The grid is a 4x5 but the search bar still remains (see screen) I changed layout-port/search_bar.xml relative layout height to 0.0dip and layout-port/launcher.xml com.motorola.homescreen.MotoWorkspace> padding top to 0.0dip... I looked through the smali for what is mentioned in this but couldn't find what was mentioned... I'm not sure if it's due to all this being done in es file explorer and Axel or if its not there but any input is appreciated..thank you kindly for your time
Edit: just tried removing velvet.apk from priv-app and it still remains
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
can you explain this clearly for me to do -- ive been dying to use that dead space at the top
TIA
If you want it I'll send you a flashable zip of it..
Sent from my XT907 using XDA Premium 4 mobile app
This will make notification bar and navi bar on the home screen transparent, make the grid 4x5, remove the text on the dock, it is deodexed, and possibly remove google search... Please make a backup before flashing I have only tested this on my device I am not responsible for any damage that may occur...big thanks to ATTACK for teaching me how to do it all...
ezknives said:
This will make notification bar and navi bar on the home screen transparent, make the grid 4x5, remove the text on the dock, it is deodexed, and possibly remove google search... Please make a backup before flashing I have only tested this on my device I am not responsible for any damage that may occur...big thanks to ATTACK for teaching me how to do it all...
Click to expand...
Click to collapse
thanks!
still need instructions what to do with this zip
what eaxctly am i flashing and to where.
assuming im hesitant to flash, how would i make the homescren 4x5 manually - those kinds of instuctions i can usually follow pretty well
ezknives said:
I want to be able to use the circle widget... I figured it out I had to make it delete com.google.android.googlequicksearchbox-2.apk also..
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you extract the apk file (there are many decompilers available) you can edit the widget and make it so it doesn't read what launcher you are using and make it always display. I did this and have it successfully loading on the GoogleNow home screen but it isn't wanting to read weather and battery. Tweaking it until it works!
Sent from my DROID RAZR M using Tapatalk
stras1234 said:
thanks!
still need instructions what to do with this zip
what eaxctly am i flashing and to where.
assuming im hesitant to flash, how would i make the homescren 4x5 manually - those kinds of instuctions i can usually follow pretty well
Click to expand...
Click to collapse
You can flash the zip via twrp... Boot to recovery ...make a back up...flash zip... Wipe cache and dalvik..reboot ... Its just the homescreen.apk that's been modified and the update- script to uninstall velvet.apk/odex homescreen.apk/odex and possibly google search (I say that because mine was under a different name then my wife's phone)... Then install the new home screen... To modify it your go to system/priv-app find homescreen.apk copy it to wherever your using to decompile the apk... Use this as a reference of what XML's to edit... Make the changes... Recompile zipalign and sign... And the apk is modified... I would recommend putting it in a flashable zip and flashing it as I haven't been able to get any to work simple placing it back in priv-app and setting permissions...
xKroniK13x said:
If you extract the apk file (there are many decompilers available) you can edit the widget and make it so it doesn't read what launcher you are using and make it always display. I did this and have it successfully loading on the GoogleNow home screen but it isn't wanting to read weather and battery. Tweaking it until it works!
Sent from my DROID RAZR M using Tapatalk
Click to expand...
Click to collapse
Yea I started looking through it... Then just changed the text color and got the notion to mess with all this I may go through it again tonight see if I have any luck getting weather and battery info working...
Sent from my XT907 using XDA Premium 4 mobile app
i extracted the homescreen.apk from your zip above.
manually pushed with RE, froze the existing homescreen.apk and left the existing homescreen.odex as is) and set permission to the new (your) homescreen.apk.
reboot.
worked like a charm. my screen seems so much bigger now! Thanks @ezknives!
ezknives said:
So I was trying to remover the google search bar and make the home screen 4x5... The grid is a 4x5 but the search bar still remains (see screen) I changed layout-port/search_bar.xml relative layout height to 0.0dip and layout-port/launcher.xml com.motorola.homescreen.MotoWorkspace> padding top to 0.0dip... I looked through the smali for what is mentioned in this but couldn't find what was mentioned... I'm not sure if it's due to all this being done in es file explorer and Axel or if its not there but any input is appreciated..thank you kindly for your time
Edit: just tried removing velvet.apk from priv-app and it still remains
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Did you try the smali edits that are in the link you provided? They're not in Java, so I don't know what was changed other then the smali edits that where shown. If you want to try, here are the edits(?) but they may not work.
Code:
Homescreen.apk / smali / com / motorola / homescreen / Launcher
Look for - Line 8820
Code:
.method private updateGlobalSearchIcon(Landroid/graphics/drawable/Drawable$ConstantState;)V
Replace this
Code:
.method private updateGlobalSearchIcon(Landroid/graphics/drawable/Drawable$ConstantState;)V
.locals 3
.prologue
const v2, 0x7f0e009e
.line 4930
const v0, 0x7f0e00a0
invoke-virtual {p0, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
move-result-object v0
.line 4931
invoke-virtual {p0, v2}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
move-result-object v1
.line 4932
invoke-direct {p0, v2, p1}, Lcom/motorola/homescreen/Launcher;->updateButtonWithDrawable(ILandroid/graphics/drawable/Drawable$ConstantState;)V
.line 4933
if-eqz v0, :cond_0
if-eqz v1, :cond_0
.line 4934
invoke-direct {p0, v0, v1}, Lcom/motorola/homescreen/Launcher;->invalidatePressedFocusedStates(Landroid/view/View;Landroid/view/View;)V
.line 4936
:cond_0
return-void
.end method
With this
Code:
.method private updateGlobalSearchIcon(Landroid/graphics/drawable/Drawable$ConstantState;)V
.locals 1
.prologue
.line 4932
const v0, 0x7f0e009e
invoke-direct {p0, v0, p1}, Lcom/motorola/homescreen/Launcher;->updateButtonWithDrawable(ILandroid/graphics/drawable/Drawable$ConstantState;)V
.line 4936
:cond_0
return-void
.end method
@ezknives just wanted to share that several times Homes creek has stopped responding and restarts itself after the pop-up.
Do you experience this as well?
Sent from my XT907 using XDA-FORUM, powered by appyet.com
stras1234 said:
@ezknives just wanted to share that several times Homes creek has stopped responding and restarts itself after the pop-up.
Do you experience this as well?
Sent from my XT907 using XDA-FORUM, powered by appyet.com
Click to expand...
Click to collapse
No I haven't had a foreclosure yet... I'm going to make the changes to the smali later on tonight and try to make the app drawer transparent and upload the zip to themes and apps section... The app itself has been deodexed I'm not sure if having the odex file there would cause issues or not... You could try renaming the homescreen.odex to homescreen.bak to see if that helps you can always change it back to .odex...
Sent from my XT907 using XDA Premium 4 mobile app
ezknives said:
No I haven't had a foreclosure yet... I'm going to make the changes to the smali later on tonight and try to make the app drawer transparent and upload the zip to themes and apps section... The app itself has been deodexed I'm not sure if having the odex file there would cause issues or not... You could try renaming the homescreen.odex to homescreen.bak to see if that helps you can always change it back to .odex...
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i thought of that, but wasnt sure. im glad you mentioned it! now ill go try it
stras1234 said:
i thought of that, but wasnt sure. im glad you mentioned it! now ill go try it
Click to expand...
Click to collapse
Are you still having issues with it... I made the smali edits if you want it.... I haven't uploaded it yet can't get all of the app drawer transparent... The only part that's transparent is the bottom half inch just shows the dock... I wanted the post all versions of it but it's not looking like I'm going to be able to upload the transparent dock version
Sent from my XT907 using XDA Premium 4 mobile app
ezknives said:
Are you still having issues with it...
Click to expand...
Click to collapse
nope! 48 hours not a single homescreen FC since i froze the odex. i even thought i had a reproducible scenraio and it no longer happens. im happy.
this is a great solution. keep up the good work

[GUIDE] All weather effect on LockScreen - G3

Enable all weather effect on LockScreen - G3
Clear effect, Rainy effect, Snowy effect, Cloudy effect and Thunder effect.
Decompile file priv-app/LGKeyguard.apk
Edit com/lge/effect/weather/WeatherEffect.smali,
Method .method public static getWeather()I
Find
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_2
.line 89
[B][COLOR="Red"]const/4 v2, 0x0[/COLOR][/B]
goto :goto_0
.line 91
:cond_2
const/4 v2, 0x3
.line 93
goto :goto_0
Replace with
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_2
.line 89
[COLOR="red"][B]const/4 v2, 0x3[/B][/COLOR]
goto :goto_0
.line 91
:cond_2
const/4 v2, 0x3
.line 93
goto :goto_0
Find
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_3
.line 97
[COLOR="red"][B]const/4 v2, 0x0[/B][/COLOR]
goto :goto_0
.line 99
:cond_3
const/4 v2, 0x4
.line 101
goto :goto_0
Replace with
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_3
.line 97
[B][COLOR="red"]const/4 v2, 0x4[/COLOR][/B]
goto :goto_0
.line 99
:cond_3
const/4 v2, 0x4
.line 101
goto :goto_0
Compile LGKeyguard.apk, replace to priv-app and give permission 644
Remove LGKeyguard.odex and reboot.
Good luck.
My other mods:
[GUIDE] All weather effect on LockScreen - G3
[GUIDE] All LockScreen Effect on G3
If you like my work, click here to buy me a beer.
Source: http://lgviet.com/forum/threads/26145/
@Fauert @cnn888 @zone23
Please, can you make this mod apk file?
Or you can download it from the Zone Rom OP.
Sent from my LG-D851 using Tapatalk
Skizzy034 said:
Or you can download it from the Zone Rom OP.
Sent from my LG-D851 using Tapatalk
Click to expand...
Click to collapse
I don't see a ROM called Zone Rom anywhere in this subforum.
followed the instruction, decompiling the file (deodexed first ofcourse), editting the smali file, recompiling the finally copy back the apk into priv-app. set the permission and reboot. i got endless systemui fc upon locking the phone on signed apk, and no lockscreen on unsigned.
file size is also very different. 31mb on uneditted, and 26mb on editted. is there any small trick of doing it?
is there anyone successfully doing this? can i just have the compiled apk for 10i please?
RED ZMAN said:
I don't see a ROM called Zone Rom anywhere in this subforum.
Click to expand...
Click to collapse
T-Mobile android development.
Sent from my LG-D851 using Tapatalk
Skizzy034 said:
Or you can download it from the Zone Rom OP.
Sent from my LG-D851 using Tapatalk
Click to expand...
Click to collapse
Or here (with Zone's permission, worked credited):
http://forum.xda-developers.com/sho... TO][VS985] All Weather Effects on Lockscreen
LG G3 flies faster than a G6
OG RAZR XT912 got 4.4 before S4
Don't sign apk.
cnn888 said:
followed the instruction, decompiling the file (deodexed first ofcourse), editting the smali file, recompiling the finally copy back the apk into priv-app. set the permission and reboot. i got endless systemui fc upon locking the phone on signed apk, and no lockscreen on unsigned.
file size is also very different. 31mb on uneditted, and 26mb on editted. is there any small trick of doing it?
is there anyone successfully doing this? can i just have the compiled apk for 10i please?
Click to expand...
Click to collapse
You don't need to deodex .
Perfect funcional Bro. Made it following your guide on my .10i D855.
When you have time write other mods you know using same method you used here.
Thanks
wolfgart said:
Perfect funcional Bro. Made it following your guide on my .10i D855.
When you have time write other mod you know using same method you used here.
Thanks
Inviato dal mio LG-D855 utilizzando Tapatalk
Click to expand...
Click to collapse
can u share your apk? im on d855 v10i too
ehmjay said:
can u share your apk? im on d855 v10i too
Click to expand...
Click to collapse
For all you guys on .10i D855
https://mega.co.nz/#!UZhihajb!OxZ4oEwX1saB0RvEapsAbEYRTcteZhk3pNl7NoPqhXQ
thanks for this awesome guide..
full weather effects is awesome bro
you deserved more thanks
wolfgart said:
For all you guys on .10i D855
https://mega.co.nz/#!UZhihajb!OxZ4oEwX1saB0RvEapsAbEYRTcteZhk3pNl7NoPqhXQ
Click to expand...
Click to collapse
Thank you so much. Worked Perfect and looked beautiful.
hoangnova said:
@Fauert @cnn888 @zone23
Click to expand...
Click to collapse
Thanks a lot...
ins5736 said:
Or here (with Zone's permission, worked credited):
http://forum.xda-developers.com/sho... TO][VS985] All Weather Effects on Lockscreen
LG G3 flies faster than a G6
OG RAZR XT912 got 4.4 before S4
Click to expand...
Click to collapse
So does this one work for Verizon? Any special instructions to run that with our stock rom?
lg g3 f400s is does not work pls help.thx
Anyone try this on the D850?
wolfgart said:
For all you guys on .10i D855
https://mega.co.nz/#!UZhihajb!OxZ4oEwX1saB0RvEapsAbEYRTcteZhk3pNl7NoPqhXQ
Click to expand...
Click to collapse
Thanks wolfgart

[TUTORIAL] How to add Emoji support to Xperia Keyboards.

Introduction
As you know the emoji are only working if you are using KitKat rom normally.
Today I will show you how to edit the International Xperia Keyboard to be able to use emoji also with Jelly Bean rom.
Tutorial
Download latest Xperia Keyboard, there are a lot available on the forum.
Decompile it with apktool as usual (I won't explain how to use apktool).
Open smali/com/sonyericsson/textinput/uxp/configuration/TextInputRequirements.smali
Search this method:
Code:
.method private getSymbolsType(Landroid/content/res/Resources;)Ljava/lang/String;
In that method replace the word smiley by emoji like this:
Code:
.method private getSymbolsType(Landroid/content/res/Resources;)Ljava/lang/String;
.locals 2
.param p1, "res" # Landroid/content/res/Resources;
.prologue
.line 222
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x13
if-lt v0, v1, :cond_0
.line 228
const v0, 0x7f0a0003
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
move-result-object v0
.line 230
:goto_0
return-object v0
:cond_0
const-string v0, "[COLOR="Green"]emoji[/COLOR]"
goto :goto_0
.end method
Recompile and sign apk
Done
Done
thanks
Emoji color still unsupported bro?
nice share
i wanted this tutorial
:victory:
I cant recompile textinput-tng.apk 6.4.a.1.52 again, can help me? I use xperia sp 4.3.
SquadXPERIA said:
I cant recompile textinput-tng.apk 6.4.a.1.52 again, can help me? I use xperia sp 4.3.
Click to expand...
Click to collapse
http://www.mediafire.com/download/5t85fx4yll1tcza/textinput-tng.apk
Ben Ling said:
http://www.mediafire.com/download/5t85fx4yll1tcza/textinput-tng.apk
Click to expand...
Click to collapse
Thanks my Bro
following this tutorial I can get the colorful emoticons that neither the xperia ZL?
Try this and colourful emojis may appear: http://forum.xda-developers.com/showthread.php?t=2563757
Mr_Bartek said:
Try this and colourful emojis may appear: http://forum.xda-developers.com/showthread.php?t=2563757
Click to expand...
Click to collapse
Work only for kitkat..not for Jb broo
osa_misuari said:
Work only for kitkat..not for Jb broo
Click to expand...
Click to collapse
Yeah I has tried it and emoji not showing
i have use xperia international keyboard with emoji on my XP with JB 4.1.2
but inside the game like CoC the emoji icon is not eppear.
bulu_bulu said:
i have use xperia international keyboard with emoji on my XP with JB 4.1.2
but inside the game like CoC the emoji icon is not eppear.
Click to expand...
Click to collapse
Thats from game, not keyboard.
XS Jb 4.1 emoji not coming in color icons??

Categories

Resources