• 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] [6.0.1] Android Open Source Project Marshmallow [2017/01/20]

DodoGTA

Inactive Recognized Developer
Feb 18, 2015
2,943
1,143
0
The western part

This is a build of the Android Open Source Project (AOSP) based on Android 6.0.1 for people who prepare pure Android without the extra feature of CyanogenMod or other ROMs.

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










Device-specific source code:

Downloads
TWRP recoveries
  • Odin-flashable (.tar.md5):

    For GT-S7580/GT-S7580L/GT-S7580E: Click here
    For GT-S7582/GT-S7582L/GT-S7582E: Click here
  • TWRP/dd/Rashr-flashable (.img):

    For GT-S7580/GT-S7580L/GT-S7580E: Click here
    For GT-S7582/GT-S7582L/GT-S7582E: Click here

What works?
  • Everything, except everything listed in the Known Issues tab

Known Issues
  • Video decoding not workingFixed
  • Bluetooth not workingFixed
  • Random rebootsMostly fixed
  • Screen recording (maybe)
  • Can't unpin screen (AOSP bug, enable navigation bar to fix this issue)

Installation instructions
  • Download the ROM and GApps
  • Reboot to recovery
  • Take a nandroid backup
  • Wipe data/factory reset
  • Flash the ROM and then GApps
  • Reboot your phone
  • Enjoy! (but wait at least 5-10 minutes after rebooting for the first time)

To upgrade to a newer build, simply flash the zip. You also need to flash Google Apps and other addons again because addon.d support is not included in this ROM.

Changelog
Code:
20170120:
- No real changes
- kylepro only

20170105:
- Add F2FS support
- Disable zRAM
- Based on android-6.0.1_r74

20161101:
- Fix video/audio encoding/decoding
- Fix random reboots (mostly)
- Based on android-6.0.1_r72

20160627:
- Enable ART low memory mode
- Fully fix video encoding
- Based on android-6.0.1_r46 (On next successful build, I'll add some forgotten stuff (If first today's build didn't solve video decoding problem, wait for the next successful one))

20160625:
- Update name of ROM ZIP (it's now "aosp-(Android version)-(date without time)-(device codename).zip"

20160624:
- Fix install issues
- Magically fix Bluetooth

20160531:
- Fix home button

20160530:
- Added more patches (the ROM booted due to these)
- Removed logging (it's useless)

20160529:
- Added logging (might help)

20160527:
- Initial release based on android-6.0.1_r43
Reporting bugs

You may report bugs in this thread, note that I do not intend to update this ROM often and bug reports may be ignored. If you're looking for a ROM which is newer, please use LineageOS 13.0/14.1.

  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/kmsg just before the reboot. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Bug report format
Code:
What is your--
Phone model:
Radio (baseband):
ROM version:
GApps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Credits
* CyanogenMod team
* @pawitp and @GHsR - for patches
* @sandpox
* @no_name and other GT-S7580 and GT-S7582 devs

XDA:DevDB Information
AOSP Marshmallow ROM for the Samsung Galaxy Trend Plus and S Duos 2, ROM for the Samsung Galaxy S Duos 2

Contributors
DodoGTA, GHsR, no_name, sandpox, sostk22
Source Code: https://android.googlesource.com

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 4.2.2
Based On: AOSP

Version Information
Status: No Longer Updated
Current Stable Version: 6.0.1_r74
Stable Release Date: 2017-01-20
Current Beta Version: 6.0.1_r43
Beta Release Date: 2016-06-25

Created 2016-07-15
Last Updated 2018-04-10
 

DodoGTA

Inactive Recognized Developer
Feb 18, 2015
2,943
1,143
0
The western part
FAQ

Can you include the "ask first" option for sending messages?
The "ask first" option is not available in AOSP. However, you can select the SIM when you send the message if you use Google's Messenger app.

Battery Statistics shows that Wi-Fi is always on even though I've turned it off.
If you are using "scanning always available" in Advanced Wi-Fi Settings, then Wi-Fi will always be on to scan for available network to aid location discovery.

How do I enable root?
Root needs to be flashed manually.

I'm having battery issues
Read http://forum.xda-developers.com/gal...galaxy-grand-duos-i9082-t2942255/post57836573

After installing, my storage was reduced from 4 GB to 2 GB
You only have 2 GB for user data in the first place. The other 2 GB is used by system files. This is the same with stock as well. However, stock might have displayed it as "4 GB with 2 GB used by system files", but AOSP-based ROMs will only display the space available for user data.

Can you include Feature X into your ROM?
No. This ROM will have AOSP's feature set.

Can you include S-Note/S-Planner/MultiWindow/Insert Samsung App Here?
No. This is an AOSP ROM and cannot have TouchWiz applications.

Can you include call recording?
No.

What kernel does this ROM use?
A slightly modified version of the stock kernel, the source code is linked above.

I've heard that Broadcom doesn't release source, how can you make this ROM?
Contrary to the popular belief, userspace driver source code is not always required to make an AOSP-based ROM as long as the proprietary binaries shipped with the device does not modify the API too heavily (or is from a very different version of Android). Instead of modifying the source code of the drivers, the Android source code was adapted to be able to use the proprietary binaries.

Can I use your ROM as a base?
http://source.android.com/source/licenses.html

Most of Android is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given.

Can contacts be saved to phone/SIM?
No. It is not supported in AOSP-based ROMs.

Can I send files over Wi-Fi Direct?
Yes, but you must use third-party applications. The implementation provided on Samsung ROMs is not an open standard. AOSP/CM does not provide a native way to send files over Wi-Fi Direct.

Can I mirror your ROM?
You're free to, but I will not list it in this post.


ROM video

 
Last edited:

no_name

Inactive Recognized Developer
Sep 16, 2014
1,164
2,122
0

DodoGTA

Inactive Recognized Developer
Feb 18, 2015
2,943
1,143
0
The western part
How can you tell that, random reboot isn't fixed? Are you using mHeap patch? If not, then it is fixed. Otherwise it will be there.
I've removed BOARD_USE_MHEAP_SCREENSHOT flag (but the patch is not removed)

But I've got ProcessList.java reject when building the ROM (I've fixed it, by the way (It will be properly patched when next build of this ROM starts)

Sent from my GT-S7580 using Tapatalk
 
Last edited: