Changes in build.prop not sticking?! - LeEco Le Max 2 Questions & Answers

I´m having this weird problem that whenever i edit the build.prop after 2 reboots the changes are gone..
first noticed this when changing the dpi from 560 to 460 with le dpi changer. After first reboot this worked fine but i wanted to try out a different setting ( 500 ) so i repeated the same steps, reboot, but no changes.. i then tried different dpi changing apps but no succes. After that i used a build.prop editor to change the line manually, i noticed that the value did change to 500 but visually there were no changes from the 460 setting.. i was on madsurfers rom 5.9 19s i believe, rooted, all the permissions granted etc.
Now i´m at revolution eui 5.9 21s rom, same steps, dpi hasn´t changed at all from the default 560 even though the build.prop says its 460. i did however notice the following line: " persist.sys.sf.lcd_density=560" Could this override the ro.sf.lcd_density line perhaps?
about an hour ago i tried enabling the camera2api, so followed all the steps and added "persist.camera.HAL3.enabled=1" to the build.prop, rebooted, opened footej camera and noticed i was able to take raw pictures and change shutter time etc :good:
next i installed camera fv 5 and noticed the enable dng raw capture setting was greyed out, i don´t know if i rebooted between but opened footej camera again and wasnt able to take raw pictures there too.. weird huh?
the changes in the build.prop file are still there so one would expect that it should work.. ideas anyone?
thanks, and sorry for the bad english, not my native tongue

As for the dpi setting, i´ve edited the "persist.sys.sf.lcd_density=560" line and now i can see changes in the dpi :good:
next deleted the line for the camera2api. uninstalled camera fv 5 and footej camera. rebooted. added the camera2api line to the build.prop again. rebooted, installed footej camera, freeDcam and camera fv 5. in footej and freeDcam the api2 works but in camera fv 5 the option is still greyed out.
I can live with this

Related

[INFO][HOWTO]Using Lower LCD DPI density to get more screen space

