|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
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.... |
|
||||
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
|
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
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 |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
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. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
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
|
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
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 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 |
|
||||
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
|
|
||||
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
|
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
Jonpry and ACL are working on a fix. Quote:
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!
__________________
|
|
|
|