[ROM][Unofficial][AOSP] Android 7.1.2 Nougat

Search This thread

decatf

Senior Member
Dec 27, 2011
649
2,675
Android Open Source Project 7.1
Nougat

for
Samsung Galaxy Tab 10.1
(p4wifi / GT-P7510)
(p4 / GT-P7500)
(p4tmo / SGH-T859)



Customizations:
  • busybox
  • init.d scripts
  • stagefright ffmpeg codecs

Kernel features:
  • CPU overclock (1.2Ghz - 1.6Ghz)
  • CPU voltage control
  • CPU temperature readings
  • GPU overclock (400Mhz)
  • L2 cache optimization
  • F2FS
  • SELinux
  • Voodoo Sound
  • USB Charging
  • Updated WIFI driver
  • ZRAM backports
  • sdcardfs


Working:
  • Video
  • Audio
  • Wifi
  • 3G / Cellular
    - Insert a sim card before power on
  • GPS
  • Bluetooth
    - Audio playback: working
    - File transfer: working
  • Sensors
  • Encryption

Not working / Known issues:
  • Camera
    - Photos: Working, flash not working
    - Video recording: 720p not working

Incompatible/unsupported apps:
Many app developers do not support this device anymore. For these apps you have three options:
  1. Use previous versions of the app which were compatible with this device.
    (APKMirror.com hosts many previous versions of apps.)
  2. Try the incompatible app anyways. It may run under NEON emulation. Emulation is very slow. The ideal way is to use previous versions of the app which are compatible with this device.
  3. Contact the app developer and ask them to maintain support for Tegra 2 devices.

Installation:
  1. Backup all data
  2. Install TWRP 3.0
  3. Wipe cache, dalvik cache, system, data
  4. Install the ROM
  5. Optional steps:
    - Install gapps pico
    - Install phh Superuser
  6. Boot the ROM
  7. Enable on screen keyboard by toggling "Show input method"
Installation issues:
- If it freezes when installing the ROM then use TWRP 2.8.7.0.​

Downloads:

Change log:
Code:
20171005
 - NEON emulation fixes
 - Revert to stock sqlite

20170914
 - BlueBorne patches
 - System WebView 61.0.3163.81

20170807
 - Update to android-7.1.2_r28
 - System WebView 60.0.3112.78
 - Update to sqlite 3.19.0

20170506
 - Update to android-7.1.2_r8
 - System WebView 58.0.3029.83
 - NEON emulation speed improvements

20170422
 - Optimize hwui properties
 - Limit dex2oat threads
 - Fix NEON emulation bug
 - System WebView 57.0.2987.132
 - Add back Browser app

20170415
 - Update to android-7.1.2_r2
 - Fix SystemUpdateService wakelock
 - Disable search bar option for Launcher3
 - Better GPS locking

20170320
- NEON emulation

20170307
 - Update to android-7.1.1_r24
 - Substratum theme engine
 - Signature Spoofing
 - kernel fixes

20170214
 - Update to android-7.1.1_r15
 - Update system webview to 56.0

20170118
 - Update to android-7.1.1_r12
 - Fix hwcomposer
 - Update sqlite
 - Remove Music app / Add Apollo app
 - Widevine support

20161229
 - Add WallpaperPicker app
 - Fix glitchy wallpapers
 - Enable productivity mode for file browser
 - Enable lightweight doze
 - Update F2FS

Donate:

XDA:DevDB Information
Android 7.1.2 Nougat, ROM for the Samsung Galaxy Tab 10.1

Contributors
decatf
Source Code: https://github.com/decatf

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.1.x
Based On: AOSP

Version Information
Status: Alpha

Created 2016-09-30
Last Updated 2017-10-05
 

Attachments

  • eVm4Vv6.png
    eVm4Vv6.png
    39.1 KB · Views: 436,601
  • eezWGSz.png
    eezWGSz.png
    230.8 KB · Views: 434,131
Last edited:

decatf

Senior Member
Dec 27, 2011
649
2,675
Nougat Tips:

Enable USB file transfer:
  1. screencap.png
  2. screencap1.png

Built-in file manager:
  • Settings > Storage > Explore
SystemUI Tuner / Navigation Bar Tuner:
  1. Pull down notification shade
  2. Long press settings gear
Split screen:
  • Long press Overview button
Switch to last app:
  • Double tap Overview button

Stock Browser app crash when downloading files
- Settings > Apps > Browser > Permissions > Enable Storage permission​

Chromium browser for Tegra 2 devices
Last known non-NEON versions of Google apps:

When using previous versions of apps, disable auto updates:
kxsfWEc.jpg
 
Last edited:

decatf

Senior Member
Dec 27, 2011
649
2,675
Error reporting guide:

Saying "it doesn't work" is not helpful. I cannot see what your problem is from here.
Save and upload the system logs from your device so that I can see what happening on your device.

How to save system logs:
  1. Root the device.
  2. Install SysLog.
  3. Reboot the system.
  4. Reproduce the problem.
  5. Open Syslog app and save the Kernel Log and Main Log.
  6. Send me the log files stored in /sdcard/Syslog.
    Share the files on Google Drive or another similar service.
    Then PM me a link to the files. Please describe exactly what the issue is.
 
Last edited:

mistersixt

Senior Member
Jun 17, 2011
467
217
Hi decatf,

first of all *thanks a lot* for bringing Android 7 to our device, this is brilliant! Quick question: any specific reason that you suggest phh's SuperUser instead of Chainfires SuperSU?

Kind regards,

mistersixt.
 

mistersixt

Senior Member
Jun 17, 2011
467
217
Ok, looks pretty promising already, the steps I did:

- Ran Titanium Backup for all user apps
- Rebooted into TWRP 3.0.0.0
- Full wipe
- Installed aosp-7.0-p4-20160929.zip
- Installed todays OpenGapps (pico)
- Installed phh's SuperSu
- Reboot
- TitaniumBackup first did not get root access
- Installed phh's App from Play Store
- Reboot
- Titanium Backup does get root access now

So far it feels smooth, no errors or force closes... I am pretty impressed :) . I will test the SIM card this evening as I don't have a spare one with me right now.

Thanks again decatf!!!!

Kind regards, mistersixt.
 

jacky03

Senior Member
Aug 9, 2016
274
90
Suzhou
Good

Sent from my Alps U685Q using XDA Labs

---------- Post added at 10:04 AM ---------- Previous post was at 09:56 AM ----------

Oh, so fast:cowboy:

Sent from my Alps U685Q using XDA Labs
 

mistersixt

