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
  #1051 (permalink)  
Old 02-04-2011, 03:28 PM
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
Full nand is the only way to go.. you know my old saying ? "give me nand or give me death".. :-p

The other phones are so far behind nand its good if we wipe em out ..

Lets face it. Each build from now on will most likely need tweaking so moving the libs so we dont need to mount bind isnt a bad idea. Plus once the cookers get their hands on our precious code, bam they will release builds like wild fire. It will be up to them to move the modules to the right place. An alternative is to create a thin slice to hold the modules so we can mount bind them that way. But a new partition just for modules? i dunno if thats a good idea.

What about the rc files ? having a directory dedicated to just rc files like the haret rootfs limits us to builds. So we should just do the same as vogue (and every other build) and have the rc in the build itself.

i got so drunk last night and i had to call in sick. So im doing some small changes here and there to help out, but it sounds like you got it all under control. I'll have to commit the links for bin directly instead of the binaries and any patches you want to tinboot itself, let me know.

Also i'm uploading the frx04 now.. i'll post a link later.

Edit: Forgot about the screen calibration. ideas ?.
Great ACL!
Hope to see your frx04, I found my system is not extracting correctly. It was making a folder in the root called androidinstall with my system and data there...

Wish I had more time to work on this and not just hack away here and there... You and Nate are doing a much better job so I will just wait to test!

Glad you had a good time last night! We need to do that every now and then!

For screen calibration can we just add a generic one for now? And then have a program change it from there. I'm pretty sure that's what is done with the Vogue. But I'm not sure of the program just yet...

By the way I was able to get the initramfs working correctly once I extracted the initrd.gz files.

Happy Flashing!
__________________
Reply With Quote
  #1052 (permalink)  
Old 02-04-2011, 09:46 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

Index of /files/xdandroid/

This has the rc in there like the initrd expects it (sysinit.rc)

also i think i moved all the libs there .. forgot.

also you need to rename it :-p
__________________

Last edited by [ACL]; 02-04-2011 at 09:49 PM.
Reply With Quote
This post has been thanked 2 times.
  #1053 (permalink)  
Old 02-05-2011, 12:52 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
Index of /files/xdandroid/

This has the rc in there like the initrd expects it (sysinit.rc)

also i think i moved all the libs there .. forgot.

also you need to rename it :-p
Thanks ACL, I'm able to mount it this way. What command did you use to tar it? Here is what I was using...
Code:
tar -cvzf androidinstall.tar androidinstall/
Also I can't seem to get my data to stick after a reboot, any Ideas?
I was able to get Android to boot with the basic init from the Vogue, but a lot did not work correctly. I have added the code to the init that Nate posted above and some from the rootfs along with some files but I haven't yet got past the boot screen... Still crossing my fingers though...

EDIT: Maybe this for the androidinstall (inside the folder of course)
Code:
tar -cvzf ../androidinstall.tar *
Update: Was able to get it to boot to Andorid, touch screen and buttons all work. But I have no service and it will reboot after ~45 seconds.

Last edited by Lmiller1708; 02-05-2011 at 02:18 AM.
Reply With Quote
  #1054 (permalink)  
Old 02-05-2011, 01:50 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 Lmiller1708 View Post
Thanks ACL, I'm able to mount it this way. What command did you use to tar it? Here is what I was using...
Code:
tar -cvzf androidinstall.tar androidinstall/
Also I can't seem to get my data to stick after a reboot, any Ideas?
I was able to get Android to boot with the basic init from the Vogue, but a lot did not work correctly. I have added the code to the init that Nate posted above and some from the rootfs along with some files but I haven't yet got past the boot screen... Still crossing my fingers though...

EDIT: Maybe this for the androidinstall (inside the folder of course)
Code:
tar -cvzf ../androidinstall.tar *
Update: Was able to get it to boot to Andorid, touch screen and buttons all work. But I have no service and it will reboot after ~45 seconds.
i think you are ahead of me. Ive yet to boot fully off nand. I'm still partially going through the sdcard for the rootfs part.

The initrd from the vogue is good but has to be modded alot still. the /bin/MAKEDEVS needs to be examined because i'm not sure if that matches what we need.

Also the whole setup modem part can be ignored for now.

if you got some logs about the crash, that would help
Reply With Quote
  #1055 (permalink)  
Old 02-05-2011, 02:17 PM
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)
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX03) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Sounds good! I will post some logs in a bit. Was able to get them from the droid explorer.
Any idea why the data isn't sticking?
Reply With Quote
  #1056 (permalink)  
Old 02-05-2011, 02:43 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 Lmiller1708 View Post
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX03) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Sounds good! I will post some logs in a bit. Was able to get them from the droid explorer.
Any idea why the data isn't sticking?
data as in service you mean or wifi? cant really say without logs
Reply With Quote
  #1057 (permalink)  
Old 02-05-2011, 04:22 PM
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)
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX03) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Quote:
Originally Posted by [ACL
]
Quote:
Originally Posted by Lmiller1708 View Post
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX03) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Sounds good! I will post some logs in a bit. Was able to get them from the droid explorer.
Any idea why the data isn't sticking?
data as in service you mean or wifi? cant really say without logs
Nope sorry. Haven't gotten that far yet!
Data as in \data on mtd3.
My system sticks and I can remount it just fine, but data just doesn't... Might be a bit on the logs though, won't be by my laptop for a while.
Reply With Quote
  #1058 (permalink)  
Old 02-05-2011, 06:46 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

Well, I think I have all the modifications done that we need, but I can't build the initrd properly. The sbin folder has the same issue as the bin folder, and when I try to recreate all of the links, the tinboot process tells me that it couldn't find readkey and various other programs.

LZMA sees all of the files as identical so it only stores one copy, but I still think that it would expand to run and take up an insane amount of memory. In any case, I have attached a list of changes that I made in case it helps anyone. I just need to merge that into a working initrd and compile.

Edit: I'm an idiot... Everything is linked to busybox, not /bin/busybox :P
Attached Files
File Type: txt changes.txt (8.7 KB, 13 views) Click for barcode!

Last edited by natemcnutty; 02-05-2011 at 06:56 PM.
Reply With Quote
This post has been thanked 1 times.
  #1059 (permalink)  
Old 02-05-2011, 07:20 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

Wow you guys have been making some killer progress.
Reply With Quote
This post has been thanked 1 times.
  #1060 (permalink)  
Old 02-05-2011, 08:44 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 coolsilver View Post
Wow you guys have been making some killer progress.
The progress has really been made by the Vogue guys. We've just moved a bunch of our stuff into their environment and are trying to make it work.

That being said, I've fixed the sbin folder, but I can't commit until I fix the changes I've made in init. We use a lot of mount --binds which we can no longer do. Also, I had to build the drivers into /system/lib/modules to get it to recognize the modules. I think Vogue might be cooking them into the kernel, but I don't know how you would go about doing that.
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 09:32 PM.


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