[ROM] SPH-L720 Lollipop OD2 Deodexed De-knoxed De-bloated 6-07-2015

Should NFC be added back to this ROM? (I removed it to minimize security risks)

  • Leave it off of the ROM

    Votes: 0 0.0%
  • Add NFC back

    Votes: 21 100.0%

  • Total voters
    21
  • Poll closed .

clshores

Senior Member
Sep 3, 2008
1,341
382
113
Middle Tennessee
I am very afraid... I had to take my original S4 in because of signal issues and I will b getting a replacement. I have cold sweats and nausea that I might get a Tri-Band in return.:eek:
 

0x6A7232

Senior Member
Oct 30, 2013
119
50
0
So, I have the SPH-L720_OD2_Deodexed.zip flashed (flashed modem & pulled battery prior).

Incoming calls do not show up, you can only hear rings (but on vibrate no vibration or indication other than missed call after).

If you place a call, the dialer disappears and you can't return to phone status or end call (have to restart).

2 items listed as "Phone":

com.android.phone 1.0.0 (1)
/system/priv-app/TeleService/TeleService.apk (2.77MB)

com.android.server.telecom 1.0.0 (1)
/system/priv-app/Telecom/Telecom.apk (458.45KB)

The folders are rwx r-x r-x and the apks are rw- r-- r-- , as they should be.

Previous NG2 version used to be:

com.android.phone 4.4.2-L720VPUFNG2 (19)
/system/priv-app/SecPhone.apk (19.71MB)

No com.android.server.telecom package on NG2.

Help?
 

jumphour

Senior Member
Mar 10, 2011
153
29
58
CT
There's a problem with Netflix - can't watch videos on-screen (others say they can cast just fine, but no on-screen). Folks over in the Wicked 10 thread say it's also bugged on stock OD2, but works on the 720T - they think it's a kernel issue.

Any confirmation of Netflix status here?
Ditto with the Netflix not working on mine, using the deodexed de-bloated color modded v3 (but download says v2). Amazon Prime video works. Netflix works on my stock rooted OD2 720T.
 

aabshire

Member
Sep 29, 2010
30
2
0
So, I have the SPH-L720_OD2_Deodexed.zip flashed (flashed modem & pulled battery prior).

Incoming calls do not show up, you can only hear rings (but on vibrate no vibration or indication other than missed call after).

If you place a call, the dialer disappears and you can't return to phone status or end call (have to restart).
I am seeing this same issue, I had peviously flashed the full OD2 OTA, and then installed this one as instructed.
 

jtash01

Senior Member
Apr 24, 2008
501
240
63
So, I have the SPH-L720_OD2_Deodexed.zip flashed (flashed modem & pulled battery prior).

Incoming calls do not show up, you can only hear rings (but on vibrate no vibration or indication other than missed call after).

If you place a call, the dialer disappears and you can't return to phone status or end call (have to restart).

2 items listed as "Phone":

com.android.phone 1.0.0 (1)
/system/priv-app/TeleService/TeleService.apk (2.77MB)

com.android.server.telecom 1.0.0 (1)
/system/priv-app/Telecom/Telecom.apk (458.45KB)

The folders are rwx r-x r-x and the apks are rw- r-- r-- , as they should be.

Previous NG2 version used to be:

com.android.phone 4.4.2-L720VPUFNG2 (19)
/system/priv-app/SecPhone.apk (19.71MB)

No com.android.server.telecom package on NG2.

Help?
I'm looking into it.
 

jtash01

Senior Member
Apr 24, 2008
501
240
63
I'm looking into it.
Both Telecom and Teleservice are correctly present in the original OTA update.zip from Sprint for the SPH-L720. SecPhone is deprecated in Lollipop.

I would do a wipe of the phone and do a factory reset before reflashing the latest version of the zip. If you had any settings left over from NG2, that could cause a problem. Also, if you are using Titanium Backup to restore user apps be sure that you DON'T RESTORE ANY SYSTEM SETTINGS or APPS. If I remember correctly, the phone app may be considered a user app in Titanium so look specifically in the app/data list to make sure that it is not selected for a restore in Titanium.
 

0x6A7232

