How to delete 2 files from stock SBF ? - Motorola Photon 4G

Hi,
I am using Photon in India and now and then I keep on re-flashing to stock. I would like to know how to delete 2 files from the stock SBF file so I don't have to root my phone for deleting those 2 files after flashing ..?
I need to delete /system/app/Sprintomadmconn.apk abd obex files I think. They are used to activate the phone over sprint but as I am in India I dont need them and everytime I flash etc. I have to wait, root then delete those 2 files to remove the activation.
Is it possible that I delete those 2 files from SBF itself so they never get installed in the first place ?
Thanks.

Its best not to mess with the SBF. While I'm not sure where they're located, it will ultimately cause the SBF to fail unless you try speed hacking. Then again, you shouldn't try that either. Its better to just create a script to remove them
Sent from my MB855 using xda premium

have you tried adb? I can email you instructions if you would like.

halfdriven said:
have you tried adb? I can email you instructions if you would like.
Click to expand...
Click to collapse
Hi,
No I have'nt but want to try it for sure. Please mail me the instructions.
Thanks.

Related

how can I uninstall a theme I flashed?

how can I uninstall a theme I flashed?
reflash the rom, unless the dev has posted a zip to go back to stock.
you could just push the stock files from the ROM package back to your phone....
that way you don't have to reset all your settings, that way you don't have to restore all your settings, apps, etc.
Mr. Apocalypse said:
you could just push the stock files from the ROM package back to your phone....
that way you don't have to reset all your settings, that way you don't have to restore all your settings, apps, etc.
Click to expand...
Click to collapse
This sounds exactly like what i want to do. Except I have no idea how to "push the stocks files" from the rom package back to my phone.
Is there a link to a step by step?
m4r10 said:
This sounds exactly like what i want to do. Except I have no idea how to "push the stocks files" from the rom package back to my phone.
Is there a link to a step by step?
Click to expand...
Click to collapse
Well, there are two ways,
One way is the ADB method, with the command line...
or,
use Droid Explorer....this way its drag n drop...I personally love this program...
Either method you use you need the Android SDK..do you have it?
no. where do i get it? I've never used droid explorer either so I wouldnt know how to do the process.
Thanks
If you did a nandroid b4 flashing this theme you could just restore it and you should be good to go.
Sent from my SGH-T959 using XDA Premium App
Well acording to this it looks like you don't need the Android SDK...but the Samsung USB drivers is a must....
Get the SDK here:
http://developer.android.com/sdk/index.html
I would install the SDK just in case...i think its something that everybody needs..but you could try installing Droid Explorer w/o the SDK and see what happens...the instructions are on the dev pages...if you need any more help just PM me and i'll be more in depth.
EDIT:i'll tell you what, tell me what ROM and theme you're using and i'll make a flashable restore file for you...cuz the process is a lot to type

[Q] Deleted Talk.apk, how can I get it back

