yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] lpsi2000:
The dpi override seems to work pretty well here. I just thought of something that would also be nice to get done. Using the example above you are forcing calculator to 240. What if I want calculator at 180 and also want to it to use the entire screen at that dpi. The only difference the calculator fonts and characters would be smaller but it will still use the entire screen. How can I do that? Essentially making the app multidpi capable. I do understand some app will only work on stock dpi but others could be multidpi.
[Galaxy Note II Original Android Development] DAGr8:
ok well the pa guys know better since there newest mod doesnt require this but here is my conclusion based on all the testing i did today ..

there is only one way to force tablet ui on systemui and its by 'obeying the rule 'set in phonewindowmanager (android.policy.jar) .

that rule was documented by bravillo (here on xda) basically it tells the phone if device resolution * then tablet .. if device resolution * then phablet .. else phone ui .. (600 and 720 .. vs your phone resolution )

overide that rule (very simple hack) and you can make systemui 's tablet work at any dpi..

but without doing that you can only force systemui in tablet mode by changing the build.prop

so the way to have true tablet mode using tweakbox is by changing the build prop accordingly and overide the rest of the apps 's dpi in xml ... (prior to there nice UI PA use to do it this way using a prop file (pad.prop)

that brings me to my next question , right now is there a shorter way to link all the apps to a specific dpi or i woudl have to write down all the process one by one :eek:

i guess my next step in development is going to be using eclipse and make mods work for this .. im digging this ...
[Galaxy Note II Original Android Development] icosium74:
Awesome work what you are doing here guys! Sincerely, I admire you, I wish I could be a dev myseld.

If I can bring a mod suggestion to work with this is about making the status bar displaying signal strength in dBm instead of those useless bars. Having such information on signal level available in status bar would be great indeed.

Thanks for the great work!
[Galaxy Note II Original Android Development] htc-rocks:
Hi,

Ok, this is what happens.

*Clean start

Open browser - desktop view :)

*Force close browser in task man

Open browser - mobile view :(

Open new tab - desktop view :)

Hope that helps?
[Galaxy Note II Original Android Development] Scalee:
Yep, i know why this happens. Ill see if i can do it differently after dinner.

If not, i can at least make it so that it stays on desktop view (which means if you put something on mobile view and force restart it will go back to desktop) instead of it cycle each restart.

Try this one: (you may have to manual install the old one first)
[Galaxy Note II Original Android Development] bjrmd:
I am no programmer so I have a humble request/idea for perhaps someone with the knowledge to do it.

Since we have the scooby doo(voodoo like) sound technique in the perseus kernel, there is the opportunity to also implement the volume key DAC control. This gives much finer control to the sound volume as well as optimizes the distortion. From my understanding of the old voodoo posts, the android volume should be kept high, and the DAC direct amplifier should then control output volume. I was also looking at some mods that double the android volume step from 15 to 30, but with the above technique even finer control is possible. I would imagine that the proposed mod would adjust the value in the target file corresponding to the "headphone amplification" setting in Stweaks.

Rational here: http://xdaforums.com/showthread.php?t=806195

ie- from the voodoo FAQ:

How to get the best sound quality ?

The best quality for headphone is obtained:

1/ by setting the Android digital sound level to the maximum or close to it

2/ then using the new analog level to choose the sound pressure that suits your needs

This way, you will get the lowest hiss, best signal-to-noise ratio and lowest distortion.

Again, thanks to all who are working on these great mods.
[Galaxy Note II Original Android Development] htc-rocks:
Cheers,
[Galaxy Note II Original Android Development] Pressa:
Hi all,

is there any remote chance to get a version of this framework compiled to run on the GingerBread devices?

Pietro from Italy
[Galaxy Note II Original Android Development] markkohfm:
Do you make the browser work at 320 dpi? I use 190 dpi for phablet mode and the browser cannot work at this resolution. I cannot find the right process name for it.
[Galaxy Note II Original Android Development] IaMa8oY:
thanks mate i will try this out good work
[Galaxy Note II Original Android Development] Tungstwenty:
You can easily find the package names by opening the app and running this command on a computer with USB connected:

