[ROM] [Coby MID1042] Alien Droid (Advanced GUI customization) [11.18.12]

whread

Member
Apr 15, 2013
61
3
root@android:/ # lsmod
dhd 211762 0 - Live 0xbf112000
mma7660 5671 0 - Live 0xbf0c9000
rtl8150 8910 0 - Live 0xbf0c2000
mcs7830 6557 0 - Live 0xbf0bc000
qf9700 8513 0 - Live 0xbf0b5000
asix 22500 0 - Live 0xbf0aa000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf09e000
sun4i_csi0 26905 0 - Live 0xbf093000
hi704 15298 0 - Live 0xbf08b000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf086000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf07c000
mali 130163 10 - Live 0xbf04f000
ump 42074 11 mali, Live 0xbf03e000
ft5x_ts 41630 0 - Live 0xbf027000
tun 13827 0 - Live 0xbf01f000
uinput 6483 0 - Live 0xbf01a000
hid_sony 2231 0 - Live 0xbf016000
pl2303 11214 0 - Live 0xbf00f000
cp210x 10618 0 - Live 0xbf008000
btusb 13904 0 - Live 0xbf000000
root@android:/ #

post yours

Ok I figured it out - ran lsmod (mod in UNIX - should have caught that one) terminal editor and got close the same format as yours - the modules as in /proc/modules has the same information as the copy and paste I did in the previous post - this is not a coby rom it is for the PROTAB2XXL (4)

I am a stunod who is trying to learn something so I will say this - the WiFi modules I have been talking about are in the /vendor/modules - you can see some of the hardware the ROM is prepared to deal with in there

the contents of /proc/modules has been changing with each ROM - still the tablet works?????????????
 

whread

Member
Apr 15, 2013
61
3
$vendor modules.jpg

vendor/modules from coby system
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Ok I figured it out - ran lsmod (mod in UNIX - should have caught that one) terminal editor and got close the same format as yours - the modules as in /proc/modules has the same information as the copy and paste I did in the previous post - this is not a coby rom it is for the PROTAB2XXL (4)

I am a stunod who is trying to learn something so I will say this - the WiFi modules I have been talking about are in the /vendor/modules - you can see some of the hardware the ROM is prepared to deal with in there

the contents of /proc/modules has been changing with each ROM - still the tablet works?????????????



I don't understand your question, one can place modules from any tablet in /system/vendor/modules or really any where in a rom, doesn't have to be in that directory, as long as kernel knows where they are. Wifi module's path are hard coded or built into the hardware lib, so once you turn on wifi it will only load the wifi modules that's path is hard coded into the lib, that being said right now alien droid, will only load dhd wifi modules, nothing you can do to change that other than switch hardware lib, once hardware lib is switched. Only wifi modules hard coded in that hardware lib will be loaded.

Say you add your hardware lib to alien droid rom, at that point any time wifi is turned on only your wifi modules will be loaded, now if I install the rom that has your harware lib and turn on wifi, the modules for your wifi will load, this causes my tablet to lock up. freeze crash and no wifi. you think when the wifi is turned on the correct modules for correct tablet should or would load, this isn't the case as there is no control over which modules get loaded other than via hardware lib.

now we can write a script to change this via terminal, then we get into another situation each kernel on boot loads predetermined modules, if we set the kernel to load all know modules we get overlap, meaning loaded to many modules for same tasks.

This overlap will cause a lot of problems, ranging from no wifi, to no touch screen, to no boot. if you flash enough roms or livesuite images you can experience most of these, only solution is to reduce the modules that are loaded on boot, well once you do that, you only have certain versions of a tablet that work on certain roms.

You did notice there where three versions of 1042 livesuite images, each effected your tablet a different way, had it been possible to make just one livesuite image to cover all the tablets, the author wouldn't have made three of them.
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
rtl8150 9913 0 - Live 0x00000000
mcs7830 7396 0 - Live 0x00000000
qf9700 9353 0 - Live 0x00000000
asix 24267 0 - Live 0x00000000
sun4i_csi0 31874 0 - Live 0x00000000
gt2005 17178 0 - Live 0x00000000
gc0308 14647 1 - Live 0x00000000
videobuf_dma_contig 5979 1 sun4i_csi0, Live 0x00000000
videobuf_core 19095 2 sun4i_csi0,videobuf_dma_contig, Live 0x00000000
bma250 8026 0 - Live 0x00000000
cedarx 12607 0 - Live 0x00000000
mali 137027 28 - Live 0x00000000
ump 34635 37 mali, Live 0x00000000
ft5x_ts 49150 0 - Live 0x00000000
nand 109849 8 - Live 0x00000000



I am not running LINUX here so I just copied the file

run command from adb and post output from what ever rom gives you wifi. I see no wifi module loaded in the above post.
You can see my wifi module is loaded, dhd is what all older coby allwinners use.
 
Last edited:

whread

Member
Apr 15, 2013
61
3
questions is - why does my particular tablet still run w/o veerything showing up in the proc/modules ie. the WiFi ?

got it on you can put it anywhere - good to follow convention tho

got it on the libraries - could a person not write say a 1042 ROM that uses external parts to make the ROM compatible with the specific hardware? The ROM has all the parts that do not change and the other part (like coby1042v1, coby1042v1, coby1042v1, coby1042v1, coby1042v1) has the parts that are specific to the 1042 being flashed.

got it on the scrpit written on or ran from the terminal - could a person write a script that say tests each module looks at the flag to see if it worked or not then only load the modules that worked?

I did also think that having more than one device driver for a piece of hardware would not produce good results. Thanx for verifying that.

For sure I experienced everything you mentions about flashing enough ROMs and a lot more.

did notice that there were 3, I counted them! - are you sure that those 1042 IMGs are actually what they ship with? it would seem there are other ways to do this, at least from a dash of my own previous experience with a few of the equipment manufactures and have a very good source of rock solid, current information from AMD. On the other hand from the tiny bits I know Android has been built in LINUX&C++&JAVA and perhaps others so it well may have value added features which cause unpredictable interactions - you probably can tell me about this

here's proc/modules with sun4i_crane_mid1042_120701(8GB)V1 in it:
rtl8150 8910 0 - Live 0xbf09d000
mcs7830 6557 0 - Live 0xbf097000
qf9700 8513 0 - Live 0xbf090000
asix 22500 0 - Live 0xbf085000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf079000
mma7660 5671 0 - Live 0xbf073000
sun4i_csi0 26905 0 - Live 0xbf068000
gc0308 15303 1 - Live 0xbf060000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf05b000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf051000
mali 130099 8 - Live 0xbf024000
ump 42022 11 mali, Live 0xbf013000
ft5x_ts 41764 0 - Live 0xbf004000
sun4i_vibrator 2278 0 - Live 0xbf000000

: here's the truly odd part even tho the proc/modules indicates more or less loaded the tablet works, has WiFi et. c. - what's up with that? fallback to lower level processes?


Thank-You very much for your patience.
 

whread

Member
Apr 15, 2013
61
3
ran the command last night - produces the virtually the same result as copy and paste

did not see your last post but may have answered it in my post just prior to this one

if not how can i demonstrate WiFi is on despite proc/modules? does proc/modules change if say WiFi is on or off? Do USB WiFi dongles show up in proc/modules?
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
ran the command last night - produces the virtually the same result as copy and paste

did not see your last post but may have answered it in my post just prior to this one

if not how can i demonstrate WiFi is on despite proc/modules? does proc/modules change if say WiFi is on or off? Do USB WiFi dongles show up in proc/modules?

If wifi module isn't loaded you can't scan for wifi access points, if you see wifi access points your module is loaded.
In your lsmod you posted you have no wifi module loaded. Post a lsmod with wifi working, so we can see the name of your wifi module.

Sent from my SPH-D710 using Android Phone
 

whread

Member
Apr 15, 2013
61
3
If wifi module isn't loaded you can't scan for wifi access points, if you see wifi access points your module is loaded.
In your lsmod you posted you have no wifi module loaded. Post a lsmod with wifi working, so we can see the name of your wifi module.

Sent from my SPH-D710 using Android Phone

Doing some stuff for my wife so back and forth might cause delays

OK on the "Post a lsmod with wifi working" but have to load ROM that lets me have WiFi and I suppose I have to turn it on as indicated by your "if you see wifi access points your module is loaded" to be able to see it in the proc/modules - just in case I get the proc/modules when I am connected

Will use the Po_ROM_Pompero_JB_1_0 ROM as that one runs ok on mine but crashes your on reboot

