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
  #851 (permalink)  
Old 01-02-2012, 02:21 AM
anish88's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2: NAND OMGB
Carrier: Sprint
Location: Chicago
 
Join Date: Dec 2008
Posts: 115
Reputation: 35
anish88 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
ahh ok, well it may be just my changes that messed up the power down then.

The files are unchanged but im not exactly sure if they are from the 300 i have or the 400. Thing is this whole acoustic change was made to fix the gsm rhod mic not working issue. But i'm not exactly sure which ones i packaged up. We need to see if all the rhods carry diff files or not.

also updating LK will wipe almost everything. Since "almost" is not good enough when doing updates. I recommend doing a regular backup and restore when updating LK. The only real change was the ability to reboot into android without getting stuck on fastboot. So you can always wait for the next full release since this is just a test we have now.

Thanks for the feedback.
let me know if you need the 400 files
Reply With Quote
  #852 (permalink)  
Old 01-02-2012, 03:19 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: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by arrrghhh View Post
Either the CSV's or the acoustic code in general needs to be updated...

Power down as in hold the power button and choose shut down.



IMHO ACL just needs to make sure he's using the newest acoustic stuff, emwe did a lot of tweaking and fine tuning. Haven't had audio die on HaRET acoustic in a while in other words .
Yup.. checked with emwe and i missed his commits. Either way i'll need someone to harvest all the csvs and do a compare.
__________________
Reply With Quote
  #853 (permalink)  
Old 01-02-2012, 04:27 AM
milda25's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2 (Rhod100)
Carrier: O2-CZ
Location: Czech Republic
 
