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 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2011, 04:42 AM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Nate/Lmiller : weird thing just happened.. i got some file corruption on /cache.

cyangen has two dalvik-caches and one had a bunch of nonsense and i would get oob errors on the dmesg log. Im thinking since cache is at the end of nand, you think we have the same issue as hd2 where they cant write to the last 24mb of nand ? So far this happened once and i guess im glad it was just the cache. Had it been the data it would be difficult to troubleshoot.

/data/dalvik-cache <= Used by market apps (stored in /data/app)
/cache/dalvik-cache <= Used by System apps (stored in /system/app).
I doubt we have the same problem as the HD2 because they can't even format that section, but I guess we could test it pretty easily by taking some space away from the data partition and see if the issue goes away. Could it be running out of space on the cache? What if we upped it to 64 MB instead?
Reply With Quote
  #2 (permalink)  
Old 03-07-2011, 08:30 AM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

So you guys still can't write to the cache partition?
If so try changing this line on the MAKEDEV's

mknod -m 0666 /dev/mtd/mtd4 c 90 6
to
mknod -m 0666 /dev/mtd/mtd4 c 90 8

I stated this before but never looked at the push, but I was also uncertain about it... Sorry about that.

But maybe the cache getting corrupt is something different... Kinda like the losing of some widgets on the Android home screen?

As for not being able to write to the recovery partition are you still using the same starting place as before. 0x4000000?

I won't be able to test for a while today for I forgot my phone at home.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-07-2011, 04:54 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
I doubt we have the same problem as the HD2 because they can't even format that section, but I guess we could test it pretty easily by taking some space away from the data partition and see if the issue goes away. Could it be running out of space on the cache? What if we upped it to 64 MB instead?
nahh the cachent isnt running out of space. That was the first thing i checked, but then i noticed errors on dmesg.

Since cache partition begins at 1E000000, the errors start showing up at 1ff31000 which is really close to the end. We will need to try a few things to see whats up.

A good test to see is if you or lmiller can move your dalvik cache over to this partition. And recreate my issue. Simple link should do the job. Right away android gets angry since a corrupt dalvik cache is trouble for any app in the bad area.

I'll try to reduce the mtd parts and see if the problem keeps happening. I'll reduce the mtd from to end at 1FE00000 which is about 510mb (skipping the last 2mb).

Now a separate issue is the recovery. which is marked as protected. we can read it but writing to it does not work. So i get the feeling this needs to be extended as well.
__________________
Reply With Quote
  #4 (permalink)  
Old 03-07-2011, 10:25 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: NAND Boot Testing - 01-07: Panel power on/off fixes

My data reads:

C:\Program Files\Android\android-sdk\platform-tools>adb ls /system/etc
000041ed 00000800 12cea692 .
000041ed 00000800 12cea693 ..
000081a4 0000000e 4d4e6a66 group
000081a4 00000019 4d4e6a66 hosts
000081a4 0000003b 4d4e6a66 shadow
000081a4 00000019 4d4e6a66 passwd
000081a4 00000094 4d4e6a66 default.prop
000081a4 000001f1 4d4e6a66 profile
000081a4 00000017 4d4e6a66 shells
000081a4 000001d9 4d3a47e3 pvplayer.cfg
000081a4 00000511 4d3a47e3 vold.fstab
000081a4 0000013d 4d3a47e3 vold.conf
000081a4 00011669 4d3a47e3 NOTICE.html.gz
000041ed 00000800 12cea64e bluetooth
000081a4 000017b0 4d3a47e3 media_profiles.xml
000081a4 0000076a 4d3a47e3 AudioFilter.csv
000041ed 00000800 12cea64e permissions
000041ed 00000800 12cea691 wifi
00008168 000004b0 4d3a47e3 init.goldfish.sh
000081a4 000000e8 4d3a47e3 gps.conf
000041ed 00000800 12cea692 firmware
000041ed 00000800 12cea64e security
000081a4 00002a40 4d3a47e3 event-log-tags
00008120 000003a7 4d3a47e3 dbus.conf
000081a4 00001464 4d3a47e3 AudioPreProcess.csv
000041ed 00000800 12cea693 keymaps
000081a4 00002696 4d4e6a66 apns-conf.xml
000041ed 00000800 12cea691 dhcpcd
000081a4 00000055 4d3a47e3 01_qcomm_omx.cfg
00008124 0000adfe 4d3a47e3 AudioPara4.csv
C:\Program Files\Android\android-sdk\platform-tools>


C:\Program Files\Android\android-sdk\platform-tools>adb ls /data/ppp
000041ed 00000800 12cea691 .
000041f9 00000800 4d758616 ..
000081ed 00001534 4d73f10b ip-up-vpn
000081a4 00000000 4d73f12e pap-secrets
000081a4 00000000 4d73f0dd chap-secrets
000081a4 00000065 4d73f119 options.smd
000081ed 000001ce 4d73f0f5 ip-down
000081a4 0000005d 4d73f121 options.smd1
000081ed 0000050f 4d73f0ff ip-up
C:\Program Files\Android\android-sdk\platform-tools>

Since I don't see a ppp link inside /etc I did the manual copy, and now have a link in the /etc folder as shown:

C:\Program Files\Android\android-sdk\platform-tools>adb ls /system/etc
000041ed 00000800 4d758a17 .
000041ed 00000800 12cea693 ..
0000a1ff 00000009 4d758a17 ppp
000081a4 0000000e 4d4e6a66 group
000081a4 00000019 4d4e6a66 hosts
000081a4 0000003b 4d4e6a66 shadow
000081a4 00000019 4d4e6a66 passwd
000081a4 00000094 4d4e6a66 default.prop
000081a4 000001f1 4d4e6a66 profile
000081a4 00000017 4d4e6a66 shells
000081a4 000001d9 4d3a47e3 pvplayer.cfg
000081a4 00000511 4d3a47e3 vold.fstab
000081a4 0000013d 4d3a47e3 vold.conf
000081a4 00011669 4d3a47e3 NOTICE.html.gz
000041ed 00000800 12cea64e bluetooth
000081a4 000017b0 4d3a47e3 media_profiles.xml
000081a4 0000076a 4d3a47e3 AudioFilter.csv
000041ed 00000800 12cea64e permissions
000041ed 00000800 12cea691 wifi
00008168 000004b0 4d3a47e3 init.goldfish.sh
000081a4 000000e8 4d3a47e3 gps.conf
000041ed 00000800 12cea692 firmware
000041ed 00000800 12cea64e security
000081a4 00002a40 4d3a47e3 event-log-tags
00008120 000003a7 4d3a47e3 dbus.conf
000081a4 00001464 4d3a47e3 AudioPreProcess.csv
000041ed 00000800 12cea693 keymaps
000081a4 00002696 4d4e6a66 apns-conf.xml
000041ed 00000800 12cea691 dhcpcd
000081a4 00000055 4d3a47e3 01_qcomm_omx.cfg
00008124 0000adfe 4d3a47e3 AudioPara4.csv
C:\Program Files\Android\android-sdk\platform-tools>

After all that, I still have no data. I tried the Android APN, and the Sprint APN. Attached is the new logcat -b radio

I do see ppp trying to start now...

Thanks!
Attached Files
File Type: txt March7_radio_logcat.txt (14.7 KB, 1 views) Click for barcode!
Reply With Quote
  #5 (permalink)  
Old 03-07-2011, 10:53 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by steveholtam View Post
My data reads:

C:\Program Files\Android\android-sdk\platform-tools>adb ls /system/etc
000041ed 00000800 12cea692 .
000041ed 00000800 12cea693 ..
000081a4 0000000e 4d4e6a66 group
000081a4 00000019 4d4e6a66 hosts
000081a4 0000003b 4d4e6a66 shadow
000081a4 00000019 4d4e6a66 passwd
000081a4 00000094 4d4e6a66 default.prop
000081a4 000001f1 4d4e6a66 profile
000081a4 00000017 4d4e6a66 shells
000081a4 000001d9 4d3a47e3 pvplayer.cfg
000081a4 00000511 4d3a47e3 vold.fstab
000081a4 0000013d 4d3a47e3 vold.conf
000081a4 00011669 4d3a47e3 NOTICE.html.gz
000041ed 00000800 12cea64e bluetooth
000081a4 000017b0 4d3a47e3 media_profiles.xml
000081a4 0000076a 4d3a47e3 AudioFilter.csv
000041ed 00000800 12cea64e permissions
000041ed 00000800 12cea691 wifi
00008168 000004b0 4d3a47e3 init.goldfish.sh
000081a4 000000e8 4d3a47e3 gps.conf
000041ed 00000800 12cea692 firmware
000041ed 00000800 12cea64e security
000081a4 00002a40 4d3a47e3 event-log-tags
00008120 000003a7 4d3a47e3 dbus.conf
000081a4 00001464 4d3a47e3 AudioPreProcess.csv
000041ed 00000800 12cea693 keymaps
000081a4 00002696 4d4e6a66 apns-conf.xml
000041ed 00000800 12cea691 dhcpcd
000081a4 00000055 4d3a47e3 01_qcomm_omx.cfg
00008124 0000adfe 4d3a47e3 AudioPara4.csv
C:\Program Files\Android\android-sdk\platform-tools>


C:\Program Files\Android\android-sdk\platform-tools>adb ls /data/ppp
000041ed 00000800 12cea691 .
000041f9 00000800 4d758616 ..
000081ed 00001534 4d73f10b ip-up-vpn
000081a4 00000000 4d73f12e pap-secrets
000081a4 00000000 4d73f0dd chap-secrets
000081a4 00000065 4d73f119 options.smd
000081ed 000001ce 4d73f0f5 ip-down
000081a4 0000005d 4d73f121 options.smd1
000081ed 0000050f 4d73f0ff ip-up
C:\Program Files\Android\android-sdk\platform-tools>

Since I don't see a ppp link inside /etc I did the manual copy, and now have a link in the /etc folder as shown:

C:\Program Files\Android\android-sdk\platform-tools>adb ls /system/etc
000041ed 00000800 4d758a17 .
000041ed 00000800 12cea693 ..
0000a1ff 00000009 4d758a17 ppp
000081a4 0000000e 4d4e6a66 group
000081a4 00000019 4d4e6a66 hosts
000081a4 0000003b 4d4e6a66 shadow
000081a4 00000019 4d4e6a66 passwd
000081a4 00000094 4d4e6a66 default.prop
000081a4 000001f1 4d4e6a66 profile
000081a4 00000017 4d4e6a66 shells
000081a4 000001d9 4d3a47e3 pvplayer.cfg
000081a4 00000511 4d3a47e3 vold.fstab
000081a4 0000013d 4d3a47e3 vold.conf
000081a4 00011669 4d3a47e3 NOTICE.html.gz
000041ed 00000800 12cea64e bluetooth
000081a4 000017b0 4d3a47e3 media_profiles.xml
000081a4 0000076a 4d3a47e3 AudioFilter.csv
000041ed 00000800 12cea64e permissions
000041ed 00000800 12cea691 wifi
00008168 000004b0 4d3a47e3 init.goldfish.sh
000081a4 000000e8 4d3a47e3 gps.conf
000041ed 00000800 12cea692 firmware
000041ed 00000800 12cea64e security
000081a4 00002a40 4d3a47e3 event-log-tags
00008120 000003a7 4d3a47e3 dbus.conf
000081a4 00001464 4d3a47e3 AudioPreProcess.csv
000041ed 00000800 12cea693 keymaps
000081a4 00002696 4d4e6a66 apns-conf.xml
000041ed 00000800 12cea691 dhcpcd
000081a4 00000055 4d3a47e3 01_qcomm_omx.cfg
00008124 0000adfe 4d3a47e3 AudioPara4.csv
C:\Program Files\Android\android-sdk\platform-tools>

After all that, I still have no data. I tried the Android APN, and the Sprint APN. Attached is the new logcat -b radio

I do see ppp trying to start now...

Thanks!
did you try the latest install i uploaded a few hours ago?

Also you cant copy, you must make a link.
Reply With Quote
  #6 (permalink)  
Old 03-08-2011, 03:08 AM
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
did you try the latest install i uploaded a few hours ago?

Also you cant copy, you must make a link.
I just tried the new files and still no data. I have no idea how to make a link to a file at this point. If someone could give me that command, I'll try it.

I'm going to work on this a bit right now.

The /etc files:
C:\Program Files\Android\android-sdk\platform-tools>adb ls /system/etc
000041ed 00000800 12cea692 .
000041ed 00000800 12cea693 ..
000081a4 0000000e 4d4e6a66 group
000081a4 00000019 4d4e6a66 hosts
000081a4 0000003b 4d4e6a66 shadow
000081a4 00000019 4d4e6a66 passwd
000081a4 00000094 4d4e6a66 default.prop
000081a4 000001f1 4d4e6a66 profile
000081a4 00000017 4d4e6a66 shells
000081a4 000001d9 4d3a47e3 pvplayer.cfg
000081a4 00000511 4d3a47e3 vold.fstab
000081a4 0000013d 4d3a47e3 vold.conf
000081a4 00011669 4d3a47e3 NOTICE.html.gz
000041ed 00000800 12cea64f bluetooth
000081a4 000017b0 4d3a47e3 media_profiles.xml
000081a4 0000076a 4d3a47e3 AudioFilter.csv
000041ed 00000800 12cea64f permissions
000041ed 00000800 12cea691 wifi
00008168 000004b0 4d3a47e3 init.goldfish.sh
000081a4 000000e8 4d3a47e3 gps.conf
000041ed 00000800 12cea692 firmware
000041ed 00000800 12cea64e security
000041ed 00000800 12cea64e ppp
000081a4 00002a40 4d3a47e3 event-log-tags
00008120 000003a7 4d3a47e3 dbus.conf
000081a4 00001464 4d3a47e3 AudioPreProcess.csv
000041ed 00000800 12cea693 keymaps
000081a4 00002696 4d4e6a66 apns-conf.xml
000041ed 00000800 12cea691 dhcpcd
000081a4 00000055 4d3a47e3 01_qcomm_omx.cfg
00008124 0000adfe 4d3a47e3 AudioPara4.csv

So it now shows the ppp file without any edits required.

Last edited by steveholtam; 03-08-2011 at 03:12 AM. Reason: added /etc
Reply With Quote
  #7 (permalink)  
Old 03-08-2011, 03:14 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by steveholtam View Post
I just tried the new files and still no data. I have no idea how to make a link to a file at this point. If someone could give me that command, I'll try it.

I'm going to work on this a bit right now.
hmm this is odd. You have the link already in the latest one. So it must be something else. Im flashing now to see what it could be.. removing that cyanogen hideousness

Fukin ey.. found the issue. Im a moron. sorry. Not sure why i catn get this to be perfect. Im cooking up a fix now.

Edit: actually it seems to work for me.. I get the feeling that the android update is not actually exploding all the stuff. i cant seem to replicate the error but i do see the damn dbus permissions error. ..

can you "ls /data/etc" ?

Last edited by [ACL]; 03-08-2011 at 03:45 AM.
Reply With Quote
Reply

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


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 03:35 AM.


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