Senior Member
Jun 17, 2011
467
217
Ok, first small issue: I cannot get AdAway adjusting the hosts file, when trying to flash the AdAway systemless package in recovery it fails with error 4 or something (although I don't know whether the systemless is necessary here), and when running the AdAway App itself it fails with:

Code:
...
09-30 11:21:15.916  2081  2081 E linker  : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:15.916  2081  2081 W linker  : Warning: unable to normalize "null"
09-30 11:21:15.917  2079  2079 D su      : sending code 
09-30 11:21:15.950  2083  2083 E linker  : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:15.950  2083  2083 W linker  : Warning: unable to normalize "null"
09-30 11:21:16.014  2082  2082 D su      : child exited 
09-30 11:21:16.017  2083  2083 D su      : client exited 0 
09-30 11:21:16.036  2081  2081 D su      : starting daemon client 10079 10079 
09-30 11:21:16.067  2086  2086 E linker  : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:16.067  2086  2086 W linker  : Warning: unable to normalize "null"
09-30 11:21:16.130  2086  2086 D su      : connecting client 2080 
09-30 11:21:16.171  2005  2005 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
09-30 11:21:16.173  2087  2087 D su      : remote pid: 2080 
09-30 11:21:16.222  2089  2089 D su      : remote pts_slave:  
09-30 11:21:16.276  2090  2090 D su      : remote uid: 10079 
09-30 11:21:16.336  2091  2091 D su      : remote req pid: 1420 
09-30 11:21:16.399  2092  2092 D su      : remote args: 1 
09-30 11:21:16.466  2096  2096 D su      : su invoked. 
09-30 11:21:16.486  2094  2094 D su      : waiting for child exit 
09-30 11:21:16.503  2097  2097 W su      : hacks: Testing (com.keramidas.TitaniumBackup:0:10064) 
09-30 11:21:16.552  2098  2098 D su      : db allowed 
09-30 11:21:16.617  2099  2099 W su      : hacks: Testing (com.keramidas.TitaniumBackup:10079), 44451 
09-30 11:21:16.652  2039  2039 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-30 11:21:16.658  2039  2039 D AndroidRuntime: CheckJNI is OFF
09-30 11:21:16.709  2101  2101 D su      : 10079 /sbin/su executing 0 /system/bin/sh using binary /system/bin/sh : sh 
09-30 11:21:16.839  2039  2039 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
09-30 11:21:16.911  2039  2039 W art     : Failed to stat, will retry: /data/dalvik-cache/arm/system@framework@am.jar@classes.dex.flock: No such file or directory
09-30 11:21:16.977  2005  2005 E memtrack: Couldn't load memtrack module (No such file or directory)
09-30 11:21:16.977  2005  2005 E android.os.Debug: failed to load memtrack module: -2
09-30 11:21:16.979  2005  2005 I Radio-JNI: register_android_hardware_Radio DONE
09-30 11:21:17.007  2039  2039 E memtrack: Couldn't load memtrack module (No such file or directory)
09-30 11:21:17.007  2039  2039 E android.os.Debug: failed to load memtrack module: -2
09-30 11:21:17.010  2039  2039 I Radio-JNI: register_android_hardware_Radio DONE
09-30 11:21:17.013  1420  1774 E AdAway  : Exception: 
09-30 11:21:17.013  1420  1774 E AdAway  : org.adaway.util.CommandException
09-30 11:21:17.013  1420  1774 E AdAway  :      at org.adaway.util.ApplyUtils.copyHostsFile(ApplyUtils.java:186)
09-30 11:21:17.013  1420  1774 E AdAway  :      at org.adaway.service.ApplyService.apply(ApplyService.java:427)
09-30 11:21:17.013  1420  1774 E AdAway  :      at org.adaway.service.ApplyService.doWakefulWork(ApplyService.java:102)
09-30 11:21:17.013  1420  1774 E AdAway  :      at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:100)
09-30 11:21:17.013  1420  1774 E AdAway  :      at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
09-30 11:21:17.013  1420  1774 E AdAway  :      at android.os.Handler.dispatchMessage(Handler.java:102)
09-30 11:21:17.013  1420  1774 E AdAway  :      at android.os.Looper.loop(Looper.java:154)
09-30 11:21:17.013  1420  1774 E AdAway  :      at android.os.HandlerThread.run(HandlerThread.java:61)
09-30 11:21:17.095  2117  2117 D su      : sending code 
09-30 11:21:17.105  2119  2119 E linker  : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:17.105  2119  2119 W linker  : Warning: unable to normalize "null"
09-30 11:21:17.121  2119  2119 D su      : client exited 0 
09-30 11:21:17.134  2118  2118 D su      : child exited

Regards, mistersixt
 

decatf

Senior Member
Dec 27, 2011
649
2,675
Hi decatf,

first of all *thanks a lot* for bringing Android 7 to our device, this is brilliant! Quick question: any specific reason that you suggest phh's SuperUser instead of Chainfires SuperSU?

Kind regards,

mistersixt.

SuperSU doesn't work anymore on this device. Chainfire sold it to CCMT. Some shadowy mysterious group. So who knows what kind of support it will receive from here on out.

phh Superuser works. It seems that some apps can't detect it right. It's the only option that works right now.

To use Adaway you need to mount /system as read/write.
Code:
mount -o rw,remount /system
Install hosts file.
Set /system back to read-only.
Code:
mount -o ro,remount /system
 

mistersixt

Senior Member
Jun 17, 2011
467
217
To use Adaway you need to mount /system as read/write.
Code:
mount -o rw,remount /system
Install hosts file.
[/CODE]

Thanks a lot, that did the trick.

One more thing: I cannot overclock the CPU, although Kernel Adiutor is showing a max frequency of 1400 Mhz for example the CPU is stuck with a max frequency of 1000 Mhz, and here and there I see messages like:

Code:
E P3 PowerHAL: Error opening /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied
.

Regards, mistersixt.
 
  • Like
Reactions: olimar7184

decatf

Senior Member
Dec 27, 2011
649
2,675
Thanks a lot, that did the trick.

One more thing: I cannot overclock the CPU, although Kernel Adiutor is showing a max frequency of 1400 Mhz for example the CPU is stuck with a max frequency of 1000 Mhz, and here and there I see messages like:

Code:
E P3 PowerHAL: Error opening /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied
.

Regards, mistersixt.

It works for me.

Kernel Adiutor sets the permissons on that to read-only for some reason. The default in Android is r/w (0660). So it ends up preventing everything else from using that sysfs file unless they also change the permissions before writing it. This breaks the default behavior. Kind of strange.

Code:
# logcat -s "Control"
09-30 11:25:43.201  2965  3172 I Control : chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.206  2965  3174 I Control : echo '1400000' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.252  2965  3175 I Control : chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.285  2965  3177 I Control : chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.289  2965  3179 I Control : echo '1400000' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.320  2965  3180 I Control : chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.328  2965  3182 I Control : saved /sys/devices/system/cpu/cpu%d/cpufreq/scaling_max_freq0
 
Last edited:
  • Like
Reactions: olimar7184

jacky03

Senior Member
Aug 9, 2016
274
90
Suzhou
f2c3352551c78548d93e6759f21c46db.jpg
4b8255423269a8a154d732c38799b01b.jpg
26a215f6dbcb60684effbebea488e47e.jpg
d23ae9a2245bb002a9d56447104d0031.jpg


Hello,decatf.Can you send me some apps supported AndroidN[emoji12]

通过我的 GT-P7510 上的 Tapatalk发言
 

Top Liked Posts

  • There are no posts matching your filters.
  • 148
    Android Open Source Project 7.1
    Nougat

    for
    Samsung Galaxy Tab 10.1
    (p4wifi / GT-P7510)
    (p4 / GT-P7500)
    (p4tmo / SGH-T859)



    Customizations:
    • busybox
    • init.d scripts
    • stagefright ffmpeg codecs

    Kernel features:
    • CPU overclock (1.2Ghz - 1.6Ghz)
    • CPU voltage control
    • CPU temperature readings
    • GPU overclock (400Mhz)
    • L2 cache optimization
    • F2FS
    • SELinux
    • Voodoo Sound
    • USB Charging
    • Updated WIFI driver
    • ZRAM backports
    • sdcardfs


    Working:
    • Video
    • Audio
    • Wifi
    • 3G / Cellular
      - Insert a sim card before power on
    • GPS
    • Bluetooth
      - Audio playback: working
      - File transfer: working
    • Sensors
    • Encryption

    Not working / Known issues:
    • Camera
      - Photos: Working, flash not working
      - Video recording: 720p not working

    Incompatible/unsupported apps:
    Many app developers do not support this device anymore. For these apps you have three options:
    1. Use previous versions of the app which were compatible with this device.
      (APKMirror.com hosts many previous versions of apps.)
    2. Try the incompatible app anyways. It may run under NEON emulation. Emulation is very slow. The ideal way is to use previous versions of the app which are compatible with this device.
    3. Contact the app developer and ask them to maintain support for Tegra 2 devices.

    Installation:
    1. Backup all data
    2. Install TWRP 3.0
    3. Wipe cache, dalvik cache, system, data
    4. Install the ROM
    5. Optional steps:
      - Install gapps pico
      - Install phh Superuser
    6. Boot the ROM
    7. Enable on screen keyboard by toggling "Show input method"
    Installation issues:
    - If it freezes when installing the ROM then use TWRP 2.8.7.0.​

    Downloads:

    Change log:
    Code:
    20171005
     - NEON emulation fixes
     - Revert to stock sqlite
    
    20170914
     - BlueBorne patches
     - System WebView 61.0.3163.81
    
    20170807
     - Update to android-7.1.2_r28
     - System WebView 60.0.3112.78
     - Update to sqlite 3.19.0
    
    20170506
     - Update to android-7.1.2_r8
     - System WebView 58.0.3029.83
     - NEON emulation speed improvements
    
    20170422
     - Optimize hwui properties
     - Limit dex2oat threads
     - Fix NEON emulation bug
     - System WebView 57.0.2987.132
     - Add back Browser app
    
    20170415
     - Update to android-7.1.2_r2
     - Fix SystemUpdateService wakelock
     - Disable search bar option for Launcher3
     - Better GPS locking
    
    20170320
    - NEON emulation
    
    20170307
     - Update to android-7.1.1_r24
     - Substratum theme engine
     - Signature Spoofing
     - kernel fixes
    
    20170214
     - Update to android-7.1.1_r15
     - Update system webview to 56.0
    
    20170118
     - Update to android-7.1.1_r12
     - Fix hwcomposer
     - Update sqlite
     - Remove Music app / Add Apollo app
     - Widevine support
    
    20161229
     - Add WallpaperPicker app
     - Fix glitchy wallpapers
     - Enable productivity mode for file browser
     - Enable lightweight doze
     - Update F2FS

    Donate:

    XDA:DevDB Information
    Android 7.1.2 Nougat, ROM for the Samsung Galaxy Tab 10.1

    Contributors
    decatf
    Source Code: https://github.com/decatf

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.1.x
    Based On: AOSP

    Version Information
    Status: Alpha

    Created 2016-09-30
    Last Updated 2017-10-05
    46
    Nougat Tips:

    Enable USB file transfer:
    1. screencap.png
    2. screencap1.png

    Built-in file manager:
    • Settings > Storage > Explore
    SystemUI Tuner / Navigation Bar Tuner:
    1. Pull down notification shade
    2. Long press settings gear
    Split screen:
    • Long press Overview button
    Switch to last app:
    • Double tap Overview button

    Stock Browser app crash when downloading files
    - Settings > Apps > Browser > Permissions > Enable Storage permission​

    Chromium browser for Tegra 2 devices
    Last known non-NEON versions of Google apps:

    When using previous versions of apps, disable auto updates:
    kxsfWEc.jpg
    36
    Good news. @mainlane has sent me a P7500. So this ROM is not dead yet.

    I will post a 7.1.2 ROM soon.
    27
    Build 20170320: The End

    My tablet is dead. This is the final release from me. So long and thanks everybody.

    Changes:
    Code:
     - NEON emulation

    This build enables NEON emulation. It is very slow but some apps do not use much NEON code so these such apps are mostly useable. Apps that rely heavily on NEON code are too slow to be useable.

    Emulation is CPU and battery intensive so use it sparingly. I suggest you stick with previous versions of apps that do not use NEON unless there is some feature you desperately need.

    In case you didn't know yet, Google Play Services 10.5 beta seems to running without any NEON code so I highly suggest you install that too. There's a link in the second post of this thread.
    22
    I will release an Oreo ROM but it only works on newer kernels which need to be tested first.

    See this thread for more:
    https://xdaforums.com/galaxy-tab-10-1/development/dev-kernel-3-18-galaxy-tab-10-1-t3688948