[Q] Enable full GPU Rendering - HTC Vivid, Raider, Velocity

Would it be possible to make a mod to remove software (CPU) rendering and enable full GPU rendering? As seen in Android Revolution Roms ?
Also a mod to enable GPU UI Rendering? This would make the vivid speedy quick

bilibox said:
Would it be possible to make a mod to remove software (CPU) rendering and enable full GPU rendering? As seen in Android Revolution Roms ?
Also a mod to enable GPU UI Rendering? This would make the vivid speedy quick
Click to expand...
Click to collapse
1. Open a terminal emulator app
2. Type in
Code:
su
and hit enter.
3. Type in
Code:
echo "0 1 adreno200" > /system/lib/egl/egl.cfg
and hit enter.
Now reboot. Congrats, your phone is now using full GPU rendering.

Should it read adreno220 since that is the GPU vs adreno200. And is this the same as checking force GPU for 2d under development?
Sent from my Vivid 4G using xda premium

yosoywilson78 said:
Should it read adreno220 since that is the GPU vs adreno200. And is this the same as checking force GPU for 2d under development?
Sent from my Vivid 4G using xda premium
Click to expand...
Click to collapse
I don't think this is the same as force 2D GPU rendering. You can try putting adreno220 and see if anything happens, but this mod works correctly as it is now.

android1234567 said:
1. Open a terminal emulator app
2. Type in
Code:
su
and hit enter.
3. Type in
Code:
echo "0 1 adreno200" > /system/lib/egl/egl.cfg
and hit enter.
Now reboot. Congrats, your phone is now using full GPU rendering.
Click to expand...
Click to collapse
It responded with "sh: cannot create /system/lib/egl/egl.cfg: Read-only file system

i tried adreno 220 and i bootlooped and i tried adreno 200 and it said read only file system
EDIT: Mount filesystem as rw. Seems to fix error.
Also, will this last past a reboot, like a permanent fix.?

It didn't give me that error so i assume it has worked

XxSHaDoWxSLaYeRxX said:
i tried adreno 220 and i bootlooped and i tried adreno 200 and it said read only file system
EDIT: Mount filesystem as rw. Seems to fix error.
Also, will this last past a reboot, like a permanent fix.?
Click to expand...
Click to collapse
I have it mounted.. always do.. Still never worked

bilibox said:
I have it mounted.. always do.. Still never worked
Click to expand...
Click to collapse
su
mount -o remount,rw / system
or do the same thing through adb shell. or use a file explorer like es or root to do it for you

XxSHaDoWxSLaYeRxX said:
su
mount -o remount,rw / system
or do the same thing through adb shell. or use a file explorer like es or root to do it for you
Click to expand...
Click to collapse
Or you could just do chmod 644 /system/lib/egl/egl.cfg

android1234567 said:
Or you could just do chmod 644 /system/lib/egl/egl.cfg
Click to expand...
Click to collapse
worked after doing the remount command
Thanks all!

Or you could look at a whole thread of it
http://forum.xda-developers.com/showthread.php?t=1877183
Sent from my HTC Holiday using xda app-developers app

bilibox said:
worked after doing the remount command
Thanks al
Click to expand...
Click to collapse

XxSHaDoWxSLaYeRxX said:
dont forget to thank me cx
Click to expand...
Click to collapse
Only worked with androids command. Not yours. Sorry.
Sent from my HTC Holiday using Tapatalk 2

Sent from my Nexus 7 using Tapatalk 2

Is there anyway to disable hw overlays via init.d?
Sent from my Vivid 4G using Tapatalk 2

Sultanxda said:
1. Open a terminal emulator app
2. Type in
Code:
su
and hit enter.
3. Type in
Code:
echo "0 1 adreno200" > /system/lib/egl/egl.cfg
and hit enter.
Now reboot. Congrats, your phone is now using full GPU rendering.
Click to expand...
Click to collapse
1.is it the same force GPU rendering?
2.will it work on XGO JB 100?
3.is there any command to 'disable hw overlays'
4.whats the benefits and side effects of these changes?
5.why the rom dev. dident set it by default?
thanx alot

