Solve "NFC Service has stopped" - G2 Q&A, Help & Troubleshooting

Hi guys,
I've a problem, I accidentally flashed a mod for NFC that isn't for the LG G2, now my phone is unusable because continually appears a popup that say "NFC Service has stopped"...
There is a way to correct this problem? Unfortunatelly I haven't done a backup before flashing the mod
I hope someone can help me, I've also thinked to reuse the flashed zip inserting in it the correct nfc.apk, could it work?
Sorry for my poor english

davidinho.ng said:
Hi guys,
I've a problem, I accidentally flashed a mod for NFC that isn't for the LG G2, now my phone is unusable because continually appears a popup that say "NFC Service has stopped"...
There is a way to correct this problem? Unfortunatelly I haven't done a backup before flashing the mod
I hope someone can help me, I've also thinked to reuse the flashed zip inserting in it the correct nfc.apk, could it work?
Sorry for my poor english
Click to expand...
Click to collapse
Well what is the mod? if it's just an apk it's easily fixable, if it's a framework mod you might have to reinstall your firmware.

Choristav said:
Well what is the mod? if it's just an apk it's easily fixable, if it's a framework mod you might have to reinstall your firmware.
Click to expand...
Click to collapse
this is the mod
http://forum.xda-developers.com/galaxy-nexus/sprint-develop/mod-nfc-screen-off-t1709586
I had many pages opened and accidentally I had installed this mod for Nexus

davidinho.ng said:
this is the mod
http://forum.xda-developers.com/galaxy-nexus/sprint-develop/mod-nfc-screen-off-t1709586
I had many pages opened and accidentally I had installed this mod for Nexus
Click to expand...
Click to collapse
Upon observation it does seem like a simple apk located in System/app. Just replace it with a current one for your device. I would give you mine but I'm on aosp. I'm assuming you're on stock, right?

Choristav said:
Upon observation it does seem like a simple apk located in System/app. Just replace it with a current one for your device. I would give you mine but I'm on aosp. I'm assuming you're on stock, right?
Click to expand...
Click to collapse
yes, I'm on stock rom but I don't know where find this apk...

davidinho.ng said:
yes, I'm on stock rom but I don't know where find this apk...
Click to expand...
Click to collapse
Well you either ask it from somebody, get it from an unpacked .tot or .kdz file (stock factory images), or renistall your firmware. Hard-reset won't work, as this wipes /data/, but not /system/, where the apk is located, therefore it won't be replaced with a factory one as far as I know.

Choristav said:
Well you either ask it from somebody, get it from an unpacked .tot or .kdz file (stock factory images), or renistall your firmware. Hard-reset won't work, as this wipes /data/, but not /system/, where the apk is located, therefore it won't be replaced with a factory one as far as I know.
Click to expand...
Click to collapse
I see that in the directory /system/app there is LgNfc.apk and Nfc.apk, which of the two should I replace?

davidinho.ng said:
I see that in the directory /system/app there is LgNfc.apk and Nfc.apk, which of the two should I replace?
Click to expand...
Click to collapse
The zips from the nexus threads contain a nfc.apk

can I open a new thread on the forum to ask if someone can send me this apk?
There's some rule on the forum about this?

I've now a KDZ file, but I'm trying to extract the content using "LG firmware extract" but the content is only this:
D80220b00.dz
LGUP8974.dll
I've tried to extract also the dz file, but the process seems to remain blocked...
Any suggestion?
EDIT: Solved, I've just deleted the Nfc.apk actually in /system/app and now everything is ok

Related

[Q] Extract single application from custom rom

hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
lamppu is a good LED torch. You need root to use it, look in market
TheGrammarFreak said:
lamppu is a good LED torch. You need root to use it, look in market
Click to expand...
Click to collapse
I have looked in market, but it doesnt seem to exist there. However, do you know anyway to extract the application as working APK file?
Any other LED torches that works with LEGEND?
*EDIT: well, I found it, its named Lamppu. but anyway it didnt work, although my phone is rooted! why is that?
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
omar.elhelw said:
hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
Click to expand...
Click to collapse
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
XtremeHTM said:
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
Click to expand...
Click to collapse
I already tried using Lamppu, but it didnt work on my rooted phone!
Have any idea what might be the reason?
----
whitetigerdk said:
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Click to expand...
Click to collapse
That makes sense...but who would I merge the .apk and .obex together to be in one .apk file so I can install it?
Or maybe you know some way I can install these files?
Help would be really appreciated.
----
robto said:
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
Click to expand...
Click to collapse
You mean like after loading the custom ROM, I backup the application I want then restore them after I load the custom I want?!
This is just long process of backing up your data then load custom rom, then back to the old rom, then root then restore...
I thought there might be easier and shorter ways?!
Any help would be appreciated. Gracias!
Anyone to help?????
try the kitchen method.
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Click to expand...
Click to collapse
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
TheGrammarFreak said:
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
Click to expand...
Click to collapse
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
omar.elhelw said:
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
Click to expand...
Click to collapse
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
whitetigerdk said:
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
Click to expand...
Click to collapse
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
omar.elhelw said:
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
Click to expand...
Click to collapse
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
TheGrammarFreak said:
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
Click to expand...
Click to collapse
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
TheGrammarFreak said:
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
Click to expand...
Click to collapse
Thanks!
heres the DL link
http://goo.gl/xKSk

[Q] Sound/Headphone Mod Issue

Hi all! Thanks for any and all help!
Quick info: Stock ROM 4.4.2 via OTA (LS980ZVC), Rooted, Nova Launcher and Xposed Framework. I've tried flashing other ROMs and it just didn't work so I went back to stock.
I'm not too impressed with the speaker and headphone volume on my phone. I didn't buy the phone for the sound, though, so that's a good thing. However, an improvement would be nice!
I've tried both the sound mods below:
http://forum.xda-developers.com/showthread.php?t=2482750 - Root Explorer would not allow me to copy the file from my SD card to the proper location saying "copy failed!" each and every time.
http://forum.xda-developers.com/showthread.php?t=2542398 - I flashed this and it soft bricked my phone. I got bootlooped because of it. Is there any particular reason, other than I just don't know how to flash right? (all kidding aside!)
Is there an easy way to get one of these two to work, or am I just stuck with the sound I have?
Again, thanks for any and all help, folks!
(I posted this in the Sprint G2 help thinking it was the general G2 help.. whoops... sorry for cross posting)
If it rooted, RE should work.
Make sure you check and change permission if needed.
votinh said:
If it rooted, RE should work.
Make sure you check and change permission if needed.
Click to expand...
Click to collapse
RE works and I can navigate to the correct folder, as well as copy/paste the old file from /system/etc/snd_soc_msm to my SD card. Moving the file from the SD card, or copy and pasting, results in "Operation failed!" and no change. Permissions are good as far as I can see?
Try Root Browser instead.
https://play.google.com/store/apps/...owser&pcampaignid=APPU_yCRZU_eiLunEyQGkuoHYCg
cheetahcat79 said:
Try Root Browser instead.
https://play.google.com/store/apps/...owser&pcampaignid=APPU_yCRZU_eiLunEyQGkuoHYCg
Click to expand...
Click to collapse
Same issue, "operation failed."
Try changing permissions on the system folder?
cheetahcat79 said:
Try changing permissions on the system folder?
Click to expand...
Click to collapse
do the reroot and tell me if it made any difference..
cheetahcat79 said:
Try changing permissions on the system folder?
Click to expand...
Click to collapse
I've checked everything on the system folder for permissions. No dice.
buenarc said:
do the reroot and tell me if it made any difference..
Click to expand...
Click to collapse
Same as above, no dice.
Just as a heads up, I downloaded Viper4Android FX and XHiFi, and that worked the treat to get the sound muuuuuuch more clear and tolerable from Pandora. Night and day difference, no doubt... although Pandora's bitrate isn't high, it's 100x more tolerable now.

[Share] Fully Working AOSP, KK Gallery App for Lollipop

