• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][osprey] The Android Open Source Project 8.1

Search This thread

Alberto97

Recognized Developer
Feb 6, 2012
976
7,828
23
3TdrJyX.gif

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.
 */

AOSP is Android as Google release without other modifications, similar to Pixel/Nexus stock rom but without gapps.
Features such as Chop Chop, Double Twist and Ambient display gestures are kept.
Google does not release an AOSP Browser anymore since Marshmallow, thus there isn't a default browser. If I find the time I might port and revamp it in the future.

Installation
Requires Unlocked Bootloader & a custom recovery (at least twrp-osprey-3.1.1-r3.img or newer release is needed)
  1. Place ROM & Gapps in your virtual SD
  2. Reboot in Bootloader Mode
  3. Go to "Recovery" (Vol +/Vol -) and confirm (power)
  4. Wipe Data/Factory Reset
  5. Wipe Dalvik cache
  6. Install the ROM zip
  7. DO NOT REBOOT
  8. Install the Gapps zip (optional)
  9. Reboot

Downloads
AndroidFileHost

Sources
Device Tree
Common Device Tree
Kernel


XDA:DevDB Information
The Android Open Source Project 8, ROM for the Moto G 2015

Contributors
Alberto97
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x

Version Information
Status: No Longer Updated

Created 2017-11-23
Last Updated 2018-12-08
 

Attachments

  • Screenshot_20180104-171946.png
    Screenshot_20180104-171946.png
    80.8 KB · Views: 12,698

Alberto97

Recognized Developer
Feb 6, 2012
976
7,828
23
Changelog

07/12/2018
  • December security patches
  • WiFi display enabled
  • BT mac address fixed
  • BFQ is the default IO scheduler
  • Flip to Mute: the phone now vibrates when you mute/unmute it, just like Google's Flip to shhh

08/09/2018
  • September security patches

07/08/2018
  • August security patches
  • Enforcing SELinux

20/07/2018
  • RIL method getOperatorResponse now properly returns the operator and as result framework methods in TelephonyManger (getNetworkOperatorName + getSimOperatorName) and SubscriptionManager (getCarrierName + getDisplayName) now work correctly (thanks chil360 for pointing out the issue)
  • Whatsapp videos should have been fixed (thanks chil360 again for pointing out the issue and Subinsmani for linking the first fix here)

05/07/2018
  • July security patches
  • Camcorder has been fixed
  • Offline charging now correctly works
  • Moved from HWC2 to HWC1
  • Kernel updated to LA.BR.1.2.9.1-02310-8x16.0 tag
  • Unified gestures menus
  • Moved to AOSP apns list
  • Backuptool has been implemented
  • Added Google Sans

04/04/2018
  • April security patches
  • Better fix for the Alarm Clock
  • Removed PicoTTS (it was not working anyway)
  • Possibility of setting Pixel color accent

13/03/2018
  • February and March security patches
  • Open source Sensor HAL
  • Enabled Round Icons
  • Removed IMS support

04/01/2018
  • Android 8.1
  • January security patches

16/12/2017
  • December security patches
  • Alarm clock fixed
  • Fixed crash when opening Mobile Network settings with 2 sims inserted
  • IMS Patch by @althafvly included

21/11/2017 - Initial Release
 
Last edited:

rahul9999

Senior Member
If you are wondering, yes, this is based on lux stock nougat sources.

Here is a quick review..
As I thought Exfat sdcards are not working
VOLTE is broken..
Can't access network setting's.. Giving FC
Camcorder is broken.. Works with footage..

The ROM is very clean & smooth..
Stay tuned for detailed reviews & screenshots

---------- Post added at 06:52 PM ---------- Previous post was at 06:39 PM ----------

Here are some screenshots https://imgur.com/a/xwmVc

---------- Post added at 06:52 PM ---------- Previous post was at 06:52 PM ----------

Can u upload screenshot

https://imgur.com/a/xwmVc
 

Alberto97

Recognized Developer
Feb 6, 2012
976
7,828
23
Here is a quick review..
As I thought Exfat sdcards are not working
VOLTE is broken..
Can't access network setting's.. Giving FC
Camcorder is broken.. Works with footage..