CM12.1 support DPI adjustment natively (if you see some apps still show bigger font, then try modify the build.prop to same value, this may help.)
========================
B320/B322 update screwed up below DPI adjustment. Thanks @medwatt testing, see #45 for details. For values like 240 or 260, the phone is completely blank, and if you do 'adb shell logcat *:E', you can see the resource not found error all over the place.
========================
Edit on July 3, 2015:
On Lollipop B309, the ro.sf.lcd_density is in build.prop already and set to 320, we can change it to smaller value: (make a backup first)
Code:
ro.sf.lcd_density=240
you can use any number between 240 to 320. Save then reboot. (Thanks @ArkAngel06 point out this entry still works)
Then everything is working fine. No expose needed and didn't see any big problem so far.
One problem we noticed is stock 'Browser' app FC, pls use your favorate 3rd party browser instead. (The one i currently use is boat browser)
========================
Following is original post for JellyBean 4.3
===Normal disclaims applies, be careful and know how to use adb to restore /system/build.prop before you try this=============
You phone may brick if this file got corrupted.
ROOT is required to change the LCD density.
Today trying to play around the DPI of display, and noticed the stock value is 320:
Code:
getprop | grep dens
[ro.sf.lcd_density]: [320]
But our 720p display native DPI is 240. That's why all the stuff display so big??
Anyway, I backed up /system/build.prop, and play a little bit.
I recommend simply use Root Browser with "RB Text Editor" to do the task. Other DPI changer app may work and convenient, but it is more risky and may do some change unknown to the phone. Due to lack of backup/restore recovery right now, I prefer manually editing the file myself.
Adding following to the end of /system/build.prop.
Code:
ro.sf.lcd_density=264
For some different varies like Consumer Cellular version, or MT2L05 version, you can try following if above doesn't work:
qemu.sf.lcd_density=264
Not sure it is a bug or what, when I use ES file explorer to edit the file, If I select edit mode right after open the file, it won't scroll to the end of file. I have to scroll to the end first in view mode, then select edit mode. Anyway, Root Browser editor works without any problem.
Following is some test result:
Code:
______________ System UI________ Settings__________ Gallery
180__________force close
200______________ok____________ force close______ force close
220______________ok____________ force close______ force close
240(native)______ok____________ force close______ force close
260______________ok____________ force close______ force close
264______________ok________________ ok____________force close
280______________ok________________ ok____________force close
320(stock)______ ok________________ ok________________ ok
Also, for all DPI less than 320, the stock lock screen shortcut is not displayed properly.
I think I will stick with 280 (update, now I am using 264) for a few days and see if I found more problems. And it should be easy to find an alternative gallery app.
The smaller font and everything actually make the display more clear and sharp
PS. I know there is font size in display settings, but the DPI change will make system zoom everything based on this new display density.
Thanks aragon257 and others feedback, some info from below is collected from the replies. Thanks.
MORE INFO/UPDATE:
. There is Exposed framework modules (like app settings) to do per app DPI settings. Please see end of this post for more info.
. The app force closing caused by lower DPI is purely software (view layout arrangement) issue, so lowering DPI will not do any harm to hardware.
. List of Apps that Force Close. I list them from higher DPI to lower DPI, The apps that crashes in higher DPI will also crash in lower DPI.
DPI 264 or 280: Currently I am using 264.
Lock Screen: No crash here. The app short cut moved to center of the circle, and requires less distance swipe to unlock.
Gallery (Also affecting camera since it start Gallery when you view pictures)
Alternative: "Galleray KK" and "Camera KK" from play store works pretty good, though it is Ads supported.
DPI 240:
Settings
Phone app when receiving calls.
Use Xposed Framework
OK, set DPI to 240 in build.prop, I need use Xposed module "App Settings" to set following App DPI to higher value to make the phone fully work:
Code:
Gallery(com.android.gallery3d): 297 (dp: 320x480)
Phone(com.android.phone): 264
Settings(com.android.settings): 264
SystemUI(com.android.systemui): 264
This number is set to lowest possible value, of course you can set to 320, then related apps will be bigger.
Please see attachment for some screenshot: (Left is stock 320 DPI, right is 264 DPI)
Thanks for doing all the research here
Use xposed and install app settings. Use it to give those apps that crash the default DPI. Just tried working great. And thanks about the tip of adb build.prop backing up.
Running at 240 DPI here.
Edit: Play store wouldn't download anything until I cleared the cache.
Edit again: Actually viewing images and trying to use the camera causes the gallery to crash... Ill fix it
FINAL Edit: Installed the kitkat camera and gallery. I had to unisntall the old gallery first. This works for me
Great, that xposed module is pretty cool, but for now I must resist as we don't have recovery yet
BTW, I have updated first post to correct the System UI FC number, it is 180, not 220. ie, DPI can be as low as 200 and the phone is still usable. So, native 240 is a pretty safe value.
Also, the "Huawei home" FC start showing up from 220 and below, though I am using Nova launcher.
Cheers.
I was having problems with incoming calls crashing the phone app. So back to 320, but using App Settings to change my downloaded apps to 240
Admired by this thread:
http://forum.xda-developers.com/galaxy-nexus/general/info-official-galaxy-nexus-lcd-density-t1392089
Call me bored, today I have tried more DPIs, and found 264 is the lowest number that Settings is working. Since the crashing is just cause by GUI view arrangement issue, nothing to do with hardware etc. So I will stick with 264 for now.
For the past few days with settings 280, I only noticed gallery is the problem. I didn't try too much widget/apps. Everything else I tried works pretty good.
Please refresh my memory, is lowering the DPI making the image smaller? If so, im interested.
yes, everything (font,icon,layout)will be smaller. but image actually maybe different story. try and see yourself!
so what apps are better in tablet mode for me to try?
Bobvark said:
so what apps are better in tablet mode for me to try?
Click to expand...
Click to collapse
I didn't use any particular tablet mode etc stuff, the lower DPI gives me more space asset, thats all.
xordos said:
I didn't use any particular tablet mode etc stuff, the lower DPI gives me more space asset, thats all.
Click to expand...
Click to collapse
ok, so Chrome, gmail, what would be good DPI for those? I'm a little worried about f'n up my phone and don't just want to do trial and error.
Is 240 the standard you all are using?
Bobvark said:
ok, so Chrome, gmail, what would be good DPI for those? I'm a little worried about f'n up my phone and don't just want to do trial and error.
Is 240 the standard you all are using?
Click to expand...
Click to collapse
264 or 280 should be safer. 240 the settings app wont work.
Added some screenshot to the 1st post.
I wanna mess with this later
aragon257 said:
I was having problems with incoming calls crashing the phone app. So back to 320, but using App Settings to change my downloaded apps to 240
Click to expand...
Click to collapse
ok, now with a twrp backup taken, I installed xposed and now i got exact same problem. 240 is really sweet dpi, even the lock screen layout is good.
I tried complete delete phone.apk, and contacts.apk, but looks like not easy to find a good replacement. other dialer app from play store still requires these two apks. And i checked my other phone 4.3 rom, they force close. will continue to the search.
Have you tried it with the xposed programs? I know it worked for gallery but not sure for settings.
oncouch1 said:
Have you tried it with the xposed programs? I know it worked for gallery but not sure for settings.
Click to expand...
Click to collapse
Thanks. Didn't try gallery with app settings module yet. For 240 dpi, call out/in problem is what I am focused on right now.
Was trying app settings with 240, I set phone dialer etc. at stock setting but forgot had face lock so when I restarted, crash due to camera (what a [email protected]!) Thank you guys for TWRP so I could restore! . On vacation and no PC to try and adb to modify build.prop.
Sent from my MT2L03 using XDA Free mobile app
xordos said:
Thanks. Didn't try gallery with app settings module yet. For 240 dpi, call out/in problem is what I am focused on right now.
Click to expand...
Click to collapse
yes, with exposed module, at 240 dpi, gallery/camera works fine, settings also worked, only phone app still FC. so now i am at 264, and use exposed to fix gallery.
Silly question, app settings didn't work on dialer?
oncouch1 said:
Silly question, app settings didn't work on dialer?
Click to expand...
Click to collapse
when calls come in, phone apps FC when dpi is 240 ( and app settings use 320 for com.android.phone)
EDIT:
OK, Maybe this defeat the purpose, set SystemUI to 264 resolve the incoming call problem. The incoming call crashed the phone app because the StatusBar trying to get a phone icon resource but failed.
To summary, In build.prop DPI set to 240, I need use Xposed "App Settings" to set following App DPI to higher value to make the phone fully work:
Code:
Gallery(com.android.gallery3d): 297
Phone(com.android.phone): 264
Settings(com.android.settings): 264
SystemUI(com.android.systemui): 264
This number is set to lowest possible value, of course you can set to 320, then related apps will be bigger.

Ported Google Camera with HDR+ doesn't work on my RN3 Kate (sd650)

I have a Kate. I enabled the camera2 api in the build.prop. I'm using the latest stable MIUI.
However if I install the ported google camera app, it doesn't work. I found some versions which install and open without problems, but the "viewfinder" is just black, doesn't show anything. The UI is there (all the settings, the preview of the previous photo next to the shutter button etc) but can't see anything with the camera and can't take photos.
Any idea what's causing this? It does this on all version which install and open without a crash (although several ones do not install or crash at starting the app). I allowed all the permissions it requires at the first open, double checked its permissions aferwards in the Settings->Installed apps->Camera(the modded one)->Permissions and it has access to the camera. I removed MIUI battery restrictions from the app.
Anyone could help please?
lolflayz said:
I have a Kate. I enabled the camera2 api in the build.prop. I'm using the latest stable MIUI.
However if I install the ported google camera app, it doesn't work. I found some versions which install and open without problems, but the "viewfinder" is just black, doesn't show anything. The UI is there (all the settings, the preview of the previous photo next to the shutter button etc) but can't see anything with the camera and can't take photos.
Any idea what's causing this? It does this on all version which install and open without a crash (although several ones do not install or crash at starting the app). I allowed all the permissions it requires at the first open, double checked its permissions aferwards in the Settings->Installed apps->Camera(the modded one)->Permissions and it has access to the camera. I removed MIUI battery restrictions from the app.
Anyone could help please?
Click to expand...
Click to collapse
you have to be on Android 7.1 for it to work.
Video recording not working ....recorded video doesn't save
Test this. work for me.
Rom v.7.10.19 beta
PS work only hdr+ don't have 60 fps video.
https://mega.nz/#!4FJRhbzJ!7nGU-ztRWsyD87H7eiVD_TkqtxDd6wt4eKrYjmuxXVY

Camera buggy after changing media_profiles

I've downloaded modified media_profiles.xml and changed default one on my phone, and since then my camera(especially video is really bad, and camera keeps crashing on HDR mode). I've tried to revert changes by bringing back my old media_profiles.xml which I've backed up, but everything is still the same. Even after flashing newer weekly MIUI Pro.by situation is unchanged. What can I do to revert every change about camera?
P.S Video looks like it's 320*240 resolution with very poor bandwidth and with distortions, and when I want to change resolution in settings there is no that option anymore.
What can I do?
I too have the same problem as I replaced media_profiles.xml for SLO MO in GCam.
Now I'm really screwed as nor SLO MO works and neither Video quality is good.
NemanjaS23 said:
I've downloaded modified media_profiles.xml and changed default one on my phone, and since then my camera(especially video is really bad, and camera keeps crashing on HDR mode). I've tried to revert changes by bringing back my old media_profiles.xml which I've backed up, but everything is still the same. Even after flashing newer weekly MIUI Pro.by situation is unchanged. What can I do to revert every change about camera?
Click to expand...
Click to collapse
Did you clear the cache and dalvik-cache?

ro.config.low_ram=true build.prop tweak breaks camera on olivelite..

Hi, does anyone know why the ro.config.low_ram=true build.prop tweak break the camera on havoc 3.8 gsi ?
I have tried using open camera and google camera but none work with this tweak enabled. But after disabling the low ram build.prop tweak, the camera works again. I just want to enable Android Go ram optimization on my 2GB ram variant.
Edit:
Some how the camera is working again, after many uninstalls, and reinstallations of the camera app.

Question Google Pixel 6 GCAM MWP mod - settings do not work for video

Hi,
I tried the modded Google Camera (GCAM MWP 8.3.252 V1e) which was recommended as stable and I experimented with different settings but I do not see any difference in videos even for very extreme setting.
I did set Custom Libs to "MWP_xHDR" and activated "Enabled Lib-Patcher" and changed all settings under Global settings and Noise reduction settings to the minimum but the videos still look oversharpened and oversaturated as before.
Am I missing something or do the settings simply have no effect on videos?
For photos I use the original Google Camera app as I take pictures in DNG anyways.
Best regards
ifelcon
Lib-patcher won't work for video. It's even stated somewhere in settings.
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Cape_may.jpg/640px-Cape_may.jpg

Categories

Resources