Building a custom ROM (e.g. LinegeOS) - Xiaomi Mi Mix 3 5g Questions & Answers

I really appreciate the work of Inkypen and others for continuously supporting our Mix 3 5G, e.g. with up to date Pixel Experience ROMS!
What bothers me about Pixel Experience, through, are the built-in Google Play services.
So I wanted to use Inkypen's sources from Github to build my own LineageOS 19.1
These were my two custom .repo/local_manifests/andromeda.xml files:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Inkypen79/kernel_xiaomi_andromeda" path="kernel/xiaomi/andromeda" revision="upstream" remote="github" />
<project name="Inkypen79/device_xiaomi_andromeda" path="device/xiaomi/andromeda" revision="lineage-19.1" remote="github" />
<project name="Inkypen79/vendor_xiaomi_andromeda" path="vendor/xiaomi/andromeda" revision="lineage-19.1" remote="github" />
</manifest>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="PixelExperience-Devices/kernel_xiaomi_andromeda" path="kernel/xiaomi/andromeda" revision="twelve" remote="github" />
<project name="PixelExperience-Devices/device_xiaomi_andromeda" path="device/xiaomi/andromeda" revision="twelve" remote="github" />
<project name="Inkypen79/vendor_xiaomi_andromeda" path="vendor/xiaomi/andromeda" revision="lineage-19.1" remote="github" />
</manifest>
No other changes to default LineageOS 19.1.
The ROMs built well but didn't boot on my Mix 3 5G.
Can anyone help me build a working GMS-free ROM?

Related

[Q] Roomservice.xml in .Repo

hello all,
I am looking into developing a ROM for the G2, but I can't sync without the correct roomservice.xml files inside my local_manifest directory. If anyone could throw some ideas out there I would appreciate anything you can contribute, this is what me and Wantowan2 have came up with so far (not complete at all):
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_skyrocket" path="device/lge/" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_qcom-common" path="device/lge/qcom-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge_msm8974-common" path="device/lge/msm8974-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_lge-common" path="device/lge/celox-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_lge_msm8974-common" path="kernel/lge/msm8974-common" remote="github" revision="cm-10.2" />
</manifest>
Click to expand...
Click to collapse
This is very close to the SII Skyrocket since that was my last device. I am using this thread as a guide by the way
http://forum.xda-developers.com/showthread.php?t=1798056

Getting Black Screen on i9500 Self Build OmniROm 4.4

Hey Guys i need you help im trying to compile for the I9500 and the build finishes successfully however, after flashing
i get a blackscreen and here is my local manifest below can someone help me on how to get this to work and i did extract the blobs which get added on the vendor/samsung/i9500
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_i9500" path="device/samsung/i9500" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_kernel_samsung_exynos5410" path="kernel/samsung/exynos5410" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5410" path="hardware/samsung_slsi/exynos5410" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" revision="cm-11.0" />
</manifest>
This isn't a supported device, and neither are any of the Exynos5 "octa" variants. You're on your own with this one.
If you figure out what's wrong, you can potentially get it merged in as maintainer, but none of us have any idea what the problem is and can't help you since we don't have this device or any one even remotely similar.

[Q] error while building firefoxOS for galaxy S3 mini

Code:
target Strip: libhardware (out/target/product/golden/obj/lib/libhardware.so)
make: *** No rule to make target `out/target/product/golden/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `out/target/product/golden/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/import_includes'. Stop.
How can i fix it?
my manifest
Code:
<manifest>
<include name="base-kk.xml"/>
<remote fetch="git://github.com/" name="github"/>
<default remote="caf" revision="refs/tags/android-4.4.2_r1" sync-j="4"/>
<project path="device/samsung/golden" name="OliverG96/android_device_samsung_golden" remote="github" revision="android-4.4"/>
<project path="vendor/samsung/golden" name="OliverG96/android_vendor_samsung_golden" remote="github" revision="android-4.4"/>
<project path="kernel/samsung/golden" name="OliverG96/android_kernel_samsung_golden" remote="github" revision="android-4.4"/>
</manifest>
Try android 4.0.4 sources. I think
Sent from my GT-I9300 using Tapatalk

[i9500][ROM COMPILING] Error compiling cm12.1 please help!!

"find: `dummy': No such file or directory" and "ebtables is disabled on this build"
please help !!!!
And this is result of compiling
emre3461 said:
"find: `dummy': No such file or directory" and "ebtables is disabled on this build"
please help !!!!
Click to expand...
Click to collapse
Use this simple guide. Maybe some dependency or some configurations conflict.
Guide: http://forum.xda-developers.com/moto-g-2014/general/guide-build-cm12-source-t3045014
The S4 of this forum is the i9500.
treborbr said:
Use this simple guide. Maybe some dependency or some configurations conflict.
Guide: http://forum.xda-developers.com/moto-g-2014/general/guide-build-cm12-source-t3045014
The S4 of this forum is the i9500.
Click to expand...
Click to collapse
do you now "ebtables is disabled on this build" mean ?
emre3461 said:
do you now "ebtables is disabled on this build" mean ?
Click to expand...
Click to collapse
I never saw it. Perhaps the @UchihaKakarot can help you. Or @Alberto96 who is the maintainer of CM.
Last compile
emre3461 said:
Last compile
Click to expand...
Click to collapse
Copy the entire log and put it in pastebin and quote me with the link. Did u add the respective dependancies? Attach ur local manifest here
Thank you i will send logcat and pastebin tomorrow
a2441918 said:
Copy the entire log and put it in pastebin and quote me with the link. Did u add the respective dependancies? Attach ur local manifest here
Click to expand...
Click to collapse
i haven't a local_manifest.xml i have a roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_i9500" path="device/samsung/i9500" remote="github" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5410" path="hardware/samsung_slsi/exynos5410" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_exynos5410" path="kernel/samsung/exynos5410" remote="github" />
</manifest>
a2441918 said:
Copy the entire log and put it in pastebin and quote me with the link. Did u add the respective dependancies? Attach ur local manifest here
Click to expand...
Click to collapse
where is build logs ? i don't know.
emre3461 said:
i haven't a local_manifest.xml i have a roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_i9500" path="device/samsung/i9500" remote="github" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5410" path="hardware/samsung_slsi/exynos5410" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_exynos5410" path="kernel/samsung/exynos5410" remote="github" />
</manifest>
Click to expand...
Click to collapse
Use this one mate.
<project name="GearCM/android_device_samsung_i9500" path="device/samsung/i9500" remote="github" revision="cm-12.1" />
<project name="GearCm/android_kernel_samsung_exynos5410" path="kernel/samsung/exynos5410" remote="github" revision="GearKernel_Simple" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos5410" path="hardware/samsung_slsi-cm/exynos5410" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" remote="github" revision="cm-12.1" />
Just see the dependancies file for the contents of the local manifest.
emre3461 said:
where is build logs ? i don't know.
Click to expand...
Click to collapse
Build logs are the data which is given after brunch or lunch device.
a2441918 said:
Use this one mate.
<project name="GearCM/android_device_samsung_i9500" path="device/samsung/i9500" remote="github" revision="cm-12.1" />
<project name="GearCm/android_kernel_samsung_exynos5410" path="kernel/samsung/exynos5410" remote="github" revision="GearKernel_Simple" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos5410" path="hardware/samsung_slsi-cm/exynos5410" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" remote="github" revision="cm-12.1" />
Just see the dependancies file for the contents of the local manifest.
Build logs are the data which is given after brunch or lunch device.
Click to expand...
Click to collapse
is this a log ?
emre3461 said:
is this a log ?
Click to expand...
Click to collapse
Yeah mate. Give me the log from the first. Are you trying to build CyanogenMod from Cyanogenmod github?
a2441918 said:
Yeah mate. Give me the log from the first. Are you trying to build CyanogenMod from Cyanogenmod github?
Click to expand...
Click to collapse
Yes, i am tryring to build CyanogenMod from CyanogenMod GitHub. I am syncing repo now with new local_manifest.
it gives this error. can't sync repo
EDIT: I used repo sync --force-sync device/samsung/i9500 command and it synced.
See if you are able to build now.
a2441918 said:
See if you are able to build now.
Click to expand...
Click to collapse
here is the first log. it is compiling now i am waiting.
build failed
emre3461 said:
build failed
Click to expand...
Click to collapse
Good
a2441918 said:
Good
Click to expand...
Click to collapse
What should i do ?

Trying to build a J5 lineage image....

Hi,
there are some images out there, but none is really usable.
* One is without wlan
* One is without mobile networking
...
So i try to build lineage on my own.
Inside this forum i think
https://forum.xda-developers.com/ga...other-development/rom-lineageos-15-1-t3752264
is a good starting point.
They used the following sources:
Sources >>>
https://github.com/Exynos7870
https://github.com/SamsungGalaxyJ5-2017/
https://github.com/ananjaser1211/Refinedkernel_2
But how can i use these sources?
Do i have to create a roomservice.xml?
with
<project name="SamsungGalaxyJ5-2017/android_device_samsung_j5y17lte" path="device/samsung/j5y17lte" remote="github" revision="lineage-15.1" />
<project name="SamsungGalaxyJ5-2017/android_vendor_samsung" path="vendor/samsung/" remote="github" revision="lineage-15.1" />
<project name="SamsungGalaxyJ5-2017/android_hardware_samsung" path="hardware/samsung/" remote="github" revision="lineage-15.1" />
<project name="SamsungGalaxyJ5-2017/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" revision="lineage-15.1" />
<project name="SamsungGalaxyJ5-2017/android_hardware_samsung_slsi-cm_exynos7870" path="hardware/samsung_slsi-cm/exynos7870" remote="github" revision="lineage-15.1" />
<project name="ananjaser1211/Refinedkernel_2" path="kernel/samsung/exynos7870" remote="github" revision="master" />
<project name="SamsungGalaxyJ5-2017/android_device_samsung_exynos7870-common" path="device/samsung/exynos7870-common" remote="github" revision="lineage-15.1" />

Categories

Resources