yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] philosophics:
This is for implementing adfree android into the script

I just tried to run this in a shell and it says no such file or directory. Maybe this is the reason why it's not working?

I'm really sorry for making this go off topic so much. this is where the conversation is taking place though. Really don't understand why a thread hasn't been opened up about the visionary.sh

When I figure it out, I'll create the thread with instructions and possible options and/or various choices cause I understand that not everyone wants their device running at 1.42Ghz (It is pretty stable though and I'm almost positive my battery lasts longer due to underclocking the cpu for screen off) so a varity is needed.

Back to the subject, /data/local/tmp is EMPTY! WHY? This doesn't seem normal.

Just ran adfree and decided to try symlinking /data/data/hosts and nothing changed. Really don't know where to find /hosts so I'm running blind here.

If anyone has any insight on this, please help me out so I can get this topic somewhere else. The way I see it is the conversation is here right now so let's solve it and then create a thread when we have something working.

Again, I apologize...
[G2 and Desire Z Android Development] minotauri:
Yea this is getting off topic but it's ok. Maybe we should start a new thread?

Anyway, when AdFree is run and installed, it modifies /system/etc/hosts file. I forgot to mention, that after running AdFree, I make a copy of hosts to /data/local/tmp so that it'll remain there after rebooting. My attempt is to copy this file to /system/etc/ at boot up and then do the hot boot to try to implement it, but it doesn't work.
[G2 and Desire Z Android Development] LxDroid:
Any ideas on how to fix the few apps that don't load full screen?
[G2 and Desire Z Android Development] minotauri:
One thing you can try is to disable compatibility mode, which you can do from downloading SPARE PARTS in the market. I think mine is off by default though.
[G2 and Desire Z Android Development] Shambala001:
I don't know if its just me, but more than a few are not resizing to the new density.
[G2 and Desire Z Android Development] philosophics:
This question is actually on topic!

Is there a command we can implement into the script that will make all apps utilize all of the screen real estate? After reboot everything reverts (OBVIOUSLY) and it's stating to get a little annoying to uninstall and reinstall all apps that don't stretch.

SPARE PARTS DOESN'T WORK FOR ME!
[G2 and Desire Z Android Development] Shambala001:
Are you saying that if you reinstall an app that previously did not resize, upon reinstall it now resizes?
[G2 and Desire Z Android Development] minotauri:
which apps aren't working? i just went through my apps and it looks like everything i use works just fine at "200" density.
[G2 and Desire Z Android Development] Shambala001:
I use 190, but off the top of my head, Adfree does not resize, at least for me
[G2 and Desire Z Android Development] minotauri:
here's what AdFree looks like for me at 190 density.
[G2 and Desire Z Android Development] Shambala001:
And here is mine lol, weird
[G2 and Desire Z Android Development] philosophics:
Weather and Toggle Widget Forecast Add-on is one thing that I have to un/reinstall.

And now that I've gone through each and every app, I kinda feel like a douche cause that's the only one giving me problems now. I swear it was more, like album art grabber and a few of the MP3 downloading apps along with the XDA app.

Annoyance arises from deep within...

Adfree no longer looks funny either. Pretty sure my phone just wants to make me look stupid...
[G2 and Desire Z Android Development] LxDroid:
FML, Mint, Slickdeals, Fandango, NHL GameCenter, Reddit Pics, Awesome Drop, SpeedTest.net, Xtremelabs Speedtest, Ping, OpenVpn, GScript Lite

Just to name a few of mine that dont load full screen...

just to test I uninstalled and reinstalled a few of them and it made no difference..

I use GScript Lite to run code below after restarting:

mount -o remount,rw /dev/block/mmcblkp025 /system
mount -o remount,rw /dev/block/mmcblkp025 /data
setprop qemu.sf.lcd_density 190
busybox killall system_server

Attached screen shot of what app look likes when it isnt full screen.
[G2 and Desire Z Android Development] V1R3Z:
The games I play don't stretch ither... like sandstorm and NOVA

And now after the ota update wifi calling app don't strect properly ither

Also picasa tool pro doesn't stretch
[G2 and Desire Z Android Development] amack10:
Weird I had mine set to 190 and sandstorm and nova were full screen
[G2 and Desire Z Android Development] minotauri:
yea you're right. the wifi calling doesnt stretch properly. i know the original vibrant folks who found this mod said there were apps that dont work. i'll dig to see if there's any way to force-scale apps.
[G2 and Desire Z Android Development] V1R3Z:
Oh well I had mines set to 200 let me try 190 again

Ill post up a few screens in a sec

EDIT:

ok i checked and i reset it to 190 and still nothing same i even think i may have gotten smaller lol

heres a few screens
[G2 and Desire Z Android Development] franky1029:
unchecking compatibility mode in spare parts and setting the lcd density again worked for putting all the problem apps in full screen.
[G2 and Desire Z Android Development] LxDroid:
Worked great for me. Thanks!
[G2 and Desire Z Android Development] V1R3Z:
That did the trick for me too. BUT for some strange reason the script won't change the lcd density any more...

I got the ota update

Did a system wipe from the privacy menu

Reinstalled visionay and all my apps (manually cuz for some reason the market didn't restore ANY of my apps)

Installed spare parts, unchecked compatibility

Typed up visionary.sh script

Rooted and rebooted

The overclock works but no changes in lcd density and I typed the script in root explorer and double checked everything...
[G2 and Desire Z Android Development] minotauri:
here is mine, attached in zip.

mount -o remount,rw /dev/block/mmcblk0p25 /system
sh /sdcard/gscript/adblock.sh
insmod /data/local/vision_oc.ko pll2_l_val=55
setprop qemu.sf.lcd_density 200
busybox killall system_server
[G2 and Desire Z Android Development] V1R3Z:
The above script WORKS!!! Thnx!

Just the adblock doesn't...

Edit: ooops just noticed it makes reference to a seperate sh file lol so yeah it works 100%!!!
[G2 and Desire Z Android Development] ccb04:
Anybody want to write down simple steps to get this to work?? Im new to changing the density but not a complete noob..I've updated the phone manually and have managed to overlcock it. Do i just drop the attachment in the gscript folder and extract it?? Along with unchecking compatibility?? Someone help i really want to see the difference in the screen
[G2 and Desire Z Android Development] bdong:
AWESOME. I came here to see if there was a solution for this. I LOVE XDA!
[G2 and Desire Z Android Development] minotauri:
Yes, see the post 51 above. I attached the visionary.sh file in a zip.

Unzip it and push it to /data/local/ on your android phone.

you can do this using adb from the android sdk.

adb push visionary.sh /data/local

then run visionary and it'll root and then run this script.

the script also has commands for overclocking and adblock which are in seperate threads on this forum.
[G2 and Desire Z Android Development] minotauri:
now that we can do perm root, you can pernamently change this by modifying your build.prop file located /system/build.prop. look for ro.sf.lcd_density and modify the number and save and reboot.
[G2 and Desire Z Android Development] Shambala001:
Works great
[G2 and Desire Z Android Development] V1R3Z:
i have permroot and s-off but when i go in thru root explorer and try to open the build.prop with the text editor i get: Warning you cannot edit this file because the file system is read only.
[G2 and Desire Z Android Development] Shambala001:
It should be set to rw, but if you click the "make rw" button at the top you should be good to go, might have to go up a level for the button to show up
[G2 and Desire Z Android Development] V1R3Z:
Got it lol thanks a bunch I didn't notice that button up there lol
[G2 and Desire Z Android Development] LxDroid:
Installed cyanogenMod-6.1 and edited the build prop to 190 and the screen size is perfect, however now apps are now resizing to full screen again?

I made use "compatibly mode" is checked as that worked on stock rom....

Any ideas?
[G2 and Desire Z Android Development] franky1029:
Try turning compat mode off. That worked for me.
[G2 and Desire Z Android Development] minotauri:
yes. compatibility mode must be off for it to work. i have it working on CM6.1 RC too.
[G2 and Desire Z Android Development] steviewevie:
Does this work on the DZ ?
[G2 and Desire Z Android Development] minotauri:
it should work on all ROMs.
[G2 and Desire Z Android Development] minotauri:
updated original post to provide more notes to questions and reword some of the instructions and clean it up a bit.
[G2 and Desire Z Android Development] polarbearmc:
pics/vid?

***EDIT - Nevermind just found the other post for the app version that has some pictures... but anyone with videos I guess that would still be cool ***

i saw the few pics of problems with apps not stretching to full screen but can someone post some pics or maybe even a video of this working perfect? i'm not planning on rooting for a little while still, but this is like seriously so freaking exciting to me haha and i wanna see what the finished thing looks like. :-)

thanks
[G2 and Desire Z Android Development] kenteyko:
hey

is there a way to make the spacing between app in the home screen closer? there just too separate and well i want to add more apps any tips?
[G2 and Desire Z Android Development] kpoeticg:


You need to be using ADW or LauncherPro. Go to the ui settings. And adjust the desktop rows and desktop columns. I use six for each with a high density. At 190 u could even try 7

Edit: My bad I mean the "Screen Preferences" setting with ADW
[G2 and Desire Z Android Development] jbenson:
I flashed cyanogenrom 6.1 and resized the screen to 200 and now I keep getting a force close for android acore? Can anyone help with this?
[G2 and Desire Z Android Development] Gerson2407:
Tried it on a dz Rom and it doesn't look good at all. Tried 190 first and my flip clock looked really ****ty. Also the text under my apps in home screen were cut off. So then I went up, 200, 210, 220, 230, all of them made my flip clock look pixelated and cut off text from my home screen icons. Idk if anyone else tried it on a desire z Rom but it doesn't look good to me. I had compatibility mode in spare parts off too and everything. Maybe it's only stock and cyanogen Rom who get to reap the benefits of this mod.
[G2 and Desire Z Android Development] te5ter:
Running at 200 with ADW and it looks great. Whenever i try to edit build.prop though, tells me access is denied. I have root, with s-off.
[G2 and Desire Z Android Development] kpoeticg:


U have to mount the system as rw. Right now its read only so it won't let u edit it. Root explorer works good for that. Just make sure u click the mount rw option
[G2 and Desire Z Android Development] xomikronx:
Best use adb.

adb pull /system/build.prop c:/

(Edit the file on your computer and save)

adb remount

adb push c:/build.prop /system/

adb reboot

Should work. No need for script.
[G2 and Desire Z Android Development] Hosermage:
set it on 190 with CM61rc and LauncherPro. Looks great and eliminated 2 home screens in the process. LP did crash once after I came back from VNC remote desktop, other than that, it works pretty smooth.
[G2 and Desire Z Android Development] minotauri:
you still need to mount rw with adb push to /system.

adb shell mount -o remount,rw /dev/block/mmcblk0p25 /system
exit
adb push build.prop /system/
[G2 and Desire Z Android Development] lowpeezy:
I used the lcd density app and changed to 200....looked good, but then when I reverted back to 240, some of my apps like engadget, and a couple of games did not scale back to normal....any way to revert them back?
[G2 and Desire Z Android Development] funkeee:
mount -o rw,remount -t ext3 /dev/block/mmcblk0p15 /system

chmod 777 /system/build.prop
[G2 and Desire Z Android Development] lowpeezy:
Anyone??
[G2 and Desire Z Android Development] blackchad:
this is bad ass my phone looks sweet. thanks guys.
[G2 and Desire Z Android Development] microse23:
--deleted--
[G2 and Desire Z Android Development] usrbrv8:
Is any one having issues with google maps? I get a message low on memory traffic disabled.
[G2 and Desire Z Android Development] x52x58:
I'm getting the same error message.
[G2 and Desire Z Android Development] tornado9015:
Set my lcd density to 200, looked great, adw with 5 rows looked awesome. Tried to play pocket empires, and it went very slow than crashed, reverted to stock and now pocket empires just loads black screen than crashes. Anybody have a fix for this?
[G2 and Desire Z Android Development] dictionary:
This issue, on Nexus Ones, if I recall correctly, required a ROM reflash. Just deleting and reinstalling the apps didn't work either (it happens to some hardcoded apps)
[G2 and Desire Z Android Development] RuncaProfundus:
Used the ADb method to set it at 200. thanks for this bro. now I can finally get all my apps on the homescreens instead of keepin them in the app drawer.
[G2 and Desire Z Android Development] Nissan350:
Launcherpro at 200 looks simply stunning.:D
[G2 and Desire Z Android Development] noodles2224:
Yeah but does the icons up top like , data,.signal look crisp??
[G2 and Desire Z Android Development] Stea1thmode:
No

10chars
[G2 and Desire Z Android Development] djdant:
Get spare parts from market, then set comp mode, reboot, check engadet see if its fixed
[G2 and Desire Z Android Development] gbarayah:
Hi everyone,

I'm hoping that I am just making a silly mistake...

I am running CyanogenMod 6.1 and have been trying to use the steps described in the OP to change my LCD density. As I am not very experienced with ADB, I have attempted to do the phone-only method.

I have backed up the build.prop file to my SD Card. When I modify the Density using Text Edit, I am able to save to the copied file on the SD Card. However, when I attempt to copy this file back to the System Folder, it tells me that I cannot copy the file.

I then attempted to edit the build.prop file in the System Folder. I am able to successfuly open the file in TextEdit and change the value, but it will not allow me to save to the System Folder.

I am rooted and have S-OFF. What am I doing wrong? Anyone else having problems with this?
[G2 and Desire Z Android Development] SN4K3B1T3:
I have the same problem with my dz...im still waiting for anyone to reply to my thread under the dz apps and themes section

Sent from my HTC DesireZed
[G2 and Desire Z Android Development] ratchetrizzo:
You have to remount /system before you can copy the file back.

If you are using adb, do:

Adb remount

If you are using a terminal on the phone do this from a # prompt:

Mount -o remount,rw /system

You can then copy to /system

Sent from two solo cups and a really long string connected to the innerwebs
[G2 and Desire Z Android Development] gbarayah:
Is that a zero or 'letter O' in the prompt?
[G2 and Desire Z Android Development] dictionary:
While I edit the build.prop sometimes too, why don't you just use LCD Density from Market? There is a free version, which does this in a graphical interface.
[G2 and Desire Z Android Development] gbarayah:
Worked great! I wasn't aware that there was an App available to do this. Thanks!
[G2 and Desire Z Android Development] primatage:
Just wanted to say thanks to OP for this, my G2 is like a whole new phone now, worked perfectly at 190.
[G2 and Desire Z Android Development] davidemartindale:
Worked for me. Thanks for posting.

PS - you all made me feel like an old man. 190? 200? Couldn't read anything without straining lol, I had to pop up to 220 :P
[G2 and Desire Z Android Development] jorobochi:
adb remount

for CM
[G2 and Desire Z Android Development] MATOPETE:
You have to mount the System Files as r/w, use Root Explorer

Navigate to the System Folder

Find Build.prop

Upper Right Hand Corner [Mount r/w]

Long Press build.prop

Find the LCD density Value

Save and exit

Root explorer will automatically save a copy of the old file as

Build.prop.bak
[G2 and Desire Z Android Development] minotauri:
thanks. i'll edit the OP to include the reminder to R/W in the file explorers. :)
[G2 and Desire Z Android Development] minotauri:
Yep the apps (both paid and free ones) work just fine and I recommend them for beginners. This was originally written for visionary since the apps didnt work for that, but if you want one less app, this method works too. :)
[G2 and Desire Z Android Development] GunToYoMouth123:
so how do we put it back to the normal density...i did 200 and its at 240 after reboot but...its 200.

i dont get it... and when i put it back to 240 it stays at 200.

but still says 240? im confuesed...:confused:
[G2 and Desire Z Android Development] minotauri:
I'm a little confused by your post.

Normal setting is 240, so if you want to do that, edit your Build.prop file to "ro.sf.lcd_density 240" and then save and reboot your phone.
[G2 and Desire Z Android Development] juanshop:
couldn't be easier! and i love it! it looks so much crispier! just love it :D
[G2 and Desire Z Android Development] GunToYoMouth123:
thast the thing i put it to 200...but i didnt like it.

but when i go to try to put it back to 240 it already says ro.sf.lcd_density 240 when the lcd isn't, its at 200.

bascially its like the phone is 200 but the density says its 240.
[G2 and Desire Z Android Development] ctraywick1:
So i can edit my LCD Density just fine and it looks amazing with my phone on adw but for somereason my internal keyboard no longer light up... Any ideas
[G2 and Desire Z Android Development] minotauri:
i'm assuming you rebooted already.

are you sure you're not editing a backup of build.prop? if you used root explorer, it automatically creates a backup.

you can also just download lcd density changer in the market and update it through that.
[G2 and Desire Z Android Development] juanshop:
Quick question. Wouldn't this make the phone use more battery?
[G2 and Desire Z Android Development] MATOPETE:
Most of the Power used by your screen is determined by a major factor, Time on and Brigthness setting, although increasing the resolution does in fact increase its power consuption, the change is so minimal that is almost discernable

