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
  #1401 (permalink)  
Old 03-01-2011, 02:02 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
First off, thanks to you guys who are way smarter then me. I've been following this thread since day one. Anyway, I have spent the last couple of hours running on NAND!!!

It took me a few tries to get up and running. The install-seq.sh file was not mentioned in the frst post. But once I moved that over, all was well. I'm using the files from the 23rd.

Most aspects are working just fine. I have a 400 model on Sprint, and data is not working over the Sprint network. I am getting texts and the phone works. Wifi works great though. A reboot worked fine.

I'm ready to continue testing as required. Booting off NAND was awesome! I can't wait till data is working and all current mods are incorporated into NAND.

Let me know if anyone needs testing done or a custom rom tested for them.

Steve
Yes, data is an issue right now. Bottom line is that xdandroid ril references /bin/pppd which we removed. So in the mean time we will have to create our own ril for nand until frx5 where we can correct the issue on xdandroid. I'm also interested in what cotulla will do for the ril since for the hd2 they made a wrapper for the real ril instead of creating their own. Either way we will pick one of those solutions soon enough.

Jonpry made a new ril but Lmiller reported issues with it. You are can try it if you want. I havent been able to get my env ready to compile the ril.

The other alternative is to either sym link /bin/pppd to /system/bin/pppd or include the file in your own initrd. Choice is yours.
Attached Files
File Type: gz libhtcgeneric-ril.so.gz (29.2 KB, 12 views) Click for barcode!
__________________
Reply With Quote
  #1402 (permalink)  
Old 03-01-2011, 02:07 AM
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 vistazifta View Post
and now for my stupid question being that im using a sprint branded rhod400 unlocked to gsm and i have to change cdma=1 to cdma=0 so gsm will work i probably have to compile a new tiboot right and if so can i just dump it into the nbh that has everything else already
it is all cdma based, so cdma is 1. If you know the Question is stupid, then please refrain from asking it. Come up with "not stupid questions", or chill like the rest of us bro...

Good that your attempting to think, no means to discourage. but try googleing "xdandroid/htc-linux irc logs" or something and read...
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....
Reply With Quote
  #1403 (permalink)  
Old 03-01-2011, 02:24 AM
vistazifta's Avatar
PPCGeeks Regular
Offline
Pocket PC: sprint Touch Pro2, att iPhone 4
Carrier: at&t on both
Location: Lakewood, NJ
 
Join Date: Aug 2009
Posts: 79
Reputation: 85
vistazifta is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to vistazifta Send a message via Yahoo to vistazifta Send a message via Skype™ to vistazifta
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

sorry again acl but when i used an sd only build i used to change it to zero and it worked like a charm but all im asking is if i compile a new tinboot will this work
Reply With Quote
  #1404 (permalink)  
Old 03-01-2011, 03:00 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
Yes, data is an issue right now. Bottom line is that xdandroid ril references /bin/pppd which we removed. So in the mean time we will have to create our own ril for nand until frx5 where we can correct the issue on xdandroid. I'm also interested in what cotulla will do for the ril since for the hd2 they made a wrapper for the real ril instead of creating their own. Either way we will pick one of those solutions soon enough.

Jonpry made a new ril but Lmiller reported issues with it. You are can try it if you want. I havent been able to get my env ready to compile the ril.

The other alternative is to either sym link /bin/pppd to /system/bin/pppd or include the file in your own initrd. Choice is yours.
For now, I'm going to build mine as if we were using the rootfs files just because I want to try to keep all of stinebd's stuff together.

As for the /cache partition, we are creating a partition 1 that we are not using, right? Unless there is some other reason for having this mtdpart: 0x01000000@0x04000000(root)

I would really like to replicate the android environment as closely as possible, so if best practices or common practices have a specific layout, I'd like to go that route. Maybe some day we can get Clockwork Mod working on our stuff and be able to update using that. Maybe even a way to update the kernel without having to flash anything
Reply With Quote
  #1405 (permalink)  
Old 03-01-2011, 03:37 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 natemcnutty View Post
For now, I'm going to build mine as if we were using the rootfs files just because I want to try to keep all of stinebd's stuff together.

As for the /cache partition, we are creating a partition 1 that we are not using, right? Unless there is some other reason for having this mtdpart: 0x01000000@0x04000000(root)

I would really like to replicate the android environment as closely as possible, so if best practices or common practices have a specific layout, I'd like to go that route. Maybe some day we can get Clockwork Mod working on our stuff and be able to update using that. Maybe even a way to update the kernel without having to flash anything
I agree 100 percent.. and this is why you cant use rootfs (since real androids dont)..lol .. Our new layout is welcomed by the team so far and they are exited that we are killing rootfs with a passion. So keep it to double check but lets keep our goal in mind to stick as closely to android.

With that said, the one we arent using is actually supposed to be used for boot. I want to shink this down to 5mb which will hold the new kernels and its backup initrd. I already use this so i know it works. This way you can update without flashing from inside android if you want. Its a developers dream actually. So even if the new kernel is bad, you simply erase the file and the old kernel will still take over without losing any data. This also allows us to use the reboot feature which isnt on xdandroid but is on cyanogen.

I don't see any harm in having a /cache as well, but since we cant use the native android tools to flash yet it will be useless. But in the future we might since Alex is working on his LK boot loader. This will eventually replace tinboot and get us closer to pureness .. So feel free to allocate a bit for that as well if you want. Not sure how big but if we find a good use for it might as well right?.

So cook up the final mtd parts so we can commit. I have some real work to do tonight so couldnt do anything here. damn job i tell you.. eating me up alive..

Also, haret guys reporting some pan display timeout during android use. Anyone experience that? i checked my logs and been running for 30 mins with nothing, so im hesitant to change our code with their fix. This error is in the frame buffer and it happens when you get the sleep of death.. I asked arrgg to check since he has a whacky rhod400 . I cant replicate the issue.

Also did you check to see if the ril i posted worked for you? if not then we need to build our ril until i can get stine to do it.

Edit: Bro actually i need your help since your scripting is top notch. I never got around to finish the other variants for the kb auto install. This is how i detect it on the install script. I need to fill in the rest of the parts but i think you already have that done. We need the 500 in there and i guess might as well throw in those poor gsm bastards for the future.

Code:
if [ "`cat /sys/class/htc_hw/machine_variant`" == "RHOD40000" ];then
    echo "USING EXPERIMENTAL RHOD400 LAYOUT"
    cp -f /system/etc/keymaps/rhod400_microp-keypad.kl /system/etc/keymaps/microp-keypad.kl
    cp -f /system/etc/keymaps/rhod400_microp-keypad.kcm.bin /system/etc/keymaps/microp-keypad.kcm.bin
    cp -f /system/etc/keymaps/rhod400_navi_pad.kl /system/etc/keymaps/raph_navi_pad.kl 
else
    echo "Add other variants here."
fi
    cp -af /system/etc/keymaps/qwerty.kcm.bin /init.etc/keymaps/qwerty.kl /etc/keymaps/

Last edited by [ACL]; 03-01-2011 at 03:46 AM.
Reply With Quote
  #1406 (permalink)  
Old 03-01-2011, 03:40 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 vistazifta View Post
sorry again acl but when i used an sd only build i used to change it to zero and it worked like a charm but all im asking is if i compile a new tinboot will this work
To be honest i never actually used that or even know how to fix it. You will need to build your own kernel and tinboot for that so you can set the cmdline line. But my next patch will prob wipe that out which i guess is bad since there are people who use gsm on their rhod 400s? i need to rethink this
Reply With Quote
  #1407 (permalink)  
Old 03-01-2011, 04:26 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
I agree 100 percent.. and this is why you cant use rootfs (since real androids dont)..lol .. Our new layout is welcomed by the team so far and they are exited that we are killing rootfs with a passion. So keep it to double check but lets keep our goal in mind to stick as closely to android.

With that said, the one we arent using is actually supposed to be used for boot. I want to shink this down to 5mb which will hold the new kernels and its backup initrd. I already use this so i know it works. This way you can update without flashing from inside android if you want. Its a developers dream actually. So even if the new kernel is bad, you simply erase the file and the old kernel will still take over without losing any data. This also allows us to use the reboot feature which isnt on xdandroid but is on cyanogen.

