Question My Images are super low res - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

In the past I used Konabess Overclocking tool and tinkered with my SD870.
After uninstalling and reverting back to a backup image, I found that images on my manga reader were really low res. Digging through my phone, I found that my Xdpi and Ydpi were changed which incorrectly scales images on apps.
Any ideas on how to change those cause I got no lead

I think it can be done by editing the build.prop file. I did a quick google search and someone added the following lines in the file to change dpi:
ro.sf.lcd_density.xdpi=153
ro.sf.lcd_density.ydpi=153
Note that these are custom values which that person was using and not default ones.

Link to post:
(flashable zip released) Set device screen resolution via build.prop
If anyone is interested. I made a mod for cm11 that allows you to set the x and y DPI and set your device screen resolution via build.prop. I initially did this mod on the galaxy player. I can port it over to the tab 2 if anyone is interested...
forum.xda-developers.com

Thanks for the tip.
I didn't use this exact fix but I flashed the whole ROM again and that fixed it for me.
The flash didn't work the last time around but it did this time.
I guess I should stay clear of Konabess for now

Related

[Q] Need help with updater scripts for density change

Could someone make or help me make an updater script to change the lcd density right after a CM nightly flash?
Right now I am changing it by the LCD Density app (and yes I know I can actually open up the ROM zip and change the numbers) but I'm 99% certain this can be done by flashing a zip right after flashing the ROM.
This thread has zips for the Legend but I'm fairly certain some adjustments would have to be made (the density number itself being changed, for one).
I'm looking for density 192. If someone is kind enough to help me learn how to make the scripts (or at least point me in the right direction) that would be awesome!

Xperia S, 4.1.2, FW 6.2.b.1.96 : Changing the LCD DPI ?

Hello,
A great colleague of mine who also owns a xperia S like me
loaded SlimNasomi rom (I think 4.2.2) and did change lcd DPI.
Screen displays more info and icons are smaller. Look nice.
Is it a way to do it with official 6.2.b.1.96 rom ?
I found a thread on a forum about root'ing the phone and
updating a file build.prop in /system, updating ro.sf.lcd_density
I even found an app 'Google Play DPI Fix Tool'
Did anyone already try to play with LCD DPI's ?
Thanks. Cheers from Belgium,
Thierry
I use Texdroider DPI - it worked on stock JB, rooted.
switzerland92 said:
I use Texdroider DPI - it worked on stock JB, rooted.
Click to expand...
Click to collapse
Can I ask you how does it works?
cabi.costa said:
Can I ask you how does it works?
Click to expand...
Click to collapse
It changes build.prop to desired dpi. I use it because it's faster and it really works. I tried on stock ROM, OpenSEMC and letama's AOSP 4.3.
And what is the range of values to stay in to avoid an endless bootloop?
yes that's the question, What value did you use for. in .200 fw i used a lcd density changer soft (don't remember the name) and guess what i got endless loop. I used 244 or something like that.
I usually use 240 and I didn't have any problems with that dpi.
It is standard Android dpi so most apps work just fine. Stock ROM look good but it has some minor offsets (gradient in notification bar as far as I remember).
I have been talking about this in the themes section in an old thread. I keep seeing people have issues with the dpi apps. I personally just edit build prop manually as it is not hard. I use Anttek explorer for my file browsing and edits. I would also suggest you try Xposed framework and per app dpi module. The magic LCD number is 192 for tablet mode. If you set home to 160 it goes into tablet mode but the status bar will not combine at the bottom. There is also another xposed module that forces tablet mode and works well but is still buggy. You also loose small apps.
There is a way to force tablet mode with out the dpi change but I have to figure out how to do that and even then not sure it will actually work. Need to ask some smali experts to help me.
... and what about if in endless bootloop ? ... :crying:
You must make backup before any modifcations
Yea it is a great idea to have a backup when messing with the system. If something goes wrong you can just go back to where you started.

[How-to] Change background of smart cover window of Find7a; flashable zip included

