Hi all,
After discovering the terrible mistake I made buying an AT&T S4 with a non-unlockable bootloader, I looked for any way to run an AOSP/GPE rom on this phone with Safestrap. It looks like I've finally gotten it into a decent state for my personal use so I thought I'd share.
The ROM is based on [AOSP] Official 4.4.3 - S4 Google Edition - Final-R2.0 and nearly all of the credit goes to them for making a GPE rom that actually boots with our kernel. The only changes I've made are ripping out the kernel for safestrap, installing a wrapper script for the sdcard binary, and some post_boot init script additions to properly load the WiFi module. For wifi to work, you need your stock kernel's modules installed after the ROM, specifically dhd.ko, to /system/lib/modules.
If you'd like to enable Nexus-style software buttons and disable the hardware capacitive buttons, see this thread for instructions: http://xdaforums.com/showthread.php?t=2032117. You can disable the capacitive button lights with GravityBox.
Warning:
Do NOT take OTA updates with this rom. Doing so could break the rom, or in the worst case trip Knox, which would void your warranty. I'll do my best to update the rom to the latest version as soon as possible.
What works:
Internal/external storage
WiFi (may not come up every boot, a soft reboot usually fixes)
USB debugging
USB internet tethering
Paid apps from Play Store (see workaround below)
Chrome (see workaround below)
Google Earth (remove from /system/app and reinstall from Play store)
IPv6 APN (for compatible carriers such as T-Mobile)
Almost everything else
In progress:
WiFi Tethering (see: http://xdaforums.com/showpost.php?p=54878857&postcount=662)
What doesn't work:
USB MTP (due to kernel differences)
AT&T Install Instructions:
http://xdaforums.com/showthread.php?p=53758259
Verizon Install Instructions:
http://xdaforums.com/galaxy-s4-verizon/general/how-to-install-aosp-s4-google-edition-t2817708
Download:
4.4.3: https://drive.google.com/file/d/0ByCYkZozShp_bXFTdnpYSmxyZHM
4.4.3: https://www.dropbox.com/s/v59aak1j3fz1z35/gpe_443_safestrap.zip?dl=0 (Mirror)
Update:
4.4.4: https://drive.google.com/file/d/0ByCYkZozShp_bE02ZlJRQkgxTWM (requires 4.4.3)
4.4.4: https://www.dropbox.com/s/z57whcu44ypcx93/gpe_444_update.zip?dl=0 (Mirror)
Lollipop/5.0:
The 5.0.0 OTA for the real S4 GPE came out today, so I tried adapting it like the 4.4.4 update. Unfortunately and not surprisingly, it failed to boot. This probably means we need to wait for AT&T's 5.0 TW update to get a compatible kernel to make 5.0 GPE work
FAQ:
WiFi isn't working: Do a soft reset with the GravityBox Power Menu or the Xposed Installer.
USB Transfer not working: Use Airdroid, FTPServer, or adb push/pull.
Paid apps won't install: See workaround below.
Chrome force closes on new tab: See workaround below.
Paid Apps & Chrome Workaround:
Install SELinux Mode Changer and set SELinux to permissive.
After discovering the terrible mistake I made buying an AT&T S4 with a non-unlockable bootloader, I looked for any way to run an AOSP/GPE rom on this phone with Safestrap. It looks like I've finally gotten it into a decent state for my personal use so I thought I'd share.
The ROM is based on [AOSP] Official 4.4.3 - S4 Google Edition - Final-R2.0 and nearly all of the credit goes to them for making a GPE rom that actually boots with our kernel. The only changes I've made are ripping out the kernel for safestrap, installing a wrapper script for the sdcard binary, and some post_boot init script additions to properly load the WiFi module. For wifi to work, you need your stock kernel's modules installed after the ROM, specifically dhd.ko, to /system/lib/modules.
If you'd like to enable Nexus-style software buttons and disable the hardware capacitive buttons, see this thread for instructions: http://xdaforums.com/showthread.php?t=2032117. You can disable the capacitive button lights with GravityBox.
Warning:
Do NOT take OTA updates with this rom. Doing so could break the rom, or in the worst case trip Knox, which would void your warranty. I'll do my best to update the rom to the latest version as soon as possible.
What works:
Internal/external storage
WiFi (may not come up every boot, a soft reboot usually fixes)
USB debugging
USB internet tethering
Paid apps from Play Store (see workaround below)
Chrome (see workaround below)
Google Earth (remove from /system/app and reinstall from Play store)
IPv6 APN (for compatible carriers such as T-Mobile)
Almost everything else
In progress:
WiFi Tethering (see: http://xdaforums.com/showpost.php?p=54878857&postcount=662)
What doesn't work:
USB MTP (due to kernel differences)
AT&T Install Instructions:
http://xdaforums.com/showthread.php?p=53758259
Verizon Install Instructions:
http://xdaforums.com/galaxy-s4-verizon/general/how-to-install-aosp-s4-google-edition-t2817708
Download:
4.4.3: https://drive.google.com/file/d/0ByCYkZozShp_bXFTdnpYSmxyZHM
4.4.3: https://www.dropbox.com/s/v59aak1j3fz1z35/gpe_443_safestrap.zip?dl=0 (Mirror)
Update:
4.4.4: https://drive.google.com/file/d/0ByCYkZozShp_bE02ZlJRQkgxTWM (requires 4.4.3)
4.4.4: https://www.dropbox.com/s/z57whcu44ypcx93/gpe_444_update.zip?dl=0 (Mirror)
Lollipop/5.0:
The 5.0.0 OTA for the real S4 GPE came out today, so I tried adapting it like the 4.4.4 update. Unfortunately and not surprisingly, it failed to boot. This probably means we need to wait for AT&T's 5.0 TW update to get a compatible kernel to make 5.0 GPE work
FAQ:
WiFi isn't working: Do a soft reset with the GravityBox Power Menu or the Xposed Installer.
USB Transfer not working: Use Airdroid, FTPServer, or adb push/pull.
Paid apps won't install: See workaround below.
Chrome force closes on new tab: See workaround below.
Paid Apps & Chrome Workaround:
Install SELinux Mode Changer and set SELinux to permissive.
Last edited: