yashsingh1/xdaforums huggingface dataset:
[Device Reviews and Information] :
Nah, it's not possible for me to flash anymore. As long as a battery is inside the phone it'll shut down quickly or refuse to start at all. I'm not sure even what the issue is, it could be the connector on the phone or the battery itself at the moment.
[Device Reviews and Information] hisname:
Hey guys, it's me again. I know I have been silent lately....Anyway, I was able to build CM13, however the kernel source provided by mdeejay does not boot the device and it is quite unfortunate as he is currently uncontactable. However, ottmi did manage to boot CM13 using the boot.img taken from mdeejay compiled CM13(mind you it is a pre-compiled binary, which we do not want). I have tried porting the kernel from Code Aurora Forum(CAF) under from here, but I was facing difficulties with the goodix driver. It appears to be broken or some sort. I am not very sure as I could barely read the code. An alternative was to rip out the gt9xx code from mdeejay kernel source and implement it to our kernel, but it appears that mdeejay took the code from sources outside CAF( just a guess). If anyone who can help, I would appreciate if you step forward and contact me.

But hey, I have some other news. TWRP 3.0.1-0 was released not too long ago and I have a build ready. I am planning to bring this device upstream to TWRP, so keep your fingers cross for official device support.

Link to recovery.

md5 sums 90cc911199eccbc968988c28bcaae2d2

SHA256 sums c64b33dbfa774f9b3ea516d14937be1f1fedd582e1fc037162b0a53bd87ba422
[Device Reviews and Information] Diamorphoses:
Hi everybody,

For the record, this was the first time I flashed a ROM in a smartphone and I just want to share my experience with you and newcomers like me, that might need some info.

BIG thanks to you all, and all the information that you shared in this thread. Special thanks to user blodhughofi for sharing this ROM and to all the people involved in building/compiling it - vandal79, Fedor 917, O_dinochka, SmartiKX, oWolkodaWo and Nfound

My Elephone Trunk arrived a couple of days ago. First thing I did, obviously was flashing a new ROM. I choose to flash MIUI_MULTIROM_V7.1.3.0 with NO gapps :good: ;) (I don't need google or any google bloat in my pocket).

Normally I would have gone for CyanogenMod13 but after reading all the posts of this thread (and some other sources), I realized that at this point MIUI it is the most stable ROM for this phone.

So far this ROM:

Incredible performance as advertised :p

Beautiful UI - thank you MIUI for that xperia keyboard :o

No errors

Good battery life? (need more enduring tests but I am very satisfied so far)

Awesome Wifi

Awesome signal

Good GPS

Camera and games - I don't play games and I don't care about camera quality

Really annoying:

Some times I take the phone out of my pocket and I get a screen saying: DON'T COVER THE ORANGE AREA OF THE SCREEN - To turn this feature off, press the back and volume up buttons simultaneously. (This is the whole top area of the phone where is the front camera)

Does someone know what the hell is this and how can I stop seeing it???

BIG DOWNSIDE:

No encryption! :rolleyes: This pisses me off a lot actually. I suppose it's a MIUI problem. Does anyone knows if it will be available within the near future, or if there is any other way to encrypt the phone?

Couple of more questions:

- Anyone knows where can I buy a REAL tempered glass screen protection? I've searched a lot and I can't find anything for this phone except Universal Ones, and another one that covers the front camera and the sensor. h t t p : \ \ preview (dot) tinyurl (dot) com/hkc32fo - I am afraid this glass will make things worst regarding the "Don't cover the orange area of the screen" problem.

- If the phone is rooted and I have Supersu, why can't I uninstall any system apps? I can't even give root permission to permissions manager :confused:

EDIT: I downloaded Amaze File Manager from F-Droid and I can now uninstall system apps. I uninstalled the following apps: stock browser, mi credit, mi cloud, mi account, mi drop, report bug, weather, weather provider, yellow pages, themes, mail. I am in the process of removing much much more apps, as I intend to have my OS as cleaner as possible :D But now I need to pay attention to what or not to delete :cowboy:

Wish me luck :P

- Does updater works or should I uninstall it?

Again, thank you all and thanks for reading.

---------- Post added at 08:48 PM ---------- Previous post was at 08:35 PM ----------

Thank you for that and good luck. I will keep my fingers crossed for you. I can't wait to try out CM13 :D

I wish I had the knowledge to help you out :eek:
[Device Reviews and Information] hisname:
yes you can ;)

you can volunteer to be my guinea pig
[Device Reviews and Information] blodhughofi:
To turn off screen saying: DO NOT COVER THE ORANGE AREA OF THE SCREEN go to Settings / Lock screen and thick off Prevent pocket dials.

To enable encryption go further down in Lock Screen / Password and choose the method you prefer. See screenshots.

Updater you should keep it because it lets you get into recovery without turning off the phone and use the buttons.
[Device Reviews and Information] Diamorphoses:
:good::good::good::):):)Thank you so much for the "DO NOT COVER THE ORANGE AREA OF THE SCREEN" solution :victory:

As for encryption, sadly, that doesn't encrypt the device :( I have the PIN lock from the beginning, but no encryption.

---------- Post added at 05:37 PM ---------- Previous post was at 05:25 PM ----------

That can be arranged :) You will just have to tell me how to do it if it's something specific. No gapps please ;)

Beware that I only have this one device, so it would be nice if at least I am able to make some phone calls :D
[Device Reviews and Information] jthams:
Is there an miui with German language ?
[Device Reviews and Information] Diamorphoses:
No. Only this languages.
[Device Reviews and Information] hisname:
New build up. See: https://twrp.me/site/update/2016/04/05/twrp-3.0.2-0-released.html

https://drive.google.com/open?id=0B5iTdQV5w5DwbmlzaDlpUWljVlU

md5: 417fa0dd2a6cdddf05c92e003180efde

SHA1: 6ac9bc6864a2587f915c71cf5d6020f0a8661a21
[Device Reviews and Information] ottmi:
New cm13 Build for Elephone Trunk

Hi there,

I've been working on this for some time now and I think it's ready for prime time now :o

It's a genuine cm13 build for the Elephone Trunk, built from source. Not a patched Ark build. The source code for the device specific code is available on github:

github.com/ottmi/android_device_elephone_trunk

It's based on mdeejay's Ark Benefit code with modifications by [MENTION=3784300]BlueFlame4[/MENTION] and [MENTION=4729636]hisname[/MENTION]. For now it also uses mdeejay's kernel:

github.com/ottmi/android_kernel_elephone_trunk

I'm using it as a daily driver now. Everything I'm interested in is working:

Phone

Mobile data in dual-sim configuration

Wifi

GPS

Bluetooth

Audio

Until yesterday I had issues with high battery drain and occassional reboots but they seem to be gone since I've updated to the latest and greates CM source. If you want to give it a try, it's available for download on my Google drive. Any feedback is much appreciated..

drive.google.com/open?id=0BwV0Nb8HTEBwcTdkVmJUUVhoYXc

Sorry for the inconvenience with the non-clickable links but as I'm new to xda-developers I can't post proper links yet.

Cheers,

Michael
[Device Reviews and Information] BlueFlame4:
You rock! Is it compiled against aarch64?
[Device Reviews and Information] ottmi:
Of course :)
[Device Reviews and Information] BlueFlame4:
Awesome! :highfive:
[Device Reviews and Information] Diamorphoses:
Awesome [MENTION=7319300]ottmi[/MENTION]. Thanks :good:

Will try as soon as possible together with twrp build made by [MENTION=4729636]hisname[/MENTION] :o
[Device Reviews and Information] jthams:
I can't install this build error 7
[Device Reviews and Information] blahmartinblah:
I got around this by following this procedure:

http://xdaforums.com/showthread.php?t=2522762
[Device Reviews and Information] jthams:
Now it's running because can not connect du my wifi :(
[Device Reviews and Information] blahmartinblah:
No WiFi problems for me....
[Device Reviews and Information] jthams:
Hmmmm
[Device Reviews and Information] blahmartinblah:
I installed and am running it now. Comments so far:

Nice and responsive

WiFi working OK.

No multilingual support - only EN and 2 others.... Chinese?

Facebook crashes on initial load. Can't log in.

Themes crashed during initial CM setup

Error 7 device ID mismatch when installed from twrp. My device was reporting itself as Ark Benefit. I've previously been running the other cm13 build. I modified the install script to work around that.

Hope you continue developing!