Hey, folks!!
Most of us moved to Lollipop and keep seeing many bugs and some of the Apps missing like for eg. Gallery.
Searches end me with Gallery Apps which weren't fully working. Desperated and frustrated me, finally did find one working app and thought of sharing it with others who would really be interested.
You can flash the App via Custom Recovery or can do it manually by moving the desired folder using a file manager, like Total Commander (this is what am using). Many are available based on your interest. Remember to extract the zip and move the folders to another location and then place in the respective places.
Editing Images is possible with this App if you correctly place the lib file at /system/lib
I myself have tried only the KK Gallery on N4 & N5 which is working flawlessly
http://nexus5.wonderhowto.com/how-to/get-back-gallery-app-any-nexus-device-running-lollipop-0158858/
PS: If this is outta XDA Rules then Mods can remove the thread.
Folks, am just sharing so everyone can make use of what is required.
I want to use the motorola gallery. It looks nice. But what lib file should I place in /system/lib? It isn't in the flashable zip...
iliass01 said:
I want to use the motorola gallery. It looks nice. But what lib file should I place in /system/lib? It isn't in the flashable zip...
Click to expand...
Click to collapse
Motorola Gallery may not have the lib file. Haven't checked it but did the KK Gallery. Editing is supported only in KK Gallery according to the post
So I tried the flashablr zip, but after installinh nothing changed? No gallery app popped up. I looked in the /system/app/ folder and I found the .apk l. Do you know how I can fix this?
iliass01 said:
So I tried the flashablr zip, but after installinh nothing changed? No gallery app popped up. I looked in the /system/app/ folder and I found the .apk l. Do you know how I can fix this?
Click to expand...
Click to collapse
Which one did you try? Have checked KK Gallery on N4 & N5 and its working without any flaws. On N4, used the Flashable zip and on N5, i installed manually (both running Lollipo 5.0.1)
keylocker said:
Which one did you try? Have checked KK Gallery on N4 & N5 and its working without any flaws. On N4, used the Flashable zip and on N5, i installed manually (both running Lollipo 5.0.1)
Click to expand...
Click to collapse
I tried to manually install the motorola gallery (Grabbed it from apkmirror.com). I try to copy it to either /system/app and /system/priv-app/ but with both folder I get a "copy failed" message...
iliass01 said:
I tried to manually install the motorola gallery (Grabbed it from apkmirror.com). I try to copy it to either /system/app and /system/priv-app/ but with both folder I get a "copy failed" message...
Click to expand...
Click to collapse
I thought that you installed the app from the link have provided. Try that and let me know. Just to clarify, are you rooted?
keylocker said:
I thought that you installed the app from the link have provided. Try that and let me know. Just to clarify, are you rooted?
Click to expand...
Click to collapse
Yes I am on stock 5.0.1. Rooted it and installed TWRP. Tried that zip and several others but none of them worked. Also created a flashable zip myself. But that didnt work either...
By flashing it, the app comes in the /system/app folder but doen't appaer in the app drawer and trying to copy it manually ends up in an error (see attachments).
I guess I will be re-flashing factory images and see if it works after that.
iliass01 said:
Yes I am on stock 5.0.1. Rooted it and installed TWRP. Tried that zip and several others but none of them worked. Also created a flashable zip myself. But that didnt work either...
By flashing it, the app comes in the /system/app folder but doen't appaer in the app drawer and trying to copy it manually ends up in an error (see attachments).
I guess I will be re-flashing factory images and see if it works after that.
Click to expand...
Click to collapse
Dude, why don't you try installing it? I tried the KK Gallery as such (open & install) and it works well
keylocker said:
Dude, why don't you try installing it? I tried the KK Gallery as such (open & install) and it works well
Click to expand...
Click to collapse
That was the first thing I tried. It won't install...
Is this not the same app from ages ago? - http://forum.xda-developers.com/showthread.php?p=49799336
Sent from my Nexus 5 using Tapatalk (the older 4.9.5 not that new 4.10 abomination they released for god knows why reason)

APK Request - LiveWallapersPicker

Hi! so, when i was rooted, i actually removed this app right there accidentally, i was debloating but i didn't even noticed it... so now i need it and can't find anywhere, can anyone post it here? Thanks in advance.
Here you go. It goes into system/app as you probably know.
https://onedrive.live.com/redir?resid=42F161BAACA54FFA!330&authkey=!AIvddz9cedRaQA8&ithint=file,zip
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Sawik55 said:
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Click to expand...
Click to collapse
Here it is, from. MPHS24.49-18-8 build.
https://drive.google.com/file/d/0B1tb_AIZ5QUwRDFwLWRzS1lKanM/view?usp=drivesdk
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Sawik55 said:
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Click to expand...
Click to collapse
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
quakeaz said:
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
Click to expand...
Click to collapse
It's a rooted, stock 6.0.1 rom, with xposed framework and a bunch of modules including N-ify, If i am correct of what a build is then my build is "24.221.5.clark_reteu.en.EU reteu".
Edit:
I tried to do everything as instructed and it didn't help. And what is curious i found out that i actually already had this folder in my system/apps. I switched it with the new one, reboot and unfortunately still when i try to set any live walpaper it says "aplication is not installed". I guess i won't be able to try pixelwalpapers anytime soon.

Charging Sound not in media/sound/ui?

Hi, I wanted to change charging sound of stock rom, cuz its so annoying, and i cant turn it off. So I wanted to change it, but ZTE is so cocky, that I m not able to find charging sounds in system/media/sounds/ui. I was able to change lock, unlock, touch and keyboard sounds, but charging ones are no wherw to be found. Does anyone know where is the file of charging sound in stock rom? (i wasnt able to find it in LineageOS as well, but on Xiaomi Redmi Note 4)
xzolteu said:
Hi, I wanted to change charging sound of stock rom, cuz its so annoying, and i cant turn it off. So I wanted to change it, but ZTE is so cocky, that I m not able to find charging sounds in system/media/sounds/ui. I was able to change lock, unlock, touch and keyboard sounds, but charging ones are no wherw to be found. Does anyone know where is the file of charging sound in stock rom? (i wasnt able to find it in LineageOS as well, but on Xiaomi Redmi Note 4)
Click to expand...
Click to collapse
They're not in media but under system/priv-app/SystemUI_ZTE/
Look into the apk under res/raw/
There you have your charging.ogg
raystef66 said:
They're not in media but under system/priv-app/SystemUI_ZTE/
Look into the apk under res/raw/
There you have your charging.ogg
Click to expand...
Click to collapse
Ok, I copied systemui.apk from the location that you told me, then i replaced that charing.ogg. But now, when I copied it back (even from TWRP, or es file explorer), it feels like system dont see SystemUI.apk. The screen is totally black, and on first reboot I didnt have status bar. I fixed permissions, cleared chaches, and still nothing. Even if I copy back the original systemui.apk, its still the same. Im rocking your port of mifavor 5.0, do you know the solution how to properly install modified systemui.apk?
xzolteu said:
Ok, I copied systemui.apk from the location that you told me, then i replaced that charing.ogg. But now, when I copied it back (even from TWRP, or es file explorer), it feels like system dont see SystemUI.apk. The screen is totally black, and on first reboot I didnt have status bar. I fixed permissions, cleared chaches, and still nothing. Even if I copy back the original systemui.apk, its still the same. Im rocking your port of mifavor 5.0, do you know the solution how to properly install modified systemui.apk?
Click to expand...
Click to collapse
Most likely a signing problem or possible a clean flash needed.... (that is if you changed permissions right and so on....i cannot judge from here )
But as only res has to be modified i'd see no problem..
If you send me the ogg files you want to replace in the apk, i'll look into that and do a test myself.
raystef66 said:
Most likely a signing problem or possible a clean flash needed.... (that is if you changed permissions right and so on....i cannot judge from here )
If you send me the ogg files you want to replace in the apk, i'll look into that and do a test myself.
Click to expand...
Click to collapse
ok, pm
raystef66 said:
Most likely a signing problem or possible a clean flash needed.... (that is if you changed permissions right and so on....i cannot judge from here )
But as only res has to be modified i'd see no problem..
If you send me the ogg files you want to replace in the apk, i'll look into that and do a test myself.
Click to expand...
Click to collapse
xzolteu said:
ok, pm
Click to expand...
Click to collapse
i'm guessing you didn't change the permissions after putting it back, though, isn't it?
xzolteu said:
ok, pm
Click to expand...
Click to collapse
Glad it worked ! Needed more then a bit of permissions
These chinese ones are more stubborn as other roms. Therefore i deodexed the SystemUI_ZTE.apk
ONLY WORKING ON V2.0.0B13 (SL!M) Mifavor5.0
Here is the deodexed file : https://androidfilehost.com/?fid=818070582850495598
Just extract it and replace existing in system/priv-app/SystemUI_ZTE/ and change to 644
And you'll have another "charging" tone

Categories

Resources