Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,844 Members 50,731 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] [4.1.2] [P31xx] Stock Based ROM Powered by NEXT

Tip us?
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 13th August 2013 at 10:07 AM.)
#1  
Recognized Developer - OP
Thanks Meter 9025
Posts: 3,366
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Tablet [ROM] [4.1.2] [P31xx] Stock Based ROM Powered by NEXT

Just for fun stock based ROM, mainly for my personal use. I takes no responsibility for any damage that may occur from installing or using this ROM.

Features:
  • Based on P3100ZSDMD1, BRI rebranded as XSE
  • Deodexed, zipaligned, and debloated carefully (depend on my personal need)
  • Multilanguage, 68 selectable interface languages, 51 downloadable Samsung keyboard languages (need updated Samsung keyboard)
  • Xposed Tablet UI by default and persistent even after a Factory Data Reset. No Mini Apps "arrow" (using a new easy method, no negative effect to stock video player)
  • Native/hardcoded Tablet UI mode
  • Five "Shiny Balls" wallpapers 'injected' to Wallpaper Chooser, clean Home Screen arrangement (CSC manipulation)
  • Visible Sound Recorder and Task Manager in apps launcher
  • Extra FlipFont fonts from South East Asian ROM
  • AdAway, newer Google core service, Gmail, and Play Store installed as system apps. Hangouts, Keep, Translate, and YouTube as user apps, no bloatware!
  • No-frills CPU Control and Paper Artist (for my kids) as user apps
  • Better Gallery, Smart stay (is it work?), auto-rotate lock screen by Samsung
  • nano, sysrw, sysro since no vi applet in NEXT's busybox
  • Single ROM for all P31xx variant (P311x: almost complete phone remover, proper audio and sensor libraries, proper audio configs, IR LED permission added)
  • Powered by NEXT kernel
    • Busybox, auto root, init.d support, tweaks, etc by NEXT kernel
    • exFAT formatted SD card support by NEXT kernel
    • SD card (in FAT/FAT16/FAT32 or exFAT filesystem) as internal media by NEXT kernel
    • CPU overclock, CPU undervoltage, GPU overclock support by NEXT kernel
    • Newer PowerVR 2D and 3D kernel modules and drivers by NEXT kernel
    • Youtube HD bug free (WiFi transfer buffer underrun cause ducati co-processor hardware accellerated media freeze) by NEXT kernel
    • CPU frequency jumping (jump to maximum availabe frequency, 1.52GHz!) bug free by NEXT kernel but I let it jump in nooc version. USB/WiFi/data transfer + a bad overclocked kernel reproduce this problem
    • Android logger disabled by default by NEXT kernel
    • adbd insecure (including in charge mode) by NEXT kernel
    • Android standard boot animation support by NEXT kernel
    • Ready as a 2nd ROM by NEXT kernel

Changelog (update + update2):
  • Single update in flashable zip for all P31xx family
  • Phone remover only affects P3110 and P3113. P3100 user, don't worry
  • Audio routing update fix P311x mic issue
  • Camera shutter sound menu for all P31xx family
  • Unique extended power menu: recovery and bootloader menu items hidden in lockscreen. Screenshot shortcut as quick lunch button replacement
  • Native/hardcoded Tablet UI mode. Xposed Tablet UI not needed anymore. Xposed Framework layer seems to slow down Android performance, disabled by default
  • Shorter quick setting button, icon only no text at all
  • Hidden quick lunch button, rightmost minimode try icon
  • P3113 owner have to manually rename /system/build.prop-p3113 as /system/build.prop!
  • A big update in ~6.33MB flashable zip!

Changelog (update3):
  • Small fix in power menu description, thanks panda00
  • 2 new wallpapers
  • Minimode tray enabled by default
  • Xposed framework removed completely
  • Dark transparent app drawer, small fix in Indonesian translations, tablet mode enabled
  • iamashwin mic fix to complement the old mic fix, correct sensor binary
  • P311x: using a different default workspace
  • P311x: remove GSM and proximity permission, add IR LED permission

Changelog (update4):
  • Mic fix (again) for all P31xx family
  • Add ro.carrier=wifi-only to P311x build.prop
  • Different bluetooth config for P311x
  • Simplified installer script
  • @Caldair 's notification patch applied
  • Samsung keyboard with downloadable 51 available languages (as separate update, link and md5sum inside attached text file), better predictive text

Downloads:
Installation:
  • Flash using CWM, TWRP, PhilZ Touch in single ROM environtment or PhilZ Touch as 1st or 2nd ROM in dual boot environtment
  • Directly flash NEXT kernel 1.4.1 to disable swap and fix lag issue
  • Directly flash attached P3100ZSDMD1-blackhawk-update4-p31xx.zip, a speed booster - high octane fuel for this ROM
  • Leave your device a few minutes after 1st boot completed. Android takes a few minutes for components and frameworks pre-initialization
  • After setup wizard completed, run Xposed Installer. Tap "Install/Update" to fix Xposed modules permission
  • AdAway and No-frills CPU Control installed but it is your decisions to block ads and/or overclock your device
IMPORTANT NOTICE:
If you have trouble installing this ROM, open META-INF/com/google/android/updater-script (using a text editor with UNIX end of line support, i.e. Notepad++ on Windows) and remove:
Code:
assert(getprop("ro.product.device") == "p3100" || getprop("ro.build.product") == "p3100" || 
       getprop("ro.product.device") == "GT-P3100" || getprop("ro.build.product") == "GT-P3100" || 
       getprop("ro.product.device") == "espressorf" || getprop("ro.build.product") == "espressorf" || 
       getprop("ro.product.device") == "espressorfxx" || getprop("ro.build.product") == "espressorfxx");
or use Luigi2012SM64DS repack version.

Thanks:
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
The Following 69 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 24th June 2013 at 11:42 AM.)
#2  
Recognized Developer - OP
Thanks Meter 9025
Posts: 3,366
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Screenshots:

Default home screen, there is no a mess app shortcut on the home screen, "Shiny Balls" wallpaper:


Default lockscreen, "Transparent Balls" wallpaper, auto-rotate by Samsung:


P3110/P3113 (no phone related stuff, no data network mode, no signal animation), ROM update applied:


NOTE: Quadrant benchmark set: fresh install, 1.2GHz CPU, 384MHz GPU
Attached Thumbnails
Click image for larger version

Name:	homecreen.jpg
Views:	38669
Size:	150.9 KB
ID:	2046923   Click image for larger version

Name:	lockscreen.jpg
Views:	38550
Size:	152.7 KB
ID:	2046924   Click image for larger version

Name:	appsdrawer.jpg
Views:	4569
Size:	164.3 KB
ID:	2046929   Click image for larger version

Name:	appsdrawer2.jpg
Views:	4311
Size:	143.8 KB
ID:	2046930   Click image for larger version

Name:	about.jpg
Views:	4981
Size:	61.2 KB
ID:	2046931  

Click image for larger version

Name:	quadrant.jpg
Views:	5315
Size:	128.2 KB
ID:	2046948   Click image for larger version

Name:	P3110.jpg
Views:	34405
Size:	86.6 KB
ID:	2065532  
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
The Following 31 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 7th July 2013 at 05:22 PM.)
#3  
Recognized Developer - OP
Thanks Meter 9025
Posts: 3,366
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Tips and Tricks:

Recomended prerequisite tools: Android Terminal Emulator, X-plore File Manager.
Set X-plore Configuration:
  • Select Show Hidden files
  • Root access: Superuser + mount writeable
  • Sort by: Name
  1. Keep stock launcher in memory
    Remove stock AccuWeather.com widget from home screen, you can use standard analog/digital clock widget
  2. For better user experience
    Go to Settings - Developer options and set:
    • Window animation scale: 0.5
    • Transition animation scale: 0.5
    • Animator duration scale: 0.5
    • Leave Force GPU rendering selected
  3. Enable 128MB swap in /cache partition (not recommended)
    Open Terminal Emulator and then type:
    Code:
    su
    setprop persist.customboot.swap true
    Reboot your device
  4. Disable 128MB swap in /cache partition
    Open Terminal Emulator and then type:
    Code:
    su
    setprop persist.customboot.swap false
    Reboot your device
  5. Enable external SD card as internal media (internal media as external SD card) <NEXT kernel for stock standard feature>
    Open Terminal Emulator and then type:
    Code:
    su
    setprop persist.customboot.sdcard external
    Reboot your device
  6. Disable external SD card as internal media (internal media as external SD card) <NEXT kernel for stock standard feature>
    Open Terminal Emulator and then type:
    Code:
    su
    setprop persist.customboot.sdcard internal
    Reboot your device
  7. Enable Android logger <NEXT kernel standard feature>
    Open /system/etc/init.d/02modules using X-plore's text editor and change
    Code:
    # Android logger
    # insmod /system/lib/modules/logger.ko
    to
    Code:
    # Android logger
    insmod /system/lib/modules/logger.ko
    Reboot your device
  8. Disable mini apps tray
    Rename /system/etc/permissions/com.sec.feature.minimode_tray.xml to /system/etc/permissions/com.sec.feature.minimode_tray.xml.bak and then reboot your device
  9. In order to watch a video until the battery runs out, stock video player refuse to play any video if battery level less than 2%
    Install 3rd party video player, i.e. MX Player (don't forget to activate H/W+ decoder)
  10. Change Wallpaper Chooser's default wallpapers
    CSC has a simple protection that checks the size of every file by the contents of sqlite database /system/csc/contents.db. After changing a file, you have to change the file size definition in contents.db using a sqlite database editor otherwise your change will not be applied. By using this method, this ROM has its own default wallpaper "injected" to Wallpaper Chooser without editing any apk, default desktop arrangement, languages, etc only based on CSC editing.
  11. Truly Tablet UI
    For truly Tablet UI experience flash attached landscape mode (ro.sf.hwrotation=0) flashable zip. BEWARE: Replace NEXT prohibited!
    Why this landscape mode necessary?
    1. Because I can
    2. To protect this ROM and NEXT relationship
    Camera app inside taken from P5100, hard modified to fix icons and menus orientation. It's hard, Samsung using a different source for P31xx and P51xx target! P51xx version has a lot HDR codes inside but still not found a way to activate it.
  12. If you want to install this ROM on P3110/P3113
    This ROM prepared for P3100 in mind but you can try it on another variant by replacing the updater-script using attached updater-script
  13. How to remove phone related stuff from your P311x device
    Update to P3100ZSDMD1-blackhawk-update2-p31xx.zip (attached at post #1). All apk/jar modification in this ROM attached here as patch set in zip, you can use it to create your own modification for your ROM, proper credit must be given.
Attached Files
File Type: zip P3100ZSDMD1-blackhawk-landscape.zip - [Click for QR Code] (6.77 MB, 281 views)
File Type: txt updater-script.txt - [Click for QR Code] (5.2 KB, 345 views)
File Type: zip blackhawk-ROM-patch.zip - [Click for QR Code] (15.4 KB, 180 views)
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
The Following 11 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
drsiddique5700
Old
#4  
drsiddique5700's Avatar
Senior Member
Thanks Meter 201
Posts: 641
Join Date: Aug 2012
Location: Nanded Maharashtra
can I ask what magic u did in this rom bcoz I found this rom is smoothest of all stock based roms I tried so far huge thanks to u ketut sir.just a question how can I re enable that mini arrow for mini apps?
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 16th June 2013 at 02:33 PM.)
#5  
Recognized Developer - OP
Thanks Meter 9025
Posts: 3,366
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Quote:
Originally Posted by drsiddique5700 View Post
can I ask what magic u did in this rom bcoz I found this rom is smoothest of all stock based roms I tried so far huge thanks to u ketut sir.just a question how can I re enable that mini arrow for mini apps?
No magic but NEXT and Samsung Taiwan/Hongkong R&D

To enable mini apps tray:
- Open /etc/permissions/com.sec.feature.minimode_tray.xml using root capable file browser and editor (X-plore is recommended)
- Change
Code:
<!-- <feature name="com.sec.feature.minimode_tray" /> -->
to
Code:
<feature name="com.sec.feature.minimode_tray" />
- Reboot

EDIT: Based on Quadrant result, this stock based ROM faster than CM 10.1! Both tested after a fresh install, CM as 2nd ROM. CM slower in I/O access but still faster in graphics
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
The Following 5 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
Skazzy3
Old
#6  
Skazzy3's Avatar
Recognized Contributor
Thanks Meter 922
Posts: 2,102
Join Date: Jan 2012
Location: Toronto

 
DONATE TO ME
Since it is stock based somebody should see if my phone remover works. But look out! It might accidently add ripple effect! That is one mistake that I just figured out. Lol.

Sent from my GT-P3113 using Tapatalk HD
http://www.youtube.com/Luigi2012SM64DS

I'm back!
Devices: Samsung Galaxy Tab 2 7.0 - SlimROM - Stock kernel
 
iroshan
Old
#7  
Senior Member
Thanks Meter 63
Posts: 205
Join Date: Jan 2012
Thanks. Gonna download and Try. SSHD 3 is little buggy for me. Thanks Ketut, as always...
 
ketut.kumajaya
Old
#8  
Recognized Developer - OP
Thanks Meter 9025
Posts: 3,366
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Quote:
Originally Posted by Luigi2012SM64DS View Post
Since it is stock based somebody should see if my phone remover works. But look out! It might accidently add ripple effect! That is one mistake that I just figured out. Lol.

Sent from my GT-P3113 using Tapatalk HD
I will try your remover but why it's so big (~30MB)?
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
The Following 2 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
cakdavid
Old
#9  
cakdavid's Avatar
Senior Member
Thanks Meter 64
Posts: 199
Join Date: Apr 2011
Location: Gresik
hi ketut.kumajaya, I am trying many times to install this Blackhawk rom as secondary rom, but no luck. it was aborted.
can you tell me what's wrong with my steps?
1. wipe data/factory reset + cleaning for preapring new rom
2. wipe cache partition
3. wipe dalvik cache
4. install zip
...aborted on this step.

#before, slimbean 4.2.2 build 6.5 installed as secondary rom.
thanks

Sent from my GT-P3100 using xda premium
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1371462018114.jpg
Views:	2769
Size:	34.5 KB
ID:	2049313  
The Following User Says Thank You to cakdavid For This Useful Post: [ Click to Expand ]
 
silentvisitor
Old
#10  
Senior Member
Thanks Meter 513
Posts: 1,266
Join Date: Mar 2012
Hi ketut,
First of all, a big THANK YOU for awesome work on kernel and dual-boot. Because of you I am enjoying Stock Samsung and PA 3.6 together

Seeing your level of expertise I think you could do something with these little requests of mine :
1. Multi-Window (top prioroty)
2. Air-View
3. Motion features like Tap-to-top, etc.

Thank You

The Following 2 Users Say Thank You to silentvisitor For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes