[UPDATED 27/03/2015] Blinkfeed for LG G3 - G3 Themes and Apps

Please let me know what you think & Please Say Thanks
Build 5 - Changelog
Uninstall previous Blinkfeed APK and install the new
Modified the Home screen dimens from 4x4 to 5x5
Build 4 - Changelog
Uninstall previous Blinkfeed APK & HTC Service Pack and install the new
Updated to Build 4 - Lollipop support
No more transparent app drawer glitch
Drawer dinemsions still need to be updated but will do this shortly
Older Changelogs - https://www.dropbox.com/s/oeqxh5eyvp9hfsz/older Change Logs.txt?dl=0
Please follow these steps
Install APK 1 (Blinkfeed)
Sense 6
http://d-h.st/NOA4 [Updated - Build 5 - 20/03/2015] - Uninstall previous Blinkfeed APK & HTC Service Pack and install the new
Sense 7 - thanks to xpirt. http://forum.xda-developers.com/showthread.php?p=59300333
https://drive.google.com/folderview...JNZ1hEWFlzWTNkNzNySjJBV1BJdkhfOWM&usp=sharing Sense 7 Build thanks to @BORKISHA
Older Builds
https://www.dropbox.com/s/suh3rv890dug1bi/older builds.txt?dl=0
Install APK 2 (Weather) - http://d-h.st/5p5 Uninstall previous Blinkfeed APK & HTC Service Pack and install the new
Install APK 3 (Service Pack) - http://d-h.st/LK4s
Reboot & Enjoy
How to
If you want the clock at the top just like mine, pinch the screen and set blinkfeed as homescreen.
For any one having location problems, go to the following Settings/Accounts & Sync / Click HTC Weather Service
Widgets not going onto homescrren - Do not drag the widget, just tap the homescreen and then tap the widget
Credits
xpirt - for some truly great work making this all possible
gakugaku - for continued support
BORKISHA
For All the below mods you will need to decompile the APK
Please use a tool such as this http://forum.xda-developers.com/showthread.php?t=2493107
How To Modify what is launched upon clicking Weather / Clock Sense 6 / 7
Step 1 Decompile APK - (let me know if you need the right tools
Step 2 Once decompiled Navigate to Prism\smali\com\htc\launcher.
Step 3 With notepad++ or a smali editor of your choice locate and open Open Launcher$15
Step 4 Locate .method public onClickWeather()V.
Step 5 Delete all text below onClickWeather()V and replace with the following code:
Step 6 Find and modify the values below
const-string/jumbo v1, "com.devexpert.weatheradfree" (This is the APK package Name)
const-string/jumbo v2, "com.devexpert.weatheradfree.view.HomeActivity" (this will be the activity you wish to run once clicked)
PHP:
.method public onClickWeather()V
.locals 4
const/4 v3, 0x0
invoke-static {}, Lcom/htc/launcher/util/SettingUtil;->isODMDevice()Z
move-result v1
if-eqz v1, :cond_0
invoke-virtual {p0}, Lcom/htc/launcher/Launcher$15;->onClickWeather()V
:goto_0
return-void
:cond_0
new-instance v1, Landroid/content/Intent;
const-string/jumbo v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const-string/jumbo v2, "android.intent.category.LAUNCHER"
invoke-virtual {v1, v2}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
move-result-object v0
const-string/jumbo v1, "com.devexpert.weatheradfree"
const-string/jumbo v2, "com.devexpert.weatheradfree.view.HomeActivity"
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
iget-object v1, p0, Lcom/htc/launcher/Launcher$15;->this$0:Lcom/htc/launcher/Launcher;
invoke-virtual {v1, v3, v0, v3}, Lcom/htc/launcher/Launcher;->startActivitySafely(Landroid/view/View;Landroid/content/Intent;Ljava/lang/Object;)Z
goto :goto_0
.end method
How To Modify Homescreen Dimensions from 4x4 to 5x5
\res\values\integers.xml
PHP:
<integer name="cell_count_x">5</integer> <!--Changed from 4-->
<integer name="cell_count_y">5</integer> <!--Changed from 4-->
\res\values-sw360dp\dimens.xml
PHP:
<dimen name="workspace_cell_width_port">78.0dip</dimen> <!--Changed from 90.0dip-->
<dimen name="workspace_cell_height_port">110.0dip</dimen> <!--Changed from 128.0dip-->
How To Modify Hotseat
hotseat_cell_count = How many icons in hotseat
hotseat_all_apps_index = position of all apps button
PHP:
<integer name="hotseat_cell_count">7</integer>
<integer name="hotseat_all_apps_index">4</integer>

Yeah thats awesome, thats one thing I really miss from my HTC One that I just got rid of. Now you have a working version to put on my G3. I like you

Vidfreek said:
Yeah thats awesome, thats one thing I really miss from my HTC One that I just got rid of. Now you have a working version to put on my G3. I like you
Click to expand...
Click to collapse
No worries ill upload soon, i have a few more bits i wanna try first to make it better.

Wow awesome! Thanks for this great mod! hope for a link soon

I like blinkfeed however flipboard gave me the options of more feeds. So I switched it on my HTC.
Is this still the case?

tonydd said:
I like blinkfeed however flipboard gave me the options of more feeds. So I switched it on my HTC.
Is this still the case?
Click to expand...
Click to collapse
This would be the case, this is just a ported sense 6 blinkfeed, RSS will be the same. It has plenty of content to use though

Excellent!...coming from One m7 too

I think first and 2nd links are same :/

hey chef!
is Facebook Integration fully working?

lethalfriend said:
I think first and 2nd links are same :/
Click to expand...
Click to collapse
+1

lethalfriend said:
I think first and 2nd links are same :/
Click to expand...
Click to collapse
Sorry about that im just driving home, will update in 10

xvicedice said:
Sorry about that im just driving home, will update in 10
Click to expand...
Click to collapse
:good::good:

Links update let me know if there are any issues

-Service Pack: installed correctly
-Weather: installed correctly
-Blinkfeed: application not installed..
I´m on CloudyG3 1.1 Rom...

ferluci said:
-Service Pack: installed correctly
-Weather: installed correctly
-Blinkfeed: application not installed..
I´m on CloudyG3 1.1 Rom...
Click to expand...
Click to collapse
can you please retry to download, i have update the APK

xvicedice said:
can you please retry to download, i have update the APK
Click to expand...
Click to collapse
I am on cloudy 1.1 i will dl and try right now. I always wanted to try out blinkfeed.

xvicedice said:
can you please retry to download, i have update the APK
Click to expand...
Click to collapse
Thank you, but the same happens again. Don´t worry, perhaps it´s something wrong with my phone, it happened before...I´ll continue testing!

It all installed but the weather app forcecloses and when you go to apps and services on blinkfeed it forcecloses also.

neo4uo said:
It all installed but the weather app forcecloses and when you go to apps and services on blinkfeed it forcecloses also.
Click to expand...
Click to collapse
Sorry to hear that what rom are toy using ill look into this tomorrow

Cloudy 1.1

Related

[MOD][New Sense][28/01] Flashable trackpad-to-unlock for 1.72 ROMs

Alright, here's my first "release": an ugly "hack" (more like "skript kidding", but that's a different story) enabling trackpad-to-wake and trackpad-to-unlock on new Sense (based on 1.72) ROMs.
Credits to muhhhh and b1oh4zard for extracting the htclockscreen.apk from the Virtuous 0.9.0 (thread http://forum.xda-developers.com/showthread.php?t=929182) and to a very old (pre-1.72) update.zip for the same I had lying around on my drive - I'm sorry, but I don't remember who built that in the first place (if the author recognizes it, please step forward and I'll be glad to provide a link or something).
Basically, all I did was unzip the old update.zip - replace the apk file - zip back.
How to install: download the file below to your SD card and flash from recovery.
Tested and working fine with Baadnewz v1.8c -> first click on trackpad wakes the device, the second click unlocks it. Enjoy and please report back if any trouble.
If your ROM is based on 1.84, do NOT flash my file, but use the one by poorhatsoap instead: http://forum.xda-developers.com/showpost.php?p=11325344&postcount=4825 .
Reserved (just in case).
Sorry, I am not sure what's the prupose of this function ? Is this for LOCK and UNLOCK the DESIRE by using the trackpad instead of the power button ? Thanks
Fantastic - thanks for this!
chihliouma said:
Sorry, I am not sure what's the prupose of this function ? Is this for LOCK and UNLOCK the DESIRE by using the trackpad instead of the power button ? Thanks
Click to expand...
Click to collapse
Just for waking/unlocking - the locking is still done by the Power button or automatically following the screen timeout.
thank you very much
works with my baadnwz 1.8c
Great! Works on coolexe HD v2. Just the thing I missed.
Sent from my HTC Desire using XDA App
Glad to hear it's working, it's one functionality I can't live without... the power button is in an impossible position for one-handed operation.
airwave88 said:
Alright, here's my first "release": an ugly "hack" (more like "skript kidding", but that's a different story) enabling trackpad-to-wake and trackpad-to-unlock on new Sense (based on 1.72) ROMs.
Credits to muhhhh and b1oh4zard for extracting the htclockscreen.apk from the Virtuous 0.9.0 (thread http://forum.xda-developers.com/showthread.php?t=929182) and to a very old (pre-1.72) update.zip for the same I had lying around on my drive - I'm sorry, but I don't remember who built that in the first place (if the author recognizes it, please step forward and I'll be glad to provide a link or something).
Basically, all I did was unzip the old update.zip - replace the apk file - zip back.
How to install: download the file below to your SD card and flash from recovery.
Tested and working fine with Baadnewz v1.8c -> first click on trackpad wakes the device, the second click unlocks it. Enjoy and please report back if any trouble.
Click to expand...
Click to collapse
Great...thanks a lot!!!
OMG, thank you som much. was thinking to start a thread about this earlier today.
Thank you so much. I was going crazy without this.
Trackpad wake & unlock only (no power button wake)
Any chance someone can do this without power button wake; my phone keeps turning on in my pocket. there used to be options with MCR roms so that you could have trackpad wake only.
Thanks
one question... doesn't roms like RCMixHD got that already for longer than 3 months?
Flashmaniac said:
one question... doesn't roms like RCMixHD got that already for longer than 3 months?
Click to expand...
Click to collapse
No idea to be honest, I've only been using baadnewz's HD ROM (and some 2.3 flavors) for quite a while how.
However, I believe the 1.72 base may be a little bit newer than three months.
Flashmaniac said:
one question... doesn't roms like RCMixHD got that already for longer than 3 months?
Click to expand...
Click to collapse
I had it for the older base, i never patched the newbase lockscreen
So thanks man, spared chefs some job!
robocik said:
I had it for the older base, i never patched the newbase lockscreen
So thanks man, spared chefs some job!
Click to expand...
Click to collapse
Not my work, the patched apk is coming from Virtuous 0.9.0, I only repacked it to a flashable-friendly format.
tinker2000 said:
Any chance someone can do this without power button wake; my phone keeps turning on in my pocket. there used to be options with MCR roms so that you could have trackpad wake only.
Thanks
Click to expand...
Click to collapse
I looked into it, but I'm quite a newbie in this field; if someone can point me in the right direction, would be glad to create several different setups (with/without power button active, with/without menu button for unlock etc).
So far, I managed to unpack the apk, deodex the classes.dex using baksmali and compare the patched/non-patched files. The only differences are in the htclockscreen.smali file (the 342 KB one), but can't make out where the correct button is actually declared (the main suspect is line 801, but can't tell for sure):
Code:
E:\Desire\smali>fc htclockscreen.smali htclockscreen_orig.smali
Comparing files HtcLockScreen.smali and HTCLOCKSCREEN_ORIG.SMALI
***** HtcLockScreen.smali
.line 801
.local v0, msg:Landroid/os/Message;
const v1, 0x17
if-ne p1, v1, :cond_2d
invoke-virtual {p0}, Lcom/htc/lockscreen/HtcLockScreen;->goToUnlockScreen()V
:cond_2d
const/16 v1, 0x14
***** HTCLOCKSCREEN_ORIG.SMALI
.line 800
.local v0, msg:Landroid/os/Message;
const/16 v1, 0x14
*****
***** HtcLockScreen.smali
if-eq p1, v1, :cond_46
***** HTCLOCKSCREEN_ORIG.SMALI
if-eq p1, v1, :cond_3e
*****
***** HtcLockScreen.smali
if-eq p1, v1, :cond_46
***** HTCLOCKSCREEN_ORIG.SMALI
if-eq p1, v1, :cond_3e
*****
***** HtcLockScreen.smali
if-eq p1, v1, :cond_46
***** HTCLOCKSCREEN_ORIG.SMALI
if-eq p1, v1, :cond_3e
*****
***** HtcLockScreen.smali
if-eq p1, v1, :cond_46
.line 805
iget-object v1, p0, Lcom/htc/lockscreen/HtcLockScreen;->mReminderView:Lcom/h
tc/lockscreen/HtcLSViewInterface;
***** HTCLOCKSCREEN_ORIG.SMALI
if-eq p1, v1, :cond_3e
.line 804
iget-object v1, p0, Lcom/htc/lockscreen/HtcLockScreen;->mReminderView:Lcom/h
tc/lockscreen/HtcLSViewInterface;
*****
***** HtcLockScreen.smali
if-eqz v1, :cond_46
.line 806
iget-object v1, p0, Lcom/htc/lockscreen/HtcLockScreen;->mReminderView:Lcom/h
tc/lockscreen/HtcLSViewInterface;
***** HTCLOCKSCREEN_ORIG.SMALI
if-eqz v1, :cond_3e
.line 805
iget-object v1, p0, Lcom/htc/lockscreen/HtcLockScreen;->mReminderView:Lcom/h
tc/lockscreen/HtcLSViewInterface;
*****
***** HtcLockScreen.smali
:cond_46
move v1, v4
***** HTCLOCKSCREEN_ORIG.SMALI
:cond_3e
move v1, v4
*****
***** HtcLockScreen.smali
.line 810
goto :goto_20
***** HTCLOCKSCREEN_ORIG.SMALI
.line 809
goto :goto_20
*****
E:\Desire\smali>
yah, made my life easier
baadnewz said:
yah, made my life easier
Click to expand...
Click to collapse
Thanks for the link mate.
Now just pray people bother reading the post before asking in your thread "is it possible to have a new version of the ROM with trackpad-to-unlock?"
OMG Finally the one working on ReflexTSense 1.6.1. Thanks man
airwave88 said:
Thanks for the link mate.
Now just pray people bother reading the post before asking in your thread "is it possible to have a new version of the ROM with trackpad-to-unlock?"
Click to expand...
Click to collapse
there will be a couple that wont read, why would they do that it's easier to ask and demand, then read a little

