where to download source code for kernel 3.4.0+ - Android General

Dear all
i have an "old" P706 tablet with a rooted kernel, i need to build a custom module for this kernel.
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
Click to expand...
Click to collapse
following a tutorial, i've downloaded the 3.4 branch from android.googlesource.com/kernel/goldfish.git
git clone android.googlesource.com/kernel/goldfish.git
git checkout -b 3.4 origin/android-goldfish-3.4
Click to expand...
Click to collapse
i've succesfully build the .ko module using a toolchain for arm, but when i try to load the module i get an error related to version mismatch:
<3>: version magic '3.4.67+ mod_unload modversions ARMv7 p2v8 ' should be '3.4.0+ SMP preempt mod_unload ARMv7 p2v8 '
Click to expand...
Click to collapse
do you know where to download the "old" 3.4.0 source code, or where can i get the exact git revision to checkout the correct version?
Thanks to all in advance!

sorry, maybe is better to move this request under Android Software and Hacking General [Developers Only] ?
Thanks

Related

MT6575 sources (TCL E928)

MT6575 sources posted (TCL E928)
TCL E928 sources MT6575 was posted on sourceforge alcatel project page 15.11.2012
sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
i've successfully compiled cifs kernel module on my philips w732 mt6575.
how i've done this.
sources: sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
system: xubuntu 10.04
i've tried default confg, modul has been built successfully, but on loading there is an error
dmesg
unknown symbol kmem_cache_alloc_trace
using grep i've found that kmem_cache_alloc_trace symbolis is using when CONFIG_TRACING paramenter is enabled (ifdef CONFIG_TRACING)
in menuconfig search i've fount that CONFIG_TRACING refers to CONFIG_GENERIC_TRACING
so at last i've disabled CONFIG_MTK_SCHED_TRACERS and CONFIG_MT65XX_TRACER (GENERIC_TRACING CONFIG_TRACING paramenter have changed after that)
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics menuconfig
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics modules_prepare
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics M=fs/cifs
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics M=crypto
philips w732 vermagic '3.0.13 preempt mod_unload armv7' working cifs.ko and md4.ko modules
narod.ru/disk/63766749001.47b679339538b050028c3c7d87506dd2/md4.ko.html
narod.ru/disk/63743140001.693272f3661d5aac547ecc760f04db05/cifs.ko.html
Hi. I've got the same problem loading a module that I cross-compiled using compat-wireless-3.6.8-1
Code:
cfg80211: Unknown symbol kmem_cache_alloc_trace (err 0)
I think my kernel wasn't built with CONFIG_TRACING enabled.
What can I do? Do I have to recompile the kernel?
Android version:
4.1.2
CyanogenMod Version:
10-20121202-UNOFFICIAL-ac100
Kernel Version:
3.1.10+
[email protected] #1
Sun Dec 2 15:23:02 MSK 2012
GCC version:
arm-linux-androideabi-gcc (GCC) 4.6 20120106 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
Alcatel E928 Board circuit needed
legale said:
MT6575 sources posted (TCL E928)
TCL E928 sources MT6575 was posted on sourceforge alcatel project page 15.11.2012
sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
i've successfully compiled cifs kernel module on my philips w732 mt6575.
Click to expand...
Click to collapse
I search the board-circuit for Alcatel TCL E928 for porting kernel to other device, please help me...

how to retrieve build options of a specific rooted ROM

dear all
can you help me to find the related config.gz of a specific ROM if it is not available on /proc/config.gz?
i'd like to build a module for a specific hardware, but i don't know how this ROM was built.
the tablet is a p706 and is running
[email protected]_sd:/ # cat /proc/version
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
(Android/Demo_7021a-userdebug 4.4.2 KOT49H eng.root.20140929.140049 release-keys)
Do you know how to retrieve additional infos, from the rooted device or from the web?
Thanks
nik600 said:
dear all
can you help me to find the related config.gz of a specific ROM if it is not available on /proc/config.gz?
i'd like to build a module for a specific hardware, but i don't know how this ROM was built.
the tablet is a p706 and is running
[email protected]_sd:/ # cat /proc/version
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
(Android/Demo_7021a-userdebug 4.4.2 KOT49H eng.root.20140929.140049 release-keys)
Do you know how to retrieve additional infos, from the rooted device or from the web?
Thanks
Click to expand...
Click to collapse
Hi,
If the kernel wasn't built with that option enabled (I'm sure it wasn't), you can't retrieve the stock defconfig with cat proc/config.gz option.
So, you will likely have to find the kernel sources for your device instead. It should have defconfig for your device.

Help for BDF ZL829 Tablet - MT6580

Hi, can someone help me with this Chinese Tablet BDF - ZL829 MYK6580? Thank you.
The firmware has been modified to appear more powerful than it is in the original.
Can you tell me where to find the "scatter" file for this device?
The "MTKdroidTools 2.5.3b_mod_by_bovirus" program provides the following information:
Hardware : MT6580
Model : ZL829
Build number : MRA58K test-keys
Build date UTC : 20191127-072914
Android v : 7.0
Baseband v: MOLY.WR8.W1449.MD.WG.MP.V57.P2, 2018/03/05 20:40
Kernel v : 3.18.19 ([email protected]) (gcc version 4.8 (GCC) ) #6 SMP Wed Nov 27 21:35:46 CST 2019
Uboot build v : -----
LCD Driver IC : 1-jd9366_wxga_dsi_vdo_cpt
Then I need to know where to find a custom recovery the boot pached file and an original unmodified firmware to upload to the device, thanks.
In short, I need information to be able to restore the device to its original condition, install a Custom Recovery and root the device, thanks.
In the attached Zip files there are the images of the device and the data collected by the Fake Device app. Attached also the "logtxt" file of Droit Tools.
I await your news, thank you.
Best regards and happy new year to all.
PS: This device was purchased on Aliexpress at the following link could find more details and images on it: https://www.aliexpress.com/item/33027531745.html?spm=a2g0s.9042311.0.0.40754c4dVegOZ5
Hi, can someone give me some answers or render in some post where to find useful information for this device? Thank you.
Greetings.
tablet
casteddus said:
Android v : 7.0
Baseband v: MOLY.WR8.W1449.MD.WG.MP.V57.P2, 2018/03/05 20:40
Kernel v : 3.18.19 ([email protected]) (gcc version 4.8 (GCC) ) #6 SMP Wed Nov 27 21:35:46 CST 2019
Hi, can someone help me with this Chinese Tablet BDF - ZL829 MYK6580? Thank you.
The firmware has been modified to appear more powerful than it is in the original.
Can you tell me where to find the "scatter" file for this device?
Click to expand...
Click to collapse
Linux version 3.18.19 ([email protected]) (gcc version 4.8 (GCC) ) #3 SMP PREEMPT Thu Nov 14 16:55:08 CST 2019
Port of Dotos Android 7.1.2 for tablet with this kernel
Google Drive - Virus scan warning
drive.google.com
----------------------------
make a backup first of all
Alps Clone - P40 Pro + (Wish.com)
Hi members - I have one of these phones that I have been trying to ROOT - it's one of the fake versions out of China (via Wish.com) that claims to have Android 10 (and a bunch of other stuff) but is actually only running 5.1 I wanted to try and...
forum.xda-developers.com
and change this custom recovery TWRP-311, install it and you can port Dotos Android 7.1.2 for your tablet, replace the kernel from your stock backup
Google Drive - Virus scan warning
drive.google.com
I have that tablet too. Also bought from Aliexpress. It is a real piece of crap: very slow and freezes often. It was advertised as a octa core tablet, but it is not. It is a quad core tablet. So i filed a dispute procedure at Aliexpress.
But you say the firmware has been modified to make it appear more poweful? In what way has it been modified?
AlDjap said:
In what way has it been modified?
Click to expand...
Click to collapse
YOU can remove gapps and use microG, if you need play market/It save the RAM of your device which is very small( 1GB or 2GB)

linux on asus TF103

hello,
i have a TF103 bricked. And found a and another functional.
I found an interesting tutorial
this tablette have an INTEL Z3745 , what is interesting is not arm but x86. So not need cross compiling. i have kernel found on asus site.
but compil not work . have this
*** Default configuration is based on 'x86_64_defconfig'
drivers/external_drivers/Kconfig:21: can't open file "drivers/external_drivers/drivers/Kconfig"
make[1]: *** [/home/****/tmp/assus/kernel/scripts/kconfig/Makefile:104 : defconfig] Erreur 1
make: *** [Makefile:505 : defconfig] Erreur 2
Click to expand...
Click to collapse
have this with adb shell cat /proc/version
Linux version 3.10.20-x86_64_byt-00002-g61e2b17 ([email protected]) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Fri Dec 25 18:53:37 CST 2015
Click to expand...
Click to collapse
edit
finally I must have external modules
the folder kernel/drivers/external_drivers have this , with symbolic link
camera -> ../../../modules/camera
drivers -> ../../../modules/drivers
intel_media -> ../../../modules/intel_media/
Kconfig
Makefile
Click to expand...
Click to collapse
vhere i can find modules for compiling ?
thank

How to know the clang used to compile my kernel? strings Image | grep -i clang did not work

I did
strings Image | grep -i clang
to my Poco M3 kernel extracted from an official ROM for Android 11 and got
Linux version 4.19.113-perf-ga223430d113c ([email protected]) (clang version 10.0.7 for Android NDK) #1 SMP PREEMPT Tue Feb 8 18:34:58 CST 2022 %s version %s ([email protected]) (clang version 10.0.7 for Android NDK) %s Linux version 4.19.113-perf-ga223430d113c ([email protected]) (clang version 10.0.7 for Android NDK) #1 SMP PREEMPT Tue Feb 8 18:34:58 CST 2022
But I don´t know what is "clang version 10.0.7 for Android NDK)". I download the 5 latest NDKs and the old ones use clang 9.x.x and then suddenly they jump to clang 11.x.x, without even using the 10.x.x. So, which clang was used to compile this kernel?

Categories

Resources