Sent by inconveniencing a large number of electrons from my mobile command center
[G2 and Desire Z Android Development] xan:
I really hate to use Spare Parts just for turning compatibility mode off, is there another way? I need to do it in my own app :D
[G2 and Desire Z Android Development] Ashex1:
Unfortunately HTC Sense does not play well, it pretty much borks the entire homescreen :(

Edit: Looks like 230 sorta works.
[G2 and Desire Z Android Development] blackchad:
yeah thats the only reason i switched to GV because i can change the resolution on it. i wish sense played better too
[G2 and Desire Z Android Development] bobbytomorow:
thanks for the tut man, screen is dope now :cool:
[G2 and Desire Z Android Development] no6969el:
Works great allows me fit way more icons..thanx

sent from gv1.5 on g2
[G2 and Desire Z Android Development] gcng:
can this be done to a N1?
[G2 and Desire Z Android Development] m0bstar:
http://jamespickens.me/cloud/snap20110218_224457.png

Any idea what is going on?
[G2 and Desire Z Android Development] saintsmmx:
You have to download "Spare Parts" from the Market, and uncheck "Compatibility Mode". This fixes the size issue of most apps. Good luck ;)

Sent from the Heavens
[G2 and Desire Z Android Development] lainvalenajr:
Question is there a way to make the keyboard bigger
[G2 and Desire Z Android Development] noodles2224:
Omg, common sense.. your density is lower and most apps are not compatible like that..

