[Q] [DEV] [HELP] Compile a android kernel for Huawei CM980 - Android Software/Hacking General [Developers Only]

Hello friends, I'm part of a group of novice developers who are developing a CyanogenMOD9 for Huawei CM980, a phone sold in Venezuela with the following hardware features:
SoC: MSM7627b @ 800 Mhz ARMv6 - CPU-Core: ARM1136EJ-S
Touchscreen: Synaptics-ts-CMI.1
LCD: Innolux ILI9481
Camara: mt9p017 @ 5 MP with AF (BRAND: Aptina)
NAND Flash: Hynix
Compass AKM8975 (BRAND: Akemi)
Wifi / FM / BT Broadcom BCM4329 (BRAND: Broadcom)
BMA150 3-axis Accelerometer (BRAND: Bosch)
Magnetic field sensor AK8973 (BRAND: Akemi)
Proximity sensor CM3602 (BRAND: Capella)
Now we know that this phone has great hardware level like the Huawei C8651, until the point that can be identified as board id: MSM7x27_C8651.VerD, we used this because the official kernel source for this phone has not been released, and isn't possible obtain the build information from /proc/config.gz. Now to the point:
I tried to build the kernel on several occasions, I have the source of CyanogenMod (2.6.37) and Huawei (2.6.35) kernel, I built the modules and drivers are required and I have compiled the code without errors and for the right architecture (the command file to zImage tells me that file is a ARM little-endian), I joined and created a boot.img using the original rom initramfs, but the cellphone refuses to boot.
My questions are:
1) What can be going to not work?
2) Is there any way to make a more specific kernel compilation in which the use of force and optimization for ARMv6 ARM1136EJ-S?
Your ideas and suggestions are welcome, greatly appreciate any help the.
PD: Sorry for my bad English

Here is the kernel my friend
Yukiteru said:
Hello friends, I'm part of a group of novice developers who are developing a CyanogenMOD9 for Huawei CM980, a phone sold in Venezuela with the following hardware features:
SoC: MSM7627b @ 800 Mhz ARMv6 - CPU-Core: ARM1136EJ-S
Touchscreen: Synaptics-ts-CMI.1
LCD: Innolux ILI9481
Camara: mt9p017 @ 5 MP with AF (BRAND: Aptina)
NAND Flash: Hynix
Compass AKM8975 (BRAND: Akemi)
Wifi / FM / BT Broadcom BCM4329 (BRAND: Broadcom)
BMA150 3-axis Accelerometer (BRAND: Bosch)
Magnetic field sensor AK8973 (BRAND: Akemi)
Proximity sensor CM3602 (BRAND: Capella)
Now we know that this phone has great hardware level like the Huawei C8651, until the point that can be identified as board id: MSM7x27_C8651.VerD, we used this because the official kernel source for this phone has not been released, and isn't possible obtain the build information from /proc/config.gz. Now to the point:
I tried to build the kernel on several occasions, I have the source of CyanogenMod (2.6.37) and Huawei (2.6.35) kernel, I built the modules and drivers are required and I have compiled the code without errors and for the right architecture (the command file to zImage tells me that file is a ARM little-endian), I joined and created a boot.img using the original rom initramfs, but the cellphone refuses to boot.
My questions are:
1) What can be going to not work?
2) Is there any way to make a more specific kernel compilation in which the use of force and optimization for ARMv6 ARM1136EJ-S?
Your ideas and suggestions are welcome, greatly appreciate any help the.
PD: Sorry for my bad English
Click to expand...
Click to collapse
here is the original kernel from huawei:
jeffersonlicet.*com/article/android/31/Kernel-CM980-Liberado.html

Related

Kernel 4.1 or 4.2 For A13 Tablets

Hello to you all,
I am starting to build a rom for Allwinner A13 tablet. And I want to ask you some basic questions.
I got my hands on a FreeLander PD60:
Cpu A13, Gpu 400 Mali, 8Gb nand Flash , Wifi
A. Does 4.1 and/or 4.2 run on it the same as 4 ICS?
B. What kernel should I use and where could I download it?
C. Any other subject if you think worth mentioning?
I was very interested to hear from you guys.
Plz give a little time to point me to the right direction:'(
I have device with A13. I tried to compile kernel, but no luck. I could not boot Android system - Problem with proper mali configuration and crushing of surfaceflinger. Everything should work except camera and hardware video decoding (video decoder mainly build for android 4.0) and maybe touchscreen will not work (test sources for your touchscreen chip). Look to Olimexino.com forum (they manufacture A13 board)

[Q] Hi guys ~i need a help~about port a rom to an unsupported device from souce code

Hi guys ~i need a help~about port a rom to an unsupported device from souce code.I got bought a device running android 4.1~it is a tab~made in malaysia~a malaysia brand ~not a big brand like samsung,htc and sony(so that havnt any rom information online)~i aready flash a cwm port by myself~but the tab"s android operating system is very lag~i need a help in XDA ~I need you guys help me to port a smooth rom in it please~
thanks you all~and sorry for my broken english
here is my Tab"s information
Model = Xpringsurf G8D
Operating System=Android 4.1.2
THE HARDWARE IS.
CPU=MT8377(Cortex A9)
CPU MODEL=ARMv7 Processor rev 0 (v7l)
CPU CORE=Dua Core
CPU SPEED=1209MZH
RAM=(498/969MB)DDR3
ROM=(675/1008MB)
Internal Storage=8G SD=(ADD BY MYSELF)(8G~16G)up to 32G
GPU SURPPORTER=Imagination Technologies
GPU=PowerVR SGX 531
GPU VERTION(OPENGL)=OpenGL ES-CM1.1
Display=8 INCH IPS PANEL
Image Pixel=160DPI
Support Multi Touch
Resolution=1024X768 Pixels
Wireless Connectivity=Support 3G/BLUETHOOTH/GPS
Front Camera=0.3MP
Rear Camera=2.0MP(192)
Playback Time=Web Browsing:4.5 hours/video:4.5 hours/eBook:6hours/Music:10 Hours/Standby:7 days
Dimension=200.5 x 151.4x10.3mm Weight= 400g
hi guys here is the original firmware View attachment 2685972
thanks you all~and sorry for my broken english
my [email protected]

[Completed] Need Help on TbletPC repairs

I have a Chinese-made tablet PC that uses Android 4.2.2 (probably a nightly version) I am frustrated by because it often hangs frequently and I wanted to root it, repair it and replaced it with Android 5.0 as well as removed bloatwares on it. I am asking what type of AndroidOS Kernel is compatible with these type of TabletPC? It uses dual-core A23 CPU, Model S-718, Android 4.2.2 Firmware version 2.0. The kernel version is 3.4.39 and the build number is GT736FB22Cd-TPa2-V1.2.3.4=20140902release. What is the compatible kernel for these type of TabletPC any help guys? Any help and advise before I delve-in?
Additional Data:
Product Detail
Basic Info
Model NO.: S718 Boxchip A13
Screen Type: Capacitive Screen
Operating System: Android
Screen Size: 7"
Webcam: Webcam
Memory: 512MB
Built-in Microphone: Built-in Microphone
Network Mode: WiFi
Built-in Bluetooth: Without Bluetooth
CPU Core: Dual-Core
Card Reader: Card Reader
Hard Disk Capacity: ≤8G
CPU Type: Allwinner
Front Camera Pixel: 0.3MP-1MP
Battery Capacity: 2000mAh-3000mAh
Rear Camera Pixel: 0.3MP-1MP
Size: 7inch
Color: Multi-Color
Hi there,
I'm sorry but I can't find anything related to your question/device:
Please post that in the forum bellow for more answers from the experts:
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
Good luck

[DEV] Building ROM with closed Qualcomm sources (vendor_qcom_proprietary)

Chinese internet contains a lot of closed QCOM sources (proprietary, modem, tz, etc).
To find these sources type in the google/bing:
Code:
AU_LINUX_ANDROID_JB_MR1_RB1.04.02.02.050.175_msm8974_JB_MR1_RB1_CL3847824_release_AU
At the beginning of June 2016, I decided to try to build a CM11 , using the QCOM proprietary source codes.
My device is based on msm8228 (overclocked msm8226).
Build result: a fully working CM11 with QCOM libs compiled by UBERTC 4.8.5.
CM11 ROM download (250 MB)
My local manifest: https://github.com/jsr-d10/local_manifest/blob/cm-11.0/d10f-qc.xml#L38
Repositories with suffix "-qc" using with QCOM sources.
QCOM proprietary for msm8226: magnet:?xt=urn:btih:313a2f9bc1f2b1fe3ad830e9dfbf4d4432fea384&dn=qcom_msm8x26_vendor
May I send you a pm?
I wrote yesterday converter fo libchromatix files.
It converts binary file to h-file.
https://github.com/remittor/chromatix2c
I was able to make a fully working firmware!
Even the camera began to work!
Sources:
kernel: https://github.com/jsr-d10/android_kernel_jsr_msm8226/commits/mm-qc
proprietary: magnet:?xt=urn:btih:313a2f9bc1f2b1fe3ad830e9dfbf4d4432fea384&dn=qcom_msm8x26_vendor
Reversed sensor Toshiba t4k37ab: http://v2.pikacode.com/jsr-d10/andr...ontroller/modules/sensors/sensor_libs/t4k37ab
Source codes are actively removed by QCOM employees.
To search for these on the Internet, I advise you to do so:
1) search on google.com archive "android_vendor_qcom_proprietary-msm8226-kk.zip"
2) search on github.com file "t4k37ab_lib.c"
Installing camera SONY imx214 into budget phone
Device: innos D10F (msm8228)
Original camera: Toshiba t4k37ab (13MP)
Installed camera: SONY imx214 (13MP)
Camera replacement procedure takes 5 minutes.
Black module: t4k37ab
Metallic module: imx214
Camera imx214 was taken from broken OnePlus One.
Kernel sources: https://github.com/jsr-d10/android_kernel_jsr_msm8226/commits/mm-qc
Camera libs sources: magnet:?xt=urn:btih:313a2f9bc1f2b1fe3ad830e9dfbf4d4432fea384&dn=qcom_msm8x26_vendor(android_vendor_qcom_proprietary branch msm8226-kk)
Strange this didn't get enough interest, i mean, these are "old" (up to SD800 if i understand well) but they should be useful even for newer socs. However great demonstration, remittor
Thanks for the work.
Am really interested on this but it is hard to find some information.
I have the idea to start a full open source rework of the camera hal but am not good enough to work on this alone.
Am looking for people who can help me

Building custom LineageOS - Ginzzu S5110

Hello to all.
Some years ago I tried to build custom ROM for this device - Ginzzu S5110 - but had a lot of troubles and left this idea. Yesterday found this phone far on a shelf and now again want to try biuld something for it. For example LineageOS if it is possible
But this device doesn't have sources of a kernel in a whole google, so could you advice me - how i can make a tree for this device with stock kernel and build a ROM, is it possible? I suppose so.
For information:
It has MediaTek MT6580 CPU, 4x ARM Cortex-AT @ 1300 MHz;
32-bit ARMv7;
Supported abi: armeabi-v7a, armeabi;
Video: 720 x 1280
Mali-400 MP;
RAM 1 Gb,
Android version - 5.1.
Kernel arch - armv7l.

Categories

Resources