yashsingh1/xdaforums huggingface dataset:
[Networking] cyber_viper:
Hi,

Can anyone help me with this information that how can I Turn ON/OFF Wireless LAN programatically? (I want to implement this capability to an application i'm developing) based on my BA device (running WM5 patched rom).

I usually do it from from a GUI based application named WLAN_MAN. (control pannel applet) but how can I write an application like that for my purpose.

Is there any Service required to start ? or any run time registry modification is nedded ? or anything else to On/OFF WLan on a BA device running WM5 .

Mamich/ Buzz / Vijay and all other Geeks ! please help me

:roll:
[Xposed Framework Modules] dolorespark:
Phab7 is an on-the-fly UI switcher: select Phone, Phablet, or Tablet, then tap the Change button. The switch happens immediately - no reboot needed. A separate option lets you switch settings screen layouts (e.g. the Settings app) between Phone-style (separate screens for categories and details), and Tablet-style (categories and details, side-by-side).

Unlike other solutions, Phab7 has no effect on your apps beyond for their Settings screens. In particular, it will not alter the size or layout of your launcher's icons or dock (nor will it cause the tablet-style app-drawer icon to appear).

Note: Google removed Tablet mode from KitKat, so it is not available if you're running Android 4.4.x.

Installation

Important: if you have a

beta

version of Phab7 (v0.9x) currently installed, you must uninstall it before installing v1.0. Android will refuse to install it if one of the betas is present.

if you don't already have XposedInstaller on your system, see this thread

install Phab7.apk the same way you'd install any other sideloaded app

enable Phab7 by reopening the XposedInstaller app and selecting 'Modules'

tap

directly

on the checkbox next to Phab7, then back out and reboot

after the initial reboot, you can open the Phab7 app and change UIs as many times as you wish without further reboots

Notes

Tablet UI mode is only available when running ICS or JB (v4.03 thru 4.3x). While Phab7 supports KitKat, it does

not

add back the Tablet mode that Google has removed.

Whether Phab7 works on your device depends almost entirely on your ROM's creators. If they removed the graphics and layouts needed for a given UI mode, SystemUI.apk is guaranteed to force-close when you select that mode. A "Keep-Or-Cancel" dialog will automatically restore your settings after 12 seconds if this happens when you choose an incompatible UI mode. Clear the "Unfortunately" popup and you're good to go.

the Settings-layout feature takes effect when an app is first launched. To see its effect on running apps (e.g. the system's Settings app). tap the "Recents" button and swipe the app away , then reopen the app.

File

Phab7.apk - v1.00

Credits

barrmulio - the first to identify the system changes needed to implement alternate UIs

_TB_TB_ - author of TabletUI trigger who first realized that UI-switching could be done by an Xposed module

History

2014/01/22 - v1.00 - initial stable release

2014/01/05 - v0.99 - added keep-or-cancel dialog

2013/12/13 - v0.97 - added scaling for all modes

2013/12/10 - v0.96 - fixed KitKat-specific bug

2013/12/09 - v0.95 - added Tablet UI scaling

2013/11/30 - v0.92 - added support for KitKat

2013/11/27 - v0.90 - initial release
[Xposed Framework Modules] coolnessQ:
Gonna try it on S4 v4.3 :)

---------- Post added at 08:08 AM ---------- Previous post was at 08:02 AM ----------

Ring of FC ;p
[Xposed Framework Modules] Metallijim:
Tried it, changes fine to tablet mode. Just a few layout issues. And the nav glow doesn't fade.

See screenshot.

Xperia Z running eXistenZ 4.10 rom.

Subscribed, this looks promising.

Sent from Z Beast
[Xposed Framework Modules] Saeedblack:
For me with android 4.1 only settings work and status bar and nav bar don t work
[Xposed Framework Modules] reversegear:
Great job. tested working on CM10. status bar looks monster

it could have better you provided DPI settings along with phab7. though i can manage with app settings

the give attachment is flashable zip i just extracted phab7.apk and installed normally

why this is not available in xposed Repo..
[Xposed Framework Modules] Metallijim:
I think because it's new and in beta

Sent from Z Beast
[Xposed Framework Modules] Dovidhalevi:
Now we need not wait for updated Paranoid!! OK Paranoid does do some of this stuff better/more consistantly than AppSetting and this module, but ...

Great!

Wanna outdo Paranoid: Tablet mode mostly more usable in landscape, so ... get the idea?

EDIT: Results using the mod on my LG P500 running cm-10.2 with 4,4 Google Now launcher: I can use AppSetting module to force this launcher to rotate but it does not handle this correctly.

Settings UIs work as promised! This is what I really missed not having Paranoid.

Navigation bar: Question -- what if I do not use one (phone has HW buttons--remember those)? Module should accept phone setting.

Anyway, tablet mode: Repeated FCs of systemUI until I changed to other mode:

Phablet mode: Navigation bar shows as promised. Notifications not effected.

Phone mode: No way to correctly test with this launcher.

Went back to default: Icon bar, no navigation bar.

If I remember from Paranoid, tablet mode put notifications bar on the bottom right. Phablet left it on top, opening to half-height, had to change dpi to fit it to screen width correctly. So tablet mode, once working, would either have both at bottom right justified or just the notifications as chosen in the phone's settings! Someone check current Paranoid.
[Xposed Framework Modules] partyzant_x:
Compatible with KitKat?

Wysłane z mojego Ascend G510 przy użyciu Tapatalka
[Xposed Framework Modules] dolorespark:
Don't flash that zip!

OMG!!!! My apologies! The zip that was posted (in error) was only for the Hisense Sero 7 Pro and contained a tablet-specific mod to SystemUI.apk.

The script in that zip checks for the model, so it should have failed if you tried to flash it on any other device. However, if somehow you succeeded in flashing it, you will have to restore your ROM's original SystemUI.apk. The original, along with SystemUI.odex if present, is in your /system/app folder with '-org' appended to it. If you have problems handling this, I can create an update.zip to do this for you.

Again, my apologies - it was late...
[Xposed Framework Modules] mauam:
This's amazing. Thanks a lot dev. Looking forward for new versions:laugh:
[Xposed Framework Modules] dolorespark:
Generally speaking: if "nothing happens", the issue probably lies within Phab7; if SystemUI FCs, then it's probably your ROM.

For Phab7 problems, XposedInstaller's debug.log should identify the problem - you can find it in /data/data/de.robv.android.xposed.installer/log/debug.log. Pull the file and attach it to a posting. For ROM problems, I'd need a logcat log that covers the time period when the FC occurred. If you need help generating one, let me know. (logcat logs for Phab7 issues are certainly welcome too, however, they have to include system startup to be useful.)

For SystemUI FCs, a possible cause is vendor customization of a particular NavBar layout that wasn't carried over to the other versions. The tablet I use is a perfect example. It defaults to Phablet and has a screenshot button (which most everyone hates). The button wasn't implemented for Phone since they assumed it would never be used, so SystemUI FCs in Phone UI when their code goes looking for a button that doesn't exist. To get it to work, I had to patch their systemui.apk to get rid of both the button and the code that references it. This is not something I'd want to try on a device I don't own.

Bottom line: I'd be happy to implement reasonable workarounds to enhance compatibility with the widest range of devices, but even then, not all modes will work with all devices.
[Xposed Framework Modules] Dovidhalevi:
and this is an older device.

I am attaching the debug.log, but changing the name to debug.txt to get in on here.
[Xposed Framework Modules] MMeester:
On my N7, checking 'tablet' in system settings changes the module's menu just fine but has no effect on Rom settings.

Setting default ui to phablet didn't help either.

Debug log: https://www.dropbox.com/s/zlp89tbus6o23qi/xposed_debug_20131127_194414.log

N7(flo)-Rastakat-franco.kernel

N4(mako)-PKK-franco.kernel
[Xposed Framework Modules] Saeedblack:
for me it have been FC for first run and after reboot it never appear again but don t have FC

also here you are i attached log that you notice
[Xposed Framework Modules] dolorespark:
No TabletUI in KitKat

Is this a KitKat-based ROM? Sadly, all of the code and resources needed to support Tablet UI have been stripped from Android v4.4. Because Phab7 v0.9 doesn't make provisions for this change, the UI switcher doesn't work. I will fix that ASAP so that at least Phone and Phablet are available. Restoring Tablet UI may be more than an Xposed module can/should do, but I'll investigate...

However, the Settings screen mod should still work. As mentioned in the OP, if the system's Settings app is already running, you'll have to remove it from "Recents" and reopen it. If you reboot with "Tablet-style" settings in place and it still doesn't work, let me know.

You didn't describe where you're having problems. During one session, one of your other Xposed modules (com.wisdomsky.xploit) failed every time, even when Phab7 hadn't made any changes. After a reboot, the problems were gone but so were Phab7's standard messages. What changed?
[Xposed Framework Modules] Dovidhalevi:
I first tried it before rebooting, then realized that it cannot work that way and rebooted. Then Phab7 worked as described.

Since wisdonsky operates on the notifications bar, could be that the interaction with tablet mode trying to move that is what is noted.
[Xposed Framework Modules] MMeester:
Yes.

Sadly, no change in settings app after a reboot. Do you need any logs?

Thank you for looking into the issue.

N7(flo)-Rastakat-franco.kernel

N4(mako)-PKK-franco.kernel
[Xposed Framework Modules] Metallijim:
Can I ask what in the system side of things this is targeting? Only asking because I had a problem with Tablet mode where I changed compatibility mode, and that then caused constant FC of SystemUI.

Also where are the settings stored? I managed to get out of the fc loop, but am now left with a layout problem of my System UI. Nothing major, but even if I change SystemUI, it persists.

Any help appreciated.
[Xposed Framework Modules] dolorespark:
Phab7 is designed to do as little as possible to achieve its goals - in some cases, perhaps too little. For Phone and Phablet, it does some setup when SysUI starts and that's it. For Tablet, it has to be slightly more intrusive but not much.

Sadly, I had no way to test compatibility mode so I'm not surprised that it has issues. Recovery from most any problem should be as simple as switching to another UI. In this case, getting out of TabletUI, then returning without touching the compatibility button should cure what ails you.

If you get repeated FCs in SystemUI, one way out is to leave the toast up there, then from ADB, delete /data/data/com.e_vertise.dopa.phab7/shared_prefs/settings.xml. When you dismiss the toast and SysUI restarts, you should be back to your device's default settings.

Note: if I understand things correctly, Android may try to reload SysUI's Java code several times using the same process before it gives up and kills that process. Once it restarts SystemUI using a new process, you're certain to be back to normal if you've deleted Phab7's settings file.
[Xposed Framework Modules] MikeRL100:
We'll soon find out if it works on KitKat. Yes I know how to disable Xposed from recovery. Using it on KitKat doesn't seem to cause any crashes, but it doesn't do anything at all on KitKat.
[Xposed Framework Modules] SyCoREAPER:
For the settings menu, Phablet is missing for me. Tablet is there and works but nothing is scaled.
[Xposed Framework Modules] galaxys:
Awesome! Been looking everywhere to get my lg gpad8.3 aosp to get the navbar on the side in landscape...this does the trick!!! :cool:
[Xposed Framework Modules] iRhyiku:
is there anyway to have the status bar the phablet status bar but the pulldown notifications to be the phone one (the fullscreen variant)

Yes there is a need for this. Thanks.
[Xposed Framework Modules] balus3u:
Please open source the code, a lot of people will appreciate that.
[Xposed Framework Modules] MikeRL100:
This is another module, but it may be worth a look.

http://repo.xposed.info/module/org.exalm.tabletkat

Brings the tablet UI to KitKat. But I haven't tested it with this module yet. If you do try the two together, and stuff goes crazy, disable Xposed from recovery. There should be a file to flash on the root of your SD Card or internal storage.
[Xposed Framework Modules] PVL_93_RU:
Can confirm - Dual pane settings menu does not work properly on Nexus 10 4.4.4 in landscape mode
[Xposed Framework Modules] Veratruvios:
Request 'GravityBox' support; or ability to edit colours, move navbar around?

When using this with 'Xposed installer' module 'GravityBox' to customize the colours of the navigation bar, clock, and other tweaks, it does not keep as soon as I use any settings other than default from this application.

I'm using 'Xposed Installer' with a handful of modules, 'Phab7' is one of them, extremely useful for the UI switching, but 'GravityBox' is my primary reason for using 'Xposed Installer', and without having the ability to edit the navigation bar with both of them hurts a lot of customizations!

Is there any possible means of changing to Tablet UI (other modes too), without losing edits from 'GravityBox'? Perhaps allowing us to edit the navigation bar? I love "TabletUI", but no customization ability is lacking.

I don't know what work, if even possible it would be to do so, but I'm certain this would give a larger more greater ability to customize our tablets, phones, and other devices, much more personal experiences.

Thanks for reading,

kind regards.

-Vera
[Xposed Framework Modules] dolorespark:
GravityBox should work OK in Phone or PhabletUI, but sad to say, it has never(?) supported TabletUI-specific customizations.

To do so, GB would have to support a completely different set of Java classes than those used for phone/phabletUI. As of KitKat, those classes are obsolete, so I wouldn't expect any new development by GB's author.
[Xposed Framework Modules] hashworks:
I'm using this on my Nexus 7 (CM11) to bring the nav bar to the right in landscape mode and to fullscreen the notification / quick settings area.

Sadly now my navbar buttons are aligned to the left. Is there any way to give them center gravity?

[IMG="Screenshot"]http://i.imgur.com/ZASWoS4l.png[/IMG]
[Xposed Framework Modules] Au5t1n:
Some bugs I found on Cloudyfa's G3 ported ROM for the G2.

Screenshot

1. Phablet nav bar in landscape view isn't scaled right along with the status bar in the right corner

2. Recent apps window isn't scaled right.

3. Can't swipe the status bar up with phablet nav bar enabled in landscape view.

Sometimes checking any of the boxes under the nav bar settings causes the app to stop.

The settings screen is all working though :thumbup:
[Xposed Framework Modules] xxSAKISxx:
Hi i have a question to make. I have a 8" tablet (Nextbook) running Android stock 4.1.1 jelly bean and i want to run it in phablet ui. The problem is that there is no custom recovery for this tablet to be able to mske a nandroid and try it myself as i do with my Galaxy Nexus. I am rooted with xposed framework installed. My question : If i try this module what can go wrong and if something actually go wrong i be able to recover? As i mention before no custom recovery and nandroid exist. Tnx in advance.

ps. Ok guys works grate in phablet mode. Only 1 thing. the clock in statusbar is to big and i only see the half of it. any solution for that? the battery and the wifi signal icons are ok. only the clock is big.
[Xposed Framework Modules] mishaaa163:
erm...

how turn on Phablet Mod on Android 4.0.4?
[Xposed Framework Modules] DustArma:
There's no phablet mode for ICS, it was introduced on Jelly Bean
[Xposed Framework Modules] mishaaa163:
and how make interface on ICS look like on Nexus 7?
[Xposed Framework Modules] heross:
Hello dolorespark,

nice project and i have test it today with my Xperia Tablet Z (SGP311 FW.283 KitKat).

And here the Bug i will report:

I would change my Navbar to right side in landscape, so i change from "default" to "phone". Navbar shows now correct to the right side, but all buttons are gone.

Is there anything i can do?
[Xposed Framework Modules] Joe _ Cool:
if you hide the nav bar, can you swipe it back or will it be gone for good?

btw, scaling works great on htc one m8. just notification text might get cut off in the drawer then.
[Xposed Framework Modules] HansWursT619:
Iam using this on a Nvidia Shield Tablet running lollipop because I want the Navbar on the side in landscape.

It does that, but the recent button does not work.

Any chance you can fix that?
[Xposed Framework Modules] jamesbond22:
I like new settings. But how do I delete bar with navigation buttons?
[Xposed Framework Modules] R Forrester:
Would be great to see this working in Marshmallow.
[Xposed Framework Modules] freeforce:
Mm support please.
[Xposed Framework Modules] marvi0:
Does using this mod allow for the status bar to go at the bottom of the screen likeon pParanoidandroid?.
[Xposed Framework Modules] dolorespark:
If you're referring to a combined navigation and status bar at the bottom, then yes, that's TabletUI. Be aware that all that code was stripped out of KitKat, so it's only available in Android 4.03 thru 4.3x.

In general, your success in getting these features to work depends on how much your ROM's creator screwed around with ..umm.. "customized" the relevant code and graphics.

BTW... I'll have a KitKat-compatible version out sometime this weekend (still a beta, though).
[Xposed Framework Modules] marvi0:
Cheers, al be using noobdev cm10, anyone had any luck with it?. That feature is the only reason I stick to Paranoidandroid Android, so hoping it will work with this mod.
[Xposed Framework Modules] zackspeed:
Tried this on my Sony 4.1 Ion and it does work but has the sizing issue but seeing as this is focused on tablets that makes sense. A dpi setting would be awesome for this. I have been trying to find a way to use Sony's stock Tablet Z look to my Ion. The Tablet Z on 4.1.2 still had the old layout so it seems it could be possible. I have tried looking at the apk to figure out how it works but it is way over my head. Oh and the other hurdle is trying not to break small apps lol.
[Xposed Framework Modules] dolorespark:
new version supports KitKat

I've posted a new version of Phab7 (v0.92) which now supports KitKat. See the OP for details.
[Xposed Framework Modules] LaserChicken:
Works on my aging Xoom, stock 4.1.2

I like the phablet layout, but what I really would like is using the tablet mode, but with a thinner bar. Is that a possibility?
[Xposed Framework Modules] MMeester:
The update fixed my issues on flo. Now I have my PA style menus back. Thank you so much :)

