• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][OFFICIAL][7.1.2] OmniROM 7.1.2 for Elephone Trunk

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
This is an adaptation of @ottmi's work to OmniROM (64bit). Feature-wise it is not as rich as LineageOS, but it is an open source friendly project.

Credits go to @ottmi (obviously!), @arvinquilao (for the omnirom seed device tree, my starting point), @lolmaxlik_ru (for the 32bit device tree I used when trying 32bit) and @dev_harsh1998 (Bluetooth loop fix).

The kernel is based on CAF kernel, with changes for the Trunk from @ottmi's kernel. Kernel source is here:
https://github.com/omnirom/android_kernel_elephone_msm8916

I think it's usable: essential features seem to work. A minor issue is long press for home button, which does not work as expected.

I managed to upload on xda the build now. Bluetooth has been fixed.

The OmniROM team has accepted trunk as an official device. So, you can download the ROM directly from OmniROM website:

http://dl.omnirom.org/trunk/

If you do so, you will be able to receive ROM updates (weekly).

You are welcome to report any problem!


XDA:DevDB Information
OmniROM 7.1.2 for Elephone Trunk, ROM for all devices (see above for details)

Contributors
siljaer, ottmi, arvinquilao, lolmaxlik_ru, dev_harsh1998
Source Code: https://github.com/omnirom/android_device_elephone_trunk

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: OmniROM

Version Information
Status: Snapshot

Created 2017-05-25
Last Updated 2017-12-14
 
Last edited:

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
Reserved

Changelog

20171021: update kernel to LA.BR.1.2.9-03710-8x16.0. Security fixes (Blueborne and KRACK).

20170820: New GPS blobs from crackling. In my case, it resulted in improved GPS precision. People with overheating problem, please let me know if it improves the issue.

20170730: New Thermal blobs from crackling. New thermal engine configuration. Hopefully, that should prevent overheating.

20170709: New GPU blobs from crackling. Because of a case of reported overheating, several drivers were added in kernel config. Some related SELinux denials were addressed. Something strange was also found in Trunk's DTs: GPIO pins for the tps65132 were wrong, leading to failed driver probe (however, that happens in stock rom too). Correct values for them was added. However, real effectiveness for those changes in preventing overheating is to be proved.

20170618: Fixed reboot to recovery (and automatic updates). Using again Trunk's Camera HAL.

20170603: now compatible with 64bit opengapps, fixed start recording sound at beginning of video recordings, SELinux fixes (by @ottmi), long press of home key now shows recent apps.

20170529: update kernel to LA.BR.1.2.9-02910-8x16.0

20170526: first build
 
Last edited:

josoft86

Member
Mar 9, 2015
30
15
0
Reggio di Calabria
@siljaer
Happy for your new job I'll let you know my impression after installing and testing it. I am currently using the "aicp_peach_n-12.1-NIGHTLY-20170526.zip" rom with great efficiency with up-to-date OTA updates at the same time as the Open Gapps update. It's just 32bit and has been made for "ARK Benefit A3" and not for our Elephone Trunk. It would be interesting, for the many extra functions of this rom, its fluency, the OTA updates, to recover all that has good and transfer it to your rom, even that I saw that something you used as a contribution from "lolmaxlik_ru". In any case thank you for your work and I apologize if I have been able to give you that imput.
 

ve66

Member
Feb 27, 2017
14
4
0
Firenze
Hi siljaer, I would like to test your ROM. I'm using ottmi's ROM but I have some problems: i.e. focus problem on the camera, camera works only for photo and non for videos, sometimes I have random reboots.... So I would like to try: which TWRP should I use? may I use gapps? what are the wipes that I need: can you describe me a sequence? TKS
 

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
Hi siljaer, I would like to test your ROM. I'm using ottmi's ROM but I have some problems: i.e. focus problem on the camera, camera works only for photo and non for videos, sometimes I have random reboots.... So I would like to try: which TWRP should I use? may I use gapps? what are the wipes that I need: can you describe me a sequence? TKS
Sorry for the delay. You can use the same TWRP you're using now. The sequence is exactly the same one described by @ottmi for his rom. And you can use gapps, 64bit. Your feedback will be very appreciated!

As for the wipes, I am afraid that you have to wipe everything except internal sd card :( For later flashings, you don't have to wipe anything.

First time boot takes several minutes, wait some time.

Thanks!
 

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
Actually there's a problem and you can only flash 32 bit gapps. I have fixed this and I am uploading the build later.
I uploaded the fixed build. Now you can install 64bit opengapps. Since the previous builds were 64bit but they used zygote32 (a mistake) I deleted them.
 

ve66

Member
Feb 27, 2017
14
4
0
Firenze
I uploaded the fixed build. Now you can install 64bit opengapps. Since the previous builds were 64bit but they used zygote32 (a mistake) I deleted them.
Ok, now I will download this new build. Tomorrow I think to install and then I'll send U my feedback

Inviato dal mio trunk utilizzando Tapatalk
 
  • Like
Reactions: siljaer

ve66

Member
Feb 27, 2017
14
4
0
Firenze
Ok, my feedback:
I wiped cache, dalvik, data and system, then I flashed the ROM and after I flashed the gapps. After reboot I didn't reach to configure the telephone: it appeared me this message "L'app Configurazione guidata si è interrotta" and there isn't a way to configure the telephone. I'm writing from the PC 'cause the phone is out of service. I see the BT icon opened on the right-top of the screen, I don't know if this can help (you told you had problems with BT....). What do you suggest me to do?

EDIT: I flashed the ROM once again without Gapps, I did it two times but without any success, I also had a couple of random reboots
 
Last edited:

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
Ok, my feedback:
I wiped cache, dalvik, data and system, then I flashed the ROM and after I flashed the gapps. After reboot I didn't reach to configure the telephone: it appeared me this message "L'app Configurazione guidata si è interrotta" and there isn't a way to configure the telephone. I'm writing from the PC 'cause the phone is out of service. I see the BT icon opened on the right-top of the screen, I don't know if this can help (you told you had problems with BT....). What do you suggest me to do?

EDIT: I flashed the ROM once again without Gapps, I did it two times but without any success, I also had a couple of random reboots
What do you mean with "without any success?"
 

ve66

Member
Feb 27, 2017
14
4
0
Firenze
What do you mean with "without any success?"
I had to power off. I want to say that to make my telephone works I had to reinstall otttmi's ROM. In fact, also if i did a backup just after flashing your ROM, it was impossible to reload the backup. I think it's because - wiping all cache, dalvik, data and system - I deleted also parts that could contain parts of the backup. I reached to have some screenshot, tomorrow I'll post here
 

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
I had to power off. I want to say that to make my telephone works I had to reinstall otttmi's ROM. In fact, also if i did a backup just after flashing your ROM, it was impossible to reload the backup. I think it's because - wiping all cache, dalvik, data and system - I deleted also parts that could contain parts of the backup. I reached to have some screenshot, tomorrow I'll post here
When did you do a backup? Did you backup your data online? From the screenshot, it looks like the restore application failed.
 

Bizen-Ya

Member
Sep 5, 2009
28
8
0
Toulouse
Hi,

With the last ROM i have a message "Encryption Unsuccessful" after the first boot, i can't do anything.

Thank you

---------- Post added at 10:59 PM ---------- Previous post was at 10:46 PM ----------

Hi,

With the last ROM i have a message "Encryption Unsuccessful" after the first boot, i can't do anything.

Thank you
Ok i have reformated my /data from f2fs to ext4, it's ok now.
 

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
Hi,

With the last ROM i have a message "Encryption Unsuccessful" after the first boot, i can't do anything.

Thank you

---------- Post added at 10:59 PM ---------- Previous post was at 10:46 PM ----------



Ok i have reformated my /data from f2fs to ext4, it's ok now.
Yes, f2fs is not enabled. I don't know enough about its reliability with CAF kernel.
 

siljaer

Senior Member
Jun 12, 2016
212
123
0
Distopia
gapps and camera

Yes, f2fs is not enabled. I don't know enough about its reliability with CAF kernel.
BTW, if you're installing gapps I would suggest a flavour that does not replace default applications. Otherwise you will lose Snapdragon Camera that in my opinion is much better than google (legacy, as we use an old HAL) camera.
 

josoft86

Member
Mar 9, 2015
30
15
0
Reggio di Calabria
@ siljaer
Tried the ROM using TWRP-3.0.2-20161108-trunk.img, without installing gapps as recommended. Pretty fluid without breaks and quite complete without so many customizations. Problems with Smart Launcher does not activate the home key for shutdown or recovery commands. Weekly update to switch to version 20170611 all OK download but failed restart for flash with recovery. Tried several times but nothing to do. Obviously using either Launcher 3 or OmniSwitch. Installed TWRP manual and all OK. By the way, with the first installation I installed Supersu, which I did not find after updating. This is my first impression.
 
  • Like
Reactions: siljaer