DISCLAIMER
Flash at your own risk.
INTRODUCTION
Hello everyone, This is my first time posting my own thread, I've been lurking around these forums since the release of Galaxy Note 1 (N7000) ,my first android phone. I've learnt to flash custom roms, root devices, etcetera. This is my first time I've extracted and repacked an apk file.
Anyways, I've learnt how to change the background wallpaper of the Smart Cover app whilst the cover is on the phone. I've used this site as my source; http://www.oppoforums.com/threads/m...-sfondo-per-le-custodie-easy-cover-etc.17149/
Credits goes to the author for the original apk and zip files. I am no app developer neither am I proficient in creating custom scripts or apk files. I just repacked the apk and zip files and replaced the jpg files located here:
\system\app\OppoLeather\res\drawable-hdpi\window_bg.jpg
\system\app\OppoLeather\res\drawable-xxhdpi\window_bg.jpg
​The first 3 flashable files were created by the aforementioned author from the linked forum.
INSTRUCTIONS
I flashed this using the custom ROM, Kulay OS v1.1 on my Find 7a X9006, on CWM Philz Touch Recovery 6.42.2.
I believe you will not face any problem using the stock ROM on any Custom Recovery.
First download the attached 7zip file, then extract
Choose your preferred flashable zip based on the attached screenshots in this thread
Copy it in the internal/External SD card of your phone
Reboot into recovery
Perform a wipe cache and Dalvik-cache (you will not lose your settings and apps installed)
Select the zip file you downloaded earlier and flash
Reboot the phone
SCREENSHOTS/ DOWNLOADS
You may also click the pic for their individual download links
BG 01:
BG 02:
BG 03:
BG 04:
BG 05:
BG 06:
BG 07:
BG 08:
BG 09:
BG 10:
BG 11:
BG 12:
PS
I am using NILLKIN Thin PU Leather Smart Flip Pounch Cover Case for Oppo Find 7 X9007 if anyone asks.
Hi @leihuwan,
Can I include this work as an option during installation in Kulay ROM in my next release?
tantrums said:
Hi @leihuwan,
Can I include this work as an option during installation in Kulay ROM in my next release?
Click to expand...
Click to collapse
Of course!
PS
Give me a few minutes, I will update OP for more stuff
update
Updated OP for more backgrounds (07 to 12), included individual download links per pic via mediafire
Support 7s or not ?
Yes, it works wird 7s... I tested it in my x9076
Gesendet von meinem Oppo Find 7
Hi leihuwan,
Thanks for the fine work. Working fine on my 9076, but it doesn't wake the screen when i open the smart cover. I have to double tap to wake it. Although not a big problem, would be nice to see a fix for it.
Once again thank you.
P.S tried four of your mods and the problem persists on all of them.
Hey,
I love this, thanks a lot! I always use BG 01, it's perfect.
However, it does not wake the device anymore if you use the new ColorOS 2.0.0i
Will you fix this? I'd love to continue using it, but if it prevents the device from waking up I can't
Thanks for this !
Each one of them, so much nicer than the stock one...
Great job.
DonVito2020 said:
Hi leihuwan,
Thanks for the fine work. Working fine on my 9076, but it doesn't wake the screen when i open the smart cover. I have to double tap to wake it. Although not a big problem, would be nice to see a fix for it.
Once again thank you.
P.S tried four of your mods and the problem persists on all of them.
Click to expand...
Click to collapse
What version of ColorOS are you using? Have you tried setting screen lock to None at Settings > Safety & Privacy > Screen Lock?
MB48 said:
Hey,
I love this, thanks a lot! I always use BG 01, it's perfect.
However, it does not wake the device anymore if you use the new ColorOS 2.0.0i
Will you fix this? I'd love to continue using it, but if it prevents the device from waking up I can't
Click to expand...
Click to collapse
I am terribly sorry. Truthfully I am not a programmer and my knowledge in coding and packaging APK files is very limited. I only translated the instructions I've discovered at oppoforums seen at the link at OP. Maybe they changed something in the apk of the official ColorOS 2.0 release. If someone more knowledgeable than me is present, feel free to chime in.
leihuwan said:
I am terribly sorry. Truthfully I am not a programmer and my knowledge in coding and packaging APK files is very limited. I only translated the instructions I've discovered at oppoforums seen at the link at OP. Maybe they changed something in the apk of the official ColorOS 2.0 release. If someone more knowledgeable than me is present, feel free to chime in.
Click to expand...
Click to collapse
Alright, thanks.
I read what you did and fixed the problem myself since it's pretty easy.
I took the original OppoLeather.apk of ColorOS 2.0.0i and modified the background of it and put it in your .zip
This works without problems for me and the device now wakes up properly. Yes, they did some changes to it in 2.0.0i.
If anyone else wants it, in the attachment is a working flashable .zip for ColorOS 2.0.0i with Background picture 1 of the original post.
please help...
MB48 said:
Alright, thanks.
I read what you did and fixed the problem myself since it's pretty easy.
I took the original OppoLeather.apk of ColorOS 2.0.0i and modified the background of it and put it in your .zip
This works without problems for me and the device now wakes up properly. Yes, they did some changes to it in 2.0.0i.
If anyone else wants it, in the attachment is a working flashable .zip for ColorOS 2.0.0i with Background picture 1 of the original post.
Click to expand...
Click to collapse
I suggest you to make a tutorial review....please,I have no idea on how to do it.....appreciate your kindness.....
For me it's perfect like this...
Before that ,the screen went on even with a little opening of the cover .
Now,I decide when the screen goes on...
huffaz841 said:
I suggest you to make a tutorial review....please,I have no idea on how to do it.....appreciate your kindness.....
Click to expand...
Click to collapse
Find the oppoleather.apk (it's somewhere in the /root partition of the phone)
copy it to your computer
rename it from .apk to .zip
you can now open it with any zip browser.
Replace the window_bg.jpg in /res/drawable-hdpi and /res/xxhdpi with a picture of your choice.
Make sure your picture is also a .jpg, has the exactly same name and resolution.
After you replaced the pictures in the .zip you can close your file browser and rename the file into .apk
Your apk is now modified.
To flash it:
Download any of the flashable .zip's the creator of this thread put up.
when you have a flashable .zip open it.
In there will be the OppoLeather.apk and some other files. Replace the OppoLeather.apk with your modified .apk.
Make sure your apk has the exact same name as the one you're replacing it with.
After replacing you can close your file browser and copy the modified flashable .zip on your phone.
Now you only have to flash it (see instructions in first post).
Hi! I know this is an old thread, but I have a question concerning this little mod. I recently got the N3 and since the cover had a square window, the default easy cover window of the OPPO N3 is a circle.
So, I decided to flash one of the modified packages provided by the op and they work great. However, there is a slight misalignment - unsurprisingly - due to the resolution and size differences between the 7/7a and the N3. What I would like to know, is whether it is possible to to decompile and modify the apk, in order to place the small window screen a bit higher. I have decompiled the apk myself, but I haven't yet figured which string to modify.
A small help would be greatly appreciated!!!
Feregorn said:
Hi! I know this is an old thread, but I have a question concerning this little mod. I recently got the N3 and since the cover had a square window, the default easy cover window of the OPPO N3 is a circle.
So, I decided to flash one of the modified packages provided by the op and they work great. However, there is a slight misalignment - unsurprisingly - due to the resolution and size differences between the 7/7a and the N3. What I would like to know, is whether it is possible to to decompile and modify the apk, in order to place the small window screen a bit higher. I have decompiled the apk myself, but I haven't yet figured which string to modify.
A small help would be greatly appreciated!!!
Click to expand...
Click to collapse
You can do it manually with a root enable file browser.
Find the OppoLeather.apk in /system/app/Oppoleather, copy it into your phone storage then transfer it to your computer, open the apk with 7-Zip, navigate to find window_bg_circle (.png or jpg), extract it, modify the picture while keeping its dimensions, put it back into the apk, transfer the apk in your phone storage. With the file browser, change the suffix of the original OppoLeather.apk into .bak, copy the modified apk into the /system/app/Oppoleather folder, modify its permissions according to the old file (i.e. rw-r--r--). That's it.
Thanks on behalf of many owners here. It's rare to see someone reply to something in such a helpful manner and in plain english instead of abbreviated jargon

[Q] How to change DPI resolution ?

Hello,
I actually try to change (reduce) the DPI resolution of my D855, i have find and follow this thread but my phone get botloaps:
http://forum.xda-developers.com/lg-g3/help/root-how-to-change-resolution-dpi-t3125722
So i have find this:
https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi&hl=fr_FR
I have test with this app:
https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi&hl=fr_FR
It as working but the Multi-DPI Patch is not compatible with Cloudy ROM so stock apps not working..
I want to reduce my screen resolution to 430 DPI, anyone have a solution ?
Thanks
Rom said:
Hello,
I actually try to change (reduce) the DPI resolution of my D855, i have find and follow this thread but my phone get botloaps:
http://forum.xda-developers.com/lg-g3/help/root-how-to-change-resolution-dpi-t3125722
So i have find this:
https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi&hl=fr_FR
I have test with this app:
https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi&hl=fr_FR
It as working but the Multi-DPI Patch is not compatible with Cloudy ROM so stock apps not working..
I want to reduce my screen resolution to 430 DPI, anyone have a solution ?
Thanks
Click to expand...
Click to collapse
You can:
1) Reduce dpi to 530. This is still in xxxhdpi range, and it looks better than 640.
2) Switch to AOSP-based rom.
And, finally, the hardest one:
3) Copy all stock apk's resources from xxxhdpi to xxhdpi. Find apps, in which layout is irreparably broken in xxdpi, decompile and mod their layout with apktool (or Virtuous Ten Studio, as it's a complete IDE for decompiling and modding apk's).
YaDr said:
You can:
1) Reduce dpi to 530. This is still in xxxhdpi range, and it looks better than 640.
2) Switch to AOSP-based rom.
And, finally, the hardest one:
3) Copy all stock apk's resources from xxxhdpi to xxhdpi. Find apps, in which layout is irreparably broken in xxdpi, decompile and mod their layout with apktool (or Virtuous Ten Studio, as it's a complete IDE for decompiling and modding apk's).
Click to expand...
Click to collapse
Ok, thank you very much :good:
So i think that i will test AOSP based ROM and i will tell you if it as working
Edit:
@ YaDr
Can you tell me what AOSP based ROM is not based on CM dev ?
Finally, after my tests:
For now, its not possible to change propeply and permanently the DPI resolution on stock based ROM like Cloudy ROM or Lion ROM.
Its work on customs ROM like CM & AOKP & others like Paranandroid, Omni, Vanilla, SlimBeam, MIUI.........(if you don't see an option after install the ROM or on the main thread of it).
For exemple, on Euphoria ROM, there is an option to change DPI display

camera issues with root?

Hi all,
Just rooted my oneplus 3 and my camera isn't working - the view finder shows up but it doesn't save any pictures I'm taking . I'm on stock with xposed . Build prop edited to set dpi to 420. Someone at oneplus forums reported this issue and solutions pointed at not touching the build prop file.
Has anyone here had this problem?
I have tried clearing data and cache for the camera app
Nope never had this problem.
Flashed the 3.2 update. Camera is OK but dpi is back to 480 . will try changing it and report back
No luck. Changing the dpi from le dpi chnager did not work for any of the methods mentioned in the app. Changing it manually from the build prop also doesn't help
lordvj said:
Hi all,
Just rooted my oneplus 3 and my camera isn't working - the view finder shows up but it doesn't save any pictures I'm taking . I'm on stock with xposed . Build prop edited to set dpi to 420. Someone at oneplus forums reported this issue and solutions pointed at not touching the build prop file.
Has anyone here had this problem?
I have tried clearing data and cache for the camera app
Click to expand...
Click to collapse
I've got the same problem, difference is my videos don't save
I have 3.2.7, root, xposed, dpi set to 420. No problems with saving pics/videos.
Its certainly not the fault of dpi.

Categories

Resources