N7(flo)-Rastakat-franco.kernel

N4(mako)-PKK-franco.kernel
[Xposed Framework Modules] marvi0:
Thanks for the update. If am reading and interpreting correctly, considering my poor technical knowledge, basically with kit kat we can no longer have tablet ui, which enables the status bar at the bottom of the phone right?
[Xposed Framework Modules] MikeRL100:
Thanks again for your hard work. I'll try it on my KitKat running Nexus 7 2013. See if it works as soon as it's done charging. I didn't even think tablet UI was possible on KitKat.
[Xposed Framework Modules] Jordan~Kurniawan:
working with almost no problem except that tablet ui is too big.. but iknow this app are targeting tablets
[Xposed Framework Modules] lmike6453:
Thanks for trying to get TabletUI working, one of my favorite Android mods in general

I'm getting a "Unfortunately, System UI has stopped" error after changing to "Phablet" or Tablet UI, running BeansRom on the VZW Galaxy Note 3

Anyone have this working on the Note 3? I made sure that it's enabled in Xposed and restarted the phone
[Xposed Framework Modules] partylikeaninjastar:
Phablet UI doesn't align notification and quick setting correctly. It will align them correctly at first (left side for notifications, right side for quick settings), but after I rotate my screen, they're both stuck on the left side of the screen.

