Related
What Is This?
New XDA 2015 theme is great and I love it. Too bad, my screen is not that big. This is a huge problem for me. Every post, every thread, every forum, you name it, all the contents are squashed to 30%-40% smaller due to the sidepanel on the right. So I look out for the right css ( yes only css ) to hide the sidepanel. And it works for both Light and Dark XDA2015 theme.
Screenshots
Download
I posted it on my Github. Simply click Raw to install if you have Greasemonkey or Tampermonkey installed on your browser.
Changelog
10-17-17 - Fixed wrong match pattern causing some wont be able to run the script on xda. Credit @tgp1994.
01-01-17 - Fixed script matching condition cannot find the right xda forum url. Thanks for the report @No1VIPER.
06-17-16 - Fixed script not working on recent tampermonkey/greasemonkey updates. Thanks for the report @Salty Wagyu.
12-01-14 - Fixed script not working on FireFox. Just remove the old script and reclick the Raw link above. Thanks @Gabriel51 for reporting.
FAQ
Q: Is this working for other theme?
A: I made this for both light and dark xda2015 theme. 2010 and 2013 doesn't need this.
Q: I found a page with sidepanel is still there!
A: Let me know, post a link to the page and I'll try to fix it.
Q: Are the ads removed?
A: No, but my script is for sidepanel, there's one or two ads on sidepanel. I tuned off adblock for XDA, that's my way supporting XDA.
Q: Can I check the source code?
A: It's available on my Github.
Q: Are there any risks?
A: You can always check the code to make sure it's clean.
Thanks to : @GermainZ for the original XDA Dark script. It took me a few minutes to make my own script yet it's not working so well. With his script, I just need 10 seconds to edit the css part.
This is fantastic, thanks so much!
P.S. I see you're enjoying my XDA Devs avatar template & fonts, eh?
thenookieforlife3 said:
This is fantastic, thanks so much!
P.S. I see you're enjoying my XDA Devs avatar template & fonts, eh?
Click to expand...
Click to collapse
Hah! small screen? [emoji23]
No problem bro, thanks to you too for the avatar. [emoji16]
anazhd said:
Hah! small screen? [emoji23]
No problem bro, thanks to you too for the avatar. [emoji16]
Click to expand...
Click to collapse
Small screen indeed.
Very nice. Tried and it works fine!
How do you install this script and where?
I'm glad the dark theme was mentioned, I was getting a tan off this 32" monitor while on xda.
@Gabriel51,
To use the script, install either Greasemonkey or Tampermonkey on your web browser; then, click here to install the script.
Enjoy! :good:
thenookieforlife3 said:
@Gabriel51,
To use the script, install either Greasemonkey or Tampermonkey on your weh browser; then, click here to install the script.
Enjoy! :good:
Click to expand...
Click to collapse
I assume your talking about Firefox?
I assume there is a place in the program Greasemonkey or Tampermonkey to install the script?
I see it's automatic with Greasemonkey, Thanks
It did remove the column at the right, but this part of the page stayed the same. Is there a way to expand this area?
Gabriel51 said:
I assume your talking about Firefox?
I assume there is a place in the program Greasemonkey or Tampermonkey to install the script?
I see it's automatic with Greasemonkey, Thanks
It did remove the column at the right, but this part of the page stayed the same. Is there a way to expand this area?
Click to expand...
Click to collapse
I did a test on firefox and yeah it's broken now. chrome is still working fine tho. I will fix it if I can. :good:
edit : fixed. easy one, i forgot to force it using !important
Yep that did it.
Thanks...
Gabriel51 said:
Yep that did it.
Thanks...
Click to expand...
Click to collapse
glad it works. thanks for pointing that out :good:
Does it work with Scriptish? I've installed, disabled all blockers, No-scripts ect but still panel is no hidden.
I made quick test and in Scriptish i won't work, but in Greasemonkey yes.
Tried it in Tampermonkey but it doesn't remove the side panel. Does the script need updating, or is there any newer alternatives?
Salty Wagyu said:
Tried it in Tampermonkey but it doesn't remove the side panel. Does the script need updating, or is there any newer alternatives?
Click to expand...
Click to collapse
tampermonkey/greasemonkey must have changed something, I will have a quick look and will update later.
edit: Okay I pushed a small update on the script. It's working fine on me now.
@anazhd It's not working again. Can you take a look at when you get a chance please?
No1VIPER said:
@anazhd It's not working again. Can you take a look at when you get a chance please?
Click to expand...
Click to collapse
Alright. I'll check it as soon as I'm free.
Fixed, thanks for the report @No1VIPER
No problem. Thanks for the quick fix.
When I click on RAW, I get an error message "Impossible to analyze the script" ?
ChefChaudart said:
When I click on RAW, I get an error message "Impossible to analyze the script" ?
Click to expand...
Click to collapse
That's odd. Anyway, just head on to my gist and try clicking raw from there.
Hello Xda,
I Have created a simple apk and i want to add login/register feature to my app.
Thanks
Rock-star said:
Hello Xda,
I Have created a simple apk and i want to add login/register feature to my app.
Thanks
Click to expand...
Click to collapse
We need more info as to what you're using.
IE: Any frameworks? Native?
Typically, how it's done is an HTTP request is made to a URL that returns JSON DATA.
I can't post links yet, else I'd link you to some tutorials, but, I would suggest Googling PHP login script, and a tutorial on JSON for whatever framework you are using.
If you let me know the details, I can create a simple example script that will help.
Ok
Its not using http requests
Rock-star said:
Its not using http requests
Click to expand...
Click to collapse
Then what are you using ?
I dont know
I am using backendless
Rock-star said:
I dont know
I am using backendless
Click to expand...
Click to collapse
:silly:
You will need a backend first...
You can make one of your own ,or use a BaaS like Firebase.
It would be really great if the threads would show the latest version number so you wouldn't have to check it... Thanks!
Maybe you can create a subtitle feature that includes those details?
vjtigas said:
It would be really great if the threads would show the latest version number so you wouldn't have to check it... Thanks!
Maybe you can create a subtitle feature that includes those details?
Click to expand...
Click to collapse
you may compile a list of it AFAIK. but ask for the thread owners for their link to be added on your compilation..
for me compiling it would be a good idea..
thanks will try it out
I got bored, so I decided to build the latest TWRP. Big thanks to @negamann303 for his source. I only made minor, mostly theme related, tweaks to it. The only non-theme related tweak that I can remember is that I enabled the flag that enables taking advantage of NEON, so that might result in some speed increases, but I haven't done any tests to confirm that.
Q: Sweet! Does ADB backup work?
A: No. Sorry. If you know how to make it work, please let me know and I will implement it.
Q: Oh. So this is basically the same as the previous version?
A: Pretty much. I imagine it supports a whole bunch of new things that our watch isn't capable of, but who cares. It also features the nag screen that asks if you want to install the official TWRP app, which is useless in this case. You can tell it to stop though.
Q:So why should I bother with this?
A: Because you're a flashaholic that needs to have the latest and greatest thing. Duh.
SOURCE
Device: https://github.com/theSt33v/omni_twrp_device
Kernel: https://github.com/Negamann303/Huawei-W-1.5-2.0
TWRP: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni
Does this work with the android 2.0 on the Huewai? Also, is there an img file to flash in fastboot? Thanks.
jnewberry1 said:
Does this work with the android 2.0 on the Huewai? Also, is there an img file to flash in fastboot? Thanks.
Click to expand...
Click to collapse
It does, and - have you tried downloading the ZIP and checking what's hiding inside?
munky-head said:
It does, and - have you tried downloading the ZIP and checking what's hiding inside?
Click to expand...
Click to collapse
LOL. My bad. I just assumed it was a flashable zip. Thank you.
1st of all: Thank you soo much!!!!
How could I theme this?
(also you only build it with a local manifest or do you also have a git, which I could fork for theme testing?)
BIade said:
1st of all: Thank you soo much!!!!
How could I theme this?
(also you only build it with a local manifest or do you also have a git, which I could fork for theme testing?)
Click to expand...
Click to collapse
Sources are posted in the OP. Help yourself. I don't know much about TWRP theming, but I do know that the files you want to modify are found in device/huawei/sturgeon/watch_mdpi. This is the folder that was modified by @negamann303, and by myself to a lesser extent, to get the theme that you see in the version that I built. There is also a watch_mdpi folder in the TWRP source somewhere that contains the default watch theme. TWRP is also capable of themes that can be applied post-build so you don't have to build a new one every time you want it to look different, but I don't know anything about how to make that happen. Search XDA for flashable TWRP themes for examples, but make sure they're for 3.1.0. The theme template has changed a bit from previous versions. Hope that helps!
TheSt33v said:
Sources are posted in the OP. Help yourself. I don't know much about TWRP theming, but I do know that the files you want to modify are found in device/huawei/sturgeon/watch_mdpi. This is the folder that was modified by @negamann303, and by myself to a lesser extent, to get the theme that you see in the version that I built. There is also a watch_mdpi folder in the TWRP source somewhere that contains the default watch theme. TWRP is also capable of themes that can be applied post-build so you don't have to build a new one every time you want it to look different, but I don't know anything about how to make that happen. Search XDA for flashable TWRP themes for examples, but make sure they're for 3.1.0. The theme template has changed a bit from previous versions. Hope that helps!
Click to expand...
Click to collapse
Worked, thank you very much
Thank you, im really happy now
Cheers
Blade
P.S.: @TheSt33v I changed
Code:
%col1_x_left%
to 50 for some titles, due to the round sceen cutting some header texts in statusbar. (see last screenshot)
BIade said:
Thank you, im really happy now
Cheers
Blade
P.S.: @TheSt33v I changed
Code:
%col1_x_left%
to 50 for some titles, due to the round sceen cutting some header texts in statusbar. (see last screenshot)
Click to expand...
Click to collapse
Sexy. Maybe I'll look into making that an applyable theme for everyone if I find some time. Can you post your watch_mdpi folder?
Looks like 3.1.1 came out today. I'll have to get on that too.
TheSt33v said:
Sexy. Maybe I'll look into making that an applyable theme for everyone if I find some time. Can you post your watch_mdpi folder?
Click to expand...
Click to collapse
I already did ^^
BIade said:
I already did ^^
Click to expand...
Click to collapse
You explained what you did, but I don't see the actual folder uploaded anywhere. It would save me some time if I didn't have to reproduce what you did.
TheSt33v said:
You explained what you did, but I don't see the actual folder uploaded anywhere. It would save me some time if I didn't have to reproduce what you did.
Click to expand...
Click to collapse
Sorry, I meant, I already created a flashable theme-zip. I will share it tonight, when I arrive at home...
BIade said:
Sorry, I meant, I already created a flashable theme-zip. I will share it tonight, when I arrive at home...
Click to expand...
Click to collapse
I hate to nag you, but could you post that theme when you get a chance? I'd like to see it in person.
@TheSt33v Sorry mate, for the late response. As promised here my theme (Just a WIP, I used a template for the filestructure etc.)
This saves me time from having to do it myself, I can look into removing the nag screen if you haven't figured it out yet
Sent from my SM-G935P using Tapatalk
negamann303 said:
This saves me time from having to do it myself, I can look into removing the nag screen if you haven't figured it out yet
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
I forgot it was even there, so I wasn't looking into it. Once you disable it the first time, it's gone for good unless you wipe the device. Let me know if you figure out how to get rid of it though. I'm surprised there isn't just a flag to enable.
Thx, worked as expected and the good thing is : sideload don't must be fall back to the old protocol
Sorry guys first time flash on android wear however i am familiar with android phone flash. Please tell me how to install this?
long.nguyen said:
Sorry guys first time flash on android wear however i am familiar with android phone flash. Please tell me how to install this?
Click to expand...
Click to collapse
Same as with a phone. Extract the .img file from the zip attached to the post, boot watch in bootloader mode, plug into computer, fastboot flash recovery [path to twrp image file].
Hey everyone
I have an m8 eye variant and i want to add recovery to power menu. I know we have to make changes to Globalaction smalis in SystemUI but I dont know about smali editing.
i searched for guides for it on google but only found all touchwiz guides and outdated ones which are not for android 6.
They are many awesome devs in here. Please can someone guide me .
Thanking You..
MarkTejo said:
Hey everyone
I have an m8 eye variant and i want to add recovery to power menu. I know we have to make changes to Globalaction smalis in SystemUI but I dont know about smali editing.
i searched for guides for it on google but only found all touchwiz guides and outdated ones which are not for android 6.
They are many awesome devs in here. Please can someone guide me .
Thanking You..
Click to expand...
Click to collapse
You could just use this instead.
xunholyx said:
You could just use this instead.
Click to expand...
Click to collapse
Thanks for reply sir.
What I mean is directly adding functionality to system instead
Of third party apps.
Is there any way to do it?
No one?
I added button to recents which reboots to recovery.
If anyone want it on M8 eye ask me.