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
  #1161 (permalink)  
Old 02-10-2011, 08:36 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

Quote:
Originally Posted by [ACL] View Post
nice nice.. i tried wiping everything bro.. and the damn initrd can only get to about 1.5mb. We need it to go around 1.1 so we can boot. This is why they added lzma support on the vogue. I'll port it over tomorrow
Not sure if this will work or not but add this command at the start of the init file. Then we should be able to remove most of the bin files. Even though they are just links...
Code:
#Create all the symlinks to /bin/busybox
busybox --install -s
__________________
Reply With Quote
This post has been thanked 1 times.
  #1162 (permalink)  
Old 02-10-2011, 08:43 AM
LucaC.'s Avatar
LucaC.
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Hello everyone, I am writing this post maybe doing OT, but reading what you are doing I feel compelled to thank you and urge you even more.

Sorry for my bad English but I'm Italian.
I just have one question: You can now mount NAND Android?

Thanks again and good work.
Reply With Quote
  #1163 (permalink)  
Old 02-10-2011, 08:47 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

Quote:
Originally Posted by LucaC. View Post
Hello everyone, I am writing this post maybe doing OT, but reading what you are doing I feel compelled to thank you and urge you even more.

Sorry for my bad English but I'm Italian.
I just have one question: You can now mount NAND Android?

Thanks again and good work.
Yes we can mount and boot to Android!
But after a reboot everything is getting wiped out do the SPL resting a flag.
Reply With Quote
This post has been thanked 1 times.
  #1164 (permalink)  
Old 02-10-2011, 08:54 AM
Andr3Wcz's Avatar
Andr3Wcz
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

And everything what works on Haret is working in NAND too? And what about battery life?

Im really looking forward to day when I will use Android as system for everyday usage. Thank you soo much for your work!!
Reply With Quote
  #1165 (permalink)  
Old 02-10-2011, 08:57 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

Quote:
Originally Posted by Andr3Wcz View Post
And everything what works on Haret is working in NAND too? And what about battery life?

Im really looking forward to day when I will use Android as system for everyday usage. Thank you soo much for your work!!
Currently there are some issues but for the most part Yes... Once we get data to stick after a reboot this will be caught up to Haret very quickly (Thanks to ACL!!!)
Reply With Quote
This post has been thanked 1 times.
  #1166 (permalink)  
Old 02-10-2011, 09:06 AM
LucaC.'s Avatar
LucaC.
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Lmiller1708 thanks for the reply but I did not understand what happens if you restart the terminal?
So I can flash my htc black stone without the risk of breaking it and a version of almost running Android?

Thanks again for your attention and still really good job because I appreciate what you are doing!
Reply With Quote
  #1167 (permalink)  
Old 02-10-2011, 09:09 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

Quote:
Originally Posted by LucaC. View Post
Lmiller1708 thanks for the reply but I did not understand what happens if you restart the terminal?
So I can flash my htc black stone without the risk of breaking it and a version of almost running Android?

Thanks again for your attention and still really good job because I appreciate what you are doing!

Whooo... No Sorry I didn't see your device. This is For TP2's Only. Not sure at all for the Black stone. But you are in the wrong Form.

Currently only CDMA Device's too...
Reply With Quote
This post has been thanked 1 times.
  #1168 (permalink)  
Old 02-10-2011, 09:28 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

Quote:
Originally Posted by [ACL] View Post
modded partition table.

Hotfile.com: One click file hosting: rhod_payload

any brave souls ? just attach the empty imgfs to tinboot and hope the phone gods have mercy..

This is how it looks .. note no imgfs and 0 size in fat like vogue.

Code:
'rhod_payload' has valid boot sector
Partition table:
Partition 0
-----------
 File System:    0x20 (boot)
 Start Sector:   0x00000002
 Total Sectors:  0x0000003e
 Boot indicator: 0x00
 First Head:     0x02
 First Sector:   0x01
 First Track:    0x00
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x00
Partition 1
-----------
 File System:    0x23 (XIP RAM)
 Start Sector:   0x00000040
 Total Sectors:  0x000006c0
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x01
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x1b
Partition 2
-----------
 File System:    0x25 (imgfs)
 Start Sector:   0x00000700
 Total Sectors:  0x00000040
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x1c
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x1c
Partition 3
-----------
 File System:    0x04 (FAT)
 Start Sector:   0x00000740
 Total Sectors:  0x00000000
 Boot indicator: 0x00
 First Head:     0x00
 First Sector:   0x01
 First Track:    0x1d
 Last Head:      0x3f
 Last Sector:    0x01
 Last Track:     0x25d
Geometry: flash has 64 virtual heads

MSFLSH50 header found at offset 0x800
  (0 Reserved Entries, 3 Flash Region Entries)
Flash Region Entry 0:
---------------------
  Region type:            XIP
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0x0000001c -> Size in sectors: 0x00000700
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000000
  -> Bytes per sector:    0x00000800
Flash Region Entry 1:
---------------------
  Region type:            READONLY_FILESYS
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0x00000001 -> Size in sectors: 0x00000040
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000002
  -> Bytes per sector:    0x00000800
Flash Region Entry 2:
---------------------
  Region type:            FILESYS
  Start phys. block:      0x00000000
  Size in phys. blocks:   0x00000000
  Size in log. blocks:    0xffffffff -> Size in sectors: 0xffffffc0
  Sectors per block:      0x00000040
  Bytes per block:        0x00020000
  Compact blocks:         0x00000002
  -> Bytes per sector:    0x00000800
Searching for IMGFS signature...
---
edit: ok tried it and so far no brick.. but cant boot since we dont have lzma support on the kernel. i can work on that but i really wanna test it. We need to put the initrd on a diet. right now its 1.6mb which is too big
Didn't get mine to flash correctly...
Here was how I made it.
Code:
cat xip/$1 >> os.nb.payload
echo "Inserting blank imgfs into payload"
OS-new.nb.payload >> tools/log
echo "Creating os.nb portion of nbh"
tools/nbmerge < os.nb.payload> OS-new.nb
echo "Creating NBH"
wine tools/yang.exe -F ruu_signed.NBH -f OS-new.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE >> tools/log
Ideas?
Reply With Quote
This post has been thanked 1 times.
  #1169 (permalink)  
Old 02-10-2011, 10:30 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 Lmiller1708 View Post
Yes JooJooBee666 from PPCK is looking into this for us.
He thinks the partition start offsets are hard coded.
He will hopefully have something later on in the day.


@ACL,
With your partition table are you able to get the data to stick?
It seems our XIP RAM should be starting out in the same location for both Partition 0 and Partition 1. (Just a guess though)
Cant boot. Moving the imgfs to tinboot put a size restriction on us. Vogue had the same issue so they had to implement lzma compression on the kernel (which we dont have). I can port it over tonight, for now i just need to know if we can shrink down the initrd.gz to around 1.1mb. Harder than i thought. I erased the sbin , modem stuff and logo and still to big. May need to wipe a few symlinks too?

This line is the one causing issues when trying to make the xip with the gz file.

.org XIP_END-0x20000,0xff

The only good news here is that i didnt brick myself with the partition table.
__________________
Reply With Quote
This post has been thanked 1 times.
  #1170 (permalink)  
Old 02-10-2011, 10:36 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 Lmiller1708 View Post
Didn't get mine to flash correctly...
Here was how I made it.
Code:
cat xip/$1 >> os.nb.payload
echo "Inserting blank imgfs into payload"
OS-new.nb.payload >> tools/log
echo "Creating os.nb portion of nbh"
tools/nbmerge < os.nb.payload> OS-new.nb
echo "Creating NBH"
wine tools/yang.exe -F ruu_signed.NBH -f OS-new.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE >> tools/log
Ideas?
This is what im using
Code:
cp $DIRECTORY/tools/rhod_payload os.nb.payload
echo Inserting tinboot into payload
cat xip/$1 >> os.nb.payload
echo Creating os.nb portion of nbh
tools/nbmerge < os.nb.payload > OS-new.nb
echo Creating NBH
wine tools/yang.exe -F ruu_signed.NBH -f OS-new.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE >> $DIRECTORY/tools/log

rm os.nb.payload
rm OS-new.nb
in tinboot change these lines

-.equ XIP_END, 0x0100000
+.equ XIP_END, 0x2ff000

and add to the bottom (i think you alreayd had that)
+ .org XIP_END-0x20000,0xff
+ .incbin "tools/emptyimgfs"
Reply With Quote
This post has been thanked 1 times.
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:11 AM.


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