PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 12-16-2010, 04:05 PM
tiad8's Avatar
Halfway to VIP Status
Offline
Pocket PC: windows 7
Carrier: SPRINT HTC TOUCH PRO 2
 
Join Date: Jul 2010
Posts: 125
Reputation: 9275
tiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by steveholtam View Post
I had the flickering during the entire boot animation. I am using all of your latest files, except I am using the 11/26 gles file and I'm back to the 12/2 build.prop.

Just ran Neocore, 19.7 and flickering the entire time.

I'm going to try the 11/29 gles and see what happens.
yes. 11.29 3d and grolloc 11.29. works really good. i already test it with the 11.26 i got some flickering.

to be honest i use 11.26 if im playing games and a few other stuff. but 11.29 3d and gralloc 11.30 very stable. thanks
__________________
FROYO X SPRINT TOUCH PRO 2 (RHOD400)
Reply With Quote
This post has been thanked 1 times.
  #32 (permalink)  
Old 12-16-2010, 04:15 PM
steveholtam's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Aug 2008
Posts: 261
Reputation: 145
steveholtam is keeping up the good worksteveholtam is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Yep, switched to the 11/29 gles and no more flickering. Also got my highest neocore score, 20.6 with no sound. This is about as fast as a stock Eros I think.
Reply With Quote
  #33 (permalink)  
Old 12-16-2010, 10:04 PM
InvincibleLiving's Avatar
Post Master General
Offline
Pocket PC: White Evo: Myn's TPT RLS5, Stock Kernel
Carrier: The "NOW" Network
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 6,464
Reputation: 4222
InvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by steveholtam View Post
Yep, switched to the 11/29 gles and no more flickering. Also got my highest neocore score, 20.6 with no sound. This is about as fast as a stock Eros I think.
quite impressive if you ask me!



Sent from my MSM using Tapatalk
__________________
Creator of iLife ROM Series

Best... Member... Ever...
Reply With Quote
  #34 (permalink)  
Old 12-17-2010, 12:27 AM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Post Re: Test with framebuffer

Quote:
Originally Posted by InvincibleLiving View Post
Hey Tiger, I want to know more about the swapfile you referenced, can you share? TIA
Yeah, I've got it by create a swapfile at /sdcard/swapfile by `dd` command on the my Linux box:
Code:
dd if=/dev/zero of=$HOME/swapfile bs=1M count=64
and then make Swap FS with that file
Code:
mkswap -f $HOME/swapfile
Then modified froyo.user.conf to look like this:
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

  echo "Remove dirty files"
  rm /sdcard/FSCK*.REC
  rm /sdcard/fsck*.rec

  echo "Copy hosts to remove ad"
  cp -fv /sdcard/tools/etc/hosts /data/etc/hosts
  cp -fv /sdcard/tools/etc/hosts /system/etc/hosts
  
  echo "Mounting external mods."
  mount --bind /sdcard/mods/libGLES_qcom.so.11.29.10 /system/lib/egl/libGLES_qcom.so
  mount --bind /sdcard/mods/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
  mount --bind /sdcard/mods/build.prop /system/build.prop
  
  echo "Mounting swapfile on /sdcard/swapfile"
  swapon /sdcard/swapfile
}
I was move all the test drivers to /sdcard/mods to get more clean look at root of my sdcard, also I have done with some tricks to remove some dirty files generated while fsck is run, mapped hosts file to remove ad from application...

Also, I was modified block "swap_file" to look like this:
Code:
#create swap file for compcache or linux swap
swap_file{
  swap_file_en=1  # set to 1 to create swap file
        # set to 0 to del the swap file
  linux_swap_file_size=64 # swap file size in MB
  linux_swap_file=/sdcard/swapfile  # pointing to the swap file location ( must be /system/sd/)
}
But seen its look not make any sense and kernel not go to use swap, just ignore it.

This is block I was modified to make kernel using more swap when more applications running to give more ram for focusing activity:
Code:
#virtual memory 
sys_vm{        
  sys_vm_en=1 # enable(1) or disable(0) virtual memory configurations
  swappiness=20 # default 60
  page_cluster=0  # default 3, (0 since CM3.9.6+)
  laptop_mode=5 # default 0
  dirty_expire_centisecs=3000 # default 3000
  dirty_writeback_centisecs=1500  # default 500
  dirty_background_ratio=3  # default 5
  dirty_ratio=5 # default 10
  vfs_cache_pressure=200  # default 100 (tendency of the kernel to reclaim cache memory)
  overcommit_memory=1 # default 0 (0=Heuristic 1=Always overcommit 2=Don't overcommit)
  overcommit_ratio=80 # default 50 (% of Physical+Virtual memory to allow allocation)
}
That is what's I've done. I have attach my froyo.user.conf and swapfile as you need to make it. (Good for M$'s user which not have dd tool already :P )
Attached Files
File Type: zip froyo.user.conf.zip (1.2 KB, 2 views) Click for barcode!
File Type: zip swapfile.zip (63.8 KB, 2 views) Click for barcode!
__________________
Reply With Quote
This post has been thanked 1 times.
  #35 (permalink)  
Old 12-17-2010, 12:32 AM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by [ACL] View Post
One last thing. Can yall test gallery3d ? this doesnt work on the Raph and is the main reason why this commit is taking so long.

It works on rhod nand but i need to make sure haret works ok as well.
My phone was go back to bootanimation at the morning when I wake up and start the browser. bootanimation was play some cycle then stop loading, seen it freezing and now I can not start android again, infinitive loop at bootanimation screen, its playing for few minutes before stop I can access adb now, do some dump log to see what's happen. After that I'm going to try the older kernel and if failed then delete data.img

EDITED: Confirmed, I can boot android up after switch back to 12.12.10 kernel and remove all /data/dalvik-cache/*
I'm still get freeze at the bootanimation screen even with 12.12.10 kernel. Going to test NAND and then fresh install of HaRET

Last edited by tiger2wander; 12-17-2010 at 02:57 AM.
Reply With Quote
  #36 (permalink)  
Old 12-17-2010, 02:21 AM
docnas's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint Sero
Location: New York
 
Join Date: Apr 2009
Posts: 283
Reputation: 340
docnas is becoming a PPCGeeks regulardocnas is becoming a PPCGeeks regulardocnas is becoming a PPCGeeks regulardocnas is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Ok running 11-30 and 11-29 gral and lib and using new module and imagez

Sprint TP2
1st run -fps2d avg 29 stdev 6.31

2nd run -fps2d avg 28 stdev 7.92

3rd run phone froze for 2 mintutes forced closed restarted

4th run -fps2d avg 29 stdev 6.07

not sure whey the stdev value changed every time though

Neocore score was run 18.6 (without sound 20) 3rd run gave me 19.2
quadrant= 574, 2nd run 660

this is a brand new install with deleted data image after waiting 10 minutes after it booted and its overclocked to 787200
__________________


HTC Universal-->Imate Jam(HTC Magician)-->Imate K-jam(HTC Wizard)-->HTC Mogul-->Touch Pro-->Touch Pro 2-->wonder what the next windows phone is going to be ??

Last edited by docnas; 12-17-2010 at 03:01 AM.
Reply With Quote
  #37 (permalink)  
Old 12-17-2010, 08:35 AM
Adrenalinus's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2 (Rhod 100)
Carrier: Optimus PT
 
Join Date: Dec 2010
Posts: 2
Reputation: 0
Adrenalinus is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by [ACL] View Post
One last thing. Can yall test gallery3d ? this doesnt work on the Raph and is the main reason why this commit is taking so long.

It works on rhod nand but i need to make sure haret works ok as well.
Working on mine without any problem.
Reply With Quote
  #38 (permalink)  
Old 12-17-2010, 09:44 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Ok you guys can stop testing. I committed the updates but the gles lib and gralloc still are being examined. So for now keep modding your startup so you can use the ones that work for you. Also someone reported the stock xdandroid works fine so whats the point in even moving away from it?

not sure but i guess i'll leave it up to you guys to give me a good answer. Also for those of you sending money to the wrong place my donate button is on my sig.. someone told me they sent money to the wrong person so i want to make sure no one else makes the same mistake
__________________
Reply With Quote
  #39 (permalink)  
Old 12-17-2010, 12:41 PM
zeurx's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Vogue & HTC Touch Pro
Carrier: Former Midwest Wireless forced to Alltel and soon to be Verizon
 
Join Date: Mar 2007
Posts: 415
Reputation: 280
zeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by tiger2wander View Post
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

  echo "Remove dirty files"
  rm /sdcard/FSCK*.REC
  rm /sdcard/fsck*.rec

  echo "Copy hosts to remove ad"
  cp -fv /sdcard/tools/etc/hosts /data/etc/hosts
  cp -fv /sdcard/tools/etc/hosts /system/etc/hosts
  
  echo "Mounting external mods."
  mount --bind /sdcard/mods/libGLES_qcom.so.11.29.10 /system/lib/egl/libGLES_qcom.so
  mount --bind /sdcard/mods/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
  mount --bind /sdcard/mods/build.prop /system/build.prop
  
  echo "Mounting swapfile on /sdcard/swapfile"
  swapon /sdcard/swapfile
}

A better method to make it work for everyone would be...
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

# Setup vars --------------------
FSCK_CLEAN=`/bin/grep -o "fsck_cleanup=.*" /proc/cmdline | /bin/sed -e "s/.*fsck_cleanup=//g" -e "s/ .*//g"`
3D_TEST=`/bin/grep -o "3d_test=.*" /proc/cmdline | /bin/sed -e "s/.*3d_test=//g" -e "s/ .*//g"`
SWAP_ENABLE=`/bin/grep -o "swap_enable=.*" /proc/cmdline | /bin/sed -e "s/.*swap_enable=//g" -e "s/ .*//g"`
CARD_PATH=`/bin/grep -o "rel_path=.*" /proc/cmdline | /bin/sed -e "s/.*rel_path=//g" -e "s/ .*//g"`
if [ "$CARD_PATH" = "" ];then
        CARD_PATH="andboot"
fi;
if [ -d /sdcard/$CARD_PATH ] ; then
        card=/sdcard/$CARD_PATH
else
        card=/sdcard
fi
# -------------------------------

  if [ "$FSCK_CLEAN" == "1" ]; then
    echo "Remove dirty files"
    rm /sdcard/FSCK*.REC
    rm /sdcard/fsck*.rec
  fi

  if [ -f /sdcard/$card/extras/hosts ]; then
    echo "Copy hosts to remove ad"
    cp -fv $card/extras/hosts /data/etc/hosts
    cp -fv $card/extras/hosts /system/etc/hosts
  fi
  
  if [ "$3D_TEST" == "1" ] && [ -f $card/extras/3d/libGLES_qcom.so ] && [ -f $card/extras/3d/gralloc.msm7k.so ] && [ -f $card/extras/3d/build.prop ]; then
    echo "Mounting external mods."
    mount --bind $card/extras/3d/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so
    mount --bind $card/extras/3d/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
    mount --bind $card/extras/3d/build.prop /system/build.prop
  fi

  if [ "$SWAP_ENABLE" == "1" ] && [ -f $card/swap ]; then
    echo "Mounting swapfile on $card/swap"
    swapon $card/swap
  fi
Then place your extra file in /sdcard/andboot/extras and extras/3d. Enable the options using "fsck_cleanup=1 3d_test=1 swap_enable=1" in your startup.txt and if the files exists the options will be enabled, if not then no worry it will just default to normal behavior. I hope this doesn't step on anyones toes and that adding these to the startup.txt isn't that bad of a thing.
__________________

Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:00 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com