Senior Member
Oct 30, 2013
119
50
0
How do I reset / or uninstall + reinstall the Phone app?

I have TiBu, ES File Explorer, Terminal Emulator + Hackers KB, Philz Touch (based on CWM Advanced) - - I'm familiar with Linux / terminal commands and I'm not afraid to get my hands dirty, but I'd rather not reset / reinstall ALL of my wife's apps for a THIRD time for this upgrade to 5.0.1...

I had to switch to the non - debloated cause I couldn't be arsed / wife didn't want to wait long enough for me to be arsed to figure out how to get S Memo, S Planner (calendar), and S Browser working on the debloated. I got them over, set permissions for folders + apks, and had S Planner working, but S Memo insta-closed, (unfortunately S Memo...) and S Browser said not enough memory. I put the .so files from the {APP} /lib/arm directories into /system/lib, with the ones from {APP}/lib , unsure if that was incorrect or if I was missing something else necessary. Anywho..

FTR, I wiped everything except /media and the SD card every time.

But I did restore the data from the phone app (it said voicemail beside it , wasn't sure if that also had her old voicemail, figured just the data couldn't hurt since OD2 is an update and an OTA could migrate it so.. haha SMH

SO, pretty please how do I reinstall just the phone app / or clear it to default?
 

0x6A7232

Senior Member
Oct 30, 2013
119
50
0
Ok, after further research, it appears the OD2 Hotspot mod is causing this.

FTR, while I was tinkering, I found that deleting an app's /data/data/{appname} directory for the most part causes Android to rebuild that directory with the app's default configuration files.

There appears to be some exceptions, or maybe errors in the default recovery process, as

/data/data/com.android.providers.telephony/databases/nwk_info.db

and

/data/data/com.android.providers.telephony/databases/nwk_info.db-journal

were not rebuilt, and I had no data until I restored that. BE SURE TO BACK UP THE DIRECTORY BEFORE DELETING, AND NOTE THE PERMISSIONS AS WELL AS THE OWNER AND GROUP.
You can use (after putting in su and enter to switch to root)
Code:
cp -p -r [SOURCE] [DESTINATION]
in Terminal Emulator for that - the -p switch copies permissions, the -r switch copies recursively aka subdirectories BUT! Please note that anything using an MS filesystem (exFAT, FAT32, NTFS) won't copy the permissions / owner / group.

What got me pointed towards trying the above was this thread (for KK 4.4.2 on a S G S2 I believe so some things need to be changed obviously) here: http://forum.xda-developers.com/galaxy-s2/general/howto-eradicate-unfortunately-process-t2424803

Also, found some interesting stuff in this thread that maybe I'll mess with later:

http://forum.xda-developers.com/showthread.php?t=2137826


http://forum.xda-developers.com/showthread.php?t=2260142

Anyways, back on topic & TL;DR =
It looks to be the OD2 Hotspot is causing the phone problem, so I will research and post back what I find.


EDIT: oh, and your MMS & SMS text messages are in the /data/data/com.android.providers.telephony/databases/mmssms.db* files

---------- Post added at 08:19 AM ---------- Previous post was at 07:59 AM ----------

K, I think I found the problem:

Code:
delete_recursive("/system/app/LegacyInCallUI");
Oopsie, I don't think that is a good idea. ..
Here's the full text of the Hotspot mod updater script (META-INF/com/google/android/updater-script)

Code:
show_progress(1.34, 30); ui_print(" "); ui_print("#########################"); ui_print("# Lollipop-OD2 #"); ui_print("# Hotspot Mod #"); ui_print("# by bilgerryan #"); ui_print("#########################"); ui_print(" "); ui_print(" Mounting Filesystems... "); run_program("/sbin/busybox", "mount", "/system"); run_program("/sbin/busybox", "mount", "/preload"); run_program("/sbin/busybox", "mount", "/data"); run_program("/sbin/busybox", "mount", "/cache"); run_program("/sbin/busybox", "mount", "/sdcard"); ui_print(" "); ui_print(" Flashing files... "); delete_recursive("/system/app/LegacyInCallUI"); package_extract_dir("system", "/system"); package_extract_dir("preload", "/preload"); package_extract_dir("data", "/data"); set_perm_recursive(0, 0, 0755, 0644, "/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app"); set_perm_recursive(0, 0, 0755, 0644, "/preload/symlink/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/framework"); ui_print(" "); ui_print(" "); delete_recursive("/data/tmp"); package_extract_dir("vrtheme", "/data/tmp/vrtheme"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/installtheme.sh"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zip"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zipalign"); run_program("/data/tmp/vrtheme/installtheme.sh"); run_program("/sbin/busybox", "umount", "/system"); run_program("/sbin/busybox", "umount", "/preload"); run_program("/sbin/busybox", "umount", "/data"); run_program("/sbin/busybox", "umount", "/cache"); run_program("/sbin/busybox", "umount", "/sdcard"); ui_print(" "); ui_print(" Installation complete "); ui_print(" ");
So I'm restoring LegacyInCallUI from the ROM .zip now.

---------- Post added at 08:33 AM ---------- Previous post was at 08:19 AM ----------

Restored LegacyInCallUI, set permissions, rebooted, phone works great now.

So we should just remove that offending line from updater-script, re-zip, and the Hotspot mod should be good to use as far as I know.

Perhaps someone should take a look at the whole thing, just in case, though?

---------- Post added at 08:46 AM ---------- Previous post was at 08:33 AM ----------

Alright, apparently the author is aware and has fixed, see his response in the release thread:

http://forum.xda-developers.com/showpost.php?p=61014133&postcount=7

So be sure to get v 1.1 I guess. XD

This has been a fun adventure and a half! .;)
 
Last edited:

todivefor

Senior Member
Jun 25, 2010
925
202
0
Pittsburgh, PA
Ok, after further research, it appears the OD2 Hotspot mod is causing this.

FTR, while I was tinkering, I found that deleting an app's /data/data/{appname} directory for the most part causes Android to rebuild that directory with the app's default configuration files.

There appears to be some exceptions, or maybe errors in the default recovery process, as

/data/data/com.android.providers.telephony/databases/nwk_info.db

and

/data/data/com.android.providers.telephony/databases/nwk_info.db-journal

were not rebuilt, and I had no data until I restored that. BE SURE TO BACK UP THE DIRECTORY BEFORE DELETING, AND NOTE THE PERMISSIONS AS WELL AS THE OWNER AND GROUP.
You can use (after putting in su and enter to switch to root)
Code:
cp -p -r [SOURCE] [DESTINATION]
in Terminal Emulator for that - the -p switch copies permissions, the -r switch copies recursively aka subdirectories BUT! Please note that anything using an MS filesystem (exFAT, FAT32, NTFS) won't copy the permissions / owner / group.

What got me pointed towards trying the above was this thread (for KK 4.4.2 on a S G S2 I believe so some things need to be changed obviously) here: http://forum.xda-developers.com/galaxy-s2/general/howto-eradicate-unfortunately-process-t2424803

Also, found some interesting stuff in this thread that maybe I'll mess with later:

http://forum.xda-developers.com/showthread.php?t=2137826


http://forum.xda-developers.com/showthread.php?t=2260142

Anyways, back on topic & TL;DR =
It looks to be the OD2 Hotspot is causing the phone problem, so I will research and post back what I find.


EDIT: oh, and your MMS & SMS text messages are in the /data/data/com.android.providers.telephony/databases/mmssms.db* files

---------- Post added at 08:19 AM ---------- Previous post was at 07:59 AM ----------

K, I think I found the problem:

Code:
delete_recursive("/system/app/LegacyInCallUI");
Oopsie, I don't think that is a good idea. ..
Here's the full text of the Hotspot mod updater script (META-INF/com/google/android/updater-script)

Code:
show_progress(1.34, 30); ui_print(" "); ui_print("#########################"); ui_print("# Lollipop-OD2 #"); ui_print("# Hotspot Mod #"); ui_print("# by bilgerryan #"); ui_print("#########################"); ui_print(" "); ui_print(" Mounting Filesystems... "); run_program("/sbin/busybox", "mount", "/system"); run_program("/sbin/busybox", "mount", "/preload"); run_program("/sbin/busybox", "mount", "/data"); run_program("/sbin/busybox", "mount", "/cache"); run_program("/sbin/busybox", "mount", "/sdcard"); ui_print(" "); ui_print(" Flashing files... "); delete_recursive("/system/app/LegacyInCallUI"); package_extract_dir("system", "/system"); package_extract_dir("preload", "/preload"); package_extract_dir("data", "/data"); set_perm_recursive(0, 0, 0755, 0644, "/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app"); set_perm_recursive(0, 0, 0755, 0644, "/preload/symlink/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/framework"); ui_print(" "); ui_print(" "); delete_recursive("/data/tmp"); package_extract_dir("vrtheme", "/data/tmp/vrtheme"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/installtheme.sh"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zip"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zipalign"); run_program("/data/tmp/vrtheme/installtheme.sh"); run_program("/sbin/busybox", "umount", "/system"); run_program("/sbin/busybox", "umount", "/preload"); run_program("/sbin/busybox", "umount", "/data"); run_program("/sbin/busybox", "umount", "/cache"); run_program("/sbin/busybox", "umount", "/sdcard"); ui_print(" "); ui_print(" Installation complete "); ui_print(" ");
So I'm restoring LegacyInCallUI from the ROM .zip now.

---------- Post added at 08:33 AM ---------- Previous post was at 08:19 AM ----------

Restored LegacyInCallUI, set permissions, rebooted, phone works great now.

So we should just remove that offending line from updater-script, re-zip, and the Hotspot mod should be good to use as far as I know.

Perhaps someone should take a look at the whole thing, just in case, though?

---------- Post added at 08:46 AM ---------- Previous post was at 08:33 AM ----------

Alright, apparently the author is aware and has fixed, see his response in the release thread:

http://forum.xda-developers.com/showpost.php?p=61014133&postcount=7

So be sure to get v 1.1 I guess. XD

This has been a fun adventure and a half! .;)
I see that

Code:
delete_recursive("/system/app/LegacyInCallUI");
is in Native-5-Way-Reboot.zip updater script also. Does this mean that the 5-way-reboot is also going to cause a problem?
 

bilgerryan

Inactive Recognized Developer
Oct 23, 2011
22,148
38,015
263
Garrett, IN
I see that

Code:
delete_recursive("/system/app/LegacyInCallUI");
is in Native-5-Way-Reboot.zip updater script also. Does this mean that the 5-way-reboot is also going to cause a problem?
Both have been updated to v1.1 and fixed, the flashable to get your InCallUi back is also in both threads. All problems solved. [emoji106]
 
  • Like
Reactions: todivefor

jtash01

Senior Member
Apr 24, 2008
501
240
63
Ok, after further research, it appears the OD2 Hotspot mod is causing this.

FTR, while I was tinkering, I found that deleting an app's /data/data/{appname} directory for the most part causes Android to rebuild that directory with the app's default configuration files.

There appears to be some exceptions, or maybe errors in the default recovery process, as

/data/data/com.android.providers.telephony/databases/nwk_info.db

and

/data/data/com.android.providers.telephony/databases/nwk_info.db-journal

were not rebuilt, and I had no data until I restored that. BE SURE TO BACK UP THE DIRECTORY BEFORE DELETING, AND NOTE THE PERMISSIONS AS WELL AS THE OWNER AND GROUP.
You can use (after putting in su and enter to switch to root)
Code:
cp -p -r [SOURCE] [DESTINATION]
in Terminal Emulator for that - the -p switch copies permissions, the -r switch copies recursively aka subdirectories BUT! Please note that anything using an MS filesystem (exFAT, FAT32, NTFS) won't copy the permissions / owner / group.

What got me pointed towards trying the above was this thread (for KK 4.4.2 on a S G S2 I believe so some things need to be changed obviously) here: http://forum.xda-developers.com/galaxy-s2/general/howto-eradicate-unfortunately-process-t2424803

Also, found some interesting stuff in this thread that maybe I'll mess with later:

http://forum.xda-developers.com/showthread.php?t=2137826


http://forum.xda-developers.com/showthread.php?t=2260142

Anyways, back on topic & TL;DR =
It looks to be the OD2 Hotspot is causing the phone problem, so I will research and post back what I find.


EDIT: oh, and your MMS & SMS text messages are in the /data/data/com.android.providers.telephony/databases/mmssms.db* files

---------- Post added at 08:19 AM ---------- Previous post was at 07:59 AM ----------

K, I think I found the problem:

Code:
delete_recursive("/system/app/LegacyInCallUI");
Oopsie, I don't think that is a good idea. ..
Here's the full text of the Hotspot mod updater script (META-INF/com/google/android/updater-script)

Code:
show_progress(1.34, 30); ui_print(" "); ui_print("#########################"); ui_print("# Lollipop-OD2 #"); ui_print("# Hotspot Mod #"); ui_print("# by bilgerryan #"); ui_print("#########################"); ui_print(" "); ui_print(" Mounting Filesystems... "); run_program("/sbin/busybox", "mount", "/system"); run_program("/sbin/busybox", "mount", "/preload"); run_program("/sbin/busybox", "mount", "/data"); run_program("/sbin/busybox", "mount", "/cache"); run_program("/sbin/busybox", "mount", "/sdcard"); ui_print(" "); ui_print(" Flashing files... "); delete_recursive("/system/app/LegacyInCallUI"); package_extract_dir("system", "/system"); package_extract_dir("preload", "/preload"); package_extract_dir("data", "/data"); set_perm_recursive(0, 0, 0755, 0644, "/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app"); set_perm_recursive(0, 0, 0755, 0644, "/preload/symlink/system/app"); set_perm_recursive(0, 0, 0755, 0644, "/system/framework"); ui_print(" "); ui_print(" "); delete_recursive("/data/tmp"); package_extract_dir("vrtheme", "/data/tmp/vrtheme"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/installtheme.sh"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zip"); set_perm(0, 0, 0755, "/data/tmp/vrtheme/zipalign"); run_program("/data/tmp/vrtheme/installtheme.sh"); run_program("/sbin/busybox", "umount", "/system"); run_program("/sbin/busybox", "umount", "/preload"); run_program("/sbin/busybox", "umount", "/data"); run_program("/sbin/busybox", "umount", "/cache"); run_program("/sbin/busybox", "umount", "/sdcard"); ui_print(" "); ui_print(" Installation complete "); ui_print(" ");
So I'm restoring LegacyInCallUI from the ROM .zip now.

---------- Post added at 08:33 AM ---------- Previous post was at 08:19 AM ----------

Restored LegacyInCallUI, set permissions, rebooted, phone works great now.

So we should just remove that offending line from updater-script, re-zip, and the Hotspot mod should be good to use as far as I know.

Perhaps someone should take a look at the whole thing, just in case, though?

---------- Post added at 08:46 AM ---------- Previous post was at 08:33 AM ----------

Alright, apparently the author is aware and has fixed, see his response in the release thread:

http://forum.xda-developers.com/showpost.php?p=61014133&postcount=7

So be sure to get v 1.1 I guess. XD

This has been a fun adventure and a half! .;)
OP note: The native hotspot function of this ROM works, if your SIM is unlocked by the service provider. Any problems with MODS to bypass this restriction are a separate issue, and should be discussed in the threads elsewhere dedicated to those mods.
 

0x6A7232

Senior Member
Oct 30, 2013
119
50
0
OP note: The native hotspot function of this ROM works, if your SIM is unlocked by the service provider. Any problems with MODS to bypass this restriction are a separate issue, and should be discussed in the threads elsewhere dedicated to those mods.
Understood, I didn't realize this wasn't a problem with the ROM until right before I found it. What you were seeing was basically my findings as I tracked down the cause.

For the record, I flashed the hotspot mod right after the ROM, before the reboot, the second time (as I had already flashed the debloated version, so I knew most things were up to par as far as the system went).

This saved me some time, and also prevented me from realizing that the culprit was the mod.
Well, four things. 1) It's my wife's phone, so I'm not the one using it. 2) Neither of us really make enough phone calls to mention. 3) As I mentioned, I had flashed the mod along with the full deodexed ROM. 4) Logically, a hotspot mod has to do with data, why would that cause the symptoms that my wife experienced.

Anyways, if you want you can (or I can if you prefer) slim my previous posts relating to the hotspot mod down to declutter the thread. Just say the word. :)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone