[N910C/H][DEV] AOSP sources

Search This thread

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
26
Hannover
*omg, thread updating needed*

Hey guys, as some of you might know, I was donated a Galaxy Note 4 (N910C) and am now working on AOSP for it.
The sources required to build a ROM are hosted at GitHub currently:

device: https://github.com/teameos/device_samsung_treltexx/
kernel: https://github.com/raymanfx/kernel_samsung_trelte/
vendor: https://github.com/raymanfx/vendor_samsung_treltexx/

If you want to give this a shot, you should be familiar with git and repo and be able to sync the TeamEos source yourself.

If anybody feels brave enough, give it a try yourself, all the required bits are posted above :)

TODO/BROKEN:
  • Bluetooth headset calls (RX works, TX is broken)
  • Open source AVC (H.264) Encoder is broken (Videos recorded in portrait are rotated by 90° counter clockwise, and there's artifacts all over the place)

Everything else should be pretty much working.
 
Last edited:

ddaharu

Senior Member
Mar 30, 2011
1,303
344
OnePlus 8T
hey! any progress on this? I'm really excited!

Sent from my SM-N910C using XDA Free mobile app
 
Last edited:

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
26
Hannover
First success:

The phone is booting and the adb server is starting.
I'm still missing some sensor blobs from stock which causes the sensor layer not to start and thus prevent various other init tasks (such as display, EGL) to crash.
I'm going to work on getting at least display up this weekend.
No promises though.
 

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
26
Hannover
More progress today:

The device partially boots now, boot animation shows but that's where it loops.
Sensors are fully working and storage handling (internal storage, external sdcard and usbdisk) have been fixed.
I'm still missing some camera blobs which I believe keep the device from booting up (because it crashes other init services).
I'll look into that tomorrow probably.
All the latest fixes have been pushed to my github repos, so if anyone in here feels like experimenting a bit, let me know how it goes :)
 

thiagoribeirorj

Senior Member
Feb 25, 2012
311
72
Campos dos Goytacazes
Redmi K20 Pro
More progress today:

The device partially boots now, boot animation shows but that's where it loops.
Sensors are fully working and storage handling (internal storage, external sdcard and usbdisk) have been fixed.
I'm still missing some camera blobs which I believe keep the device from booting up (because it crashes other init services).
I'll look into that tomorrow probably.
All the latest fixes have been pushed to my github repos, so if anyone in here feels like experimenting a bit, let me know how it goes :)

These words cause many joys. :D
 

MrAlez

Senior Member
May 5, 2013
184
41
@RaymanFX , great work, update the first post with every progres, and for the other guys this a dev thread, dont spam with greets otherwise im sure a mod is gonna close the thread, keep it dev related or someone can open a thread in the general options for this project
 

RaymanFX

Inactive Recognized Developer
Jan 8, 2011
1,122
16,501
26
Hannover
Well, as stated on the first post, it'd probably make more sense to watch my github for progress instead of asking in this thread.. Just saying.

Big progress has been made in terms of audio, as I finally got around to configuring proper mixer paths for audio devices here: https://github.com/RaymanFX/device_samsung_trelte/commit/c5954750b5c13ce9bf27992f145a18a837099e12.
I had to do lots of research because there is little to no documentation on these mixer_paths.xml configs, so I ended up creating it from scratch based on Samsung's UCM config.
The device still doesn't boot further than the bootanimation, but I still have some interesting lines in the logs to solve, for example it still reports invalid input/output devices in audioflinger, which clearly is an issue.
At least the issues preventing us from booting are no actual display issues, but init services crashing.
Also, it looks like the RIL is starting up after adding Samsung's cbd daemon to early init execution (ramdisk), but I don't expect telephony/mobile data to work just yet.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 122
    *omg, thread updating needed*

    Hey guys, as some of you might know, I was donated a Galaxy Note 4 (N910C) and am now working on AOSP for it.
    The sources required to build a ROM are hosted at GitHub currently:

    device: https://github.com/teameos/device_samsung_treltexx/
    kernel: https://github.com/raymanfx/kernel_samsung_trelte/
    vendor: https://github.com/raymanfx/vendor_samsung_treltexx/

    If you want to give this a shot, you should be familiar with git and repo and be able to sync the TeamEos source yourself.

    If anybody feels brave enough, give it a try yourself, all the required bits are posted above :)

    TODO/BROKEN:
    • Bluetooth headset calls (RX works, TX is broken)
    • Open source AVC (H.264) Encoder is broken (Videos recorded in portrait are rotated by 90° counter clockwise, and there's artifacts all over the place)

    Everything else should be pretty much working.
    37
    Fixed the problem, we're booting again. I'm setting up automated builds right now so people can watch the development progress.
    The nightly builds are by no means usable as daily drivers though.
    31
    The next snapshot build has a few changes worth mentioning:

    • Tre3g/Tre3gxx (N910H) is officially supported by now. No need to change the updater script anymore.
    • Bluetooth should be fixed. I was able to transfer files via OBEX push withing a range of 10 meters without any issues.
    • The force close of the camera app has been fixed. This would occur when you tried to switch between the front/back cameras.
    • Upstream Linux kernel 3.10.85
    30
    Ok, still battling the RIL, but at least that's on Lollipop now ;)
    Everything which was working on cm-11 now works on cm-12 as well.
    30
    Fixed microphone and NFC, and closing in on GPS as well.
    I'm done for the night though, will see if I manage to put up a new alpha tomorrow (with working phone calls hopefully).
    The patches are here: http://review.teameos.org/ (open and merged sections).
    The Gerrit instance serves as a platform to contribute and share fixes for us, so if you have any ideas, feel free to push something :)