[Mod][Guide][How to] Increase Toolbox apps number on new Samsung FWs

Hello guys!
As you probably noticed, few changes have been introduced in the newest FWs that prevent Increasing the number of available apps for displaying toolbox feature. We used to be able to introduce a simple change in one smali in SecSettings and all was good. Or use an amazing app by @xperiacle. Unfortunately, a few things have changed and now we need to tweak things some more to make them alright again.
So let's get crackin':
You're gonna need:
SecSettings.apk
framework2.jar
Knowledge to decompile/baksmali/compile/smali apks/jars
Text/code editor
About 5 minutes of your time
So:
1. Decompile SecSettings.apk or just baksmali the classes.dex
Navigate to smali/com/android/settings/toolbox/ToolboxList.smali
Find the following line in code:
Code:
const/4 v0, 0x5
Basically this is creates an integer that is being used as our maximal toolbox apps number. In this (default stock) case, the number is 5. We are gonna increase that. That is so the settings allow us to CHOOSE more than 5 apps from the list. Now, if we want to have up to 7 apps, we're gonna change the code to this:
Code:
const/4 v0, 0x[COLOR="Blue"]7[/COLOR]
or any number between 5-7 you want...
BUT! if we want more than 7, we need to increase the size of the register (which is now 4 bit). So if we want between 7-9 apps (f.e. for max 8 apps) we change to this :
Code:
const/[COLOR="Blue"]16[/COLOR] v0, 0x[COLOR="Blue"]8[/COLOR]
Now, we know that we're actualy using hexadecimal numbers, so after 9 we're going to switch to a,b,c... and so on. f.e., to increase to max 12 apps we're oging to use 0xc.
How many apps we can add? Well, it's abit tricky, since the feature is dpi dependant. I have managed well with 12 apps on default dpi (480). So I am going to limit my users to that. The reason is double folded:
More than 12 apps on default dpi is gonna cause a crash. Now since it's a framework based feature, the crash is gonna manifest as hot boot.
It's a toolbox, not an app drawer. More than 7-8 apps sounds to me like it defies the purpose. Not to mention more than 12.
There is a way to increase the ammount of apps by reducing the size of app icons and gaps in framework-res.apk dimens. If someone is interested I will append a guide for that. Personally, I am not doing that.
Click to expand...
Click to collapse
So from now on we will talk about increasing the number of apps to 12 max. meaning we inputed const/16 v0, 0xc into our smali.
Next step - still in this smali - about two lines below you will see the following:
Code:
.line 83
sput v0, Lcom/android/settings/toolbox/ToolboxList;->MAX_DEFAULT_APPS:I
Line number may differ or you might not have it id you decompiled without debugging... But what we're going to do is add a line (in blue) above that sput v0, Lcom/android/settings/toolbox/ToolboxList;->MAX_TOOLBOX_APPS:I... so our code will look like this (you add the line in blue):
Code:
const/16 v0, 0xc
.line 82
sput v0, Lcom/android/settings/toolbox/ToolboxList;->MAX_TOOLBOX_APPS:I
[COLOR="Blue"]const/4 v0, 0x5[/COLOR]
.line 83
sput v0, Lcom/android/settings/toolbox/ToolboxList;->MAX_DEFAULT_APPS:I
Now the reason we're doing that, is that by default the same max number of apps is being transfered to the max number of default apps (new addition by samsung). But if we do that, the first 7 apps after the default 5 (in our case) are going to be "considered" as "default" and that causes them to be displayed wrongly inside the list where you choose the apps and also causes settings crash upon repeated entry to the apps editing.
We need to feed a different integer to the max default apps. And since it's 5, we are adding an integer of 5 between max apps and max default apps.
Now you can recompile SecSettings.apk and push back into your phone.
At this point you will notice that even though you can shoose more than 5 apps, the toolbox is still showing only 5. It becomes short and cut at the bottom.
To fix that we dive into the framework.
2. Baksmali framework2.jar
Navigate to smali/com/samsung/android/toolbox/TWToolBoxFloatingViewer.smali
Find the following code:
Code:
iget v2, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_SHORTCUT_ITEM_GAP:I
iget v4, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_SHORTCUT_ITEM_SIZE:I
add-int/2addr v2, v4
mul-int/lit8 v2, v2, 0x4
add-int/2addr v0, v2
iget v2, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_ROUND_TAIL_SIZE:I
add-int/2addr v0, v2
iput v0, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->TOTAL_HEIGHT:I
Note the following line mul-int/lit8 v2, v2, 0x4!!! Basically Samsing introdused a new object in this fragment that's called TOTAL_HEIGHT. That objects takes a value that's a result of multiplying FIXED_SHORTCUT_ITEM_GAP+FIXED_SHORTCUT_ITEM_SIZE by 4. Plus a little round tail but it doesn't concern us...
So let us multiply the FIXED_SHORTCUT_ITEM_GAP+FIXED_SHORTCUT_ITEM_SIZE by 12!!! This is the max height that we need. The feature will resize itself according to the ammount of chosen apps up to that total height.
So our code will become this:
Code:
iget v2, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_SHORTCUT_ITEM_GAP:I
iget v4, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_SHORTCUT_ITEM_SIZE:I
add-int/2addr v2, v4
[COLOR="Blue"]mul-int/lit8 v2, v2, 0xc[/COLOR]
add-int/2addr v0, v2
iget v2, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_ROUND_TAIL_SIZE:I
add-int/2addr v0, v2
iput v0, p0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->TOTAL_HEIGHT:I
That's it, guys! Smali/recompile framework2.jar and install into your device.
I hope this help those of you who were interested in fixing that annoying "innovation" and I hope it explains the logic behind it.
No credits needed, no asking for permission. If this helps you - use and enjoy!!! We're all in open source and sharing knowledge business after all.
I would like to thank my beloved family... that tolerates me AND android, god knows how, but they still love and always support me
And my dear friend @Wuby986 for always being there for me, never letting go and never letting me let go of my little crazy ideas. For loving this feature and fighting for it. Thank you!!!
And special thanks to @DaOldMan for being my mentor once and teaching me how to decompile my first app. And for listening to me when I have crazy ideas
Mineeee
perfect guide as usual well done
Wonderful !
Wuby986 said:
perfect guide as usual well done
Click to expand...
Click to collapse
Your guides are the light for others. Instead of making this a cookbook guide for parrots your explanations are wonderful and make me feel I am not just a parrot, but someone with a brain
Thomas
increase toolbox apps
SWEET!!!
thx for this guide!!!
always happy to learn something new.
:highfive:
You can simply install S5 Toolbox Addon.
http://forum.xda-developers.com/showthread.php?t=2774569
buddy66 said:
You can simply install S5 Toolbox Addon.
http://forum.xda-developers.com/showthread.php?t=2774569
Click to expand...
Click to collapse
Sure mate! Only that on the new firmwares it doesn't work. It states so at the top of the guide [emoji106] [emoji106] [emoji106]
Read the last pages of the thread you're referring us to
Sent from my SM-G900F using Tapatalk
Nice. Really well written
Sent from my SM-G900F using Tapatalk
Goldie said:
Nice. Really well written
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
Thanks, master! Coming from you its a huge compliment! Highly appreciated!!!
Sent from my SM-G900F using Tapatalk
This thread has been added as a great addition to my GALAXY S5 UNIFIED MODS THREAD - GUIDES & LINKS thread.
Thank you for the great work!
sorry, I'm kinda new to this, can I do this on an ODEXED ROM?or does it have to be DOEDEXED? Thank you for this and thank you for your input
Mandirigma said:
sorry, I'm kinda new to this, can I do this on an ODEXED ROM?or does it have to be DOEDEXED? Thank you for this and thank you for your input
Click to expand...
Click to collapse
Hey there.. Yeah it has to be deodexed in order to follow this guide
@daxgirl @Wuby986 This one is confusing me too. In my framework2.jar there is no FIXED_SHORTCUT_ITEM_GAP or FIXED_SHORTCUT_ITEM_SIZE. instead it has FIXED_ITEM_SIZE, FIXED_MAIN_ITEM_SIZE, FIXED_MAIN_ITEM_GAP and FIXED_ITEM_GAP. Also it doesn't have the multiply part added into the code. This is what I believe needs changed instead. And here is the smali file http://pastebin.com/9VsFhAN3
Code:
iget v0, v0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_MAIN_ITEM_WIDTH:I
move/from16 v23, v0
div-int/lit8 v11, v23, 0x2
move-object/from16 v0, p0
iget v0, v0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_MAIN_ITEM_HEIGHT:I
move/from16 v23, v0
div-int/lit8 v10, v23, 0x2
iget-object v0, v14, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer$ToolBoxMenu;->bounds:Landroid/graphics/Rect;
Code:
iget v0, v0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_ITEM_SIZE:I
move/from16 v23, v0
div-int/lit8 v11, v23, 0x2
move-object/from16 v0, p0
iget v0, v0, Lcom/samsung/android/toolbox/TwToolBoxFloatingViewer;->FIXED_ITEM_SIZE:I
move/from16 v23, v0
div-int/lit8 v10, v23, 0x2
iget-object v0, v14,
Question
@daxgirl @Wuby986
Hi, I am using Note 3 N9005 Lollipop.
Poland firmware.
I can't find framework2.jar file in framework.
And I guess my framework is odexed.
amk19 said:
@daxgirl @Wuby986
Hi, I am using Note 3 N9005 Lollipop.
Poland firmware.
I can't find framework2.jar file in framework.
And I guess my framework is odexed.
Click to expand...
Click to collapse
All the relevant files are on framework.jar, my friend. The mod works exactly the same. It has been used in numerous roms on note 3.
Sent from my SM-G900F using Tapatalk
amk19 said:
@daxgirl @Wuby986
Hi, I am using Note 3 N9005 Lollipop.
Poland firmware.
I can't find framework2.jar file in framework.
And I guess my framework is odexed.
Click to expand...
Click to collapse
yeah it could be.. !! as long as you didn't deodexed it is odex... it is odex if you see the boot.oat file ( or at least that's how it should, based on s5 i have).. anyway it is most likely that you don't have the framework2.jar.. there isn't anymore on L
Wuby986 said:
yeah it could be.. !! as long as you didn't deodexed it is odex... it is odex if you see the boot.oat file ( or at least that's how it should, based on s5 i have).. anyway it is most likely that you don't have the framework2.jar.. there isn't anymore on L
Click to expand...
Click to collapse
In order to make it odex there should be framework.odex file. But I can't find any.
All I can see is framework.jar which is around 300 bytes...
How can make required changes to obtain 12 Apps in Toolbox?
amk19 said:
In order to make it odex there should be framework.odex file. But I can't find any.
All I can see is framework.jar which is around 300 bytes...
How can make required changes to obtain 12 Apps in Toolbox?
Click to expand...
Click to collapse
As i told you, you have the boot.oat, which now contains the old odex files for framework..
Try searching google for guides on how to deodex roms
amk19 said:
In order to make it odex there should be framework.odex file. But I can't find any.
All I can see is framework.jar which is around 300 bytes...
How can make required changes to obtain 12 Apps in Toolbox?
Click to expand...
Click to collapse
You can use this tool http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
To deodex your entire rom and then you need to flash it ALL in recovery. I suggest taking a dev base by @_alexndr for n900, replacing app priv-app and framework folders in system of his zip and flashing. You will have a flashable deodex with correct permissions and aroma.
Hey @daxgirl how about guide to port/enable toolbox? Can you share it ?? Thanks.

[MOD][Guide/How to]Increase QuickSettings Maximum number (Android 4.4.2, 4.4.4, 5.0)

Hello guys!
Little guide for your use. We will increase the maximum number of quick setting items to... (well I prefer 15, but really - to whatever).
This mod will work on any device with quicksettings. It will work from android 4.4.2 to android 5 no problem.
You will need:
1. SecSettings.apk
2. Knowledge in how to decompile/baksmali
3. Any text editor (using Kate here, yay kubuntu)
4. About like... 5 minutes for the entire mod
Let's get crackin':
1. Decompile SecSettings.apk and navigato to smali/com/android/settings/Utils.smali
2. Find the following method:
Code:
.method public static getMaxFavoriteItemNumber()I
.locals 1
.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z
move-result v0
if-eqz v0, :cond_0
.line 4460
const/16 v0, [COLOR="SeaGreen"]0x9[/COLOR]
.line 4462
:goto_0
return v0
:cond_0
const/16 v0, [COLOR="Red"]0xc[/COLOR]
goto :goto_0
.end method
As you can see it's pretty straight forward: if grid is enabled (in boolean, not by default), set max number to 9 (in green). if it's disabled, set max number to 12 (in red). That's why on s5 it's set to 12 (comes by default with grid, boolean set to false) and on note 4 it's set to 9.
Basically you can just change both numbers to what you want or just the one that fits your needs. Or you can just remove the entire "innerts" of the method and write const/16 v0, 0xf return v0 and be done with it.
No matter what you do, just keep the register 16 bit large (for number greater than 7, which it is already) and stick to hexadecimal format (you can find conversion online).
I personally like the 15 Quick Settings items best (most comfortable for me).
So I just do this (on s5) (in blue is what I change to set the max number to 15):
Code:
.method public static getMaxFavoriteItemNumber()I
.locals 1
.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z
move-result v0
if-eqz v0, :cond_0
.line 4460
const/16 v0, 0x9
.line 4462
:goto_0
return v0
:cond_0
const/16 v0, [COLOR="Blue"]0xf[/COLOR]
goto :goto_0
.end method
That's it, recompile and push back (duh!)
Cheers guys, if you find this helpful, use and enjoy!
Your guides are always the best. Unlike others you don't keep the knowledge just to yourself. Thanks for helping us to mod our roms !
Sent from my SM-N9005 using Tapatalk
DaOldMan said:
Your guides are always the best. Unlike others you don't keep the knowledge just to yourself. Thanks for helping us to mod our roms !
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
It's always my pleasure, my friend!!! Use and enjoy! Although I don't remember, in the end you guys have the quicksettings on note 3 lolli?
daxgirl said:
It's always my pleasure, my friend!!! Use and enjoy! Although I don't remember, in the end you guys have the quicksettings on note 3 lolli?
Click to expand...
Click to collapse
In the leaked lp the note 3 settings are terrible. We have only the Tab view and no quick settings whose I terribly miss. I hope the final rom will have more settings then this.
Thomas
Sent from my SM-N9005 using Tapatalk
daxgirl said:
.....
We will increase the maximum number of quick setting items to... (well I prefer 15, but really - to whatever).
Click to expand...
Click to collapse
you quick setting weirdo
nice guide
Wuby986 said:
you quick setting weirdo [emoji14]
nice guide
Click to expand...
Click to collapse
Sure! At least I have SYSTEM! ??? ALL THE TIME! (Well most if the time...)
daxgirl said:
Hello guys!
Little guide for your use. We will increase the maximum number of quick setting items to... (well I prefer 15, but really - to whatever).
This mod will work on any device with quicksettings. It will work from android 4.4.2 to android 5 no problem.
You will need:
1. SecSettings.apk
2. Knowledge in how to decompile/baksmali
3. Any text editor (using Kate here, yay kubuntu)
4. About like... 5 minutes for the entire mod
Let's get crackin':
1. Decompile SecSettings.apk and navigato to smali/com/android/settings/Utils.smali
2. Find the following method:
Code:
.method public static getMaxFavoriteItemNumber()I
.locals 1
.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z
move-result v0
if-eqz v0, :cond_0
.line 4460
const/16 v0, [COLOR="SeaGreen"]0x9[/COLOR]
.line 4462
:goto_0
return v0
:cond_0
const/16 v0, [COLOR="Red"]0xc[/COLOR]
goto :goto_0
.end method
As you can see it's pretty straight forward: if grid is enabled (in boolean, not by default), set max number to 9 (in green). if it's disabled, set max number to 12 (in red). That's why on s5 it's set to 12 (comes by default with grid, boolean set to false) and on note 4 it's set to 9.
Basically you can just change both numbers to what you want or just the one that fits your needs. Or you can just remove the entire "innerts" of the method and write const/16 v0, 0xf return v0 and be done with it.
No matter what you do, just keep the register 16 bit large (for number greater than 7, which it is already) and stick to hexadecimal format (you can find conversion online).
I personally like the 15 Quick Settings items best (most comfortable for me).
So I just do this (on s5) (in blue is what I change to set the max number to 15):
Code:
.method public static getMaxFavoriteItemNumber()I
.locals 1
.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z
move-result v0
if-eqz v0, :cond_0
.line 4460
const/16 v0, 0x9
.line 4462
:goto_0
return v0
:cond_0
const/16 v0, [COLOR="Blue"]0xf[/COLOR]
goto :goto_0
.end method
That's it, recompile and push back (duh!)
Cheers guys, if you find this helpful, use and enjoy!
Click to expand...
Click to collapse
but what about 4.2.2 can you please say how to enable them just give instructions..
manikar said:
but what about 4.2.2 can you please say how to enable them just give instructions..
Click to expand...
Click to collapse
The quick settings in Secsettings.apk is a new function first introduced in samsung galaxy s5 on android 4.4.2. So there is absolutely no way you can have that on 4.2.2.
Cheers!
as you put the settings with white background Note4 style?
FelipeGG said:
as you put the settings with white background Note4 style?
Click to expand...
Click to collapse
Hey, this is not note 4 style. This is s5 with official lollipop
It's true ... I did not see well, thank Friend
daxgirl said:
The quick settings in Secsettings.apk is a new function first introduced in samsung galaxy s5 on android 4.4.2. So there is absolutely no way you can have that on 4.2.2.
Cheers!
Click to expand...
Click to collapse
no bro , i mean that how to increase quick toggles in notification panel please help me out in 4.2.2
manikar said:
no bro , i mean that how to increase quick toggles in notification panel please help me out in 4.2.2
Click to expand...
Click to collapse
I am not sure I understand what you mean. If you mean to have more than 5 in a row, you need to change it in integers.xml in systemui
I know that's how it works now. I am not sure that was the case in 4.2.2. It's been awhile.
I hope this helps.
daxgirl said:
I am not sure I understand what you mean. If you mean to have more than 5 in a row, you need to change it in integers.xml in systemui
I know that's how it works now. I am not sure that was the case in 4.2.2. It's been awhile.
I hope this helps.
Click to expand...
Click to collapse
no bro what i meant is to enable hidden notification toggles in 4.2.2 ..please help me how to enable them , i found all the png files but they are hidden in notification drawer
manikar said:
no bro what i meant is to enable hidden notification toggles in 4.2.2 ..please help me how to enable them , i found all the png files but they are hidden in notification drawer
Click to expand...
Click to collapse
If those are existing toggles, you can edit sql database for setting storage and add them manually (if that's just for you) or (if you're building a rom) and if it's samsung device, you can open them using a csc feature. I will find the exact tag for you as I don't remember it by heart.
daxgirl said:
If those are existing toggles, you can edit sql database for setting storage and add them manually (if that's just for you) or (if you're building a rom) and if it's samsung device, you can open them using a csc feature. I will find the exact tag for you as I don't remember it by heart.
Click to expand...
Click to collapse
As far as I know that CSC feature is not working anymore on adding quick toggles in lollipop(or am doing it wrong?).That's the case on my Note3 by the way. I always do that on kitkat but now I can't on lollipop. .As usual your guides are one of the most easy to understand and easy to follow guides around. Thanks and nice job again Miss daxgirl.:good:
---------- Post added at 02:46 PM ---------- Previous post was at 02:39 PM ----------
daxgirl said:
It's always my pleasure, my friend!!! Use and enjoy! Although I don't remember, in the end you guys have the quicksettings on note 3 lolli?
Click to expand...
Click to collapse
We have one lollipop rom on Note 3 here which has that quick settings. Its a port of the S5 secsettings.apk I think. That I extracted and use it on another rom,which work quite well. http://forum.xda-developers.com/gal...t/n9005-lollipop-5-0-s5-note3-stable-t2994680
filchi756 said:
As far as I know that CSC feature is not working anymore on adding quick toggles in lollipop(or am doing it wrong?).That's the case on my Note3 by the way. I always do that on kitkat but now I can't on lollipop. .As usual your guides are one of the most easy to understand and easy to follow guides around. Thanks and nice job again Miss daxgirl.:good:
---------- Post added at 02:46 PM ---------- Previous post was at 02:39 PM ----------
We have one lollipop rom on Note 3 here which has that quick settings. Its a port of the S5 secsettings.apk I think. That I extracted and use it on another rom,which work quite well. http://forum.xda-developers.com/gal...t/n9005-lollipop-5-0-s5-note3-stable-t2994680
Click to expand...
Click to collapse
I have no idea about csc feature on Lollipop whether will work or not. But I have to say that the guy was asking for 4.2.2... sooooo... looolllllll that will work for sure ?
Thanks for the secsettings reference! I don't have the note 3 anymore, but I did 'give you up' to @DaOldMan since he was looking for s5 settings for lollipop! !!
Cheers, my friend, and thank you for EVERYTHING!!!
Sent from my SM-G900F using Tapatalk
daxgirl said:
I have no idea about csc feature on Lollipop whether will work or not. But I have to say that the guy was asking for 4.2.2... sooooo... looolllllll that will work for sure
Thanks for the secsettings reference! I don't have the note 3 anymore, but I did 'give you up' to @DaOldMan since he was looking for s5 settings for lollipop! !!
Cheers, my friend, and thank you for EVERYTHING!!!
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
I know that Norma rom. That's the one only rom with Toolbox working 100%. I worked a lot on it's settings for Toolbox but couldn't find what's wrong with ours. So it's just better to use the whole apk heheh @filchi756. Will try it , I love Norma's settings much more then the horrible Note3 stock LP crap
Thomas
DaOldMan said:
I know that Norma rom. That's the one only rom with Toolbox working 100%. I worked a lot on it's settings for Toolbox but couldn't find what's wrong with ours. So it's just better to use the whole apk heheh @filchi756. Will try it , I love Norma's settings much more then the horrible Note3 stock LP crap
Thomas
Click to expand...
Click to collapse
We are the same mate .I love Norma setting layout.That's why I use it on another rom.Mate try the new release version (0120). It like a mix of note4 and S5.
---------- Post added at 09:05 PM ---------- Previous post was at 08:59 PM ----------
daxgirl said:
I have no idea about csc feature on Lollipop whether will work or not. But I have to say that the guy was asking for 4.2.2... sooooo... looolllllll that will work for sure ?
Thanks for the secsettings reference! I don't have the note 3 anymore, but I did 'give you up' to @DaOldMan since he was looking for s5 settings for lollipop! !!
Cheers, my friend, and thank you for EVERYTHING!!!
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
I already told him before about it.Hope you do more guides like this eventhough your on Note4 already. It me who have to thank you Miss Daxgirl.Thanks for all the guides.:good::good::good:
I am on note 4 but s5 is my all times favourite. I am not giving it up ???
Sent from my SM-G900F using Tapatalk

[APP][MOD] ES File Explorer with Systemless Root Support

9/22 UPDATE: Now includes support for Magisk as well as supporting SuperSU systemless and phh Superuser/seSuperuser. To do this the system root paths were edited, thus these apps no longer support root options embedded in system. Since this primarily affects Cyanogenmod users the download page now includes copies of ES File Explorer 3.2.5.5 and 4.0.2.2 without any modifications at all, except for being re-signed with my app signature to prevent them from updating.
---------------------------------------------------------
Something I've been noticing sitewide is that users of ES File Explorer were having difficulty with systemless root. Current versions of ES File Explorer do have systemless support, however they still are a bloated, ruined mess with the potential of adding malware in the future. The versions available in this thread are the last version offered by EStrongs before selling the app to ESGlobal (v. 3.2.5.5) and the last version by ESGlobal (v. 4.0.2.2) that allowed the end user to delete the accursed home page, didn't have any app advertisements, needless bloat, or malware.
The entire problem stems from the fact that the various paths to the superuser binary are hard-coded as an array in the java code. While temporary solutions have been proposed, such as copying the su binary and its support files to the /system partition, or enabling SuperSU's app compatibility function, the best fix is to decompile the app, edit the m.smali file in /smali/com/estrongs/fs/impl/local, and add in the systemless paths.
If you want to read the brief tutorial, hit the button below. Otherwise, read on.
Find the array in m.smali. The code snippet is below.
Code:
const/4 v0, 0x5
new-array v4, v0, [Ljava/lang/String;
const-string/jumbo v0, "/system/xbin/su"
aput-object v0, v4, v1
const-string/jumbo v0, "/system/sbin/su"
aput-object v0, v4, v2
const-string/jumbo v0, "/system/bin/su"
aput-object v0, v4, v3
const-string/jumbo v0, "/vendor/bin/su"
aput-object v0, v4, v6
const-string/jumbo v0, "/sbin/su"
aput-object v0, v4, v7
const/4 v0, 0x5
new-array v5, v0, [Ljava/lang/String;
const-string/jumbo v0, "/system/xbin/daemonsu"
aput-object v0, v5, v1
const-string/jumbo v0, "/system/sbin/daemonsu"
aput-object v0, v5, v2
const-string/jumbo v0, "/system/bin/daemonsu"
aput-object v0, v5, v3
const-string/jumbo v0, "/vendor/bin/daemonsu"
aput-object v0, v5, v6
const-string/jumbo v0, "/sbin/daemonsu"
aput-object v0, v5, v7
move v0, v1
Replace the entire array with the following code.
Code:
const/4 v0, 0x5
new-array v4, v0, [Ljava/lang/String;
const-string/jumbo v0, "/su/bin/su"
aput-object v0, v4, v1
const-string/jumbo v0, "/magisk/.core/bin/su"
aput-object v0, v4, v2
const-string/jumbo v0, "/magisk/phh/bin/su"
aput-object v0, v4, v3
const-string/jumbo v0, "/vendor/bin/su"
aput-object v0, v4, v6
const-string/jumbo v0, "/sbin/su"
aput-object v0, v4, v7
const/4 v0, 0x5
new-array v5, v0, [Ljava/lang/String;
const-string/jumbo v0, "/su/bin/daemonsu"
aput-object v0, v5, v1
const-string/jumbo v0, "/magisk/.core/bin/daemonsu"
aput-object v0, v5, v2
const-string/jumbo v0, "/magisk/phh/bin/daemonsu"
aput-object v0, v5, v3
const-string/jumbo v0, "/vendor/bin/daemonsu"
aput-object v0, v5, v6
const-string/jumbo v0, "/sbin/daemonsu"
aput-object v0, v5, v7
move v0, v1
Testing on my Nexus 6 using SuperSU was successful. Testing on a Galaxy Note 4 running Magisk was also successful. seSuperuser/phh Superuser should function but it is untested. Device owners with seSuperuser/phh Superuser are more than welcome to post their results here.
I did this because I need the app backup feature. While other apps are out there that can backup apps and data, none of them work as well in my mind as ES File Explorer. So after modifying the smali code, I re-signed the apps using my personal certificate. I don't know about anyone else, but with the new owner throwing malware into the app I don't want the app automatically upgrading itself. Re-signing the app should take care of that.
To distinguish the systemless apps from the originals, when recompiling the apps I appended an "s" to the version number, with "s" standing for "systemless". While I personally use version 4.0.2.2, I know a lot of people still prefer version 3.2.5.5, so I have provided links to both. Please keep in mind however the following.
Due to the smali code editing as well as the version number change and the replaced signature, anti-malware apps on devices will flag these apps as a false positive. Both versions were flagged on my Nexus 6 and my Galaxy S4, both of which were running Avast. These versions of the app predates ESGlobal adding app advertisements and malware to the app, thus the warning can be safely ignored.
It's required to uninstall any other version of ES File Explorer (except Pro) before installing a copy of the apps provided here. This is because the changed app signature will prevent the app from successfully installing.
Should you wish to make the edits yourself, either because of a lack of trust or a desire to use a different version than what is available in this thread, untouched versions can be found at apkmirror.com.
Downloads
ES File Explorer 4.0.2.2 Systemless
ES File Explorer 4.0.2.2
ES File Explorer 3.2.5.5 Systemless
ES File Explorer 3.2.5.5
XDA:DevDB Information
ES File Explorer Systemless, App for the Apps & Games
Contributors
Strephon Alkhalikoi
Version Information
Status: No Longer Updated
Created 2016-07-02
Last Updated 2016-09-23
Awesome! Thanks for your work and insight! I'll use your v4.0.2.2 apk even though I was previously using v4.0.2.3 on my old device with traditional system root. That was the last version before ES "sold" the app.
I'll have to try this decompile, edit smali, recompile, and sign myself one day because your solution does seem to be the best method. It means we don't have to fake SuperSU compatiblity mode "BINDSYSTEMXBIN=true" which would break Android Pay.
@Silly22: 4.0.2.3 has a "suggested apps" bar in the app backup feature not found in 4.0.2.2. 3.2.5.5 was the last version by EStrongs.
Not breaking Android Pay is a nice side effect.
9/16 Update: The method used to enable systemless root support has changed from simply adding the requisite entries, which apparently renders the /sbin/su path unusable, to replacing the entire hard-coded array with the updated version used in the later apps. See the tutorial for particulars. The APK files themselves have been updated.
*Gives the thread a hip check into the boards*
9/22 Update: APKs updated with Magisk support. The app should now support all three systemless superuser implementations. System root is no longer supported in the modified apps, so untouched versions of the original apps - re-signed of course - are available in the Download tab.
Download tab?
Sent from my SM-N920P using Tapatalk
dark jedi66 said:
Download tab?
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
Gotta use your browser at the top of OP you'll see a black header with 4 different tabs
Sent from my SM-N915P using XDA-Developers mobile app
I seen it thanks
Sent from my SM-N920P using Tapatalk
@dark jedi66: Sorry about that. I neglected to take mobile apps into account when I updated the apps for this thread. I added in links so hopefully this doesn't happen again in the future.
Great, thank you.
Thanks for refreshing a once great app and making it relevant and usable. Do you have any suggestions for updating the app for use with Android 7.1? Both of your versions work well, but crash when "sending" files from one device to another. I believe this to be the case with released recent versions too.
Would be great to have a fixed version working on nougat.
Thanks again.
t3ch42 said:
Thanks for refreshing a once great app and making it relevant and usable. Do you have any suggestions for updating the app for use with Android 7.1? Both of your versions work well, but crash when "sending" files from one device to another. I believe this to be the case with released recent versions too.
Would be great to have a fixed version working on nougat.
Thanks again.
Click to expand...
Click to collapse
I don't use those features so I can't provide any suggestions. I'm inclined to believe it is something ES App Group hasn't bothered to fix in their push to bloat the thing and turn it into malware.
Thanks for responding. The app is a lot more useful and trustworthy on these versions. I truly commend you for the modifications.
I find the "send" function useful as I can set up a new device pretty quickly or send something between devices or the firetv pretty easily. Unfortunately, this is broken for the Nougat version. Just from looking at some logs and bug fix requests, it seems that this is still broken in the latest bloated malware release that the ES app group have submitted.
I don't know anything about modifying apps, but it seems like a trust issue with the new is version.
Thanks again for the apps, they give hope for useful and relevant tools.
Strephon Alkhalikoi said:
[*]It's required to uninstall any other version of ES File Explorer (except Pro) before installing a copy of the apps provided here. This is because the changed app signature will prevent the app from successfully installing.
Click to expand...
Click to collapse
Thanks for this. Can you explain why Pro is excluded from the uninstall requirement?
Mesmurized said:
Thanks for this. Can you explain why Pro is excluded from the uninstall requirement?
Click to expand...
Click to collapse
Two reasons.
1. This version and the pro version can be installed at the same time due to differing package names.
2. The pro app is supposedly malware free.
If you have the pro app and want to uninstall it, no one will object.
I stumbled on this topic very late, but you, sir, are my hero!!
I was working with a re-signed version myself but was working with the echo bind thingy, but this is so much cleaner!
I found this topic with google as I decompiled es file explorer myself and found the m.smali direct links to the su directory, but didn't knew which paths to set to fix the issue. Thank you so much for your work!
@Strephon Alkhalikoi Request: Is it possible to remove the 'call home' activity from the latest 3.2.5.5 versions? Note: All potential network activity options were disabled in Settings before testing (I hope )
My testing (using AFWall blocking all internet activity) shows: 16 attempts in 5 min to access/contact Baidu Netcom and China Unicom IP's on ports 80-http and 5353-multicast. IP addresses: 103.235.46.149 and .156, 104.193.88.79, 123.125.114.8, 239.2.0.251 and .252
Thanks for your support,
Mes
You may or may not know this, but on Reddit this was discussed in 2015. According to the official response to the question on HowardForums, "Thank you for your feedback. We use a third party Statistic module provided by Baidu it just counts user numbers anonymously and won't collect any user info. You might read our privacy policy from settings." (Source: HowardForums)
Now, while I can understand the concern given the latest versions of ES are the pits, I personally wouldn't lose too much sleep over this. In the meantime, if you wish to prevent ES from phoning home, your options are to block ES File Explorer in a firewall, or if rooted, install AdAway and add Baidu to its blacklist. When I have a spare moment, I will look at the code and see what I can do to eliminate the issue.
Strephon Alkhalikoi said:
You may or may not know this, but on Reddit this was discussed in 2015. ...
Now, while I can understand the concern given the latest versions of ES are the pits, I personally wouldn't lose too much sleep over this. In the meantime, if you wish to prevent ES from phoning home, your options are to block ES File Explorer in a firewall, or if rooted, install AdAway and add Baidu to its blacklist. When I have a spare moment, I will look at the code and see what I can do to eliminate the issue.
Click to expand...
Click to collapse
I searched XDA but forgot reddit. Oops. I'm using AFWall now to block. That's how I noticed the activity.
No pressure or hurry. Look around when you get time.
Thanks,
Mes
Thanks alot

[MOD][DEV][NX team] Bluelight Fix / AOD touch for all Note7 ported rom

*This thread is for dev, Rom maintainer.
Do not flash the attached file without services.jar editing.
*Don't send pm to me with your service.jar anymore. you never get my reply.
.
.
.
.
.
.
Hi all,
This is first mod by NX team
We decide to share our mod with XDA members.
Any dev can use this mod to their own rom with proper credits
This mod will be working with any kernel(selinux permissive) / any variant if you are on Note7 ported rom.
Features are below.
1.Bluelight filter fix
2.AOD notification alarm touch / Music control
(Note7 original behavior)
3.AOD brightness control
(Rooted/Reboot required to take effect)
Credits :
@Patrick.H (NX Team)
@karkasss (NX Team)
@develoid ALT and F4 (AOD touch / Bluelight filter fix)
@asc1977, @DaOldMan (AOD brightness control)
(Please copy & paste when you add our credits)
We say again.
All credits should be mentioned on your OP when you add this mod to your rom.
All codes are not original note7 code but their code written by themselves.
So anybody can notice when you steal our work without credits
Attached file is for AryaMOD note7 users we already modded to show you before & after.
I'm sure you can mod by comparing code for services.jar. (both classes.dex / classes2.dex are modded)
And rest files should be added/replaced.
Do not forget to give proper permission for each file if you try to flash add-on or OTA
(Please see the updater-script)
You can add AOD Brightness control menu to your rom control instead of AODsettings.apk
http://forum.xda-developers.com/showthread.php?p=69653504
Download :
https://drive.google.com/open?id=0ByMmvUc7IhtmbkVEYkI0eklBNW8
Video review :
https://youtu.be/7CsFPvf3vls
Caution :
1. If you do data reset(Factory reset), Bluelight filter will not be working.
Because some files are located in \data\bluelight\
=> Flashing mod file again.
2. Only English string is supported on notification panel when Blulight filter is activating.
If you want to translate to your language, open then edit the string /data/bluelight/filter.cfg
3.Selinux policy should be permissive by kernel to work bluelight filter.
4. http://forum.xda-developers.com/showthread.php?p=69933565
5.Bluelight filter is not working on exynos device. Sorry to late inform you.
Below files from zip are only for AryaMOD note7 users,
because @Kamy (Rom maintainer) deleted quickpanel toggle and setting menu of bluelight filter
-csc/aryamod.xml
-priv-app/SecSettings2
We are considering if we upload our rom which is all these mod included to XDA.
This rom has just pure function of Note7 without any mod.
Let you know our decision soon.
How to edit your services.jar
classes.dex part
1.AOD brightness control
com\android\server\display\DisplayPowerController.smali
For this smali edit, follow the below instruction.
http://forum.xda-developers.com/showthread.php?p=69653504
But only different string for "eragon_brightness" instead of "aod_brightness"
Because, AODsettings.apk file was aligned with this string "eragon_brightness" already.
2. AOD Touch & Bluelight filter
com\android\server\power\PowerManagerService$BinderService.smali
1)Go to the
.method public setDozeOverrideFromAod(IIILandroid/os/IBinderV
2)Search
const-string v0, "PowerManagerService"
2)Add below line
invoke-static {p2}, Lcom/samsung/android/aod/AODTouchDaemon;->call(I)V
like this.
Code:
const/16 v0, 0xff
if-le p3, v0, :cond_2d
:cond_2c
const/4 p3, -0x1
:cond_2d
[COLOR="Blue"]invoke-static {p2}, Lcom/samsung/android/aod/AODTouchDaemon;->call(I)V[/COLOR]
const-string v0, "PowerManagerService"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;->()V
com\samsung\android\mdnie\MdnieManagerService.smali
1)Search
.field private mDisplayOn:Z
2)Add below line
.field private mDaemon:Lcom/samsung/android/bluelightfilter/KPPDaemon;
like this
Code:
.field private final mContext:Landroid/content/Context;
.field private mCurtainModeIsRunning:Z
[COLOR="blue"].field private mDaemon:Lcom/samsung/android/bluelightfilter/KPPDaemon;[/COLOR]
.field private mDisplayOn:Z
.field private mEbookScenarioEnabled:Z
3)Search
const-string/jumbo v2, "lcd_curtain" or "lcd_curtain"
4)Add below line
invoke-virtual {p0}, Lcom/samsung/android/mdnie/MdnieManagerService;->addFilter()V
like this
Code:
:cond_fa
invoke-direct {p0}, Lcom/samsung/android/mdnie/MdnieManagerService;->setting_is_changed()V
[COLOR="blue"]invoke-virtual {p0}, Lcom/samsung/android/mdnie/MdnieManagerService;->addFilter()V[/COLOR]
return-void
:cond_101
const-string/jumbo v2, "lcd_curtain"
5)Search
# virtual methods
6)Add blue lines
Code:
# virtual methods
[COLOR="blue"].method public addFilter()V
.locals 2
new-instance v0, Lnxteam/craftingmod/bluelightfilter/KPPDaemon;
iget-object v1, p0, Lcom/samsung/android/mdnie/MdnieManagerService;->mContext:Landroid/content/Context;
invoke-direct {v0, v1}, Lnxteam/craftingmod/bluelightfilter/KPPDaemon;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/samsung/android/mdnie/MdnieManagerService;->mDaemon:Lnxteam/craftingmod/bluelightfilter/KPPDaemon;
return-void
.end method[/COLOR]
.method public getContentMode()I
7)Search
.method public setmDNIeEmergencyMode(Z)Z
See the above lines.
8)Replaced Red lines by Blue lines
Code:
const-string v2, "/sys/class/mdnie/mdnie/accessibility"
if-eqz p1, :cond_4a
[COLOR="red"] const/4 v1, 0x6[/COLOR]
:cond_4a
[COLOR="Red"] invoke-static {v2, v1, p2}, Lcom/samsung/android/mdnie/MdnieManagerService;->sysfsWrite_CB_HBM(Ljava/lang/String;I[I)Z[/COLOR]
move-result v1
goto :goto_44
.end method
Code:
const-string v2, "/sys/class/mdnie/mdnie/accessibility"
if-eqz p1, :cond_4a
[COLOR="blue"] const/4 v1, 0x2[/COLOR]
:cond_4a
[COLOR="Blue"] invoke-static {v2, v1, p2}, Lcom/samsung/android/mdnie/MdnieManagerService;->sysfsWrite_CB(Ljava/lang/String;I[I)Z[/COLOR]
move-result v1
goto :goto_44
.end method
classes2.dex part
1)Add below smali to /root folder
https://drive.google.com/open?id=0ByMmvUc7IhtmY3JBNzJJUUNMMUE
Important
Don't forget add below permissions to your updater-script
set_perm(0, 2000, 0755, "/system/bin/kppd");
set_perm(0, 2000, 0666, "/data/bluelight/filter.cfg");
set_perm(0, 2000, 0666, "/data/bluelight/kppd.cfg");
This is wonderful [emoji120]
Sent from my SM-G935F using Tapatalk
Kamy said:
This is wonderful ?
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Why not [emoji12]
Nice job mate but in the title it's for all Note7 ported ROM however in the downloaded file it's for Aryamod only.
Second point, is the file flashable in any N7 ROM to fix AOD and blue filter.
Thnxx
Sent from my SM-N9005 using Tapatalk
amour9999 said:
Nice job mate but in the title it's for all Note7 ported ROM however in the downloaded file it's for Aryamod only.
Second point, is the file flashable in any N7 ROM to fix AOD and blue filter.
Thnxx
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
You do not flash this zip file if you are not on AryaMOD Note7 rom.
This thread is for Dev, Rom maintainer.
So you should wait until they mod.
karkasss said:
You do not flash this zip file if you are not on AryaMOD Note7 rom.
This thread is for Dev, Rom maintainer.
So you should wait until they mod.
Click to expand...
Click to collapse
Mate mind u shared exactly what u do it for aod ? , for other roms based on s7 , ?
Wow this is awesome!!! :good:
karkasss said:
Why not [emoji12]
Click to expand...
Click to collapse
Sorry I used emoji switch on keyboard and showed up as question mark. I meant this IS wonderful indeed thank you for sharing.
Sent from my SM-G935F using Tapatalk
Kamy said:
Sorry I used emoji switch on keyboard and showed up as question mark. I meant this IS wonderful indeed thank you for sharing.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
@Kamy
I sent pm you. could you ckeck please?
Thanks dude.. can you make also a settings without fingerprint and iris menu.thanks again.waiting for your instruction how to removed the korean in the notification panel.
examiner said:
Thanks dude.. can you make also a settings without fingerprint and iris menu.thanks again.waiting for your instruction how to removed the korean in the notification panel.
Click to expand...
Click to collapse
Wait until I update bluelightfilter.apk for the multi language. I'm not available at this moment.
Other request should be asked via original rom thread.
for the fingerprint, you can delete easily.
etc/permissions/ search *fingerprint~.xml
just delete all.
File updated.
Korean translated to English on notification panel.
Only english is supported.
If you want translate your language, edit string /data/bluelight/filter.cfg
OP updated. (Caution)
Here I am, I could not miss (under invitation) my great friend as well as great DEV @karkass
karkasss said:
File updated.
Korean translated to English on notification panel.
Only english is supported.
If you want translate your language, edit string /data/bluelight/filter.cfg
Click to expand...
Click to collapse
Is the notification strings supposed to be like this, i.e. mixed Korean and English?
kopitalk said:
Is the notification strings suppose to be like this, i.e. mixed Korean and English?
Click to expand...
Click to collapse
You can only change english to your language. ignore the written Korean. that is just reference.
I think you made a mistake with credits...
Tamerlan didn't do the mod for AOD brightness on RC but @asc1977 made it with [MENTION=3026895]DaOldMan[/MENTION help here]:
http://forum.xda-developers.com/showthread.php?p=69653504
Regards
karkasss said:
You can only change english to your language. ignore the written Korean. that is just reference.
Click to expand...
Click to collapse
Forgive friend @karkass are messed up with 100 things open, and I understood little. Just a simple flash in recovery? And since in the zip I see services.jar but is universal? ...Sorry, but I did not understand
Ufo71 said:
Forgive friend @karkass are messed up with 100 things open, and I understood little. Just a simple flash in recovery? And since in the zip I see services.jar but is universal? ...Sorry, but I did not understand
Click to expand...
Click to collapse
you need to edit your services.jar comparing both file after baksmali.
one is before.zip
the other one is from NXteamMOD_for_AryaMOD_Note7.zip

Categories

Resources