adb shell dumpsys activity t

which outputs the running apps and should include something similar to this (stock Internet browser on the 4.0.3 S2):

TASK android.task.browser id=58
ACTIVITY com.android.browser/.BrowserActivity 41df3410 pid=22982
Local Activity 415c0880 State:
mResumed=false mStopped=true mFinished=false
mLoadersStarted=false
mChangingConfigurations=false
mCurrentConfig={1.0 268mcc3mnc en_US layoutdir=0 sw320dp w320dp h508dp nrml long port finger -keyb/v/h -nav/h s.21 FlipFont=0}
FragmentManager misc state:
mCurState=3 mStateSaved=false mDestroyed=false

"com.android.browser" is the wanted package for my case.

If you don't have a computer at hand, you can also open the app, go again to the launcher (don't press Back or the app will be stopped) and run a terminal app to execute "dumpsys activity t", which will give you the same result.
[Galaxy Note II Original Android Development] egribeiro:
No I did not look, cause the link from "Disable full alert notification" module takes you straight to this thread.

Can you tell me which thread is the one I'm looking for?

Thanks!
[Galaxy Note II Original Android Development] GermainZ:
The thread itself is for the Note II, and many things won't work for different ROMs. It's a great resource and example for those who are interested, and some general Xposed support is done here, but ultimately it's still for the Note II.:)

[MENTION=5406452]egribeiro[/MENTION]

http://xdaforums.com/android/xposed-modules
[Galaxy Note II Original Android Development] egingell:
Fair enough. :)

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Galaxy Note II Original Android Development] P1_e85:
I cannot find the default download location.. any ideas?
[Galaxy Note II Original Android Development] furbyx92:
I'm trying to use Google play store fix but it's not working or maybe I'm doing wrong but I tried everything and not showing the apps
[Galaxy Note II Original Android Development] rovo89:
Do they show up when you set the DPI at a "normal" value (e.g. 240/360/480)? If not, the apps are probably not restricted by density, but by something like country or device features.
[Galaxy Note II Original Android Development] furbyx92:
I change my DPI from 480 to 280 (phablet mode in s4), I can install app in 480 but not in 280 ( yes, its available in my country ) , I set fake DPI in 480 but nothing, I delete cache and data from play store and framework services and reboot and nothing change... Something wrong ?
[Galaxy Note II Original Android Development] rovo89:
Ok, if the apps disappear after changing the DPI from 480 to 280, then this module should work. My suggestion: Double-check that the module is activated and configured correctly, then leave it enabled for some days and see if the apps come back. I spent many hours trying to figure out when the changes become visible and figured that there must be some kind of cache on Google's servers that takes some time to expire. I had a situation where I turned off the phone with less apps, and when I woke up in the morning, the screen refreshed and the apps appeared. You can also try to enable the "No restrictions patch", but it might not let you download the apps if the server still blocks them.
[Galaxy Note II Original Android Development] furbyx92:
I will wait, so 480 has to be right DPI? Because is my original DPI.
[Galaxy Note II Original Android Development] rovo89:
Yes, I think you should set the original DPI in the settings. Not sure if any apps will appear only for 480 and not for 240, but as you have seen these apps with 480, you should use that value.
[Galaxy Note II Original Android Development] claytonjn:
For what it's worth, I went through something similar a few month back with my S4. I think the conclusion I came to was that if I set the DPI to something non-standard in the range 385+ this module works perfectly. If I set it to anything below that the the device is reported as a tablet. In that case, the DPI no longer matters. Essentially, I think Google looks at two things: DPI, and device type. With the module you can change DPI but it will get reported as whatever set in the module, therefore it would still be reported as 480dpi phone in this example. But if you go to a DPI that make the device type change, then with the module it would be reported as 480dpi tablet.

