[Treble][Unofficial]LineageOS 16.0 Treble for Oneplus 3/3T - OnePlus 3 & 3T Cross Device Development

LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.
Code:
/*
* 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. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-------------
Hello, I'm very excited to tell you that Project Treble is ready to run on our phone. Although it's not stable with always something broken, It's still a nice chance to undergo other ROMs that you want.
Beware that it is only a proof-of-concept try to let everyone know our device is still powerful. They are still well prepared for future Android release. However, the GSIs will never be more stable than device-specific ROMs. This Treble ROM is not suitable for daily use.
The main reason why official LineageOS of our device didn't ship with Project Treble is that we don't have fully binderized camera HALs from Oneplus. If we want to support Treble there must be a lot of compromises.
Things working:
Everything, including camera.
Things not working:
1. [A-only & A/B] SELinux is set to permissive for most GSIs.
Unnecessary and won't fix for now.
2. [A/B] Reboot and stuck at boot animation while GSI installation.
Solution: Use adb for a reboot, don't just hold the power button. After this the system will boot, at least we could get console-ramoops correctly for debugging.
The step-by-step guide on how to treblize your device:
Treble needs a partition called "Vendor", but our device does not have this device. What we need to do is to create a vendor partition by our selves.
I made a custom TWRP Treble build to do this process, here is what you should do in TWRP.
0. Warning
Our device is really old, some users may experience storage failure (Known as CRC failure), please be careful when you treblize your device. If you meet any problem, please check the 9008 unbrick guides in the forum.
1. Flash this TWRP in the download link below.
2. Boot it up and go to "Advanced" -> "Terminal", Type treblize and run.
Treblize is a shell that we could modify our partition. It basically does the same thing as the commands below.
Code:
/sbin/sgdisk --typecode=5:8300 /dev/block/sdf
/sbin/sgdisk --change-name=5:vendor /dev/block/sdf
3. Reboot your phone to your current system to check if there is storage failure.
It's very important. Some of the users report it may cause storage broken. You'd better check it first before flashing LOS Treble.
4. Reboot your phone to TWRP.
5. Flash LOS Treble in the download link below.
After these processes, you have got a treblized Oneplus3. Boot it up to check if everything works, or just trying other GSIs anyway.
The step-by-step guide on how to flash GSIs:
0. Treblize.
1. Choose and flash LOS Treble solution first for the vendor partition.
Because of the supporting of system-as-root for our device, you can now use every GSIs if possible. I personally recommend the system-as-root solution for future android standards, although they are basically the same some old recovery install scripts may be broken like opengapps will not working anymore according to the report.
2. Flash A-only or A/B GSI image according to the flag in the download section.
3. Wipe data.
Q&A:
1. Q: What are the limitations to our devices?
A: Sizes. Our device has 3154116608 bytes or 3.15G of system storage. Some GSIs may be larger than our device and due to TWRP's bug it won't be recognized. Here is a guide for linux users to make self modified GSIs images of smaller size.
Code:
sudo simg2img <system.img> system.ext4.img
sudo mount -t ext4 -o loop system.ext4.img system/
sudo chown -R <username>:<username> system/
#then enter the system/app folder and remove gmail, maps, google play music, drive, etc.
makeext4fs -T 0 filecontexts -l 3154116608 -L system -system -s flash.img system/
2. Q: Something is broken in some GSIs!
A: That may or may not be our device's fault.
3. Q: Can I install other third-party kernels?
A: You need to make sure that kernel supports mounting vendor partition, or it will brick your device.
Also, the device now is supporting system-as-root, which requires new kernel patchs. Kernels claimed that for treble previously may not work anymore.
4. Q: How to revert my treblized device?
A: Unnecessary. But you can do it yourself with the sgdisk command-line tool, or just use the 9008 tool if you are lazy.
5: Q: How do I install a non-treble ROM with my "treblized" device?
A: As normal. They won't affect each other.
Thanks:
dianlujitao and other LOS devs for current device tree
XiNGRZ for op5 treblize reference
a lot of testers
Chat Group:
https://t.me/joinchat/BrAZb0Zf9p3q7Qz_No5AUA
Join the chat group for sGSI QPR6 guide and more!
Downloads:
[New][A/B] LineageOS 16.0 Treble system-as-root: https://mega.nz/#F!UgdQRYSD!8s-_u2HJQZDEqNnFOnejxQ
[Old][A-only] LineageOS 16.0 Treble: https://mega.nz/#F!A0VmQAaC!Mc3HYZgAkxeoQwGkZyJvwg
[Deprcated][A-only] LineageOS 15.1 Treble: https://androidfilehost.com/?w=files&flid=280568
XDA:DevDB Information
LineageOS Treble, ROM for the OnePlus 3
Contributors
simonsmh, dianlujitao, chenxingyu,
Source Code: https://github.com/OP3Treble
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: OxygenOS/H2OS 9.0.x
Based On: LineageOS
Version Information
Status: Alpha
Created 2018-08-17
Last Updated 2019-08-27

Short update logs.
20190826:
Support system-as-root, flash A/B GSIs instead of A-only.
thanks to zuk-devs
20190731:
Camera fixed in Q

Reserved

Awesome work. Long live 3/3T.

Is this Android pie or Oreo? Title says 15.1

MarcoLK said:
Is this Android pie or Oreo? Title says 15.1
Click to expand...
Click to collapse
U can flash any GSI either pie or Oreo. Camera and volte is broken on pie

Good work guys, I think I'll wait for the camera issue to be fixed before risking to brick my device though

After flashing gsi system img how to make it boot ?I tried , but failed. But booted in my redmi note 4x both gsi and sGSI.

Wow.. Thanks:good:
Sent from my OnePlus3T using XDA Labs

This is incredibly exciting! I hope this also inspires OnePlus to release official treble support.
Before i dare to flash this i would like to know, what is the rollback plan for this if you want to bring the device back to factory state and does it break compatibility with for example the stock rom and stock recovery?
For those that already jumped ship and installed a GSI image, can you test if one of the following mods works?
Arnova v8.2 https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk
Tolyan v1.0.7 https://www.celsoazevedo.com/files/...f/MGC_5.3.015_B-S-G-based_v.1.0.7_TlnNeun.apk
Skulshady https://www.celsoazevedo.com/files/android/google-camera/f/skulshady_gcam_5.1.018_Mod_v6_fix.apk
These are various modded APK's that may contain a fix for the camera issues. No root required to flash.

henk717 said:
This is incredibly exciting! I hope this also inspires OnePlus to release official treble support.
Before i dare to flash this i would like to know, what is the rollback plan for this if you want to bring the device back to factory state and does it break compatibility with for example the stock rom and stock recovery?
Click to expand...
Click to collapse
You don't need to roll back. Just like op5, it's still working if oneplus offer us official treble support.
At least you can either modify the partition label or use 9008 tools to return stock.

Great news.
Hope fixes in future

drmuruga said:
After flashing gsi system img how to make it boot ?I tried , but failed. But booted in my redmi note 4x both gsi and sGSI.
Click to expand...
Click to collapse
What GSI did you try to flash.
---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------
henk717 said:
This is incredibly exciting! I hope this also inspires OnePlus to release official treble support.
Before i dare to flash this i would like to know, what is the rollback plan for this if you want to bring the device back to factory state and does it break compatibility with for example the stock rom and stock recovery?
For those that already jumped ship and installed a GSI image, can you test if one of the following mods works?
Arnova v8.2 https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk
Tolyan v1.0.7 https://www.celsoazevedo.com/files/...f/MGC_5.3.015_B-S-G-based_v.1.0.7_TlnNeun.apk
Skulshady https://www.celsoazevedo.com/files/android/google-camera/f/skulshady_gcam_5.1.018_Mod_v6_fix.apk
These are various modded APK's that may contain a fix for the camera issues. No root required to flash.
Click to expand...
Click to collapse
No, the camera does not work at all.

Does re-partitioning involve internal storage/data partition data loss?
Edit: P.S.: Could I suggest to open a dedicated thread for TWRP Treble as a guide for making our device treble-enabled? I think it could be useful and clearer.

edoardotavecchio said:
Does re-partitioning involve internal storage/data partition data loss?
Edit: P.S.: Could I suggest to open a dedicated thread for TWRP Treble as a guide for making our device treble-enabled? I think it could be useful and clearer.
Click to expand...
Click to collapse
Basically it won't. But formating /data is still suggested to avoid some problems.

Wow, excellent!
Was waiting for this since so long.
Amazing work.
Gonna try it out soon.
Some questions though,
Can I use any of the GSI or I'll have to use provided lineage GSI only?
If I want to use an android pie GSI, then which gapps should I use? I need full gapps.
Also, The camera isn't even working in third party applications such as WhatsApp also?
Which 9.0 GSI is good, is there any AOSP GSI?
Are there any other bugs?
Final thing, can someone please provide me the link for the thread for oneplus3t where 9008 unbrick recovery procedure is there?

You can use any GSI but when i tried android pie GSI wifi dont work and 4G was broken and camera was not working

MODERATOR NOTICE: YOUTUBE LINK REMOVED
From watching this video, I guess that Lineage stock camera app doesn't work, but others do, correct?

xpissio said:
From watching this video, I guess that Lineage stock camera app doesn't work, but others do, correct?
Click to expand...
Click to collapse
Yes. And camera works only on Oreo GSI's and not on pie yet.

Related

[ROM][UNOFFICIAL]LineageOS-15.1[Evert][Moto G6 Plus]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LIneageOS is a free, community built, after-market firmware distribution of Android re-branded CyanogeMod, which is designed to increase performance and reliability over stock Android for your device.
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
LineageOS is based on the Android Open Source Project and CyanogenMod with extra contributions from many people within the Android community. All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS please visit Gerrit Code Review.
Warning!!!
BackUp EFS partition before installing. .If you lose IMEI , use this backup to retrieve it in future.
Installation
Boot the newest TWRP .img
Flash copy-partitions-AB.zip from second post. (This will prevent device from getting bricked if you are coming from stock rom for the first time. It takes a backup of active slot to inactive slot)
In TWRP, click "Wipe", "Format Data", then type "yes" as prompted.
ADB sideload the newest build
Reboot to fastboot and do fastboot -w via terminal
Boot into "Recovery", this will boot you to either Lineage Recovery or TWRP depending on your choice to install TWRP or not. It is necessary to reboot between ROM flash and GApps/Addon flash due to verity/slot-swap logic.
(Optionally) Flash GApps - Only MindTheGApps arm64 are compatible, OpenGApps are not compatible with A/B yet: MindTheGApps.
(Optionally) Flash SU - you'll need to turn it on from in developer settings after first boot Lineage OS SU Addon. - Magisk works fine, though is not supported.
Reboot
Downloads
Warning
If you are coming from stock ROM and it's your first time flashing lineage, flash copy-partition zip (See second post) unless your device will brick and I'm not responsible
- LineageOS : Unoffical Build
- TWRP : Get here
Bugs
bluetooth calling
Reporting bugs
DO NOT report bugs if you're running a custom kernel
DO NOT report bugs if you've modifies system files
DO NOT report bugs if you've installed xposed and/or other mods
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
Code:
adb logcat > logcat.txt
Code:
adb shell dmesg > dmesg.txt
If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Code:
adb shell cat /sys/fs/pstore/console-ramoops
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues or bugs reported in the lastest 5 pages of this thread. Any bug not reported in the bug report format below may be ignored.
Code:
Phone Informations
* LineageOS version
* Gapps version
What you did:
* Wipe data: y/n
* Upgrade from previous official cm build: y/n
* Restore with titanium backup: y/n
You're using (if yes write which one) :
* Task killer
* Phone cleaner / Battery enhancer apps
* Non-stock kernel
* Modified kernel settings
* Other mods
Bug info:
* Last version it worked on
* Repro steps
F.A.Q.
ROOT! ROOT! Give me root or i'll die!!! Where root is???
First of all DO NOT flash any SuperSu/SuperUser/SuperMan zip package to get root. Go to Settings>Developement Settings>Root access and select "Apps Only"
Why no nightly today?
Build failed. Check again tomorrow
When do I have to wipe data?
You must wipe data only when you're switching from another rom or migrating to Snapshot branch from Nightly and vice versa. You don't need to wipe data when you update in the same release channe (this applies to 13.0 -> 14.1 upgrades too)
Will you add <insert awesome feature here>?
I won't. If you write it, submit a commit to gerrit, where it will be reviewed.
The LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Kernel Source : Here
A big thanks to @erfanoabdi to kick start the development.
XDA:DevDB Information
LineageOS, ROM for the Moto G6
Contributors
rahulsnair, erfanoabdi
Source Code: https://github.com/LineageOS
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP
Based On: LineageOS
Version Information
Status: Beta
Created 2018-08-11
Last Updated 2018-08-11
Copy Partition- Initial Setup
Flash the attachement via TWRP
Hi.....after revert from this ROM tô stock....ill lose some thing? Ex....volte.....câmera...etc... Efs backup ok
Already noticed this rom and the new TWRP on his androidfilehost and saw it posted on another site too, might try it soon
However, what exactly does the AB zipfile do exactly? And another question, on his AndrFilehHost he has an outdated TWRP installer Zip, is there any reason the new TWRP's are only bootable images? I'd gladly know why to stick with just booting rather then flashing TWRP?
Also thanks for the effort, i'll give the ROM a try and will report back my experiences..
edit: also, i had no problems with opengapps on treble roms, what makes it problematic for this rom?
Coldstream said:
Already noticed this rom and the new TWRP on his androidfilehost and saw it posted on another site too, might try it soon
However, what exactly does the AB zipfile do exactly? And another question, on his AndrFilehHost he has an outdated TWRP installer Zip, is there any reason the new TWRP's are only bootable images? I'd gladly know why to stick with just booting rather then flashing TWRP?
Also thanks for the effort, i'll give the ROM a try and will report back my experiences..
edit: also, i had no problems with opengapps on treble roms, what makes it problematic for this rom?
Click to expand...
Click to collapse
This device is an A/B device which means it does have two slots.One will be active (running slot) and other will be used for updating system (if any OTA is available) Opengapps doesn't support A/B devices yet.
AB zipfile makes a backup of your active slot so that your device won't get bricked after flashing lineage.
I know that the G6 Plus is A/B, but i don't get what the problem is with opengapps. I flashed them just fine for the treble roms i tried. The only thing i did was flash opengapps straight after the treble rom, without rebooting. It might not be fully working with A/B devices, but they surely worked for the treble roms i tried, that's why i asked. And yes, i think i didn't read it properly the first time. Now it makes sense, though i just got a script to go back to full stock ready anyways. Anyways, again big thanks to both of you.
Maybe @erfanoabdi can say something about the TWRP files? I will probably finally have some time to flash the rom with an hour or so, and gladly report back later.
edit: oops, i totally forgot something here, you are probably talking about OTA lineage updates, while i was not even thinking on that. If that's the case, then it makes sense
david.gs.gm said:
Hi.....after revert from this ROM tô stock....ill lose some thing? Ex....volte.....câmera...etc... Efs backup ok
Click to expand...
Click to collapse
You will loose volte I believe. You will loose the Los camera app but gain the moto camera app.
Coldstream said:
I know that the G6 Plus is A/B, but i don't get what the problem is with opengapps. I flashed them just fine for the treble roms i tried. The only thing i did was flash opengapps straight after the treble rom, without rebooting. It might not be fully working with A/B devices, but they surely worked for the treble roms i tried, that's why i asked. And yes, i think i didn't read it properly the first time. Now it makes sense, though i just got a script to go back to full stock ready anyways. Anyways, again big thanks to both of you.
Maybe @erfanoabdi can say something about the TWRP files? I will probably finally have some time to flash the rom with an hour or so, and gladly report back later.
edit: oops, i totally forgot something here, you are probably talking about OTA lineage updates, while i was not even thinking on that. If that's the case, then it makes sense
Click to expand...
Click to collapse
Opengapps will work it just won't survive an update.
As for twrp, they were buggy more or less. For example the first 3 builds weren't able to decrypt data on the internal SD card. That applies to the twrp zip as well. The 4th build supported decryption but had some lag. Go with the latest twrp build but it does lack mtp for example.
Sent from my moto g(6) plus using Tapatalk
Xplorer4x4 said:
You will loose volte I believe. You will loose the Los camera app but gain the moto camera app.
Opengapps will work it just won't survive an update.
As for twrp, they were buggy more or less. For example the first 3 builds weren't able to decrypt data on the internal SD card. That applies to the twrp zip as well. The 4th build supported decryption but had some lag. Go with the latest twrp build but it does lack mtp for example.
Click to expand...
Click to collapse
Yeah i noticed that, but is there any specific reason to stick with fastbooting it rather then flashing? The flashable zip is a very old version, but the newer ones of the last few days might be better? Since there is no documentation with them on the androidfilehost, it's a bit of a gamble what is changed in each of his versions. I'd happily flash the latest version if possible, but it would be usefull to know if there would be any reason not to. Considering there is no new flashable zip i suspect there is at least one reason to stick to fastbooting it over flashing, but again without knowing its still a gamble.
Anyways, every progress done on the G6 Plus is more then welcome, so i'm more then happy so far
Moto app (with gestures and Moto screen) will works with custom roms? I never had Motorola phone before. Good to see that development of g6 plus starts.
Do you mind upload the ROM to an alternative file hosting website?
AFH is really slow even with an gigabit internet connection and it always ends up as Failed - Network error.
If you become a developer, join our group at Telegram:
https://t.me/joinchat/GdyK5BB44joobth3umlAJA
The SU addon can't be flashed, some error in path symbolic something with a sh script, will dump log later i don't have a PC around for now.
Also the LineageOS recovery can't handle the encryption.
WYPIERDAALAAC said:
Moto app (with gestures and Moto screen) will works with custom roms? I never had Motorola phone before. Good to see that development of g6 plus starts.
Click to expand...
Click to collapse
The Moto app itself won't work but the actions are intergrated.
Editie: noticed the SU addon is removed from the OP, i'd suggest keeping us updated here aswell because i'm sure others reported it, but if others report it on another place then it would be much more usefull to at least keep us updated here to prevent people running in the same issues, and dumping the same logs but just on different locations? Also as it is now, obviously only ADB root can be chosen in dev settings.
Coldstream said:
The SU addon can't be flashed, some error in path symbolic something with a sh script, will dump log later i don't have a PC around for now.
Also the LineageOS recovery can't handle the encryption.
The Moto app itself won't work but the actions are intergrated.
Editie: noticed the SU addon is removed from the OP, i'd suggest keeping us updated here aswell because i'm sure others reported it, but if others report it on another place then it would be much more usefull to at least keep us updated here to prevent people running in the same issues, and dumping the same logs but just on different locations? Also as it is now, obviously only ADB root can be chosen in dev settings.
Click to expand...
Click to collapse
If I do understand right moto gestures are intergrated in system settings of lineageOS? What about face recognition ?
Lineage alternative links:
Google Drive:
https://drive.google.com/file/d/1hKeKp5WmWhGkkHAVfSgDu10GObQv_QiK/view?usp=drivesdk
Mega:
https://mega.nz/#!SNt3hLxR!AJ5k0krEiCvHG9MiE3MsirYxhHO9z_j9vYsr-pbRjBo
Finally! Some development going on for Evert! I'll still wait a while before unlocking the bootloader, because I'm afraid that the A/B system bricks my device. Furthermore bluetooth calling is important to me, so I hope this will be solved soon. Is everything else working so far?
smitharro said:
Finally! Some development going on for Evert! I'll still wait a while before unlocking the bootloader, because I'm afraid that the A/B system bricks my device. Is everything working so far?
Click to expand...
Click to collapse
If there's anything i've learned so far from the A/B system, it's a good improvement. Nothing i'd be affraid of. What makes u scared? I've ran a lot of the treble roms with different outcomes but going back to full stock is fairly easy so far and right now i'm running this rom.
Obviously i'm not going to say that you can't brick it or should take things too easy, but with just simply understanding the actions your taking it's nothing to be affraid of. Besides, when you flash stock running on A straight to B, and run into troubles with something flashed on A u can switch rather easy is my experience.
Coldstream said:
Yeah i noticed that, but is there any specific reason to stick with fastbooting it rather then flashing? The flashable zip is a very old version, but the newer ones of the last few days might be better? Since there is no documentation with them on the androidfilehost, it's a bit of a gamble what is changed in each of his versions. I'd happily flash the latest version if possible, but it would be usefull to know if there would be any reason not to. Considering there is no new flashable zip i suspect there is at least one reason to stick to fastbooting it over flashing, but again without knowing its still a gamble.
Anyways, every progress done on the G6 Plus is more then welcome, so i'm more then happy so far
Click to expand...
Click to collapse
At this time the dev has had issues building an updated zip installation for twrp but it will probably be resolved soon.
Coldstream said:
The SU addon can't be flashed, some error in path symbolic something with a sh script, will dump log later i don't have a PC around for now.
Also the LineageOS recovery can't handle the encryption.
The Moto app itself won't work but the actions are intergrated.
Editie: noticed the SU addon is removed from the OP, i'd suggest keeping us updated here aswell because i'm sure others reported it, but if others report it on another place then it would be much more usefull to at least keep us updated here to prevent people running in the same issues, and dumping the same logs but just on different locations? Also as it is now, obviously only ADB root can be chosen in dev settings.
Click to expand...
Click to collapse
You can flash magisk 16.7 beta and root will work fine.
smitharro said:
Finally! Some development going on for Evert! I'll still wait a while before unlocking the bootloader, because I'm afraid that the A/B system bricks my device. Furthermore bluetooth calling is important to me, so I hope this will be solved soon. Is everything else working so far?
Click to expand...
Click to collapse
Nothing to worry about with AB. It's a good thing.
Bluetooth calling is being worked on.
Sent from my moto g(6) plus using Tapatalk
Guys, Is it possible do a similar port to ALJETER (Moto G6 Play) variant too?
Anyone running xposed? Any issues?
Updated process ended with ERROR: 1
When I try to flash this rom to my moto g6 plus, I get this error: error applying update: 7 (errorcode:: kInstallDeviceOpenError) Updated process ended with ERROR: 1
What's wrong here?

[A-ONLY][TREBLE][9.0][A530F/A530W/A730F] Vendor Pie For Galaxy A8/A8+ 2018

I'm not responsible for whatever damage this could possibly cause to your device.
Before Starting Make Sure You Treble Your Device By This Guide here
If you appreciate the work i have done, Feel free to buy me a cup of coffee @paypal
Welcome to Pie Vendor For Galaxy A8/A8+ 2018 ONLY FOR A530F/A530W/A730F​
Some information you should know..
Full TREBLE Documentation here : https://source.android.com/devices/architecture
Generic System Image (GSI) Documentation here : https://source.android.com/setup/build/gsi
GSIs are not the most stable and many users prove they are unable to read. they just want ready stuff. with this project that is not the case. if you skip the instructions/F.A.Qs and notes, dont bother installing this project as you probably wont be able to get it running.
This is a fully featured VENDOR and KERNEL designed for this device to support project treble, it is based on other Exynos 7885 Vendors and modified to support our devices, i have also added few patches and fixes to this vendor to get the best possible experience
The vendor is pretty much bugles, therefore any bugs you face, Report them to the appropriate Threads of the GSI you installed or github issues section, as those are not mine to fix i only provide the vendor and kernel that allows GSIs to run on.
- VENDOR FEATURES:
Wi-Fi & Hotspot
Telephony & Ril (Mobile Data, Calls, SMS, MMS)
NFC
Camera
Bluetooth
GPS
Fingerprint
All Sensors
- STEPS FOR INSTALLING TREBLE VENDOR:
Make Sure You Treble Your Bevice By This Guide here
Boot into Twrp recovery
Wipe System, Data, Dalvik and Vendor.
Select Vendor_Dumpster.zip
- STEPS FOR INSTALLING GSIs:
Download the desired GSI (it MUST be A-only_arm64 Variant)
unpack it if it wasn't in .IMG format
Go to TWRP , Install , Install IMAGE
Pick your GSI and select SYSTEM IMAGE
Reboot to TWRP Recovery
- STEPS FOR INSTALLING GAPPS
Download the appropriate opengapps
Go to TWRP , Install
Pick your OpenGapps.zip
Reboot to System
- KNOWN BUGS:
Bluetooth calls are broken
Credits:
- @ananjaser1211 for his contribution
- @TaifAljaloo for testing
Downloads. Changelogs , F.A.Qs below
XDA:DevDB Information
Project Treble, Vendor for the Samsung Galaxy A8 (2018)
Kernel Source
Contributors
prashantp01
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Current Stable Version: v1
Created 2019-05-17
Last Updated 2019-05-17
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Come hang with us on our chat : Telegram
----------------------------------------------------------------
Treble Pie Vendor Dumpster V1.0 [LATEST]
Treble folder : Gdrive
Recommended GSI : Gdrive
Generic System Image (list) : Github
---------------------------------------------------------------
Bugs :
1- some users might face SDCard issues
If you did , back up its data and format it in GSI.
2- If you face "Error 70: Insufficient storage space available in the system partition" while flashing Gapps
If you get do this : Wipe > Advanced Wipe > select system > Repair or Change File System > Resize File System
Go back and flash Gapps
V1.0
-initial release
F.A.Q
For more details related to this project, read our dedicated Wiki page here.
Q : Do i need to format internal storage ?
A : No
Q : Can i use the Treble recovery for normal ROMs ?
A : Yes, it is preferred especially when making backups. just be sure to wipe vendor when switching to non treble roms
Q : What Camera is recommended ?
A : Footej and open camera works the best
Q : Can i flash any GSIs ?
A : No, only A-ONLY_ARM64 Are supported
Q : Can i flash any sGSIs ?
A : No unless they match the Arch above
reserved
I just flashed the Lineage OS v16 GSI with this vendor and found no problems other than no network bars (as mentioned above) and there were no problems with the camera and fingerprint. I will notify you later if there is a bugs
Thanks for your hard work ?
Sweet! I'm gonna be up all night!
This is fantastic. The boot time has decreased immensely.
Finally got aosp extended 6.5 to boot. Well i didn't, you did.
What a difference. Ressurection Remix as well. The 9.0. That one seems a bit iffy no matter.
I am noticing a different mobile data icon. It'll say 4g+
Not too far from normal full usage. Thank you.
mindlery said:
This is fantastic. The boot time has decreased immensely.
Finally got aosp extended 6.5 to boot. Well i didn't, you did.
What a difference. Ressurection Remix as well. The 9.0. That one seems a bit iffy no matter.
I am noticing a different mobile data icon. It'll say 4g+
Not too far from normal full usage. Thank you.
Click to expand...
Click to collapse
Where you able to get gapps installed it always failed for me.
This has happened on most of these roms
Yes i was. My method is a bit harsh though. I am a fan of internal destruction
So for the gsi, i wipe everything including internal. Then i reboot to recovery. Swipe to allow modifications. Install vendor. Install system image. Then reboot recovery flash fix boot. I almost never bother with gapps anymore until it boots fully. Then i'll immediately go into recovery and flash gapps then reboot of course.
I got sick of errors myself. If you find one you like or want to go back to then it may be worth trying for that perfect install. Almost there.
---------- Post added at 04:33 AM ---------- Previous post was at 04:20 AM ----------
https://downloads.aospextended.com/treble_gsi
Before only 6.1 worked. Now 6.5 starts in a minute or so. 6.3 boot looped before so i am going to see what happens now.
mindlery said:
Yes i was. My method is a bit harsh though. I am a fan of internal destruction
So for the gsi, i wipe everything including internal. Then i reboot to recovery. Swipe to allow modifications. Install vendor. Install system image. Then reboot recovery flash fix boot. I almost never bother with gapps anymore until it boots fully. Then i'll immediately go into recovery and flash gapps then reboot of course.
I got sick of errors myself. If you find one you like or want to go back to then it may be worth trying for that perfect install. Almost there.
---------- Post added at 04:33 AM ---------- Previous post was at 04:20 AM ----------
https://downloads.aospextended.com/treble_gsi
Before only 6.1 worked. Now 6.5 starts in a minute or so. 6.3 boot looped before so i am going to see what happens now.
Click to expand...
Click to collapse
I'm using ion- v1.0.c 9.0 without any issues.
For some reason on the newer gsi roms you can't get gapps to install.
ion rom gapps are included.
mchlbenner said:
I'm using ion- v1.0.c 9.0 without any issues.
For some reason on the newer gsi roms you can't get gapps to install.
ion rom gapps are included.
Click to expand...
Click to collapse
I have never heard of that. Of course I am downloading but is there any information about it besides a file on android file host?
mindlery said:
I have never heard of that. Of course I am downloading but is there any information about it besides a file on android file host?
Click to expand...
Click to collapse
I had not heard of it also but it seems to work without issue.
Only thing on screenshot you have edit where photo is being stored.
Does this allow me to use system-as-root gsis? Since android 9 treble implementation is supposed to be system as root even on aonly, I would guess so, but I couldn't get my device to boot with one yet.
Weird, I can't even get aospextended to work... It just bootloops without bootanimation.
Edit: nvm, I got it to work, but I had to flash the oreo vendor first, and then the pie vendor.
Edit2: fingerprint doesn't seem to work even with fp patch (it's weird, it registers the fingerprint, and even validates it, but it does nothing on the lockscreen)
Edit3: restart fixed it
I have a few questions
I used to flash the usual custom roms so is this is the same thing i mean that if i can use it to flash custom roms
And which roms exactly working perfectly on this device without any issues
Also should i root my phone before installing it or what exactly should i do
Is it stable and doesn't have any problems or will i face some problems while im using it
For some reason on aosp extended gsi the phone will stay stuck at the charging screen (gray one without percentage) when charging when its turned off, disconnecting the cable doesn't do anything, it stays stuck on this screen till i force reboot
CoinKiller said:
For some reason on aosp extended gsi the phone will stay stuck at the charging screen (gray one without percentage) when charging when its turned off, disconnecting the cable doesn't do anything, it stays stuck on this screen till i force reboot
Click to expand...
Click to collapse
Did you install GSI_Fix_boot.zip?
So I want to install Google phone but I cannot get it to work. Can you give me an alternative ?
If I want to install a different GSI I follow the steps again (install vendor, flash GSI, flash boot fix and fixes if needed) or just wipe system, data, cache and flash the new image+ boot fix
slawdos said:
Did you install GSI_Fix_boot.zip?
Click to expand...
Click to collapse
Yes but i had to format /vendor after installing that zip (it wasnt the zip fault!), Didn't that get installed in /system?

[ROM][10]Android Open Source Illusion Project[Hotdogb][Official]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
[B][CENTER]**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****[/CENTER][/B]
Android Open Source illusion Project
About us:
AOSIP is a quality custom ROM based purely on AOSP. Twisted with the latest features and blended with stability. We strive for perfection and it shows.
Team Illusion:
Josh Fox (xlxfoxxlx)
Akhil Narang
Harsh Shandilya
Anirudh Gupta
Source code:
AOSiP Gerrit Review
AOSiP Github
Kernel Source
(A massive thanks to @0ctobot and @RenderBroken for the help with the kernel)
Latest Downloads:
Official Server | SourceForge Mirror
NOTE:
- Download the Fastboot images zip of the variant you want
- There are two variants, "Official" does not contain Gapps while "Gapps" does.
Credit/Thanks:
Mike Williams (founder and creator of AOSiP)
Google for Android and AOSP
LineageOS
ABC ROM
AquariOS
BootleggersROM
Dirty Unicorns
PixelExperience
OmniROM
CarbonROM
nathanchance
---------
Other projects whose work helped us to create this
And last but not the least, all our testers, who have helped us to squash many bugs so that we can try to release builds that as are flawless as possible
Hosted and built on
​
XDA:DevDB Information
Android Open Source Illusion Project, ROM for the OnePlus 7T
Contributors
anirudhgupta109
Source Code: [url]https://www.github.com/AOSiP[/URL]
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: OxygenOS 10.0.2 or above
Based On: AOSP
Version Information
Status: Stable
Created 2019-12-14
Last Updated 2020-05-06
Reserved
INSTALLATION PROCEDURE:
MAKE SURE YOU'RE ON THE LATEST OOS FROM HERE
DO NOT EVER WIPE SYSTEM OR VENDOR ON THE OP7T!!!!!
Considering how the 7T doesn't have TWRP and has dynamic partitions, I'll try to explain everything in detail:
1. If you're coming from another ROM (including OOS) or need to perform a clean flash:
Boot into the bootloader (if you don't know how to do this, you should probably not flash)
Connect your phone to your PC and in an ADB/Fastboot shell, wipe device using
Code:
fastboot -w
Connect your phone to your PC and in an ADB/Fastboot shell, type
Code:
fastboot reboot fastboot
NOTE: If command prompt/line complains about fastboot not being a valid target you need to update fastboot from HERE
Your phone should now be in fastbootd (the UI is exactly like recovery mode so don't get confused)
Read about fastbootd HERE
Type the following to make sure your phone is in fastbootd while also making sure your phone is in the recovery-like UI
Code:
fastboot getvar is-userspace
If the above does returns the value true you can now flash the ROMs, if it doesn't try figuring out what went wrong (I don't want to hear about the failed attempts, please don't spam the thread with them)
Type this command to flash the ROM:
Code:
fastboot update <ROM.zip>
NOTE: IF COMMAND LINE IS SAYING:
Code:
archive does not contain 'xyz.sig'
This is normal, ignore it.
After the above is done, your device will automatically reboot to AOSiP, have fun!
OPTIONAL:
If you want magisk, patch the boot image from the AOSiP site which ends in the name -boot.img, in Magisk manager
Boot to bootloader
Boot into that image (DO NOT FLASH!!!)
Code:
fastboot boot magisk_patched.img
Install Magisk manager and from it select Install > Direct install
Reboot and enjoy AOSiP with Magisk!
Enjoy
OPTIONAL:
If you'd like to convert to F2FS:
Open settings>system>reset options and select Erase all data (factory reset)
This'll wipe all data and convert your device to f2fs automatically!
2. If you're updating the ROM:
a. Via the inbuilt Updater
When you get a notification of new build available, tap it
Tap Download
Wait for Download
Tap install
Wait for install
If you use Magisk, open Magisk Manager, select install, select Install to Inactive Slot (After OTA)
Tap reboot
Enjoy!!
b. Manually via bootloader
Disable all substratum overlays if you have a theme applied
Boot into fastbootd
If you're booted into the system
Code:
adb reboot fastboot
If you're booted into bootloader
Code:
fastboot reboot fastboot
Flash the ROM using
Code:
fastboot update <ROM.zip>
NOTE: YOU DO NOT NEED TO WIPE DATA WHEN UPDATING
Reboot to system and enjoy
NOTE: If you have issues with Settings or Play Services force-closes you need to clean flash (Method 1).
KNOWN ISSUES:
Auto brightness is wonky in dark enviroments Fixed in 20200625
Reserved
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
Include your OOS base versions in reports. (Eg: 10.0.1, 10.0.2, 10.0.6 etc.)
Mention any and all Magisk modules you might be using along with the Magisk version
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
FREQUENTLY ASKED QUESTIONS:
Q: Fastboot isn't allowing me to flash system image, what am I doing wrong?
A: You haven't booted to fastbootd (the UI looks like recovery and fastboot devices command shows the device in fastboot mode)
Q: What GApps do I flash?
A: You cannot flash Gapps on the device, use the Gapps variant build instead if you need Gapps.
Q: When booting to the Magisk patched image, it leads to crashdump mode.
A: You didn't select the first two options in Magisk Manager before patching the boot image under Advanced settings (i.e. Preserve force encryption and Preserve AVB 2.0/dm-verity).
Q: Do I have to wipe data if coming from another ROM?
A: Yes, I will not be providing help/support to users that haven't wiped data when coming from another ROM.
Q: How often will I be getting updates?
A: The plan is for weeklies, if unavoidable circumstances come up, please don't spam the thread. I will release a build as soon as one is ready.
Q: Does VoLTE/VoWiFi work?
A: VoLTE works, I have tested on Airtel in India and a couple of my US based testers have too.
VoWiFi (WiFi Calling) works based on my testers in the US and for me on Airtel (India), let me know about other carriers.
Q: Does Android Auto work?
A: I don't have accessibility to an Android Auto vehicle nor the hardware but my testers have confirmed that it works! Let me know if it does for you too so that others have concrete proof about it.
Q: I ended up on CrashDump mode, how do I get back to my system?
A: Theres a valuable thread HERE which can help restoring your system, you WILL LOSE ALL DATA and I will not be blamed under any circumstances.
Q: Is the ROM official?
A: The ROM is Official.
Q: I use Telegram, where can I find help on that platform?
A: There is a common AOSiP Group Chat for all devices, the link is HERE
Q: Does SafteyNet pass and is the SELinux Enforcing?
A: Yes, SafteyNet does pass out-of-the-box and SELinux is Enforcing.
Q: What OOS Base firmware do I use?
A: OOS 10.0.6 is the recommended base firmware right now.
Q: I'm having high idle drain, please fix.
A: I'll need more data from you to figure it out, Install BetterBatteryStats and let me know about what it tells you after 3-4 charge cycles. Please do not report issues when having apps like Greenify, Naptime, Wakelock blocker etc.
Q: My phone is stuck on the "Bootloader is unlocked" warning page, why isn't my system booting?
A: Since there are a bunch of scripts being executed when the device is sent a power on signal, it might take some time to boot. Don't panic, your system will boot fine after some time. All builds are personally tested by me and a few testers.
Reserved
Littyyyyy???
Yay, aosip is here. You are the man @anirudhgupta109 glad you got Verizon going. Kudos to the Verizon tester and whatnot.
Thank you for the perfect Rom.
This has all the customizable features like android 9
so when you say a clean flash, does it mean wiping the internal storage as well cause it'll be a little vexing to transfer all the data again and again
anirudhgupta109 said:
Reserved
Click to expand...
Click to collapse
Very well written op and following couple posts. OP's like this is why I still use XDA everything right where you need it instead of having to go through thousands of lines of Chat.
This is the most detailed instructions I've ever seen on xda. Very well written. Thanks for your patience teaching a newb everything he should know. And congrats for your nice work!
I installed it. Great work. Thanks.
All looks fine so far. Didn't setup fingerprint yet so no comments on that.
The only thing that I did not like much is the camera app. Can we have camera of Oneplus or GCam please? I know, I can install gcam separately but would be better if it is included instead of the one available right now in the rom.
So far the experience has been great. Fingerprint is pretty good, about 9/10 success times.
I noticed that the FP icon when pressed is only a white circle, while on OOS it's white with red in middle, that wouldn't factor in accuracy?
Additionally, on AOD, does the screen stay running at 90Hz? As that would make it drain battery quite fast.
Either way, great ROM, thank you.
aer0zer0 said:
Yay, aosip is here. You are the man @anirudhgupta109 glad you got Verizon going. Kudos to the Verizon tester and whatnot.
Click to expand...
Click to collapse
Thanks a lot for testing that annoying carrier ???
umair shaikh said:
so when you say a clean flash, does it mean wiping the internal storage as well cause it'll be a little vexing to transfer all the data again and again
Click to expand...
Click to collapse
Yes, clean flashing includes internal storage.
The only time you need to clean flash is when coming from another ROM.
When updating AOSiP you don't need to so it's basically a one time process.
david72262 said:
Very well written op and following couple posts. OP's like this is why I still use XDA everything right where you need it instead of having to go through thousands of lines of Chat.
Click to expand...
Click to collapse
yqx1110 said:
This is the most detailed instructions I've ever seen on xda. Very well written. Thanks for your patience teaching a newb everything he should know. And congrats for your nice work!
Click to expand...
Click to collapse
Thanks for the kind words the two of you, it took awhile to type it out for everyone, glad it's appreciated ??
elanandkumar said:
I installed it. Great work. Thanks.
All looks fine so far. Didn't setup fingerprint yet so no comments on that.
The only thing that I did not like much is the camera app. Can we have camera of Oneplus or GCam please? I know, I can install gcam separately but would be better if it is included instead of the one available right now in the rom.
Click to expand...
Click to collapse
We are an open source project so including any form of closed source apps we can do away with irks me. The idea of having GApps inside the ROM itself feels wrong but it's a necessity.
Anyway, the latest Urnyx GCam works perfectly with AOSiP without any magisk modules nor setting permissive selinux. It's literally install and use so you can do so if you need to.
The OnePlus Camera also works, just that it needs to be launched from the long press menu on your launcher.
Mohammed779 said:
So far the experience has been great. Fingerprint is pretty good, about 9/10 success times.
I noticed that the FP icon when pressed is only a white circle, while on OOS it's white with red in middle, that wouldn't factor in accuracy?
Additionally, on AOD, does the screen stay running at 90Hz? As that would make it drain battery quite fast.
Either way, great ROM, thank you.
Click to expand...
Click to collapse
That's an interesting observation, I'll look into the red center.
No, there is nothing to refresh on AOD so it doesn't run on 90Hz.
You can also choose the type of 90Hz you want to run with in OnePlus Settings (forced or auto)
Hey the google bar seems to be permanently affixed to the home screen, I cant drag it away like a normal widget, is there anything I can do about that short of installing a launcher?
10.0.7
What are my chances if I start from 10.0.7?
I've got problems with an updated rooted 1903. Tried to keep root but didn't work. Now I've got no wifi and no sound.
Will this get me rolling again?
Many thanks
mikefnz said:
What are my chances if I start from 10.0.7?
I've got problems with an updated rooted 1903. Tried to keep root but didn't work. Now I've got no wifi and no sound.
Will this get me rolling again?
Many thanks
Click to expand...
Click to collapse
I'm running this ROM on 10.0.7. everything is fine.
help !!!
anirudhgupta109 said:
Code:
[B][CENTER]**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****[/CENTER][/B]
Android Open Source illusion Project
About us:
AOSIP is a quality custom ROM based purely on AOSP. Twisted with the latest features and blended with stability. We strive for perfection and it shows.
Team Illusion:
Josh Fox (xlxfoxxlx)
Akhil Narang
Harsh Shandilya
Anirudh Gupta
Source code:
AOSiP Gerrit Review
AOSiP Github
Kernel Source
(A massive thanks to @0ctobot and @RenderBroken for the help with the kernel)
Latest Downloads:
Official Server | SourceForge Mirror
NOTE:
- Since the ROM is big in size due to gapps, try downloading from SourceForge to make sure you get the complete file and also compare md5sum.
- GApps is already pre-included in the ROM.
Credit/Thanks:
Mike Williams (founder and creator of AOSiP)
Google for Android and AOSP
LineageOS
ABC ROM
AquariOS
BootleggersROM
Dirty Unicorns
PixelExperience
OmniROM
CarbonROM
nathanchance
---------
Other projects whose work helped us to create this
And last but not the least, all our testers, who have helped us to squash many bugs so that we can try to release builds that as are flawless as possible
Hosted and built on
​
XDA:DevDB Information
Android Open Source Illusion Project, ROM for the OnePlus 7T
Contributors
anirudhgupta109
Source Code: https://www.github.com/AOSiP
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: OxygenOS 10.0.6
Based On: AOSP
Version Information
Status: Alpha
Created 2019-12-14
Last Updated 2019-12-14
Click to expand...
Click to collapse
writing 'system' ...
FAILED (partition not found)
hru200 said:
writing 'system' ...
FAILED (partition not found)
Click to expand...
Click to collapse
Follow the instructions maybe?
Type "fastboot reboot fastboot" then do the images flashing commands.
---------- Post added at 10:45 AM ---------- Previous post was at 10:39 AM ----------
Anyone having weaker WiFi signal compared to OOS? On a 5GHz WiFi that is. Same testing position, yet much weaker. Additionally, frequent disconnections.

[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), 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 contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What's working :
Boots
RIL (Calls, SMS, Data)
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
GPS
NFC
Flashlight
Mobicore keystore
Known issues:
VoLTE
Selinux is permissive
Instructions :
If you're on oreo, flash OneUI latest.
Download the latest build.
Reboot to recovery
Flash the latest build.
Optional: Flash GApps for Google Services and Magisk for root.
Reboot
Downloads :
All updates will be here.
Sources :
Device Tree
Common Device Tree
Vendor Blobs
Kernel Source
XDA:DevDB Information
[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte], ROM for the Samsung Galaxy J4+
Contributors
ataberkozen
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: OneUI, U2
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 1.1
Beta Release Date: 2020-02-25
Created 2020-02-25
Last Updated 2020-03-10
Changelogs :
Public Beta 3 - 18/03/2020 :
Fixed a issue which some users have broken ril.
Fixed a issue which some users have broken nfc.
Public Beta 2 - 10/03/2020 :
Merge Security Patch: 5 March 2020
Fix audio on second sim: @Geckyn
Fix HDR on Camera.
Fix FM Radio.
Fix torch releated issues.
Fix Mac Adress releated issues.
LineageOS Source Upstream.
Public Beta 1 - 26/02/2020 :
First public release.
Special Thanks :
@BarryBlackCat for non-stop, day and night testing builds.
@Geckyn for pointing out some stuff. Thanks man.
I will NOT accept your bug report if you are using a custom kernel.
I will NOT accept your bug report if you are using a modification (Like some magisk modules etc.).
I will NOT check your bug report if you didn't provide any logs (Some bugs may will be checked).
Camera doesn't take HDR photo (or hang when switching between HDR and non HDR mode), it also happened on other custom ROM as well.
No magisk module or custom kernel installed.
Here is the logcat with "camera" keyword as filter: https://pastebin.com/RrDvAtjw
Andhika24kd said:
Camera doesn't take HDR photo (or hang when switching between HDR and non HDR mode), it also happened on other custom ROM as well.
No magisk module or custom kernel installed.
Here is the logcat with "camera" keyword as filter: https://pastebin.com/RrDvAtjw
Click to expand...
Click to collapse
Thanks.
KotaMangga said:
Ashyx kernel sir?
Click to expand...
Click to collapse
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.
No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.
No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).
ROM screenshot: (Stock apps are actually there and just like in LOS 16, sorry I already uninstalled most of them)
Andhika24kd said:
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.
No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.
No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).
Click to expand...
Click to collapse
OK , thanks for the tutorial also the full explanation
Can we get some screenshots?
any temp fix for VoLTE and sec sim voice
swarupgolui said:
any temp fix for VoLTE and sec sim voice
Click to expand...
Click to collapse
Maybe you could try sending logcat when attempting voice (call?) on SIM 2. There is a handy app on Play Store called "Logcat Reader" to catch & filter logs easily, just press to round button to record the logs.
I currently can't do it since I don't have someone important to call.
swarupgolui said:
any temp fix for VoLTE and sec sim voice
Click to expand...
Click to collapse
Samsung's ims is heavily OneUI framework dependent. Fixing it is kinda miracle. I don't think it will be ever fixed. But if you contact me on telegram, we might try to fix it. Also trying to fix voice of second sim.
This rom for j6+ sir? , I cant flash it .
KotaMangga said:
This rom for j6+ sir? , I cant flash it .
Click to expand...
Click to collapse
Check the thread on j6+ forum.
ataberkozen said:
Samsung's ims is heavily OneUI framework dependent. Fixing it is kinda miracle. I don't think it will be ever fixed. But if you contact me on telegram, we might try to fix it. Also trying to fix voice of second sim.
Click to expand...
Click to collapse
telegram link?
swarupgolui said:
telegram link?
Click to expand...
Click to collapse
MacTavishAO
ataberkozen said:
MacTavishAO
Click to expand...
Click to collapse
already send the msg reply plz
my id @metalgod_IN
ataberkozen said:
Check the thread on j6+ forum.
Click to expand...
Click to collapse
no, I mean it's for j4+?
E3004 : This package is for j6primelte ; your device is j4primelte.
KotaMangga said:
no, I mean it's for j4+?
E3004 : This package is for j6primelte ; your device is j4primelte.
Click to expand...
Click to collapse
Don't click on "Download Latest Version", click on zip name with j4primelte.
I has installed the rom sir , this rom more faster.
I see little problem :
1. when i change to power saver , battery indicator going red . but after switch mode , its back normal

[Treble][GSI] Ubuntu touch for Oneplus 3/3T

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
What is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.
What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.
How it is a GSI?
First of all, I should mention ubports GSI definition is different from android, but both are generic.
ubports root file system was always generic and works for most cases, but devs were porting halium system image to add device-specific (HALs and configs) support to ubports Android container.
But after project treble which introduced in android 8, all device-specific parts of android system image moved to vendor partition and we can use "Generic system images" over one vendor partition.
In halium version 9, we use this adventure and have a totally generic system image + root file system.
Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
Keep in mind having android 9 firmware installed on the device as GSI base is mandatory
What's needed ?
Phone needs to be treblized - thanks to the project : https://forum.xda-developers.com/on...eble-lineageos-15-1-treble-oneplus-3-t3830455
Then custom kernel & lineage image dedicated to Ubports - OP3 https://drive.google.com/drive/folders/1vnJEKkhO3xqH-fWWG55-yxwx5K1EeKq7?usp=sharing
Ubports GSI image are required
Installation steps:
- Download:
Recovery : twrp-op3treble-3.3.1-1.img : there
LineageOS 16 Ubuntu touch custom : there
Firmware 9.0.6 : oxygenos-9.0.6 be careful the firmwares are device specific : there
Download the latest GSI zip from there
Download the Halium-ramdisk there
Download the halium-boot.img there
Download the OP3_GSI_Fix_V1.1.zip there
- Reboot into fastboot and install the TWRP recovery => Check the official link for installation TWRP link
- Treblelize your OP3(t), by following the information there : https://forum.xda-developers.com/on...eble-lineageos-15-1-treble-oneplus-3-t3830455
- Reboot into the TWRP Recovery
- Update the firmware
- Install LineageOS 16 Ubuntu touch custom
- Reboot into Lineage, confirm everything works fine.
- Ensure your /vendor (after mounting) is populated with content from an Android 9 ROM (LineageOS)
- Flash the GSI zip file
- Flash the halium-boot.img from before to your boot partition (if you didn't yet):
Code:
adb push ~/Halium/out/target/product/oneplus3/halium-boot.img /tmp/
adb shell "dd if=/tmp/halium-boot.img of=/dev/block/bootdevice/by-name/boot"
Or
Code:
fastboot flash boot out/target/product/oneplus3/halium-boot.img
- Flash the halium-ramdisk.zip
- Flash the fix for OP3 : OP3_GSI_Fix_V1.1.zip
- Reboot
- Enjoy
What's work:
Audio
Calling
SMS
4G - Yes but no icons - need to activated once after GSI is flashed
Wifi - Need a fix to restart it see the github repo
GPS
Vibration
Orientation sensor
Bluetooth
camera - zooming is sluggish
Video recording/decoding
Fingerprint + home button calling the dash <= Sweet !
What's Missing:
GSM tends to crash time to time on low signal.
Flash light
ADB/MTP - replaced by SSH
Libertine - didn't try yet
Anbox - Not tried yet
others ?
Thanks to :
https://forum.xda-developers.com/on...eble-lineageos-15-1-treble-oneplus-3-t3830455
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
And Ubports team : https://ubports.com/
Hi, thanks for this port.
What's the differences between this gsi build and the official build that flash with ubports-installer?
Sbodezzi said:
Hi, thanks for this port.
What's the differences between this gsi build and the official build that flash with ubports-installer?
Click to expand...
Click to collapse
Hello Sorry, I didn't see your reply.
It's a good question, I'm trying to maintain both port, as a quick glance :
- Official Ubports is based on halium 7.1 based on lineage 14.1.
- Ubports GSI is based on halium 9 based on lineage 16.0.
The first one doesn't need partition modification while the second requires the dedicated vendor partition.
On the other side installing via the ubports installer is annoying sometime due to the partition management of oneplus3. (The same to format to install lineage)
Experience wise, the GSI tends to be smoother than the official Ubports on the other side the update (edge = unstable) on the GSI are currently coming randomly depending on Erfan works. I don't know in the future how this will be handle. GSI doesn't have OTA while Official ubports yes.
Hardware wise the GSI has the advantage to have : Video recording, fingerprint reading, incall volume working, on the other side there are some bugs graphic/touch glitch, no data icon etc...
Some bug listed in the github repository, I found a fix and now I need to create a script post GSI install.
I personally prefer to use daily the GSI due to the feeling to be smoother.
A good video describing this port : https://www.youtube.com/watch?v=UyOcQtNDZwM
Thanks for the thread!!
Are you the Kevin I talked to on the Halium TG? Seems you fixed RIL, that's cool!
Thanks
slash.tux said:
Hello Sorry, I didn't see your reply.
It's a good question, I'm trying to maintain both port, as a quick glance :
- Official Ubports is based on halium 7.1 based on lineage 14.1.
- Ubports GSI is based on halium 9 based on lineage 16.0.
The first one doesn't need partition modification while the second requires the dedicated vendor partition.
On the other side installing via the ubports installer is annoying sometime due to the partition management of oneplus3. (The same to format to install lineage)
Experience wise, the GSI tends to be smoother than the official Ubports on the other side the update (edge = unstable) on the GSI are currently coming randomly depending on Erfan works. I don't know in the future how this will be handle. GSI doesn't have OTA while Official ubports yes.
Hardware wise the GSI has the advantage to have : Video recording, fingerprint reading, incall volume working, on the other side there are some bugs graphic/touch glitch, no data icon etc...
Some bug listed in the github repository, I found a fix and now I need to create a script post GSI install.
I personally prefer to use daily the GSI due to the feeling to be smoother.
A good video describing this port : https://www.youtube.com/watch?v=UyOcQtNDZwM
Click to expand...
Click to collapse
Thank you for your exhausting answer.
It seems worth taking a ride ?
thanks very much for your hardwork
what is the default password?i tried 0000 but cant access my files
The default password is phablet, by ssh [email protected]
how to making system be rw?
this [guide](https://ubports.com/blog/ubports-blogs-news-1/post/terminal-chapter-3-3073) need adb but adb doent work,anyother idea?
weigeloveu said:
how to making system be rw?
this [guide](https://ubports.com/blog/ubports-blogs-news-1/post/terminal-chapter-3-3073) need adb but adb doent work,anyother idea?
Click to expand...
Click to collapse
Use the application UT tweak tool (from Open Store) and go to the system menu.
stuck at oneplus logo
EDIT:
Now it works!!!!!!!!!!!!!!!! I made the Format Data with TWRP and then flashed the boot image by fastboot. It seems like the path is wrong, I think the right path for the dd would be /dev/block/by-name/boot. But now it works!
Hello all,
I am not totally new to the whole flashing thing but also not an expert so please excuse some lack of knowledge.
But I tried now several times this instrucions and got some issues fixed by myself, but always I end up with a stucked boot logo.
Flash TWRP treble -> treblized -> flash LOS 16.0 treble - > Updated Firmware with op3.zip (more to that later) -> flash LOS 16.0 Ubuntu -> check if LOS works -> Flash halium-boot.img with adb -> Flash GSI -> flash halium-ramdisk.img -> flash GSI Fix -> Reboot
So my first question, and sorry for my dumbness, but what is meant by " - Update Firmware " ? Are there maybe some more detailed instructions for that ?
Because what I did was downloaded the linked git repository, and then I zipped the files wich were inside the op3 folder only. And this zip I "installed" with TWRP. But that felt always kida wrong so maybe thats my issue. But what else I have to do?
The second thing I noticed is that the command for flashing the boot.img with adb points to "/dev/block/bootdevice/by-name/boot" but "bootdevice" seems to be a file if I got to FileManager within TWRP. The only place where a "boot" file is located at my device is "/dev/block/by-name/boot" so should I use this path instead then?
Besides that I didn´t do "Format Data" before flashing the boot.img like it mentioned in the linked description. But not this thread here so I was not sure if I will destroy something by formatting....
I hope you can help me
And pls apologize my bad language
Hy guys, I followed instructions to install UT on my OP3T but mobile data doesn't work. Any suggestion?
Hello, thanks a lot for this, I ran it and it did run better than the official UT mostly. I was wondering if you could make a GSI_fix for the phone for droidian. Or if you could perhaps guide me/send any tips because I really don't know how to go about making an adaptation package for the droidian_gsi. Thanks in advance!
Afaik you do not need any fix for it. But we are OT. It should work with droidian-rootfs-api28gsi-arm64 and optional the -devtools package. Do not use any fixes!

Categories

Resources