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
  #1141 (permalink)  
Old 02-09-2011, 04:55 PM
MassStash's Avatar
Regular 'Geeker
Offline
Pocket PC: Rhodium
Carrier: Sprint
Location: Il
 
Join Date: Oct 2008
Posts: 437
Reputation: 285
MassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regular
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
damn.. you look hungry.. like you wanna test. sounds like you are ready to modify some partition tables..
lol you have noooo idea. day off so i wanna put it to use on this but i fear i lack a slight knowledge of that shit.... please point me to some stuff n i'll try n go buck wiiild on it haha
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....
Reply With Quote
  #1142 (permalink)  
Old 02-09-2011, 04:59 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 MassStash View Post
lol you have noooo idea. day off so i wanna put it to use on this but i fear i lack a slight knowledge of that shit.... please point me to some stuff n i'll try n go buck wiiild on it haha
well i dunno if anyone knows how to modify our os.nb.payload file. Do you know how to modd it ?
__________________
Reply With Quote
  #1143 (permalink)  
Old 02-09-2011, 05:38 PM
MassStash's Avatar
Regular 'Geeker
Offline
Pocket PC: Rhodium
Carrier: Sprint
Location: Il
 
Join Date: Oct 2008
Posts: 437
Reputation: 285
MassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regular
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
well i dunno if anyone knows how to modify our os.nb.payload file. Do you know how to modd it ?
this might help someone other than me, but it's easy to find. yet on the other hand, that could be backwards lol -= How to build your own WM6 Big Storage OS.nb/XIP on Hermes =- - xda-developers ::currently reading::

as i feared, i'm behind the curve on this one...

Last edited by MassStash; 02-09-2011 at 06:03 PM.
Reply With Quote
  #1144 (permalink)  
Old 02-09-2011, 06:40 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 MassStash View Post
this might help someone other than me, but it's easy to find. yet on the other hand, that could be backwards lol -= How to build your own WM6 Big Storage OS.nb/XIP on Hermes =- - xda-developers ::currently reading::

as i feared, i'm behind the curve on this one...
you got a head start.. im still at work so by the time i even touch this you will be a master..
Reply With Quote
  #1145 (permalink)  
Old 02-09-2011, 06:59 PM
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
well i dunno if anyone knows how to modify our os.nb.payload file. Do you know how to modd it ?
Why would we mod it? Vogue just renames their partition table to os.nb.payload, then cat tinboot with os.nb.payload. The tinboot is the XIP, and the os.nb.payload is what would normally contain the OS files. We don't have any OS files contained in the payload, right? We also don't need to merge the empty imgfs if we incbin it in using Tinboot.S.

I would seriously consider trying this. Generate the XIP using our makexip script, then use the vogue's partition layout and blank imgfs to do the NBH:

Code:
cp partition_table output.nb.payload
# rhod500 here is our output from makexip.sh
cat rhod500 >> output.nb.payload
# we still use wine, but we could comment out and use their nbmerge instead 
# wine /usr/share/LinuxRomKitchen/NBMerge.exe -kaiser output.nb
./nbmerge < output.nb.payload > output.nb
yang -F RHODIMG.NBH -f output.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE
Reply With Quote
  #1146 (permalink)  
Old 02-09-2011, 07:12 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
Why would we mod it? Vogue just renames their partition table to os.nb.payload, then cat tinboot with os.nb.payload. The tinboot is the XIP, and the os.nb.payload is what would normally contain the OS files. We don't have any OS files contained in the payload, right? We also don't need to merge the empty imgfs if we incbin it in using Tinboot.S.

I would seriously consider trying this. Generate the XIP using our makexip script, then use the vogue's partition layout and blank imgfs to do the NBH:

Code:
cp partition_table output.nb.payload
# rhod500 here is our output from makexip.sh
cat rhod500 >> output.nb.payload
# we still use wine, but we could comment out and use their nbmerge instead 
# wine /usr/share/LinuxRomKitchen/NBMerge.exe -kaiser output.nb
./nbmerge < output.nb.payload > output.nb
yang -F RHODIMG.NBH -f output.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE
thats the confusing part. their partition table has no imgfs while ours does. So how do we change that? thats where i'm confused as to if we need to mod it or just create a new one from scratch.

So you want to just use the vogue partition table and imgfs ? thats ballsy.. do it.. lol
Reply With Quote
  #1147 (permalink)  
Old 02-09-2011, 07:28 PM
MassStash's Avatar
Regular 'Geeker
Offline
Pocket PC: Rhodium
Carrier: Sprint
Location: Il
 
Join Date: Oct 2008
Posts: 437
Reputation: 285
MassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I think that's wat he's getting at

Sent from my rhod400 using Tapatalk
Reply With Quote
  #1148 (permalink)  
Old 02-09-2011, 07:29 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 MassStash View Post
I think that's wat he's getting at

Sent from my rhod400 using Tapatalk
you do it !!! .. do it !!!
Reply With Quote
  #1149 (permalink)  
Old 02-09-2011, 07:42 PM
coolsilver's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Oct 2007
Posts: 233
Reputation: 125
coolsilver is keeping up the good workcoolsilver 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

Android is based off linux. I would figure however the imgfs is mounted it is some subset that is eventually merged into the full disk structure on boot.

I'd say you could setup the system and rootfs in the same partition and some how mount the rest as part of it.

More or less how /data could be on a separate partition but otherwise doesn't matter once it is mounted.

Not all sure how it all fits together but has to be a logical fit.
Reply With Quote
  #1150 (permalink)  
Old 02-09-2011, 08:14 PM
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
thats the confusing part. their partition table has no imgfs while ours does. So how do we change that? thats where i'm confused as to if we need to mod it or just create a new one from scratch.

So you want to just use the vogue partition table and imgfs ? thats ballsy.. do it.. lol
they are just using a blank imgfs which they are including at the end of tinboot:
Code:
kernel:
        .incbin "zImage"
initrd:
        .incbin    "initrd.lzma"
        .align
fin:
        .org XIP_END-0x20000,0xff
        .incbin "emptyimgfs"
I'll break down their imgfs and compare it with ours. I'll also dig a little deeper into the os.payload, but I really don't think that part matters for much of anything since the XIP is what we care about (since it contains the tinboot code).

I'll gladly try flashing the vogue's partition table and blank imgfs like they do it. Like I said, my phone is fairly useless with the USB being broken. I have to keep it on a charger almost all day long because the pins are broken inside keeping the current flowing through the USB all day long...

EDIT: I'm retarded

Now I just have to figure out the difference between the partition table from Vogue and our os.nb.payload file. I believe that is the only difference between what we are doing and what they are doing. And like DZO said, they had to use a tiny partition table to only use one cell. Seems we should be able to do the same thing, so I'm going to try it.

Last edited by natemcnutty; 02-10-2011 at 01:54 AM.
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:04 AM.


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