[ROM][SM-G313HN] Cyanogenmod 11 for Galaxy Trend 2 (Updated 14th December 2015) - Samsung Galaxy Ace 4

Code:
#include
/*
* 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.
*/
General:
CyanogenMod 11 for Samsung Galaxy Trend 2. (SM-G313HN) This is not 100% completed, so bugs can be expected. There are some bugs listed on this post and if you find more, report them to me. (Either to this thread or via private messages) It will help alot to fix them.
Note: Google apps are not included. Get them here. I recommend using Mini or smaller, because when installing a OTA update, the bigger packages don't fit on RAM if the internal storage is full. You can install the rest from Play store. It is also kinda pointless to have for example, Youtube and Google Maps on /system, because when they are updated, the updated versions go to /data anyway.
Screenshots:
Downloads:
* Latest build
* All builds
Installation:
* Install a custom recovery. (Get CWM here)
* Download the latest version to your SD-card.
* Boot into the recovery mode by pressing <Vol. Up> + <Home> + <Power>
* You can navigate on the recovery mode with the volume keys. <Power> opens the selection and <Back> goes to the previous menu.
* Backup your stock ROM by going to the SD card by going to "backup and restore" -> "backup to /storage/extSdCard". You need about 3-4 gigabytes of free space on the card, depending how full your internal storage is. You can go back to stock if you don't like this ROM, by going to "backup and restore" -> "restore from /storage/extSdCard".
* You need to do a factory reset before installing this. You can do this by selecting "wipe data/factory reset". The installation won't let you install the ROM without doing this.
* Select "install zip" -> "install from /storage/extSdCard" and then select the zip you downloaded.
* Optionally install the OpenGApps-package while you are in the recovery the same way. (Doesn't need a data wipe)
* When it is done installing, go back to the main menu and select "reboot system now" and that should be pretty much it. The first startup takes a while.
Updating:
CyanogenMod checks for updates weekly by default. You can update the phone manually by going to Settings -> About phone -> CyanogenMod-updates, tapping the refresh button and selecting the latest one. After it is downloaded, you can install it.
What works?
* Audio
* Bluetooth (At least file transfer between 2 devices is confirmed, no other devices tested. (For example. headsets, keyboards, etc.)
* Calls
* Camera
* Data connection
* DSP Manager
* GPS
* NFC
* Offline-charging
* OTA updates
* Text messages
* USB (Adb, MTP, PTP, UMS, Tethering, etc)
* Video playback/recording (Mostly.. Front camera video recording doesn't work and some codecs don't work.)
* WiFi
* Wired headsets (Audio, microphone, button)
Bugs:
* First startup might is laggy. The best way is to just skip everything, change the language and set up the accounts, etc. from the Settings app.
* Some videos don't play, because there are some codec issues. (For example on Facebook. YouTube seems to work fine.)
* Some have reported about higher battery drain when using WiFi compared to stock ROM.
* Reported that when calling or sending messages, the phone causes more interference to TV/radio signals than stock. (Excessive transmitting power?) Not too noticeable unless you are very close to the antenna, so it shouldn't cause too much problems. Possibly uses more battery.
* When USB debugging enabled and the phone is restarted, turning USB tethering on too quickly doesn't turn it on completely and removing the USB cable the phone causes the phone to freeze. (This happens when using Linux, the computer shows that it is trying to connect to the internet but the phone shows that USB tethering is not enabled) When this happens, it can be fixed (When the cable is not removed) by going to the settings -> developer settings and disabling ADB, then re-enabling it and finally then turning on USB tethering. Yes, Linux + ADB + turning on USB tethering within 10-20 seconds after rebooting. I know this doesn't affect many people, but happens to me frequently.
* Front camera video recording doesn't work.
Changelog:
Code:
===================================
Build 20151214
===================================
* Fix libskia. (Updated sources)
* Remove unused or otherwise useless binary blobs. List of blobs:
/system/bin/at_distributor
/system/bin/atx
/system/bin/atxd
/system/bin/usb_portd
/system/bin/usbdev_mode
/system/etc/apanic_rename.sh
/system/etc/copy_cp_imgs.sh
/system/etc/show_navi.sh
/system/etc/usb_portd.conf
/system/lib/lib_SA_GoogleFX_ver124b.so
/system/lib/libatlog.so
/system/lib/libatparser.so
/system/lib/libaudiosa.so
* Rework /system/etc/media_profiles.xml. (Doesn't seem to fix or break anything..)
* Change kernel compression from XZ to GZip. (Speeds up booting by few seconds)
* Disable CONFIG_KSWAPD_NOSWAP from kernel. (Enable better swapping)
* Remove unused services from /init.hawaii_ss_vivaltonfc3g_base.rc.
===================================
Build 20151209
===================================
* Android security patch December 1, 2015.
* Removed the a2dp_audio_hw patch, because it did not do anything.
===================================
Build 20151207
===================================
* Fixed libstagefrighthw. (Caused some app crashes, for example YouTube and Facebook)
* Enabled zRam. (This should speed up the phone nicely, when there are alot of apps running in the background.)
* Patched a2dp_audio_hw. I don't know if it changed anything.
* Cleaned the init scripts a bit.
===================================
Build 20151128
===================================
* Fixed bluetooth
* Fixed NFC
* This build now uses CyanogenMod /init instead of the stock one
* Now uses OTA updates (yay!)
===================================
Build 20151119
===================================
* Fixed the "WiFi amnesia" bug
* Fixed offline charger
===================================
Build 20151118
===================================
* Fixed the codec issues
* Built with newer sources, now shows "Android security patch level"
===================================
Build 20150829
===================================
* First release.
Source code:
* Device tree
* Kernel
Thanks to itigr for helping me alot in this project!

Thanks a lot!

Best wishes with very first custom rom for Trend 2! Keep going!
I prefer pico or nano GApp build. This one should works on CM-11.
update:
I've found that this is very stable and fast ROM, not bugged as I had experience with CM11 on Huawei.
It even works with microG (GApp replacement) very nice! I only use Play Store and YouTube app.
New Pipe (Youtube replacement) have problem only for WebM format video is blue/pink filtered, but smooth playing. For MPEG-4 format, play normal.
Samsung S6 CM11 theme and S Launcher 6 made Trend 2 looks similar to stock touchwiz environment

I found more bugs. Bluetooth isn't working and device forgets wifi password with every reboot.

New build coming soon! Changes:
- Most of the hardware codecs work now. (Tested: video recording/playback, Youtube, DSP Manager)
- When I updated the CM sources, there was "Android security patch level" in "About phone". Not sure if these will update automatically or what.
EDIT: New build is available!
EDIT2: Fixed the "WiFi amnesia". Quick patch: https://www.androidfilehost.com/?fid=24269982086999294.
EDIT3: New build uploaded. Fixed the WiFi bug and the offline charger now works.
EDIT4: Accidentally uploaded the eng-build. (Red flashes around the screen and insecure ADB) >.< Rebuilding..
EDIT5: Re-uploaded the build.

Small teaser:
{
"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"
}

Nikiz said:
Small teaser:
Click to expand...
Click to collapse
G313HN got CM12.1 now )
G313HU got CM11 )
and now G313HZ is the worst of all (
Most of all: G313HZ use Spreadtrum chip instead of Broadcom

doesntexits said:
G313HN got CM12.1 now )
G313HU got CM11 )
and now G313HZ is the worst of all (
Click to expand...
Click to collapse
Well, er, it is CM12.0 for G313HN
And Galaxy V (G313HZ) got whole thread with CM11.0 also.

adeii said:
Well, er, it is CM12.0 for G313HN
And Galaxy V (G313HZ) got whole thread with CM11.0 also.
Click to expand...
Click to collapse
But it has lots of bugs

Well, the CM12.0 is not usable yet. The base system works pretty well, but RIL/WiFi/Bluetooth are not working yet. Well, it is the first build that actually boots. Also logcat shows alot errors. It is strange, the RIL and WiFi works for about 30 seconds after the first boot, then suddently stops working.. Also, I found out why the stock /init works and CM one doesn't. ueventd tries to load < 32 characters long ueventd.{hardware}.rc and "ueventd.hawaii_ss_vivaltonfc3g.rc" is too long. It needs to be renamed (or patch the init) "ueventd.hawaii_ss_vivaltonfc3g.r" or sometimes "ueventd.hawaii_ss_vivaltonfc3g". (I have absolutely no idea why it varies..)

Nikiz said:
Well, the CM12.0 is not usable yet. The base system works pretty well, but RIL/WiFi/Bluetooth are not working yet. Well, it is the first build that actually boots. Also logcat shows alot errors. It is strange, the RIL and WiFi works for about 30 seconds after the first boot, then suddently stops working.. Also, I found out why the stock /init works and CM one doesn't. ueventd tries to load < 32 characters long ueventd.{hardware}.rc and "ueventd.hawaii_ss_vivaltonfc3g.rc" is too long. It needs to be renamed (or patch the init) "ueventd.hawaii_ss_vivaltonfc3g.r" or sometimes "ueventd.hawaii_ss_vivaltonfc3g". (I have absolutely no idea why it varies..)
Click to expand...
Click to collapse
Great job anyway.
Btw bluetooth should work if you'll use the stock libs (on cm11).
and thanks for pushing patches .

itigr said:
Great job anyway.
Btw bluetooth should work if you'll use the stock libs (on cm11).
and thanks for pushing patches .
Click to expand...
Click to collapse
Thanks. Btw, here are the DS-versions of the patches: https://github.com/ZIM555/android_device_logands/tree/master/patch Just add the external/tinyalsa to it. Btw, could you try to boot HU with HN kernel and show what "cat /proc/cpuinfo" and "cat /proc/simslot_count" shows with it? It might be possible to make one ROM for both devices. Just need to change "ro.telephony.ril" on init. I just need a way to detect which device it is regardless of what kernel/ROM it is running.
EDIT: Well, I need to figure out a way to disable NFC, preferably without deleting files.

Nikiz said:
Thanks. Btw, here are the DS-versions of the patches: https://github.com/ZIM555/android_device_logands/tree/master/patch Just add the external/tinyalsa to it.
Click to expand...
Click to collapse
Ok, i'll check it out.

Well, the Cyanogenmod Updater is not working.. The OTA server seems to be working though.
EDIT: Oh, it works. Had to add "/api" to the url.

Nikiz said:
Well, the Cyanogenmod Updater is not working.. The OTA server seems to be working though.
EDIT: Oh, it works. Had to add "/api" to the url.
Click to expand...
Click to collapse
What server do you use btw? xdarklight's one?

itigr said:
What server do you use btw? xdarklight's one?
Click to expand...
Click to collapse
I use this: https://github.com/julianxhokaxhiu/CyanogenModOTA It is simple and easy to set up. Doesn't require mysql-databases, etc. Just download it and boom, it works. Or at least should work. I had to do some small modifications to it.

itigr said:
Btw bluetooth should work if you'll use the stock libs (on cm11).
Click to expand...
Click to collapse
Got Bluetooth working on CM libs! Well, atleast file transfer works between two devices. I have no headsets to test though. Just add bt_vendor.conf to /system/etc/bluetooth-
Code:
# UART device port where Bluetooth controller is attached
UartPort = /dev/ttyS0
# Firmware patch file location
FwPatchFilePath=/system/vendor/firmware/
#Firmware Patchfile name
FwPatchFileName=BCM4343A0_001.001.034.0044.0127_ORC_Vivalto-3G_5MC.hcd
(SM-G313HU seems to use a newer patch file, just rename it)
Also made some changes regarding NFC, but I have no way to test it.
The OTA server seems to just dump all builds, regardless of what version is in use so the phone will show older builds as updates as well..

New build! Changes:
* Bluetooth is now working. (At least file stransfer)
* Small changes to NFC, might not work though. I have no way to test this.
* Uses now the Cyanogenmod /init, no longer using the stock one.
* OTA updates enabled!

Great. One more question, does your kernel compile while building CM? I can only compile it by going to kernel dir and running make here, then defining TARGET_KERNEL_PREBUILT, eitherway it ****s about "zconf.hash.c" .
UPD0: Just started compiling and sata connection died -_-, dammit.
UPD1: one guy reported couple months ago that headset (bluetooth or wired, no idea) button doesn't work

itigr said:
Great. One more question, does your kernel compile while building CM? I can only compile it by going to kernel dir and running make here, then defining TARGET_KERNEL_PREBUILT, eitherway it ****s about "zconf.hash.c" .
UPD0: Just started compiling and sata connection died -_-, dammit.
UPD1: one guy reported couple months ago that headset (bluetooth or wired, no idea) button doesn't work
Click to expand...
Click to collapse
I am compiling the kernel while building CM. It just works for me. I use ArchLinux. Try to use my kernel sources. One thing though, the build might fail, because the new glib. Use "export LANG=C" before building, or add it to "~/.bashrc". For some reason linking libwebviewchromium.so takes for me about 12-48 hours when I reinstalled Arch, normally it took about 6 hours for the whole build..
I just tested the wired headset with the "Okay Google"-thingamajig and it is working perfectly.

Related

[ROM][5.0.2][LOLLiPOP] Unofficial CyanogenMOD 12 for WeTek Play

{
"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"
}
Release notes
* This is not a bug, but a consequence of the switch to art from dalvik: first boot, updates and apps installation will take longer; this happens because art compiles the apk and does not work like dalvik that was using a just-in-time approach (so expect almost 10 minutes for the first boot and future upgrades)
* Probably few minor things might not be as stable as the stock ROM, in case report it and I will try to fix it.
First install instructions
* As really first thing install one of the available customs recoveries (CWM or TWRP)
* Power off your device and unplug the AC power cord.
* Get the latest available ROM and GAPPS version from the links below and copy them to a MicroSD card.
* Now insert the MicroSD card in your STB.
* Plug the AC power cord while you keep pressed the little reset pinhole (located on the bottom of the device) for 10 seconds (just count slowly to ten and it will be good).
* Once the device has booted to recovery perform a factory reset and flash the ROM's zip for first followed by the GAPPS zip.
* Reboot and enjoy CyanogenMOD.
Update instructions
* Get the latest available ROM and GAPPS version from the links below and copy them to a MicroSD card.
* Now insert the MicroSD card in your STB.
* Enable "Developer options" following this tutorial and from it enable the "Reboot to recovery" option.
* Bring up power menu by keeping pressed the power button on the STB for a couple of seconds (or pushing F4 if you have a keyboard plugged in) and select "Reboot -> recovery".
* Once the device has booted to recovery flash the ROM's zip for first followed by the GAPPS zip.
* Reboot and enjoy your updated CyanogenMOD.
Downloads
* ROM 2015-01-20
* GAPPS 2015-01-07 (LITE)
* GAPPS 2014-11-09 (FULL)
* Kernel sources
Screenshots
Videos
* https://www.youtube.com/watch?v=ZESm4wjU_kA
Misc Stuff
* When an app forces the portrait orientation, the default behavior is to simulate a portrait / phone-like UI adding black bars to the sides (an example is Antutu when it runs the benchmark, or Box.com). If you prefer to have a landscape stretched UI flash this zip. To revert to the default behavior flash this one instead.
Note that the setting will persist even if you upgrade the ROM so you have to flash that zip only once.
* When you press power button on the TV box or the AirMouse, the default behavior of the device is to perform a shutdown and enter a suspension state (the status LED will turn red) and when you will power it on again, it will have to boot from scratch.
If you find it annoying you can flash this zip (it will have to be flashed after each rom upgrade) that will turn off box's video output but it will mantain it active for background tasks (the LED will stay, in fact, blue) and powering it on will take just a second (the same as it happens on an Android phone or tablet for example)
Older builds
* ROM 2015-01-15
* ROM 2015-01-13
* ROM 2015-01-12
* ROM 2015-01-11
* ROM 2015-01-10
* ROM 2015-01-05
* ROM 2015-01-02
* ROM 2014-12-30
* ROM 2014-12-25
* ROM 2014-12-23
* ROM 2014-12-22
* ROM 2014-12-19
Removing the "beta" tag since it's working very very nicely, enjoy this Christmas build on your first TV Box having a really working Lollipop
* ROM 2014-12-23
Any chance at all that this will work with the Minix X8 as it runs an Amlogic S802 chip?
I'm sorry but I'm offering support only for WeTek products
Ryan 619 said:
Any chance at all that this will work with the Minix X8 as it runs an Amlogic S802 chip?
Click to expand...
Click to collapse
I would give donations do have this for my Minix x8-h Plus, hope it gets more attention soon
Fixed official YouTube playback in today's build (actually I've done a much better job under the hood integrating into amplayer the new Lollipop way to handle network streams, instead of keep using some old routines that I had forward ported)
Now it's practically a daily driver.
* ROM 2014-12-25
Android TV
Your work is fantastic. I really appreciate what you do.
I want to ask, will it be possible to make a Android TV build like on the Nexus Player
Thank you in advance.
Is there any source code for Android TV available? Anyway right now the review about the Nexus Player are really meh, it's something a little bit more than a chromecast
Android TV
Christian Troy said:
Is there any source code for Android TV available? Anyway right now the review about the Nexus Player are really meh, it's something a little bit more than a chromecast
Click to expand...
Click to collapse
I hope this will help:
url --> android.googlesource.com/device/google/atv/+/android-5.0.2_r1
url nexus player --> android.googlesource.com/device/asus/fugu/+refs
As I understand the ATV is just a customized lollipop with some added and removed services.
Thank you for your hard work.
I will give it a look in the future
Android TV
Christian Troy said:
I will give it a look in the future
Click to expand...
Click to collapse
Thank you for this:
url--> wetekforums.com/viewtopic.php?f=13&t=97&sid=cf9b59c44e999dc30c7cee61704ce0c0
until I won't find a way to use the gapps from Nexus Player it won't run properly
Android TV
Christian Troy said:
until I won't find a way to use the gapps from Nexus Player it won't run properly
Click to expand...
Click to collapse
I'll have a look at that.
I think the device has to be recognized by the google play store as the Nexus player to get the proper gapps. I'll try to find the proper version of Google Play Store and Play Services.
The device is already fetching apps for Android TV, in fact the store is very restricted (and you can download Youyube for Android TV like shown in the screenshot), the problem is in the default play store, it will update only with the phone/tablet version, I have to ship it with the one from the Nexus Player but right now it's odexed and baksmali fails with Lollipop odex files.
New build, and a new GAPPS zip for those of you that wanna a minimal install without most of G's bloatware
* ROM 2014-12-30
* GAPPS 2014-11-09 (LITE)
* ROM 2015-01-02
Fixed volume +/- handling, now it will default to modify the "media" stream volume and it will actually work (despite big G's effort to output always at max volume the media stream using digital connections); improved mute button handling (it uses a native function to mute the stream instead of doing weird workarounds like amlogic was doing), if you mute it you can unmute pressing mute again or pressing vol+, if the stream is muted and you press vol- nothing will happen.
btw, this was Lollipop's handling of mute button before my modification
Code:
case KeyEvent.KEYCODE_VOLUME_MUTE:
[...]
// TODO: Actually handle MUTE.
.... "Actually handle MUTE"... they didn't rush out L release, do they?
* ROM 2015-01-05
Some minor changes and two relevant:
- replaced CM's Superuser with SuperSU (the new superuser that has recently been committed doesn't work with this kernel that doesn't have SELinux enabled), at first boot a notification will tell you to update su binary, all the files are updated but, again, because of the lack of SELinux it will drive SuperSU a little bit crazy, just let it update the su binary in the normal way and it won't bother anymore
- added an exception to not detect the airmouse as an hw keyboard so the aosp ime will popup (if you have an hw keyboard it won't show unless you force it from language & input settings)
* ROM 2015-01-10
This build includes a kernel that I've built from sources, disabling an option that was hogging the cpu when a network service was binding on the localhost interface (hopefully all the other things will keep working, I don't know how far it is respect the kernel used by latest WeTek OS roms, in case I'll ask for updated sources).
Acestream, for example, was unusable because of this, now it works like a charm (tested under Kodi 14.1 RC and latest P2P-Streams, right now SopCast shipped with that addon doesn't work with Lollipop)
Included CEC settings under Settings -> WeTek Settings, untested because I have any cec capable device. It should work because it's just a matter about writing some stuff to the proper sysfs file and let the kernel handle it.
Re-introduced the display sleep timeout, setting it to a value different than "Never timeout" will trigger daydream (the screensaver), that you can customized from its settings.
* ROM 2015-01-11

[ROM][EOL][7.1.2][OFFICIAL] LineageOS for T0LTE

[ROM][EOL][7.1.2][OFFICIAL] LineageOS for T0LTE
{
"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.
*/
This rom has reached end-of-life state. There will be no new builds, updates or support for LineageOS 14.1 version.
If you still find this useful the last build was on 20190126 and you can find it in download section.
Working
Graphics
Wifi
Data
RIL
Bluetooth
GPS
Sensors
Vibration
Camera
NFC
Audio
Video Playback
Miracast
Not working/Bugs/Unknown
Data doesn't work until after first boot.
MHL/HDMI doesn't work
Bluetooth audio (may or may not work for you)
MTP crashes when uninstalling an app
LED flashlight doesn't work on SC-02E
Installation
Read the FAQ to familiarize yourself with any issues that may come up
Make sure you are using the latest TWRP version.
Download the latest build and google apps
Copy it to the phone
Factory reset in TWRP (Very important! Do not skip)
Flash LineageOS 14.1
Flash Gapps
Optional: Flash root package
Reboot
Be patient. The first boot will take between 5 - 15 minutes.
Set up everything and reboot again to get radio working
See the FAQ to avoid common issues
Supported Variants
t0lte
GT-N7105/N7105T
SGH-i317/i317M
SGH-T889/T889V
SHV-E250S/E250K/E250L
SC-02E (SGH-N025)
Download
ROM: https://www.androidfilehost.com/?fid=1395089523397906488
TWRP: https://www.androidfilehost.com/?w=files&flid=173497
Gapps: http://opengapps.org
Root: https://download.lineageos.org/extras or Magisk
Changelog
For official builds: cmxlog.com or lineageoslog.com
Below are the changelogs for unofficial builds:
3/18/2017
Moved smdk4x12 RIL class upstream to smdk4412-qcom-common
03/10/2017
Enabled wakelock for flashlight (prevents flashlight from turning off when screen is turned off)
03/07/2017
Updated SELinux for tethering
Enabled RPFILTER for tethering
Remapped menu button to app switcher
03/06/2017
Fix Bluetooth
Better CDMA support
Removed unnecessary RIL shim
03/05/2017
Note: These are the differences from the last official build, not experimental builds.
SELinux now enforcing (policies completely rewritten)
Fixed data issues
Fixed sensors issues
Fix sdcard (internal and external) writing issues
Switched to open source RIL
Enabled ambient display
02/20/2017
Synced with upstream
SELinux updates
Fixed sensors
16.02.2017
Synced with upstream
SELinux updates
RAF bringup and update
Patched radio libs to fix audio
01/14/2017
Initial build
XDA:DevDB Information
[ROM][EOL][7.1.2][OFFICIAL] LineageOS for T0LTE, ROM for the Samsung Galaxy Note II
Contributors
Option58, PoisonNinja, LineageOS team
Source Code: https://github.com/LineageOS/android_device_samsung_t0lte
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Version Information
Status: Nightly
Created 2017-12-13
Last Updated 2019-07-24
FAQ:
Root
LineageOS removed builtin root, so you need to flash the root package linked above.
Data doesn't work
Reboot. Data doesn't work on the first try
Can't send MMS messages
Reboot. Then, make sure your APN settings are correct.
Dialer not responding during calls/calls not launching dialer
Credits to @paulq75
Settings -> Apps -> tap the cog icons up to the right -> and the set the default Phone app.
A lot of apps force close on system start
Usually happens when switching to/from TouchWiz roms. Solution would be to backup your data to PC and format internal storage. Sometimes even multiple times.
SDCard access denied in app even though I click 'allow'
Known bug. Happens only on first attempt. Solution would be to close the app, remove from recents and start again.
Rom fails to flash or OTA doesn't work
Make sure you are using the latest TWRP version from this thread.
I have some other issue!
See Reporting Bugs below
Reporting Bugs
When reporting an issue, please provide the following information:
Device (N7105, i317, 889, etc.)
Build Date
Logcat when the issue occurs (http://forum.xda-developers.com/showthread.php?t=1726238)
If it's a random reboot, also provide the following information:
Kernel logs. Run "adb shell su -c cat /proc/last_kmsg > /sdcard/Download/kernel.txt" and grab kernel.txt from the Download folder on your phone
Building LineageOS
Follow the instructions at https://source.android.com/source/initializing.html and https://source.android.com/source/downloading.html.
When you get to repo init, use the url https://github.com/LineageOS/android.git -b cm-14.1
repo sync
Edit roomservice.xml in .repo/local_manifests/ and edit it so it looks like this
repo sync
. build/envsetup.sh
brunch t0lte
OH SNAP!!
Wow. You're Comeback! I will try.
Here we go !
Looks like gapps link is down ATM.
Thank you for this new build !
Sent from my SGH-I317 using XDA-Developers Legacy app
Thanks for the new toy to play with bro. Rom boots, takes forever but none the less it boots into the os (so give it a few) which runs like butter. Unfortunately data doesn't connect at all just stays saying connecting. Looking forward to future updates for this bad boy...
Nice to see you come back to this device :good: Too late to mess with it tonight, but I'll flash in the A.M.
I was just trying to build this myself today, but kept getting errors during the build. New to building CM/Lineage, but I'll keep plugging away. Glad to see it's possible to get it to work. I still have hope lol
thanks so much!
Sent from my E6653 using Tapatalk
Is this marked as "unofficial" because it is self build from the LineageOS Sources or are there changes to the sourcecode? And if so what are they?
Will give this one a go once i'm home.
Wowwww thanks Dev.
dzee206 said:
Thanks for the new toy to play with bro. Rom boots, takes forever but none the less it boots into the os (so give it a few) which runs like butter. Unfortunately data doesn't connect at all just stays saying connecting. Looking forward to future updates for this bad boy...
Click to expand...
Click to collapse
Can you at least make and receive calls and texts?
kozmo21 said:
Nice to see you come back to this device :good: Too late to mess with it tonight, but I'll flash in the A.M.
I was just trying to build this myself today, but kept getting errors during the build. New to building CM/Lineage, but I'll keep plugging away. Glad to see it's possible to get it to work. I still have hope lol
Click to expand...
Click to collapse
Sync the sources and try again, as I've upstreamed a bunch of build fixes. Also, cherry-pick https://review.lineageos.org/#/c/156547/, as that fixes the SELinux build errors. Finally, you'll probably want to add androidboot.selinux=permissive to CONFIG_CMDLINE in arch/arm/configs/cyanogenmod_t0lte_defconfig, because otherwise it won't boot with SELinux enforcing.
peterhugelberg said:
Is this marked as "unofficial" because it is self build from the LineageOS Sources or are there changes to the sourcecode? And if so what are they?
Will give this one a go once i'm home.
Click to expand...
Click to collapse
This is unofficial because it is self built, although the code is directly from upstream. I've been commiting patches the past few days to get t0lte to build, which you can see at https://review.lineageos.org/#/q/project:LineageOS/android_device_samsung_t0lte. The only other change that I haven't uploaded to Gerrit is setting SELinux to permissive (because LineageOS developers don't allow SELinux to be set to permissive on official builds)
PoisonNinja said:
Can you at least make and receive calls and texts?
Click to expand...
Click to collapse
No I wasn't able to. I'll try again later on.
PoisonNinja said:
Can you at least make and receive calls and texts?
Sync the sources and try again, as I've upstreamed a bunch of build fixes. Also, cherry-pick https://review.lineageos.org/#/c/156547/, as that fixes the SELinux build errors. Finally, you'll probably want to add androidboot.selinux=permissive to CONFIG_CMDLINE in arch/arm/configs/cyanogenmod_t0lte_defconfig, because otherwise it won't boot with SELinux enforcing.
This is unofficial because it is self built, although the code is directly from upstream. I've been commiting patches the past few days to get t0lte to build, which you can see at https://review.lineageos.org/#/q/project:LineageOS/android_device_samsung_t0lte. The only other change that I haven't uploaded to Gerrit is setting SELinux to permissive (because LineageOS developers don't allow SELinux to be set to permissive on official builds)
Click to expand...
Click to collapse
Little feedback:
I can make receive calls, but no sound
Data doesn't work for me either
GPS does work on even on "device only"
Video works on YouTube
MTP error with stock file manager, no problem with 3rd party ones
I don't have arch/arm/configs/cyanogenmod_t0lte_defconfig, In mine it's arch/arm/configs/lineageos_t0lte_defconfig, I don't have any cyanogen anything there... but I'll change it there. Actually, think that was the error I had an hour into the build. It had something to do with libselinux, then... ninja: build stopped: subcommand failed. Hope that fixes it and I can build :fingers-crossed:
Thanks for the tip :good:
I can call. But no sound sending and receiving call.
Data connection is not established.
Same here... No data and no calls.
kozmo21 said:
Little feedback:
I can make receive calls, but no sound
Data doesn't work for me either
GPS does work on even on "device only"
Video works on YouTube
MTP error with stock file manager, no problem with 3rd party ones
I don't have arch/arm/configs/cyanogenmod_t0lte_defconfig, In mine it's arch/arm/configs/lineageos_t0lte_defconfig, I don't have any cyanogen anything there... but I'll change it there. Actually, think that was the error I had an hour into the build. It had something to do with libselinux, then... ninja: build stopped: subcommand failed. Hope that fixes it and I can build :fingers-crossed:
Thanks for the tip :good:
Click to expand...
Click to collapse
Whoops, you're right. I mean lineageos_t0lte_defconfig. Don't forget to cherry-pick the commit I linked earlier, which should fix the libselinux error.
Jetiman said:
I can call. But no sound sending and receiving call.
Data connection is not established.
Click to expand...
Click to collapse
prbs1982 said:
Same here... No data and no calls.
Click to expand...
Click to collapse
Have you checked the mute settings? Try toggling it.
PoisonNinja said:
Have you checked the mute settings? Try toggling it.
Click to expand...
Click to collapse
Yes, Speaker on-off / mic on-off, does not change anything. No speech outgoing and reaching.
It appears that i9305 has the same radio hardware as the N7105. Roberto Gibellini has been doing a lot of work, I'll see if I can port some of the stuff over.
This reminds of the early CM13 days, when we had to use a chroot to get the radio to work
PoisonNinja said:
It appears that i9305 has the same radio hardware as the N7105. Roberto Gibellini has been doing a lot of work, I'll see if I can port some of the stuff over.
This reminds of the early CM13 days, when we had to use a chroot to get the radio to work
Click to expand...
Click to collapse
thanks for the hard work, we all owning a n7105 thank you :good:

[ROM][UNOFFICIAL][8.1.0] LineageOS 15.1 [BETA] [9.08.2018]

Code:
/*
* Your (probably expired) 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.
*/
IMPORTANT INFORMATION
Hi all,
This ROM is in a very early development stage, so you can expect a lot of things broken.
Please don't expect to use this ROM as a daily driver.
What is working:
Boots
Audio (playback && recording)
Bluetooth
Graphics
Camera (photos only)
Sensors
RIL
GPS
Wifi
USB
Video playback (HW/SW)
What is not working:
Video recording
maybe yet something
Download:
FTP server
Older releases:
FTP server
* Note: an installation since build #3 require you to use sdcard repartition layout, as the ROM is too huge to fit on non-reparted /system partition.
After a clean installation, 702M of space is occupied on /system partition.
Also note that only clean installation is possible if you are upgrading from previous builds.
For the repartition refer to CWM ReParted topic.
Installation order:
flash ROM
flash kernel (kernel is located in the same folder as ROM)
Credits:
@SergeyL
@rINanDO
@AdrianDC
@3liteking148
@Meticulus
@Unjustified Dev
@golden-guy
@nieltg
@isaak
@NovaFusion
@TeamCanjica
LineageOS community
Google
Source code:
Manifest: LOS 15.0, LOS 15.1
Device and patches: LOS 15.0, LOS 15.1
Kernel: LOS 15.0, LOS 15.1
other repos
XDA:DevDB Information
LineageOS 15.1, ROM for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome, SergeyL
Source Code: https://github.com/ChronoMonochrome/android/tree/cm-15.1
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock JB 4.1.2 or up && kitkat-compatible recovery
Version Information
Status: Beta
Created 2017-09-25
Last Updated 2018-08-09
Changelogs
Changelog
9.08.2018 - build #11
sources updates - thanks @SergeyL for patches
system time fixes (thanks @rINanDO, @millosr and @mickybart)
wifi autoconnection fix
video recording fix
fix IMEI not showed (thanks @rINanDO , @Ziyan, @MWisBest)
change default CPU governor to Interactive
wifi background scan disabled for a better battery life
unified (codina / janice) release *
* release folder now contains two kernel zip's - for codina (Ace 2) and janice (S Advance). Do not forget to flash the kernel after ROM installation, accordingly to your phone model.
25.01.2018 - build #9
Fixed WiFi issues *
Fixed max CPU freq tunable in CK app
* switching to a legacy alarm driver caused unexpected issues in wifi driver. Now there shouldn't be any issues like not showing wifi hotspots after a deepsleep.
24.01.2018 - build #8
Updated to android-8.1.0_r4
Enabled GO configuration
GPS fix
System time fixes - revert to a legacy alarm driver
Wifi fixes (credits to @rINanDO)
ADB fix
Disabled SELinux
TWRP: back to 3.x.y release
15.01.2018 - build #7
Updated to LOS 15.1!
Various stability fixes (credits to @SergeyL)
24.12.2017 - build #6
RIL: fixed native android 8 support! *
Fixed device wakeup with a home key press
Various multimedia stability fixes
* Now all the telephony code is built from android 8.0 sources.
Known issues are:
initial SIM detection might take awhile
the signal strength shown in the statusbar seems to be incorrect
currently IMEI is not showed, e.g. by using *#06# command
maybe some more
FULL credit goes to @rINanDO, @AdrianDC, @millosr and @mickybart for their amazing work!
11.12.2017 (2) - build #5
Fixed incall audio
A HUGE thanks to @isaak for pointing to incall audio fix!
Credits for fix goes to @Unjustified Dev .
11.12.2017 - build #4
Fixed SMS receive
Fixed a video playback with HW / HW+ codecs
6.11.2017 - build #3
Dex-preoptimized build for the better performance*
SELinux: disabled
fixed liblights (thanks @SergeyL)
fixed Sensors
Telephony: squash-reset to 7.1.2 **
* Note: an installation now will require you to use sdcard repartition layout, as the ROM is too huge to fit on non-reparted /system partition.
After a clean installation, 702M of space is occupied on /system partition.
Also note that only clean installation is possible if you are upgrading from previous builds.
** this fixed RIL, but I would consider this rather as a huge hack, it definitely will need to be revised in the future.
All of the telephony code currently is built from 7.1.2 sources, so consider this build still as a heavily experimental.
I haven't tested RIL that much, all I can say so far is that the SIM is being detected, the signal strength is showed and USSD commands works. Everything else wasn't yet tested.
5.10.2017 - build #2
fixed USB
fixed WiFi (credits to @rINanDO)
fixed camera (photos only)
RIL fixes (works partly*)
* receiving SMS and incoming calls seems to be working, however anything else (including answering an incoming call) still doesn't work.
24.09.2017 - build #1
initial release
Misc
Gapps & CWM reparted zip
https://forum.xda-developers.com/showpost.php?p=75256425&postcount=57
Root
UPDATE-SuperSU-v2.46.zip
Screenshots
{
"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"
}
Amazing!
ChronoMonochrome said:
Code:
/*
* Your (probably expired) 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.
*/
IMPORTANT INFORMATION
Hi all,
This ROM is in a very early development stage, so you can expect a lot of things broken.
Please don't expect to use this ROM as a daily driver.
What is working:
Boots
Audio (playback && recording)
Bluetooth
Graphics
Video playback (SW)
What is not working:
RIL
HW acceleration
Camera
Wifi
USB
GPS
Sensors
Earlysuspend
maybe yet something
Download:
FTP server
Installation order:
flash ROM
flash kernel
Credits:
SergeyL
rINanDO
AdrianDC
LineageOS community
Google
Source code:
Manifest
Device and patches
Kernel
other repos
XDA:DevDB Information
LineageOS 15.0, ROM for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome, SergeyL
Source Code: https://github.com/ChronoMonochrome/android/tree/lineage-15.0
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock JB 4.1.2 or up && kitkat-compatible recovery
Version Information
Status: Alpha
Created 2017-09-25
Last Updated 2017-09-24
Click to expand...
Click to collapse
Wow! I cannot believe! Your ROM is so amazing!
Although it is not stable now, but in the future, i hope this ROM will can run Gapps and have lots of features that many another ROM cannot do!
Thanks for your new ROM, new invention!
That was fast didn't expect Oreo for our device
When I try to install the ROM recovery simply restarts without flashing it any help?
Was on sergeyl's cm 14.1
Muhammed Suhail said:
When I try to install the ROM recovery simply restarts without flashing it any help?
Was on sergeyl's cm 14.1
Click to expand...
Click to collapse
For flashing use TWRP recovery from chrono kernel builds.
ChronoMonochrome said:
For flashing use TWRP recovery from chrono kernel builds.
Click to expand...
Click to collapse
Where is the option for root?
Developer options is not available
Thanks in advance
Muhammed Suhail said:
Where is the option for root?
Developer options is not available
Thanks in advance
Click to expand...
Click to collapse
I'm not sure if it works in this rom:
Go to Settings, click on "About phone" and then tap seven times (it may vary) on the "Build number".
isaak said:
I'm not sure if it works in this rom:
Go to Settings, click on "About phone" and then tap seven times (it may vary) on the "Build number".
Click to expand...
Click to collapse
I did but didn't work
Used search that too didn't work
Muhammed Suhail said:
I did but didn't work
Used search that too didn't work
Click to expand...
Click to collapse
but it did work on my phone, I remember it's 7 times
But I have another problem, when I want to go back to Los 14.1, I stuck in TWRP logo and I can't get in. Is there any solution to flash back instead of use Odin to flash stock 2.3.6?
Muhammed Suhail said:
Where is the option for root?
Click to expand...
Click to collapse
There is no root included in this build. You can install a third-party root, but I didn't look into that deeply - there are much of other stuff work on. As stated in OP, this build is a way early, mainly purposed for developers and those who want to help with this project.
ChronoMonochrome said:
There is no root included in this build. You can install a third-party root, but I didn't look into that deeply - there are much of other stuff work on. As stated in OP, this build is a way early, mainly purposed for developers and those who want to help with this project.
Click to expand...
Click to collapse
Is this patch work only for ace 2 https://github.com/ChronoMonochrome/android_device_samsung_codina/tree/cm-15.0/patches
In this version, recovery does not work. So, you can just go back in download mode
New release is UP!
5.10.2017 - build #2
fixed USB
fixed WiFi (credits to @rINanDO)
fixed camera (photos only)
RIL fixes (works partly*)
* receiving SMS and incoming calls seems to be working, however anything else (including answering an incoming call) still doesn't work.
No
unknown said:
Is this patch work only for ace 2 https://github.com/ChronoMonochrome/android_device_samsung_codina/tree/cm-15.0/patches
Click to expand...
Click to collapse
Oh, this patch is not able to use, it is the patch for our ROM and we just need to wait for Chrono, our savior )
ChronoMonochrome said:
5.10.2017 - build #2
fixed USB
fixed camera (photos only)
RIL fixes (works partly*)
* receiving SMS and incoming calls seems to be working, however anything else (including answering an incoming call) still doesn't work.
Click to expand...
Click to collapse
Will the S3 mini get this ROM too? I mean, they have the same hardware. Great work!
xEmre66 said:
Will the S3 mini get this ROM too? I mean, they have the same hardware. Great work!
Click to expand...
Click to collapse
Despite of having the same (almost) hardware there are difficulties with testing builds on a device you don't own. If anyone on s3 mini forum is interested to work on Oreo bringup, the sources are always available on my github.
@ChronoMonochrome Good progress here!
Btw, could you tell me how you made RIL work?
Here it seemed to be crashed at rild ( https://pastebin.com/NMSbwrET if you need full log )
Code:
RILClient: Connect_RILD: Connecting failed. Connection refused(111)
10-26 16:53:27.189 558 641 E RILJ : Couldn't find 'rild' socket after 8 times, continuing to retry silently [SUB0]
10-26 16:53:27.204 558 649 E RILJ : Couldn't find 'rild1' socket after 8 times, continuing to retry silently [SUB1]
Dreamstar said:
@ChronoMonochrome Good progress here!
Btw, could you tell me how you made RIL work?
Here it seemed to be crashed at rild ( https://pastebin.com/NMSbwrET if you need full log )
Code:
RILClient: Connect_RILD: Connecting failed. Connection refused(111)
10-26 16:53:27.189 558 641 E RILJ : Couldn't find 'rild' socket after 8 times, continuing to retry silently [SUB0]
10-26 16:53:27.204 558 649 E RILJ : Couldn't find 'rild1' socket after 8 times, continuing to retry silently [SUB1]
Click to expand...
Click to collapse
Nothing special here.
Check these patches out: https://review.lineageos.org/#/q/st...branch:lineage-15.0+topic:samsung-libril-oreo
Just for a clarification, I wasn't touching java part of RIL at all - until I find a better idea about that. So RIL is not fully-functional yet.

[Android 11/R] LineageOS 18.1 for LG G3 (Unofficial)

{
"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 18.1 is a free, community built, aftermarket firmware distribution of Android 11 (R), 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.
Features:
RIL: LTE, Calling + recording, SMS and MMS
Wi-Fi: Connection to 2.4 and 5 GHz, Wi-Fi Display with audio
Bluetooth pairing, sharing and audio
Audio & video playback, streaming and recording
NFC
GPS and sensors
Camera
Powered on/off and wireless charging
USB file transfer/MTP and charging
USB, Bluetooth and Wi-Fi tethering (hotspot)
Google services and SafetyNet compliant (banking apps and Google Wallet work out of the box)
Storage encryption and SDCard
LineageOS Recovery with encryption support (not required, but endorsed )
Slimport HDMI
LG Quick Circle case support with FlipFlap
Known issues:
DRM/Widevine L3: Amazon Prime and Play Now (Polish TV stream) are working and streaming, but the quality is 540p.
YouTube doesn't show 1440p in video quality options.
Slimport HDMI connection creates screen flickering, but it's not visible on an external display.
Won't work:
VoLTE
Check out the changelog in the post below.
Make sure you're on the correct firmware for your variant.
1. If you're coming from another ROM or performing a clean flash:
Reboot to Recovery
Backup any important data
Format Data partition
Wipe Dalvik, Cache and System
Flash the ROM
Flash GApps (optional, can't be flashed after the first boot)
Reboot to System
2. If you're updating the ROM or performing a dirty flash:
Reboot to Recovery
Flash the ROM
Wipe Cache
Reboot to System
Download LineageOS 18.1 ROM and Recovery
Alternative download for LineageOS 18.1
TWRP for LG G3
Google apps (MindTheGapps recommended)
Rooting your phone by Linus Tech Tips
Stock ROM by @MESA
3__HacerPermisivo.zip - this switches your selinux to permissive
bootimage_adb_unsecure by @AdrianDC - debugging, disables adb auth
Mr_Bump.zip by @dadi11 - fix for Secure booting error (boot certification verify)
Join G3 development channel on Telegram to get more info about my projects.
LineageOS GitHub repo
github.com/itsHardStyl3r
device and kernel sources
​
18.1, 23.04.2023
Code:
* Kernel: Updated prima driver (Wi-Fi)
* Kernel: Updated sdFAT driver from 2.3.0 to 2.4.5
* Kernel: Fixed race condition for TCP listens (https://gitlab.com/LineageOS/issues/android/-/issues/3916#note_669493796)
* Enabled DRM Clearkey 1.3 plugin
* Reimplemented ZRAM
* Fixed geotagging in photos
* Disabled wallpaper zooming effect to increase performance of app drawer
* Fixed Wi-Fi settings not being applied, including LG G3 default hotspot name
* Fixed Wi-Fi WPA3 networks
* Fixed turning off DiscoveryService and NearbyMessagesService
* Adjusted sepolicy settings
* G3 should now appear as a phone in File Managers via USB
* d85x, f400, vs985: Declared support for Mifare NFC tags
- ls990 does not have pn547 NFC chip, so I can't confirm it works.
* Reverted "Disable wifi AP MAC randomization" to fix 5 Ghz hotspot
- It works now: https://imgur.com/a/6JgSynU.
* Enabled XZ compression
* Fixed HIDL power stats, TetherController and TelephonyManager errors
* Updated screenshots
18.1, 14.04.2021
Code:
* April 2021 Android Security Bulletin: r34
* Promotion to Official 18.1 #306996 #306997
* Sanitized sources so I could push to LineageOS (mostly vendor stuff) - not really worth mentioning
* Fixed TimeKeep implementation
* Fixed "Switched to AOSP RenderScript" from 31.03.2021 update
18.1, 31.03.2021
Code:
* March 2021 Android Security Bulletin: r32
* Fixed encryption
* DRM protected now works (e.g. Netflix)
* Switched to AOSP RenderScript
* Builds now come with smaller font footprint
18.1, 14.02.2021
Code:
* Updated source (LineageOS/lineage-18.1)
* sepolicy additions
* device tree updates (Trust VINTF)
* CameraServiceProxy error fix
* more bringup
18.1, 20.12.2020
Code:
* Initial release
https://imgur.com/a/j98w3ko
Reserved #3
Reserved #4
You are great, thank you..
The second beta release is awesome. Everything seems as it should be. Animations are very smooth. I wonder what is next.
Horrah! just downloading...
thank you for your hard work!
turquoise.ht said:
You are great, thank you..
i wanna submit my very first impression after a few hours of use. i had no problem during installation and in general everything is ok. animations were laggy at the beginning but they are smoother now after a while. i am sure things will get better soon. thank you very much again for your efforts.
-google drive crashing, google chrome cannot see the google account so cannot start sync.
-magisk 20.4 does not work but 21.1 beta works.
Click to expand...
Click to collapse
These bugs are related to the GApps, these are very shady but the basics work. I am waiting for @walter79 to respond and I'll build our own GApps.
Thanks for the feedback.
D855 32gig: came from 17.1, flaweless install, all works perfect, no lags or hassles. Nice work, will be my LOS from now on! Thank you HardStyl3r for this ROM.
and what Gapps can I install for LG g3 D855?
fefe128 said:
and what Gapps can I install for LG g3 D855?
Click to expand...
Click to collapse
you will find it in the download folder ==> first post here....
fefe128 said:
you will find it in the download folder ==> first post here....
Click to expand...
Click to collapse
yes. I have it. I apologise
I installed and want to switch instead of Lineage recovery sleep on TWRP recovery. How ?
fefe128 said:
I installed and want to switch instead of Lineage recovery sleep on TWRP recovery. How ?
Click to expand...
Click to collapse
same here: it seems root + TWRP is gone...
fefe128 said:
I installed and want to switch instead of Lineage recovery sleep on TWRP recovery. How ?
Click to expand...
Click to collapse
LZ_ said:
same here: it seems root + TWRP is gone...
Click to expand...
Click to collapse
The setup wizard is tricky this time. It automatically replaces TWRP with LineageOS Recovery unless you uncheck the option. To bring back TWRP, use flashable ZIP in my TWRP thread, flash it (either adb sideload or sdcard is fine) and skip the signature check failure.
HardStyl3r said:
The setup wizard is tricky this time. It automatically replaces TWRP with LineageOS Recovery unless you uncheck the option. To bring back TWRP, use flashable ZIP in my TWRP thread, flash it (either adb sideload or sdcard is fine) and skip the signature check failure.
Click to expand...
Click to collapse
Good news on the LS990. installed and booted up fine. Data and telephony both working. Rom seems just fine. Still have my twrp . No fc and no reboots. Can't get magisk 20.4 to flash so no root yet but as smoothly as it's running so far we're looking good. Thank's for the LS990 build.
Update !! Found Magisk 21 and installed root. Works fine now. One question about setup manager related to installing lineage recovery. Is it a onetime setup question or will it ask this on future updates and or resets ? Just wondering if it's something we need to be on guard against . Possible to disable the feature ? Fortunantly I happen to catch it and uncheck it so I'm good. Thanks
LS990 users you can install this . The old reboot problem we had with lineage 17 is gone. This runs good enough I'm going to continue with it as daily driver for now.
Max Frost said:
Good news on the LS990. installed and booted up fine. Data and telephony both working. Rom seems just fine. Still have my twrp . No fc and no reboots. Can't get magisk 20.4 to flash so no root yet but as smoothly as it's running so far we're looking good. Thank's for the LS990 build.
Update !! Found Magisk 21 and installed root. Works fine now. One question about setup manager related to installing lineage recovery. Is it a onetime setup question or will it ask this on future updates and or resets ? Just wondering if it's something we need to be on guard against . Possible to disable the feature ? Fortunantly I happen to catch it and uncheck it so I'm good. Thanks
LS990 users you can install this . The old reboot problem we had with lineage 17 is gone. This runs good enough I'm going to continue with it as daily driver for now.
Click to expand...
Click to collapse
This should only pop up when you clean /data. As far as I know, Setup Wizard only appears on first boots, which includes clean /data. If you've unchecked this, I think you are safe. Enjoy. And yeah, the latest Magisk beta works.
Fixed: took the latest Magisk-v21.1.zip, then run the TWRP-App and installed .bin file. Enable Advanced restart and all works fine again!
Why can't I find Advanced Reboot option? Someone enliten me!

[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [togari] [STABLE]

{
"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.
*
* 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.
*
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), 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.
Bugs
What's working:
Boot
Bluetooth
Camera / Camcorder
RIL (DATA/Call/SMS)
FM Radio
WiFi
WiFi Hotspot
USB (ADB/MTP/PTP)
NFC
LED lights
Sensors
GPS
Audio Playback
Video Playback
Touch screen
ExFAT SDCard
What's not working:
SELinux is permissive
You tell me.
Installation instructions
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe system / data / cache partitions
Flash ROM.
Optional: Install the Google Apps addon package.
Optional: Install Magisk for Root.
Supported models:
C6802,C6806,C6833,C6843
Downloads
Recovery : My Unofficial TWRP
Gapps : Open Gapps 11.0 ARM
Magisk (Flash under TWRP): Unofficial Flashable APK
Rom : Download
Sources
Device/Kernel/Vendor Tree: Sources
Donate
DONATE To Me
Big Thanks
LineageOS Team.
AICP Team.
all sony-msm8974 / sony-rhine contributors.
Changelogs
2021/10/13
Fixed modem firmware and RIL support for C6806 GPE variants.
2021/10/07
Updated to Android 11.0.0_r46 with October security patches.
Upstream updates and fixes.
Fixed modem firmware and RIL support for C68x3 variants.
2021/10/04
Fixed Camera Focus/Capture issues.
2021/10/03
Added missing SONY boot logo.
Updated libril sources.
Allow 3rd-party apps to access libOpenCL.
Adjusted configs for sdFAT. (SDCard kernel driver)
Misc updates.
2021/09/30
Fixed WiFi Hotspot authentication issues.
Disabled C2 codecs, which is not for legacy devices.
2021/09/28
Fixed an issue that sometimes camera service not starting correctly after booting.
Tweaked WiFi settings for better speed.
Fixed WiFi coexist with Bluetooth enabled.
Support 5Ghz wifi hotspot feature.
2021/09/26
Fixed Offline charging.
Optimized vibrator strength.
Optimized brightness level.
2021/09/25
Fixed Touchscreen.
Fixed NFC.
Fixed Audio.
Fixed C6802 RIL Firmware support.
Fixed Camera/Camcorder.
Fixed Vibrator.
Added LiveDisplay support.
Fixed Sensors.
Updated sdFAT drivers.
2021/09/15
Initial release of LineageOS 18.1 for Z Ultra.
Screenshots
Because your twrp not working, I extracted system.img from your package by brotli and sdat2img, checked if it is actually mountable, then flashed boot.img and system.img by TWRP 3.0.0 terminal.
Not sure if this method is right & necessary, but anyway…
1. At the moment of powered on, SONY logo is not apperead. Just black screen, and purple led flashes.
2. Successfully get into lineageOS boot animation. but device did not get into system for 30 minutes. I tried it again with userdata cache erase but It stucks at boot animation forever. In other word, bootloop. Yeah.
3. Offline-charging seems not working. Red led flashes once and Just black screen. Device stuck at this state even if usb cable detached. So I need to turn off forcefully.
Bikkoism said:
Because your twrp not working, I extracted system.img from your package by brotli and sdat2img, checked if it is actually mountable, then flashed boot.img and system.img by TWRP 3.0.0 terminal.
Not sure if this method is right & necessary, but anyway…
1. At the moment of powered on, SONY logo is not apperead. Just black screen, and purple led flashes.
2. Successfully get into lineageOS boot animation. but device did not get into system for 30 minutes. I tried it again with userdata cache erase but It stucks at boot animation forever. In other word, bootloop. Yeah.
3. Offline-charging seems not working. Red led flashes once and Just black screen. Device stuck at this state even if usb cable detached. So I need to turn off forcefully.
Click to expand...
Click to collapse
Okay, I will add a loggy service in the next build, then you can grab logcats for me.
EDIT: BTW, did you flash my boot_permissive.img? because i forgot to set SELinux to permissive in the first build.
tarkzim said:
Okay, I will add a loggy service in the next build, then you can grab logcats for me.
EDIT: BTW, did you flash my boot_permissive.img? because i forgot to set SELinux to permissive in the first build.
Click to expand...
Click to collapse
No, I flashed boot.img in zip file. I just flashed boot_permissive.img and behaviors are…
1 and 3 are exactly same with normal boot.img. but I could managed boot into system. System UI crashed and touchscreen not working. When usb connected, It charges, Xperia Z ultra Device appears in my PC, adb not working.
Seems It is very unstable also. It does not boot often and shows Boot animation -> Black Screen -> automatically reboot. It does not show full lineageOS logo even if when successfully booted. Boot animation -> Black Screen -> system.
Bikkoism said:
No, I flashed boot.img in zip file. I just flashed boot_permissive.img and behaviors are…
1 and 3 are exactly same with normal boot.img. but I could managed boot into system. System UI crashed and touchscreen not working. When usb connected, It charges, Xperia Z ultra Device appears in my PC, adb not working.
Seems It is very unstable also. It does not boot often and shows Boot animation -> Black Screen -> automatically reboot. It does not show full lineageOS logo even if when successfully booted. Boot animation -> Black Screen -> system.
Click to expand...
Click to collapse
Thanks for trying, looks like the init-phase of the ROM booting is working, once i have loggy service done, it could just output the logs that i need, hopefully we can figure this out soon.
Bikkoism said:
No, I flashed boot.img in zip file. I just flashed boot_permissive.img and behaviors are…
1 and 3 are exactly same with normal boot.img. but I could managed boot into system. System UI crashed and touchscreen not working. When usb connected, It charges, Xperia Z ultra Device appears in my PC, adb not working.
Seems It is very unstable also. It does not boot often and shows Boot animation -> Black Screen -> automatically reboot. It does not show full lineageOS logo even if when successfully booted. Boot animation -> Black Screen -> system.
Click to expand...
Click to collapse
Hey, I've uploaded a build which containing loggy service, it will start to record logcat to your /cache partition like this:
/cache/logcat_2021-XX-XX...txt
Click to expand...
Click to collapse
Let it boot into system and let it crash a few times, then go to recovery and grab the log files.
I also include a FIX for touchscreen, but not sure if it's working, let me know if you have tried it! thanks.
TEST BUILD: HERE
tarkzim said:
Hey, I've uploaded a build which containing loggy service, it will start to record logcat to your /cache partition like this:
Let it boot into system and let it crash a few times, then go to recovery and grab the log files.
I also include a FIX for touchscreen, but not sure if it's working, let me know if you have tried it! thanks.
TEST BUILD: HERE
Click to expand...
Click to collapse
After flash your rom, every twrp I have(include your one) not boot. I tried to use volume up button to get into recovery but It also not works. So I have no idea what recovery you are talking about.
Anyway, Your touch fix not working. I connected OTG mouse, keyboard to navigate your rom a bit.
LineageOS full logo apeared normally.
SystemUI: Does not response message once. But seems rom working normally.
WIFI: Seems working
Bluetooth: A2DP seems working. but no sound.
Sound: Seems sound itself not works. AudioFX app also not works.
Can't test ADB because There is no way to get authentication. Device get into bootloop(Full logo -> blackscreen -> soft reboot) soon so I coudn't test more.
I tried to get log by flash stock rom without cache partition. but there isn't log.
Bikkoism said:
After flash your rom, every twrp I have(include your one) not boot. I tried to use volume up button to get into recovery but It also not works. So I have no idea what recovery you are talking about.
Anyway, Your touch fix not working. I connected OTG mouse, keyboard to navigate your rom a bit.
LineageOS full logo apeared normally.
SystemUI: Does not response message once. But seems rom working normally.
WIFI: Seems working
Bluetooth: A2DP seems working. but no sound.
Sound: Seems sound itself not works. AudioFX app also not works.
Can't test ADB because There is no way to get authentication. Device get into bootloop(Full logo -> blackscreen -> soft reboot) soon so I coudn't test more.
I tried to get log by flash stock rom without cache partition. but there isn't log.
Click to expand...
Click to collapse
Okay... sad to hear that, actually when you wipe the "data" partition it also wipe the cache partition i guess.
I've ordered an old Z Ultra from used market, but not arrived yet.
DEVELOPMENT UPDATE:
I've got my Z Ultra device, and solved touch issues by running firmware update after every boot, now the major problem is Audio, Camera, and RIL, will try to fix them.
New build released
Fixed Touchscreen.
Fixed NFC.
Fixed Audio.
Fixed C6802 RIL Firmware support.
Fixed Camera/Camcorder.
Fixed Vibrator.
Added LiveDisplay support.
Fixed Sensors.
Updated sdFAT drivers.
Offline charging still not working. Device won't be turned off automatically and just stuck at blackscreen afterward. Need to do force reset. This will be really problematic when battery completely ran out.
And Magisk not works. Have no idea If It is fault of rom or bridge or magisk.
I still didn't drive the rom in deep, only a few minutes. but I coudn't found critical errors till now. Some setting sections crashed but after reboot it back to normal.
Bikkoism said:
Offline charging still not working. Device won't be turned off automatically and just stuck at blackscreen afterward. Need to do force reset. This will be really problematic when battery completely ran out.
And Magisk not works. Have no idea If It is fault of rom or bridge or magisk.
I still didn't drive the rom in deep, only a few minutes. but I coudn't found critical errors till now. Some setting sections crashed but after reboot it back to normal.
Click to expand...
Click to collapse
Oh thanks for the heads up, I forgot to include a fix for offline charging.
Will be included in the next build.
For Magisk, I also don't know what's the cause of it yet.
If possible I hope the rom could have root access for apps in near future. Using bridge or not, systemless or not, magisk, supersu, phhsu all not working and There is no way to get root access for apps currently.
Bikkoism said:
If possible I hope the rom could have root access for apps in near future. Using bridge or not, systemless or not, magisk, supersu, phhsu all not working and There is no way to get root access for apps currently.
Click to expand...
Click to collapse
Try this Magisk MOD , Found it on THIS thread and it worked on our device.
Flash it under TWRP.
New build released
Fixed Offline charging.
Optimized vibrator strength.
Optimized brightness level.
tarkzim said:
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.
*
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), 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.
Bugs
What's working:
Boot
Bluetooth
Camera / Camcorder
RIL (DATA/Call/SMS)
FM Radio
WiFi
WiFi Hotspot
USB (ADB/MTP/PTP)
NFC
LED lights
Sensors
GPS
Audio Playback
Video Playback
Touch screen
ExFAT SDCard
What's not working:
Camera capture photos (Might be freezing, Use 3rd-party apps)
SELinux is permissive
You tell me.
Installation instructions
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe system / data / cache partitions
Flash ROM.
Optional: Install the Google Apps addon package.
Optional: Install Magisk for Root.
Supported models:
C6802,C6806,C6833,C6843
Downloads
Recovery : My Unofficial TWRP
Gapps : Open Gapps 11.0 ARM
Magisk (Flash under TWRP): Unofficial Flashable APK
Rom : Download
Sources
Device/Kernel/Vendor Tree: Sources
Donate
DONATE To Me
Big Thanks
LineageOS Team.
AICP Team.
all sony-msm8974 / sony-rhine contributors.
Click to expand...
Click to collapse
You're awesome man. Revived this device after a long time
msi.1362 said:
You're awesome man. Revived this device after a long time
Click to expand...
Click to collapse
Make Xperia Z Ultra great again.
After 2 days of using : Magisk root works. All sensors seems fine. Experienced weird battery drop while sleep once but can not determine if it is old device failure or rom fault, overall battery management seems fair.
Some serious problems I have experienced :
1: 5ghz wifi is ridiculously slower than 2.4ghz and not really usable.
2: Some major apps I using simply not start. I attached logcat for those. logcat.txt for com.newin.nplayer.pro, logcat2.txt for com.jetappfactory.jetaudio
Edit:
1: Problem 2 is kinda random error seems related with camera app somehow. When this problem occurs, There is no camera app in launcher and I need to reboot the device to solve problem. And after camera app disabled, Problem seems gone.
2: 2.4ghz wifi also being unreasonably slow when bluetooth in use. Not really sure if it is hardware limit. but as far as I remember, Other roms are not like this.
Edit2:
1: Forget bout first section of first Edit. Problem back. Some major apps do not start regardless camera app disabled or not and need to reboot.
logcat
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
New build released
Fixed an issue that sometimes camera service not starting correctly after booting.
Tweaked WiFi settings for better speed.
Fixed WiFi coexist with Bluetooth enabled.
Support 5Ghz wifi hotspot feature.

Categories

Resources