Related

Launcher(any) lag fix

As mentioned here and here:
adding "echo ro.HOME_APP_ADJ=1" to /data/local.prop fixes the launcher redraw lag.
Documentation:
http://code.google.com/p/sipdroid/wiki/FAQ
Due to limited memory home screen often takes several seconds to load. Luckily these phones allow root access. Issue the command "echo ro.HOME_APP_ADJ=1 >/data/local.prop" and reboot, to lock home screen in memory.
Click to expand...
Click to collapse
update:
it does seem to made a difference
Here are the commands: (batch file to do this here,post#5)
Code:
adb remount
adb pull /system/build.prop .
edit build.prop with a decent text editor and add these two lines a the end
#fix for screen redraw lag
ro.HOME_APP_ADJ=1
Click to expand...
Click to collapse
Code:
adb push build.prop /system/
adb reboot
you could try
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ=1
adb shell start
if it works you just have to add ro.HOME_APP_ADJ=1 to build.prop.
g4rb4g3 said:
you could try
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ=1
adb shell start
if it works you just have to add ro.HOME_APP_ADJ=1 to build.prop.
Click to expand...
Click to collapse
tried:
Code:
adb shell stop
adb shell setprop ro.HOME_APP_ADJ 1
adb shell start
My phone hot rebooted after the last command.
After it rebooted I ran
Code:
C:\Users\meeee>adb shell getprop ro.HOME_APP_ADJ
4
Since its 4. I guess it did not stick.
Also tried setting it and immediately reading it, did not stick.
Code:
C:\Users\meeee>adb shell setprop ro.HOME_APP_ADJ 1
C:\Users\meeee>adb shell getprop ro.HOME_APP_ADJ
4
The setting stuck after putting it in build.prop, time to check if it made any difference...
Code:
C:\Users\meeee\Desktop>adb shell getprop ro.HOME_APP_ADJ
1
Don't reboot, try the commands and watch out if your problem got fixed. If it works like that you can add the line to build.prop.
g4rb4g3 said:
Don't reboot, try the commands and watch out if your problem got fixed. If it works like that you can add the line to build.prop.
Click to expand...
Click to collapse
It did it on its own.
seems to be working, updated op with the commands.
britoso said:
seems to be working, updated op with the commands.
Click to expand...
Click to collapse
Added this cmd to build.prop but see no changes... what lags you talking about btw?
For me my home screens were sluggish. There was a delay when I tried to switch desktops.
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
rori~ said:
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
Click to expand...
Click to collapse
thanks rori.
No one has posted yet what the command actually does. All it does is tell Android to try to keep the launcher in memory.
Shouldn't affect anything like the scrolling or any response while actually using the launcher, but will fix some lag for when going back home from any other app, as it doesn't have to re-launch the launcher if it was kicked out of memory.
Various options like this exist in some launchers, and I think Cyanogenmod has this option in the settings too. They are not all the same as this command though, so this may work better for some people while the other ways to do it may work better for others.
Clarkster said:
No one has posted yet what the command actually does. All it does is tell Android to try to keep the launcher in memory.
Click to expand...
Click to collapse
As per this it locks the 'screen' in memory. (maybe they mean the screen buffer)
Due to limited memory home screen often takes several seconds to load. Luckily these phones allow root access. Issue the command "echo ro.HOME_APP_ADJ=1 >/data/local.prop" and reboot, to lock home screen in memory.
Click to expand...
Click to collapse
Makes sense as I always have had launcher locked in memory before this and was still having my home screen redraw very slowly when I switched to it.
A good find
Btw just for info there were issues in apps from pre release system dump of arc
However if u r using apps from the retail dump 'they don't lag'
Sent from my U20i using XDA App
rori~ said:
I made a little bat.file, which adds those 2 lines to your build.prop.
- put "Launcher_lag_fix.bat" in ..Android/tools/
- doubleklick
- and wait till reboot.
Click to expand...
Click to collapse
can you specify where is the android/tools mentioned, can it be found in all android phones?
Btw, I have seen ">>" and ">" then "space" /data/local.prop in other websites, while in the sipdroid article, it is exactly
"echo ro.HOME_APP_ADJ=1 >/data/local.prop".
otivaeey said:
can you specify where is the android/tools mentioned, can it be found in all android phones?
Btw, I have seen ">>" and ">" then "space" /data/local.prop in other websites, while in the sipdroid article, it is exactly
"echo ro.HOME_APP_ADJ=1 >/data/local.prop".
Click to expand...
Click to collapse
adb comes with the sdk, for my windows machine its at
C:\android-sdk-windows\platform-tools
in unix ">" sends text to a file (deletes whatever was there) and ">>" appends at the end of a file. If you're not familiar its easiest to just add the one line manually at the end of build.prop.
Hey y'all, wondering if anybody can help me with this:
I'm at work and don't have access to ADB. Can I use Root Explorer to copy the file to the sdcard, mount the card on a PC, edit it, and then use Root Explorer to copy it back again? Or will that cause issues with permissions or something?
EDIT: Well it's intellectual now, I nandroided back to my previous ROM due to some other issues. I'd still like to know though.
Ya the root explorer thing should work but just to be safe I would nandroid first cause worst case scenario your phone freezes you pull battery boot into recovery restore nandroid. But seriously I don't think it will be a problem.
Just out of curiosity I wanted to see if I could do this without a computer at all and turns out all you really need to do is download estrong (or any other root explorer), turn root explorer option on, mount /system and go and edit build.prop through the the built in note editor in estrong. So that might be an alternate solution for you kippswanson.

voltage control settings not sticking on boot.

I have phoenix with setirons kernal I believe 1.5.6, and have voltage control. Each time I go to save as boot setting and.reboot, it goes back to stock. The newest voltage app doesn't shoe all the frequencies this one.does either. The one im running is 2.0 rc2. Thanks
Sent from my SGH-I897 using XDA App
Remount system as r/w. Then using Terminal Emulator run:
Code:
su
chmod 777 /system/etc/init.d
Tell me how this goes (I didn't include the remount command, as it seems to differ among phones/ROMs or something, you can remount the system as r/w using SGS Tools, Super Manager, or similar apps). You can also run the chmod command from adb.
Alright. Will do when I get home!
Sent from my SGH-I897 using XDA App
GGXtreme said:
Remount system as r/w. Then using Terminal Emulator run:
Code:
su
chmod 777 /system/etc/init.d
Tell me how this goes (I didn't include the remount command, as it seems to differ among phones/ROMs or something, you can remount the system as r/w using SGS Tools, Super Manager, or similar apps). You can also run the chmod command from adb.
Click to expand...
Click to collapse
Omg you're a genius! Thanks soooo much!
Sent from my SGH-I897 using XDA App
goob1284 said:
Omg you're a genius! Thanks soooo much!
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
No problem

[fix] DSI errors on Motorola Milestone Froyo

possible fix workaround for the DSI errors on Motorola Milestone Froyo on nadlabaks github
http://github.com/nadlabak/android_...mmit/e1bb339b133dd88389a4c3a80bad3a984d12db50
EDIT:
IanTester said:
echo 1 > /sys/devices/omapdss/display0/update_mode
Click to expand...
Click to collapse
should do the same
EDIT:
<nadlabak> it causes slight tearing, visible e.g. when scrolling through email list...
Click to expand...
Click to collapse
but better than reboots or freezes
also fps might drop
EDIT:
for stock 2.2.1, customroms should use their 2nd init (CM7 HowTo):
move original file:
Code:
mv /system/bin/mot_boot_mode /system/bin/mot_boot_mode.bin
create file /system/bin/mot_boot_mode:
Code:
#!/system/bin/sh
export PATH=/system/bin:$PATH
mot_boot_mode.bin
echo 1 > /sys/devices/omapdss/display0/update_mode
set rights:
Code:
chmod 755 /system/bin/mot_boot_mode
EDIT:
made HowTo more clear, hopefully
How to apply this?
Sent from my Milestone using XDA App
to apply this fix you hafe to (as root or in OR)
if /system is readonly:
Code:
mount -o rw,remount /system
then edit /system/etc/rootfs/init.mapphone_umts.rc and add
Code:
# Set OMAP DSS update_mode to 1 (auto) to get rid of the DSI errors
write /sys/devices/omapdss/display0/update_mode 1
after these lines
Code:
# Enable panic on softlockup
write /proc/sys/kernel/softlockup_panic 1
reboot Milestone
Maybe it should be
mount -o ro,remount /dev/block/mtdblock6 /system
Hm, there is no directory rootfs in /system/etc/ ... Have you tried what you are writing here? Maybe "rootfs" refers to the root dir "/" and the file to edit is "/init.mapphone_umts.rc".
You don't need a reboot.
echo 1 > /sys/devices/omapdss/display0/update_mode
Click to expand...
Click to collapse
(I presume that's what that command in the rc file does, right?)
But make the changes to the rc file as well, so the above action is performed on subsequant boots.
as it's on nadlabaks github for cyanogenmod4milestone (CM7) it might differ from the way to do in official froyo. but IanTesters way should do the same
ColdSphinX said:
as it's on nadlabaks github for cyanogenmod4milestone (CM7) it might differ from the way to do in official froyo. but IanTesters way should do the same
Click to expand...
Click to collapse
Seems to be the case. But since I'm not able to edit /init.mapphone_umts.rc (that's the reason why there is an extra dir for this in cyanogenmod), how am I supposed to implement this fix in the official froyo?
Done on CM6.
Yesterday I was browsing the system folders and found this file, full of customizable options, now I know that it's useful.
@tuxor1337: look for the mot_boot_mode hack to run a script as it's used for overclock
IanTester said:
echo 1 > /sys/devices/omapdss/display0/update_mode
Click to expand...
Click to collapse
For stock Froyo roms, i applied VR and then ran AOR, connected phone to pc and used the following commands in command prompt.
adb devices ( should show your device as connected )
adb shell
echo 1 > /sys/devices/omapdss/display0/update_mode
reboot
Upon reboot, i did not find any errors in dmesg which i usually find.
Can someone with more knowledge than me confirm if this is ok?
I know that can be a noobish question but what VR stands for ?
fuggii said:
I know that can be a noobish question but what VR stands for ?
Click to expand...
Click to collapse
VR --> Vulnerable recovery
AOR --> Androidiani openrecovery
I had to do it because adb was not recognising my phone while in the stock recovery menu.
Once i ran AOR, adb recognised my phone to be in recovery mode.
I make this "echo 1 > /sys/devices/omapdss/display0/update_mode" from terminal emulator and after reboot its back to "2" it must be done form adb in AOR ?
it has to be done on or after any boot.
I edited the 1st post to include the changes to do on stock 2.2.1
fuggii said:
I make this "echo 1 > /sys/devices/omapdss/display0/update_mode" from terminal emulator and after reboot its back to "2" it must be done form adb in AOR ?
Click to expand...
Click to collapse
Looks like it loses it during reboot, so it could be added to the init.rc file as well. I am not sure, that's why i asked with someone more knowledge to confirm this.
Anyone?
I have Autostart app and i make autostart.sh with that command and now its start every system boot.
In home i will try that ColdSphinX method and see what happend
@fuggii it's not my method, it's just a mot_boot_mode hack so you don't need any app and the fix get's applyed as early as we can
I think this should work but I copied all of this https://github.com/nadlabak/android...b50/prebuilt/etc/rootfs/init.mapphone_umts.rc
And used that as init.mapphone_umts.rc
Hey the OP needs updating....
It's missing the 1
echo 1 > /sys/devices/omapdss/display0/update_mode 1
zeppelinrox said:
It's missing the 1
echo 1 > /sys/devices/omapdss/display0/update_mode 1
Click to expand...
Click to collapse
no
Code:
echo [B]1[/B] > /sys/devices/omapdss/display0/update_mode
writest the value 1 into file /sys/devices/omapdss/display0/update_mode it's an other syntax then using write in the .rc

[MOD] Turbo boosted for wildfire...

Easy way to speed up your phone
Install instructions:
1. Install Root Explorer
2. Download boost.zip file and then unzip the that file and put in the SD card...
3. Open Root Explorer (Mounted on R / W) / SDCard / menu button / Multi-select / chose boost / Copy / system / bin / then click paste...
4. Open Terminal emulator and taype:
su
boost
5. Your phone is turbo boosted now, enjoy in new speed on your phone...
6. Press thanks if you like my work...
7. Rate my thread...
And what exactly does this "Turbo boost" do?
Have you got any benchmark results or evidence of an performance increase? I'm not giving an program/script root access to my phone, without some proof of an increase.
Upon opening the file with Notepad++ all it had inside was this
#!/system/bin/sh
# Adrenaline Boost
# Brought to you by [email protected] Developers
sync;
sleep 1
echo "3" > /proc/sys/vm/drop_caches;
sleep 1
echo "1" > /proc/sys/vm/drop_caches;
sleep 1
echo " ** Turbo Boosted ** ";
Click to expand...
Click to collapse
Which after some googling found out it does (from a similar script for desktop Linux):
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
Click to expand...
Click to collapse
nejc121 said:
And what exactly does this "Turbo boost" do?
Click to expand...
Click to collapse
Your phone will be faster and working bether...
I just get permission denied in terminal.
spudata said:
I just get permission denied in terminal.
Click to expand...
Click to collapse
Did you type in "su" before "boost"?
Yes, granted su permissions but no joy.
Same thread posted on the i9000 development area. wth
Sorted, had to change permissions of boost file
Can anyone confirm this to work?
Sent from my HTC Desire using Tapatalk
RESERVED.
installed, will update tomorrow with any feedback.
UPDATE: have found it runs pretty much same as V6 Supercharger, drains battery horribly though.
I was on 54% battery last night, data & wifi off and killed tasks before going bed.. I checked CPU Spy, it had been in a deep sleep state for most of the night.
I awoke to a dead phone, which doesn't even happen on the v6 supercharger!
How do I uninstall this script, can I just delete the file from bin?
I tried this but I see no difference ... should i restart the device?
cm 7.2 rc1, smartassv2 264-710 MHz
edit: rebooted the phone....still no difference.....
To really see the benefits of the boost, you need to change the file permissions. Go into a root terminal and type:
chmod +t boost
This gives the boost Time Travel permissions. Now, all processes will be completed before you even run them. Talk about a turbo boost!!
Also set the date of your phone to whatever you want the open the dialer and type "#"#7925#"#" and you'll be timewarped into the future.
Sent from the year 2019 using my years old HTC Wildfire using xda premium
Ok just done a little digging around the op's other thread (which is now locked by a mod) on a different forum as he hasn't exactly explained what this does in any of them which leads me to believe he doesn't exactly know, and probably copied it from someone else, http://forum.xda-developers.com/showthread.php?t=1542602
What this does is clear the cache filesystem. 3 = free pagecache, dentries and inodes, while 1 = just free pagecache. Which in theory will decrease battery life as the cache needs to then be rebuilt afterwards.
This is already included in v6 supercharger so no need to use this if you have v6, just perform the engine flush or whatever its called whenever you want to free up some memory stuck in cache files. Its basically the same thing according to other users, I haven't looked to see if thats true or not but they sounded like they knew what they we're talking about so i believe them.
GlennBrownie said:
UPDATE: have found it runs pretty much same as V6 Supercharger, drains battery horribly though.
I was on 54% battery last night, data & wifi off and killed tasks before going bed.. I checked CPU Spy, it had been in a deep sleep state for most of the night.
I awoke to a dead phone, which doesn't even happen on the v6 supercharger!
How do I uninstall this script, can I just delete the file from bin
Click to expand...
Click to collapse
??
Yes delete and reboot.
Sent from my HTC Wildfire using xda premium
SeeZaar said:
Easy way to speed up your phone
Install instructions:
1. Install Root Explorer
2. Download boost.zip file and then unzip the that file and put in the SD card...
3. Open Root Explorer (Mounted on R / W) / SDCard / menu button / Multi-select / chose boost / Copy / system / bin / then click paste...
4. Open Terminal emulator and taype:
su
boost
5. Your phone is turbo boosted now, enjoy in new speed on your phone...
6. Press thanks if you like my work...
7. Rate my thread...
Click to expand...
Click to collapse
yea, 1star rated as u just copy my work.
Moreover, u didnt give full description and spoiled my fame and work, this should be useful for everyone if they know how to use tis properly
Thread closed as the OP DOESNT have permission fro yhe dev yo post this.
Also he failed to provide credits.
This on XDA is kanging and is not tolerated!!!

[GUIDE] Simple method to move apps to SD without link2sd or scripts

Title says it all no scripts needed nor is any link2sd and ext-sd partition. This is no new discovery it just sets default install location via a terminal parameter - am just sharing it so that those of you who might not know this benefit from it
Requirements :
*Rooted device (with usb debugging enabled in settings - developer options)
*Terminal emulator
Steps
* open term. Emulator
* type su and press enter key (accept any super user prompt that follows)
* key in the following code and press enter when done :
Code:
pm set-install-location 2
After completion you can go to setting - manage applications and move all apps to sd even the likes of stubborn apps like Facebook.
NOTE:
You can also get current default location by following code :
Code:
pm get-install-location
You can set it back to desired location by using 'pm set-install-location' if ever you feel the need to. The number after location denotes -
Code:
0-auto
1-internal sd
2-external sd
If the any of above codes give errors then try without hyphens in middle. Ex.
Code:
su
pm setInstallLocation 2
Have a good day
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Nice!
Onel de Guzman said:
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Click to expand...
Click to collapse
Yeah this is for those who don't are lazy for installing the likes of sdmerge
xoxodemo said:
Nice!
Click to expand...
Click to collapse
Thanks buddy do try it out and let me know if it works or not
Hmmm, apps tell that no memory enought to install =(
xoxodemo said:
Hmmm, apps tell that no memory enought to install =(
Click to expand...
Click to collapse
Mate use the code then go to settings manage applications and move all desired apps to sd then revert the code
pm set-install-location 0
Hope it helps
dont work =\
xoxodemo said:
dont work =\
Click to expand...
Click to collapse
What doesn't work please elaborate. Which rom are you using and what commands did you type?
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
No button to move on external SD in settings)
xoxodemo said:
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
Click to expand...
Click to collapse
Works well for me in cm9 and 2.3.6 and in fact should work on all android devices but don't exactly know why you can't get it to work - am sorry i can't help to revert just use 0 by the way you could also give internal sd (1) a try to see if it works. Anyway thanks mate for letting me know it doesn't work
I am having problems too, I have entered the comands in the terminal emulator but no results at all. Do i have to reboot my device ?
Im using a LG P700 with CM10
Sent from my LG-P700 using Tapatalk 4 Beta
Working. Thanks.
I cant move apps. Im using L7 + cm10 + gandalf kernel 2.1.2
Sent from my LG-P708 using xda app-developers app
Thanks for the tut. I will try it
Sent from my LG-P700 using xda app-developers app
Not working on v20e from szymel0,
The command gives me:
Bash: precmd command not found !
I have busybox pro installed and not know what to do more...
Sent from my LG-P700 using xda premium
haha
not working on emulated storage device
guys, nikufellow wrote that the applications, with this method, can be installed on the SD card, not that they can be moved

Categories

Resources