The ROM is very clean & smooth..
Stay tuned for detailed reviews & screenshots
I won't add the support for ExFAT, if this becomes too much complicated I would end up in abandoning the project for sure.
Not sure what's wrong with VoLTE instead since I can't test it.
About the settings crash, try the attached patched APK (replace it in /system/priv-app/TeleService/), it works on addison, I never use two sim cards at the same time so I did not notice the issue before.
 

Attachments

  • TeleService.apk
    6.7 MB · Views: 141
Last edited:

samarth sathe

Senior Member
Jul 3, 2013
354
519
Pune
Here is a quick review..
As I thought Exfat sdcards are not working
VOLTE is broken..
Can't access network setting's.. Giving FC
Camcorder is broken.. Works with footage..

The ROM is very clean & smooth..
Stay tuned for detailed reviews & screenshots

---------- Post added at 06:52 PM ---------- Previous post was at 06:39 PM ----------

Here are some screenshots https://imgur.com/a/xwmVc

---------- Post added at 06:52 PM ---------- Previous post was at 06:52 PM ----------



https://imgur.com/a/xwmVc

Did you test VoLTE with the patch? Also is it completely broken or the same like in LOS15?
 

rahul9999

Senior Member
I won't add the support for ExFAT, if this becomes too much complicated I would end up in abandoning the project for sure.
Not sure what's wrong with VoLTE instead since I can't test it.
About the settings crash, try the attached patched APK (replace it in /system/priv-app/TeleService/), it works on addison, I never use two sim cards at the same time so I did not notice the issue before.

Attaching logs for VOLTE, Settings FC & Camcorder

1. For Volte I have restarted mobile & started recording logs.
Tried to call twice but call cloud not connected.. End up log

2. For network settings - started logs recording & tried to access network setting twice but got errors both time.. End up log

3. For camcorder - started built in camera & tried to record a video.. It shows video reordering but nothing will save in storage & gallery shows error file.. Second time tried to record video & got error.. End up log

I will try to use file which given by you.. Exfat is not a big issue for me, but i need a volte work.. Not sure how long I would test this.. Attaching logs in zip file..
 

Attachments

  • saved_logs_AOSP.zip
    174.3 KB · Views: 18
  • Like
Reactions: Alberto97

rahul9999

Senior Member
@rahul9999 You have to reboot the phone in order to apply the patched APK

EDIT: About VoLTE, I'll try to see if I can switch back to the old Marshmallow stack but it will take time and I'll do it in another build for sure

Edit - @Alberto97 that file worked & resolved Network setting FC bug . I have forgot to give it proper permissions.. now the only two things need to be fixed.. VoLTE & Camcorder
 
Last edited:

althafvly

Recognized Developer / Recognized Contributor
May 28, 2014
1,598
3,120
Malappuram
Moto G 2015
Google Pixel XL
I won't add the support for ExFAT, if this becomes too much complicated I would end up in abandoning the project for sure.
Not sure what's wrong with VoLTE instead since I can't test it.
About the settings crash, try the attached patched APK (replace it in /system/priv-app/TeleService/), it works on addison, I never use two sim cards at the same time so I did not notice the issue before.

its working in some roms like pixel experience. they used some other patches to fix the call failed issue. :confused::confused: maybe it will help you to fix it
@Alberto97

EDIT : @rahul9999 reported its working after flashing my volte patch. Its from op3 oreo
 
Last edited:

rahul9999

Senior Member
@rahul9999 You have to reboot the phone in order to apply the patched APK

EDIT: About VoLTE, I'll try to see if I can switch back to the old Marshmallow stack but it will take time and I'll do it in another build for sure

