9742 MBR problems and such post here.

Shini

Member
Jun 5, 2012
60
18
There seems to be many different problems going on with you 9742 guys, your only problem is inverted axis, while others have upside screens, and others have other problems, your problem has little to due with boot.img seeing you have touch screen, that's what the boot.img is doing, so you have correct boot.img.

looking at both boot.img the difference is insmod /system/vendor/modules/gt8110_2plus1.ko insmod /system/vendor/modules/gt2005-2015.ko, we could force load them on your tablet might fix the problem might not, problem is you might not know what to do if anything goes wrong, if anything goes wrong. if i had the tablet here I could fix it without any trouble, but trying to test and trouble shoot via second party is very hard.
I understand you. A I remember all guys that found problem in the 9742-8 screen was related to the touchscreen. Unfortunately I'm not an expert to solve it easily =( I really don't know what to do now that's why I'm counting on you guys.

Porting Android to various hardware. () they say that insmode is related to touchscreen here.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
There is nothing left to try, that I can think of, you are using the correct boot.img and system for your tablet, as soon as you switched you lost touch screen support, you might want to use livesuite again no doubt it caused the problems perhaps it can fix them as well. Nothing I can think of could cause a mirror effect.
 

Shini

Member
Jun 5, 2012
60
18
There is nothing left to try, that I can think of, you are using the correct boot.img and system for your tablet, as soon as you switched you lost touch screen support, you might want to use livesuite again no doubt it caused the problems perhaps it can fix them as well. Nothing I can think of could cause a mirror effect.
No problem Vampire, thank you anyway. Strange what happened:
I have installed the Custom Rom for 9742-8 in my tablet and the touchscreen sensor inverted. I overwrite the custom firmware with the Stock rom created by steev based on Reddeer's system dump. The touchscreen problem continued.
The only thing I can think of it:
-The hardware of my 9748 is different from reddeer's
-There's something in the custom rom that isn't in the stock rom.
 

Shini

Member
Jun 5, 2012
60
18
This can show you guys the problem, if someone is facing the same problem please tell us...
 
Last edited by a moderator:

Shini

Member
Jun 5, 2012
60
18
There seems to be many different problems going on with you 9742 guys, your only problem is inverted axis, while others have upside screens, and others have other problems, your problem has little to due with boot.img seeing you have touch screen, that's what the boot.img is doing, so you have correct boot.img.

looking at both boot.img the difference is insmod /system/vendor/modules/gt8110_2plus1.ko insmod /system/vendor/modules/gt2005-2015.ko, we could force load them on your tablet might fix the problem might not, problem is you might not know what to do if anything goes wrong, if anything goes wrong. if i had the tablet here I could fix it without any trouble, but trying to test and trouble shoot via second party is very hard.
Vampire, I think that the problem are the drivers:

[ROM]android 4.0.3 firmware for Dropad A10 Butterfly

I'll try to extract and put the file there and see if it solves my problem.
 

Shini

Member
Jun 5, 2012
60
18
Guys, I have discovered two things:
Camera is not working and Touchscreen is messed. I have looked in the ini.sun4i.rc file and found that the drivers there are the wrong drivers. The actual driver for the touchscreen is in the directory /system/vendor/module/gt811_2plus1.ko and the driver for the camera is the /system/vendor/module/gt2005.ko.
The right drivers are gt811_2plus1.ko and gt8110_2plus1.ko (touchscreen) and gt2005-2015.ko (camera). I have only found the correct drivers for touchscreen (which is what I want to fix) but not for the camera. I'm trying to edit and overwrite the ini.sun4i.rc file by filemanager but somehow after rebooting Android it does some kind of rollback.
Do you guys have any idea of how I can overwrite the ini.sun4i.rc file?
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Guys, I have discovered two things:
Camera is not working and Touchscreen is messed. I have looked in the ini.sun4i.rc file and found that the drivers there are the wrong drivers. The actual driver for the touchscreen is in the directory /system/vendor/module/gt811_2plus1.ko and the driver for the camera is the /system/vendor/module/gt2005.ko.
The right drivers are gt811_2plus1.ko and gt8110_2plus1.ko (touchscreen) and gt2005-2015.ko (camera). I have only found the correct drivers for touchscreen (which is what I want to fix) but not for the camera. I'm trying to edit and overwrite the ini.sun4i.rc file by filemanager but somehow after rebooting Android it does some kind of rollback.
Do you guys have any idea of how I can overwrite the ini.sun4i.rc file?

You have to split the boot.img to change the file, then repack and flash boot.img.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Before you make any changes make sure you place the modules where they go.

then I gave you the commands to test to make sure they work.

adb shell

insmod /system/vendor/modules/gt8110_2plus1.ko
insmod /system/vendor/modules/gt2005-2015.ko

Now see if touch screen and camera works.
 

Shini

Member
Jun 5, 2012
60
18
Before you make any changes make sure you place the modules where they go.

then I gave you the commands to test to make sure they work.

adb shell

insmod /system/vendor/modules/gt8110_2plus1.ko
insmod /system/vendor/modules/gt2005-2015.ko

Now see if touch screen and camera works.
I have tried but it says that the device or resource is busy.
I have used cygwin to extract the boot.img. I just don't know how to flash boot.img into the Tablet.
 

Shini

Member
Jun 5, 2012
60
18
did they load?

adb shell
lsmod

No

Waiting for device...
255|root@android:/ # insmod /system/vendor/modules/gt8110_2plus1.ko
insmod /system/vendor/modules/gt8110_2plus1.ko
insmod: init_module '/system/vendor/modules/gt8110_2plus1.ko' failed (Device or
resource busy)
255|root@android:/ # lsmod
lsmod
dhd 212264 0 - Live 0xbf0a7000
rtl8150 8910 0 - Live 0xbf0a0000
mcs7830 6557 0 - Live 0xbf09a000
qf9700 8513 0 - Live 0xbf093000
asix 22500 0 - Live 0xbf088000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf07c000
mma7660 5671 0 - Live 0xbf076000
sun4i_csi0 27097 0 - Live 0xbf06b000
gt2005 15048 1 - Live 0xbf063000
gc0308 15303 1 - Live 0xbf05b000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf056000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf04c000
mali 130083 8 - Live 0xbf01f000
ump 42162 11 mali, Live 0xbf00e000
gt801_2plus1 22433 0 - Live 0xbf004000
sun4i_vibrator 2278 0 - Live 0xbf000000
root@android:/ #
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
says busy cause it's already loaded
gt801_2plus1 22433 0 - Live 0xbf004000

so now load
insmod /system/vendor/modules/gt2005-2015.ko

and see if you camera works.
 
Last edited:

Shini

Member
Jun 5, 2012
60
18
says busy cause it's already loaded
gt801_2plus1 22433 0 - Live 0xbf004000
But how can I load the gt8110_2plus1 since it loaded the gt801? There are two drivers that are loaded in the original ini.sun4i.rc, the actual gt801_2plus1 and gt8110_2plus1. I think that must be only one touchscreen driver (the gt8110_2plus1). It's loading the wrong driver, no?

Maybe I can rename the 8110 to 801 since it's in the ini.sun4i.rc.
 

Shini

Member
Jun 5, 2012
60
18
Original ini.sun4i.rc:


#insmod key & tp driver
insmod /system/vendor/modules/gt801_2plus1.ko
insmod /system/vendor/modules/gt8110_2plus1.ko
# insmod /system/vendor/modules/sun4i-keyboard.ko


# insmod mali driver
insmod /system/vendor/modules/ump.ko
insmod /system/vendor/modules/mali.ko


#csi module
insmod /system/vendor/modules/videobuf-core.ko
insmod /system/vendor/modules/videobuf-dma-contig.ko
insmod /system/vendor/modules/gc0308.ko
insmod /system/vendor/modules/gt2005-2015.ko
# insmod /system/vendor/modules/sun4i_csi1.ko
insmod /system/vendor/modules/sun4i_csi0.ko


Actual:

#insmod key & tp driver
insmod /system/vendor/modules/gt801_2plus1.ko
# insmod /system/vendor/modules/sun4i-keyboard.ko


# insmod mali driver
insmod /system/vendor/modules/ump.ko
insmod /system/vendor/modules/mali.ko


#csi module
insmod /system/vendor/modules/videobuf-core.ko
insmod /system/vendor/modules/videobuf-dma-contig.ko
insmod /system/vendor/modules/gc0308.ko
insmod /system/vendor/modules/gt2005.ko
# insmod /system/vendor/modules/sun4i_csi1.ko
insmod /system/vendor/modules/sun4i_csi0.ko




I don't know why there are 2 touchscreen drivers in the original sun4i.rc
 
Top