Custom ROM - General Questions and Answers

Greetings,
I have several questions about custom ROMs like lineageOS etc.
I have an old and cheap Huawei Y540 and it only runs Android 4.4
So i thought maybe i can install a custom ROM instead of buying a new phone.
1. Why does a custom rom not run on all devices? I thought they are based on linux which handles the hardware <-> software requests?
2. What happens when i install LineageOS or Resurrection Remix on my device? (Note: my device is not supported)
3. I found guides like the one you can find in google when you look for "build lineageos rom for any device" which is named "How to Build Lineageos rom for any android device Easily ! {Full guide}" (Sorry i'm not allowed to post links) to build the lineageOs for my device. Do you know if any/many bugs will occure if i try that for my device?
Regards, Vincent

Related

[CLOSED][HELP] [ROM-PORTING] Could I take any rom as my port rom?

Mod edit: Thread closed as duplicate of
[HELP] [ROM-PORTING] Could I take any rom as my port rom?
Could I take any ROM as my 'port ROM' or is it supposed to be device specific? Could I take a Ressurection Remix ROM based on mm which was ported to my device by someone else as my base and Lineage OS 14.1 (of any device) as my 'port'?
forum.xda-developers.com
Oswald Boelcke
Could I take any ROM as my 'port ROM' or is it supposed to be device specific? Could I take a Ressurection Remix ROM based on mm which was ported to my device by someone else as my base and Lineage OS 14.1 (of any device) as my 'port'?
In general, no. You need a lot of custom stuff in the ROM (i.e. system image) which is specific to your device model. You can't mix and match from ROMs built for different devices.
You could use the ROM made for your device as base but the port ROM to be chosen must have same soc and specification similar to your device.
Also the kernel version must be same for both the roms

[Q] Building first ROM from AOSP non Nexus, a couple of questions

Hi all,
I want to build my first rom. I'm a software developer (Java and Web), but my Linux knowledge is somewhat intermediate.
I have a Moto G4 Plus laying around. Here's what I have done so far:
1. Downloaded the AOSP source from Google for android-7.0.0_r15 (Nougat)
2. Found the Kernel Source for the Moto G4 Plus (Nougat)
I'm stuck at adding the device's kernel source to the AOSP source. How do I combine the two?
Here's the link for the kernel source: https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-NPJS25.93-14-10
I've tried looking this up online but the results are very limited.
As far as I understand this kernel source provides everything I need to make the ROM compatible with my device, right?
Could someone point me to the right direction?
Much appreciated.

Development [ROM][UNOFFICIAL] LineageOS 17.1 for Lenovo PHAB Plus

Important information:
This thread is for LineageOS 17.1 opensource builds for Lenovo PHAB Plus, marketed as Lenovo PHAB Plus by Lenovo. The following will not be supported in this thread:
Custom Kernels
Mods
Modified system files
Xposed
Magisk
What's not working:
Camera (except front camera)
Installation:
If you are on the stock OS, you will first need a custom recovery.
If you are coming from stock or other ROMs, you need to do a factory reset.
As always, make sure to backup before installing this ROM.
Download link:
SourceForge
Recommended Google Apps package:
MindTheGapps
Changelog:
Changes for phoenix
Bug reports:
How to submit a bug report
Gitlab Issues
Donate to support development:
Donate via PayPal to TipzTeam
Donate via PayPal to LineageOS
Source Code:
Device tree
Kernel
LineageOS Github
Contributors
@nicknitewolf, @TipzTeam, Lineage Team
ROM OS Version: 10.x Q
ROM Kernel: Linux 3.10.x
ROM Firmware Required: N/A
Based On: LineageOS
About Video Recording
If you really need to use a 2015 device to record videos, you may use Camera Go to do so.
Reserved.
i cant flash gapps it says cant mount /system
i am using your twrp latest version opengapps gives error 10 and the one you provided says /system cannot mount
it worked it said installed on gapps now lineageos is booting!
lineageos stuck on booting whyyyY!!!!!!!!!!!!!!!!!
upddate still not booting after so long just stuck on lineage os animation
click factory reset in twrp still same thing !!!!!!!!!!!!!!!!!!!!
New Update!
20210813
Changelog:
Updated EGL blobs to LA.BR.1.2.9_rb1.18
Correct GPS week rollover timestamps (from Jason Laskowski)
Update SEPolicy allows
Copy prebuilt qcril.db files
Download
New Update!
20210815
Changelog:
Fix incorrect Bluetooth MAC address
Update fluence props
Download
Hello, thank you for creating a custom ROM. My wife uses Lenovo Phab Plus with stock ROM 5.1.1, but it is laggy even after a factory reset. How is the smoothness of this custom ROM? Can it be used as a daily driver? (Sorry, I cannot just try it because it is not mine)
zainullahk123411 said:
i am using your twrp latest version opengapps gives error 10 and the one you provided says /system cannot mount
Click to expand...
Click to collapse
i have the exact same problem! cant have both the rom installed and gapps! if i install gapps the recommned one i will get stuck on boot and cant install from open gapps either! i have a lineage os now without gapps! plz help
BABAKPERSIA said:
i have the exact same problem! cant have both the rom installed and gapps! if i install gapps the recommned one i will get stuck on boot and cant install from open gapps either! i have a lineage os now without gapps! plz help
Click to expand...
Click to collapse
i fouund a fix in magisk install this module https://github.com/wacko1805/MagiskGapps
tttservice said:
Hello, thank you for creating a custom ROM. My wife uses Lenovo Phab Plus with stock ROM 5.1.1, but it is laggy even after a factory reset. How is the smoothness of this custom ROM? Can it be used as a daily driver? (Sorry, I cannot just try it because it is not mine)
Click to expand...
Click to collapse
Sorry for the late reply, everything works fine except for Camera, GPS seems to be funky. It is pretty smooth, much better than the stock ROM.
tipzrickycheung said:
Important information:
This thread is for LineageOS 17.1 opensource builds for Lenovo PHAB Plus, marketed as Lenovo PHAB Plus by Lenovo. The following will not be supported in this thread:
Custom Kernels
Mods
Modified system files
Xposed
Magisk
What's not working:
Camera
Installation:
If you are on the stock OS, you will first need a custom recovery.
If you are coming from stock or other ROMs, you need to do a factory reset.
As always, make sure to backup before installing this ROM.
Download link:
SourceForge
Recommended Google Apps package:
MindTheGapps
Changelog:
Changes for phoenix
Bug reports:
How to submit a bug report
Gitlab Issues
Donate to support development:
Donate via PayPal to TipzTeam
Donate via PayPal to LineageOS
Source Code:
Device tree
Kernel
LineageOS Github
Contributors
@nicknitewolf, @TipzTeam, Lineage Team
ROM OS Version: 10.x Q
ROM Kernel: Linux 3.10.x
ROM Firmware Required: N/A
Based On: LineageOS
Click to expand...
Click to collapse
any fix for camera? only thing that is bugging me right now
Zainullahk1234 said:
any fix for camera? only thing that is bugging me right now
Click to expand...
Click to collapse
I haven't had the opportunity to work on my phoenix since I don't have a battery.
New Update!
20220305
Changelog:
Latest security patches
Download
tipzrickycheung said:
Important information:
This thread is for LineageOS 17.1 opensource builds for Lenovo PHAB Plus, marketed as Lenovo PHAB Plus by Lenovo. The following will not be supported in this thread:
Custom Kernels
Mods
Modified system files
Xposed
Magisk
What's not working:
Camera
Installation:
If you are on the stock OS, you will first need a custom recovery.
If you are coming from stock or other ROMs, you need to do a factory reset.
As always, make sure to backup before installing this ROM.
Download link:
SourceForge
Recommended Google Apps package:
MindTheGapps
Changelog:
Changes for phoenix
Bug reports:
How to submit a bug report
Gitlab Issues
Donate to support development:
Donate via PayPal to TipzTeam
Donate via PayPal to LineageOS
Source Code:
Device tree
Kernel
LineageOS Github
Contributors
@nicknitewolf, @TipzTeam, Lineage Team
ROM OS Version: 10.x Q
ROM Kernel: Linux 3.10.x
ROM Firmware Required: N/A
Based On: LineageOS
Click to expand...
Click to collapse
could you try making the device treble supported like people have done for other devices?
cause in a gsi its possible camera might work
Zainullahk1234 said:
could you try making the device treble supported like people have done for other devices?
cause in a gsi its possible camera might work
Click to expand...
Click to collapse
No it won't, it needs the vendor implementation to work too.

Custom rom Build for update device

Hello i am on XDA today for ask you how i can update my device to more recent android like android 9 or 10 because mine ( umidigi one pro ) is on android 8.1 oreo and no update is avaible.
So i want like android 9 to get the last features, gesture, ui and security. But my device don't have any custom rom which support it.
So i tell your help to know how i can build my own custom rom with a base like lineage os or havoc os or other, build an unofficial rom. to get exactly the same spec than i add in stock rom with no bug and other
So please tell me how i can do or who i can tell for do this.
This tread can help some people like me
You might want to start by building an AOSP ROM for your device. Here's some info to get you started.

A13 [clover] LeOS -T for Xiaomi Mi Pad 4

October 11, EDIT:
I have changed the headline to A13, because with he base of this rom you can flash LeOS-T (A13) on the pad. I'm sing it since a week without any issue.
Download of the GSI https://leos-cloud.de/s/JFrFgLgSSTEMtmL?path=/LeOS-T-beta
flashing instructions here: https://gitlab.com/leos1/leos-wiki/-/wikis/Flashing-Instructions/Mi-Pad-4
enjoy Android 13 on your Pad 4 )
_____________________________________________________________________________
This is an full ungoogled LeOS-S build for the Xiaomi Mi Pad 4 (clover), based on Lineage19.1.
LeOS includes a special MicroG version. With LeOS and this MicroG version you wont be able to run google apps, no device registration, no add of a google account, no google push messages.
LeOS is designed for users which have said goodbye to google.
LeOS includes only an f-droid client, file manager and phone app. So everyone can install his favorite (FOSS) apps.
EDIT: after you are running this rom, you can flash A12.1 and A13 GSI on clover.
A13 beta you will find here https://leos-cloud.de/s/JFrFgLgSSTEMtmL
Instructions
Boot to TWRP recovery (Vol UP + Power)
Format Data if a different OS was previously installed
Flash ROM (LeOS-*.zip)
Reboot
Enjoy!
Downloads
rom: https://leos-gsi.de/downloads/LeOS-S +NameOfMonth/LeOS-S*.zip
Sources
LineageOS
A free and open-source operating system for various devices, based on the Android mobile platform. This is a mirror of https://review.lineageos.org/ - LineageOS
github.com
https://github.com/kyasu/android_device_xiaomi_sdm660-common
https://github.com/kyasu/android_device_xiaomi_clover
https://github.com/kyasu/android_kernel_xiaomi_sdm660
https://github.com/kyasu/android_vendor_xiaomi_sdm660-common
https://github.com/kyasu/android_vendor_xiaomi_clover
Special thanks to
LineageOS team, kyasu,
ROM OS Version: Android 12.1
ROM Kernel: Linux 4.4
Based On: LineageOS 19.1
May, 13th: New version with updated security patches
Can Gapps be flashed with this rom?
abdulhamid1978 said:
Can Gapps be flashed with this rom?
Click to expand...
Click to collapse
Please read my post complete. LeOS is for googlefree users!!!!!``
harvey186 said:
Please read my post complete. LeOS is for googlefree users!!!!!``
Click to expand...
Click to collapse
I read that and understood. All I was asking was can Gapps be flashed on top. Looks like not.
abdulhamid1978 said:
I read that and understood. All I was asking was can Gapps be flashed on top. Looks like not.
Click to expand...
Click to collapse
If you are a googlfree user, you don't need gapps.
If you are needing gapps you are wrong with LeOS. Then you should use the standard LOS19.1 rom. There you can install all these spying apps like gapps
[ROM][12.1][clover] LineageOS 19 for Xiaomi Mi Pad 4 [UNOFFICIAL]
LineageOS is a free, community built, aftermarket firmware distribution of Android 12, 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...
forum.xda-developers.com
harvey186 said:
This is an full ungoogled LeOS-S build for the Xiaomi Mi Pad 4 (clover), based on Lineage19.1.
LeOS includes a special MicroG version.
Click to expand...
Click to collapse
Does this rom inherit the bugs of LOS 19.1 unofficial, or is this Source built?
Im interested in this rom, as a user of Calyxos with microG
Although I cant relock the bootloader, i guess this is somewhat better compare to vanilla LOS.
Thanks.
shizuni said:
Does this rom inherit the bugs of LOS 19.1 unofficial, or is this Source built?
Im interested in this rom, as a user of Calyxos with microG
Although I cant relock the bootloader, i guess this is somewhat better compare to vanilla LOS.
Thanks.
Click to expand...
Click to collapse
LeOS-19.1 is based on LOS29.1
LeOS-S isbased on latest AOSP sources
no additional bug removal.
Relock a bootloader is not recommend. In most cases you will loose all your data. Relock bootloader is, as far as,I know only eorking on some pixel devices and Fairphone
Hi,
thanks for your work, i want to give it a try. I am looking for an actual ROM for my MIPAD4 which gets security patches microg integration. So i found yours. Unfortunately i cant find any flashable zip on your new Server. Where can i find these files?
It would be nice to get this ROM.
THX a lot and best regards
42
zweiund40 said:
Hi,
thanks for your work, i want to give it a try. I am looking for an actual ROM for my MIPAD4 which gets security patches microg integration. So i found yours. Unfortunately i cant find any flashable zip on your new Server. Where can i find these files?
It would be nice to get this ROM.
THX a lot and best regards
42
Click to expand...
Click to collapse
After you have flashed the LeOS-Rom.zip you can updated with LeOS-19.1 GSI.
LeOS-Files
LeOS-Cloud - make Love not Waste
leos-cloud.de

Categories

Resources