VoLTE is fixed after flashing patch made by @althafvly (attaching) also network setting fc fixed by you're file.. Now the only two things are need to be fixed.. Camcorder & Exfat sdcards (which is not possible)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    3TdrJyX.gif

    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.
     */

    AOSP is Android as Google release without other modifications, similar to Pixel/Nexus stock rom but without gapps.
    Features such as Chop Chop, Double Twist and Ambient display gestures are kept.
    Google does not release an AOSP Browser anymore since Marshmallow, thus there isn't a default browser. If I find the time I might port and revamp it in the future.

    Installation
    Requires Unlocked Bootloader & a custom recovery (at least twrp-osprey-3.1.1-r3.img or newer release is needed)
    1. Place ROM & Gapps in your virtual SD
    2. Reboot in Bootloader Mode
    3. Go to "Recovery" (Vol +/Vol -) and confirm (power)
    4. Wipe Data/Factory Reset
    5. Wipe Dalvik cache
    6. Install the ROM zip
    7. DO NOT REBOOT
    8. Install the Gapps zip (optional)
    9. Reboot

    Downloads
    AndroidFileHost

    Sources
    Device Tree
    Common Device Tree
    Kernel


    XDA:DevDB Information
    The Android Open Source Project 8, ROM for the Moto G 2015

    Contributors
    Alberto97
    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x

    Version Information
    Status: No Longer Updated

    Created 2017-11-23
    Last Updated 2018-12-08
    40
    For the record, I'm not dead nor this project is. In the last weekend I worked on the OSS sensor hal (moto opened its sources in january), I brought it up to date and working on oreo, it will be included in the next build.
    And no, I will not maintain LineageOS 15.1 (don't talk about it here please).
    28
    Changelog

    07/12/2018
    • December security patches
    • WiFi display enabled
    • BT mac address fixed
    • BFQ is the default IO scheduler
    • Flip to Mute: the phone now vibrates when you mute/unmute it, just like Google's Flip to shhh

    08/09/2018
    • September security patches

    07/08/2018
    • August security patches
    • Enforcing SELinux

    20/07/2018
    • RIL method getOperatorResponse now properly returns the operator and as result framework methods in TelephonyManger (getNetworkOperatorName + getSimOperatorName) and SubscriptionManager (getCarrierName + getDisplayName) now work correctly (thanks chil360 for pointing out the issue)
    • Whatsapp videos should have been fixed (thanks chil360 again for pointing out the issue and Subinsmani for linking the first fix here)

    05/07/2018
    • July security patches
    • Camcorder has been fixed
    • Offline charging now correctly works
    • Moved from HWC2 to HWC1
    • Kernel updated to LA.BR.1.2.9.1-02310-8x16.0 tag
    • Unified gestures menus
    • Moved to AOSP apns list
    • Backuptool has been implemented
    • Added Google Sans

    04/04/2018
    • April security patches
    • Better fix for the Alarm Clock
    • Removed PicoTTS (it was not working anyway)
    • Possibility of setting Pixel color accent

    13/03/2018
    • February and March security patches
    • Open source Sensor HAL
    • Enabled Round Icons
    • Removed IMS support

    04/01/2018
    • Android 8.1
    • January security patches

    16/12/2017
    • December security patches
    • Alarm clock fixed
    • Fixed crash when opening Mobile Network settings with 2 sims inserted
    • IMS Patch by @althafvly included

    21/11/2017 - Initial Release
    25
    The new build is finally available with February and March security patches included. As I previously mentioned I'm now using an open source Sensor HAL now (backstory here for the curious).
    Also round icons are now enabled. That fancy feature introduced with Nougat that became useless on Oreo due to adaptive icons. Though for some reason Google decided to enable the Chrome adaptive icon only on devices that come with this feature enabled and the more adaptive icons I see the happier I am...
    In the end I've also decided to remove IMS support, it's something that apparently I can't get to work here, I can't test directly and I've spent enough time on.
    25
    A new build is out. I have to say that I'm not very lucky with this device lately and after losing my sources a couple of months ago I had to apply every hack again and at many points I can't deny I was tempted to drop the support for osprey but here we go!
    Camcorder is finally working as well as offline charging.
    Gestures menus have been unified.
    Graphic configuration has been reworked, I've switched back to HWC1 since HWC2 was causing performance issues and our platform does not really support it.
    Kernel and wlan drivers have been inlined with qcom's latest tag. In the end they decided to support it once more and in june they published the first oreo release for our platform.
    Backuptool has been implemented: you don't need to install gapps every time you dirty flash anymore, backuptool will do this for you and just like pixels, Google Sans is now being used in some places of the system; mainly settings titles.
    I've also moved to AOSP apns list to improve the ROM maintainability. If mobile data stops working after a clean flash, check your apns, it might be missing now if yours is a new carrier or a MVNO.
    Of course security patches of these missing months have been included system and kernel side both.

    An advice: due to the whole rework/reapply of the support for this device, do a backup, I might have missing something and the device configuration based on the variant has totally changed.
    In the end bad news: after realizing the amount of hacks this device needs, almost likely I won't bring Android P on it.