I don't see any harm in having a /cache as well, but since we cant use the native android tools to flash yet it will be useless. But in the future we might since Alex is working on his LK boot loader. This will eventually replace tinboot and get us closer to pureness .. So feel free to allocate a bit for that as well if you want. Not sure how big but if we find a good use for it might as well right?.

So cook up the final mtd parts so we can commit. I have some real work to do tonight so couldnt do anything here. damn job i tell you.. eating me up alive..

Also, haret guys reporting some pan display timeout during android use. Anyone experience that? i checked my logs and been running for 30 mins with nothing, so im hesitant to change our code with their fix. This error is in the frame buffer and it happens when you get the sleep of death.. I asked arrgg to check since he has a whacky rhod400 . I cant replicate the issue.

Also did you check to see if the ril i posted worked for you? if not then we need to build our ril until i can get stine to do it.

Edit: Bro actually i need your help since your scripting is top notch. I never got around to finish the other variants for the kb auto install. This is how i detect it on the install script. I need to fill in the rest of the parts but i think you already have that done. We need the 500 in there and i guess might as well throw in those poor gsm bastards for the future.

Code:
if [ "`cat /sys/class/htc_hw/machine_variant`" == "RHOD40000" ];then
    echo "USING EXPERIMENTAL RHOD400 LAYOUT"
    cp -f /system/etc/keymaps/rhod400_microp-keypad.kl /system/etc/keymaps/microp-keypad.kl
    cp -f /system/etc/keymaps/rhod400_microp-keypad.kcm.bin /system/etc/keymaps/microp-keypad.kcm.bin
    cp -f /system/etc/keymaps/rhod400_navi_pad.kl /system/etc/keymaps/raph_navi_pad.kl 
else
    echo "Add other variants here."
fi
    cp -af /system/etc/keymaps/qwerty.kcm.bin /init.etc/keymaps/qwerty.kl /etc/keymaps/
That is great news. I cloned cLK on git to play with a bit, but haven't had a chance to get back to it. Hopefully Alex has seen that over in the HD2 area of XDA.

For the code, this is what you want:
Code:
LAYOUT=`/bin/grep ".*0*" /sys/class/htc_hw/machine_variant`
if [ $LAYOUT = "RHOD30000" ] ; then
    echo "USING EXPERIMENTAL TILT2 LAYOUT"
        cp -f /init.etc/keymaps/tilt2_microp-keypad.kl /etc/keymaps/microp-keypad.kl
    cp -f /init.etc/keymaps/tilt2_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
    cp -f /init.etc/keymaps/tilt2_navi_pad.kl /etc/keymaps/raph_navi_pad.kl
elif [ $LAYOUT = "RHOD21000" ] ; then
    echo "USING EXPERIMENTAL RHOD210 LAYOUT"
        cp -f /init.etc/keymaps/rhod210_microp-keypad.kl /etc/keymaps/microp-keypad.kl
    cp -f /init.etc/keymaps/rhod210_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
    cp -f /init.etc/keymaps/rhod210_navi_pad.kl /etc/keymaps/raph_navi_pad.kl
elif [ $LAYOUT = "RHOD40000" ] ; then
        echo "USING EXPERIMENTAL RHOD400 LAYOUT"
        cp -f /init.etc/keymaps/rhod400_microp-keypad.kl /etc/keymaps/microp-keypad.kl
        cp -f /init.etc/keymaps/rhod400_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
        #cp -f /init.etc/keymaps/rhod400_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example
elif [ $LAYOUT = "RHOD50000" ] ; then
        echo "USING EXPERIMENTAL RHOD500 LAYOUT"
        cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl
        cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
        #cp -f /init.etc/keymaps/rhod500_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example
else
        echo "DEFAULTING TO RHOD500 LAYOUT BECAUSE WE CAN'T DETERMINE YOUR MODEL TYPE AND NO .KB FILE EXISTS IN ANDBOOT FOLDER ON THE SD CARD!"
        cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl
        cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
        #cp -f /init.etc/keymaps/rhod500_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example
fi
Note: We never made some of the commits from Haret, so we don't want the navi_pad stuff or it messes up our buttons.

Also, no need for the following stuff since we moved these files into system:
Code:
cp -af /init.etc/keymaps/qwerty.kcm.bin /init.etc/keymaps/qwerty.kl /etc/keymaps/
mount --bind /etc/keymaps /system/usr/keychars
mount --bind /etc/keymaps /system/usr/keylayout
It seems that the init.android from our rootfs requires ueventd and ueventd.rc to be included. I have it to the point where the boot animation starts, but it just goes on forever and never finishes loading. Not really sure how to diagnose that without having ADB. I guess I could upload the files for someone else to take a look at it, but that seems like a lot of effort :P
Reply With Quote
  #1408 (permalink)  
Old 03-01-2011, 04:36 AM
vistazifta's Avatar
PPCGeeks Regular
Offline
Pocket PC: sprint Touch Pro2, att iPhone 4
Carrier: at&t on both
Location: Lakewood, NJ
 
Join Date: Aug 2009
Posts: 79
Reputation: 85
vistazifta is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to vistazifta Send a message via Yahoo to vistazifta Send a message via Skype™ to vistazifta
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

thanks i appreciate all ur help. so if u guys do leave in all the gsm stuff for the poor ppl like me on at&t is there a way to force cdma=0 on its own if it detects a sim card as most sprint and verizon users dumped their sim cards ages ago anyhow and being that its a second line im not afraid to eff it up so im playing with the build on page one and im getting weird reboots and it usually loops a couple times on boot but im gonna format my sd card and and put in a fresh copy of sys.ext2 and build a new data.img ill c if it help and will get back to u guys
Reply With Quote
  #1409 (permalink)  
Old 03-01-2011, 05:35 AM
vistazifta's Avatar
PPCGeeks Regular
Offline
Pocket PC: sprint Touch Pro2, att iPhone 4
Carrier: at&t on both
Location: Lakewood, NJ
 
Join Date: Aug 2009
Posts: 79
Reputation: 85
vistazifta is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to vistazifta Send a message via Yahoo to vistazifta Send a message via Skype™ to vistazifta
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

more feedback for u guys i did a fresh format and install heres what i got while simcard was inserted it would have a boot-loop 5-6 times then it would crash in the console. finally i said ok lets c what happens if i take out the sim and it only looped once and built a data.img nicely after that didnt try rebooting it yet but so far 30 minutes no crashes problem is that when trying to connect to wifi (i am using connectify as i forgot the password to my router and im to lazy to reset it and ad hoc doesnt work automatically on android maybe u can play with it if u guys r bored ever) it keeps saying authenticating and the disconnecting kind of in a "loop" lol. android itself otherwise is relatively slow. u guys are all running newer builds that r only distributed via pm though and i was told to wait for latest build so i dont really know whats working and whats not. ill continue playing with it so just ask if u want me to give more feedback if thats what u want but ill assume that some stuff r working better on latest build forget about gsm for now once the hard work is done u can always do a small gsm-only rom ill have to give it up use another fone will keep this for testing only if thats what u guys want and i call it giving it up for a few so thr bulk can get their goodies
Reply With Quote
  #1410 (permalink)  
Old 03-01-2011, 08:15 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 vistazifta View Post
hey steve i know im going to sound stupid and all but did u set up an apn that says sprint and #777 cuz without it aint no sprint user gettin data almost everyone knows it if they used tiad8's roms or anything that boots thru haret console basically
No. Data will not work by doing that. It's the RIL that is not working, it's supposed to be in the bin folder but we have it in the /system/bin. (So it can be upgraded with out re flashing.
Jonpry and ACL are working on a fix.

Quote:
Originally Posted by vistazifta View Post
and now for my stupid question being that im using a sprint branded rhod400 unlocked to gsm and i have to change cdma=1 to cdma=0 so gsm will work i probably have to compile a new tiboot right and if so can i just dump it into the nbh that has everything else already
You will not boot with your SIM card... Period.
You will not need to change anything in Tinboot either.

Edit: Well I don't know what happened there but... I guess these were already on the other page... Darn refresh!
__________________
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 06:13 PM.


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