A good example of this is the Tapatalk app, as it has a completely different apk downloaded base on if the device is a phone or tablet. I don't think they base if off of screen density alone because you can have a tablet or phone with the same screen density. Screen density is really only a measure of how "high definition" your screen is.
[Galaxy Note II Original Android Development] rovo89:
That would make sense. I could probably also fake the "tablet" flag, but I don't not what they are using to determine that.
[Galaxy Note II Original Android Development] claytonjn:
I think it's a combination of screen size and density. I think it's likely something like: If you have a device that's 100 dpi and 1000 pixels in width then it's 10" wide. I know that the number of pixels in width and height isn't in build.prop (at least I haven't seen it) but somehow the device knows because it uses x,y coordinates to send touch events so I would thing it would need to know the limit of what's valid...but maybe not.
[Galaxy Note II Original Android Development] rovo89:
It might also be one of the x*hdpi flags. Basically this would require some trial and error, but I'm afraid I have no time for that.
[Galaxy Note II Original Android Development] hagba:
Im on stock ROM 4.1.2,I want to make the locksreen statusbar transparent,can I do that with Xposed Framework?,The homescreen already is done but I just cant find for the Lockscreen.
[Galaxy Note II Original Android Development] Spinergy02:
FWIW I think Google changed something with the way they check for compatible devices with the last few play store updates (4.6.18+). Since then the xposed play store fix for custom dpi has not been working. The app shows as compatible but returns error 942 when attempting download. I confirmed the issue with another user to make sure it wasn't just me before posting.
[Galaxy Note II Original Android Development] Vanhoud:
Yeah not worrying for me either
[Galaxy Note II Original Android Development] 1Houser1:
It doesn't wok for me too.

Xperia P

[4.4.2][UB][WEEKLY-7][OTA][KOT49H] CyanogenMod 11.0
[Galaxy Note II Original Android Development] rovo89:
Such server-side errors are hard to investigate...

Could you name a few apps with this issue and what your DPI is?
[Galaxy Note II Original Android Development] Spinergy02:
I was testing with Candy Crush Saga with a custom DPI of 445 (480 stock).
[Galaxy Note II Original Android Development] 1Houser1:
Resolution: 240 DPI

Apps:

BBM messenger

Aviate Launcher

EverythingMe Launcher
[Galaxy Note II Original Android Development] rovo89:
I have a Nexus 5 was well with a DPI of 420 and it's working fine here...

