[ROM][AOSP] S4 Google Edition [SafeStrap] - AT&T Samsung Galaxy S 4 Android Development

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://forum.xda-developers.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://forum.xda-developers.com/showpost.php?p=54878857&postcount=662)
What doesn't work:
USB MTP (due to kernel differences)
AT&T Install Instructions:
http://forum.xda-developers.com/showthread.php?p=53758259
Verizon Install Instructions:
http://forum.xda-developers.com/gal...ow-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.

Thanks

jmsq said:
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.2 - S4 Google Edition - Final-R1.2 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.
What works:
Internal/external storage
WiFi
Almost everything else
What doesn't work:
Chrome
USB MTP (debugging does work though)
Some apps fail to install from the Play store
I apologize that this is in the wrong category but I don't post often so I can't post to the dev section.
Download:
https://drive.google.com/file/d/0ByCYkZozShp_cXA2dW1naGtsR2s
Click to expand...
Click to collapse
You know more than I do. Is it really AOSP because devs here say it's imposible to flash any rom besides TW based roms on our phones due to the boot loader issue.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app

netomel said:
You know more than I do. Is it really AOSP because devs here say it's imposible to flash any rom besides TW based roms on our phones due to the boot loader issue.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's been known that GPE ROMs will boot on our stock kernel. It just never entirely worked right, with no Wi-Fi and USB and other issues. While on MF3 you could boot one, on MK2 you couldn't run 4.3 GPE however, and certain 4.4.2 GPE has "worked" with those issues. This is because they are built with a kernel close to stock. So basically, GPE's are an exception but require extra development that nobody really wanted to take on until now apparently.
Sent from my SGH-I337 running Light ROM

Really cool! it boots great on my safestrap Verizon s4!! @jmsq can you rebuild latest verizon GE to make it works with safestrap? from this thread http://forum.xda-developers.com/showthread.php?t=2643031 or another AOSP rom? Thanks for your work
Edit: after first reboot wifi doesn't works

Boots us fine. Working well so far.

Thr33-F0ur said:
Boots us fine. Working well so far.
Click to expand...
Click to collapse
so does your wifi works after a reboot?

Penz89 said:
so does your wifi works after a reboot?
Click to expand...
Click to collapse
I just tried to flash SuperSU to get root, and wifi was broken, so I guess the reboot did it.

Does this already have root, or should I flash SuperSU while I'm flashing this? Any issues with dirty flashing or should I do a nandroid backup and wipe?
Also, for anyone having WiFi issues, probably try flashing this: NC1 wifi modules. No idea on any fixes for MTP, which is unfortunate as I use MTP a lot

Rhymey said:
Does this already have root, or should I flash SuperSU while I'm flashing this? Any issues with dirty flashing or should I do a nandroid backup and wipe?
Also, for anyone having WiFi issues, probably try flashing this: NC1 wifi modules. No idea on any fixes for MTP, which is unfortunate as I use MTP a lot
Click to expand...
Click to collapse
You have to flash SuperSU. I haven't tried a dirty flash since I was coming from 4.3.

Can we somehow get theme engine?
Sent from my SCH-I545 using Tapatalk

Posting to confirm that dirty flashing gives two errors - android.process.media FC and android.*.acore FC. Everything else seemed to work except for those. Flashed, but went back to PurifieD until stuff gets fixed up, primarily MTP. Good work so far though. I'd like to note I always had to flash the NC1 modules I posted earlier.

I've tested this and am very impressed..besides Eclipse this is the closest thing to ASOP experience S4 SS users will experience. Chrome doesn't work and there are a few other minor bugs,but those are small issues. Hopefully this will open up more development for ASOP and SS.
Great work! This should be added to the AT&T MK2 and NB1 thread

kevinco1 said:
I've tested this and am very impressed..besides Eclipse this is the closest thing to ASOP experience S4 SS users will experience. Chrome doesn't work and there are a few other minor bugs,but those are small issues. Hopefully this will open up more development for ASOP and SS.
Great work! This should be added to the AT&T MK2 and NB1 thread
Click to expand...
Click to collapse
What other minor bugs, or is it just stuff in the OP? I'm going to [attempt] to bring this to a functional bugless version, so knowing what you found would be helpful

Rhymey said:
What other minor bugs, or is it just stuff in the OP? I'm going to [attempt] to bring this to a functional bugless version, so knowing what you found would be helpful
Click to expand...
Click to collapse
I'm on cricket (at&t phone though) and the apns close the first one or two reboots but eventually work. I never got wifi to work but am going to try the nc1 modules out and see how they work. I noticed that the stock browser isn't in the rom? I'm not sure but I think it's only paid apps that aren't downloading. Gonna reflash shortly and find out.

Asadullah said:
I'm on cricket (at&t phone though) and the apns close the first one or two reboots but eventually work. I never got wifi to work but am going to try the nc1 modules out and see how they work. I noticed that the stock browser isn't in the rom? I'm not sure but I think it's only paid apps that aren't downloading. Gonna reflash shortly and find out.
Click to expand...
Click to collapse
Did you flash a cricket APN after? If not I'd assume that's why it was closing. I also read in the original ROM post if you're experiencing data drops to try flashing the 4.3 modem instead of the 4.4 one. Gonna have to test it out.

Rhymey said:
Did you flash a cricket APN after? If not I'd assume that's why it was closing. I also read in the original ROM post if you're experiencing data drops to try flashing the 4.3 modem instead of the 4.4 one. Gonna have to test it out.
Click to expand...
Click to collapse
I just reflashed I was able to get the apn settings to work it was just having to reboot before hand. I'll give the 4.3 modem a shot a little later to see if that helps
On another note
I came from nb1 bootloader, rom etc flashing the nc1 modules didn't work for me (as expected but no link to nb1 modules).
Also if anyone wants to install the stock browser just delete browser proxy.apk and chrome from /system/app and push the aosp browser to /system/app give it read/write/execute permissions and reboot you'll be good to go.
EDIT:
I have wifi working just by copying dhd.ko and scsi_wait_scan.ko from /system/lib/modules from a stock nb1 rom to my sdcard and then copy them back to /system/lib/modules of the aosp rom
Google play definitely doesn't download paid apps. I think there may be a build.prop fix for this gonna see if I can find
also here is aio wireless apn settings
Code:
Name: Internet
APN: ndo
Proxy: Not Set
Port: Not Set
Username: Not Set
Password: Not Set
Server: Not Set
MMSC: http://mmsc.aiowireless.net
MMS Proxy: proxy.aiowireless.net
MMS Port: 80
MCC: 310
MNC: 150
Authentication type: Not Set
APN type: default,mms,fota,hipri,supl

vibration?
I flashed the ROM and I'm from nb1 too but on reboot the phone just vibrates every 2 seconds for a long time with a black screen and never boots to android, it's doing it while I'm writing this, what's going on? I can still access SS.

issam1979 said:
I flashed the rom and i'm from nb1 too but on reboot the phone just vibrates every 2 seconds for a long time with a black screen and never boots to android, it's doing now while i'm writing this, what's going on? I can still access SS.
Click to expand...
Click to collapse
Did you wipe before hand?

Asadullah said:
Did you wipe before hand?
Click to expand...
Click to collapse
yes full wipe except the sdcard. what modules did you flash it with?

Related

[REF][GUIDE] The Noob Helper - basic info about your sgs3 and flashing

