[ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 - tissot

Status
Not open for further replies.
Search This thread

zeyaan

Senior Member
Jun 11, 2012
917
644
Bangalore
OnePlus 5T
OnePlus 6
Finally the steam is picking up. Let the fire begin. Cannot wait to try Franco kernel and various roms that I anticipate. Kudos to all the people who helped at XDA, Twitter, change.org and various other media to presurrise Xiaomi to have them released. It's a success for the community as a whole. Cheers guys???
 

Uvneshkumar

Senior Member
Feb 10, 2017
317
405
27
Chennai
Google Pixel 7 Pro
[ 16% 8702/53341] Building Kernel
FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ/.config; then echo "Building DTBs"; make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ/.config; then echo "Building Kernel Modules"; make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" modules; fi )"
make: Entering directory '/home/uvnesh/LineageOS/kernel/xiaomi/msm8953'
make[1]: Entering directory '/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ'




Got this error when building ROM. Some changes needed in kernel. What should I do?
 

methuselah

Senior Member
Aug 25, 2011
3,992
2,173
Everyone of you should thank you @zelendel , he is the one who helped in getting this issue listed on XDA ..... For he Is always the best mod.... Kudos to you and thank you to Franco too for tearing into Chinese company
 
  • Like
Reactions: legendavey

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
[ 16% 8702/53341] Building Kernel
FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ/.config; then echo "Building DTBs"; make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ/.config; then echo "Building Kernel Modules"; make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8953 O=/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" modules; fi )"
make: Entering directory '/home/uvnesh/LineageOS/kernel/xiaomi/msm8953'
make[1]: Entering directory '/home/uvnesh/LineageOS/out/target/product/tissot/obj/KERNEL_OBJ'




Got this error when building ROM. Some changes needed in kernel. What should I do?
Try to remove -fno-pic flag from makefile.
 
  • Like
Reactions: gusbalaa

arjunbalan1994

Senior Member
Nov 9, 2014
149
28
Sivakasi
Xiaomi 11 Lite 5g NE
TAP2 WAKE!!

Guys I'm getting too many errors in building kernel. So waiting for anyone to make a stable kernel source and upload it.

DOUBLE TAP SCREEN WAKEUP feature is not available for a1 but redmi note 4 has it .
so I am just asking whether its possible to port that feature to our device while making a good kernel??
 
Last edited:

Uvneshkumar

Senior Member
Feb 10, 2017
317
405
27
Chennai
Google Pixel 7 Pro
DOUBLE TAP SCREEN WAKEUP feature is not available for a1 but redmi note 4 has it .
so I am just asking whether its possible to port that feature to our device while making a good kernel??

Yes it can be done. Once we get a functional kernel source, all these tweaks like DT2W can be added to the kernel.

---------- Post added at 06:53 AM ---------- Previous post was at 06:38 AM ----------

I see lot of people blaming Xiaomi for releasing Nougat kernel sources. But I think this is better than without having the kernel source. Now I'd love to use Lineage 14.1 rather than using Stock OREO. Who else have the same feeling. I'd be happy to see a bug free Lineage 14.1 ROM.

But still not releasing the Kernel sources of OREO was bit disappointing, but definitely not the worst thing.
 
  • Like
Reactions: LouisMuruu

Uvneshkumar

Senior Member
Feb 10, 2017
317
405
27
Chennai
Google Pixel 7 Pro
Is it even possible to make an Oreo kernel by modifying the xiaomi-provided nougat kernel?

Yeah definitely possible. But needs lot of work.

For instance, take Redmi Note 3 (Kenzo). It's sources were release for Lollipop and today it has fully functional kernel source for all Lollipop, Marshmallow, Nougat, OREO including 8.1.

So it is definitely possible but also not at all easy.
 
  • Like
Reactions: JaadiBooti

tank0412

Senior Member
May 24, 2014
2,833
5,470
Saint Petersburg
Is it even possible to make an Oreo kernel by modifying the xiaomi-provided nougat kernel?
Minimum it is require binder patches.
It will be enough at least for boot Oreo. But it is only temporary solution.
But i think somebody must take latest caf msm-3.18 branch and add there all tissot drivers from Noughat Xiaomi kernel sources. It will be very hard but somebody myst do it.
 

JaadiBooti

Senior Member
Aug 8, 2017
118
25
Minimum it is require binder patches.
It will be enough at least for boot Oreo. But it is only temporary solution.
But i think somebody must take latest caf msm-3.18 branch and add there all tissot drivers from Noughat Xiaomi kernel sources. It will be very hard but somebody myst do it.
So basically instead of adding stuff to the kernel, we add drivers from the kernel to a stock motherboard kernel?
 

Rajeev

Inactive Recognized Contributor
Nov 24, 2012
16,306
26,540
Chennai , I N D I A
Xiaomi 13 Pro
Yeah definitely possible. But needs lot of work.

For instance, take Redmi Note 3 (Kenzo). It's sources were release for Lollipop and today it has fully functional kernel source for all Lollipop, Marshmallow, Nougat, OREO including 8.1.

So it is definitely possible but also not at all easy.

Hei macha. One doubt. Are u sure we will get voLTE with these custom roms ? :D
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 103
    LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1.2 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

    http%3A%2F%2Fimg.imgland.net%2FBINawli.png


    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community.

    http%3A%2F%2Fi.imgur.com%2Fv3ogd3K.png

    This thread is for Unofficial LineageOS 14.1 builds for tissot. The following will not be supported here:
    Custom kernels
    Mods
    Xposed
    Magisk

    I don't support Xposed/Magisk and any logcat which includes a Xposed/Magisk module will be ignored. You're kindly invited to not report bugs if you:
    Flashed a custom kernel
    Installed or did mods from untrusted sources
    Modified system files

    http%3A%2F%2Fimg.imgland.net%2F_4JAwRZ.png

    First time flashing LineageOS 14.1 on your device, or coming from another ROM?
    Download the zip and my twrp
    fastboot boot twrp
    Wipe your data partition fully (Yes you will need to do this or it will not work properly)
    Flash LineageOS
    Google apps are already included do not flash any!
    Reboot

    If you are on noguat then your fine flash normally like above

    If you are on oreo then follow these steps
    1. flash fastboot N images
    2. Boot the system once
    3. Reboot to bootloader
    4. fastboot boot twrp.img
    5. wipe everything (data, system, cache, internal)
    6. reboot bootloader
    7. fastboot boot twrp.img
    8. check current slot in reboot menu and remember it
    9. copy zip to internal storage from pc
    10. flash zip
    11. flash magisk
    12. reboot -> select slot which u were previously on
    13. reboot system
    14. if u face boot logo loop - follow steps 7, 12, 13

    http%3A%2F%2Fimg04.imgland.net%2FAg8dlGr.png

    2/07/18 build
    12/08/17 build

    My custom twrp
    You need to run my twrp
    Mine

    Addon su
    su binary is not included in the ROM, you have to flash it manually after
    addon su

    Kernel
    https://github.com/deadman96385/android_kernel_xiaomi_msm8953

    http%3A%2F%2Fimg04.imgland.net%2F2uCBhNw.png

    Aytex, who made all of the banners on this post.
    TheScarastic, for his work on mido which i based on


    XDA:DevDB Information
    [ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 - tissot, ROM for the Xiaomi Mi A1

    Contributors
    deadman96385
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.x

    Version Information
    Status: Testing

    Created 2017-12-08
    Last Updated 2017-12-08​
    66
    I have bought another mi a1 today, so i will continue working on this now will give an update once i have made some progress.
    48
    What works:
    Wifi
    Ril (calling, texting, mobile data)
    Touchscreen
    Microphone
    Sensors
    MTP
    Charging
    Audio
    Bluetooth
    Camera
    FPC Fingerprint
    IR

    What doesn't work:
    DT2W
    Volte
    Wifi calling
    Encryption
    Goodix Fingerprint
    3rd party apps that use the camera (snapchat, whatsapp, gcam, etc)
    More i probably missed

    Changelog:
    2/08/18
    Fixed the following:
    Wifi again
    Audio
    Camera
    IR
    Bluetooth
    FPC Fingerprint

    12/8/17
    Initial release
    46
    New Build is Up!!

    The long awaited VoLTE is fixed! Even battery backup might be improved slightly.

    What Works:
    • Boots
    • RIL
    • VoLTE
    • FPC fingerprint
    • WiFi
    • Bluetooth
    • Snap Camera
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • GPS

    What doesn't work:
    • Goodix Fingerprint
    • LED notification
    • 3rd party camera apps

    Download:
    https://www.androidfilehost.com/?fid=890129502657583347

    GCam fix Magisk module

    Source:
    Device , Kernel , Vendor

    Request to other devs:
    Please don't Kang the trees right away, & fill the forum with broken goodix fingerprint custom roms. Instead, let's get together & try to stabilize the trees first.
    44
    I think no need to create new tree as alredy many developers are working on tree based on Offcial kernel sources released by Xiaomi....

    So @deadman96385 have a look to this thread bro

    https://xdaforums.com/mi-a1/how-to/dev-discussion-fix-device-tree-t3744532


    I have everything working except volte, IR, Encryption. Will be releasing a new build soonish. Once i have everything fixed i will release my updated trees/vendor.