Anyone else using Phablet settings?
[Xposed Framework Modules] shayneflashindaily:
Not working at all with galaxy mega i9205 ...FYI.

2SHAYNEZ
[Xposed Framework Modules] dolorespark:
When it's in its "normal" mode (Phone, I guess), are there any extra buttons on the Nav Bar other than back/home/recents? My tablet had a screenshot button when running in its normal Phablet mode but crashed when I switched to Phone because the vendor hadn't bothered to add that button to a layout they thought would never be used.

Not at all? Just to confirm: did you enable it in Xposed Installer then reboot? If nothing else, you should be able change "Settings Screens" to tablet, then open the System Settings app and see it in dual-pane mode (if Settings is already running, you have to clear it from Recents the reopen it).

This sounds like a ROM-specific quirk of the sort I want to investigate after I get the basic features in place and working correctly for most users. If it's any comfort, I have a similar misplacement issue when running CM11 but I'm not spending any time on that problem either.

Right now, my top priority is making Tablet UI mode scalable so the Notifications panel doesn't run off the screen on smaller devices. Once that's in place, I'll try to refine its performance on specific ROMs. "All things in the fullness of time..."
[Xposed Framework Modules] partylikeaninjastar:
Sounds great! Nice to know you've made a note of it
[Xposed Framework Modules] lmike6453:
Thank you for your response. My note 3 is just like a phone ui with no navigation bar. I took a screenshot if that helps attached to this post. I really would like to get this working if I can since tablet ui is just that awesome.
[Xposed Framework Modules] dolorespark:
No navbar? Hmm... I have to wonder if some of the resources needed to display these other modes were removed since whomever thought they'd never be used. If you can, send me a PM with your copy of SystemUI.apk attached. I'll pull it apart to see if that's the case.
[Xposed Framework Modules] Anthrax:
Thanks bro.... its working like a charm,.... just what I needed..... was searching for this since I got my TAB.... and now this Mod has made it better then before......

Cheers to you...
[Xposed Framework Modules] p_sticks:
Thumbs up

Excellent work, works on SAMSUNG GALAXY S DUOS

Sent from my Samsung Galaxy S duos

Running rooted STOCK ROM :)
[Xposed Framework Modules] lmike6453:
Thanks PM'ed! Hopefully this will end up helping with compatibility across other user ROMs as well.
[Xposed Framework Modules] Lento10:
I am running stock 4.4.1 on the Nexus 5 and the Phablet setting did not work.
[Xposed Framework Modules] TheManii:
does phab7 use the previously existing tablet nav bar code in the rom or does it bring the code itself?

I'm curious as to the fact that gravitybox (for example) cannot modify the equivilent things in tablet mode, as it supports ICS/JB where the tablet nav bar is normally available.

I'm wondering if it was never supported in gravity box or if it's due to how phab7 and gb interact.

One example that GB cannot modify would be the statusbar battery icon, both the actual icon and the one in the popup clock box.
[Xposed Framework Modules] Javierinnn:
Hi, works on Xperia Tablet Z with android 4.2.2

https://www.youtube.com/watch?v=P4zFncx2HcQ