Page 1 of 11 123 ... LastLast
Results 1 to 10 of 107
Like Tree5Likes

Thread: [M-ROM] Tenchi's AOSP ROM Marshmallow Android 6.x for ADAM [WIP]

  1. #1
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts

    [M-ROM] Tenchi's AOSP ROM Marshmallow Android 6.0.1_r72 for ADAM [WIP] [2016-10-07]

    This is a build of the latest Android AOSP-ROM Marshmallow 6.0 ROM. This includes USB fixes from ri9000. This is a pure AOSP based ROM with no customizations. Internal install uses mmcblk0 with two partitions, rather than standard mtdblock, so partitioned may need to be resized.

    For more info go here: https://www.android.com/versions/marshmallow-6-0/

    Currently overclocked to 1.5GHz, to edit PixelQi settings, clock speed, sleep mode and other settings edit /system/etc/adam_preboot.sh

    How to install ROM/SuperSU/Google Apps zips from twrp

    1. Download zip file and transfer to micro sdcard.
    2. Power on Adam in recovery mode by holding Volume + and toggling power switch.
    3. If installing ROM to micro sd card, type "setprop sdboot 1" in Advanced - Terminal Command.
    4. Click Install.
    5. Click Folders - (Up A Level).
    6. Click Folders - external_sd.
    8. Select zip to flash.
    9. Swipe your finger across area "Swipe to Confirm Flash".

    How to install adb drivers on Windows

    1. Download and exctract adb usb drivers.
    2. Power up Adam into recovery or regular boot mode.
    3. Connect USB cable from Adam to PC.
    4. On PC launch File Explorer.
    5. Right click on This PC or My Computer depending on Windows version you have installed and click on Properties.
    6. Click on Device Manager.
    7. Should see Notion_ink_ADAM or MTP Device, right click on it and select Update Driver Software.
    8. Click on Browse my computer for driver software.
    9. Click on Let me pick from a list of device drivers on my computer.
    10. Click on Show All Devices and press Next.
    11. Click on Have Disk...
    12. Browse to folder where you extracted adb usb drivers and click OK.
    13. Select Android Composite ADB Interface and click Next.
    14. Click Yes on Update Drvier Warning.
    15. Driver should now be installed, click Close.

    How to obtain adam logs to report problems

    1. Follow instructions above on How to install ADB driver.
    2. Connect Adam to computer via USB.
    3. Power on Adam with ROM you are having problems with to capture log and do what you did you get the problem.
    4. Launch Windows command prompt and type cd "path to platform-tools".
    5. Type "adb wait-for-device pull /data/aplog".
    6. If you get remote object '/data/aplog/ does not exist' goto step 8.
    7. Type "adb pull /data/dmsg".
    8. Goto step 13 if step 5 and 7 were successful.
    9. Type "adb shell".
    10. Type "cd /data".
    11. Type "logcat -d > aplog".
    12. Type "dmesg > dmsg".
    13. Type "cat /proc/kmsg > kmsg &".
    14. Press CTRL-C to exit shell.
    15. Type "adb pull /data/aplog".
    16. Type "adb pull /data/dmsg".
    17. Type "adb pull /data/kmsg".
    18. You should now have 3 files in your platform-tools directory, aplog, dmsg, and kmsg.
    19. Launch Web browser and goto Pastebin.com - #1 paste tool since 2002!.
    20. Open aplog in wordpad and copy and paste all text to web page and submit.
    21. Create a new message in this thread and paste the URL from pastebin.com of your newly submitted log.
    22. Repeat 19-20 for dmsg and kmsg.

    Download links:

    AOSP-ROM Marshmallow for ADAM:

    download 6.0.1_r72 2016-10-07 twrp v7 ZIP

    download 6.0.1_r68 2016-09-15 twrp v7 ZIP

    download 6.0.1_r63 2016-08-03 twrp v7 ZIP

    download 6.0.1_r54 2016-07-13 twrp v7 ZIP

    download 6.0.1_r46 2016-06-11 twrp v7 ZIP

    download 6.0.1_r43 2016-05-06 twrp v7 ZIP

    download 6.0.1_r24 2016-04-05 twrp v7 ZIP

    download 6.0.1_r22 2016-03-16 boot.img internal install

    download 6.0.1_r22 2016-03-16 boot.img microsd install

    download 6.0.1_r22 2016-03-14 boot.img internal install

    download 6.0.1_r22 2016-03-14 boot.img microsd install

    download 6.0.1_r22 2016-03-08 twrp v7 ZIP

    download 6.0.1_r16 2016-02-22 twrp v7 ZIP

    download 6.0.1_r16 2016-02-18 twrp v7 ZIP

    download 6.0.1_r16 2016-02-14 twrp ZIP with Dex optimization and new internal 3 partition layout to match microsd install (twrp v7 required)

    download 6.0.1_r16 2016-02-03 twrp ZIP

    download 6.0.1_r10 2016-01-10 CWM ZIP (now with internal install with /system on mmcblk0p1 and /data on mmcblk0p2 by default or "adb shell setprop sdboot 1" for microsd install now)

    download 6.0.1_r3 2015-12-11 CWM ZIP (micro sdcard install only)

    download 6.0_r26 2015-11-04 CWM ZIP (micro sdcard install only)

    download boot.img selinux permissive 2015-11-03

    download 6.0 2015-10-23 CWM ZIP (micro sdcard install only)

    download build.prop (copy to /system folder) 2015-10-21

    download boot.img sdcard fix 2015-10-14

    download 6.0 2015-10-13 CWM ZIP only works on micro sdcard

    SuperSU BETA for root access:
    download

    ClockworkMod 6.0.4.7 Recovery with nvflash (run "flashrecovery.bat recovery.img" in command line):
    download CWM with battery indicator from Borkata and working USB thanks to ri9000

    download TWRP Recovery

    ADB USB drivers

    ADB Android SDK Tools

    Open Google Apps download (requires new TWRP recovery)

    Minimal Google Apps download (see instructions for installation, regular install method does not work)

    Hacker's Keyboard Download APK

    Source download links:

    AOSP ROM: download

    Device tree, kernel and vendor source: download

    Tested and working:

    6.0.1_r72
    [2016-10-07]
    -ROM update

    6.0.1_r68
    [2016-09-15]
    -ROM update

    6.0.1_r63
    [2016-08-03]
    -ROM update

    6.0.1_r54
    [2016-07-13]
    -ROM update

    6.0.1_r46
    [2016-06-11]
    -ROM update

    6.0.1_r43
    [2016-05-06]
    -just ROM update
    -installer now automatically deletes /data/dalvik-cache

    6.0.1_r24
    [2016-04-05]
    -reverted interactive governor update (may be causing increased battery usage)
    -fs, clock delay, pm, vfpmodule, mmc, binder, lowmemorykiller kernel update

    6.0.1_r22
    [2016-03-16]
    -doubled GPU memory to 256MB, hopefully no more soft reboots

    [2016-03-14]
    -reverted kernel time, pm, latency, binder, low memory killer updates which resolves soft reboot issue (UPDATE: still not fixed)
    -binder, logger, fs, traps and selinux kernel update
    -add proper kernel idiv emulation support
    -updated kernel interactive governor

    [2016-03-08]
    -sdcard /storage now writable in all apps
    -disable trimtask for good which prevented deep sleep and was never finished

    6.0.1_r16
    [2016-02-22]
    -reverted opengl patches and hdmi increase io priority as they were causing freezing and restarts
    -added back /microsd mount in microsd install as certain apps are unable to write to /storage mount

    [2016-02-18]
    -updated kernel time, pm, latency, binder, low memory killer
    -added back mheap patches for more stability
    -misc opengl patches
    -disable trim causing not to sleep (never finishes)
    -hdmi increase io priority

    [2016-02-16]
    -New 3 partition internal layout
    -DEX optimization now enabled
    -tweaks made to HDMI output
    -fixed non-booting without microsd installed
    -microsd card now available in MTP

    [2016-02-03]
    -ROM update to 6.0.1_r16
    -minor kernel update to support div_emulate and uid_cputime

    6.0.1_r10
    [2016-01-10]
    -Fixed boot image

    [2016-01-09]
    -ROM update to 6.0.1_r10
    -internal install now possible
    -microsd card detection now working (although /storage/X not accessible, but /mnt/media_rw/X is okay)

    6.0.1_r3
    [2015-12-11]
    -Update ROM to latest AOSP 6.0.1_r3
    -automounting of USB now working
    -autorotation seems to be stable now

    6.0
    [2015-11-04]
    -Update ROM to latest AOSP 6.0 r26

    [2015-11-03]
    -selinux permissive mode enabled

    [2015-10-23]
    -dex optimizations disabled again
    -use generic bionic libs instead of old tegra 2 (more compatible)
    -re-enable byte code checks

    [2015-10-21]
    -enable dex optimizations

    [2015-10-14]
    -micro sdcard vfat now automounting to /microsd

    [2015-10-13]
    -Wifi
    -Bluetooth
    -Pixel Qi toggle
    -HDMI (must be connected at boot)
    -USB Audio

    Not working:
    -HW Accelerated video playback
    -sometimes touch screen doesn't respond, just slide power switch and then press side back button
    -Builtin camera app (other third party camera apps may work like Camera MX)
    -Compass
    -3G
    -boot animation
    -after initial release of 6.0.1_r16 there seems to be a problem with soft reboots sometimes (fixed 2016-03-14)
    -Google Calendar
    -Google Movies does not play videos
    -latest Chrome

    Credits
    Borkata for making such an excellent kernel and CM ports and help with problems

    ri9000 for usb fixes

    timduru for Storage, HDMI, NVOMX and screen capture fixes

    Decatf for HDMI, Dex, opengl and kernel optimization fixes

    AOSP ROM developers for providing Android ROM
    Last edited by tenchi; 10-08-2016 at 09:35 AM. Reason: 6.0.1_r72
    tartutic07 likes this.

  2. The Following 9 Users Say Thank You to tenchi For This Useful Post:

    Borkata (10-14-2015), fantaze (10-26-2015), Gallan (01-10-2016), mikus (10-14-2015), ri9000 (10-20-2015), sandervanzijl (06-29-2016), Trans (10-17-2015), Waho (10-17-2015), ZenOgeek (10-19-2015)

  3. #2
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    sdcard vfat mounting issue now fixed and will mount to /microsd

  4. #3
    Resident
    Join Date
    May 2011
    Location
    Austin, TX
    Posts
    509
    Thanks
    115
    Thanked 50 Times in 34 Posts
    Thank you Tenchi for giving us an Adam with the latest Android version.

    Runs o.k. -- a bit sluggish (AnTuTu is 10+% slower than with Lollipop). For me, no video hardware acceleration.

    edit: I'ts a bit confusing that the remainder of the sdcard (i.e., /microsd) is now linked neither by /mnt nor by /storage.
    Last edited by mikus; 10-16-2015 at 05:40 AM.

  5. #4
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by mikus View Post
    Thank you Tenchi for giving us an Adam with the latest Android version.

    Runs o.k. -- a bit sluggish (AnTuTu is 10+% slower than with Lollipop). For me, no video hardware acceleration.

    edit: I'ts a bit confusing that the remainder of the sdcard (i.e., /microsd) is now linked neither by /mnt nor by /storage.
    It is slower because dex optimization is disabled due to crashing issues and it does seem video hardware acceleration is still not working (have to wait for custom ROM I guess).

    sdcard and usb mounting seems to have changed in Marshmallow, so I had to change the mount point.

  6. #5
    Regular
    Join Date
    Apr 2011
    Posts
    108
    Thanks
    92
    Thanked 2 Times in 2 Posts
    ROM installation failing with below errors:

    ApplyParsedPerms: removexattr of /system/xbin/tcpdump to 0 failed: Operation not supported on transport endpoint
    set_metadata_recursive: some changes failed
    E:Error in /external_sd/aosp-6.0-adam_3g-2015-10-13.zip
    (Status 7)
    Installation aborted.
    mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Too many symbolic links encountered
    mkdir: can't create directory '/sdcard/': Too many symbolic links encountered
    mtd: successfully wrote block at 0
    I:Set boot command ""
    I:Can't partition non mmcblk device: /devices/platform/sdhci-tegra.3/mmc_host/mmc1
    I:Can't partition non mmcblk device: /devices/platform/sdhci-tegra.2/mmc_host/mmc2

    tried reverting back with nvflash to earlier roms, repartitioning as well as reinstalling multiple times. But, the same error.

  7. #6
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ZenOgeek View Post
    ROM installation failing with below errors:

    ApplyParsedPerms: removexattr of /system/xbin/tcpdump to 0 failed: Operation not supported on transport endpoint
    set_metadata_recursive: some changes failed
    E:Error in /external_sd/aosp-6.0-adam_3g-2015-10-13.zip
    (Status 7)
    Installation aborted.
    mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Too many symbolic links encountered
    mkdir: can't create directory '/sdcard/': Too many symbolic links encountered
    mtd: successfully wrote block at 0
    I:Set boot command ""
    I:Can't partition non mmcblk device: /devices/platform/sdhci-tegra.3/mmc_host/mmc1
    I:Can't partition non mmcblk device: /devices/platform/sdhci-tegra.2/mmc_host/mmc2

    tried reverting back with nvflash to earlier roms, repartitioning as well as reinstalling multiple times. But, the same error.
    Are you trying to install to internal storage? If so, then that won't work as only micro sdcard install is working due to required kernel changes.

  8. #7
    Regular
    Join Date
    Apr 2011
    Posts
    108
    Thanks
    92
    Thanked 2 Times in 2 Posts
    Thanks Tenchi. I haven't tried installation to SD card so far. How can I partition SD card to be suitable for installing this ROM? from CWM? parted command from adb shell is not helping.

  9. #8
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ZenOgeek View Post
    Thanks Tenchi. I haven't tried installation to SD card so far. How can I partition SD card to be suitable for installing this ROM? from CWM? parted command from adb shell is not helping.
    See this: Booting from sdcard much faster!

  10. The Following User Says Thank You to tenchi For This Useful Post:

    ZenOgeek (10-24-2015)

  11. #9
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Updated build.prop file to enable dexopt without crashing now, see front page.

    UPDATE: seems unstable with this still, so I went back to original config...
    Last edited by tenchi; 10-22-2015 at 08:00 AM.

  12. #10
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Updated M-ROM:
    -dex optimizations disabled again
    -use generic bionic libs instead of old tegra 2 (more compatible)
    -re-enable byte code checks
    Last edited by tenchi; 10-23-2015 at 09:10 AM.

  13. The Following 2 Users Say Thank You to tenchi For This Useful Post:

    ri9000 (10-26-2015), ZenOgeek (10-24-2015)

Page 1 of 11 123 ... LastLast

Remove Ads

Similar Threads

  1. Replies: 20
    Last Post: 02-24-2016, 03:19 PM
  2. Android Marshmallow Issue
    By tenchi in forum Adam ROM Development
    Replies: 9
    Last Post: 10-13-2015, 08:35 PM
  3. Replies: 0
    Last Post: 09-24-2015, 02:16 PM
  4. Replies: 7
    Last Post: 09-22-2015, 02:38 AM
  5. Replies: 8
    Last Post: 08-21-2015, 09:17 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •