DroidX tun.ko help/request - Droid X Android Development

Does anyone have a tun.ko module for the DroidX?
Running update1:
busybox uname -a
Linux localhost 2.6.29 #1 PREEMPT Thu Jul 1 18:18:04 CDT 2010 armv7l GNU/Linux
Running strings and grep on the modules shows:
vermagic=2.6.29 preempt mod_unload ARMv7
I couldn't find Motorola's kernel source for the DX (but the Droid is posted).
Any tips, tricks, or info would be appreciated.
Thanks, Jeb
References:
Droid Source -- opensource.motorola.com/sf/projects/droid
DroidX Souce (should be here, but link doesn't work)
opensource.motorola.com/sf/projects/droidx
(sorry can't post links yet)

Well I have a 2.6.29 kernel tree ready to go, but I can't find a kernel config for the DX.
I can't find /proc/config.gz on the system (thanks Motorola...).
Does anyone know the "ARM system type"? I used a HTC config, but the version came out ARMv6, not ARMv7.

Related

CM 9/10: Checking graphics lib versions on black screen on boot

A black screen on boot (or just the backlight coming on, but no animation) is sometimes caused by mismatched kernel and vendor graphics driver-related blobs, assuming you are building your own kernel. Here's how to check (I'm putting this here because I'm not yet allowed to post in the dev thread):
Assuming your source is in ~/android/system :
1) Determine the vendor blob version:
cd ~/android/system/vendor/bn/encore/proprietary/lib/egl
strings lib* | grep build;
You should see something like : OpeGL ES 2.0 build [email protected]
2) Now determine the version the kernel expects:
cd ~/android/system/kernel/bn/encore/drivers/gpu/pvr
grep PVRVERSION_BUILD pvrversion.h
You should see something like : #define PVRVERSION_BUILD 789263
If you see a number other than 789263, your vendor blobs do not match the kernel you are using.
In my case, this was caused by me extracting the blobs from my Nook when it was running CM7,
and trying to use them to build CM10.
Check eyeballer's github to get the right vendor blobs.
Hope this helps someone (thanks would be appreciated ). I got this info with the help of Steven676, Krylon360 and others.

[DEV][KERNEL SOURCE]Patched 3.0.21 - Bootmode Aware

Hi Folks
I thought I throw this one up for good measure.
Archos Kernel 3.0.21
I've made a couple of changes which are outline in the README2 file in the repo, but a quick summary.
Patched arch/arm/mach-omap4/omap4-reboot-reason.c to enable bootmode system property setting from the kernel command line which is required by CWM-SDE
I also back-ported the arch/arm/mm/proc-v7.S from the android-omap-3.4 kernel which means the kernel can be built using the standard android aosp toolchains Although It's probably still better to use Linaro Optimized!!
github.com/trevd/android_kernel_ti_archos.git
README2
Code:
android linux kernel 3.0.21 based on original archos sources found at
http://gitorious.org/archos/archos-gpl-gen9-kernel-ics branch: linux-ics-3.0.21
Android boot mode awareness:
----------------------------
changes made to arch/arm/mach-omap2/omap4-reboot-reason.c to enable correct setting
of android system property ro.bootmode.
designed to be used in conjunction with roms created using device files locating in
https://github.com/trevd/android_device_ti_archos.git
Proc-v7.S changes
-----------------
I've backported arch/arm/mm/Proc-v7.S from the android-omap-3 kernel 3.4 branch, this
was done to allow the kernel to be built using the standard android toolchain.
Building
--------
Clone the android aosp toolchain
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
Using the Bourne Again Shell ( bash ) export an alias to make cross compiling easy
alias make-arm='<toolchain path>/arm-eabi-4.6/bin/:$PATH ARCH=arm SUBARCH=arm CROSS_COMPILE=arm-eabi- LOCALVERSION_AUTO=n make'
make-arm distclean && make-arm mrproper
make-arm ti_archos_defconfig
make-arm -j$(grep -c processor /proc/cpuinfo)
Out of tree drivers
-------------------
PowerVR Kernel Modules are not included in this release, they are available from omapzoom android aosp
repo located at git://git.omapzoom.org/device/ti/proprietary-open.git. this repo also contains the matching
userland binary blobs, versions of which exist for Gingerbread, ICS and JellyBean. See device tree documentation
for further details ( https://github.com/trevd/android_device_ti_archos.git )
Hi Trevd !
Thank you very much for your great work ! :good:
....how much I wish I could be useful ( I am currently with hands tied :laugh: - I have not my tablet ....but I'll be back as soon as I will receive my tablet from reparation centre ! )
Good luck & keep up your awesome work ! :good::good::good:
Wifi Drivers info and resources.
Hi Folks.
Along with building the PowerVR Drivers out of tree, It should be also possible to use the latest drivers for the wireless chip
This Page [ linuxwireless.org ] provides some nice documentation with the links to the repo's contain the lastest code along with what looks like some useful android related utilities

Cifs

Cifs manager, any got out could build a working cifs.ko file?
Sent from my LG-D955 using XDA Premium 4 mobile app
tutreak said:
Cifs manager, any got out could build a working cifs.ko file?
Sent from my LG-D955 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry for knocking a 9 month old Thread , but I am trying to make Cifs Manager work for my Gflex.
i'm running Android 4.4.2 , Kernel 3.4.0 Build KOT49I.D95520a .
I've Downloaded the Kernel Source tar.gz from LG : LGD955_Gflex_Kikat_V20a_Kernel.tar.gz
And I just cannot seem to produce a cifs.ko module that is succesfully loaded with insmod on the device.
I keep getting this in dmesg: no symbol version for module_layout
I was trying to use this thread for instructions: http://forum.xda-developers.com/showthread.php?t=2531407&page=3
and this http://forum.xda-developers.com/showthread.php?t=2531407&page=3
@TheWizardOfROMs Maybe if you have some time you can give some useful advice
@ forrestgump2000 How did you do it for LG G2 ? It should be almost the same for the Gflex, could you perhaps lend a hand? Please?
I am trying to build it on Mac OSX , installed with macports gcc4.9 , using CROSS_COMPILE=/Downloads/android-ndk-r10c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi- , ARCH=arm,SUBARCH=arm
make EXTRA_CFLAGS=-fno-pic M=fs/cifs Tells me about some versioning , then I run make modules before to create that file and then it doesn't complain.
Running out of ideas..... (will try a Ubuntu VM soon if nothing works...)
Thank you!
2nd really need this for off device storage
Work documentation
I've sent an e-mail to LG , let's see what happens....
"
Dear LG OpenSource Team,
I am currently trying very hard to compile a new module for my current kernel:LGD955_Gflex_Kikat_V20a_Kernel.zip
My work environment is the following:
Vmware Ubuntu 14.01 LTS , gcc 4.8
I have unpacked your kernel source and tried the following:
cp arch/arm/configs/z-open-com-perf_defconfig .
make z-open-com-perf_defconfig prepare headers_install scripts ARCH=arm CROSS_COMPILE=arm-linux-androideabi- O=build KERNELRELEASE=3.4.0-perf-g551cabf
make menuconfig ARCH=arm CROSS_COMPILE=arm-linux-androideabi- O=build KERNELRELEASE=3.4.0-perf-g551cabf
Chosen Network File System Support -> CIFS (M) and saved.
make modules ARCH=arm CROSS_COMPILE=arm-linux-androideabi- O=build KERNELRELEASE=3.4.0-perf-g551cabf
adb push fs/cifs/cifs.ko /data/local/modules/
chmod 644 /data/local/modules/cifs.ko
insmod /data/local/modules/cifs.ko gives this Failure Message : … failed (Exec format error)
dmesg has this message inside: no symbol version for module_layout
A little info after building the module:
[email protected]:~/Downloads/kernel$ modinfo build/fs/cifs/cifs.ko
filename: /home/adi/Downloads/kernel/build/fs/cifs/cifs.ko
version: 1.78
description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
license: GPL
author: Steve French <sfr[email protected]>
srcversion: 3F86E0A9406EADE34D14793
depends:
intree: Y
vermagic: 3.4.0-perf-g551cabf SMP preempt mod_unload modversions ARMv7
parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)
parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
parm: cifs_max_pending:Simultaneous requests to server. Default: 32767 Range: 2 to 32767. (int)
parm: enable_oplocks:Enable or disable oplocks (bool). Default:y/Y/1 (bool)
[email protected]:/ # uname -r
3.4.0-perf-g551cabf
[email protected]:/ # uname -a
Linux localhost 3.4.0-perf-g551cabf #1 SMP PREEMPT Tue Apr 29 00:20:47 KST 2014 armv7l GNU/Linux
I am running out of ideas , could you please help ? What am I doing wrong? I love this Phone and want to learn more about it’s inner workings but when compiling a module fails , it leaves me a little hopeless…
Thank you in advance,
With kind regards,
Adrian
"
Fingers crossed

Help search for a Rom to this Android Car Radio Allwinner T3_P1

Hello people have a question have this autoradio with android 4.4.2 from the company Allwinner that is Allwinner T3_P1 model gerootet and busybox is also installed but I do not find any Rome I will times list with the specficationen and would ask you to clarify
ERNEL: Linux version 3.10.65 ([email protected]) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #203 SMP PREEMPT Wed Aug 10 00:26:03 CST 2016
CODENAME: REL
Mainboard: exdroid
BRAND: Allwinner
CPU_ABI: armeabi-v7a
CPU_ABI2: armeabi
DEVICE: t3-p1
DISPLAY: t3_p1-eng 4.4.2 KOT49H 20160810 test-keys
FINGERPRINT: Allwinner/t3_p1/t3-p1:4.4.2/KOT49H/20160810:eng/test-keys
HARDWARE: sun8iw11p1
ID: KOT49H
TAGS: test-keys
General Specifications
Manufacturer Allwinner
Model t3
Android version 4.4.2; 20160810; SDK19
CPU 4 cores; rev 5 (v7l) t3; Max: 1200,0 MHz; Min: 480,0 MHz
Display 800 x 480; DPI: 240; Evaluated Size: 3,9"
Touch screen NOT multitouch 1 point
GPU Mali-400 MP; ARM; OpenGL ES-CM 1.1; OpenGL ES 2.0
RAM 1024 MB
Flash 0.125 GB; 16 GB (14.924 GB actual) (see memory map tab)
Communications
Phone None
WiFi 8188eu; IEEE 802.11 b/g/n; Realtek RTL8188E; AP Mode
USB Host Yes
Bluetooth Yes
GPS Yes
How did you root this device? No one succeeded rooting it.
Did you manage to find a suitable ROM for this device? Not only that i couldn't find a suitable rom, or even a way to flash it, but also unable to root after numerous tries with different version of kingroot, kingoroot, baidu root.

Can't find PhilZ-cwm6-XXLT9-ORA-5.08.5

Hello,
I'm looking for PhilZ-cwm6-XXLT9-ORA-5.08.5-signed.zip
Links are old and open only adv pages.. maybe somebody here has that file?
My galaxy not has build version JZO54K.N7000XXLT9
Kernel version: 3.0.31-1103517
[email protected]#3
SMP PREEMPT The Jun 4 20:55:52 KST 2014
thanks,
Barbara

Categories

Resources