Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [N-ROM] Tenchi's AOSP ROM Nougat Android 7.x for ADAM [WIP]

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

    [N-ROM] Tenchi's AOSP ROM Nougat Android 7.1.1_r12 for ADAM [WIP][2017-01-04]

    This is a build of the latest Android AOSP-ROM Nougat 7.1 ROM. This is a pure AOSP ROM with no customizations. This includes USB fixes from ri9000. Internal install uses mmcblk0 with three partitions just as in Marshmallow, rather than standard mtdblock, so re-partitioning may be needed if coming from older ROM (see TWRP instructions).

    For more info go here: https://www.android.com/intl/en_ca/versions/nougat-7-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

    0. Repartitioning may be needed first if coming from older ROM not using 3 partition scheme see: New TWRP Recovery
    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 extract 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 Driver 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 7.1.1_r12 2017-01-04 twrp v7 ZIP

    download 7.1.1_r4 2016-12-12 twrp v7 ZIP

    download 7.1.0_r7 patch 2016-12-06 twrp v7 ZIP

    download 7.1.0_r7 2016-11-13 twrp v7 ZIP

    download SuperSU for root access, also install v2.52 afterwards below

    download SuperSU 2.52 install after installing latest version

    download TWRP Recovery

    ADB USB drivers

    ADB Android SDK Tools

    Open Google Apps download (requires new TWRP recovery)

    Hacker's Keyboard Download APK

    Source download links:

    AOSP ROM: download

    Device tree, kernel and vendor source: download

    Tested and working:

    [2017-01-04]
    -kernel security update CVE-2016-5195 (Dirty COW)
    -ROM update

    [2016-12-12]
    -ROM update

    [2016-12-07]
    -disabled zcache and zram to fix freezing

    [2016-11-13]
    -Wifi
    -Bluetooth
    -Pixel Qi toggle
    -USB
    -HDMI

    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
    -Google Calendar
    -Google Movies does not play videos
    -Chrome > version 49
    -some videos do not play in Youtube (keep resolution at 360p or lower)
    -GPS doesn't always lock on

    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 Nougat changes, HDMI, Dex, opengl and kernel optimization fixes

    AOSP ROM developers for providing Android ROM
    Last edited by tenchi; 01-04-2017 at 02:50 PM. Reason: 7.1.1_r12

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

    adrian (11-05-2017), derapao (10-22-2017), fantaze (01-25-2017), mikus (11-15-2016), Trans (11-13-2016)

  3. #2
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Patch on front page to fix freezing issue.

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

    Trans (12-08-2016)

  5. #3
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    7.1.1_r4 now on front page.

  6. The Following 3 Users Say Thank You to tenchi For This Useful Post:

    fantaze (01-25-2017), mikus (12-14-2016), Trans (12-13-2016)

  7. #4
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    7.1.1_r12 now on front page.

  8. The Following 3 Users Say Thank You to tenchi For This Useful Post:

    fantaze (01-25-2017), mikus (01-05-2017), Trans (01-07-2017)

  9. #5
    Regular Trans's Avatar
    Join Date
    Apr 2011
    Location
    Russia, Tomsk
    Posts
    102
    Thanks
    148
    Thanked 3 Times in 3 Posts
    Thank you for your persistent work, tenchi!
    Installed 7.1.1_r12. But have some roughness..
    1. Work sometime very-very sloooow. (I remember - You wrote about it in the first comment - "freezing screen").
    2. A screen frequently not respond. (I remember - You wrote about it in the first comment).
    3. At the start of the tablet really annoying every time to see the notification about an "unsupported SunDisk". What is it for a drive? I have no SunDisk-card. How can I exclude it notification?
    4. And the most important problem - where is a android's soft keys at the bottom? They are not here. Or are not provided on Android 7 soft keys? For example, I really need a button "Home" and a long tap on it to view the recently launched applications to go to one of them (or totally clear the memory of them).
    Last edited by Trans; 01-10-2017 at 07:47 AM.
    Tab.: Adam PQi 3G, tel.: THL W200

  10. #6
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by Trans View Post
    Thank you for your persistent work, tenchi!
    Installed 7.1.1_r12. But have some roughness..
    1. Work sometime very-very sloooow. (I remember - You wrote about it in the first comment - "freezing screen").
    2. A screen frequently not respond. (I remember - You wrote about it in the first comment).
    3. At the start of the tablet really annoying every time to see the notification about an "unsupported SunDisk". What is it for a drive? I have no SunDisk-card. How can I exclude it notification?
    4. And the most important problem - where is a android's soft keys at the bottom? They are not here. Or are not provided on Android 7 soft keys? For example, I really need a button "Home" and a long tap on it to view the recently launched applications to go to one of them (or totally clear the memory of them).
    I noticed with internal or some microsd cards screen can be unresponsive at times, but with my Patriot and A-Data class 10 microsd cards it seems okay for the most part.

    The sandisk card is the internal storage first partition which should be vfat otherwise you get that notification of corrupt card. Sometimes a reformat in android and repartitioning helps get rid of that error (backup before doing that though as all partitions will be erased). Not sure how to get rid of notification though.

    Yes the soft keys are removed since the Adam already has these keys in hardware. To get recents just double tap hardware home button.

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

    Trans (01-10-2017)

  12. #7
    Regular Trans's Avatar
    Join Date
    Apr 2011
    Location
    Russia, Tomsk
    Posts
    102
    Thanks
    148
    Thanked 3 Times in 3 Posts
    The sandisk card is the internal storage first partition which should be vfat otherwise you get that notification of corrupt card.
    I create and format partitions according to your recommendations from the theme "New TWRP Recovery":
    And the final result (for internal install):
    /dev/block/mmcblk0p1 /internal_sd vfat (size - 2000M)
    /dev/block/mmcblk0p2 /system ext4 (size - 1500M)
    /dev/block/mmcblk0p3 /data ext4 (size - all of the remaining space of internal memory)

    TWRP recovery 2.8.7.0 v7.
    Last edited by Trans; 01-10-2017 at 01:31 PM.
    Tab.: Adam PQi 3G, tel.: THL W200

  13. #8
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by Trans View Post
    I create and format partitions according to your recommendations from the theme "New TWRP Recovery":
    And the final result (for internal install):
    /dev/block/mmcblk0p1 /internal_sd vfat (size - 2000M)
    /dev/block/mmcblk0p2 /system ext4 (size - 1500M)
    /dev/block/mmcblk0p3 /data ext4 (size - all of the remaining space of internal memory)

    TWRP recovery 2.8.7.0 v7.
    Yes that should be fine, but android sometimes rejects the partitioning for some reason and a reformat in android may help in this case.

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

    Trans (01-11-2017)

  15. #9
    Regular Trans's Avatar
    Join Date
    Apr 2011
    Location
    Russia, Tomsk
    Posts
    102
    Thanks
    148
    Thanked 3 Times in 3 Posts
    Well, I'll try a reformat and reinstall.
    Tab.: Adam PQi 3G, tel.: THL W200

  16. #10
    Regular Trans's Avatar
    Join Date
    Apr 2011
    Location
    Russia, Tomsk
    Posts
    102
    Thanks
    148
    Thanked 3 Times in 3 Posts
    1. No, I did not get rid of the notification about unsupported SunDisk.
    Formatting inside Android also does not work, for a long time stuck in the 20% treatment, before the closing of the process.
    2. Trying to flash ROM to external SD too failed. I did everything as written in the thread "New TWRP Recovery".
    3. (on the internal memory) Completely flash (ROM + Google Apps) obtained only AOSP ROM Nougat Android 7.1.1. On trying installation Dirty Unicorns ROM Nougat Android 7.1.1 (or Decatf AOSP ROM Nougat Android 7.x) after flashing ROM when attempting to flash the Open Google Apps, it (the Open Google Apps) is believes that the installed firmware Android is the version 5.1.1 (and requires ROM version 7.1.1) and therefore refuses to be install.
    4. AOSP ROM Nougat Android 7.1.1 works very slowly (or rather, a very-very-very slow response to the touching).
    Last edited by Trans; 01-25-2017 at 06:41 PM.
    Tab.: Adam PQi 3G, tel.: THL W200

Page 1 of 2 12 LastLast

Remove Ads

Similar Threads

  1. Replies: 22
    Last Post: 11-15-2016, 01:18 AM
  2. Replies: 106
    Last Post: 10-18-2016, 08:45 PM
  3. Replies: 20
    Last Post: 02-24-2016, 03:19 PM
  4. Replies: 7
    Last Post: 09-22-2015, 02:38 AM
  5. Replies: 37
    Last Post: 07-04-2015, 12:04 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
  •