For reasons I won't go into (mainly because they're boring) I deleted Google talk.apk from Root Explorer (I was following instructions to update the app but those didn't work) and now I can't get it back. I've factory reset the phone to no avail. I have Google Voice installed, but can't seem to get talk back. If anyone could help, it would be greatly, greatly appreciated. Thanks!
BTW, I did a search before posing the ?, but the only solution I found was for a different phone, and when I ran those steps, when I tried to open Talk, it would just FC.
libracolo said:
For reasons I won't go into (mainly because they're boring) I deleted Google talk.apk from Root Explorer (I was following instructions to update the app but those didn't work) and now I can't get it back. I've factory reset the phone to no avail. I have Google Voice installed, but can't seem to get talk back. If anyone could help, it would be greatly, greatly appreciated. Thanks!
BTW, I did a search before posing the ?, but the only solution I found was for a different phone, and when I ran those steps, when I tried to open Talk, it would just FC.
Click to expand...
Click to collapse
Have you tried snagging the files from another Photon and installing? Can you post what steps you have already taken please?
Yes....factory reset won't restore system apps. You can flash Juggs update.zip and that will restore for you. Then would have to root again of course but is easy enough.
Just download a custom rom , unzip it and copy the required app to your device.
faria said:
Just download a custom rom , unzip it and copy the required app to your device.
Click to expand...
Click to collapse
+1
I should of said that instead of grabbing it from another phone. Thanks faria.
CCallahan said:
Have you tried snagging the files from another Photon and installing? Can you post what steps you have already taken please?
Yes....factory reset won't restore system apps. You can flash Juggs update.zip and that will restore for you. Then would have to root again of course but is easy enough.
Click to expand...
Click to collapse
Thanks for the info. If I flash Juggs update, will it hurt anything (since I already am on the latest OTA)?
faria said:
Just download a custom rom , unzip it and copy the required app to your device.
Click to expand...
Click to collapse
I will try that as well. When I did a search, I found where someone had posted the talk.apk.zip file which I copied to my sd card, unzipped and then copied to system/apps (through Root Explorer), but that is when I started getting FC's. I then installed it (from Root Explorer) even with the same result. It may be that it wasn't the right version maybe? So if I extract it from a Rom, do I just copy it to the System/Apps folder (using Root Explorer)? Sorry for the confusion, and thanks much for the help.
libracolo said:
I will try that as well. When I did a search, I found where someone had posted the talk.apk.zip file which I copied to my sd card, unzipped and then copied to system/apps (through Root Explorer), but that is when I started getting FC's. I then installed it (from Root Explorer) even with the same result. It may be that it wasn't the right version maybe? So if I extract it from a Rom, do I just copy it to the System/Apps folder (using Root Explorer)? Sorry for the confusion, and thanks much for the help.
Click to expand...
Click to collapse
you need to delete the talk.odex file from system apps othewize you get fcs.
faria said:
you need to delete the talk.odex file from system apps othewize you get fcs.
Click to expand...
Click to collapse
I don't (and didn't) have that file, only talk.apk (which of course was deleted). Isn't the odex like the cache? If so, would it have been removed when I ran App Cache Cleaner?
libracolo said:
I don't (and didn't) have that file, only talk.apk (which of course was deleted). Isn't the odex like the cache? If so, would it have been removed when I ran App Cache Cleaner?
Click to expand...
Click to collapse
Correct.
Well short of getting the apk from the very same rom version ,you will have to reflash he rom.
ps.
there the new google talk with video here in the forum, that probably would fix your problem.
Here
http://forum.xda-developers.com/showthread.php?t=773272
http://forum.xda-developers.com/showthread.php?t=716888
faria said:
Here
http://forum.xda-developers.com/showthread.php?t=773272
http://forum.xda-developers.com/showthread.php?t=716888
Click to expand...
Click to collapse
Hey faria, thanks! I did the top link last night (that was the one that I copied the talk.apk.zip (2.2) over to my SD card, extracted, and then copied to /system/apps/. I installed from there (btw, I did change to R/W first), but all I got was FC's on talk. I'm thinking I needed to reboot after installing, maybe? I'm not really sure why I would need to reboot though, but if that is all it takes, I'm happy. I will try that when I get home tonight (don't have a spare cable with me right now). Thank you sooo much for your help.
libracolo said:
Thanks for the info. If I flash Juggs update, will it hurt anything (since I already am on the latest OTA)?
Click to expand...
Click to collapse
If you still end up having problems.....
Juggs update.zip is just the latest OTA with a few minor modifications. So basically it will restore all to pretty close out of the box and restore any system apps.
However, you can also flash the sbf which is the actual newest OTA exactly like the one pushed from Motorola/Sprint. This requires using rsd and isn't quite as easy as the update.zip which can just be flashed via bootstrap recovery.
Any one of these methods will require you to root the phone again.
CCallahan said:
If you still end up having problems.....
Juggs update.zip is just the latest OTA with a few minor modifications. So basically it will restore all to pretty close out of the box and restore any system apps.
However, you can also flash the sbf which is the actual newest OTA exactly like the one pushed from Motorola/Sprint. This requires using rsd and isn't quite as easy as the update.zip which can just be flashed via bootstrap recovery.
Any one of these methods will require you to root the phone again.
Click to expand...
Click to collapse
Yeah, I'm gonna flash the sbf, I just downloaded it and installed the drivers and stuff, but I think I'm gonna wait until tomorrow night (only because it's been a really long day, started at 4 am MST just ending), so I think my brain is fried. Thanks for all your help today, I'll let ya know tomorrow how it goes. What a freakin pain in the arse this talk.apk has become....haha
Update: I flashed the sbf, re-rooted, and everything is great now, have Talk back. Thanks for all the help!

[Q] Error when flashing

I'm not sure if this was asked before but, if so, please take your trolling elsewhere. Whenever I download a custom rom I always try to customize it to my needs, like remove apps I don't think are needed and add apps I want to be installed at the time of flashing. However, after I unziz the rom, remove/add the files, rezip and try to flash I ALWAYS get an 'Instillation Aborted' error. I just want to know if there are steps I'm missing when putting the file together that's causing it to be corrupted or something? :S
I believe there's a script in the zip that would need altering if you add/takeaway files, someone correct me if im wrong. Otherwise i'd do that after installing the rom with titanium backup.
frigers said:
I'm not sure if this was asked before but, if so, please take your trolling elsewhere. Whenever I download a custom rom I always try to customize it to my needs, like remove apps I don't think are needed and add apps I want to be installed at the time of flashing. However, after I unziz the rom, remove/add the files, rezip and try to flash I ALWAYS get an 'Instillation Aborted' error. I just want to know if there are steps I'm missing when putting the file together that's causing it to be corrupted or something? :S
Click to expand...
Click to collapse
Just use program 7zip to "open" archive. Delete from within and save on exit.
Do NOT "extract" or unzip.
Sent from my GT-I9100 using xda premium
Oh ok. I think the unzipping was my problem. Thank you. Hope this helps someone
No worries, if it works, just hit thanks when you have time. Happy flashing
Sent from my GT-I9100 using xda premium

[Q] RingtonePicker.apk

I did something stupid...
I deleted the Ringtonepicker.apk out of my root. So now when i go into the settings and try to change my rintone or notification via the sound tab, i get a force close.
Can anyone upload that .apk for me or point me to it?
Thanks guys.
PS. Just registered here.
meme405 said:
I did something stupid...
I deleted the Ringtonepicker.apk out of my root. So now when i go into the settings and try to change my rintone or notification via the sound tab, i get a force close.
Can anyone upload that .apk for me or point me to it?
Thanks guys.
PS. Just registered here.
Click to expand...
Click to collapse
Just flash a stock sprint ROM and you'll have it back.
Twolazyg said:
Just flash a stock sprint ROM and you'll have it back.
Click to expand...
Click to collapse
Im running a custom rom, KingCobra 1.7 (Im a Rogers GSM user). And i rather not go through the process as i just got my phone setup how i like.
is there no way of getting the .apk back?
Please anyone with root, just go into /system/app and grab the ringtonepicker.apk
and upload that file.
This would seriously help me out....
meme405 said:
Please anyone with root, just go into /system/app and grab the ringtonepicker.apk
and upload that file.
This would seriously help me out....
Click to expand...
Click to collapse
FYI...just do a dirty flash - re-flash the rom with just a cache/dalvik clear. you won't have to set everything back up.
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
meme405 said:
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
Click to expand...
Click to collapse
Sorry, but I am on CDMA so I would think the apk would be different for GSM. Here are the ringtone apks - just not sure if they will work on GSM.
meme405 said:
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
Click to expand...
Click to collapse
Redownload the ROM you have, pull the ringtonepicker.apk out of the ROM. You've been told how to do it 4 times, I can't believe you can't do it.
We aren't here to do the work for you bud..

have a heart, help me

Guys i need help.my little brother was playing with my phone and he somehow deleted the contact and phone apk. I checked on settings>applications>all to see if they were still there but they're not. I would really appreciate if someone can upload the stock ics dxlp7 phone and contact apk. I can't make a call or check contacts since it's gone.or if you could tell me how i can restore them
Have you tried downloading the rom and flashing it over?
Why don't you extract them from the system/app from the "yourromsname".zip and use root explorer and place them in system/app fix the permissions to match the others and reboot
Sent from my SPH-D710 using xda premium
NORCALkID said:
Why don't you extract them from the system/app from the "yourromsname".zip and use root explorer and place them in system/app fix the permissions to match the others and reboot
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I'm not rooted. I'm on stock dxlp7
Is a factory reset not an option for you?
ctomgee said:
Is a factory reset not an option for you?
Click to expand...
Click to collapse
But that would wipe my phone? I'd rather not do it unless it's the ONLY option
abbadipod said:
But that would wipe my phone? I'd rather not do it unless it's the ONLY option
Click to expand...
Click to collapse
It's not the only option. It's just AN option. You should be able to re-flash a non-wipe package of DXLP7, and you shouldn't lose anything other than root. But you're not rooted anyways.
EDIT to add: question though. If you're not rooted, how did he delete system files?
EDIT 2: I should also note that any other solution for you will probably require root.
ctomgee said:
It's not the only option. It's just AN option. You should be able to re-flash a non-wipe package of DXLP7, and you shouldn't lose anything other than root. But you're not rooted anyways.
EDIT to add: question though. If you're not rooted, how did he delete system files?
EDIT 2: I should also note that any other solution for you will probably require root.
Click to expand...
Click to collapse
This is my exact question ^
Sent from my SPH-D710 using xda premium
Guess I'll have to download the ROM and.reflash it...
I think factory reset will only wipe user apps but won't recover system apps.
Here it goes, stock phone and contact apks from LP7
root needed
Even if he has the apks ... he's not rooted so how are you going to push to system?
Sent from my SPH-D710 using xda premium
NORCALkID said:
This is my exact question ^
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
+3
OP, how did this happen on a non-rooted phone ?
ctomgee said:
It's not the only option. It's just AN option. You should be able to re-flash a non-wipe package of DXLP7, and you shouldn't lose anything other than root. But you're not rooted anyways.
EDIT to add: question though. If you're not rooted, how did he delete system files?
EDIT 2: I should also note that any other solution for you will probably require root.
Click to expand...
Click to collapse
I have no idea how he deleted them. He can't even remember what he did. Can't really blame him since he's just a kid
abbadipod said:
Guys i need help.my little brother was playing with my phone and he somehow deleted the contact and phone apk. I checked on settings>applications>all to see if they were still there but they're not. I would really appreciate if someone can upload the stock ics dxlp7 phone and contact apk. I can't make a call or check contacts since it's gone.or if you could tell me how i can restore them
Click to expand...
Click to collapse
lol, seriously expect us to believe it was your "brother"?
Also, as stated how was these files deleted if your not rooted??
Just backup needed data and flash a rom.
Hilarious. The things you see/read on here sometimes
Poor lil brothers ears must be ringing by now and its not even him who did it
Sent from my SPH-D710 using xda premium
abbadipod said:
I have no idea how he deleted them. He can't even remember what he did. Can't really blame him since he's just a kid
Click to expand...
Click to collapse
None rooted phone with no way of exploring the system folders . Not possible to delete the APK only to delete the shortcut .
Factory reset will recover system apps as they are in the flashed saved firmware cache but it will delete data but that can be backed up .
jje
I have esfile explore even though I'm not rooted. Maybe he somehow deleted stuff while messing around with esfile?
Maybe he is smarter than you?
He Rooted,deleted,unrooted
As for solution reflash rom as stated before
sahibunlimited said:
Maybe he is smarter than you?
He Rooted,deleted,unrooted
As for solution reflash rom as stated before
Click to expand...
Click to collapse
His little bro is genius! He found a security vulnerability.

Categories

Resources