[ROM] Google Pixel Experience for J320A/J320AZ/J320AG

Search This thread

DamienMc

Senior Member
May 11, 2012
231
135
Today we have the first custom rom for our device... Google Pixel Experience.

Features:
WiFi fix
Flashlight fix
Hotspot fix
Busybox
Init.d
Xposed
Android O fonts and emojis
Pixel boot logo and animation
Pixel launcher
Pixel sounds
Goodlock
Google Assistant
Google dialer
Google contacts
Google messages
Install from unknown sources by default
Various build prop, init.d and csc tweaks
An ugly method used apply a color scheme and preferred status bar layout

Bugs:
Shouldn't be any bugs left

Notes:
Once your up and running swipe right and setup your Google app. And make sure you have a weather card setup so your weather widget works.
This is a little more battery unfriendly than stock, but this phone is so good it's still not bad.

Credits:
@linuxct - Pixel Launcher port
@Pranav Pandey - Pixel Live Wallpaper port
@Setialpha - GoodLock smali edits
@tdunham - TouchWiz mods index (and all devs that contributed)
More to come

To do:
Theme settings menu similar to Pixel
Proper icon overlays
(Might take a while for these)

Install:
Flash with FlashFire, and do complete wipe.
Installer will reboot a few times while it sets everything up, please don't touch the screen until it's fully booted.

Link:
Download

Change log:

8/27 - Changed Pixel launcher to @amirz's launcher
Added auto csc installer
Added proper list view settings
Updated base files to AQG1 (July/2017)
Updated Google apps
7/27 - Updated Pixel launcher to DP4
Updated apps
Fixed Google app detach script (no longer auto updates)
Changed settings back to original category view (temporary till I figure out errors with the list view)
7/16 - Themed remanning apps with round icons
Fixed Xposed permissions (you can install new modules again)
Changed power menu to "americano" style (need to change font color)
7/13 - Downgraded Google app (to enable Assistant)
Added Assistant enabler (Xposed module)
Added my personal wifi to auto connect (enjoy if you're in the neighborhood)
Added ability for a "runonce" script in system root (executes before init.d and automatically deletes itself)
Changed settings to list view (more pixel-like)
Updated apps
Moved dialer fix to init.d (safe to wipe now)
Switched to square notifications (more pixel-like)
6/11 - Fixed Google Camera
Fixed Google Dialer
Activated Google InCallUI
Updated Pixel Launcher
Added Google Contacts
6/4 - Added frp disabler
Added statusbar and recent apps mods
Added round icons
Added live wallpapers
Added Google clock
Updated a few Google Play apps
Updated camera app (still fc)
Removed one bad init.d script
Updated SU binaries
6/2 - Initial release
 

Attachments

  • Screenshot_20170727-210013.png
    Screenshot_20170727-210013.png
    171.6 KB · Views: 10,180
  • Screenshot_20170727-210006.jpg
    Screenshot_20170727-210006.jpg
    181.5 KB · Views: 10,281
  • Screenshot_20170727-210031.jpg
    Screenshot_20170727-210031.jpg
    61.3 KB · Views: 10,035
  • Screenshot_20170727-210243.jpg
    Screenshot_20170727-210243.jpg
    45.6 KB · Views: 9,517
  • Screenshot_20170727-210727.jpg
    Screenshot_20170727-210727.jpg
    56 KB · Views: 9,373
  • Screenshot_20170727-210734.jpg
    Screenshot_20170727-210734.jpg
    83.8 KB · Views: 9,371
Last edited:

DamienMc

Senior Member
May 11, 2012
231
135
I was planning on replying by pm so we could keep the thread on topic, kinda hard after three posts.
All the mods you'd care about are in the systemui.
I'd first try with a stock goodlock, and wipe...it's not compatible with all devices.
 
  • Like
Reactions: denisf1981

DamienMc

Senior Member
May 11, 2012
231
135
How did you fix Activated Google InCallUI?

Sorry for being rude last time, I'm always glad to help.

I added it directly to settings_secure.xml. everyone says it's not a good idea to manually edit it, but I found a nice script inside of gapps so figured what the hell
Code:
#!/system/bin/sh
  # set Google Dialer as default; based on the work of osm0sis @ xda-developers
  setver="122"  # lowest version in MM, tagged at 6.0.0
  setsec="/data/system/users/0/settings_secure.xml"
  if [ -f "$setsec" ]; then
    if grep -q 'dialer_default_application' "$setsec"; then
      if ! grep -q 'dialer_default_application" value="com.google.android.dialer' "$setsec"; then
        curentry="$(grep -o 'dialer_default_application" value=.*$' "$setsec")"
        newentry='dialer_default_application" value="com.google.android.dialer" package="android" />\r'
        sed -i "s;${curentry};${newentry};" "$setsec"
      fi
    else
      max="0"
      for i in $(grep -o 'id=.*$' "$setsec" | cut -d '"' -f 2); do
        test "$i" -gt "$max" && max="$i"
      done
      entry='<setting id="'"$((max + 1))"'" name="dialer_default_application" value="com.google.android.dialer" package="android" />\r'
      sed -i "/<settings version=\"/a\ \ ${entry}" "$setsec"
    fi
  else
    if [ ! -d "/data/system/users/0" ]; then
      install -d "/data/system/users/0"
      chown -R 1000:1000 "/data/system"
      chmod -R 775 "/data/system"
      chmod 700 "/data/system/users/0"
    fi
    { echo -e "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>\r";
    echo -e '<settings version="'$setver'">\r';
    echo -e '  <setting id="1" name="dialer_default_application" value="com.google.android.dialer" package="android" />\r';
    echo -e '</settings>'; } > "$setsec"
  fi
  chown 1000:1000 "$setsec"
  chmod 600 "$setsec"
exit
 
  • Like
Reactions: denisf1981
Wait, it worked on one az but failed on two other az?

It is pretty wild. I have two at&t phones that took and the cricket, worked great. Is there anyway that I could flash the pixel experience with ODIN? Stuck on Google logo, not even getting to the boot animation. Smart wise wont recognize them and I have no way to start some form of recovery process. Have them sitting here in front of me now. They will go to Stock recovery and they will into Odin mode.
I am very familiar with the installation procedures you use.
Phone A- J320eng flashed to AP
kingroot followed by the amazing SuperSu Me Pro
knox disabled, kingroot removed.
Reboot, root verified.
Booted up flashfire by ChainFire(<- the MAN)
Wiped dalvik + the usual. cache part,user data, etc. NOT A DUMMY (this time) didn't re-partition or do any thing silly.
loaded pixXperience. Wiped before install zip.
adb and flashfire succesfull. reboot.
G logo
Phone B- Used new root method instead to avoid the kingroot thing. followed same pix installation method, HOWEVER never got notification to disable KNOX. . . . . G logo
 
Last edited:

DamienMc

Senior Member
May 11, 2012
231
135
You know what firmware they were on?
Recovery work? You try to wipe?
Im sure you waited, but it might take 20 minutes to boot.
If i was you Id go back to stock (aqa1) and try again
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Today we have the first custom rom for our device... Google Pixel Experience.

    Features:
    WiFi fix
    Flashlight fix
    Hotspot fix
    Busybox
    Init.d
    Xposed
    Android O fonts and emojis
    Pixel boot logo and animation
    Pixel launcher
    Pixel sounds
    Goodlock
    Google Assistant
    Google dialer
    Google contacts
    Google messages
    Install from unknown sources by default
    Various build prop, init.d and csc tweaks
    An ugly method used apply a color scheme and preferred status bar layout

    Bugs:
    Shouldn't be any bugs left

    Notes:
    Once your up and running swipe right and setup your Google app. And make sure you have a weather card setup so your weather widget works.
    This is a little more battery unfriendly than stock, but this phone is so good it's still not bad.

    Credits:
    @linuxct - Pixel Launcher port
    @Pranav Pandey - Pixel Live Wallpaper port
    @Setialpha - GoodLock smali edits
    @tdunham - TouchWiz mods index (and all devs that contributed)
    More to come

    To do:
    Theme settings menu similar to Pixel
    Proper icon overlays
    (Might take a while for these)

    Install:
    Flash with FlashFire, and do complete wipe.
    Installer will reboot a few times while it sets everything up, please don't touch the screen until it's fully booted.

    Link:
    Download

    Change log:

    8/27 - Changed Pixel launcher to @amirz's launcher
    Added auto csc installer
    Added proper list view settings
    Updated base files to AQG1 (July/2017)
    Updated Google apps
    7/27 - Updated Pixel launcher to DP4
    Updated apps
    Fixed Google app detach script (no longer auto updates)
    Changed settings back to original category view (temporary till I figure out errors with the list view)
    7/16 - Themed remanning apps with round icons
    Fixed Xposed permissions (you can install new modules again)
    Changed power menu to "americano" style (need to change font color)
    7/13 - Downgraded Google app (to enable Assistant)
    Added Assistant enabler (Xposed module)
    Added my personal wifi to auto connect (enjoy if you're in the neighborhood)
    Added ability for a "runonce" script in system root (executes before init.d and automatically deletes itself)
    Changed settings to list view (more pixel-like)
    Updated apps
    Moved dialer fix to init.d (safe to wipe now)
    Switched to square notifications (more pixel-like)
    6/11 - Fixed Google Camera
    Fixed Google Dialer
    Activated Google InCallUI
    Updated Pixel Launcher
    Added Google Contacts
    6/4 - Added frp disabler
    Added statusbar and recent apps mods
    Added round icons
    Added live wallpapers
    Added Google clock
    Updated a few Google Play apps
    Updated camera app (still fc)
    Removed one bad init.d script
    Updated SU binaries
    6/2 - Initial release
    2
    TWRP for J320A?
    2
    Xposed error. And what version is the Google app you downgraded to? I accidentally let it auto update

    Dang it, looks like I messed up Xposed permissions.
    Clearing Xposed data thru settings will fix it, but you'll have to reenable all modules... And while your in settings just uninstall updates for your Google app ;)


    ...btw I'll post a fixed zip by the end of the weekend.
    2
    New version in op now, shouldn't have any Gmail issues.
    Added Google Assistant (used old Google app and Xposed module)
    Changed the settings to a list view (not pixel like yet)

    It reboots a few times now during install, and it's best to not touch anything until it's fully booted.
    And if you want to keep Google Assistant you need to disable updates for Google app in play store. (Or use the init script from op)

    My only attempt at theming updated Google apps with round icons failed this time, not sure what changed but I'll straighten it out

    [Edit]
    Just noticed that the notifications settings FC ( hope you like the default) :(
    [/Edit]

    FYI I'm unhappy with the sloppiness of this release, but it's been so long I felt the need to push it out to you all in it's current form.

    I'll update the description in the AM


    ...I want to figure out the hotspot issue but haven't had a chance yet. Hopefully next time
    1
    Hello, congratulations on the beautiful work. Could you tell us how you modified the action panel/Quick Settings?

    Samsung's replacement systemui, goodlock.
    And I borrowed some features from this mod