Martin
[Device Reviews and Information] jthams:
I have tested again wifi can not connect to my Router i don't no why ,on Cyanogen OS works Perfect
[Device Reviews and Information] ottmi:
Thanks for your feedback Martin. I didn't bother too much about the languages since I usually prefer English menus. But it shouldn't be too hard to add additional languages..

The Facebook crash seems to be a general problem on CM13. Try googling for "libsslx.so", which seems to be the culprit. Deleting "/data/data/com.facebook.katana/lib-xzs/libsslx.so" seems to resolve the issue temporarily.

No idea about the crash during CM setup, do you happen do have a logcat of it?

The device ID mismatch during install only appears if you use a twrp that has been compiled for the Ark Benefit. [MENTION=4729636]hisname[/MENTION]'s build should work fine, no need for editing the update script..

Cheers,

Michael

---------- Post added at 10:29 AM ---------- Previous post was at 09:51 AM ----------

You mean the Ark CM13?

What router and what kind of encryption/authentication are you using? I also have issues at work with wifi where it only works occassionally but have no problems with any other wifi I'm using..
[Device Reviews and Information] blahmartinblah:
I'll see if I can get a log of the themes crash.

Facebook: I did rename /data/data/com.facebook.katana/lib-xzs/libsslx.so to libsslx.so.bak last night and it still seemed to crash! did it work for you? I didn't have this issue with the previous build of CM13 that was posted on this thread - so a fix seems to be around. I will let you know if I find something.

Martin
[Device Reviews and Information] ottmi:
I don't use FB, so I just installed it for testing. Removing the libsslx.so seemed to work, at least it doesn't crash immediately anymore. I don't have a FB login though, so I can't really test..

There seems to be a fix out there, but I didn't find any documentation or patch. E.g.:

https://www.reddit.com/r/LGG3/comments/3u89sy/psa_the_1125_build_of_cm13_for_vs985_fixes

Obviously it's related to SSL. With Android 6.0, Google switched to boringssl instead of OpenSSL, so it may be related to that. Then again, libsslx seems to be the only SSL implementation the Facebook app is using.. Quite strange..
[Device Reviews and Information] todoss:
How to access to sd card? I can't see it in file manager!
[Device Reviews and Information] ottmi:
Hmmm, never had any issues with my sd card. Could you please provide a logcat and dmesg ?
[Device Reviews and Information] :
Full multi language support is not a high priority indeed. ;)

I didn't bother to logcat for now but my WiFi "experience" was:

country / region code: GER

2 networks, both 2.4 GHz

Access Point: "11 b/g/n", fixed channel (6), fixed bandwith: 40 MHz, WPA2 w. AES, WPS disabled ➜ connection loss every other minute

Main router: "11 g/n", auto channel (currently 11), auto bandwith, WPA2 w. AES, WPS disabled ➜ stable, no drop out

SD card access works fine. Using root explorer, not a fan of the CM explorer.

SuperSU 2.65, Stericson BusyBox, Xposed (not responsible for the WiFi issues ^^), microG, no hiccups so far.

Overall, the build is very nice... Thanks very much, your work is highly appreciated! :)
[Device Reviews and Information] ottmi:
Ok, I've found a permanent fix. I'll upload a new image soon..

For those interested: the problem was that I LD_PRELOAD'ed libboringssl-compat.so that adds additional ssl functions Google's boringssl is missing and which are required by the OpenGL vendor blobs. This preload apparently overloaded some functions in libsslx with incompatible versions which then caused FB to crash. So I'm now not using LD_PRELOAD anymore but LD_SHIM_LIBS to only preload libboringssl-compat.so where it is really required. I think in the long run I should switch to vendor blobs from a compatible device with stock Android 6.0 to get rid of this..

---------- Post added at 03:12 PM ---------- Previous post was at 03:08 PM ----------

Thanks for your feedback. So obviously something is wrong with the wifi drivers. At least in my case the logcat wasn't very conclusive. It looked as if the AP rejected the connection, but that doesn't make any sense. Maybe I need to have a close look at other MSM8916 CM13 devices in terms of wifi..

---------- Post added at 03:52 PM ---------- Previous post was at 03:12 PM ----------

And here is the new build:

https://drive.google.com/open?id=0BwV0Nb8HTEBwNmxkNmhTZ2pyUEU

Make sure to flash it with [MENTION=4729636]hisname[/MENTION]'s TWRP to avoid problems with flashing due to wrong device ids:

Changelog:

* Enable /sys/fs/pstore/console-ramoops for post-mortem kernel debugging

* Fix Facebook force close problem related to libsslx

The console-ramoops holds the kernel log of the previous boot. This feature was formerly available from /proc/last_kmsg but has disappeared in recent kernels. So if your device crashes, please provide this file to help debugging.
[Device Reviews and Information] :
You may want to revisit that link again. ;)

And I correct my previous statement, the former stable WiFi is still stable BUT only in close proximity to the router.

The drivers seem to make the OS very picky regarding range / coverage... I also don't use "fancy" configs like hidden SSID, etc.

WiFi during screen off / sleep is not affected, feed reader and email pulled their content like clockwork.

(The 2 routers I use only have to cover 62 m², solid coverage everywhere inside the apartment and partially in the backyard, garden, street...you get it ^^)
[Device Reviews and Information] blahmartinblah:
I'm also having camera problems [MENTION=7319300]ottmi[/MENTION]. The CM camera app works in preview mode but after pushing the shutter button reports can't connect to camera. No image is saved. I also tried A Better Camera app from play store and it locked up after pushing the shutter.

Also had about 3 random reboots since installing it last night.

Martin
[Device Reviews and Information] todoss:
Now is everything OK with SD card! I do not know what happened! Pls share correct file of new build! Thanx!
[Device Reviews and Information] blahmartinblah:
[MENTION=5312743]todoss[/MENTION] That looks a good Antutu score. What did your device get on other builds?
[Device Reviews and Information] Diamorphoses:
testing CM13 :)

Edit: Camera problems

Can't unninstal system apps :( I have SuperSU instaled and Amaze File Manager (which worked on MIUI ROM)
[Device Reviews and Information] todoss:
I do not know exactly, about a thousand and several hundred less!
[Device Reviews and Information] jthams:
No isn't an Ark is an elephone trunk

It's an TP Link and WPA 2 WPS disabeld and Location is Germany
[Device Reviews and Information] blahmartinblah:
Looks like [MENTION=7319300]ottmi[/MENTION] uploaded / shared the link for the wrong file. That goes to a md5 file - cm-13.0-20160407-UNOFFICIAL-trunk.zip.md5sum. Hope he can upload the latest again soon :)
[Device Reviews and Information] ottmi:
Ok, next try. This time hopefully with the right link :)

https://drive.google.com/open?id=0BwV0Nb8HTEBwaU9xb0Y0NXVYc2c

Changelog:

* FB libsslx fix and console-ramoops from the previous build

* Camera Fix

Nothing in terms of wifi yet, I will have to do more debugging..

Update: Something seems to be really off with the wifi driver. I had occassional reboots in the past and just realised, now that I have the console-ramoops in place, that there is always an error message from the wifi driver just before it crashes:
[Device Reviews and Information] blahmartinblah:
Facebook and camera working for me :) Nice work - I really appreciate the speed of your updates. Keep it up!

No problems connecting to Wifi for me (WPA2 PSK)

I will use this for the next day or so and see how the reboots go.

Update: rotation is not working

Martin
[Device Reviews and Information] Diamorphoses:
I confirm that the new build has no camera issues :)

Regarding wifi I have issues sometimes, but I don't know yet if it's my configuration of AfWall+ with OpenVPN :confused:

I still can't uninstall system apps. Any help or recommendation will be appreciated (for the record I don't have gapps; using F-Droid and XDA for app downloads).

[MENTION=7319300]ottmi[/MENTION] Thank you very much for your time developing this from source

[MENTION=4729636]hisname[/MENTION] Thank you very much for your version of Twrp. It works perfectly.
[Device Reviews and Information] ottmi:
I just tried removing a system app with Titanium Backup and it indeed didn't work. There was no error message in logcat though. That's quite strange since I can easily remount /system rw and remove system apps without a problem. Not sure why it wouldn't work with another app that has root access..

In terms of reboots, wifi:

I think the kernel by mdeejay really sucks. I will try to migrate to the generic MSM8916 kernel over the weekend. That should hopefully improve wifi and stability. As far as I can tell so far, the only driver that needs to be backported is the gt9xx driver for the touchpanel. Everything else should work out of the box.. Fingers crossed.
[Device Reviews and Information] :
Welp, it's professional russian kernel made with love & duct tape. ^^ I'm still sceptical if we will see an official kernel update... come June / July... maybe.
[Device Reviews and Information] Diamorphoses:
I also tried to unzip your build in my computer and manually delete the apps, but I wasn't able to do so :D

I suppose that unpatch (?) everything to get acess to all the apps and system folders is out of my league :eek:

By the way, can I delete these folders safely?

/META-INF/com -(inside there is 1 "Android" folder and 1 "google" folder

Or any other folders, if it's possible to delete them to get even a more cleaner ROM you name it :p
[Device Reviews and Information] :
Short answer: DON'T.

Why? The "google" folder contains the update binary / script, for example.

There are some existing tips for making a CM ROM even leaner. ;)

There's not much wiggle room on CM, just a few unneeded apps like all the different live & CM wallpapers, basic daydreams, stock email & exchange services, CM updater, sim toolkit, cell broadcast, photo screensaver, sound recorder...

But that's just personal preference, real optimization comes from "inside": code and kernel...

I just freeze those apps so I don't have to see them in the app drawer or in a context menu or because they serve no purpose for my usage behavior.
[Device Reviews and Information] Diamorphoses:
Yes. This is actually a very good guide to do it: http://wiki.cyanogenmod.org/w/Barebones even though it's for previous versions of Cyanogen (scroll till bottom of the page and expand).

Exactly! :D That's why if I was able to delete them from the source, even before flashing the ROM I would :)

But you are absolutely right about

It's just a personal thing. :cool:
[Device Reviews and Information] Diamorphoses:
UPDATES:

I also tried to use the file manager with root to delete system apps in "/data/data" and it was not possible. After that I tried to do the same on boot using TWRP ("/data/data" also) with no success. If you can figure out why and find a solution I will be very grateful.

I am very impressed with battery performance (much better than MIUI) :good: :highfive: :D

Stock ROM Camera still unstable, but Open Camera is working perfectly (and is much much better imho).

I realized how crappy is CM file manager. It doesn't let me extract a .zip file because it says it's too big (lol) (Amaze File Manager works fine).

I noticed some random reboots today.

I didn't properly tested GPS yet. So far, signal works. Need to do a real route test :)

Screenshot 1 - Wifi is very random. Sometimes works like a charm, sometimes I get this, and some times I get this and have internet anyway.

Screenshot 2 and 3 - Flashlight does not appear in tiles menu. When I try to rearrange tiles the flashlight is there. But after I press DONE, it disappears.
[Device Reviews and Information] Diamorphoses:
Hey,

I would like to install xposed framework to try out Greenify, Amplify and Power Nap, but I don't know which version of Xposed Framework I should install. There are 3 available downloads for Android 6.0: Arm, Arm64 and x86

I searched phone specs, this thread and even the qualcomm website (which tells me that Trunk's processor, snapdragon 410, is designed with 32bit and 64 bit CPU support), but still I am in doubt :confused:

My gut tells me to download and use ARM64. Am I right?

(I am running the latest Cyanogenmod 13 builded by [MENTION=7319300]ottmi[/MENTION])

Thanks
[Device Reviews and Information] todoss:
You are right!
[Device Reviews and Information] depende70:
Hello, I wanted to thank this last rom for our trunk. Everything works great. I would like to propose to the creator, if possible, that the next versions include the Spanish language.

Thank you very much and great work.
[Device Reviews and Information] Diamorphoses:
Thanks. Strange thing happened. Flashed Xposed Framework and it kind of uninstalled SuperSU. I don't know what happened really, but after flashing SuperSU again everything works fine.
[Device Reviews and Information] :
Correct, I flashed the "xposed-v81-sdk23-arm64" zip, no problems.

Looking forward to your findings, since I refrained from using those apps for now.

I also stopped using Kernel Adiutor after the first 15 minutes because it made mdeejays kernel go even more crazy. ;)

edit: SuperSU wasn't affected in any way when I installed the Xposed framework, oh well...
[Device Reviews and Information] todoss:
Why SiperSU? Just enable root in Developer options, CM have own superuser app!