HTC Vision (CM7)
[G2 and Desire Z Android Development] lainvalenajr:
Chill I was just asking. Let me change what I said " Is it posible to make the keboard bigger" Anyways I just bought a keyboard from the market Ultra keyboard and I was able to make the keys larger.
[G2 and Desire Z Android Development] m0bstar:
Thank you captain obvious, I was posting as to if there is a fix for the apps that it was doing it to, which if you didnt know then dont respond, obviously the person above you knew what i meant and gave me an answer.
[G2 and Desire Z Android Development] lainvalenajr:
Lol alright. Well let's just forget everything ahaha. That was the other day and todays a new day. Thank you for the info about changeing my density/resolution.
[G2 and Desire Z Android Development] iokke:
This is pretty neat, thanks, have it set at 200 atm with CM7.

What are the drawbacks of using this (other then eye strain at 190:))
[G2 and Desire Z Android Development] minotauri:
it can be done with all android devices.
[G2 and Desire Z Android Development] minotauri:
only real drawback is that some apps arent fully compatible, even if you turn compatibility mode off (ironic huh?) -- so some apps will be sized in a small window on your screen -- typically older apps.
[G2 and Desire Z Android Development] premiumg:
Can someone post a good picture of what it looks like??

can someone post a picture of what it looks like when it works perfectly?? I only see pictures of when there's a black border.
[G2 and Desire Z Android Development] dtx:
did not know this could be done. so sweet.

changed icons to 5x5. thanks!
[G2 and Desire Z Android Development] tackleberry:
Man I love to drop it to 220 but too many apps show up not filling the screen. Its worse at 200.

From my permarooted 1209mhz G2 with CM7 nightly 6
[G2 and Desire Z Android Development] Pat123:
There is a way to make apps that are not compatible with this mod, work fine! There was a thread somewhere around to update some xmls and stuff inside a apk (it had a working example of modding dialer.apk to make it work well at higher densities)! I will try to search and post the link!
[G2 and Desire Z Android Development] lainvalenajr:
Give us the results...
[G2 and Desire Z Android Development] dracoaffectus:
Google Maps 5.2 force closes

I was loving how my screen looks with the density set to 190, until I realized that it was causing the latest version of Google Maps to Force Close when I attempt a search. Searches either don't seem to go through at all or cause the app to FC. The only thing that seems to get Google Maps working again is to set the density back to 240. I'm gonna try reverting Google Maps if I have a backup, and if that doesn't work I'll try intermediate values.

Anyone else having issues with Google Maps?

UPDATE: I went back to Google Maps 5.1 and it works fine, guess I'll just keep 5.1 until there's another update. even though I've found a solution, I'm still curious, anyone else with this issue?
[G2 and Desire Z Android Development] Pat123:
Here you go!

http://xdaforums.com/showthread.php?t=863519
[G2 and Desire Z Android Development] captainreynolds:
I have that issue as well - unfortunately, I don't have a backup for 5.1 in TB...

What should I do to revert? Anyone know where I can grab an .apk and sideload?

EDIT:

I downloaded and ran Spare Parts, which the OP mentioned in first post, turned off compatability mode and Maps is working fine now!
[G2 and Desire Z Android Development] Sira.:
Thanks alot !!

THAAAAAANKS MAN !! it worked GREAT .. even for the X10 mini !

thanks man .. !
[G2 and Desire Z Android Development] minotauri:
sorry late reply - but I havent had issues with Maps at all. You might try Spare Parts / Compatibility Mode disabled as I have that disabled and it works fine. Another user above also posted this.
[G2 and Desire Z Android Development] minotauri:
check the 1st post for some screenshots :)
[G2 and Desire Z Android Development] tackleberry:
i just tried that compatibility mode thing, and i totally forgot about spare parts settings for my tranistion speeds between screens and apps. besides that, i unchecked it, and set mine at 200 and so far so good!