Join Date: Dec 2011
Posts: 79
Reputation: 5
milda25 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by mbellot View Post
Just checked and my Rhod400 powers down just fine (and went into charge mode since it's connected right now).
Power Down is working fine for me too.
Reply With Quote
  #854 (permalink)  
Old 01-02-2012, 07:33 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
Yup.. checked with emwe and i missed his commits. Either way i'll need someone to harvest all the csvs and do a compare.
I'm already doing this for HaRET
Reply With Quote
  #855 (permalink)  
Old 01-02-2012, 11:48 AM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Can I ignore the BAD BLOCK error message, or it will cause some unknown problem.
Quote:
<4>[ 2.217590] #MTD# parts in atag = 6
<5>[ 2.217651] Creating 6 MTD partitions on "msm_nand":
<5>[ 2.217712] 0x03100000-0x036c0000 : "recovery"
<5>[ 2.222656] 0x036c0000-0x03720000 : "misc"
<5>[ 2.224243] 0x03720000-0x03b20000 : "boot"
<5>[ 2.228149] 0x03b20000-0x0fb20000 : "system"
<4>[ 2.319091] ###BAD BLOCK 1594 0C740000###
<5>[ 2.353820] 0x0fb20000-0x1e000000 : "userdata"
<5>[ 2.514495] 0x1e000000-0x20000000 : "cache"
Kernel from git server, source update to Dec 30, hope usefully
Quote:
<4>[ 8768.268005] sdio_reset_comm():
<4>[ 8768.269073] ------------[ cut here ]------------
<4>[ 8768.269104] WARNING: at drivers/mmc/core/core.c:222 mmc_wait_for_cmd+0x34/0x7c()
<4>[ 8768.269134] Modules linked in: bcm4329
Attached Files
File Type: zip kernel.zip (74.5 KB, 1 views) Click for barcode!

Last edited by muziling; 01-02-2012 at 12:21 PM.
Reply With Quote
  #856 (permalink)  
Old 01-02-2012, 01:11 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by muziling View Post
Can I ignore the BAD BLOCK error message, or it will cause some unknown problem.
As long as there aren't a ton of bad blocks, it should be OK. They will be ignored... Almost every device ships with 1-2 bad blocks, I have 2 myself on each RHOD400 I own...
Reply With Quote
  #857 (permalink)  
Old 01-02-2012, 09:34 PM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Found Division by zero in kernel.

htc_rhod_batt_corr() in file htc_battery_smem.c

Code:
    BATT("htc_get_batt_info 888\n");
        /* TODO: temp algo is not ok..if someone have the timte -> must look into the driver */
    buffer->batt_tempRAW = ( buffer->batt_tempRAW * 5200 ) / htc_adc_range;
    BATT("htc_get_batt_info 999\n");
    av_index = ( buffer->batt_tempRAW * 18 ) / ( 2600 - buffer->batt_tempRAW );
    BATT("htc_get_batt_info aaa\n");
    buffer->batt_tempRAW = htc_battery_temperature_lut( av_index );
    if ( buffer->batt_tempRAW < 250 ) /* fixed til so long we can get constant values - otherwise the algo wouln'T work good */
            buffer->batt_tempRAW = 250;
  BATT("htc_get_batt_info bbb\n");
    fix_batt_values(buffer);
  BATT("htc_get_batt_info ccc\n");
    htc_battery_level_compute( buffer );
  BATT("htc_get_batt_info ddd\n");
    return 0;
Quote:
<6>[ 4413.083618] [BATT] htc_get_batt_info 444
<6>[ 4413.083679] [BATT] htc_get_batt_info 555
<6>[ 4413.083770] [BATT] htc_get_batt_info 666
<6>[ 4413.083801] [BATT] htc_get_batt_info 888
<6>[ 4413.083862] [BATT] htc_get_batt_info 999
<4>[ 4413.083892] Division by zero in kernel.
<4>[ 4413.083923] [<c0281e48>] (dump_stack+0x0/0x14) from [<c002df94>] (__div0+0x18/0x20)
<4>[ 4413.084075] [<c002df7c>] (__div0+0x0/0x20) from [<c0142f4c>] (Ldiv0+0x8/0x10)
<4>[ 4413.084197] [<c00568ec>] (htc_get_batt_info+0x0/0x9a4) from [<c0057d30>] (htc_battery_thread+0x54/0xa0)
<4>[ 4413.084350] [<c0057cdc>] (htc_battery_thread+0x0/0xa0) from [<c0060f8c>] (do_exit+0x0/0x7a
<4>[ 4413.084472] r7:00000000 r6:00000000 r5:00000000 r4:00000000
<6>[ 4413.084533] [BATT] htc_get_batt_info aaa
<6>[ 4413.084564] [BATT] htc_get_batt_info bbb
<6>[ 4413.084625] [BATT] htc_get_batt_info ccc
<6>[ 4413.084655] [BATT] htc_get_batt_info ddd
<6>[ 4413.084686] [BATT] htc_get_batt_info 777
<6>[ 4423.102691] [BATT] htc_get_batt_info 111
HeroC battery driver, many different, https://raw.github.com/TeamICS/heroc.../htc_battery.c
Our battery chip is ds2746, same as HD2?

Last edited by muziling; 01-02-2012 at 11:38 PM.
Reply With Quote
  #858 (permalink)  
Old 01-02-2012, 11:26 PM
[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: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by muziling View Post
Found Division by zero in kernel.

htc_rhod_batt_corr() in file htc_battery_smem.c

Code:
    BATT("htc_get_batt_info 888\n");
        /* TODO: temp algo is not ok..if someone have the timte -> must look into the driver */
    buffer->batt_tempRAW = ( buffer->batt_tempRAW * 5200 ) / htc_adc_range;
    BATT("htc_get_batt_info 999\n");
    av_index = ( buffer->batt_tempRAW * 18 ) / ( 2600 - buffer->batt_tempRAW );
    BATT("htc_get_batt_info aaa\n");
    buffer->batt_tempRAW = htc_battery_temperature_lut( av_index );
    if ( buffer->batt_tempRAW < 250 ) /* fixed til so long we can get constant values - otherwise the algo wouln'T work good */
            buffer->batt_tempRAW = 250;
  BATT("htc_get_batt_info bbb\n");
    fix_batt_values(buffer);
  BATT("htc_get_batt_info ccc\n");
    htc_battery_level_compute( buffer );
  BATT("htc_get_batt_info ddd\n");
    return 0;
HeroC battery driver, many different, https://raw.github.com/TeamICS/heroc.../htc_battery.c
Do you know exactly what line ? I mean this could only happen if buffer->batt_tempRAW is 0. Can you printK to see if thats the case ?
Reply With Quote
  #859 (permalink)  
Old 01-03-2012, 01:25 AM
mbellot's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Boost
 
Join Date: Jul 2010
Posts: 156
Reputation: 135
mbellot is keeping up the good workmbellot is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
Yup.. checked with emwe and i missed his commits. Either way i'll need someone to harvest all the csvs and do a compare.
Rhod400 csv files. I'd attach others, but I only have the 400. LOL
Attached Files
File Type: zip rhod400_audio_csv.zip (36.8 KB, 1 views) Click for barcode!
Reply With Quote
  #860 (permalink)  
Old 01-03-2012, 01:28 AM
PedroDaGr8's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC EVO 4G LTE
Carrier: Sprint
Location: San Diego, CA
 
Join Date: Jun 2008
Posts: 116
Reputation: 150
PedroDaGr8 is keeping up the good workPedroDaGr8 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Whoo hoo! I finally am able to join the land of nand! Replacement TP2 after the previous one decided to perpetually flash up the Video Out screen in WM. First time I tried (before x-mas) LK kept thinking the end key was pressed. So I gave up. Tried again today from scratch, following the wiki (which by the way to which I added a comment about a minor correction); deleted EVERYTHING, made sure to erase all of the partitions multiple times, flashed recovery 4x times before rebooting. Boom. IT WORKS!

I have to say you guys are awesome. This runs lightyears more smoothly than FRX. Swype was always a bit laggy in FRX. Now it runs smooth as butter.

Now I just need to find the post where you put the calibration apk. because mine is off pretty wicked (it appears to be missing the top ~10-20 pixels and the bottom 10-20 pixels plus about 10 on the right side).
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 05:44 PM.


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