I could download all of these as well. But 240 DPI is a very standard resolution. Are you guys sure that custom DPI is the problem here, i.e. does it work fine when you go back to stock resolution?
[Galaxy Note II Original Android Development] Spinergy02:
Yeah, as soon as I went back to stock resolution I had about a dozen installed apps start to update and was able to download other apps that were causing issues before. Which version of play store are you using? This only started being problematic about 3 play store versions ago (can't recall the exact version number).

Edit: Confirmed all apps are downloading properly w/ 420 and 445 custom dpi's. Still using play store 4.8.20, so I don't know what was causing the problem to begin with or what was changed that fixed it.
[Galaxy Note II Original Android Development] rovo89:
I had 4.6.xx for a long time, a few days ago it updated to 4.8.20. I switched to 445 myself now, but it's still working... I'll try to leave it for a day as I know that Google doesn't update this data in realtime.

By the way, I set my DPI with qemu.sf.lcd_density=445 in /data/local.prop to avoid the need for changes on the /system partition (which might be overwritten with a new nightly).
[Galaxy Note II Original Android Development] Davzone:
Hy everyone!

I just updated to 4.4.3, and setting any DPI in this module doesn't seem to work anymore.

I changed the dpi in build.prop and set 480 in this module, and was working fine on 4.4.2, but now i have a lot of apps saying not compatible.

Is there any way to check if this problem is in the app or this module doesn't work well with 4.4.3 yet?

For example Amazon : https://play.google.com/store/apps/details?id=com.amazon.mShop.android

Cannot install this, but i was using this on 4.4.2.

Anyone can check this please if you can install it on 4.4.3

Thanks
[Galaxy Note II Original Android Development] 1Houser1:
Probably it's Google Play Store related issue. We have this on 4.4.2 as well.
[Galaxy Note II Original Android Development] Spinergy02:
I switched to 420dpi earlier today, uninstalled candy crush, and tried to download it again but got the error code again (942 iirc). I then went to settings » apps » all and cleared data for Google play store, Google play services, and Google services framework followed by a reboot which seemed to clear up the play store issues. I'm not sure if all 3 needed to be cleared, but it definitely didn't cause any additional problems. Hope this helps!

Edit: perhaps I spoke too soon. Tried downloading BBM Messenger, Aviate launcher, and EverythingMe launcher but got error messages again..not really sure what's going on now.

Edit 2: Let me start this off by stating I know all of these steps are not necessary, but I hope that it helps someone figure out what the actual issue is. After my last edit I removed my Google account, wiped data for everything mentioned in the previous edit, rebooted, and added my Google account back. I let everything settle for about an hour and then checked out the play store. For the last few hours everything that I've checked has been downloading properly and longer returning errors.
[Galaxy Note II Original Android Development] 1Houser1:
I've tried these steps a couple of times, but it's still doesn't work for me. :(
[Galaxy Note II Original Android Development] furbyx92:
Me neither, really don't know. Is there a way to get logs?
[Galaxy Note II Original Android Development] Spinergy02:
Well it's not working for me either now. It only seems to clear things up for a couple hours for some reason.

---------- Post added at 11:00 PM ---------- Previous post was at 10:59 PM ----------
[Galaxy Note II Original Android Development] Davzone:
I tried everything, and nothing works.

The xposed module makes no difference, i tried 240, 320 and 480.

I can see the app and click on install but the 942 error comes up.

If i turn off the xposed module it says that my device is not comapatible ...

It was working fine with 4.4.2, with the same play store version!
[Galaxy Note II Original Android Development] rovo89:
Well, I have set my Nexus 5 to 445 a couple of days ago. Still, there's not a single issue running a very recent CM11 nightly and Play Store 4.8.20.

Could anyone try to set build.prop back to the stock density and try it my way? qemu.sf.lcd_density=445 in /data/local.prop

Then reboot and give it some time. Can't get worse, can it?

Also, if you're using that "No restrictions patch", please disable it. It was included in many patched APKs, so I included it as well, but it seems that any app shown only with this patch won't be downloadable.
[Galaxy Note II Original Android Development] furbyx92:
I doesn't have that file, do I create it? I have a default.prop , can I use that?

----------- edit ------------

Neither works. I tried both without success. Samsung S4 Google Edition , 4.4.3
[Galaxy Note II Original Android Development] Davzone:
I dont have the local.prop

I set it back to 480, cleared the data for play store , play services, and framework, rebooted, and readded my google account and it works fine now, but the look is just bad. I downloaded the app i wanted, and after setting it back to 439 the app runs great, but i just cant update it.

Everything is so big, i really want to go back to 439 or 420 but i dont want to loose compatibility.

On 4.4.2 this module was the best thing for anyone with build.prop dpi editing, but now it makes no difference.

Anything else we can try?

I tried deleting play store update but it has no difference.
[Galaxy Note II Original Android Development] rovo89:
Seems like I have finally the same issue. I had GCM connection issues before, which I solved yesterday. Maybe those checkins transmit the real DPI as well.

I have attached a version which also fakes the DPI for Google Play Services (additionally to Play Store and Google Services Framework). After activating and restarting, it took a few minutes until the apps showed up in the search again. Another few minutes later, I could install them again. Readding the account and things like that might speed it up.
[Galaxy Note II Original Android Development] Spinergy02:
Testing it out now. Honestly I'm kinda glad you had the same issue. I was beginning to think something got screwy on my end from flashing and was putting off a full wipe.

Edit: as far as I can tell, everything is showing up properly now. About 5 minutes after reboot I had several apps update, and other apps that used to be unavailable are downloading now. Good stuff, man...good stuff.
[Galaxy Note II Original Android Development] Davzone:
Works like charm,

Installed it, rebooted, nothing.

Cleared play store and play services data.(not the framework so i dont have to readd google account)

restarted, and when play sotre synced my apps , updates apperad and i could install an app that i wanted before.

So far so good.

Thanks,
[Galaxy Note II Original Android Development] rovo89:
Great! Did anyone else try it? Would like to have one more confirmation before publishing it as an update in the repository.
[Galaxy Note II Original Android Development] furbyx92:
Testing , but I believe is not working, data deleted play store , framework and services , account removed , reboot , sync account again but is not working.

There is a way to get logs or something to help?

KitKat 4.4.3 , Google play edition
[Galaxy Note II Original Android Development] rovo89:
No, because unfortunately the evaluation is taking place on Google's servers. So it can only be influenced indirectly by sending fake data. And we don't know under which circumstances and for how long they cache this information...

Just to be sure - everything works fine for you on stock DPI, you have activated the module, configured it and it loads correctly?
[Galaxy Note II Original Android Development] furbyx92:
Yes, when I go back to previous DPI (480) it works only rebooting device and I can install the apps, but when I select new DPI it doesn't work again. The module is activated.

Testing---

build.prop DPI ----- 480 ------- 480 ------- 280

module DPI ----------- 480 ------- 280 ------ 480

can install app? ----- yes ------- no -------- no o.O?

I really don't have idea... module works well in case 2, play store reports uncompatible device... but doesn´t work to the other way.
[Galaxy Note II Original Android Development] Spinergy02:
How long are you letting the changes settle? I've checked all the apps I previously had problems with a few times each day and since that last update everything's been working great.

Edit: are you running the latest non-modded play store?
[Galaxy Note II Original Android Development] furbyx92:
Yes, stock play store without any mods. When I do changes, test 1 and test 2 was instantaneous after reboot and delete data, test 3 (not working one) still testing ( 8 hours since made it) and no change. And yes, I'm using last test version posted by [MENTION=4419114]rovo89[/MENTION] few posts back
[Galaxy Note II Original Android Development] Spinergy02:
Well FWIW everything is still working great on my phone. I really appreciate your work, [MENTION=4419114]rovo89[/MENTION]
[Galaxy Note II Original Android Development] Vanhoud:
Works for me, had to clear data in playstore and services
[Galaxy Note II Original Android Development] furbyx92:
It's working now, I have to make and adjustment in app settings module. [MENTION=4419114]rovo89[/MENTION]

Working now, I believe play store use screen size too for report to Google servers... But is working now.

Edit: to soon, 2 hours later is not working any more.... That's sad.
[Galaxy Note II Original Android Development] nerys71:
I have a question. need some help. My phone is starting to get a bit unstable (I installed something goofy a long time ago have been avoiding a hard reset and reinstall)

anyway is there a way to "backup" xposed all my modules and the settings for all of these modules for an automated or semi automated reinstall when I boot back up after a reset? its the single largest thing that has been keeping me from resetting. having to reinstall all my little hacks and changes again. Grrrr
[Galaxy Note II Original Android Development] claytonjn:
Any app backup app should work, such as Titanium Backup, or you could use something like Nandroid Manager to restore app data from a nandroid backup.

EDIT: Although it should be noted that if you're having issues with the device, doing a clean wipe then restoring app data is a bit counter-productive. If the issue is with system files or something along those lines it may be effective, but if the issue is with bad app data somewhere then you'll just be wasting a lot of time. The way I do it is when I decide to do a full wipe I set everything up manually that I can, and only restore data for apps that I could not possibly get back to their current state. A good example of such an app (although I do absolutely no gaming on my phone) would be games...you can restore settings manually, but often cannot restore game progress - this would be something that I would restore from a backup. Something like Facebook where you just have to log in and change a few setting, restoring from a backup may be slightly faster, but doing it manually makes sure you're not restoring bad/corrupt data.
[Galaxy Note II Original Android Development] nerys71:
the stability issue has nothing to do with exposed but with a CRT animation mod I attempted to install that was incompatible.

Not worried about everything else just all my xposed tweaks. so annoying to reset them all. SO annoying. its the sole reason I have not wiped yet.
[Galaxy Note II Original Android Development] claytonjn:
Xposed Modules are apps just like any other, and should store their app data in the same way as any other app (typically app settings are just an .xml) so any app backup app should work. The edit I included was more of a general PSA for anyone who may happen upon the post and not know what they're doing and decide to do a full wipe and blindly restore all apps and data. If you know what the issue is then that practice is fine, but in my experience typically users don't know - they only know that their phone is slow, or draining battery, or whatever.