Hello, I need kernel source to make CyanogenMode for this phone and have been several attempts without success
I would like at least to know where you can extract the source kernel because so far I haven't had a concrete proof.
I used site codeaurora.org but unfortunately, does not contain appropriate Platform with my phone (MSM 8225)
The specs are: Platform Snapdragon S4 MSM8225 with ARM A5 CPU (1 Ghz), GPU adreno 203 and 512 MB of Ram, android 4.1.2 and probably kernel version is 3.1.10.P3.130609.7560U but I not sure.
Here are a community rather little and any help is useful. (forum.softpedia.com/orange nivo)
Thank you very much for your help.
P.S. I apologize for any spelling mistakes
+1
+ 1
Ok , no answer ? Any idea is useful
+1
+1
+1
+1
Trimis de pe al meu Nivo folosind Tapatalk
I found this kernel for the chipset of this phone.
On its basis it is possible to build a custom cyanogenmod?
Any suggestion is very helpful
64bit kernel sources for Redmi2/2A/Prime
SHARING 64BIT WORKING KERNEL SOURCES FOR OUR DEVICE
WE ALL KNOW THAT OUR DEVICE HAVE A 64BIT CPU, BUT IT COULDN'T USE THAT 64BIT POTENTIAL BECAUSE OUR DEVICE WAS LAUNCHED WITH KK WHICH DO NOT SUPPORTS x64, BUT LATER XIAOMI RELEASED L FOR THE DEVICE BRINGING SUPPORT FOR MANY FEATURES LIKE VOLTE.
BUT ONE OF OUR DEVELOPER WAS ABLE TO CREATE 64BIT KERNEL SOURCES FOR OUR DEVICE. NAME "SEIRYU-2I"
HE ALSO CREATED WORKING MIUI8 64BIT BASED FOR OUR DEVICE. [url]https://goo.gl/2l1oqZ[/URL]
FEATURES: ARM64 BASED (PHEEWW)
SENSORS WORKS FLAWLESSLY
TOTALLY SUITABLE FOR VR AND DAYDREAM
BATTERY LIFE IS NOT COMPROMISED
AVAILABLE FOR BOTH MIUI AND CM (SEPERATE BRANCHES)
HAVEN'T FOUND ANY BUGS TILL NOW
NO PROBLEMS WITH VOLTE
SURPRISINGLY FAST
WE HAVE 64BIT KERNEL NOW!! SO, I WOULD LIKE TO INVITE ALL DEVELOPERS OUT THERE TO START WORKING ON 64 BIT ROMS LIKE, LIKE TESLA, DIRTY UNICORNS, AICP, CM14, ZYPHER AND DEVELOPERS OF OTHER GREAT ROMS OUT THERE AND KERNEL DEVELOPER LIKE JERRICA, LATTE AUTMN AND OTHERS.
[url]https://goo.gl/7AT5fS[/URL]
"THE SCORES HAVE BEEN UPDATED AS PROOF, GO GUYS TEST IT OUT YOURSELF"
AND PLEASE LET ME KNOW IF I AM MISSING SOMETHING.
SORRY FOR MY BAD ENGLISH and thank you :silly:
Let's go to the future. Thanks anyway.
Dyt199412syam said:
Let's go to the future. Thanks anyway.
Click to expand...
Click to collapse
lets see if the developers will work on this....
and if you can do please ping developers about this
fix the link dude
solomonR15 said:
fix the link dude
Click to expand...
Click to collapse
Fixed bro :highfive: :good:
Thanks for sharing :good:
Hope this can get some attention from the rom devs...
https://github.com/seiryu-2i/android_kernel_xiaomi_msm8916
Slight corrections required in the post
These sources are not x64. They are ARM64
x64 refers to 64 bit Intel CISC Chips like Atom whereas ARM64 Refers to 64 bit ARM RISC chips like Qualcomm SnapDragon and MediaTek Helios
Our Redmi 2 comes with Qualcomm ARM64 chipset ( albeit running a 32 bit OS) not x64 chipset
so make the necessary corrections
taalojarvi said:
slight corrections required in the post
these sources are not x64. They are arm64
x64 refers to 64 bit intel cisc chips like atom whereas arm64 refers to 64 bit arm risc chips like qualcomm snapdragon and mediatek helios
our redmi 2 comes with qualcomm arm64 chipset ( albeit running a 32 bit os) not x64 chipset
so make the necessary corrections
Click to expand...
Click to collapse
corrections made brother ... Btw thank you
didhiy said:
Thanks for sharing :good:
Hope this can get some attention from the rom devs...
https://github.com/seiryu-2i/android_kernel_xiaomi_msm8916
Click to expand...
Click to collapse
:fingers-crossed::good::highfive:
Well thank you for posting this thread
If anyone can make this kernel better then it would be good, as I only have limited free time to see the world & don't have any PC or laptop too to work on it :crying:
Jus a lil info, well maybe not useful though, if anyone wish to port 64bit custrom like CM, then you can always pick any existing device tree for our device. Remove "FORCE_32_BIT=true" from BoardConfig.mk and put "$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)" on top of "$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)" line inside cm.mk or device.mk. Edit any other mk files to match your needs and edit some C/C++ sources inside your device tree to match 64bit target (mostly are only type conversions).
And for blobs, you can extract it from my rom port or just use ido (redmi 3) vendor blobs (name/rename it into suitable vendor and target based on your device tree), why? It's because, it came from the same source tree as our device have, so that means it's compatible (just remove the fingerprint we don't need it). And the rest, try to find it by yourself and fix any build error by your hand (in my experience all error only comes from mismatch config & any source code inside the device tree).
cheers
seiryu
seiryu.2i said:
Well thank you for posting this thread
If anyone can make this kernel better then it would be good, as I only have limited free time to see the world & don't have any PC or laptop too to work on it :crying:
Jus a lil info, well maybe not useful though, if anyone wish to port 64bit custrom like CM, then you can always pick any existing device tree for our device. Remove "FORCE_32_BIT=true" from BoardConfig.mk and put "$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)" on top of "$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)" line inside cm.mk or device.mk. Edit any other mk files to match your needs and edit some C/C++ sources inside your device tree to match 64bit target (mostly are only type conversions).
And for blobs, you can extract it from my rom port or just use ido (redmi 3) vendor blobs (name/rename it into suitable vendor and target based on your device tree), why? It's because, it came from the same source tree as our device have, so that means it's compatible (just remove the fingerprint we don't need it). And the rest, try to find it by yourself and fix any build error by your hand (in my experience all error only comes from mismatch config & any source code inside the device tree).
cheers
seiryu
Click to expand...
Click to collapse
Thanks for your great works :good:
seiryu.2i said:
well thank you for posting this thread :d
if anyone can make this kernel better then it would be good, as i only have limited free time to see the world & don't have any pc or laptop too to work on it :crying:
Jus a lil info, well maybe not useful though, if anyone wish to port 64bit custrom like cm, then you can always pick any existing device tree for our device. Remove "force_32_bit=true" from boardconfig.mk and put "$(call inherit-product, $(src_target_dir)/product/core_64_bit.mk)" on top of "$(call inherit-product, $(src_target_dir)/product/full_base_telephony.mk)" line inside cm.mk or device.mk. Edit any other mk files to match your needs and edit some c/c++ sources inside your device tree to match 64bit target (mostly are only type conversions).
And for blobs, you can extract it from my rom port or just use ido (redmi 3) vendor blobs (name/rename it into suitable vendor and target based on your device tree), why? It's because, it came from the same source tree as our device have, so that means it's compatible (just remove the fingerprint we don't need it). And the rest, try to find it by yourself and fix any build error by your hand (in my experience all error only comes from mismatch config & any source code inside the device tree).
Cheers
seiryu
Click to expand...
Click to collapse
lets hope .... If we could see cm 14 based on it
....
Is the cm branch in seiryu's repo good to go?
iamsubhranil said:
Is the cm branch in seiryu's repo good to go?
Click to expand...
Click to collapse
yes... it is working flawlessly . it is ported from its brother device (redmi 3) with the required changes made . and 64 bit based miui gave me 29850 score on antutu. i hope further development will start based on 64 bit architechture.
:fingers-crossed::laugh:
abhishek 9650 said:
yes... it is working flawlessly . it is ported from its brother device (redmi 3) with the required changes made . and 64 bit based miui gave me 29850 score on antutu. i hope further development will start based on 64 bit architechture.
:fingers-crossed::laugh:
Click to expand...
Click to collapse
What? how can you get this performance? I only got 20876
abhishek 9650 said:
yes... it is working flawlessly . it is ported from its brother device (redmi 3) with the required changes made . and 64 bit based miui gave me 29850 score on antutu. i hope further development will start based on 64 bit architechture.
:fingers-crossed::laugh:
Click to expand...
Click to collapse
Ya here's the point. Using just a 64bit kernel won't do anything much. The ROM has to be 64bit too.
iamsubhranil said:
ya here's the point. Using just a 64bit kernel won't do anything much. The rom has to be 64bit too.
Click to expand...
Click to collapse
yeah truly said ... But..... As the kernel got ported ... Rom can also be ported from its brother device(redmi 3) . There are lot of custom roms available on this forum for redmi 3 like our device redmi 2. They can be easily ported if done by the right person.
abhishek 9650 said:
yeah truly said ... But..... As the kernel got ported ... Rom can also be ported from its brother device(redmi 3) . There are lot of custom roms available on this forum for redmi 3 like our device redmi 2. They can be easily ported if done by the right person.
Click to expand...
Click to collapse
Hey hey one thing. SD410 is armv7 and that means it is not a true 64bit processor. SD430 in redmi3 on the other hand is a armv8 processor and that's why they are using all 64bit things. Then, why bother?
iamsubhranil said:
Hey hey one thing. SD410 is armv7 and that means it is not a true 64bit processor. SD430 in redmi3 on the other hand is a armv8 processor and that's why they are using all 64bit things. Then, why bother?
Click to expand...
Click to collapse
I guess the kernel sources has been ported from Redmi 3 (IDO) which has SD 616 and not SD 430.
Note:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
Click to expand...
Click to collapse
LineageOS Description:
LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What's working :
- Boots
- Display
- Wi-Fi
- Audio (except .wma, use VLC Player for that)
- Video
- Sensors
- LED
- Double tap to wake
Bugs:
- Camera (not working)
- Battery drain (because the camera service is restarting endlessly)
- The screen is reversed for about 3 seconds during the boot animation (won't fix)
Untestet:
- RIL
- Bluetooth
- GPS
Firmware:
Oreo firmware (at least for modem) is recommended, but Lineage 15.1 should also boot with Nougat firmware.
Kernel Source:
Github
Download:
Folder with all versions
lineage-15.1-20190218-UNOFFICIAL-X00I
Flashing notes:
You will need TWRP 3.2.2-0 or higher to flash this image. You can download it from here. See this thread for further information.
Warning:
Lineage 15.1 for ZC554KL is still far away from ready for daily use. The images in this thread are primary for developers.
XDA:DevDB Information
LineageOS 15.1, ROM for the Asus ZenFone 4 Max
Contributors
Voldracarno
Source Code: https://github.com/ThaFireDragonOfDeath/android_device_asus_X00I/tree/lineage-15.1
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Based On: LineageOS
Version Information
Status: Testing
Created 2019-02-19
Last Updated 2019-02-20
I tried it, and it's really really smooth, I can't wait for an update, if of course you plan to do one RIL and Wifi didn't work for me sadly, otherwise I would've kept it as a daily driver I really love the stock Oreo UI, thank you for your work, we always appreciate it
SammyInTheCity said:
I tried it, and it's really really smooth, I can't wait for an update, if of course you plan to do one RIL and Wifi didn't work for me sadly, otherwise I would've kept it as a daily driver I really love the stock Oreo UI, thank you for your work, we always appreciate it
Click to expand...
Click to collapse
Thanks .
Wifi doesn't work? Well that's a problem, because I can't fix this. For my device Wifi works without problems and I can't fix bugs which I can't reproduce on my device.
I have the Zenfone 4 Max ZC554KL with MSM8937 (Snapdragon 430), 3GB RAM and 32 GB Memory.
Are there multiple versions of the same device out there?
Edit: Make sure, that your modem firmware is for Android 8.
At the moment I concentrate on the camera bug, but that will take some time (because I'm on vacation in the next week).
Voldracarno said:
Thanks .
Wifi doesn't work? Well that's a problem, because I can't fix this. For my device Wifi works without problems and I can't fix bugs which I can't reproduce on my device.
I have the Zenfone 4 Max ZC554KL with MSM8937 (Snapdragon 430), 3GB RAM and 32 GB Memory.
Are there multiple versions of the same device out there?
Edit: Make sure, that your modem firmware is for Android 8.
At the moment I concentrate on the camera bug, but that will take some time (because I'm on vacation in the next week).
Click to expand...
Click to collapse
Yeah I have the same device as you although on CPU-Z it shows that I have a snapdragon 435 which IDK if there's a difference between the 430 and the 435, but yeah I have the 5.5 inch model with 32/3 GB RAM and rom
Here it is
SammyInTheCity said:
Here it is
Click to expand...
Click to collapse
The Snapdragon 435 (msm8940) is a different SoC. Maybe the WiFi driver, which I integrated in the kernel doesn't work for this SoC (I used the Wifi driver from the Xaomi Kernel for msm8937). Does your phone has already the Oreo Firmware?
Thats amazing.
I'll wait for the camera and battery drain fix before i test it.
How much internal space does the rom takes?
Voldracarno said:
The Snapdragon 435 (msm8940) is a different SoC. Maybe the WiFi driver, which I integrated in the kernel doesn't work for this SoC (I used the Wifi driver from the Xaomi Kernel for msm8937). Does your phone has already the Oreo Firmware?
Click to expand...
Click to collapse
Yes I do have Oreo ? are you sure it's a different SOC? My phone is the same model as yours and the processor speed and graphics processor is the exact same as well, is it just showing Snapdragon 435 to me? I mean I can't have a special phone, I just checked my phone details on another app and it shows 430, online I compared the 430 with 435 and the main differences were the ram speeds and the clock speed, from the 430 was 1.2 ghz while the 435 was 1.4ghz, but on the app that shows that I have a Snapdragon 430 it said 1.4 ghz so I'm hella confused now ?
ashye said:
Thats amazing.
I'll wait for the camera and battery drain fix before i test it.
How much internal space does the rom takes?
Click to expand...
Click to collapse
Thanks .
The system takes not more or less then Lineage 14.1 or Stock ROM. The size of the system partition is fixed by the vendor (ASUS).
SammyInTheCity said:
Yes I do have Oreo ? are you sure it's a different SOC? My phone is the same model as yours and the processor speed and graphics processor is the exact same as well, is it just showing Snapdragon 435 to me? I mean I can't have a special phone, I just checked my phone details on another app and it shows 430, online I compared the 430 with 435 and the main differences were the ram speeds and the clock speed, from the 430 was 1.2 ghz while the 435 was 1.4ghz, but on the app that shows that I have a Snapdragon 430 it said 1.4 ghz so I'm hella confused now
Click to expand...
Click to collapse
Theare are two versions of this phone. the regular Zenfone 4 Max 5.5 und the Zenfone 4 Max 5.5 Pro. The pro version have a Snapdragon 435:
"Powering the ZenFone 4 Max Pro is a Qualcomm Snapdragon 435 octa-core CPU clocked at 1.4Ghz, Adreno 505 GPU, and 3GB RAM. The only difference with the ZenFone 4 Max is the processor and it’s not even a big improvement. The SD435 has all the features of the SD430 with the addition of Snapdragon X9 LTE modem capable of LTE Cat7 downlink and LTE Cat13 uplink."
Read more at https://www.yugatech.com/mobile/asus-zenfone-4-max-pro-review-philippines-price/
Voldracarno said:
Thanks .
The system takes not more or less then Lineage 14.1 or Stock ROM. The size of the system partition is fixed by the vendor (ASUS).
Theare are two versions of this phone. the regular Zenfone 4 Max 5.5 und the Zenfone 4 Max 5.5 Pro. The pro version have a Snapdragon 435:
"Powering the ZenFone 4 Max Pro is a Qualcomm Snapdragon 435 octa-core CPU clocked at 1.4Ghz, Adreno 505 GPU, and 3GB RAM. The only difference with the ZenFone 4 Max is the processor and it’s not even a big improvement. The SD435 has all the features of the SD430 with the addition of Snapdragon X9 LTE modem capable of LTE Cat7 downlink and LTE Cat13 uplink."
Read more at https://www.yugatech.com/mobile/asus-zenfone-4-max-pro-review-philippines-price/
Click to expand...
Click to collapse
But I don't think I have the pro version, my cameras are 13mp+5 ???
SammyInTheCity said:
But I don't think I have the pro version, my cameras are 13mp+5 ???
Click to expand...
Click to collapse
Ok thats strange. But the fact is, it works on my device (so there must be a difference between our phones). And I have no Idea, whats the problem or how to fix it. Do you have a logcat and dmesg log?...
Voldracarno said:
Ok thats strange. But the fact is, it works on my device (so there must be a difference between our phones). And I have no Idea, whats the problem or how to fix it. Do you have a logcat and dmesg log?...
Click to expand...
Click to collapse
Nope ? as soon as I saw the RIL and wifi didn't work I uninstalled it, maybe I did something wrong when installing? I think I flashed Magisk right after flashing the rom or it was that device decrypt zip file I forgot which it was, could that be it?
SammyInTheCity said:
Nope as soon as I saw the RIL and wifi didn't work I uninstalled it, maybe I did something wrong when installing? I think I flashed Magisk right after flashing the rom or it was that device decrypt zip file I forgot which it was, could that be it?
Click to expand...
Click to collapse
You need the device decrypt file only on Stock ROM. And I didn't testet, what happens with magisk (I don't use this). But Root (the su zip from lineage) is already integrated. You can enable root in the developer settings (but System files can't be changed at this time, because the system partition is read only).
Hey guys, I would like to know if dev will also develop something for the ZF4 Selfie (X00LD), because it's a good pen device that ZenUi cuts too much of its potential performance.
LiiRulez said:
Hey guys, I would like to know if dev will also develop something for the ZF4 Selfie (X00LD), because it's a good pen device that ZenUi cuts too much of its potential performance.
Click to expand...
Click to collapse
I'm not talking for the dev, but I think its hard to develop a rom for a device he can't test it with, and are there no forums for your device?
LiiRulez said:
Hey guys, I would like to know if dev will also develop something for the ZF4 Selfie (X00LD), because it's a good pen device that ZenUi cuts too much of its potential performance.
Click to expand...
Click to collapse
SammyInTheCity said:
I'm not talking for the dev, but I think its hard to develop a rom for a device he can't test it with, and are there no forums for your device?
Click to expand...
Click to collapse
Developing for a device, which I don't have is impossible. For the example for the Zenfone 4 I produced about 20 not booting Images before the first fully booting image. After every build, I need a device to flash it and see in dmesg and logcat whats going on on the device (luckily it is possible to connect to the device with adb shell during the boot animation before the system is up to watch out, why the image don't boot).
Voldracarno said:
Developing for a device, which I don't have is impossible. For the example for the Zenfone 4 I produced about 20 not booting Images before the first fully booting image. After every build, I need a device to flash it and see in dmesg and logcat whats going on on the device (luckily it is possible to connect to the device with adb shell during the boot animation before the system is up to watch out, why the image don't boot).
Click to expand...
Click to collapse
I understand, it's a shame my X00LD is new, if I had another device I could start learning how to compile and do it, but ...
Using Android Studio, can I emulate a device like that?
if that's the case, I start my studies today.
LiiRulez said:
I understand, it's a shame my X00LD is new, if I had another device I could start learning how to compile and do it, but ...
Using Android Studio, can I emulate a device like that?
if that's the case, I start my studies today.
Click to expand...
Click to collapse
Android Studio can emulate a generic android device, but not a specific device. You will need Android studio only if you want to develop Android Apps. For porting Lineage you don't need it (I even haven't installed it on my build vm).
Here is a short version how I build the Lineage image (I will complete/correct this tutorial, if I'm on my PC at home) (you will need a Computer with much RAM. 16 GB RAM is recommended)
1. For building you will need to set up a Ubuntu 18.04 LTS VM (so you should know how to use Virtualbox) (the Ubuntu VM have to at least 8GB RAM). Or better: Use a real Ubuntu 18.04 LTS Machine.
2. Then you have to execute the steps from this tutorial from "Build LineageOS and LineageOS Recovery" to "Downloading the source code".
3.After that you have to put the local manifest (I will post that file later) in the .repo directory and sync again.
4. Then you will need to download and extract a Stock image from the ASUS Website for your device.
To extract you must first decompress the system image file with brotli and than convert it with sdat2img. After that you can mount the image and copy all the files out in a seperate directory.
5. After that you cd in the device directory and exec ./extract-files.sh PATH_TO_EXTRACTED_SYSTEM_FILES
6. At last you have to cd to the Lineage build dir and exec the following commands:
source build/envsetup.sh
export LC_ALL=C
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G" (if jack runs still out of memory during building increase the -Xmx value to 6G)
export WITH_SU=true (for integrated root)
lunch lineage_X00I-userdebug
make -j4 bacon (replace the 4 with the count of concurrent build jobs you want to use)
After that you you will find the flashable Zip in the out directory.
To rebuild after changes you can repeat step 6 (to rebuild only the changes files) or delete the content of the out directory and repeat step 6 (for a full rebuild).
And if you didn't close your terminal window you only need to exec the make -j4 bacon commend to start a rebuild.
To update the sources of android you have to run repo sync in the lineage directory.
If you want to learn more about Android:
https://source.android.com/setup
It may have been asked...
Is this rom compatible with the 2gb/16gb version of zenfone 4 max?
The RIL wont work for me but the wifi does.
SammyInTheCity said:
I tried it, and it's really really smooth, I can't wait for an update, if of course you plan to do one RIL and Wifi didn't work for me sadly, otherwise I would've kept it as a daily driver I really love the stock Oreo UI, thank you for your work, we always appreciate it
Click to expand...
Click to collapse
Same as yours bro..the RIL wont work for me except for the wifi. This is a perfect game changer rom if all the things in this rom is working.