Hi! Here is small guide, how to remove toast message "Connected to Wi-Fi network blablabla".
Decompile "SecSettings.apk" and navigate to file "smali\com\android\settings\wifi\WifiStatusReceiver.smali"
Find this code:
Code:
.line 194
invoke-virtual {v3}, Landroid/widget/Toast;->getView()Landroid/view/View;
move-result-object v1
const v4, 0x102000b
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/TextView;
.line 195
const/16 v4, 0x11
invoke-virtual {v1, v4}, Landroid/widget/TextView;->setGravity(I)V
.line 196
[COLOR="Red"]invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
goto :goto_1a3
and change red part to:
Code:
[COLOR="Red"]#invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
Ok, thats all. Save, recompile, copy back to phone and restart.
here again:
very good work somin
works like a charm, no annoying popups anymore
JackoMJ
somin.n said:
Hi! Here is small guide, how to remove toast message "Connected to Wi-Fi network blablabla".
Decompile "SecSettings.apk" and navigate to file "smali\com\android\settings\wifi\WifiStatusReceiver.smali"
Find this code:
Code:
.line 194
invoke-virtual {v3}, Landroid/widget/Toast;->getView()Landroid/view/View;
move-result-object v1
const v4, 0x102000b
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/TextView;
.line 195
const/16 v4, 0x11
invoke-virtual {v1, v4}, Landroid/widget/TextView;->setGravity(I)V
.line 196
[COLOR="Red"]invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
goto :goto_1a3
and change red part to:
Code:
[COLOR="Red"]#invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
Ok, thats all. Save, recompile, copy back to phone and restart.
Click to expand...
Click to collapse
What program can I use to decompile the apk?
trueking7 said:
What program can I use to decompile the apk?
Click to expand...
Click to collapse
Here is planty of tutorial on forum, just try to search
somin.n said:
Here is planty of tutorial on forum, just try to search
Click to expand...
Click to collapse
Nice one somin, I'll try it if I get back to home.
limyuyang said:
Nice one somin, I'll try it if I get back to home.
Click to expand...
Click to collapse
I tested apktools and TMA (Tickle my Android) and the best is TMA from Ticklefish- you can find it HERE.
Have fun!
JackoMJ said:
I tested apktools and TMA (Tickle my Android) and the best is TMA from Ticklefish- you can find it HERE.
Have fun!
Click to expand...
Click to collapse
I'm using to tickle my android too, its the easiest tool for me.
JackoMJ said:
I tested apktools and TMA (Tickle my Android) and the best is TMA from Ticklefish- you can find it HERE.
Have fun!
Click to expand...
Click to collapse
How come I don't have this code under the line 196 ?
Code:
invoke-virtual {v3}, Landroid/widget/Toast;->show()V
I fave decompiled all these files, but still I can't find the invoke-virtual {v3}, Landroid/widget/Toast;->show()V
limyuyang said:
How come I don't have this code under the line 196 ?
Code:
invoke-virtual {v3}, Landroid/widget/Toast;->show()V
Click to expand...
Click to collapse
you must search this in your editor:
invoke-virtual {v3}, Landroid/widget/Toast;->show()V
Click to expand...
Click to collapse
or just
Landroid/widget/Toast;->show()V
Click to expand...
Click to collapse
in my file it is also not line 196
JackoMJ said:
you must search this in your editor:
or just
in my file it is also not line 196
Click to expand...
Click to collapse
After using search, still can't find it.
I tried to search
Code:
Landroid/widget/Toast;->show()V
It shows 8 matches, but none of these are the same as the code.
limyuyang said:
It shows 8 matches, but none of these are the same as the code.
Click to expand...
Click to collapse
can you send me your secsettings.apk and framework-res.apk to have a look?
JackoMJ said:
can you send me your secsettings.apk and framework-res.apk to have a look?
Click to expand...
Click to collapse
Sure. But my computer doesn't allow me to upload those files.
I'll upload to another site. Hold on.
Edit: https://www.dropbox.com/s/zwqa7zg55s8s9bh/frame+sec.rar
limyuyang said:
Sure. But my computer doesn't allow me to upload those files.
I'll upload to another site. Hold on.
Edit: https://www.dropbox.com/s/zwqa7zg55s8s9bh/frame+sec.rar
Click to expand...
Click to collapse
make a nandroid backup.
copy secsettings.apk to device
SecSettings
JackoMJ said:
make a nandroid backup.
copy secsettings.apk to device
SecSettings
Click to expand...
Click to collapse
Thanks ! It works. How do you made it actually ? How do you find those words?
you´re welcome.
limyuyang said:
Thanks ! It works. How do you made it actually ? How do you find those words?
Click to expand...
Click to collapse
JackoMJ said:
you´re welcome.
Click to expand...
Click to collapse
Wow, but I thought the code is different from somin 's ? Look at somin code, it's v3, and the screenshot u gave me is v4.
Can anyone make an xposed module for this? This is awesome!
Is there a way you can hide it on ics when you click on time
Sent from my GT-I8190 using Tapatalk
truemagic said:
Can anyone make an xposed module for this? This is awesome!
Click to expand...
Click to collapse
This mod is so easy, that it doesn't need xposed module Anyway, I can't do it
robindebruin said:
Is there a way you can hide it on ics when you click on time
Click to expand...
Click to collapse
Sorry, don't know what you mean? Don't have ICS device and don't know what happan if you click time
somin.n said:
Hi! Here is small guide, how to remove toast message "Connected to Wi-Fi network blablabla".
Decompile "SecSettings.apk" and navigate to file "smali\com\android\settings\wifi\WifiStatusReceiver.smali"
Find this code:
Code:
.line 194
invoke-virtual {v3}, Landroid/widget/Toast;->getView()Landroid/view/View;
move-result-object v1
const v4, 0x102000b
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/TextView;
.line 195
const/16 v4, 0x11
invoke-virtual {v1, v4}, Landroid/widget/TextView;->setGravity(I)V
.line 196
[COLOR="Red"]invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
goto :goto_1a3
and change red part to:
Code:
[COLOR="Red"]#invoke-virtual {v3}, Landroid/widget/Toast;->show()V[/COLOR]
Ok, thats all. Save, recompile, copy back to phone and restart.
Click to expand...
Click to collapse
Thank you!
Related
Hey all, this is my first mod, but it was driving me crazy that the stock samsung keyboard didn't support auto-correct - and the timeout delay was way too long.
I'm working on an auto-patcher in the next couple of days.
EDIT:
I attached the APK: /system/app/
Make sure to set the proper permissions, then reboot.
The code changed is below
Here's a first stab at fixing both, would love some feedback.
1. To change the long press delay
In PointerTracker:
Code:
###################################################
# Change the long press delay to 200ms from 500ms #
###################################################
.line 498
const/16 v0, 0xc8
.line 499
.local v0, delay:I
packed-switch p1, :pswitch_data_0
.line 504
const/16 v0, 0xc8
.line 507
:goto_0
int-to-long v1, v0
return-wide v1
.line 501
:pswitch_0
const/16 v0, 0xc8
2. To add auto-correct
In SwiftkeyQwertyLatinInputModule
Code:
.line 312
:cond_3
##################################################
# Add support for auto-correct on word separator #
##################################################
#check if the user has entered text
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
move-result v7
if-lez v7, :cond_10
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-interface {v7, v8, v9}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getCharSequence(Ljava/lang/StringBuilder;I)I
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->updateSuggestion()V
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->setComposingText()V
##################################################
# End support for auto-correct on word separator #
##################################################
#move clearCandidateList from beginning of processWordSeparator to after we do correct
:cond_10
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->clearCandidateList()V
#code below is not changed - just for reference
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mCandidates:Ljava/util/ArrayList;
invoke-interface {v7, v8}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getSuggestion(Ljava/util/ArrayList;)I
.line 313
Looks very promising! As I don´t know where to add the code, I´m patiently waiting for your patcher!
Looking forward for patcher or flashable zip... Thank you for sharing
Or even an APK that can be installed as a keyboard itself for the people that aren't Rooted :$
Would love to see a flashable mod here, thanks
Sent from a potato.
This would be awesome as an "Xposed" framework apk. No need to bake into other roms.
Not sure if you have seen the below link.
http://forum.xda-developers.com/showthread.php?t=1574401
Here are some other examples of "patches". I'm using this on stock rooted.
Multiwindow apk:
http://forum.xda-developers.com/showthread.php?t=2048668
Per App DPI apk:
http://forum.xda-developers.com/showthread.php?t=2067303
Yeah! I actually originally started by trying Xposed - in fact, I'll send you the Xposed module I built for changing the timeout delay - it didn't work though! I might have followed an outdated tutorial, but I kept banging my head against the wall trying to get Xposed to work, when it was just a simple smali change.
For the auto-correct, I'm not entirely sure how I would do it in exposed. I don't want to necessarily replace a method, I need to hook in at a precise execution point. How would I do that?
ultra74 said:
This would be awesome as an "Xposed" framework apk. No need to bake into other roms.
Not sure if you have seen the below link.
http://forum.xda-developers.com/showthread.php?t=1574401
Here are some other examples of "patches". I'm using this on stock rooted.
Multiwindow apk:
http://forum.xda-developers.com/showthread.php?t=2048668
Per App DPI apk:
http://forum.xda-developers.com/showthread.php?t=2067303
Click to expand...
Click to collapse
I cant wait to try this out. Samsung innovated so much with this phone its a shame they couldnt add this in too.
eclipxe said:
Yeah! I actually originally started by trying Xposed - in fact, I'll send you the Xposed module I built for changing the timeout delay - it didn't work though! I might have followed an outdated tutorial, but I kept banging my head against the wall trying to get Xposed to work, when it was just a simple smali change.
For the auto-correct, I'm not entirely sure how I would do it in exposed. I don't want to necessarily replace a method, I need to hook in at a precise execution point. How would I do that?
Click to expand...
Click to collapse
That would be cool. I'm just a noob programmer, but I would like to take a look at what you have and see what I can do.
Thanks!
zkyevolved said:
Or even an APK that can be installed as a keyboard itself for the people that aren't Rooted :$
Click to expand...
Click to collapse
I uploaded the APK - give it a try and let me know how it works for you guys. Open to suggestions. Also working on the patcher in case you wanted to customize it.
eclipxe said:
I uploaded the APK - give it a try and let me know how it works for you guys. Open to suggestions. Also working on the patcher in case you wanted to customize it.
Click to expand...
Click to collapse
Awesome job. Seems to work well I guess. . Never understood the whole auto Correction. . But if it type rscue it will change it to rescue auto magically. .
Sent from my SPH-L900 using Xparent Purple Tapatalk 2
failed to install for me... I guess it might be due to the fact that mine is ATT version. I wanna try this mod so bad though....
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
lehoi79 said:
failed to install for me... I guess it might be due to the fact that mine is ATT version. I wanna try this mod so bad though....
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
Did you drop into /system/app then set permissions on it? Shouldn't need to actually install, just reboot.
eclipxe said:
Hey all, this is my first mod, but it was driving me crazy that the stock samsung keyboard didn't support auto-correct - and the timeout delay was way too long.
I'm working on an auto-patcher in the next couple of days.
EDIT:
I attached the APK: /system/app/
Make sure to set the proper permissions, then reboot.
The code changed is below
Here's a first stab at fixing both, would love some feedback.
1. To change the long press delay
In PointerTracker:
Code:
###################################################
# Change the long press delay to 200ms from 500ms #
###################################################
.line 498
const/16 v0, 0xc8
.line 499
.local v0, delay:I
packed-switch p1, :pswitch_data_0
.line 504
const/16 v0, 0xc8
.line 507
:goto_0
int-to-long v1, v0
return-wide v1
.line 501
:pswitch_0
const/16 v0, 0xc8
2. To add auto-correct
In SwiftkeyQwertyLatinInputModule
Code:
.line 312
:cond_3
##################################################
# Add support for auto-correct on word separator #
##################################################
#check if the user has entered text
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
move-result v7
if-lez v7, :cond_10
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
invoke-interface {v7, v8, v9}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getCharSequence(Ljava/lang/StringBuilder;I)I
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->updateSuggestion()V
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->setComposingText()V
##################################################
# End support for auto-correct on word separator #
##################################################
#move clearCandidateList from beginning of processWordSeparator to after we do correct
:cond_10
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->clearCandidateList()V
#code below is not changed - just for reference
iget-object v7, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
iget-object v8, p0, Lcom/diotek/ime/framework/input/AbstractInputModule;->mCandidates:Ljava/util/ArrayList;
invoke-interface {v7, v8}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getSuggestion(Ljava/util/ArrayList;)I
.line 313
Click to expand...
Click to collapse
Can u make the long press a lil shorter like 140ms ? And turn off the auto correct lol I can't type half the stuff I'm trying to. Is there a user dictionary?
Sent from my SPH-L900 using Tapatalk 2
eclipxe said:
Did you drop into /system/app then set permissions on it? Shouldn't need to actually install, just reboot.
Click to expand...
Click to collapse
I guess I have to be rooted in order to do thissince this is a system app. I will try it tonight when I get home.
Thanks for the help.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Yes, the only problem is that under about 200ms, Swyping no longer works!
eclipxe said:
Yes, the only problem is that under about 200ms, Swyping no longer works!
Click to expand...
Click to collapse
Damn nvm then lol thanks tho
Sent from my SPH-L900 using Tapatalk 2
eclipxe said:
Did you drop into /system/app then set permissions on it? Shouldn't need to actually install, just reboot.
Click to expand...
Click to collapse
Write,read,read...is that correct? It doesnt work for me yet (crashes)...
can we possibly get a dpi 240 version? pllllzzzzz? lol
dropped the apk in the system/app, rebooted (wiped cache, delvik cache)... crashed at opening the keyboard.
Im on ATT 4.1.2 stock rooted.
do I need to be on deodex ROM?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
[MOD][GUIDE] Device Status Info "Normal" Instead Of "Modified" Mod!
Hello to all Developers and XDA members! I have come here to give you a guide on how you can change the device status info from "Modified" to "Normal" and here is how you can do it!
What Is Required...
★ First you need to have experience and know how to decompile/recompile apks with Apktools, apkmanager, smali, and baksmali
★ Have 7-zip installed onto your computer/laptop
★ Make sure you have Notepad++ also installed!
★HOW TO CHANGE THE DEVICE STATUS INFO FROM "MODIFIED" TO "NORMAL"★
WHAT DOES THIS MOD DO: Instead Of The Device Status Showing As "Modified" It Now Shows As "Normal". So Now The Custom Rom Can Look More Like It's Stock.
STEP 1
★ Go into your system/app folder and take out your "SecSettings.apk"
★ Then use one of the applications such as apktools or apkmanager and then use the commands to decompile the SecSettings.apk
★ Once you have decompiled the SecSettings.apk, navigate and go to:
smali/com/android/settings/deviceinfo/Status.smali
Click to expand...
Click to collapse
Now open up "Status.smali" with Notepad++ for editing:
Now for this part of this guide what I have highlighted in GREEN text is what you have to find using Notepad++, What you see in RED is the line you have to remove/delete, And also what you see in BLUE is the line you have to make the modified changes to:
SEARCH FOR METHOD:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
NOW REMOVE THIS WHOLE ENTIRE LINE THAT YOU SEE IN RED ALL THE WAY DOWN TO THE .END METHOD:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
[COLOR="Red"].locals 7
.prologue
const-wide/16 v3, 0x3e8
const v6, 0x7f090129
const/4 v5, -0x1
.line 827
const-string v0, "sysscope_status"
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
move-result-object v2
.line 829
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
div-long/2addr v0, v3
.line 830
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
div-long/2addr v0, v3
.line 832
const-wide/16 v3, 0x0
cmp-long v3, v0, v3
if-nez v3, :cond_0
.line 833
const-wide/16 v0, 0x1
.line 836
:cond_0
iget-object v3, p0, Lcom/android/settings/deviceinfo/Status;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;
invoke-virtual {v3}, Lcom/sec/android/app/sysscope/service/SysScope;->isConnected()Z
move-result v3
if-nez v3, :cond_1
const-wide/16 v3, 0x78
cmp-long v0, v0, v3
if-lez v0, :cond_1
.line 837
invoke-virtual {p0, v6}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
.line 854
:goto_0
invoke-virtual {v2, v0}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
.line 855
return-void
.line 840
:cond_1
:try_start_0
iget-object v0, p0, Lcom/android/settings/deviceinfo/Status;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;
invoke-virtual {v0}, Lcom/sec/android/app/sysscope/service/SysScope;->getLastScanResult()Lcom/sec/android/app/sysscope/service/SysScopeResultInfo;
move-result-object v0
invoke-virtual {v0}, Lcom/sec/android/app/sysscope/service/SysScopeResultInfo;->getResult()I
move-result v0
iput v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 845
:goto_1
iget v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
const/4 v1, 0x2
if-ne v0, v1, :cond_2
.line 846
invoke-virtual {p0, v6}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.line 841
:catch_0
move-exception v0
.line 842
iput v5, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
goto :goto_1
.line 847
:cond_2
iget v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
if-ne v0, v5, :cond_3
.line 848
const v0, 0x7f09012a
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.line 850
:cond_3
const v0, 0x7f09012a
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.end method[/COLOR]
AND THEN ADD THIS ENTIRE NEW METHOD RIGHT UNDER TO THE METHOD YOU HAVE SEARCHED FOR IN GREEN:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
[COLOR="Blue"].locals 2
const-string v0, "sysscope_status"
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
move-result-object v0
const v1, 0x7f090128 #sysscope_normal
invoke-virtual {p0, v1}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
return-void
.end method
[/COLOR]
STEP 2
I have added a hashtag which is #sysscope_normal from the new method you have to add from above that I have highlighted in BLUE. For your next step on how you can find your public id which mines in this guide is 0x7f090128 for sysscope_normal since for other carriers your public id might be different. To find yours here is how...
Once your "SecSettings.apk" is decompiled head to:
res/values/public.xml
Click to expand...
Click to collapse
Now open up "public.xml" with Notepad++:
Now for this part what I have highlighted in GREEN text is what you have to find using Notepad++, What you see in BLUE is the line you have to look at to get your sysscope_normal public string id:
SEARCH FOR PUBLIC STRING:
Code:
[COLOR="Green"]<public type="string" name="sysscope_normal"[/COLOR]
My syscope_normal public string id for T-Mobile is what you see in BLUE:
Code:
[COLOR="Green"]<public type="string" name="sysscope_normal" id="[/COLOR][COLOR="Blue"]0x7f090128[/COLOR][COLOR="Green"]" />[/COLOR]
If your sysscope_normal public string id is different than mines, what your going to need to do is copy your public string id that's different, and then paste it over the the public id right next to #sysscope_normal from the entire new method that you have added that is highlighted in BLUE from STEP 1.
Now once your done with modifying the "Status.smali" and checking that you have the right public id, Save your Notepad changes, Recompile your SecSettings.apk using apktool or smali commands and your DONE! You should now head to "Settings - About device - Status" and where it says "Device Status" It should now say "Normal" Instead Of "Modified"!... ENJOY!
REMINDER...
Remember this works for all S3 Devices on all carriers T-Mobile, ATT, Verizon, Sprint, And Etc!
Oh man.... this.... this is freaking awesome! You rock Jovy! Amazing job as always man. So adding to my next update. Thanks bro.
nice find! :good:
I have think there is a typo in step one, you said to decompile SecMms.apk, I believe you meant SecSettings
Sent from my Galaxy Note 10.1!
Jamison904 said:
Oh man.... this.... this is freaking awesome! You rock Jovy! Amazing job as always man. So adding to my next update. Thanks bro.
Click to expand...
Click to collapse
Thanks bro! Enjoy the mod its great implementing this mod on any modified rom, the modified rom now acts as if its a real stock rom since it is now "Normal"! :good:
Sent from my SGH-T999 using Tapatalk 2
semorebutts123 said:
nice find! :good:
Click to expand...
Click to collapse
Thanks! :good:
Sent from my SGH-T999 using Tapatalk 2
Great job bro!!! I have been waiting for something like this for a while.... Your instructions are on point and easy to follow. Thanks for your dedication man.
LoopDoGG79 said:
I have think there is a typo in step one, you said to decompile SecMms.apk, I believe you meant SecSettings
Sent from my Galaxy Note 10.1!
Click to expand...
Click to collapse
Oops thanks for the heads up I have just fixed it and also to let everyone know I have updated the OP with a Reminder for the people who have a S3 device on another carrier...
prototype.77 said:
Great job bro!!! I have been waiting for something like this for a while.... Your instructions are on point and easy to follow. Thanks for your dedication man.
Click to expand...
Click to collapse
Your welcome bro. :good:
Sent from my SGH-T999 using Tapatalk 2
Damn Jovy you always find the best tweaks! Great job man. Will try it and install Isis wallet
One question though, Will this let your phone search for updates or OTA when their out? And not say your device is modded anymore
gypsy214 said:
Damn Jovy you always find the best tweaks! Great job man. Will try it and install Isis wallet
One question though, Will this let your phone search for updates or OTA when their out? And not say your device is modded anymore
Click to expand...
Click to collapse
Im not sure since i always remove/hide the firmware update setting from my roms so i cant test that part out hopefully someone could post and let me know, but imo it shouldnt ask for firmware OTA updates if the developer has already removed the specific apk files that has to do with anything about checking/searching for OTA updates.
Sent from my SGH-T999 using Tapatalk 2
jovy23 said:
Im not sure since i always remove/hide the firmware update setting from my roms so i cant test that part out hopefully someone could post and let me know, but imo it shouldnt ask for firmware OTA updates if the developer has already removed the specific apk files that has to do with anything about checking/searching for OTA updates.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Well every now and then I like to go completely stock. Was just wondering if with this method it will actually notify when there is an update. Will go flash the stock ROM with a previous firmware and this and see if it happens.
Was just wondering
Nice work and find bro!
sbreen94 said:
Nice work and find bro!
Click to expand...
Click to collapse
Thanks man! Enjoy... :good:
Shows normal but apps that check for root like media hub still won't work.
Sent from my SGH-T999 using xda premium
Great job! I'll be sure and add the credit to the how-to here. Oh wait..how did the date on this thread? Definitely something weird....
http://forum.xda-developers.com/showthread.php?t=2192199
digiblur said:
Great job! I'll be sure and add the credit to the how-to here. Oh wait..how did the date on this thread? Definitely something weird....
http://forum.xda-developers.com/showthread.php?t=2192199
Click to expand...
Click to collapse
lol nice work digiblur! I added your mod to my rom and it worked great! I will be giving you credit in my op for making the mod
Thanx for sharing
Hey Jovy. I love the ROM. X2 is definitely a beast. After I flashed the mod for normal status, it shows normal but I still can't play content from media hub or connect via all share cast. Any help would be greatly appreciated being that I would like to use this awesome ROM and view on big screen via all share cast.
Sent from my SGH-T999 using xda premium
seshaz said:
Shows normal but apps that check for root like media hub still won't work.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Media Hub does work with root. I'm rooted stock right now and I have a working media hub. as long as device status is "normal" media hub should work fine.
christucker97 said:
Hey Jovy. I love the ROM. X2 is definitely a beast. After I flashed the mod for normal status, it shows normal but I still can't play content from media hub or connect via all share cast. Any help would be greatly appreciated being that I would like to use this awesome ROM and view on big screen via all share cast.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
It's because it is a cosmetic change only.
Sent from my little Note2
Hai XDA. I just want share little guide and very simple
How to full lockscreen/ hide statusbar on lockscreen,
Lets go to guide
Requirement
Apktool
Notepad
android.policy.jar
Decompile your android.policy.jar
Go to : smali\com\android\internal\policy\impl\KeyguardViewManager.smali
find .method public declared-synchronized show()V
and scrool down, find line similiar like this
Code:
const/4 v5, 0x0
invoke-direct {v1, v2, v3, v5}, Lcom/android/internal/policy/impl/KeyguardViewManager$KeyguardViewHost;-><init>(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardViewCallback;Lcom/android/internal/policy/impl/KeyguardViewManager$1;)V
iput-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;
.line 119
const/4 v9, -0x1
.line 120
.local v9, stretch:I
const v4, [COLOR="Red"]0x100800[/COLOR]
.line 125
.local v4, flags:I
iget-boolean v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z
if-nez v1, :cond_2
.line 126
const/high16 v1, 0x2
or-int/2addr v4, v1
see the code I marked in red : 0x100800 and change it to 0x10000504
Save, recompile your android.policy.jar and DONE!!
Happy Modding :highfive:
full lockscreen
you can be edited to me full lockscreen which is not hide statebar
Thanks for the guide its work for me.
kulphat said:
you can be edited to me full lockscreen which is not hide statebar
Click to expand...
Click to collapse
what do you mean full lockscreen which is not hide statebar?
amadeuszxd said:
Thanks for the guide its work for me.
Click to expand...
Click to collapse
You'r welcome
I lock the screen while listening to music with headphones , the music I was lag
I often listen to music and it makes me feel very uncomfortable ... you can not fix it
nice guide mastah
syaeful said:
Hai XDA. I just want share little guide and very simple
How to full lockscreen/ hide statusbar on lockscreen,
Lets go to guide
Requirement
Apktool
Notepad
android.policy.jar
Decompile your android.policy.jar
Go to : smali\com\android\internal\policy\impl\KeyguardViewManager.smali
find .method public declared-synchronized show()V
and scrool down, find line similiar like this
Code:
const/4 v5, 0x0
invoke-direct {v1, v2, v3, v5}, Lcom/android/internal/policy/impl/KeyguardViewManager$KeyguardViewHost;-><init>(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardViewCallback;Lcom/android/internal/policy/impl/KeyguardViewManager$1;)V
iput-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;
.line 119
const/4 v9, -0x1
.line 120
.local v9, stretch:I
const v4, [COLOR="Red"]0x100800[/COLOR]
.line 125
.local v4, flags:I
iget-boolean v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z
if-nez v1, :cond_2
.line 126
const/high16 v1, 0x2
or-int/2addr v4, v1
see the code I marked in red : 0x100800 and change it to 0x10000504
Save, recompile your android.policy.jar and DONE!!
Happy Modding :highfive:
Click to expand...
Click to collapse
nice guide can you make a guide for4.0+ How to create lollipop lockscreen.??:good:
veneetsingh said:
nice guide can you make a guide for4.0+ How to create lollipop lockscreen.??:good:
Click to expand...
Click to collapse
Thanks sir. Maybe not diferent too much with this tut. Just find similiar line.
syaeful said:
Thanks sir. Maybe not diferent too much with this tut. Just find similiar line.
Click to expand...
Click to collapse
i know it is Easy but I am creating lollipop rom for my device and i need help All is done but need only lollipop lockscreen..?
can you help me.?:victory:
thanx sir, nice guide and work great to me :good:
Doctor Be said:
thanx sir, nice guide and work great to me :good:
Click to expand...
Click to collapse
You're welcome
veneetsingh said:
i know it is Easy but I am creating lollipop rom for my device and i need help All is done but need only lollipop lockscreen..?
can you help me.?:victory:
Click to expand...
Click to collapse
Sorry sir... i can't port it
maybe you can use this application,, or port
https://play.google.com/store/apps/details?id=com.hi.locker&hl=en
Nice Guide Dude!
Keep it up :thumbup:
SuperMan(Alex) said:
Nice Guide Dude!
Keep it up :thumbup:
Click to expand...
Click to collapse
Thanks :highfive:
inquiry
syaeful said:
Hai XDA. I just want share little guide and very simple
How to full lockscreen/ hide statusbar on lockscreen,
Lets go to guide
Requirement
Apktool
Notepad
android.policy.jar
Decompile your android.policy.jar
Go to : smali\com\android\internal\policy\impl\KeyguardViewManager.smali
find .method public declared-synchronized show()V
and scrool down, find line similiar like this
Code:
const/4 v5, 0x0
invoke-direct {v1, v2, v3, v5}, Lcom/android/internal/policy/impl/KeyguardViewManager$KeyguardViewHost;-><init>(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardViewCallback;Lcom/android/internal/policy/impl/KeyguardViewManager$1;)V
iput-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;
.line 119
const/4 v9, -0x1
.line 120
.local v9, stretch:I
const v4, [COLOR="Red"]0x100800[/COLOR]
.line 125
.local v4, flags:I
iget-boolean v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z
if-nez v1, :cond_2
.line 126
const/high16 v1, 0x2
or-int/2addr v4, v1
see the code I marked in red : 0x100800 and change it to 0x10000504
Save, recompile your android.policy.jar and DONE!!
Happy Modding :highfive:
Click to expand...
Click to collapse
will this work on kitkat firmware?
boszjhiee22 said:
will this work on kitkat firmware?
Click to expand...
Click to collapse
not tested sir... maybe different
apktool
I would like to do it but i dont know how to install apktool i did step by step, but i dont kn0ow how to write the code in cmd
Is this guide for JB?
It works!
Thank you so much. Cheers
how to hide status bar in lollipop 5.1.1 lockscreen
Dear friend,
can u help me to edit android policy.jar to remove the status bar in lock screen?
thanks in advance
Hello guys
Happy new Year for first
This is my first tut in This new year 2016
All you need is Deodexed SystemUI.apk and Settings.apk
1. Decompile SystemUI.apk
2. Open SystemUI.apk/smali/com/android/systemui/qs/QSPanel.smali
3. Find this code
Code:
.field private mBrightnessPaddingTop:I
Below that add this code
Code:
.field private mBrightnessSliderEnabled:Z
4. Search for this Method
Code:
.method private setDetailRecord(Lcom/android/systemui/qs/QSPanel$Record;)V
and above that method add this complete method
Code:
.method private isBrightnessSliderEnabled()I
.locals 4
const/4 v3, 0x0
iget-object v0, p0, Lcom/android/systemui/qs/QSPanel;->mContext:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string v1, "brightness_slider_show"
const/4 v2, 0x1
invoke-static {v0, v1, v2}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v0
if-eqz v0, :cond_0
const/4 v3, 0x1
:cond_0
iput-boolean v3, p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessSliderEnabled:Z
return v3
.end method
5. Search for this method
Code:
.method private showDetail(ZLcom/android/systemui/qs/QSPanel$Record;)V
Above that method, add this method
Code:
.method private showBrightnessSlider()Z
.locals 5
const/16 v3, 0x8
const/4 v2, 0x0
const v1, 0x7f10012e
invoke-direct {p0}, Lcom/android/systemui/qs/QSPanel;->isBrightnessSliderEnabled()I
move-result v4
invoke-virtual {p0, v1}, Lcom/android/systemui/qs/QSPanel;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/android/systemui/settings/ToggleSlider;
if-eqz v4, :cond_0
iget-boolean v1, p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessSliderEnabled:Z
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessView:Landroid/view/View;
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
invoke-virtual {v0, v2}, Lcom/android/systemui/settings/ToggleSlider;->setVisibility(I)V
:goto_0
invoke-virtual {p0}, Lcom/android/systemui/qs/QSPanel;->updateResources()V
iget-boolean v1, p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessSliderEnabled:Z
return v1
:cond_0
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessView:Landroid/view/View;
invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V
invoke-virtual {v0, v3}, Lcom/android/systemui/settings/ToggleSlider;->setVisibility(I)V
goto :goto_0
.end method
6. Now Look for this Code
Code:
if-eqz p1, :[COLOR="red"]cond_3[/COLOR]
.line 216
iget-object [COLOR="Red"]v2[/COLOR], p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessController:Lcom/android/systemui/settings/BrightnessController;
Add the code above the .line 216 ( this .line 216 will not be same with all devices )
Code:
invoke-direct {p0}, Lcom/android/systemui/qs/QSPanel;->showBrightnessSlider()Z
move-result [COLOR="red"]v2[/COLOR]
if-eqz [COLOR="red"]v2[/COLOR], :[COLOR="red"]cond_3[/COLOR]
Finally it looks like
Code:
if-eqz p1, [COLOR="blue"]:cond_3[/COLOR]
[COLOR="Red"] invoke-direct {p0}, Lcom/android/systemui/qs/QSPanel;->showBrightnessSlider()Z
move-result [COLOR="blue"]v2[/COLOR]
if-eqz [COLOR="blue"]v2[/COLOR], [COLOR="blue"]:cond_3[/COLOR][/COLOR]
.line 216
iget-object [COLOR="Blue"]v2[/COLOR], p0, Lcom/android/systemui/qs/QSPanel;->mBrightnessController:Lcom/android/systemui/settings/BrightnessController;
After adding that
replace this Public id
<public type="id" name="brightness_slider" id="0x7f10012e" />
6. Now compile the SystemUI.apk and sign it and replace
Now time to add in the settings look for post #2
adding to Settings
Welcome to easy part on adding the option to hide/show in settings
Method 1
1. Decompile the settings.apk
2. Download this View attachment Slider_Settings.zip and merge to your settings
3. Add the below code to your settings ( i had added to my own settings ) and your wish
Code:
<PreferenceScreen android:title="Statusbar Mod" android:key="statusmod" android:fragment="com.android.settings.rz.Statusmod" />
4. Compile it and Decompile and open
Settings.apk/smali/com/android/settings/rz/Statusmod.smali
5. Compare the Public ID and replace it and recompile
6. God you did man,,, now replace and have fun
Method 2
1. Decompile the Settings.apk
2. Download this View attachment settings.zip and merge to your settings
3. Add the below code to your settings ( i had added to my own settings.xml )
you can add in settings.apk/res/xml/Dispaly_settings.xml
HTML:
<com.android.settings.cyanogenmod.SystemSettingSwitchPreference android:title="Brightness Slider" android:key="brightness_slider_show" android:defaultValue="0" android:summaryOn="Brightness Slider Shown" android:summaryOff="Brightness Slider Hidden" />
and then compile/sign and replace your settings
OR
Try download this ROM Control application (View attachment app-release.apk ) where you can Easily control
All you is just install and have fun
Thanks to @daxgirl for the app source
now have fun guys
Thanks to cyanogenmod
Dont Forget to mention me if you used my work
that feels me happy
hello venkat ,
I 've implemented a tutor in, but why every time I switch Brightness Hide its always off if i back from settings..
Can you help me to fix it ???
aNgga - Fe Hung said:
hello venkat ,
I 've implemented a tutor in, but why every time I switch Brightness Hide its always off if i back from settings..
Can you help me to fix it ???
Click to expand...
Click to collapse
thanks for identifying this ( even it works the switch turns off)
i had forgot to define the return value of switch
now its fixed
just replace the settings.zip
and everything will be ok
venkat kamesh said:
thanks for identifying this ( even it works the switch turns off)
i had forgot to define the return value of switch
now its fixed
just replace the settings.zip
and everything will be ok
Click to expand...
Click to collapse
still the same as before ny : ' (
Can you help me bro ??
aNgga - Fe Hung said:
still the same as before ny : ' (
Can you help me bro ??
Click to expand...
Click to collapse
Impossible bro
Try from first if in case
I had tested and many of my team too got it working
venkat kamesh said:
Impossible bro
Try from first if in case
I had tested and many of my team too got it working
Click to expand...
Click to collapse
I try with ur new settings smali and still don't working the switch when I enable and then return to desactivate the switch is unable and don't hide the brightness bar
Bro i think that I found the problem I compare the two smali that u update on the hide show album art and this and are the same maybe u forgot to upload the new
raziel zarafan said:
I try with ur new settings smali and still don't working the switch when I enable and then return to desactivate the switch is unable and don't hide the brightness bar
Click to expand...
Click to collapse
raziel zarafan said:
Bro i think that I found the problem I compare the two smali that u update on the hide show album art and this and are the same maybe u forgot to upload the new
Click to expand...
Click to collapse
No way bro
I had updated both of same file
Tested Moor than enough
If not go through my setting bro
Bin thanks for your tut ! Can you do some tuto with navbar tuning ? Appreciate it
Envoyé de mon E6653 en utilisant Tapatalk
After adding that
replace this Public id
<public type="id" name="brightness_slider" id="0x7f10012e" />
bro i dont understand very well , the public id that i need to replace where i can find the new id , i know to i must open res/xml/public and replace the line that u publish but what new id i must put or where i can find it
raziel zarafan said:
After adding that
replace this Public id
<public type="id" name="brightness_slider" id="0x7f10012e" />
bro i dont understand very well , the public id that i need to replace where i can find the new id , i know to i must open res/xml/public and replace the line that u publish but what new id i must put or where i can find it
Click to expand...
Click to collapse
In the method you have const v1 0x7f10012e
Go to you public.xml and serch for <public type="id" name="brightness_slider, and the public id you have copy and change 0x7f10012e for you public id you copy
dark90 said:
In the method you have const v1 0x7f10012e
Go to you public.xml and serch for <public type="id" name="brightness_slider, and the public id you have copy and change 0x7f10012e for you public id you copy
Click to expand...
Click to collapse
The public id and the const value are the same bro .-. And when I replace the systemui and enable hide it don't work T-T
raziel zarafan said:
The public id and the const value are the same bro .-. And when I replace the systemui and enable hide it don't work T-T
Click to expand...
Click to collapse
You are right i tried and didnt work too
dark90 said:
You are right i tried and didnt work too
Click to expand...
Click to collapse
Maybe something is wrong bro
Not working for me too.. I think some problems with the smali file .. Waiting for OP's replay
raziel zarafan said:
The public id and the const value are the same bro .-. And when I replace the systemui and enable hide it don't work T-T
Click to expand...
Click to collapse
dark90 said:
You are right i tried and didnt work too
Click to expand...
Click to collapse
raziel zarafan said:
Maybe something is wrong bro
Click to expand...
Click to collapse
Rajeev said:
Not working for me too.. I think some problems with the smali file .. Waiting for OP's replay
Click to expand...
Click to collapse
Brothers every thing is working
I had already provided my settings
May be issue from settings
I will provide rom control app
Sure it helps you
venkat kamesh said:
Brothers every thing is working
I had already provided my settings
May be issue from settings
I will provide rom control app
Sure it helps you
Click to expand...
Click to collapse
Already compared ur settings and all bro. Not working..
Rajeev said:
Already compared ur settings and all bro. Not working..
Click to expand...
Click to collapse
Don't worry brother
I already had alternate for this to work
On all switch properties tuts of mine
Now just a moment back I fixed my pc
Once done I will update threads
dark90 said:
You are right i tried and didnt work too
Click to expand...
Click to collapse
raziel zarafan said:
Maybe something is wrong bro
Click to expand...
Click to collapse
Rajeev said:
Not working for me too.. I think some problems with the smali file .. Waiting for OP's replay
Click to expand...
Click to collapse
Brothers The Tut got updated
with new settings smali
i tough smali will make you confused so not provided
any how there are three ways and now its your wish
1.Smali
2.Smali with no Id
or the app control
[oreo] WifiDisplay fix
WfdService.apk
smali\com\sonymobile\wifidisplay\WFDSessionHelper.smali
Remove red
.method public monitorForegroundApp()V
.locals 3
.prologue
.line 107
const-string/jumbo v0, "user"
sget-object v1, Landroid/os/Build;->TYPE:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/ObjectZ
move-result v0
if-nez v0, :cond_0
.line 108
const-string/jumbo v0, "1"
const-string/jumbo v1, "persist.debug.wfd.appmonitoring"
const-string/jumbo v2, "0"
invoke-static {v1, v2}, Landroid/os/SystemProperties;->get(Ljava/lang/String;Ljava/lang/StringLjava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/ObjectZ
move-result v0
.line 107
if-eqz v0, :cond_0
.line 109
const-string/jumbo v0, "WFDSessionHelper"
const-string/jumbo v1, "Disable foreground application monitoring"
invoke-static {v0, v1}, Lcom/qualcomm/wfd/Log;->d(Ljava/lang/String;Ljava/lang/StringV
.line 110
return-void
.line 113
:cond_0
new-instance v0, Ljava/lang/Thread;
new-instance v1, Lcom/sonymobile/wifidisplay/WFDSessionHelper$1;
invoke-direct {v1, p0}, Lcom/sonymobile/wifidisplay/WFDSessionHelper$1;-><init>(Lcom/sonymobile/wifidisplay/WFDSessionHelperV
invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/RunnableV
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 140
return-void
.end method
Click to expand...
Click to collapse
system\etc\wfdconfig.xml
Modify 1 to 0
<!-- enable HDCP by default -->
<ContentProtection>
<Valid>1</Valid>
<!--
Valid values WFD_HDCP_2_0,
WFD_HDCP_2_1 and WFD_HDCP_2_2
-->
<Version>WFD_HDCP_2_2</Version>
<CPPort>6789</CPPort>
<!--
turn on/off audio encryption
-->
<EncryptAudio>1</EncryptAudio>
</ContentProtection>
Click to expand...
Click to collapse
system\build.prop
Delete persist.debug.wfd.enable=1
Add persist.debug.wfd.appmonitoring=1
What does this fix do?
Hansoliv said:
What does this fix do?
Click to expand...
Click to collapse
WifiDisplay is related to Sony's Mirracast.
If you have an appropriate adaptor, you can stream a duplicate of your phones screen to a TV/Projector.
Not to be confused with Chromecast, that pics up the streaming directly from the adaptor, leaving you phone free to do other stuff.
If I invest in a Mirracast adaptor and then root my phone so I can edit build.prop, I know where to come to fix it.
Thanks for the reply
It was not what i was expecting.
Hey there,
Is it possible to anyone to share the patched apk with me?
I tried many times to find this things but I cannot...
All the other changes are done.
Kind regards,
Chris
M-Rom said:
[oreo] WifiDisplay fix
WfdService.apk
smali\com\sonymobile\wifidisplay\WFDSessionHelper.smali
Remove red
Click to expand...
Click to collapse
dhchris said:
Hey there,
Is it possible to anyone to share the patched apk with me?
I tried many times to find this things but I cannot...
All the other changes are done.
Kind regards,
Chris
Click to expand...
Click to collapse
Sorry it's not as simple as installing an .apk
There are system mods that nned to be made to the build.prop and another .xml file
All of these edits are impossible without a rooted phone.
Didgesteve said:
Sorry it's not as simple as installing an .apk
There are system mods that nned to be made to the build.prop and another .xml file
All of these edits are impossible without a rooted phone.
Click to expand...
Click to collapse
@Didgesteve
Oh yes, I rooted my phone...
Editing build.prop and wfdconfig.xml is no problem for me,
only editing the apk / smali will not work
dhchris said:
@Didgesteve
Oh yes, I rooted my phone...
Editing build.prop and wfdconfig.xml is no problem for me,
only editing the apk / smali will not work
Click to expand...
Click to collapse
PM @M-Rom, maybe he will share with you how to do it
Somebody pleas post patch zip?
Module for magisk v 17+
russel5 said:
Module for magisk v 17+
Click to expand...
Click to collapse
Thank you so much. I just came across your Full_mod ROM and was going to ask you if you could integrate this mod in your ROM.
@M-Rom Would you please include this in your first OP post?
@russel5, Didn't work. Is it tested only on your Modded ROM?
This is the message I see on the phone. Ironically this same message is mirrored on the TV too, but moment I'm out of this message, mirroring stops
I cant test it, because i dont have adapter. I made all how it post here in OP. One reason why it fails, that the services run early, before magisk mount edited files and system uses original files.
You can try replase all directly without magisk and see work it or not. Dont forget make a backup.
russel5 said:
I cant test it, because i dont have adapter. I made all how it post here in OP. One reason why it fails, that the services run early, before magisk mount edited files and system uses original files.
You can try replase all directly without magisk and see work it or not. Dont forget make a backup.
Click to expand...
Click to collapse
Will try this over the weekend and make a flashable zip if works
Update: I replaced the three files from the zip and fixed permissions. Didn't work on reboot. Result same as before.
Thanks to @russel5 we have a working magisk module to enable wifi display
1. Install attached magisk module and reboot
2. Clear data for wfddervices.apk
All credits to @russel5 for his awesome work
Just to be sure...
Is this module supposed to work on LineageOS 15.1?
gshegosh81 said:
Just to be sure...
Is this module supposed to work on LineageOS 15.1?
Click to expand...
Click to collapse
This is for stock ROM
@russel5, would you please rebuild the module for Pie? I installed the old module but on restart the module shows up as wierd symbols and doesn't work
I'm not use pie right now, can't help you at this moment
russel5 said:
I'm not use pie right now, can't help you at this moment
Click to expand...
Click to collapse
No problem. Let me know if you get to pie and have a fix? Or can I help you with something? Like the wfd apk from pie or something?