Basic concepts, how-to'sThis thread is a work in progress. If you would like to contribute information or have ideas for what should be added please PM me.
Disclaimer "just because i am trying to be helpful does not make me responsible for anything that you do to your phone. playing with any of this stuff could destroy your phone"
I am not a dev, but I have been flashing on Samsung phones since the international S2 came out. I also spend a ton of time reading the forums and researching what I don't know. I would like to give back to the community in some way and I hope that this post can help the noobs not brick their devices, as well as keep them from being overly annoying to the members and developers here by posting in the wrong places and asking dumb questions.
Some basic rules if you are a noob and don't want to turn your phone into a brick.
1. be patient. don't be the first or even the tenth person to flash anything. wait until you see others using whatever Rom or kernel with success.
2. If you have any doubts about what you are doing, read more. don't flash.
3. make sure you are in the forum for your device, not some similar or related device.
Some basic rules for these forums
1. If you have a question, the first thing to do is look it up yourself. that means searching the forums first, then searching Google.
2. If after searching you can't find an answer, then post in the q&a forum
3. don't report bugs unless you are using an intact version of whatever Rom, if you have changed kernels, installed a ton of apps etc it probably isn't a bug, it's a bad combo or its you.
4. don't report bugs unless you are 150% sure that no one has reported it yet.
5. if you report a bug, make sure you can duplicate it first, then get a logcat of the problem so you can help (see below for logcat info)
Why flash?
by flashing your device you can make your phone act differently, look different, and enable new or disabled options. you could ,for example:
enable native tethering
enable call recording
change the look of your phone
add custom toggle buttons
overclock or undervolt
increase battery life
etc..
Kernel vs Rom vs Recovery vs Modem
Kernel is the layer between the phone hardware and the rom. it controls things like Wi-Fi power, touch sensitivity, possible range of screen brightness, phone logging, and processor max and min speed. kernel must be designed not only for your device but also for the type of rom you are using (Sammy rom or Aosp) some kernels support all roms, others are specific.
Rom is the operating system of your phone. there are three main categories of roms.
roms that are based off of the Samsung stock rom (Sammy rom)
roms that are based off of Android open source project aka AOSP (AOSP, AOKP)
roms based off of the miui project (these used to be a branch of AOSP but recently they have also used Sammy base for miui)
recovery is a partition that you can access at boot by holding down a combination of keys. (volume up and home button in the case of our sgs3) every phone has recovery stock but it doesn't do much. you can replace stock with clockwork mod recovery which is extremely useful for flashing all kinds of things and making backups before you do. There are other alternative recoveries besides clockwork but that seems to be the most common. TWRP is also gaining popularity these days, especially on the sgs3. You can easily switch between recoveries and or upgrade your current recovery. All that needs to happen is for a new image to be flashed onto the recovery partition. See the rooting guide for more info on how to flash a custom recovery.
modem is a file that controls the cell radio of the phone. helps determine what frequencies to use and settings for a particular network. It is important when flashing a radio that you flash a radio that is for the AT&T sgs3 as flashing the radio from another carrier has been known to cause problems with the IMEI
Methods for flashing files - Odin vs mobile Odin vs. clockworkmod(cwm) vs adb
Odin is the internal Samsung tool for flashing. I believe it only exists on Windows platform. This tool is mostly used to initially flash an insecure kernel or rooted kernel, OR to return to completely stock rom. This tool can effect your flash counter (see below). Files for flashing in odin generally should end in .tar or .tar.md5 although sometimes they come zipped and the tar is inside the zip. Read more about Odin before using it as it can easily break your phone. !!!as a general rule make sure you never check the "partition" checkbox EVER!!!
Mobile Odin is a phone based version of Odin made by the very talented developer Chainfire. It can be installed on a rooted phone and used to flash the same .tar based files as the desktop version. Mobile odin has a few advantages. 1 you can use it from your phone. 2 it does NOT effect the flash counter on your phone, 3 it can auto root a stock rom (nice if you want to try out a brand new update that has not been rooted yet)
clockworkmod(cwm) is recovery based tool that can make backups of your entire phone, flash new roms, kernels etc.., and do many other useful tasks. Once you have this on your phone my guess is that most of your flashing will be done through this tool. The files for flashing through clockworkmod are .zip files. Clockworkmod will NOT effect your flash counter.
ADB is the android develpment bridge. It allows for command line interface with your phone through it's debugging options. ADB can do most anything as I understand it. In my several years of flashing I have only had to use it once, and i could have waited for someone to come up with another solution. In general as a noob i recommend you stay away from ADB.
open source vs Samsung based roms vs miui
Open Source Roms such as AOSP/AOKP are built using Google's open source android code as a base. The developers then add functionality specific to the device. The advantages of these builds are that they often have tons of options built in to the rom that change the behavior and look of the phone. They usually allow you to change the toggles in your notification pull down, change the battery display, make all kinds of adjustments to sounds, vibration etc... Some people also prefer the "vanilla" android look and feel. These roms often provide "bleeding edge" concepts, design, and modifications. The Disadvantages of these roms is that some of the hardware coding is done closed source by the phone manufacturers, which means that things like bluetooth, camera, video recording, and MHL video out often don't work or take much longer to get working by the developers. Basically anything that relies on the Samsung framework will not work in an open source build. This means Svoice, Snote, and the Samsung camera app will not work.
Samsung based roms are taken from the Samsung original phone software and modified by the developer. Usually, these roms are modified in order to be faster and to make changes to some of the features. Expect to see changes to the stock rom like: debloated (ATT and samsung software removed), de-odexed (explained later), enable tethering, unlimited sms recipients, added notification toggles, etc. Most of these changes are made to: make the phone faster, improve battery life, make the phone easier to theme. The advantage of these roms is that they still use the Samsung framework so all the proprietary stuff like camera, bluetooth, MHL still work, the disadvantage is that they will never be as customisable as open source roms.
MIUI is a rom that focuses on theming. Official MIUI (Chinese) gets updated weekly on Friday and then there are lots of miui developers who adapt it to other languanges and make some tweaks to it. MIUI can be built from AOSP source or Samsung source and depending will have different features. The first MIUI rom for our phone just appeared in these forums and it is based off of AOSP. MIUI has a unique look and is also highly customizable through theming. There are tons of themes available for download through the rom itself and you can mix and match any part of any theme you want. This includes icons, lockscreen style, etc.. Some people criticize while others praise MIUI for being very "iphone like". This is because the icons look more iphone like and there is no app drawer in the MIUI launcher. However, you can still use any launcher you like within MIUI.
odexed vs de-odexed
odexed is how the phone comes stock from Samsung. Odexed means that system files and apps are split into two pieces and kept in different places on the phone. This is done to speed things up a bit. However, it makes it harder to theme the phone because the apps are split up. Most custom roms choose to de-odex (basically regroup the files back into one) so that custom themers can make themes more easily for the phone.
download mode and recovery mode how to access
(Copied from mskip and his toolkit thread here: http://forum.xda-developers.com/showthread.php?t=1746665)
How to get into Download Mode (For Odin)
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME DOWN' buttons and press the 'POWER' button for about 2 seconds until a WARNING! Screen appears. Press the 'VOLUME UP' button to enter Download Mode.
How to get into Recovery Mode
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME UP' buttons and press the 'POWER' button for about 5 seconds to enter Recovery Mode.
STEP BY STEP how to flash your phone for the first time
A. get root
first off, you need to gain access to the root of your phone. there are several ways to do this (thanks to all the talented devs).
I recommend using mrRobinson's method as it will not trip the flash counter on your phone.
1. you will need to have odin from here http://forum.xda-developers.com/showthread.php?t=1722686 remember to hit the thanks button, download and install odin.​
2. Kies (on Windows, not on your phone), Samsung's sync program, can interfere with Odin. Either make sure Kies is closed and close it out of background processes using the task manager in windows...or better yet, uninstall it completely.​3. make sure you have the proper samsung drivers installed. you can get the USB drivers directly from Samsung here: http://www.samsung.com/us/support/owners/product/SGH-I747MBBATT​
4. you need to download the right image from mrRobinson's thread. to find out which one hit the menu key from your home screen, select system settings, select about phone at the bottom, and look for the build. it should be either UCALEM or UCALG1. Once you know, go to mrRobinson's thread here http://forum.xda-developers.com/showthread.php?t=1739426 download the matching image, and dont forget to thank him.​
STEPS 5-7 COPIED FROM mrRobinson's THREAD
5. Extract the .tar file from the .7z file you just downloaded from the thread in step 4​6. Put your phone into download mode (see how above)​
7. Start Odin, connect your phone to your PC, you should see the box under ID:COM change color to show your device is connected. click on PDA and select the .tar file you just extracted. Hit the start button and wait for the file to flash to your phone. When done your phone will reboot automatically. One word of warning about Odin: DO NOT TOUCH THE CHECKBOXES!!! WHATEVER YOU DO>>DONT TOUCH THE RE-PARTITION CHECKBOX!!!!​B. installing clockworkmod
the next step is to get a working clockworkmod recovery on your phone instead of the default recovery. Again, there are many ways to do this and there are several different versions of CWM recovery available. I recommend using the one from Rom Manager as it seems to be compatible with most roms. Note that currently most versions of CWM can only see your internal SD card and not your external if you have one.
1. Go to the Google play store and download Rom Manager (https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd)​2. Open Rom Manager app, flash clockworkmod recovery (first option), choose the appropriate phone..in this case galaxy s3 att, grant it superuser privileges, it should say install successful. ​NOTE: some users have reported not seeing the S3 ATT in the list of devices in Rom Manager...this is a bug and hopefully will be fixed. It may be that you need the purchased version instead of the free version for it to work? Not sure why this is but if it gives you trouble there are other ways to flash a recovery image. The next easiest way once rooted is to use the tool in this thread: http://forum.xda-developers.com/showthread.php?t=1746665 from there you can flash both cwm or twrp whichever you prefer. Alternatively you could also use goo manager to flash TWRP link to goo here: https://play.google.com/store/apps/details?id=com.s0up.goomanager&hl=en
C. Test out your new recovery and make a backup of your phone
1. turn your phone off, then turn it back on while holding the Volume UP and home key. (more detailed instructions above) You should see Clockworkmod Recovery at the top.​2. Use your volume keys to navigate to the backup option and select backup, then wait for it to complete. You now have a backup of your phone you can restore to at any time.​
D. downloading and flashing a new rom
now its time to decide what rom to flash. when choosing a rom read the first post of the thread (the OP) carefully and take time to read through most if not all of the thread. At the very least go read the last 10 pages of the thread so you are familiar with any current issues people may be having. Once you have picked a rom:
1. Download the rom you want to try​2. Make sure that the rom ends up on your internal SD card and that you know where it is​3. Get into CWM recovery​4. As a general rule it's a good idea to wipe data/ factory reset from CWM recovery (this will wipe all your data on the phone except any photos/videos you may have taken)​5. It is also good practice to wipe cache from CWM recovery​6. Lastly, from the advanced menu in CWM choose to wipe Dalvik cache​7. now go back out to the main recovery screen and choose "install .zip from SD Card" option and navigate to your rom, select it and confirm​note that a new rom may take longer to boot the first time.
Flashing "dirty" vs flashing "clean"
Clean
Doing a clean install of a rom means erasing or formatting all the data from the previous rom before you flash the new one. This is the prefered way to flash a rom to ensure that it will run smoothly. It is necessary if you are switching from one rom type to another (CM to Samsung base). In order to do a clean flash you need to boot into recovery and select the following options: wipe user data (this wipes all apps and personal data, but not your photos/videos), wipe cache, advanced>wipe dalvik cache, storage/mounts>format system. This will ensure that no trace of the former rom is left on the phone. Beware that at this point your phone will not boot until you install a new rom. I suggest using titanium backup to backup apps and smsbackup+ for texts to make getting your new rom configured easy.
Dirty
Doing a dirty install means just flashing a new rom right over the top of the old one without wiping any data. The advantage to this is that you don't lose any apps or account info. The disadvantage is that you open up the possibility for problems. Generally you only want to flash this way if you are upgrading a rom (CM10 nightly to the next nightly, or from one samsung based rom to another). If you decide to flash over the top and have any issues, you should not report bugs, but try flashing clean first.
backing up IMEI
There have been some issues with people losing their imei number when flashing roms. *It appears to be limited to the old imei software version 2 but the evidence is not yet conclusive. *If you lose your imei, you will not be able to connect properly to the data network. *Luckily some devs have figured out how to re-inject an imei number into our phone and get it working again. *It is certainly a good idea to back up your imei info before flashing just to be on the safe side. *There seems to be two main threads dealing with backing up and restoring your imei. *you can check them out here:
http://forum.xda-developers.com/showthread.php?t=1801997
http://forum.xda-developers.com/showthread.php?t=1804117
huge thanks go out to these devs for figuring this out!! as always make sure you thank them.
I have yet to try either of these methods out myself so if one seems much easier or clearer please let me know.
tethering (for stock Samsung based rom)
you can use a mod to enable wifi tethering from your phone to up to ten other devices and share your data connection. If you are running a custom rom you probably already have this enabled and don't need it. It is already included in any AOSP roms also.
Make sure that you use the version of the mod that is for your software version number (UCLEM or UCLG1 see beginning of rooting guide to figure out which one you are on).
The original mod for UCLEM is here: http://forum.xda-developers.com/showthread.php?t=1732262
The mod for UCLG1 is here: http://forum.xda-developers.com/showthread.php?t=1768826
The Flash Counter
The flash counter is an internal counter that ticks every time you install a non-samsung firmware through Odin. This allows Samsung or AT&T to see if the phone has been flashed with custom roms. custom recoveries such as Clockworkmod and TWRP as well as the mobile version of Odin DO NOT change the counter. Only flashing non-Samsung files through the desktop version of Odin does. You can see your flash counter when you enter download mode on your phone. Luckily, Chainfire has developed an app that allows this counter to be reset, so there is really little concern anymore about having the counter trip. If you do need to send your phone in for repairs, you will want to reset the counter and then flash an unmodified stock rom through odin to get your phone back to factory state.
Link to Chainfire's app through this post here: http://forum.xda-developers.com/showthread.php?t=1800878
Logcat
Logcat is a way to access the android system log for everything that is going on behind the scenes. This tool is used to help developers pinpoint problems in a rom. If you want to actually be helpful to a dev when reporting a bug, you should really learn to use this tool. I am no expert on logcat but you can find some good information in this post: http://forum.xda-developers.com/showthread.php?t=1726238
APN settings
This is the apn that comes on stock at&t phone. It allows you to connect to LTE as well as hspa+
Name: ATT PTA
APN: pta
MMSC: http://mmsc.mobile.att.net
MMS Proxy: proxy.mobile.att.net
MMS port: 80
MCC: 310
MNC: 410
Auth: none
APN type: default,mms,supl,hipri
NOTES BELOW ARE COMING SECTIONS. Feel free to pm me questions you would like to see answered or suggestions for other info:
theming
unlocking sim
returning to stock
What info is stored in each area: system, data, cache etc...
Looks good.
Stuck
FNM
I now know more about Android OS! Thanks for the info.
Good thread! In your step by step guide I suggest you add installing adb and adb basics. IMO, this is essential for anyone flashing, has bailed me out of trouble on more than one occasion.
Sent from my SGH-I747M using XDA Premium HD app
MORE ! MORE ! Very nice work thanks, this is shedding some lights on the terms we see floating around
excellent information, much appreciated, so what is de-odexed and odexed? thanks again!!
I got my s3 when it first shipped, and soft bricked it a month later. Even if you do everything right, it can still mess up. So waiting for a USB jig to come in the mail since my homebrew jig didnt work or I hard bricked my phone... Be warned...
Very helpful thread, thanks a lot!
Thanks for this guide!! Very helpful. Coming from a very different phone, everything about the S3 is foreign to me! Could you maybe talk about backing up nv stuff and imei?? I know there's another thread that explains it, but, this being the noob helper, I think it'd be good for anyone new to this phone.
Thanks
Thank you for making this! I'm sure this will help a lot of people out. I've flashed quite a few times and having a guide like this is definitely helpful.
I sure hope I had this guide when I flashed for the first time a few days ago, but at the time you only had part 1 done and the guide had not been completed yet. Glad to see it finished and it'll definitely help out others.
mods
Thanks for all the invaluable info on flashing ROMs. I've been a BB user for years so Android is still new to me. I'm looking into rooting and trying out some custom roms, but I had a question. When it comes to Mods can you just add those individually?
I want to use Team Sonic's FreeGS3 Rom mainly due to it's Sony Bravia engine Mod and the Awesome Beats Mod (or at least when they get it working on apps other than Google Music). However, they don't have a fully supported Rom for AT&T just yet.
Trying to have the best of both worlds....I may just need to try out something else and wait for the full ATT version.
This is a great thread you've created OP. However, I'm a tad confused. You mention in the guide that Kies interferes with Odin and you say to close and close it out of the backround, but you also mention "better yet, uninstall it completely." One of the reasons I'm rooting my new phone is to be able to delete this bloatware. Are you implying this is possible without first rooting the phone?
Thanks a lot in advance, this is very helpful.
jroyjohnson said:
Thanks for all the invaluable info on flashing ROMs. I've been a BB user for years so Android is still new to me. I'm looking into rooting and trying out some custom roms, but I had a question. When it comes to Mods can you just add those individually?
I want to use Team Sonic's FreeGS3 Rom mainly due to it's Sony Bravia engine Mod and the Awesome Beats Mod (or at least when they get it working on apps other than Google Music). However, they don't have a fully supported Rom for AT&T just yet.
Trying to have the best of both worlds....I may just need to try out something else and wait for the full ATT version.
Click to expand...
Click to collapse
I would wait to flash any ROM that isn't specifically for your device. However you may be able to flash the mods you want like the bravia mod on top of an att ROM. You need to find the original post for the mods you want, and do some research to see what they require and if anyone has used them successfully. Be extra careful of mods written for the international version of the phone.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
omi__ said:
This is a great thread you've created OP. However, I'm a tad confused. You mention in the guide that Kies interferes with Odin and you say to close and close it out of the backround, but you also mention "better yet, uninstall it completely." One of the reasons I'm rooting my new phone is to be able to delete this bloatware. Are you implying this is possible without first rooting the phone?
Thanks a lot in advance, this is very helpful.
Click to expand...
Click to collapse
I can see why you are confused. I am referring to kies on your windows PC. (If you installed it at some point) Not the version that runs on the phone.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
OP, are you sure you can install CWM through ROM Manager after rooting? I remember trying to do this on my SGS2 last year and my phone soft bricked. Tried it twice, and still soft bricked.
Why not just use Robinson's method?
ComradeNF said:
OP, are you sure you can install CWM through ROM Manager after rooting? I remember trying to do this on my SGS2 last year and my phone soft bricked. Tried it twice, and still soft bricked.
Why not just use Robinson's method?
Click to expand...
Click to collapse
I tested it out myself and it works fine. I figured this was the easiest way to get it done and not have to get adb up and running. Also, the official cwm is supported by all the new roms like cm10 and some other recoveries have had issues flashing those roms.
Thanks for putting this together! Very Helpful!
One question, you say flash CWM , first in list choose Galaxy S3 ATT, when i open Rom Manager and choose Flash i don't have the S3 for a choice ?I have Galaxy Note, Skyrocket and T-Mobile Galaxy S2, no S3....
Cholerabob said:
One question, you say flash CWM , first in list choose Galaxy S3 ATT, when i open Rom Manager and choose Flash i don't have the S3 for a choice ?I have Galaxy Note, Skyrocket and T-Mobile Galaxy S2, no S3....
Click to expand...
Click to collapse
Try scrolling down the list
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

CM11 Discussion Here. [Links/Download/Info/Discussion/More]

Please discuss all CM11 related items here until we get official nighties / another thread from shellnut. Here I will link what we have so far.
******Backup EFS partitions using recovery/freegee!******
---------------
You need the latest clockworkmod recovery. Use Flashify from the Play store to flash. Be sure to READ the installation instructions.
---------------
Download Area. Do NOT forget to read installation instructions:
Clockworkmod Recovery Image (Go to page 4): Clockworkmod Latest Recovery! Click Me!
Flashify: Flashify Play Store Link. Click me!
Downloads (Unofficial from Shellnutt2): Shellnutt2 Unofficial CM11. Click me!
New Official updates; download.cyanogenmod.org
choose LS970
Gapps (Choose CM11): CM 11 Gapps. Click Me!
-----------------------------------------
Working:
Phone Calls
SMS/MMS
Camera (Autofocus Too!) (Camera is only 8 Megapixels though.)
UI
Pretty much everything
Bugs known so far: WiFi is hit or miss. Some people has it working, some do not.
Extra info:
To install, Do the normal.
1. Place Rom/Right Gapps on internal storage
2. Download recovery from link.
3. Use Flashify to flash the new recovery
4. Be sure to backup everything important to you.
5. Did you backup? Good.
6. Backup EFS partitions using recovery/freegee!
7. Wipe normal as you would. Be sure to not wipe internal storage. Wiping system may or may not help.
8. Install rom/gapps
9. Profit. Have fun!
MikeEx Posted:
Shellnut2 has said that we are slated to go for nighties when they officially start.
If your WiFi is giving you "Association rejected" please hop on IRC and get some logcats to Shellnut2
Server: irc.freenode.net
Channel: #lg-optimus-g
Click to expand...
Click to collapse
Also, how to use ART
MikeEx Posted (Couldn't quote or it wouldn't show red on XDA app):
Remove your phone from any case and place in front of a fan where the top front and back receive air flow.
The phone will get extremely hot (80*C+) if left uncooled while ART compiles everything. This could be a total brick hazard.
Having around 200 apps could take well over 10 minutes.
ART will recompile every time you flash a new nightly.
-----------------------
Disclaimer!
No on here takes responsibilty for anything YOU do to YOUR phone. You can not blame us for anything that happens.
---------------------------
All credit here go to its respective Builders/Complilers/Owners. I am merely providing links until official support is given.
Do I have to use CWM to flash this? Has anybody used flashify on our phone? How's Wi-Fi? I'm full of Qs but I'm dying to run a 4.4 that isn't from mako sources.
HdMsTrTeCh said:
Do I have to use CWM to flash this? Has anybody used flashify on our phone? How's Wi-Fi? I'm full of Qs but I'm dying to run a 4.4 that isn't from mako sources.
Click to expand...
Click to collapse
Use CWM, I believe there's an updated version that someone built (it's in the cwm recovery thread towards the last couple pages). Flashify works on LGOG as that's what I used to flash the cwm touch img file. Wifi works on my end. I flashed the 11/30 build and then dirty flashed 12/03 build.
I realize this is probably buggy but is it worth the switch from 10.2 to use as a dd? What if I want to go back? All my backups are TWRP
Use online nandroid backup to make a CWM backup without CWM
Here: https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
Sent from my Bangin' LS970 on who knows what ROM
HdMsTrTeCh said:
Do I have to use CWM to flash this? Has anybody used flashify on our phone? How's Wi-Fi? I'm full of Qs but I'm dying to run a 4.4 that isn't from mako sources.
Click to expand...
Click to collapse
WiFi is hit or miss for certain people. You must use clockworkmod recovery. I will add links to op here in a min. I use flashify and it worked just fine.
-Whiplashh
"I think a ducks opinion of me is heavily influenced by whether I have bread or not."
Shellnut2 has said that we are slated to go for nighties when they officially start.
If your WiFi is giving you "Association rejected" please hop on IRC and get some logcats to Shellnut2
Server: irc.freenode.net
Channel: #lg-optimus-g
Links up. Thread cleaned up. Have fun.
jblazea50 said:
Use CWM, I believe there's an updated version that someone built (it's in the cwm recovery thread towards the last couple pages). Flashify works on LGOG as that's what I used to flash the cwm touch img file. Wifi works on my end. I flashed the 11/30 build and then dirty flashed 12/03 build.
Click to expand...
Click to collapse
Linked recovery in OP
-Whiplashh
"I think a ducks opinion of me is heavily influenced by whether I have bread or not."
Whiplashh said:
.
Click to expand...
Click to collapse
Hey add a warning to OP for using ART. Red bold letters. something like:
Remove your phone from any case and place in front of a fan where the top front and back receive air flow.
The phone will get extremely hot (80*C+) if left uncooled while ART compiles everything. This could be a total brick hazard.
Having around 200 apps could take well over 10 minutes.
ART will recompile every time you flash a new nightly.
Wifi works fine for me at home but at work it will not connect.
Sent from my LG-LS970 using Tapatalk
Basically everything worked for me except video recording and playback. Try recording a video in snapchat and see what happens.
That said, the camera works better than on the other 4.4 ROMs. No autofocus issues and no weird coloration issues, no capture rate issues either.
MikeEx said:
Hey add a warning to OP for using ART. Red bold letters. something like:
Remove your phone from any case and place in front of a fan where the top front and back receive air flow.
The phone will get extremely hot (80*C+) if left uncooled while ART compiles everything. This could be a total brick hazard.
Having around 200 apps could take well over 10 minutes.
ART will recompile every time you flash a new nightly.
Click to expand...
Click to collapse
Added it. Will add red letters tomorrow.
-Whiplashh
"I think a ducks opinion of me is heavily influenced by whether I have bread or not."
Fresh bacon up!
Sent from my LG-LS970 using Tapatalk
---------- Post added at 10:29 AM ---------- Previous post was at 09:34 AM ----------
Still can't connect to my work wifi after a dirty flash. Going to try clean here in a minute. Strange though how I can connect to some routers but not others.... They are both WPA security
Sent from my LG-LS970 using Tapatalk
Ran the 12/3 build all night last night - dirty flashed up from the latest 10.2 build just for kicks.
Initial boot the OS was just crawling (likely dirty flash issue) - 2nd boot brought everything back to life and been fine since.
Not running ART just yet - need to verify and trim down my 200 app list lol (plus I don't want to lose Xposed just yet)
3G/4G both work great
Wifi worked fine at 3 different locations
GPS worked great
Auto Focus of course works fine
USB Tether works (woot!) and no long kills my phones USB connection when un-tethering (double woot!)
BT worked fine
NFC Works
Audio book played without any audio distortions/glitches (issue in another KK rom)
Google Nav/Maps is still using the wrong voice - an issue I had in the 10.2 build which may have carried over due to dirty flashing. The other KK rom I use uses the correct voice.
Using the PA Gapps Mini-Mod package
Had to reset my battery meter setting since the 10.2 option doesn't exist (yet) in 11 - had me confused for a bit since I had >no< battery meter lol
Aside from having to use CWM, this is pretty dang slick so far.
has the updater been implemented? The one really cool thing I liked about CM
What is ART? Is it optional?
Here's the CWM -6.0.4.5.zip file for the LS970, Uploaded by shellnut
http://www.4shared.com/zip/jULzGS4j/cwm-6045-ls970.html
Here's the stock LG Optimus G camera zip (For AOSP/CM)
http://www.4shared.com/zip/6UeG0pi_/CamCM1018030.html
MMS zip
http://www.4shared.com/zip/ZMj_Eds5/Mms.html
Everything works great, even auto focus.
Today is my birthday, and I flashed my 12/5 birthday build, I couldn't be happier
MikeEx said:
Hey add a warning to OP for using ART. Red bold letters. something like:
Remove your phone from any case and place in front of a fan where the top front and back receive air flow.
The phone will get extremely hot (80*C+) if left uncooled while ART compiles everything. This could be a total brick hazard.
Having around 200 apps could take well over 10 minutes.
ART will recompile every time you flash a new nightly.
Click to expand...
Click to collapse
i've never had these issues myself, but i can see why they would arise. i think a warning or piece of advice should be mentioned stating that if someone plans on using ART, they should enable it immediately upon rom installation, before other apps are installed. that way, optimization isn't as tedious of a process
Derp

[Q] newbie

Hi,
I'm a newbie to these forums, & overwhelmed at all the great information.
I have been looking around on how to root my SPH-L900. I have never updated it, bc previous phones were easier to root without updates. Could someone be kind enough to direct me to the correct thread on how to root an non-updated Note 2? I don't want to do anything extensive, mainly rooting so I can do a few things, like wifi hotspot, & maybe titanium backup.
sbooher said:
Hi,
I'm a newbie to these forums, & overwhelmed at all the great information.
I have been looking around on how to root my SPH-L900. I have never updated it, bc previous phones were easier to root without updates. Could someone be kind enough to direct me to the correct thread on how to root an non-updated Note 2? I don't want to do anything extensive, mainly rooting so I can do a few things, like wifi hotspot, & maybe titanium backup.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1956180
Try this out. The one I used when I first got my Note 2 running 4.1.2
ianmb said:
http://forum.xda-developers.com/showthread.php?t=1956180
Try this out. The one I used when I first got my Note 2 running 4.1.2
Click to expand...
Click to collapse
Thank you. Whatever I did seemed to work. :victory: SuperSU is there now. Now I am off to look for how to get a wifi tether app.
sbooher said:
Thank you. Whatever I did seemed to work. :victory: SuperSU is there now. Now I am off to look for how to get a wifi tether app.
Click to expand...
Click to collapse
What firmware are you on? 4.1.2,4.3,4.4.2?
4.1.1 Never once updated, bc I knew I'd eventually root. (Previous phones were harder to root when updated.)
I have wifi tether now (working), & titanium backup (which is running now). When that finishes, can I update my phone? I'm tired of getting the "newer updates available" message flashing up. And I'm curious about what has been updated.
sbooher said:
4.1.1 Never once updated, bc I knew I'd eventually root. (Previous phones were harder to root when updated.)
I have wifi tether now (working), & titanium backup (which is running now). When that finishes, can I update my phone? I'm tired of getting the "newer updates available" message flashing up. And I'm curious about what has been updated.
Click to expand...
Click to collapse
You can get the latest update here
http://forum.xda-developers.com/showthread.php?p=53353625
However, you have a very good possibility of losing everything that you done so far.
You kinda did things backwards (imho). I would've taken the ota then flashed a custom recovery then flashed root. But, I think it's definitely worth it to flash to ne2 stock, then root. Before you do that though, check to make sure you can find a working Wi-Fi tether for ne2 (never bothered with putting it on my wife's ne2,so not sure if/where you could get it)
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
I"m told there is a working wifi hotspot mod specifically for NE2. I haven't used it, so I cannot verify that's the case.
I personally use WiFi Tether Router. It's not free, but it does work on NE2. In my experience with it, there is a bug that when the display goes off, the phone uses some kind of power save function, and this causes the phone not to wake up. The tethering works fine, but nothing else. Unfortunately, it's inconsistent when it occurs, and when it does, it can take a minute to wake to needed to do a battery pull. It does occur more often when having multiple applications running such as streaming radio. It's a known issue by the developer.
Personally,unless that really some features you need or want, I would stay on Android 4.1.1 or 4.1.2 if you're going stay on the TouchWiz stock. There are custom kernels you can use, such as Persues. If you're going to go AOSP, then it doesn't matter. You should know any quirks ahead of time, such is if there is a GPS lock issue; this seems to be a popular one.
lovekeiiy said:
I"m told there is a working wifi hotspot mod specifically for NE2. I haven't used it, so I cannot verify that's the case.
I personally use WiFi Tether Router. It's not free, but it does work on NE2. In my experience with it, there is a bug that when the display goes off, the phone uses some kind of power save function, and this causes the phone not to wake up. The tethering works fine, but nothing else. Unfortunately, it's inconsistent when it occurs, and when it does, it can take a minute to wake to needed to do a battery pull. It does occur more often when having multiple applications running such as streaming radio. It's a known issue by the developer.
Personally,unless that really some features you need or want, I would stay on Android 4.1.1 or 4.1.2 if you're going stay on the TouchWiz stock. There are custom kernels you can use, such as Persues. If you're going to go AOSP, then it doesn't matter. You should know any quirks ahead of time, such is if there is a GPS lock issue; this seems to be a popular one.
Click to expand...
Click to collapse
I can confirm that the WiFi mod works. Ive use it a few shirt times. It runs fine.
Sent from my SPH-L900 using XDA Free mobile app
g_money said:
You can get the latest update here
http://forum.xda-developers.com/showthread.php?p=53353625
However, you have a very good possibility of losing everything that you done so far.
You kinda did things backwards (imho). I would've taken the ota then flashed a custom recovery then flashed root. But, I think it's definitely worth it to flash to ne2 stock, then root. Before you do that though, check to make sure you can find a working Wi-Fi tether for ne2 (never bothered with putting it on my wife's ne2,so not sure if/where you could get it)
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
If you flash one of my modified NE2 roms (or chaz's) you dont need to upgrade anything. Just install philz recvery (6.07.9 recommend) backup everything then do factory reset/clean for new rom. Then under mounts format data/media (make sure you backup internal sdcard to your pc since this wipes it) reboot into recovery and flash the rom following steps in the OP. The custom NE2 roms are pre rooted so no need to worry about that step. Also in the ne2 hotspot mod thread there are flashable zips for most of the custom ne2 roms.
Sent from my SPH-L900 using XDA Premium 4 mobile app

[Q] Looking for some assistance

I have a Samsung S3 L710 on Virgin Mobile.
I've been running a Kitkat ROM; Conquest Singularity; for a very long time and wanted a change. I wanted to try out a ROM running Lollipop.
This is were my issues have started.
I updated to the latest TeamWin recovery and so far have clean flashed 3 different ROMS.
1 ROM the PAC ROM did not stay on the phone long at all because it was having trouble staying connected to my wifi. Wasn't on long enough to see if it has the same problem as the other ROMs listed below.
The other 2 ROMs I've tried, Liquid Smooth and currently on the phone OctOS. Both these ROMs will I think randomly reboot. (I'll get to "randomly" part in a bit.)
One thing I've done that I know is not recommended, is using TiB to replace data on a new flash. My question here is, if you have information in some apps that can not be saved in anyway way, how would one do this without using TiB?
Now onto the random reboots. I know most happened when I was playing Ingress on both ROMs. Ingress uses a lot of resources and being on for a while gets the phone pretty warm. Not sure if it's overheating the phone causing it to be unstable or what.
I have not adjusted any kernel CPU settings on any ROM that I've installed. Everything is left stock. Not sure if the developer has the settings overclocked from an install and maybe this is making the phone unstable.
Basically I'm frustrated to why I seem to be the only person getting reboots, and I know that from what is written no one will have any ideas why. I'm just venting. Now that I've been playing with LP ROMs the past few days, I'd like to keep one on the phone working properly.
Lollipop roms are still buggy since they aren't made for our device. Have you tried the cm official or aicp roms? You will never have the stability as touchwiz on this phone. They have made a ton of improvement of them though.
With titanium backup, you shouldn't backup and restore app/data to system apps. That's when things get strange. Most non-system apps should be fine.
You could always take a logcat if the reboot has in the exact same spot. That would help the devs out
lvpre said:
Lollipop roms are still buggy since they aren't made for our device. Have you tried the cm official or aicp roms? You will never have the stability as touchwiz on this phone. They have made a ton of improvement of them though.
With titanium backup, you shouldn't backup and restore app/data to system apps. That's when things get strange. Most non-system apps should be fine.
You could always take a logcat if the reboot has in the exact same spot. That would help the devs out
Click to expand...
Click to collapse
Well that might explain it.
Haven't tried CM yet because most the ROM's required TWRP recovery and CM takes a different one.
I tried flashing AICP, but the Gapps didn't flash. Said wrong ROM or something. I only had the one Gapps on my internal storage so I flashed the OctOS instead. Just downloaded the Gapps listed on the AICP page. May try flashing that one now. Just so sick of reinstalling all my apps..... :silly:
As for TiB. I'm good then. I never do any system apps. I must have misunderstood about that. Been a long time since I've flashed anything.
Here's how I flashed aicp on my phone, using the modified TWRP that's made specially for Virgin/boost d2spr made by Lrs121. 1. Flash the latest aicp nightly. 2. Flash latest banks gapps: http://fitsnugly.euroskank.com/?rom=banks&device=gapps. 3. Flash APN fix: http://androidforums.com/threads/vi...rgin-mobile-apn-fix-wip-cm-aosp-4-4-x.840298/ 4. Boot into ROM, and reboot into recovery as soon as it boots up. 5. Reflash the ROM and gapps (but don't wipe anything this time).
That should get you up and running, with LTE and the APNs configured properly.
Thanks all for the help.
Been running the 7/3 build for a few days now without any problems. May flash the 7/7 ver 10 build very soon.
Powered_By_Linux
I tried the APN fix on a Kitkat ROM some time ago and did not help. Found 8SMS messenger with the added line fix and was able to get my MMS messages then. May try the APN fix in the order that you suggested and see if I can go back to the Handscent messenger. I like that app better the 8SMS but was not able to get MMS messages.
One last question for anyone willing to answer. Any easy way to update the PRL?
Didn't see anything when snooping around the system menus.
Found this link for easy PRL updates; http://forum.xda-developers.com/showthread.php?p=25470797#post25470797 on ASOP Roms, but not sure if AICP is a ASOP ROM as it doesn't seem to work. I can get the script widgets on my homescreen, but nothing happens when I click on them, other then some kind of error message.
elgecko said:
One last question for anyone willing to answer. Any easy way to update the PRL?
Didn't see anything when snooping around the system menus.
Found this link for easy PRL updates; http://forum.xda-developers.com/showthread.php?p=25470797#post25470797 on ASOP Roms, but not sure if AICP is a ASOP ROM as it doesn't seem to work. I can get the script widgets on my homescreen, but nothing happens when I click on them, other then some kind of error message.
Click to expand...
Click to collapse
Make a backup of AICP. Then you'll have to flash back to a TouchWiz ROM, update PRL, then flash the AICP backup you made. Your updated PRL will stick.
You can also use a PRL from the PRL thread.
http://forum.xda-developers.com/showthread.php?p=35576100
Flash a ROM like Wicked X or Tribute (you don't need your MSL). Download the PRL you want from the many listed in the thread, extract from zip, rename the PRL "TEST.prl" (without quotes), place on your internal SD, open your dialer and press ##DATA# to enter the hidden menu, tap View, scroll down to PRL Write, tap, and select. Your phone will reboot and you'll have yourself the PRL of your choosing.
Some people have good results from using these PRLs while others do not. Personally, I'm on Boost and have been running Sprint PRLs for years lol.
Hope this helps :thumbup:
EDIT......
NOTE- REMEMBER TO FACTORY RESET, WIPE CACHE, DALVIK CACHE, AND WIPE YOUR INTERNAL SD BEFORE RESTORING YOUR AICP BACKUP AFTER EITHER DOING A PRL UPDATE OR FLASHING THE ONE OF YOUR CHOOSING.
Sent from my SPH-L710 using Xparent Purple Tapatalk 2

[ROM] [N910PVPU4COG5] [100% Stock, Root, Odexed&Deodexed, No KNOX/Itson] [8/23/2015]

I bring to you completely stock builds of Android TW-Lollipop 5.1.1 (N910PVPU4COG5) for the Sprint Samsung Galaxy Note 4.. I built both of these stock rooted ROMs myself from the official Samsung tar ball. The ROM will self root upon flash and it has init.d/busybox support. Knox and Sprint Itson has been removed completely. Both ROMs are completely stock with all of the original factory installed apps. Available in odexed and deodexed . Both ROMs are identical other than one being odexed and the other deodexed. Also included in both ROMs in this thread is the stock OG5 modem and HLOS APN patch to ensure you have the latest modem & APN's from the latest OG5 software.
Other than the removal of Knox and Sprint Itson, these roms are all stock in every other way. They are stock and will stay that way. Please don't ask for mods, changes, etc in this thread. These roms are intended for those people who want the stock roms in their original form with the addition of root and removal of Knox & itson, as well as other members who need a good solid base for their rom projects. I give permission for other dev's to use this rom as your base and I highly recommend that you do so because it is bug-free and built from the official Samsung tar ball. However I do expect credit if you use this rom for any other project. If you like my work please press that Thanks button, rate this thread and consider a kind donation! Enjoy!
Important Notes: Before flashing ANY Lollipop 5.1.1 TW-based ROM, including this one, you MUST first do one of the following:
1. Take the Lollipop OG5 ota update on your phone.
2. Odin flash the stock ALL_SPT_N910PVPU4COG5_N910PSPT4COG5_CL5303209_QB5691107_REV00_user_low_ship_MULTI_CERT.tar.md5
Thanks to @Sunderwear for the tar ball!!! Without him we would NOT have the official rom img's to build from. :highfive:
Once you have correctly updated your Note 4 to Lollipop 5.1.1, DO NOT... I repeat, DO NOT attempt to root your phone before flashing any of my OG5 Android 5.1.1 ROMs. ONLY flash the latest TWRP recovery using odin on your pc. Nothing else. the ROM zip will pre-root your phone as well as flash the stock OG5 pre-rooted OG5 kernel by @freeza
If you are still on any KK or Lollipop 5.0 TW-based ROM such as NIE, OB7, OE1 , OF5 or OB7 (including any KK AOSP/CM-based roms) then you MUST first update to Lollipop 5.1.1 OG5 by one of the two methods I mentioned above BEFORE flashing this ROM. Failure to properly update your device partitions to 5.1.1 OG5 firmware absolutely WILL cause problems. You have been warned, Please don't ask for help if you did not follow my simple instructions above.
Flashing instructions: ***Before beginning the flash/setup process MAKE SURE your battery has at least 50% charge and/or connected to the charger!!!***
1. Backup anything you don't want to lose off your internal and external storage to another location just to be safe.
2. Download the rom using your pc. (downloading with your phone has a much higher risk of file corruption. Not recommended with large files).
3. VERIFY the md5!!! Once the download has finished, compare the AFH md5 using a md5 tool on your pc. (Google "md5 checksum windows").
4. Put the downloaded rom onto your internal storage or external micro sd card.
5. With phone powered off, reboot into recovery by pressing and holding volume up, power and the home button until you see the Samsung logo then release all buttons.
6. Once in recovery choose the wipe button and do a factory reset three times. Optional but recommended is to wipe "Data". This will wipe all of your user data such as google accounts so MAKE SURE you backed up first like I said in step #1 above! Next go to "advanced wipe" and select all of the partitions EXCEPT micro-sd card and internal storage. Internal storage is optional but recommended when first updating to a major software revision such as 4.3 to 4.4 or 5.0.1 to 5.1.1. The reason is to remove left-over data from previous version of Android and start with a clean slate.
7. Choose the "Install" option and select the rom "Sprint_Stock_N910PVPU4COG5_xxx" from either your internal or external micro-sd card. It will flash the rom and give a confirmation once completed.
8. Press "Reboot" then "reboot system". You should get no prompts or warnings about not having root.
9. Initial rom "optimization" will take several minutes while ART builds its cache and the phone will remain on the yellow Sprint Spark screen for about 10 minutes (for the deodexed ROM). Let the phone optimize for at least 10 minutes and the screen WILL eventually turn off or show the setup wizard once it finishes. If the screen turns off then simply turn it on and proceed to setup your phone.
10. Once finished with the setup wizard, wait a few moments and the phone will automatically install the Sprint apps. You must either "accept" or "disagree" with each and every google prompt for these apps or else the installs pause until you do so.. Also you will be prompted for the "connections optimizer". Quickly set it to what you want and close it. That's it! You're done!
flashing anything on your device is done at your own risk. There is no way myself or any other developer can guarantee that flashing this ROM or any other file will not brick your device or otherwise cause some other type of damage. This is just a standard warning. I am not responsible for anything that you do to your device.
Sprint Stock N910PVPU4COG5 Odexed​Sprint Stock N910PVPU4COG5 Deodexed​
XDA:DevDB Information
Stock-Rooted-N910PVPU4COG5, ROM for the Sprint Samsung Galaxy Note 4
Contributors
tx_dbs_tx
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: OG5 or newer!
Based On: ALL_SPT_N910PVPU4COG5_N910PSPT4COG5_CL5303209_QB5691107_REV00_user_low_ship_MULTI_CERT.tar.md5
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2015-08-23
Created 2015-08-24
Last Updated 2015-08-24
General info for those new to building custom roms
Feel free to use this is a base for your rom projects. Here is some basic info for newcomers wanting to make their own custom rom.
# CSC is already setup correctly for sprint as the bootloader has a mind of it's own and I have to lie to it in order for it to properly flash the correct csc for the sprint version.
# For deodexing, I personally use SVA deodexer. It has been the most reliable 99.9% of the time with no fails. Make sure you use the correct version that's compatible with the Note 4... which is the 32bit version. Also, keep in mind that any deodexed apk or jar can still possibly be corrupt without any warnings or error reports from the deodexing tool. Remember this!!! If you suspect you have a bad deodexed file then replace it with the original odexed version from my stock odexed rom and see if the problem resolves. The odexed apk's & jars are 100% originals from the extracted img's of the official Samsung tar ball so they are 100% good. I don't typically deodex with rom kitchens unless they have been updated to fully support Lollipop 5.0 and newer including apktool. The stand-alone deodexers are easier and better in my opinion.
# If you want to change out the kernel, simply swap out the boot.img in the kernel folder. (you will also need to edit the updater-script to remove or edit the ui_script credit to freeza for his stock root permissive kernel. (not mandatory but it would make sense to do this).
# For debloating be careful what you remove from the rom. Don't just remove stuff willy nilly because you think you don't "need" it. Research the apk's and make an educated decision. "MobileInstaller.apk" and "ID.apk" are the two responsible for downloading the bulk of the bloat on first boot so you need to get rid of those two for sure. I personally leave Sprint zone in my roms in order to allow people to have access to their accounts as well as install any of the sprint apps if they do want some of them such as Sprint TV, etc. You can get most all Sprint apps from Google Play also.
# You will obviously want to edit the updater script to change the name of the rom, credits, etc. Just leave the very top line alone as that is my signature and it needs to stay intact. Everything else feel free to edit, just know what you're doing so you don't bork the script.
# Mods for Android 5.1.1 on TW based roms are going to come about as people make them and post guides, etc. Just know that ANY mod that is not specifically for android 5.1.1 on software OG5 WILL NOT work on our new OG5 software builds. All mods will need to be done from scratch specifically for the new OG5 software. So never flash or use a mod that was made for a previous software version or older version of Android. This includes mods for regular apps such as SecSettings, SystemUI, Samsung messaging, Samsung contacts, etc, etc.
So don't do it! The reason is very simple. There is new and different java code in all of the smali/classes. The only time you may be able to use mods from previous software versions is when the latest revision is a small revision with only a few patches. You definitely can't use mods from Android 4.4 on a 5.0 Lollipop rom or a mod from a 5.0 rom on 5.1 without issues. This is your official warning!
# Theming Lollipop (both 5.0 and 5.1) is easier in many ways than any previous version of Android. You will need to learn several things and do a lot of research before you get your feet wet, but I can say that theming is probably the funnest part of making a custom rom. You should definitely learn to theme first. I will not write any tutorials for theming or setting up apktool etc because this stuff can be too technical to explain here. Besides, other people have already written tutorials in the past. Most of the information still applies today. Just make sure you use the LATEST apktool and use a tool that is updated to support Lollipop. I will recommend
3Minit Android Studio for it's all-in-one capabilities and ease of use for those new to decompiling & recompiling apk's. Give it a try. You will find it at http://3minit.com/ I have used it just to try it out but I use VTS mostly. It's more difficult to learn and definetely much more intimidating for beginners but it does a whole lot more and automates a lot of stuff once setup properly.
# There are already guides, instructions, etc here at XDA to help you get started with building roms, working with apk's, jars etc, So do your own researching on the web and get the "latest" info you can find for Android development. The information is out there and it doesn't cost a penny... only a few brain cells to comprehend. However, If you need help with something and you can't find the answers you're looking for, feel free to PM me and I will try to help you or point you in the right direction.
# Also know that there are a LOT of fellow XDA members who each specialize in one or more areas of Android development. If you take a look around you will soon see these smart and very talented people participating in other development threads. If you find a member who you think might be able to help you, just ask your question(s) in an appropriate thread and tag them in your post or perhaps send them a kind pm asking for their help. Generally, most people are willing to help you as long as you are willing to help yourself by way of searching and taking the initiative to figure things out on your own. Nobody wants to hold your hand so don't expect the red carpet treatment from anyone including myself, especially on basic things that you can easily figure out on your own.
That's about it for now...
HAPPY ROM BUILDING!!! My work here is done. Check please!
Reserved
Thank you sir. I might use for my own if it's OK.
Awesome job tx thanks for all ur hard work for this community
Sent from my SM-N910P using Tapatalk
Thanks @tx_dbs_tx for the work you do. We appreciate it.
Just flashed deodexed..i dont have a status bar/notif panel. Ill re download and try again. Report back shortly
Thanks so much!
arrogant437 said:
Just flashed deodexed..i dont have a status bar/notif panel. Ill re download and try again. Report back shortly
Click to expand...
Click to collapse
Thank you for the report. I found the problem with the help of you and another friend and I am re-uploading the rom. It was a simple mistake on my part with the systemui folder. Sorry for the trouble. Deodexed rom link will be updated afterwhile or first thing in the morning since it's so late.
If you want to fix the problem yourself just unzip the rom and go to system/priv-app/SystemUI folder and delete everything EXCEPT the "SystemUI.apk". The other "SystemUI-1.apk" and other "SystemUI" folder needs to be deleted leaving only the one real "SystemUI.apk". I deleted the rom so nobody else downloads it until I get the new rom uploaded . Thanks again for the report.
Massive kudos on the OP! This is how a dev should start a new thread. Well thought out, informative, and best of all, explaining why you should follow directions to a "t". Most informative yet. I can understand somebody asking questions that are answered in the OP, only if there is a language barrier. So many threads get bogged down with the same questions, over and over again. Also, dev is quick to respond on any problems found! Looking forward to Hybrid-X 3.0. Take your time. Always a quality rom with @tx_dbs_tx! :good:
Thank you for the kind words! New deodexed rom is uploaded and the link has been updated. Both ROMs should be perfect. It's very late and I'm off to bed. Enjoy folks!
Haven't run? into u n some time my friend. Glad to c ur still hard at it. Thx for this :thumbup:
Sent from my trltespr using XDA Free mobile app
Just an FYI, this ROM requires the same Netflix fix like Freeza's Rom. It won't work without flashing the zip. Thank you for the Rom.
Great rom to bad I sold my n4 hopefully this will be on s6 edge plus
Sent from my SM-G928P using XDA Free mobile app
dvtmg704 said:
Great rom to bad I sold my n4 hopefully this will be on s6 edge plus
Sent from my SM-G928P using XDA Free mobile app
Click to expand...
Click to collapse
Why would you want a stock rooted rom from an older device ported to a newer device that will be better off with a rooted version of its own stock rom?
Sent from my SM-N910P using XDA Free mobile app
styles420 said:
Why would you want a stock rooted rom from an older device ported to a newer device that will be better off with a rooted version of its own stock rom?
Sent from my SM-N910P using XDA Free mobile app
Click to expand...
Click to collapse
Now I Won't have to root I did the msl
treak now I got tether working forget rooting
Sent from my SM-G928P using XDA Free mobile app
Waiting on my Note 4 to arrive. Would this be a good ROM to flash when I unbox it? Provided I do all the updates first. I want to get the rooting and such out of the way first before I activate it on my line. Thanks.
dh350nwo said:
Waiting on my Note 4 to arrive. Would this be a good ROM to flash when I unbox it? Provided I do all the updates first. I want to get the rooting and such out of the way first before I activate it on my line. Thanks.
Click to expand...
Click to collapse
If your going to update it, then yes indeed this this will be great. I'm on it still. Great build
Sent from my SM-N910P using Tapatalk
JoeBear1975 said:
If your going to update it, then yes indeed this this will be great. I'm on it still. Great build
Sent from my SM-N910P using Tapatalk
Click to expand...
Click to collapse
This is a wonderful ROM. However, for me...
I wasn't getting calls or texts (I could place calls and send texts) with this ROM. Repeated tries at the ##72786# (or whatever, I'm typing that from memory) reset didn't fix the problem, and updating PRL and Profile didn't fix it, either. I called Sprint, and they did something at their end that fixed the problem. I should have asked exactly what, because I accidentally froze the wrong app and my phone wouldn't boot. So I re-flashed this ROM and then I couldn't get calls or texts again.
Anyone experience this and know of the fix? I fixed my phone by tying it to my Google Voice account, which is nice, because it not only allows me to get calls and texts again, it transcribes voice mails for me. But I'm still curious about what causes the problem and any potential fix.
Incidentally, Titanium used to let you unfreeze an app from the command line, but it appears the "pm" command doesn't exist anymore.
DaggettBeaver said:
This is a wonderful ROM. However, for me...
I wasn't getting calls or texts (I could place calls and send texts) with this ROM. Repeated tries at the ##72786# (or whatever, I'm typing that from memory) reset didn't fix the problem, and updating PRL and Profile didn't fix it, either. I called Sprint, and they did something at their end that fixed the problem. I should have asked exactly what, because I accidentally froze the wrong app and my phone wouldn't boot. So I re-flashed this ROM and then I couldn't get calls or texts again.
Sorry to hear that man, that's sucks. It's that r on Sprint never seem to b too lucky, lol.
Sent From My Emotional N910P
Click to expand...
Click to collapse

Categories

Resources