[Q] Screwed up DPI - Android Q&A, Help & Troubleshooting

Hey guys, Im here to complain. I'm super tired, so I probably won't be very easy to understand.
Anyway, my Huawei Activa 4g was rooted and all was well. I went to change the DPI with the DPI Modded app from the play store, and its all screwed up now. I can't get past my lock screen, it only shows the clock and the emergency call button. I can't swipe the dots, and they aren't just invisible. I was dumb and deleted my backup.
Please, get back ASAP, as I am panicking.
PS: Usually I sound much more intelligent, but I literally nodded off three times as I wrote this.

You have a custom recovery like CWM, right? When you used the DPI Modded app, did it make a backup of your build.prop file on your SD card? If not, do you remember what your stock DPI value was prior to you changing it?
I can tell you what to do, but it's easier if you just follow this guide. Since you can't boot into your ROM, boot into recovery and follow the rest. adb works in both the ROM (if USB debugging is enabled) and in custom recoveries.
http://forum.xda-developers.com/showthread.php?t=1236732
If you have the backed up stock build.prop file, then you can directly skip to the part where you copy it from sdcard to the system partition. If you don't have it, then you need to open this build.prop file (that you get on your computer using adb pull) with a text editor and change the value of this one line ro.sf.lcd_density=, to whatever the stock DPI value was before you changed it. If you don't remember, then try 160. If that doesn't work, repeat the process with 240. Standard DPIs for devices are -
LDPI (Low DPI) = 160
MDPI (Med DPI) = 240
HDPI (High DPI) = 320
Your phone falls into the LDPI category, so 160 should work. Any DPIs other than these are non-standard DPIs and cause compatibility issues. Even to use to these standard DPIs, the ROM needs to support DPI scaling. Usually stock ROMs don't, while custom ROMs especailly AOSP ROMs like CyanogenMod, AOKP, Paranoid Android etc do. If you don't have the Android sdk installed on your computer, and you need the adb files, then use the attached file. Remember to open command prompt in the extracted zip folder, otherwise it'll return 'adb not found'. CMD needs to be opened in the same directory to be able to detect the adb.exe file. Alternatively, you can open cmd directly in the folder by running 'Start_here.bat'.

or go to recovery an clear dalvik caseh

-fluffy- said:
or go to recovery an clear dalvik caseh
Click to expand...
Click to collapse
That won't help because his stock ROM is incompatible with whatever custom DPI he set. Dalvik cache is only related to apps, and this has nothing to do with apps. Only way to fix this is to change the LCD density back to stock value in build.prop.

Related

How do I change screen density of custom ROM?

I have two phones, a Huawei m860 and an m835. They are both basically the same phone, except the m835 has a smaller screen.
I have a CM 7.1 ROM that runs great on the m860 with the larger screen, but is out of scale on the m835 with the smaller screen.
I edited the BUILD.PROP file and changed the LCD.SCREEN.DENSITY from 160 to 120. But when I inject the edited file back into the zip file, ROM Manager says the ROM is bad and refuses to flash it.
Anyone know how to properly recompile the ROM with the edited BUILD.PROP file, so that I can flash it?
You can use an app to change the screen density.
Can you elaborate a little? What app?
1. You can use LCDDensity
2. Or if you don't want to have an app running in the background, you can simply install ES File Explorer and (as you know) go to /system/build.prop and change the density and reboot. This is permanent or until you change it back or flashing the/a ROM again.
Thanks, I was able to edit the /system/build.prop file after flashing the ROM, and that did the trick once I rebooted.
Now though, I've discovered that the screen does not change orientations when I turn the phone as it should. Any have any ideas how to fix that?
-TheGE128

Screen dpi change.

Sorry for the noob question but what do I get by changing the screen density in my phone.
Sent from my GT-I9100 using XDA
There's a procedure, but why do you want to try this?
1. Open Root Explorer.
2. Go to /system
3. Click on Mount RW (It should appear as Mount RO, that’s when it is correct!)
4. Look for build.prop. Long press on the file and press Open file in Editor
5. Scroll down to ro.sf.lcd_density=240
6. Change the value to anywhere between 180 and 240. The lower the value, the higher density your screen will have.
7. Click on the Menu button, and Save and Exit.
8. Reboot.
Be careful because you may encounter some problems with the market. If so change to 240dpi when want to use market and then back to your option....
Easier to use density modder app from play store
Thanks guys
Get an app from palystore and nothing is going to happen to your device, just keep the values between 160 to 240 and you are fine. All the new market apk's work perfectly!
on what depends if dpi changes work ? if i change dpi from 240 to 192 or whatever, on reboot it hangs on yellow triangle. the build.prop is in the kernel or in the OS ??
spirotech said:
on what depends if dpi changes work ? if i change dpi from 240 to 192 or whatever, on reboot it hangs on yellow triangle. the build.prop is in the kernel or in the OS ??
Click to expand...
Click to collapse
if ur phone doesn't start then wipe data,cache,dalvik cache and reboot.which method r u using to change dpi?
There was a bug in some pre-release versions of ICS where ro.sf.lcd_density appeared twice in the build.prop and if both instances weren't changed to the same number, the phone would hang on the boot screen, I'm not 100% sure that this persisted in release versions but it's a possibility and a possible cause of boot problems.
is the ability to change the dpi dependant of the kernel i use?

[Q] How do you change the wallpaper on settings submenus in CM7?

I currently use a HTC HD Mini (Photon) running the SCREAM ROM by Ling Gan. It has a few bugs for most of which there is either a workaround or fix but there is the one problem which has remained unsolved: the default wallpaper on everything BUT the home and lockscreens cannot be changed. It is of a tree in a meadow under a blue sky and when rotated to landscape changes to some smiling chinese lady in the "settings" submenu. Doesn't hamper use much but it is quite annoying.
I have tried a number of solutions some of which resulted in my having to reflash and others did nothing. I post this here because I think it is a CM7 issue. The ROM developers have so far been unable to post a solution within the thread and I am aware that a fix for similar problems on CM9 ROMs exists using ADB to edit framework-res.apk. I felt it was time the problem was tackled by the wider XDA fam. Used google translate to look on the chinese site where the ROM is native to (mobile-kon) but found no help as well. Any help would be greatly appreciated.
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
SOLVED!
jiffer1991 said:
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
Click to expand...
Click to collapse
Many thanks!
I started off looking through the "res" folder in framwork-res.apk using Root Explorer to identify the images for the wallpaper. They were
Res/drawable-land-mdpi/screen-background-dark-transparent.png
And
Res/drawable-mdpi/screen-background-dark-transparent.png
I then created a copy of framework-res.apk on my SD card and copied it onto my pc. I created new wallpapers to replace the ones I just mentioned, one in portrait, the other in landscape. They were 320x480 and 480x320 respectively. Using 7zip on the pc, I placed them in the corresponding folders (/drawable-mdpi for protrait and /drawable-land-mdpi for landscape).
I copied framework-res.apk back to my sdcard and then fired up terminal emulator to run the following commands
su
sys -rw
busybox cp /sdcard/framework-res.apk /system/framework
sys -rw
You might get error messages from running apps after this but ignore them and reboot. The idea is to replace the framework-res.apk in system/framework with the one you just edited.
After the reboot, you should have your newly created wallpaper showing up in settings in both landscape and portrait modes.
Please hit "thanks" for both jiffer1991 and I if this was helpful. Big ups to jiffer1991for pushing me in the right direction.
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
obstgarten said:
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
Click to expand...
Click to collapse
hm u got stuck in a bootloop thats what i meant when i mentioned errors =)
you could make a zip with the old framework res apk or reflash the cm rom
if u dont whipe data/cash ure setting will be safed
read some tutorials how to mod the framework res apk
I have an .zip file on the sd card.
Can i copy it to the Android system somehow?
Felix
P.S. can i zip the framework and remove the ".zip" to ".apk"?
It is most likely that the zip file you have is the ROM image from which you flashed in the first place. Changing the extension to apk is NOT what you want to do. I suggest you create a backup in CWM of you present configuration and after reflashing, you can then do a partial restore of your user data. But its like Jiffer1991 said, read up on CWM, theres an exhaustive guide on xda somewhere.
Thanks,
i installed my modified cm rom without wipe caches data or something.
And now i have my old datas back, with the new Background.

320 Pixel Density: Mod Needed

Hi,
Is there any mod to set pixel density to 320.
I have X920D and I run Virtuous Rom
I tried through pixel density apps in play store but with no luck.
You need a kernel that enables /system writing while booted then you can use one of the apps.
Sent from my HTC6435LVW using xda app-developers app
kdahri said:
Hi,
Is there any mod to set pixel density to 320.
I have X920D and I run Virtuous Rom
I tried through pixel density apps in play store but with no luck.
Click to expand...
Click to collapse
1. Boot into recovery
2. adb pull /system/build.prop
3. open build.prop in a text editor and edit the line that says "ro.sf.lcd_density=480" to say "ro.sf.lcd_density=320"
4. save the file
5. adb push build.prop /system/
6. reboot
EDIT: If you use anything between 320 and 480, it will work, but you are going to have issues with market apps not showing up. I personally prefer 400 DPI, but it mucks my market up. Not worth it to me.
BotsOne said:
1. Boot into recovery
2. adb pull /system/build.prop
3. open build.prop in a text editor and edit the line that says "ro.sf.lcd_density=480" to say "ro.sf.lcd_density=320"
4. save the file
5. adb push build.prop /system/
6. reboot
EDIT: If you use anything between 320 and 480, it will work, but you are going to have issues with market apps not showing up. I personally prefer 400 DPI, but it mucks my market up. Not worth it to me.
Click to expand...
Click to collapse
This ^
Also if you have a kernel which enables write-to-system, you can use Solid Explorer to go into /System and directly edit the build.prop and save it.
Though I believe if you switch from 480 to 320, it stops sense launcher from working. Which is why I use nova prime.
sense does not work with 320, you need an senseless rom
thank you all that was helpfull
Sense does work down to about 370, and you can use LCD Density Modder Pro to download a modified version of the play store that thinks you're running 320.

Hi xda . I need urgent help !

i installed build prop editor and i saw the option change pixel density
i changed it to 360 and i rebooted the phone and when it rebooted i get force closes and i cant do anything on my phone now...
Any help???Any fix without loosing my apps? cuz i dont want to loose my apps... i have some important things in there...
@gabiabrudan7: you only may reduce dpi, lower 320! So try to restore the old build.prop: if there's a bak-file, you can rename it in TWRP's file manager - otherwise use ADB (if there's access from PC) to move build.prop to PC, change it with an editor, which stores in UNIX-format and move back.
rp158 said:
@gabiabrudan7: you only may reduce dpi, lower 320! So try to restore the old build.prop: if there's a bak-file, you can rename it in TWRP's file manager - otherwise use ADB (if there's access from PC) to move build.prop to PC, change it with an editor, which stores in UNIX-format and move back.
Click to expand...
Click to collapse
thanks for the reply but i already fixed it ... i flashed lollipop mirror and i have no problem now!
thanks anyway!

Categories

Resources