Related
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
First of all, I want to say big thanks for @chenxiaolong
Only his hard work allowed us to use an easy way to switch firmware.
I just built the debug version of the program with small changes to our tablets, checked it and pulled request to the author.
From today (version 9.1.0.r205.g1dc88ed2) our devices are officially supported.
Supported both devices – SM-P905 (viennalte) and SM-P900 (v1awifi).
SM-P905 - tested by me.
SM-P900 - not checked yet.
Official site: https://dbp.noobdev.io
Source code: https://github.com/chenxiaolong/DualBootPatcher
Official thread: https://forum.xda-developers.com/showthread.php?t=2447534
Here I just want create a small guide, how to use program.
Primary rom – big rom (touchwiz rom), it will be store in system partition. Another roms will eat part of data partition.
Let's see example:
Primary firmware – touchwiz rom (my port or official 5.0.2 firmware) with root.
First additional firmware – lineage 13
Later you can add as many firmwares as you want.
1. Download additional firmwares and gapps (if you need it)
2. Download the most recent snapshot release of Dual Boot Patcher and install it on tablet.
3. Open Dual Boot Patcher and grant root permission. Open menu (3 lines at the top left corner) and go to the ROMs. It will promt set kernel (say yes) or you can press 3 dot menu key and click “Set kernel”. It's should be done only once - Dual Boot Patcher will store boot for primary partition.
4. Then open menu again and go to the “Patch Zip file”. Press “+” at the right bottom corner and then “Add flashable zip”. Chose “lineage 13” zip file. In new small window: Device will be selected automatically (LTE or Wifi version), in the “Partition configuration” select “Data slot” and then enter an ID: “lineage13” for example. In description you will see: “Installs ROM to /data/multiboot/data-slot-lineage13” and press continue. Then program will prompt store new zip file. It's very important: you should store zip in the internal storage. Then you need to start convert (press checkbox at the right top corner).
5. Make item 4 for gapps (on this moment I getting crash of the program, just run program again). When you will enter an ID – it's should be the same as for firmware. If you entering “lineage13” for rom, you should entering “lineage13” for gapps too.
6. Now we have both files in the internal storage. Reboot in TWRP. Very important: just flash both files without ANY wipes and then reboot.
7. Your device will boot into new rom. Install Dual Boot Patcher app and set the kernel for your second ROM as well.
8. Now if you want back to the primary rom – in ROMs menu just press to the primary rom (you will see message: “Successfully switched ROM”) and reboot.
9. If you need more additional roms – repeat items 4-7 with new Data slot ID
10. Wipe additional rom – in ROMs – press 3 dot menu for needed rom – select “Wipe ROM” - and check all items, except last one (“Multiboot files”).
11. Remove additional rom – in ROMs – press 3 dot menu for needed rom – select “Wipe ROM” - and check all items here.
I played yesterday with Dual Boot Patcher, installed 4 roms - it's working great.
Just carefully use guide.
@Valera1978
Awesome news! Thank you for sharing.
---
nick_stokes said:
I ask you to clarify, the patch should be applied to all files? supersu, xposed, any addons? or only ROM and GApps?
Click to expand...
Click to collapse
All files.
The idea is: replace links (mount) to partitions (like system, data, cache) to folder in data partition or sdcard. This is why we need to patch the firmware and additionals in program.
So we need to be careful with the aroma installer that use their own update-binary (not our case).
I checked on the 13.0, 14.1 and my port. All was fine.
---
error message
i clicked 'set kernal' but received an error message "could not determine the boot partition because this device's codename 'v1awifikx' is not recognized"
what should I do? help please.... T_T
TaeJaLee said:
i clicked 'set kernal' but received an error message "could not determine the boot partition because this device's codename 'v1awifikx' is not recognized"
what should I do? help please.... T_T
Click to expand...
Click to collapse
Added the request (https://github.com/chenxiaolong/DualBootPatcher/pull/485) to the author.
I hope soon (today\tomorrow) will be a version with v1awifikx support.
SM-P901 ( v1a3g, v1a3gxx ) not supported, please add too.
Could you add gtanotexlwifikx codename for the Samsung Galaxy Note Pro 12.2 (Wifi) ? Please...
TaeJaLee said:
Could you add gtanotexlwifikx codename for the Samsung Galaxy Note Pro 12.2 (Wifi) ? Please...
Click to expand...
Click to collapse
in patcher choose v1awifi
it occurs error in installing..
I guess because of different codename (T800 <-> P900)
(without dualboot patching, it was installed successfully)
Hi @Valera1978
thanks for this amazing port.
I did successed in flashing my primary ROM (a modified & rooted & bloatware free '5.0.02' Samsung stock rom: LL-5.0.2-TW]CivZ_P900_Lollipop-5.0.2-Rev4.0 [BPA1][Final Release]), then installed the DualBoot app with success and set the kernel -> fine.
Then I patched an unofficial resurrection remix 5.8.5 as multiboot-data-01 with its respective opengapps pico, both with success and flashed them with TWRP also with success.
RR ROM boot and setup are fine!
up to there all is fine.
But then I simply can't install the DualBoot App on my data-01 ROM (the RR 5.8.5). I get an error message saying I can't install (don't have the exact message in mind and I forget to bring my tab with me at work).
what could cause this miss-behavior?
I know I can still swap ROMs with TWRP with the tips you mentionned (did not tried yet as I did not finalized setting up my RR rom).
For folks wanting to try DualBootPatcher on P900 (v1awifi) do not try to install as secondary nor as cashed slots: you simply do not have enough space (well I think I did succesed with a LineageOS on cache but not sure, RR always failed).
This seems to work grand on data slots.
thanks in adance for your help.
Die
Thank you for topic. lineage os of installation is completed and os is running but other files (gapps ) are not installed, error occurs.
Edit: resolved when the latest version of the twrp was installed
https://dl.twrp.me/v1awifi/twrp-3.4.0-0-v1awifi.img.tar.html
Thank you very much it works great.
does someone still has a link to the multiboot patcher?
KHPKero said:
does someone still has a link to the multiboot patcher?
Click to expand...
Click to collapse
hello, you can just search for the realese number and find it that way. There is more newer versions too
UPDATE 06 OCT 2019: I will be returning to the project next week...
Apologies for my long silence over the past few months. After the initial release of this ROM I started focusing on getting the fingerprint sensor to work, which after some struggle I got it working. I then began spending time on removing non-FLOSS apps, services and providers that comes with lineageOS and replacing them with even better FLOSS alternatives. I made some good progress on this and created an automated build script for this. I also wanted to make the installation of the ROM easier, so I even created a script that automates the entire flashing procedure for you....yip...it's pretty cool On the security side I also made some good progress: I've applied several recommended hardening patches to the base system, and also patched the flawed mac-address randomization implementation that still exists in android today.
As I got close to preparing for release, google decided to stop support for maps-api V1 which is used by migrog. This completely broke all map views in apps and even started crashing the mobile browser. Because of the complexity of the android build workflow and tool-chain, I initially thought I screwed something up, but it was only after a couple of days of pulling my hair out people started reporting it on github. I had to wait for the mapbox implementation of microg to be released, and it eventually came a few weeks later.
It was shortly after the release that my personal priorities changed. I've been occupied (visa related) with that ever since but I'm happy to report that I should be able to return back to the project next week. Obviously some time has passed, so I will have to get up to speed with the latest releases of all of the repos and get that merged with my local changes, but that should only take a day. Hopefully there won't be many breaking changes, and if that is the case then I should be in a position to release V2 in about two weeks!
Cheers,
fanix (git-repo here: https://github.com/FaN11X?tab=repositories). Once you see commits you'll know I've started.
New build is available apparently.... don't know if it's the same dev..
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
I've contacted one of the mods and asked if thye could post the link. Hope they do, otherwise if someone has the ability to post links then message me and i'll PM you the download link which you can then share to the thread.
Cheers
fanix
Hi fanix-uk,
Thank you very much! Is 3D face recognition working or just the 2d with the front camera?
mateHD said:
Hi fanix-uk,
Thank you very much! Is 3D face recognition working or just the 2d with the front camera?
Click to expand...
Click to collapse
Not sure, I haven't tried it. To be honest I've never used that feature on this phone before.
fanix-uk said:
Not sure, I haven't tried it. To be honest I've never used that feature on this phone before.
Click to expand...
Click to collapse
I tried it. Face unlock works with google smartlock. It use IR sensor, not the front camera, but it isn't 3D. So it works without light, but less secure than the stock rom version.
Btw. the rom works perfectly. Thanks again.
Is possible to have the miui camera with this rom?
mateHD said:
I tried it. Face unlock works with google smartlock. It use IR sensor, not the front camera, but it isn't 3D. So it works without light, but less secure than the stock rom version.
Btw. the rom works perfectly. Thanks again.
Click to expand...
Click to collapse
You are most welcome! Thanks for testing it... I'm working on a new release with some really cool features, including
Updated, hardened kernel.
Wireguard kernel module built into kernel.
Removal of non-FOSS apps/providers/services and replace with FOSS alternatives
Weather provider integration with openweathermap.
In-display fingerprint
perillo95 said:
Is possible to have the miui camera with this rom?
Click to expand...
Click to collapse
I can try and grab the camera app and drivers from stock and package it for you, but won't be including proprietary software in this build. I'll keep you posted.
fanix-uk said:
You are most welcome! Thanks for testing it... I'm working on a new release with some really cool features, including
Updated, hardened kernel.
Wireguard kernel module built into kernel.
Removal of non-FOSS apps/providers/services and replace with FOSS alternatives
Weather provider integration with openweathermap.
In-display fingerprint
Click to expand...
Click to collapse
Looking forward to it. I will probably try the current version as soon as I'm allowed to unlock my bootloader.
fanix-uk said:
I can try and grab the camera app and drivers from stock and package it for you, but won't be including proprietary software in this build. I'll keep you posted.
Click to expand...
Click to collapse
With miui camera and the in-display fingerprint would be a perfect ROM, Great work
thanks a lot for LOS!
Q: do i need to install gapps after ROM?
eerastov said:
thanks a lot for LOS!
Q: do i need to install gapps after ROM?
Click to expand...
Click to collapse
Yes.
Whats up with the new version? Can i help somehow?
Thanks
Hi Fanix
I really appreciate what you have done for Mi8 Pro. If you did not share your work here, I think I nearly sell my phone, as the MIUI is pretty trash.
Also, thanks for your progress on adding in-display finger sensor, after you done it I feel you can create one link for donation. I really hope you can keep develop on this phone and make LOS Andorid Q available in the future.
Kind regards
One of Mi8 Pro users
---------- Post added at 07:51 AM ---------- Previous post was at 07:47 AM ----------
I flashed this rom on my phone, it works really well. And I flashed a Gapps on my phone, work well as well. I did not flash the Nanadroid on my phone, is it necessary? I just worry about it becasue you said something related to SafetyNet, ahaha. I do not know if I do not have it, is my phone still safe?
Thanks a lot again.
fanix-uk said:
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
Click to expand...
Click to collapse
hello I have tried treble version but i got MusicFX Force Close i hope you can fix this
and maybe you can port Miui Camera on this ROM thanks for your work
I found a bug :
NFC is not found in Settings and NFC Icon on status bar is error
Edit :
sometimes when opening the camera, freeze and got pop-up cannot be connected to the camera
And for musicFX is working...
Thanks
fanix-uk said:
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
Click to expand...
Click to collapse
Current anything is good !
thanks a lot again
Any news plss
Any news?
Still others are maintaining this rom, looking forward to updating
I was willing to bring up the rest of the hardware and make this device official, but I don't have the device. Is there any interest in donating a device for such purpose?
bgcngm said:
I was willing to bring up the rest of the hardware and make this device official, but I don't have the device. Is there any interest in donating a device for such purpose?
Click to expand...
Click to collapse
Would love to be in a position to do that. However, I have just had my OnePlus 6T stolen, and now need my Mi 8 Pro as a daily driver. Would be happy to donate to get the fingerprint reader working on AOSP / GSI-Treble ROMs for the MI 8 Pro.
WARNING: English isn't my primary language. Sorry for any misunderstanding.
So I've heard of people that wanted to try Ubuntu on their phones(one of them being me). However as of now there isn't a helpful guide for installing it. I'm fixing that.
What works:
-Screen(has some harmless graphical glitches though)
- Mobile data
- Wifi
- Calls
- Camera
- SD card
- You tell me
What doesn't work:
- Messages
- VoLTE
- Wifi Calling
- You tell me
Prerequisites:
- An Android 9.0 Custom ROM that doesn't use the stock /vendor(this one worked great for me, but if you are free to use another one)
- Halium kernel(I'll attach a TWRP script below). You can also try this build by erfanoabdi, however I haven't tested how it works.
- halium-ramdisk
- apparmor-enabler
- GSI Ubports script
- TWRP/OpenFox
1. Wipe data and internal storage(if you're on stock, do it on the Settings app. Otherwise, just do it however you want to as long as it disables the encryption). You shouldn't actually need to do this, since Ubuntu Touch resides only in system partition.
2. Install whatever custom ROM you chose. You don't need to boot it, just reboot to bootloader once you finish installing it. If you do boot into it though you'll need to repeat Step 1.
3. Wipe System(you shouldn't need to but it never hurts )
4. Flash the Halium kernel along with halium-ramdisk.zip and apparmor_enabler.zip.
5. Flash the GSI script.
6. Reboot.
Hopefully you'll boot into Ubuntu after that.
Kernel source used for the kernel in the .zip below
Thanks to:
- Erfanoabdi from Github(idk if he has an XDA account). He's the one that did all the heavy lifting for me.
- The guys at the Halium Telegram.
ultracoolguy said:
WARNING: English isn't my primary language. Sorry for any misunderstanding.
So I've heard of people that wanted to try Ubuntu on their phones(one of them being me). However as of now there isn't a helpful guide for installing it. I'm fixing that.
What works:
- Mobile data
- Wifi
- Calls
- Camera
- SD card
- You tell me
What doesn't work:
- Messages
- VoLTE
- Wifi Calling
- You tell me
Prerequisites:
- An Android 9.0 Custom ROM that doesn't use the stock /vendor(this one worked great for me, but if you are free to use another one)
- Halium kernel(I'll attach a TWRP script below). You can also try this build by erfanoabdi, however I haven't tested how it works.
- halium-ramdisk
- apparmor-enabler
- GSI Ubports script
- TWRP/OpenFox
1. Wipe data and internal storage(if you're on stock, do it on the Settings app. Otherwise, just do it however you want to as long as it disables the encryption).
2. Install whatever custom ROM you chose. You don't need to boot it, just reboot to bootloader once you finish installing it. If you do boot into it though you'll need to repeat Step 1.
3. Wipe System(you shouldn't need to but it never hurts )
4. Flash the Halium kernel along with halium-ramdisk.zip and apparmor_enabler.zip.
5. Flash the GSI script.
6. Reboot.
Hopefully you'll boot into Ubuntu after that.
Kernel source used for the kernel in the .zip below
Thanks to:
- Erfanoabdi from Github(idk if he has an XDA account). He's the one that did all the heavy lifting for me.
- The guys at the Halium Telegram.
Click to expand...
Click to collapse
Thanks a lot for this, installed on my Ocean and it boots, but asks for password. Whats the password.
thanks
Update: password is phablet
Base: Lineage OS by dark98
1, Swipe from right to left (edge drag right to left) to task manager very temperamental
2, removing lockscreen crashes
3, Swipe off (closing opened apps) temperamental) requires holding on the app for like 3 seconds before dragging off to close.
essojay said:
Thanks a lot for this, installed on my Ocean and it boots, but asks for password. Whats the password.
thanks
Update: password is phablet
Base: Lineage OS by dark98
1, Swipe from right to left (edge drag right to left) to task manager very temperamental
2, removing lockscreen crashes
3, Swipe off (closing opened apps) temperamental) requires holding on the app for like 3 seconds before dragging off to close.
Click to expand...
Click to collapse
I can actually confirm all of these. Sadly I can't do much about them. It probably has to do with the GSI implementation itself.
ultracoolguy said:
I can actually confirm all of these. Sadly I can't do much about them. It probably has to do with the GSI implementation itself.
Click to expand...
Click to collapse
thanks for your work once more, Erfan confirm that much it has to do with GSI. Much respect to you guys.. Its a matter of time before this is sorted, thanks once more.
bR
Is there any workaround to get messages to work?
twfs said:
Is there any workaround to get messages to work?
Click to expand...
Click to collapse
Sorry for responding so late. I haven't used Ubuntu Touch in a while so I don't know of any. However, maybe messages work now idk.
none of the links are downloadable from
Hi! I've been trying to install it on my device for 4~5 days. Downloaded everything from https://mirrors.lolinet.com/ and it simply doesn't boot (stuck on unlock warning screen).
Is there any way you can help me?
ROM dedicated for All Quark (Moto MAXX/Turbo and Droid Turbo - XT1225, XT1250 and XT1254)
This ROM is the LineageOS from https://lineageos.org/ with specific changes to improve the experience for Quark that is why the ROM has the MOD type, all modification are in the changelog
Download:
ROM:
Main:
Main google Drive link
Secondary:
sourceforge (This is the server used by the Updates app in Setting>System>Updater)
Gapps:
Open Gapps
Choose Platform: ARM, Android: 11.0, and a Variant the one that have all you need, I recommend the Nano pack, but it may not have all you need so check before download, if any problem with a diferent version try the Nano before reporting issues.
TWRP For Quark:
TWRP Use laste Mod version from xda
Installation:
Make sure you are running latest MOD TWRP from xda TWRP thread
Download the latest ROM and GApps**.
Reboot to recovery (recommended make a backup)
Coming from different ROM? Then Always wipe Data (without media aka without internal memory)
Wipe System*
Flash the latest build and GApps **
Reboot and enjoy!
* Wipe of Dalvik Cache and Cache not demanding but may help with some random minor bug that show after a update
** Gapps not demanding the ROM works perfect without it but if you plan to use gapps you need to flash it on a clean install with the ROM, In a ROM updates a "dirty flash" if you already have gapps always flash gapps again with the ROM update
Changelogs:
LineageOS - 18.1 source and Quark Changelog (Click Here)
What's working :
Everything minus VoLTE support for XT1254 (1225 doesn't have this featuring).
Known Android 11 issues :
Not PRE-ROOTED, ROOT solution is available read this thread second post
Old issue maybe resolved on latest TWPR update but... TWRP may not be able to backup or decrypt data encrypted on Oreo or Up: no know workaround, one day TWRP will support it.
General bug help/fix in second post or some were in the thread, use XDA building "Search Thread" option to find general help for this thread project...
Source:
LineageOS Source
Device Tree
Kernel tree
Vendor tree
Mod Kernel Adiutor tree
XDA:DevDB Information
[ROM][All Quark][Android 11] LineageOS 18.1 for Quark
Contributors
Felipe Leon (fgl27) is the main contributor (as I'm the one making it).
But the XDA community, quark user base plus the open source community from XDA, github and the LineageOS team is what make this project so good, thank you all :good:.
ROM OS Version: 10.x
ROM Kernel: Linux 3.10.x
Based On: LineageOS 18.x
Version Information
Status: Stable
Created 2021-30-05
Last Updated Check Changelog click here
Below are some of the helps and or workarounds for the most occurring issues.
ROOT Use Magiks
GPS / Radio:
Changing/Updating the ROM may cause GPS lock problem, there is two separated help
option 1) Install "GPS Status & Toolbox" , open the app, slide the left option and open "Manage A-GPS state" click in Reset, after repete the process and now click in Download, close the app after receive the OK, wait a few seconds and try a gps lock using the same app, if that doesn't help try again after a reboot, if that doesn't help go to option 2 below
option 2) If the above doesn't help you can try to erase all the radio status
Erase the radio status also applies to the case you have No SIM Card or no Cell Signal level in status bar.
To erase the radio status is very simple just flash this zip "Clean_modem_status.zip" via TWRP no wipe is need, is also recommended to try option 1 after this if you flashed because of a GPS problem.
If after flashing the cleaner you find any problem related to lost of signal, re-try the flash of "Clean_modem_status.zip", if the problem persist, flash latest radio.img version via fastboot (aka "via bootloader")
Code:
mfastboot flash radio radio.img
find the radio.img inside the stock ROM xml.zip, some xml.zip and fastboot for windows can be found here (click here)
Random Power off or reboots?
To identify if the device random reboot or simply power it self off there is two ways.
1) If after the device goes black you can't power it up again without plunging the charger, then is because the battery is dead, even if yours battery had good % left before it shutdown yours battery is probably damage doesn't matter if the device/battery is new a battery can go bad simply by charging the device wrong, a wrong way to do it is let the device constantly go bellow 20% as low you let it get worse yours battery will be with time.
2) Check the boot reason prop "ro.boot.bootreason" :
Using the app BHB27 Kernel Audiutor > logs section > search in a log > mark getprop > search keyword "reason".
If the result is power_key_press the device didn't reboot it power off.
Code:
[ro.boot.bootreason]: [power_key_press]
On this case, is recommended to set the battery "Automatic power saver" from default 15% to a higher value then the one yours device is power it self off.
-----------------------------
If the result is reboot the device reboot it self
Code:
[ro.boot.bootreason]: [reboot]
On this case, is recommended to just share a log, do as is recommended on next post.
Bootloop to TWRP after a Factory Reset (Settings/System/Reset option/Factory reset):
This is a Nougat and up problem, it only happens if you are using a TWRP from the official site (with is not update to properly support Nougat and Up Android versions) or a old version of TWRP, to fix it just flash latest MOD TWRP version from the TWRP xda.
TWRP xda thread Click Here
Pictures access, view, sharing or related:
One thing that I notice regarding permission is if you have a app that access a folder that was created in older OS this app may be able to access this folder but not fully access the files like the below example.
You take a picture or a screenshot and can't see or share it with some apps, the simple fix is just erased/delete the folder with that problem for example the DCIM (camera folder) and or Pictures (Screenshot) folder under Main storage (or any folder were you face a picture or file access related problem), of course you can backup the files to another folders first using a file explorer that can see the files (maybe necessary one with ROOT access), then let the OS service recreate the folder, it will automatic recreates after you take a new picture or screenshot (or manually make the new folder if is a custom folder mane by you), test to see if the problematic app can see after.
USB OTG player:
On latest android version Nougat and above, to play anything from a USB OTG device is needed proper permission, that is not simple to give as the app must request it to be given, so to play anything from a USB driver find a app like this one
VVM XT1254 only
VVM app (VVM may only be accessible via play with the link, click here and chose open with play), VVM may not work correctly google has it on version is free and seems to work 100% Google voice, the in the phone app of b this ROM also has a dedicated option for voice calls
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that I can't understand or reproduced I can't fix.
Always post a bug with @fgl27 and a log .zip generated by the app
BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP (ROOT is needed for this)...
Even after a random reboot share a log
If is a Reboot/Power off related bug make the log as soon the device finishes boot up
Everything was working great, until this weekend. I was in an old hotel that gets terrible signal, so i used WIFI the whole time. When i left to head in to work this morning, i noticed that my data never came back. I can make calls, send texts, get on WIFI, use bluetooth... but the 4g LTE icon is not on my top bar, and im getting "No internet connection" errors. --- I verified that Data is turned on, i have something along the lines of "LTE/CDMA/EvDo" selected, ive restarted the phone, and ive tried popping out my SIM card and reinstalling it. -- Any suggestions?
imcensored1 said:
Everything was working great, until this weekend. I was in an old hotel that gets terrible signal, so i used WIFI the whole time. When i left to head in to work this morning, i noticed that my data never came back. I can make calls, send texts, get on WIFI, use bluetooth... but the 4g LTE icon is not on my top bar, and im getting "No internet connection" errors. --- I verified that Data is turned on, i have something along the lines of "LTE/CDMA/EvDo" selected, ive restarted the phone, and ive tried popping out my SIM card and reinstalling it. -- Any suggestions?
Click to expand...
Click to collapse
I figured it out. I started playing with all the network settings, and i found one that allowed me to set the "access point". I found the access point somehow was set to "Xfinity", once i changed it to "Verizon" my data came back. I am not sure how it changed or why it changed, as it was working before I entered the no coverage zone.
I push a update.
Download:
ROM:
Main:
Main google Drive link
Secondary:
sourceforge (This is the server used by the Updates app in Setting>System>Updater)
Changelogs:
LineageOS - 18.1 source and Quark Changelog
I push a update.
Download:
ROM:
Main:
Main google Drive link
Secondary:
sourceforge (This is the server used by the Updates app in Setting>System>Updater)
Changelogs:
LineageOS - 18.1 source and Quark Changelog
fgl27 said:
Below are some of the helps and or workarounds for the most occurring issues.
ROOT Use Magiks
GPS / Radio:
Changing/Updating the ROM may cause GPS lock problem, there is two separated help
option 1) Install "GPS Status & Toolbox" , open the app, slide the left option and open "Manage A-GPS state" click in Reset, after repete the process and now click in Download, close the app after receive the OK, wait a few seconds and try a gps lock using the same app, if that doesn't help try again after a reboot, if that doesn't help go to option 2 below
option 2) If the above doesn't help you can try to erase all the radio status
Erase the radio status also applies to the case you have No SIM Card or no Cell Signal level in status bar.
To erase the radio status is very simple just flash this zip "Clean_modem_status.zip" via TWRP no wipe is need, is also recommended to try option 1 after this if you flashed because of a GPS problem.
If after flashing the cleaner you find any problem related to lost of signal, re-try the flash of "Clean_modem_status.zip", if the problem persist, flash latest radio.img version via fastboot (aka "via bootloader")
Code:
mfastboot flash radio radio.img
find the radio.img inside the stock ROM xml.zip, some xml.zip and fastboot for windows can be found here (click here)
Click to expand...
Click to collapse
I tried these fixes for the GPS a few times but no luck. Do you have any other ideas?
Thank you.
It's been awhile since I've had to deal with this issue. I forget exactly what I went through to get it resolved. Have you tried an absolute cold raw reinstall? Wipe everything in the phone except internal memory, from TWRP.
SecretPotatoChip said:
I tried these fixes for the GPS a few times but no luck. Do you have any other ideas?
Thank you.
Click to expand...
Click to collapse
Sorry I was busy didn't check xda for a while.
If those don't help the best option is to try Einsteindks from above post
On Android was added a update to the GPS libs that fixed most of the issue, that is way most don't have any issue anymore, but if you have one is probably something very odd that need a full clean to resolve.
Active display is not working. How do I turn it on?
DobrRk said:
Active display is not working. How do I turn it on?
Click to expand...
Click to collapse
Active display is a Motorola name.
Use Ambient display, enable it on settings -> system -> actions
fgl27 said:
Active display is a Motorola name.
Use Ambient display, enable it on settings -> system -> actions
Click to expand...
Click to collapse
Thank you very much. It is a pity that it does not work as on the old motorola, with a separate processor under this option. I really liked the firmware.
Power Functions was an awesome option on Motorolas, at one point. Shame they didn't carry over. At least other options exist. Neat idea, though. Good to see the display stuff be standard, albeit under different names.
Verizon just sent me this text. (Advanced Calling /HD Voice). I feel like I enabled this years ago. I went to search to turn it on and I see it's not an option. Is this something that was coded out of Lineage?
I know you have to activate it on your phone and then Verizon has to activate it on their end.
imcensored1 said:
Verizon just sent me this text. (Advanced Calling /HD Voice). I feel like I enabled this years ago. I went to search to turn it on and I see it's not an option. Is this something that was coded out of Lineage?
I know you have to activate it on your phone and then Verizon has to activate it on their end.
Click to expand...
Click to collapse
I believed HD voice needs VoLTE something that doesn't work in custom ROM
opengapps release they version for Android 11, I updated OP with the link.
Sometimes after not using my device from a few hours it became very slow the first few minutes I try to use it, some apps freeze giving me that warning "app is freeze kill it" or something like that, I notice that a lot of service don't run as they did on old version of android regularly on background, but they sometimes run all together when you wake the device up.
Most are service from google apps and frameworks, to improve this I'm using this new battery option that show on each app info, that allows you to enable "Background restriction" see attached.
You have to manually set to restrict each individually app that you wanna to be restricted, after I did to almost all available apps, notifications are working as expected and I don't have slows down at least not from service on the background.
If anyone has some issue related try to use those options to improve.
I push a update.
Download:
ROM:
Main:
Main google Drive link
Secondary:
sourceforge (This is the server used by the Updates app in Setting>System>Updater)
Changelogs:
LineageOS - 18.1 source and Quark Changelog
Einsteindks said:
It's been awhile since I've had to deal with this issue. I forget exactly what I went through to get it resolved. Have you tried an absolute cold raw reinstall? Wipe everything in the phone except internal memory, from TWRP.
Click to expand...
Click to collapse
I went into TWRP, and wiped everything except internal storage and usb otg. My gps still does not work.
SecretPotatoChip said:
I went into TWRP, and wiped everything except internal storage and usb otg. My gps still does not work.
Click to expand...
Click to collapse
Next step would be to save internal on an OTG, along with ROM & Gapps, Titanium Backup, etc, eject/remove OTG. Get into TWRP, wipe ALL, plug in OTG, reboot into TWRP, install ROM, Gapps & modem reset zips after selecting OTG as source. Double check yourself along the way, trust me! It's easy to forget a step and have to re copy files onto the OTG from computer backup.
Sorry for my English. I have Xiaomi mi8 with last LineageOS. Into root folder of phone I put zip gapps file. But when I turn my phone to fastboot and than to TWRP, I can not find my zip file with gapps. The structure of folders is different than when phone is connected to PC. Maybe you know what to do with it please?
As far as I remember you can/must select the storage, including sdcard (which I prefer to use).
PS: Ahoi
Phone does not have external storage card extension. No, prostě když ten telefon připojím k počítači, je tam určitá struktura složek. nahraju tam zip. Pak dám fastboot, dostanu se do TWRP a dám install a už tam je úplně jiné složení složek a zip nemůžu najít
oh, actually I know only 3 czech words: ahoi, knedliki and staropramen
anyway, in TWRP you can select the storage (bottom left, i think). (gtranslate: v TWRP si můžete vybrat úložiště (myslím vlevo dole).)
I know I can select the storage. But, it is impossible to find my zip file The structure of folders is diffrent than the structure I can see when phone is connected to PC for file transfer
A) Maybe a fast workaround: Use an USB OTG adapter and plug-in some USB stick with the files?
OR
B) In modern Android, there are several partitions and my guess is, that you have the files on another.
So you could study some search results for "android partition layout" like p.e. https://source.android.com/docs/core/architecture/bootloader/partitions/system-as-root
FRQD75 said:
A) Maybe a fast workaround: Use an USB OTG adapter and plug-in some USB stick with the files?
OR
B) In modern Android, there are several partitions and my guess is, that you have the files on another.
So you could study some search results for "android partition layout" like p.e. https://source.android.com/docs/core/architecture/bootloader/partitions/system-as-root
Click to expand...
Click to collapse
I will try it and inform you here I have to order usb otg. Thanks
OK, I installedMindTheGapps-12.1.0-arm64-20220605_112439.zipfrom USB otg adapter. But Gapps are falling. They are in phone, but I can not start them.
Hello guys,
I believe that I faced a similar case.
I am using MI8 pro, and I installed lineageos 20 with mindthegapps for Android 13. The Google services keep stopping.
Then I tried lineageos 19 with mindgapps 12.1 arm64. The same failure is reported.
I am totally confused. I used adb sideload way to install the os image and gapps without interrupt.
Is there any idea in my case?
Regards,
illidanpc said:
Hello guys,
I believe that I faced a similar case.
I am using MI8 pro, and I installed lineageos 20 with mindgapps for Android 13. The Google services keep stopping.
Then I tried lineageos 19 with mindgapps 12.1 arm64. The same failure is reported.
I am totally confused. I used adb sideload way to install the os image and gapps without interrupt.
Is there any idea in my case?
Regards,
Click to expand...
Click to collapse
Today, I tried LiteGapps Nano arm64 13.0 v2.8 official version, based on LineageOS 20. However, it still didn't work on my MI 8 pro. (For the people didn't fimilar with LiteGapps, it's another popular Gapps version, as well. )
But if I only sideload the LineageOS 20, it's perfect running.
So the issue could be related with the compatible of Gapps.
illidanpc said:
Today, I tried LiteGapps Nano arm64 13.0 v2.8 official version, based on LineageOS 20. However, it still didn't work on my MI 8 pro. (For the people didn't fimilar with LiteGapps, it's another popular Gapps version, as well. )
But if I only sideload the LineageOS 20, it's perfect running.
So the issue could be related with the compatible of Gapps.
Click to expand...
Click to collapse
Today i tried a new gapps named BiTGApps, which works fine with LineageOS20. The url of BiTGApps homepage is bitgapps.github.io. The "works fine" means the google login service in setting menu, and google play works fine. There's no more gapps installed which is a minimal setup, i believed.
I used adb sideload way to install bitgapps, even the powershell terminal shows error, but it seems didn't affect the result.
I hope this one would help you, either.