Also - my 1042 connects very rapidly using WEP but hangs on when getting the address on WPA - quite different than yours or perhaps I misread your post on WEP
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Yes mine doesn't like wep connects fast to cell phone wpa. Yes use what ever rom that enables wifi, so we can see the name of loaded module.
 

whread

Member
Apr 15, 2013
61
3
If wifi module isn't loaded you can't scan for wifi access points, if you see wifi access points your module is loaded.
In your lsmod you posted you have no wifi module loaded. Post a lsmod with wifi working, so we can see the name of your wifi module.

Sent from my SPH-D710 using Android Phone

No USB WiFi Module

8192cu 611583 0 - Live 0x00000000
rtl8150 9913 0 - Live 0x00000000
mcs7830 7396 0 - Live 0x00000000
qf9700 9353 0 - Live 0x00000000
asix 24267 0 - Live 0x00000000
sun4i_csi0 31874 0 - Live 0x00000000
gt2005 17178 0 - Live 0x00000000
gc0308 14647 1 - Live 0x00000000
videobuf_dma_contig 5979 1 sun4i_csi0, Live 0x00000000
videobuf_core 19095 2 sun4i_csi0,videobuf_dma_contig, Live 0x00000000
bma250 8026 0 - Live 0x00000000
cedarx 12607 0 - Live 0x00000000
mali 137027 10 - Live 0x00000000
ump 34635 19 mali, Live 0x00000000
ft5x_ts 49150 0 - Live 0x00000000
nand 109849 8 - Live 0x00000000
 
Last edited:

whread

Member
Apr 15, 2013
61
3
If wifi module isn't loaded you can't scan for wifi access points, if you see wifi access points your module is loaded.
In your lsmod you posted you have no wifi module loaded. Post a lsmod with wifi working, so we can see the name of your wifi module.

Sent from my SPH-D710 using Android Phone

with USB WiFi dongle in

8192cu 611583 0 - Live 0x00000000
rtl8150 9913 0 - Live 0x00000000
mcs7830 7396 0 - Live 0x00000000
qf9700 9353 0 - Live 0x00000000
asix 24267 0 - Live 0x00000000
sun4i_csi0 31874 0 - Live 0x00000000
gt2005 17178 0 - Live 0x00000000
gc0308 14647 1 - Live 0x00000000
videobuf_dma_contig 5979 1 sun4i_csi0, Live 0x00000000
videobuf_core 19095 2 sun4i_csi0,videobuf_dma_contig, Live 0x00000000
bma250 8026 0 - Live 0x00000000
cedarx 12607 0 - Live 0x00000000
mali 137027 12 - Live 0x00000000
ump 34635 19 mali, Live 0x00000000
ft5x_ts 49150 0 - Live 0x00000000
nand 109849 8 - Live 0x00000000
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
To get your correct firmware, you need someone to upload a dump from a 1042 that lsmod shows the 8192 module.

Sent from my SPH-D710 using Android Phone
 

whread

Member
Apr 15, 2013
61
3
$Photo0176.jpg


I took out the 2 screws on the side with the connectors, used a guitar pick inserted between the small USB connector and the memory card slot, when I got the back cover starting to come loose I used the guitar pick to loosen the top side, then the speaker side, then the bottom side - I was very gentle and went very slowly

*********I am not telling anyone to do this - I am reporting how I dissassembled my MID1042 8********
*********I am telling you DO NOT DO THIS*******
 

whread

Member
Apr 15, 2013
61
3
To get your correct firmware, you need someone to upload a dump from a 1042 that lsmod shows the 8192 module.

Sent from my SPH-D710 using Android Phone

OK - got it now - so if I can find a COBY rom with the 8192 WiFi module in the proc/modules then I can have the tablet work like it did when I openned the box

EXCELLENT! Danke Schoen!

So if a ROM is based on the dump you described and the rest of the bits like root access, CWM, google access et. c. are put in then a person with a version of the 1052 like mine is good to go right after flashing?
Or if a person were to ireplace the one used in say AlienDroid V2 with the 8192 this particular version of the 1042 would be good to go with ADv2?
 

whread

Member
Apr 15, 2013
61
3
oh yeah - the final part of the puzzle - why won't any of the 5 WiFi the dongles here work with any of the Coby ROMs? lack of 8192? Dedication to certian device of that port? duhhhhhhh............
 
Top