the touch panel was installed the correct way, but the screen itself was installed upside down.
I spoke to Dees_Troy, one of the devs of twrp, he didnt know what was wrong, me either, because TWRP has the same code in it as cwm when it comes to flipping the buffer 180 degrees, I checked their graphics.c in the minui folder, the code is almost exactly the same, except they added a few things for the RGB modes. heres is the bit of code in twrp's graphics.c:
Code:
#ifdef BOARD_HAS_FLIPPED_SCREEN
/* flip buffer 180 degrees for devices with physicaly inverted screens */
unsigned int i;
for (i = 1; i < (vi.xres * vi.yres); i++) {
unsigned short tmp = gr_mem_surface.data[i];
gr_mem_surface.data[i] = gr_mem_surface.data[(vi.xres * vi.yres * 2) - i];
gr_mem_surface.data[(vi.xres * vi.yres * 2) - i] = tmp;
}
#endif
and heres the code from my cwm source graphics.c :
Code:
#ifdef BOARD_HAS_FLIPPED_SCREEN
/* flip buffer 180 degrees for devices with physicaly inverted screens */
unsigned int i;
for (i = 1; i < (vi.xres * vi.yres); i++) {
unsigned short tmp = gr_mem_surface.data[i];
gr_mem_surface.data[i] = gr_mem_surface.data[(vi.xres * vi.yres * 2) - i];
gr_mem_surface.data[(vi.xres * vi.yres * 2) - i] = tmp;
}
#endif
notice it's exactly the same... no differences whatsoever? which is why it has me so stumped. ima haveta play with it a bit to see what can be done to it, it's been nagging me since twrp 2.0 came out. and i built twrp for the warp way back then, just never published it since it was upside down, and as shinru said, you hadta press the top of the screen (which was the bottom of the actual screen your looking at) to reboot and such.
[EDIT]
also from what dees_troy said, the actual graphics.c that twrp uses is in the minuitwrp folder of the source. it does have the setting for the flipped screen. Ima play around with it a bit for a while and see what happens, hopefully i can get it working top notch for our warp, but idk. I need to find a good usb cable to use for my computer so i can copy my finished cwm installer, and if it shits on me, I can boot into windows and use fastboot to fix it.