Porting oxygen os - G 2014 Q&A, Help & Troubleshooting

Hey I have used oxygen os on my oneplus 3t and I wanted to port is to our titan. I am new to porting and stuff so I wanted to know from where could I get any help?
Regards Mehul

port it please i love oxygen os
but how long it will take to port

saurabh.k said:
port it please i love oxygen os
but how long it will take to port
Click to expand...
Click to collapse
If I can have the source code from somewhere I'll start immediately but I ain't able to find any help.

https://github.com/OnePlusOSS/android
this is source code

saurabh.k said:
https://github.com/OnePlusOSS/android
this is source code
Click to expand...
Click to collapse
I currently have some urgent work to do on the request of my dad as he has asked me to install LOS 14.1 on his device and recover all of his data as well. So once I finish with that I'll start porting oxygen OS as soon as possible.
Thanks in advance
Sorry to make you wait

okk its fine.but. port it for surely

I will start also trying to port oxygenos for titan, i'm downloading now code source

walidham said:
I will start also trying to port oxygenos for titan, i'm downloading now code source
Click to expand...
Click to collapse
Hey can we cooperate and do it together?
I'd like to do that as it's one of my initial projects so any help would be very much appreciated

i will be thankful if u guys port oxygen os for titan
good luck

Mehul03 said:
Hey can we cooperate and do it together?
I'd like to do that as it's one of my initial projects so any help would be very much appreciated
Click to expand...
Click to collapse
ok no problem, ur welcome, iant also cooeperate with u,
i downloaded source code version 6.0 and i'm start build it

walidham said:
ok no problem, ur welcome, iant also cooeperate with u,
i downloaded source code version 6.0 and i'm start build it
Click to expand...
Click to collapse
You downloaded the source code for which device, if you downloaded it for titan then where did you get it from?

Mehul03 said:
You downloaded the source code for which device, if you downloaded it for titan then where did you get it from?
Click to expand...
Click to collapse
from her : https://github.com/OnePlusOSS
and i used cm-13.0 device tree for titan, also i'm try to integrate kernel also.
I change device/qcom/common with cm , remove kernel-tests from vendor/qcom/opensource, but still have some error like this :
make: *** No rule to make target 'out/target/product/titan/kernel', needed by 'out/target/product/titan/dt.img'. Stop.

btw how long will it take to build the port
i am asking this bcoz i love oxygen os and i am thankfull for u guys that u r porting it

walidham said:
from her : https://github.com/OnePlusOSS
and i used cm-13.0 device tree for titan, also i'm try to integrate kernel also.
I change device/qcom/common with cm , remove kernel-tests from vendor/qcom/opensource, but still have some error like this :
make: *** No rule to make target 'out/target/product/titan/kernel', needed by 'out/target/product/titan/dt.img'. Stop.
Click to expand...
Click to collapse
Good luck for it nothing is impossible! but I have never seen oxygen os in any moto devices its very hard to make source compatible for titan ))))

Kranoner said:
Good luck for it nothing is impossible! but I have never seen oxygen os in any moto devices its very hard to make source compatible for titan ))))
Click to expand...
Click to collapse
We're trying
Let's see what happens

Kranoner said:
Good luck for it nothing is impossible! but I have never seen oxygen os in any moto devices its very hard to make source compatible for titan ))))
Click to expand...
Click to collapse
Thanks,
After 2h of compilation i'm stuck in sepolicy error
device/motorola/msm8226-common/sepolicy/rild.te:5:ERROR 'unknown type sysfs_battery_supply' at token ';' on line 13744:
I will change device/qcom/sepolicy with cm version and add vendor/cm and see if resolve this error

walidham said:
Thanks,
After 2h of compilation i'm stuck in sepolicy error
device/motorola/msm8226-common/sepolicy/rild.te:5:ERROR 'unknown type sysfs_battery_supply' at token ';' on line 13744:
I will change device/qcom/sepolicy with cm version and add vendor/cm and see if resolve this error
Click to expand...
Click to collapse
Wow... oxygen os will give oxygen to our device titan.
Good luck.
Sent from my Moto G 2014 using Tapatalk

neeraj121y said:
Wow... oxygen os will give oxygen to our device titan.
Good luck.
Click to expand...
Click to collapse
But I guess that's gonna take loads of time as presently the kernel is showing only errors

walidham said:
Thanks,
After 2h of compilation i'm stuck in sepolicy error
device/motorola/msm8226-common/sepolicy/rild.te:5:ERROR 'unknown type sysfs_battery_supply' at token ';' on line 13744:
I will change device/qcom/sepolicy with cm version and add vendor/cm and see if resolve this error
Click to expand...
Click to collapse
Have you tried MoKee instead of LOS?
https://github.com/MoKee/android_device_motorola_titan
https://github.com/MoKee/android_vendor_motorola_titan
They use different kernel.

PsyClip-R said:
Have you tried MoKee instead of LOS?
https://github.com/MoKee/android_device_motorola_titan
https://github.com/MoKee/android_vendor_motorola_titan
They use different kernel.
Click to expand...
Click to collapse
Thanks for help
I will try,
I changed the original externel/sepolicy with LOS , and after 3h of compilation i got this error :
Code:
out/target/product/titan/obj/ETC/sepolicy_intermediates/policy.conf:1:ERROR 'syntax error' at token '' on line 1:
When i chek the file i found that is empty.

Related

[Q] Wich files to edit when porting from TITAN to THEA

Hello XDA,
As all of you may know there is a 4G LTE version of the Moto G 2nd Generation, better known under the model number XT1072 and XT1079. Unfortunately almost all ROMs are created for the titan. While the titan ROMs boot just fine because of the almost exact HW, when installing those ROMS we don't get 4G and the speakers and earpeace, especially while calling, get unusable.
So instead of sitting on my butt and asking LUK to develop a 4G patch, can anyone guide me ? I know how to setup the SDK and know the theory about compiling from source but have never done it. Do we have to recompile something or can I just replace certain files with some other files from the (one and only) CM12.1 port for the THEA ?
This must be doable I think.
soulaiman said:
Hello XDA,
As all of you may know there is a 4G LTE version of the Moto G 2nd Generation, better known under the model number XT1072 and XT1079. Unfortunately almost all ROMs are created for the titan. While the titan ROMs boot just fine because of the almost exact HW, when installing those ROMS we don't get 4G and the speakers and earpeace, especially while calling, get unusable.
So instead of sitting on my butt and asking LUK to develop a 4G patch, can anyone guide me ? I know how to setup the SDK and know the theory about compiling from source but have never done it. Do we have to recompile something or can I just replace certain files with some other files from the (one and only) CM12.1 port for the THEA ?
This must be doable I think.
Click to expand...
Click to collapse
It's easy but I'm not going to help in dirty ports. Build roms from source instead, this is my recommendation.
If you want to learn how to build roms from source I can help you but you'll need to have Linux machine to do that.
LuK1337 said:
It's easy but I'm not going to help in dirty ports. Build roms from source instead, this is my recommendation.
If you want to learn how to build roms from source I can help you but you'll need to have Linux machine to do that.
Click to expand...
Click to collapse
Thanks for the reply Luk, I also think that building from source is the same. I have followed many, many guides but somehow the part where I have to point to the thea specific HW blobs fails. The extract-files.sh points to ./../../$VENDOR/msm8226-common/setup-makefiles.sh [email protected] wich I understand is the motorola folder in the WORKING_DIRECTORY. Somehow I can't find the right repo on github to point it at.
Sorry for the noobish Q... There is a first time for everything.
EDIT: I wanted to say that I think that porting from source is better, not the same.
soulaiman said:
Thanks for the reply Luk, I also think that building from source is the same. I have followed many, many guides but somehow the part where I have to point to the thea specific HW blobs fails. The extract-files.sh points to ./../../$VENDOR/msm8226-common/setup-makefiles.sh [email protected] wich I understand is the motorola folder in the WORKING_DIRECTORY. Somehow I can't find the right repo on github to point it at.
Sorry for the noobish Q... There is a first time for everything.
EDIT: I wanted to say that I think that porting from source is better, not the same.
Click to expand...
Click to collapse
You could use blobs from TheMuppets instead: https://github.com/TheMuppets/proprietary_vendor_motorola
LuK1337 said:
You could use blobs from TheMuppets instead: https://github.com/TheMuppets/proprietary_vendor_motorola
Click to expand...
Click to collapse
Thanks !!
I was really confused and got the CM12 branch instead the first time. Lol now I feel like a noob haha (wich I am when it comes to developing).
Will post here if I have any Questions/errors (that google can't help me with).
:good:
soulaiman said:
Thanks !!
I was really confused and got the CM12 branch instead the first time. Lol now I feel like a noob haha (wich I am when it comes to developing).
Will post here if I have any Questions/errors (that google can't help me with).
:good:
Click to expand...
Click to collapse
Also don't use git clone manually, make your local_manifests xml instead.
LuK1337 said:
Also don't use git clone manually, make your local_manifests xml instead.
Click to expand...
Click to collapse
Oh okay, I will look into that in a minute.
Now I got an issue that really got my head hurting... When I do the lunch command, my Moto G isn't in the list of devices... What Am I doing wrong ?
I have got a directory called thea in WORKING_DIRECTORY/device/moto/thea
I have got also an old thea directory (cm12.1) in WORKING_DIRECTORY/thea and WORKING_DIRECTORY/thea2
All the blobs from TheMuppits repo are in de device/moto/thea dir
All the poperiatary blobs are also in the XT907 dir...
I've done the
Code:
cd /device/moto/thea
init android-5.1.1_rx
repo sync
and let it finish without errors.
Once I get over this I will be good to go.
Oh, and thanks for sharing the knowledge !
soulaiman said:
Oh okay, I will look into that in a minute.
Now I got an issue that really got my head hurting... When I do the lunch command, my Moto G isn't in the list of devices... What Am I doing wrong ?
I have got a directory called thea in WORKING_DIRECTORY/device/moto/thea
I have got also an old thea directory (cm12.1) in WORKING_DIRECTORY/thea and WORKING_DIRECTORY/thea2
All the blobs from TheMuppits repo are in de device/moto/thea dir
All the poperiatary blobs are also in the XT907 dir...
I've done the
Code:
cd /device/moto/thea
init android-5.1.1_rx
repo sync
and let it finish without errors.
Once I get over this I will be good to go.
Oh, and thanks for sharing the knowledge !
Click to expand...
Click to collapse
Your directories are bit off, it should be looking like this.
CM/device/motorola/msm8226-common
CM/device/motorola/thea
CM/device/qcom/sepolicy
CM/device/qcom/common
CM/kernel/mototola/msm8226
CM/vendor/motorola
Don't forget about rest of CM source :3
LuK1337 said:
Your directories are bit off, it should be looking like this.
CM/device/motorola/msm8226-common
CM/device/motorola/thea
CM/device/qcom/sepolicy
CM/device/qcom/common
CM/kernel/mototola/msm8226
CM/vendor/motorola
Don't forget about rest of CM source :3
Click to expand...
Click to collapse
Oh okay got ya. Do I have to do some kind of refresh command when I touch the folders ?
soulaiman said:
Oh okay got ya. Do I have to do some kind of refresh command when I touch the folders ?
Click to expand...
Click to collapse
If you're building CM then all you have to do is to get vendor, do envsetup.sh and just brunch thea.
LuK1337 said:
If you're building CM then all you have to do is to get vendor, do envsetup.sh and just brunch thea.
Click to expand...
Click to collapse
I'm trying to build an AOSP build like yours to learn. I'm following this guide:
http://forum.xda-developers.com/chef-central/android/tutorial-compile-lollipop-ubuntu-t2929410
I guess it is similar in steps as what you described ?
Even with all the files in the correct directories when I exec the lunch command it doesn't list the moto G. See screenshot.
soulaiman said:
I'm trying to build an AOSP build like yours to learn. I'm following this guide:
http://forum.xda-developers.com/chef-central/android/tutorial-compile-lollipop-ubuntu-t2929410
I guess it is similar in steps as what you described ?
Even with all the files in the correct directories when I exec the lunch command it doesn't list the moto G. See screenshot.
Click to expand...
Click to collapse
You won't get clean AOSP to build, also u messed up directories as you put vendor in device.
If you have hangouts you can add me ( https://plus.google.com/108108436166506337243 ) so I could help you live.
LuK1337 said:
You won't get clean AOSP to build, also u messed up directories as you put vendor in device.
If you have hangouts you can add me ( https://plus.google.com/108108436166506337243 ) so I could help you live.
Click to expand...
Click to collapse
Thanks for all the help man, really appreciate it !
Yeah stupid fault of my part. Will try it.
About Hangouts: My hangouts app allways FC's on me so that will be for another day. I'll add you asap ! Thanks!
Also it is 1:45AM here so
soulaiman said:
Thanks for all the help man, really appreciate it !
Yeah stupid fault of my part. Will try it.
About Hangouts: My hangouts app allways FC's on me so that will be for another day. I'll add you asap ! Thanks!
Also it is 1:45AM here so [emoji14]
Click to expand...
Click to collapse
K, I'm in the same time zone fyi.

Cyanogenmod 13 - ZE500KL

Planning to build CM13 for our device. Looking for co-developers
conanedogawa1011 said:
Planning to build CM13 for our device. Looking for co-developers
Click to expand...
Click to collapse
Isn't ZE500KL model with no BL unlock method? If so don't waste your time, you won't get it to boot.
Build straight AOSP for ZE551KL, instead.
HampTheToker said:
Build straight AOSP for ZE551KL, instead.
Click to expand...
Click to collapse
Building straight AOSP isn't worth time. Bringing up the RIL and even getting it to boot would be bit painful.
On the other side there's CM which is based on AOSP+CAF and it's much easier to work on.
BTW drop me mail so we can talk more.
LuK1337 said:
Building straight AOSP isn't worth time. Bringing up the RIL and even getting it to boot would be bit painful.
On the other side there's CM which is based on AOSP+CAF and it's much easier to work on.
BTW drop me mail so we can talk more.
Click to expand...
Click to collapse
Check your inbox.
Bootloader is locked right now, but since we have twrp acces and we can untamper the bootloader we probably can flash a custom rom
Jhyrachy said:
Bootloader is locked right now, but since we have twrp acces and we can untamper the bootloader we probably can flash a custom rom
Click to expand...
Click to collapse
Twrp means nothing. U won't boot CM on locked BL.
Sent from my Moto G 2014 LTE using Tapatalk
LuK1337 said:
Twrp means nothing. U won't boot CM on locked BL.
Sent from my Moto G 2014 LTE using Tapatalk
Click to expand...
Click to collapse
ok, then we are screwed
Hi guys
I want to build CM for ZE551KL (maybe other devices supported too), see this thread and maybe we can do some work together, takea look at http://forum.xda-developers.com/zen...king-porting-cm-ze551kl-maybe-models-t3315489
@ HampTheToker, I send you a pm to see what are you working on
This is the place for gathering info to build CM for ZE551KL, any help is appreciated
cristianpark said:
Hi guys
I want to build CM for ZE551KL (maybe other devices supported too), see this thread and maybe we can do some work together, takea look at http://forum.xda-developers.com/zen...king-porting-cm-ze551kl-maybe-models-t3315489
@ HampTheToker, I send you a pm to see what are you working on
This is the place for gathering info to build CM for ZE551KL, any help is appreciated
Click to expand...
Click to collapse
Aren't all MSM8939 (Snapdragon 615/616) and MSM8916 (Snapdragon 410) almost generic devices? So in theory you can get a ROM from a different device to boot but not all sensors/components will work, particularly the camera, which supposedly has laser autofocus. The ZE500KL has almost the same specs as the Android One G2 phones (Snapdragon 410 with 5" screen) being sold in various countries. Maybe that's why the bootloader is still locked? Asus doesn't want users flashing ROMs from other devices.
cristianpark said:
Hi guys
I want to build CM for ZE551KL (maybe other devices supported too), see this thread and maybe we can do some work together, takea look at http://forum.xda-developers.com/zen...king-porting-cm-ze551kl-maybe-models-t3315489
@ HampTheToker, I send you a pm to see what are you working on
This is the place for gathering info to build CM for ZE551KL, any help is appreciated
Click to expand...
Click to collapse
Too late: http://forum.xda-developers.com/zenfone-2-laser/orig-development
LuK1337 said:
Isn't ZE500KL model with no BL unlock method? . . .
Click to expand...
Click to collapse
Now that we have an (unofficial) unlock method, there's a chance... While I'm still here, I'm trying to compile cm12.1 for this device, but I keep running into problems.
i can't ensure unofficial unlock method is really work, or just skip signature validation.
if you still work on, it's good.
please note, LuK1337 had tried to build cm13 , and it still can't boot on ZE500KL.
you can check his repo on github.
What is the reason behind ASUS not releasing Bootloader Unlocker for this particular device? It seems strange with Zf 5 & 6 and almost all variants of Zf2 having Official Bootloader Unlocker tool this one having no Official BL Unlocker Tool. Any specific reason that anyone knows?
MiauLightouch said:
. . .
please note, LuK1337 had tried to build cm13 , and it still can't boot on ZE500KL.
you can check his repo on github.
Click to expand...
Click to collapse
I checked the github repos. From what I see, it's supposed to be a 64 bit build, right? If the 64 bit build does not boot, it might be worth the try to make a 32 bit build.
@MiauLightouch and / or to anyone:
When unpacking the source code for the latest kernel, do you get the same error as this?
Code:
$ tar -zxvf ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz
kernel/
kernel/fs/
. . .
kernel/drivers/media/dvb-frontends/or51132.c
kernel/drivers/media/dvb-frontends/drxd_hard.c
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
$ gunzip -v ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz
ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz:
gzip: ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz: unexpected end of file
wiiliamchung said:
@MiauLightouch and / or to anyone:
When unpacking the source code for the latest kernel, do you get the same error as this?
Code:
$ tar -zxvf ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz
kernel/
kernel/fs/
. . .
kernel/drivers/media/dvb-frontends/or51132.c
kernel/drivers/media/dvb-frontends/drxd_hard.c
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
$ gunzip -v ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz
ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz:
gzip: ASUS_ZE500KL-13.10.6.16-kernel-src.tar.gz: unexpected end of file
Click to expand...
Click to collapse
yes, gnutar, bsdtar show it's a broken file.
i had send issue to asus, and they're investigating.
LuK1337 said:
Isn't ZE500KL model with no BL unlock method? If so don't waste your time, you won't get it to boot.
Click to expand...
Click to collapse
Hello zenfoneze 500kl now have bootloader unlocked have unlock it
Any luck on cm13 for ze500kl
Sent from my ASUS_Z00ED using XDA-Developers mobile app
Now that BL is unlocked, hopefully some dev picks up the project.

cm Bootable source (request)

Before this is flagged as duplicate thread. Or a simple link to the source code of raymanfx source code. Or even the s6 edge plus port.
If I compile just using source code. It doesn't boot, I've tried all I have that I'm limited at.. some driver error Possibly narrowed it down to it being the defconfig.
Need the missing elf file and a working defconfig. (I am trying to fix some bugs until a more suited release is made..
Thank you
@RaymanFX @Ducter
And anyone else with knowledge
LiL_Assassin said:
Before this is flagged as duplicate thread. Or a simple link to the source code of raymanfx source code. Or even the s6 edge plus port.
If I compile just using source code. It doesn't boot, I've tried all I have that I'm limited at.. some driver error Possibly narrowed it down to it being the defconfig.
Need the missing elf file and a working defconfig. (I am trying to fix some bugs until a more suited release is made..
Thank you
@RaymanFX @Ducter
And anyone else with knowledge
Click to expand...
Click to collapse
Have you tried removing the 'OMX' folders from the system lib / lib64 folder? After you compiled the build.
Battlehero said:
Have you tried removing the 'OMX' folders from the system lib / lib64 folder? After you compiled the build.
Click to expand...
Click to collapse
Sorry man my apologies. I am trying the kernel side of things not the actual rom
LiL_Assassin said:
Sorry man my apologies. I am trying the kernel side of things not the actual rom
Click to expand...
Click to collapse
What device variant do you have?
Battlehero said:
What device variant do you have?
Click to expand...
Click to collapse
My friend has c and I have I
LiL_Assassin said:
My friend has c and I have I
Click to expand...
Click to collapse
Upload the build and I'll have a gander.
Battlehero said:
Upload the build and I'll have a gander.
Click to expand...
Click to collapse
I sent you a pm.
Battlehero said:
Upload the build and I'll have a gander.
Click to expand...
Click to collapse
Though if the pm or this doesn't suit you. Here's an upload for you man. We could be doing things wrong.. But we would love the insight. (We think this is the furthest we have managed)
https://www.dropbox.com/sh/oaenmo464fxoycz/AAD1uk-18MaNp0fQVyyjTvPAa?dl=0

Trying to build Halium for tab 2

So I'm trying to get halium working for tab 2 (we can get ubuntu touch and maybe even plasma mobile with help of it) and I get this error
Code:
arch/arm/boot/compressed/atags_to_fdt.o: In function `merge_fdt_bootargs':
atags_to_fdt.c:(.text+0x20c): undefined reference to `__stack_chk_fail'
atags_to_fdt.c:(.text+0x210): undefined reference to `__stack_chk_guard'
It seems to be a toolchain error any help?
"It would appear that the -mstack-protector-guard option is only for backwards compatibility with how the stack protector worked in the past. In the past the canary was in a global variable. Later it was switched to TLS. It would appear that the operating system / libc you use either removed or never had support for the global variable canary, so only TLS works.
Don't touch the -mstack-protector-guard option and everything should work. The default should be fine when you use -fstack-protector-all."
"Provide __stack_chk_guard with a random value in c file, avoid using regular values like all zero's or FF's because the stack can easily get these values during any memory operation. Wiki on providing magic number implementation. This __stack_chk_guard will be placed at the top and bottom of the stack, which will be checked during every stack access. Any change in the value implies a corrupted stack and returns with error providing the stack protection.
unsigned long __stack_chk_guard;
void __stack_chk_guard_setup(void)
{
__stack_chk_guard = 0xBAAAAAAD;//provide some magic numbers
}
void __stack_chk_fail(void)
{
/* Error message */
}// will be called when guard variable is corrupted "
"There are two ways to remove this error: 1. From the compiler option disable(comment out) the "stack guard".
Define __stack_chk_guard in you c file.
When you define __stack_chk_guard make sure you provide random value to it. For providing random value you need to pass as an argument to the random function.
For any further detail you can refer to the compiler manual."
"For those that get this error in bare metal software development with a custom linker script, make sure to pass the option -nostdlib option:
gcc -nostdlib
since Ubuntu 16.04 for example enables the stack protection by default on the compiler. man gcc says:
NOTE: In Ubuntu 14.10 and later versions, -fstack-protector-strong is enabled by default for C, C++, ObjC, ObjC++, if none of -fno-stack-protector, -nostdlib, nor -ffreestanding are found.
-fno-stack-protector also solved it for me, but you should likely tell your poor compiler that you are doing baremetal stuff to prevent other such problems.
I'm guessing this is because the feature relies on symbols which are normally defined if a linker script is not given? But TODO I found no mention of those symbols by dumping the default linker script with:
aarch64-linux-gnu-gcc -Wl,-verbose main.c
so I'm not sure.
I grepped GCC 6.4.0 source code and it suggests that the symbol comes from libgcc2.c at gcc/doc/tm.texi:
The default version of this hook creates a variable called @samp{__stack_chk_guard}, which is normally defined in @file{libgcc2.c}."
Click to expand...
Click to collapse
source: https://stackoverflow.com/questions/27290086/gcc-canaries-undefined-reference-to-stack-chk-guard
i cant wait to use this and your other project (sailfishos)!
wizzer48 said:
i cant wait to use this and your other project (sailfishos)!
Click to expand...
Click to collapse
Yes even I can't wait for both as there is no latest development for our tab !!!
Arc android said:
Yes even I can't wait for both as there is no latest development for our tab !!!
Click to expand...
Click to collapse
Halium doesnt seem to work i tried but to no avail
Mithil17 said:
Halium doesnt seem to work i tried but to no avail
Click to expand...
Click to collapse
Its OK at least you tried to build it !!
Hey I have a great idea Mithil17, can you try to build MIUI 7 for galaxy tab 2? There was an attempt to build it earlier but it wasn't successful.
Arc android said:
Hey I have a great idea Mithil17, can you try to build MIUI 7 for galaxy tab 2? There was an attempt to build it earlier but it wasn't successful.
Click to expand...
Click to collapse
MIUI ??? Why do you wanna china bloadware sooo badly?? what's wrong with LOS or any other bloadware free ROMs?
Plus it's gonna be laggy as h3ll... done and forgotten.
drnightshadow said:
MIUI ??? Why do you wanna china bloadware sooo badly?? what's wrong with LOS or any other bloadware free ROMs?
Plus it's gonna be laggy as h3ll... done and forgotten.
Click to expand...
Click to collapse
Yeah I know it's Chinese but it looks beautiful. You'll know it if you have tried mini 5 for tab 2.
Arc android said:
Yeah I know it's Chinese but it looks beautiful. You'll know it if you have tried mini 5 for tab 2.haha
Click to expand...
Click to collapse
Haha, no thank you! I'm happy with LOS and RR ROMS. I own redmi note 5 pro but never used MIUI [email protected], I unlocked bootloader and installed LOS asap. I like to have privacy in my hand and I hate when OS wanna rape my privacy. My privacy isn't on sale.
drnightshadow said:
Haha, no thank you! I'm happy with LOS and RR ROMS. I own redmi note 5 pro but never used MIUI [email protected], I unlocked bootloader and installed LOS asap. I like to have privacy in my hand and I hate when OS wanna rape my privacy. My privacy isn't on sale.
Click to expand...
Click to collapse
If you actually want this much privacy, here's something for you : https://androidfilehost.com/?fid=17248734326145705104
An unofficial /e/os build for your device. Just trying to help you in case you didn't know this. That's all !
Arc android said:
If you actually want this much privacy, here's something for you : https://androidfilehost.com/?fid=17248734326145705104
An unofficial /e/os build for your device. Just trying to help you in case you didn't know this. That's all !
Click to expand...
Click to collapse
whyred = Redmi Note 5. Not SGT2
Are you sure? It can brick device​
levider said:
whyred = Redmi Note 5. Not SGT2​Are you sure? It can brick device​
Click to expand...
Click to collapse
Note 5/pro = whyred that's what Google says.
Also in the above link, it is made for redmi note 5 pro
Official /e/ forum link : https://www.google.com/url?sa=t&sou...FjACegQIBBAC&usg=AOvVaw1iyAyl2Ur__Xid-tw1cRCz
I hope I am not doing anything wrong
Arc android said:
Note 5/pro = whyred that's what Google says.
Also in the above link, it is made for redmi note 5 pro
Click to expand...
Click to collapse
Dude, this is not Redmi Note 5 thread.
Update: It boots now, Sources are in https://github.com/Halium/projectmanagement/issues/238 no ui still
Mithil17 said:
Update: It boots now, Sources are in https://github.com/Halium/projectmanagement/issues/238 no ui still
Click to expand...
Click to collapse
So we can install it now ???? !!!!!
Arc android said:
So we can install it now ???? !!!!!
Click to expand...
Click to collapse
Well you can just install it, it just boots, no ui/display
Mithil17 said:
Well you can just install it, it just boots, no ui/display
Click to expand...
Click to collapse
So it means even if I install it, it can't be operated. Why some things are way too difficult for tab 2 ?? I mean miui7, sfos, treble, Oreo and now haloum are ported to other devices too that are mostly similar to ours but running them on tab 2 is a bit more difficult.

General Kernel source finally released

It finally happened the source code is released
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/spes-r-oss
Leaving this also as a place for first discussions. So, go for it.
NeoPreacher said:
It finally happened the source code is released
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/spes-r-oss
Leaving this also as a place for first discussions. So, go for it.
Click to expand...
Click to collapse
Finally!!!
Let's gooooooooooo!!!!!!!!!
It only took them a year and three months to release it.
Oh god...
NeoSDAP said:
It only took them a year and three months to release it.
Oh god...
Click to expand...
Click to collapse
lmao
Snapdragon_Mid_2020.SPF.1.0.1R_r00024.0
lol it makes even more sad.
Does the Kernel being for Android 11 mean its useless for us? Can Android 12/13 roms not be made with it? I really just wanted working doubletap2wake, would the Android 11 Kernel make that happen? Thank you!
Zylam Marex said:
Does the Kernel being for Android 11 mean its useless for us? Can Android 12/13 roms not be made with it? I really just wanted working doubletap2wake, would the Android 11 Kernel make that happen? Thank you!
Click to expand...
Click to collapse
No; sure; works already flawless in PA, but sure why not. There are others problems eg. missing drivers in source and missing devs in group. Fyi: many people using a13 custom rom with a11 stock kernel actually on rn11
nice. they can now close 1k issues regarding spes kernel. hahaha
pulsar said:
nice. they can now close 1k issues regarding spes kernel. hahaha
Click to expand...
Click to collapse
There are some people fixing the issues with source already!
NeoPreacher said:
No; sure; works already flawless in PA, but sure why not. There are others problems eg. missing drivers in source and missing devs in group. Fyi: many people using a13 custom rom with a11 stock kernel actually on rn11
Click to expand...
Click to collapse
Oh wow really, tape2wake works great in PA? I have tried almost all roms but PA. Thank you for letting me know, a shame the Kernel is missing drivers and such. I wonder why Xiaomi is trying to make sure the Note 11 is never developed for, it's such a good phone with a custom rom.
BerserkSlayer said:
There are some people fixing the issues with source already!
Click to expand...
Click to collapse
Haha I think Pulsar was referring to Xiaomi's github page where there would be like 10 posts a day asking for Spes kernel
tap2wake also works on PixelExperience, FWIW.
EDIT: board_id.h is present in the same directory, not in include/. \
I've tried compiling the kernel from Xiaomi's sources and stumbled across an error about a missing header file:
Code:
drivers/misc/st21nfc.c:43:22: fatal error: board_id.h: No such file or directory
#include <board_id.h>
^
compilation terminated.
make[2]: *** [scripts/Makefile.build:338: drivers/misc/st21nfc.o] Error 1
make[1]: *** [scripts/Makefile.build:642: drivers/misc] Error 2
This file board_id.h does not exist in the include/ folder. Perhaps Xiaomi uploaded incomplete sources?
aureljared said:
tap2wake also works on PixelExperience, FWIW.
EDIT: board_id.h is present in the same directory, not in include/. \
I've tried compiling the kernel from Xiaomi's sources and stumbled across an error about a missing header file:
Code:
drivers/misc/st21nfc.c:43:22: fatal error: board_id.h: No such file or directory
#include <board_id.h>
^
compilation terminated.
make[2]: *** [scripts/Makefile.build:338: drivers/misc/st21nfc.o] Error 1
make[1]: *** [scripts/Makefile.build:642: drivers/misc] Error 2
This file board_id.h does not exist in the include/ folder. Perhaps Xiaomi uploaded incomplete sources?
Click to expand...
Click to collapse
yes
Much easier to compile this kernel using Clang rather than GCC. Still getting used to it, it's been a good while since my last kernel compile, haha.
Does anyone know how to build a new boot image by hand? I have a working boot.img for PixelExperience and I'd like to replace the kernel with one that I built for testing, but I'm not sure if I should still use mkbootimg like with older Android devices as this is the first time I'll be dealing with a device that uses dtb/dtbo files. Any insights would be welcome.
aureljared said:
EDIT: board_id.h is present in the same directory, not in include/.
Click to expand...
Click to collapse
Not an expert here. What exactly are the benefits of this? What does it mean for custom ROM development?
SAM209 said:
Not an expert here. What exactly are the benefits of this? What does it mean for custom ROM development?
Click to expand...
Click to collapse
For one, it is theoretically easier to keep the device up to date without having to wait for Xiaomi's updates. Some changes that come with Android's monthly security patches are made to the kernel, for example, and having the kernel source code means we can apply those patches faster than if we were to wait for updated kernel builds from Xiaomi.
Some ROMs like LineageOS also require kernels to be built from source (i.e., not prebuilt) for a device to be granted official status.
Hello,
Can someone guide me on how to install that kernel on redmi note 11 (Pixel Experience custom os)
Already installed twrp 3.7.0 but gives me some errors all the time like Invalid zip file format!.
I download it as zip from github and put it in twrp folder and install it from there.
Thanks in advance
jasmin811 said:
Hello,
Can someone guide me on how to install that kernel on redmi note 11 (Pixel Experience custom os)
Already installed twrp 3.7.0 but gives me some errors all the time like Invalid zip file format!.
I download it as zip from github and put it in twrp folder and install it from there.
Thanks in advance
Click to expand...
Click to collapse
There's nothing to flash here. Only the link to the kernel source. There's still some work to do for a flashable kernel (compiling eg). Also there are drivers missing in the source it seems. What you tried was flashing the uncompiled kernel source package i guess and that.. doesn't work
Oh ok,I though it was finished already.

Categories

Resources