[Q] Bootloop from replacing services.jar - Galaxy S 4 Q&A, Help & Troubleshooting

Hi everyone,
I have a bootlooping issues. I replaced my services.jar with one from another rom. Now my phone bootloops every time it reaches the lockscreen.
I still have my original services.jar in the internal memory of my phone.
Could someone point me in the right direction to restore my original services.jar ?

You could use the build in file manger in your custom recovery

If the built-in file manager doesn't work, creating a flashable zip with your services.jar would.

Lennyz1988 said:
You could use the build in file manger in your custom recovery
Click to expand...
Click to collapse
Strephon Alkhalikoi said:
If the built-in file manager doesn't work, creating a flashable zip with your services.jar would.
Click to expand...
Click to collapse
Thank you guys I used the builtin file manger in recovery and replaced the file. Device booted up! :good:

Related

NC Formatting Questions

I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
SacTappingUni said:
I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
Click to expand...
Click to collapse
If you are running CM7 on SD you do not flash zips to it with ordinary CWM. Ordinary CWM will flash things to emmc. But maybe that is what you are trying to do. You do not say what you have on emmc.
If you want to flash the zip to the SD installation, make sure the zip file starts with update- and put it in the boot partition just like you do for roms. Then boot to SD recovery and the script will install it to SD.
An alternate way to flash things to SD installed CM7 is to use a special CWM modified for use on SD installs. You can read about and get it by looking at my tips thread linked in my signature. Item B5.
If you want to flash to emmc, make sure you are using an ordinary SD to put the zip on. Ordinary CWM always looks for partition one on the sd for the zip file. On your CM7 SD, the file is on partition 4 so CWM cannot find it.
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
You need to find out if it is a flashable zip... or if it is an app that has been zipped... I'm betting on the latter.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
If it is a flashable zip like Dizzy pointed out, you should rename to update-HoneyCombClock.zip. But I agree with Dizzy that it is probably a zipped apk file, not a flashable zip. Try looking at it with a zip program and see what you get.
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
SacTappingUni said:
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
Click to expand...
Click to collapse
Yes, it is what shows up on your PC when you take the card out of the nook and put it in the PC. Copy the zip there, rename it like I suggested above, put back in nook. When booting hold the n key until the boot menu comes up. Select SD and recovery and finish booting. The recovery script will install the zip.
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
SacTappingUni said:
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
Click to expand...
Click to collapse
And you renamed it like I said with update- on the front? (Don't forget the dash and no spaces.)
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
SacTappingUni said:
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
Click to expand...
Click to collapse
and .zip at the end?
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
Even if you get it flashing with your SD setup... it may not work if it requires honeycomb and you're running gingerbread.
It's meant for cm7. Here's a link to the thread I got the zip from: http://forum.xda-developers.com/showthread.php?t=959602
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
What does the script say when it boots to SD recovery? Does it say install zip not found? And when you take it back out and look at it in the PC, is it still there? If it installed, the script will remove it. I know you can have your PC set to not show known extensions so it looks like it is missing. Temporarily disable that so you can really see the name. The script requires that it be named precisely, update- at the beginning, .zip at the end and no spaces.
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
SacTappingUni said:
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
Click to expand...
Click to collapse
No the existing rom will make no difference. It could be the zip itself. It has to be structured like a rom zip. It needs a /system directory with the files you want to flash. And it needs a META-INF folder with the script file buried in it. Where did you get the zip? Maybe I could look at it for you.
EDIT: I just downloaded and looked at it. It is just adding a single font to your /fonts folder. Nothing else. You can do that manually with root explorer. Just extract the font from the zip and copy to /system/fonts.
I got the zip from here: http://forum.xda-developers.com/showthread.php?t=959602
The clock can be flashed on any device with the following zip in recovery just like before.
http://www.mediafire.com/?b6xpw0pda671ujm
Click to expand...
Click to collapse
The zip has a font file and a meta-inf folder.
Look at my edit above
I replaced the file, but now I'm in an infinite bootloop.It just keeps doing the skateboarding android animation. Please tell me this isn't a problem with permissions. I don't know if I can even edit permissions now.

CWM zip file issue

I am using an unlocked and rooted Nexus 4 and am attempting to install the battery display mod. I have downloaded the zip file to the phone but for some reason CWM (through recovery at boot) is not seeing the file. I have tried moving the file to various locations including the root directory of the sd card but CWM still cannot find it. I've performed this task a zillion times on other phones so I must be missing something real obvious.
Thoughts? Any help would be greatly appreciated!
bump........Anyone?
CWM will only show zip files. Did the file extension get messed up?
estallings15 said:
CWM will only show zip files. Did the file extension get messed up?
Click to expand...
Click to collapse
it is a *.zip extension!
ignore this thread.....problem solved......not sure why but file is now visible!!!???

[HELP] Boot-loop

Dude!! Every time i tried to replace my stock framework-res.apk by my modded framework-res.apk with root explorer my phone automaticly start a reboot and strucked at Samsung logo !!
Anyone knows how to replace framework-res.apk without bootloop??
1hewar10rd said:
Dude!! Every time i tried to replace my stock framework-res.apk by my modded framework-res.apk with root explorer my phone automaticly start a reboot and strucked at Samsung logo !!
Anyone knows how to replace framework-res.apk without bootloop??
Click to expand...
Click to collapse
Did u signed ur modified apk and yeah try to replace it through aroma file manager
1hewar10rd said:
Dude!! Every time i tried to replace my stock framework-res.apk by my modded framework-res.apk with root explorer my phone automaticly start a reboot and strucked at Samsung logo !!
Anyone knows how to replace framework-res.apk without bootloop??
Click to expand...
Click to collapse
dont use rootex to replace framework res
use flashable zip
aniket.lamba said:
Did u signed ur modified apk and yeah try to replace it through aroma file manager
Click to expand...
Click to collapse
Yes !! Framework-res.apk is signed!!
Are u sure about aroma file manager coz if it fails then i have to restore my system again !! Any way i will try it dude!! :thumbup:
Minions_Army said:
dont use rootex to replace framework res
use flashable zip
Click to expand...
Click to collapse
Some time i make a wrong flashable zip and again boot-loop !!

[Q] Beats audio flashed accidentally

Im using hyperion 8. i accidentally flashed beats audio zip from rocko devs website in hyperion 8. now i cant open "sound effects" in settings.
Message:
The application Equalizer (process com.bel.android.dspmanager) has stopped working.
is there a solution other than reflashing hyperion 8
Unzip mod zip
unzip rom zip
Replace the files in the mod zip with ones from rom zip
rezip and Flash
manually delete any extra files that were in mod zip but not rom zip
Of course it's much easier to restore your nandroid backup but for some reason no one here ever makes one even though I keep telling people to
doubt
marcussmith2626 said:
Unzip mod zip
unzip rom zip
Replace the files in the mod zip with ones from rom zip
rezip and Flash
manually delete any extra files that were in mod zip but not rom zip
Of course it's much easier to restore your nandroid backup but for some reason no one here ever makes one even though I keep telling people to
Click to expand...
Click to collapse
thanks for the fast reply. as you said i dont have a nandroid backup
i have one more doubt. will it replace all files added by the original mod zip? or just add new files from rom?
adithyaappu said:
thanks for the fast reply. as you said i dont have a nandroid backup
i have one more doubt. will it replace all files added by the original mod zip? or just add new files from rom?
Click to expand...
Click to collapse
You replace any files from the mod zip with ones from the rom zip
by flashing it you are replacing the files from the mod zip with ones from the rom zip
Any extra files that are in the mod zip but not in rom zip Manually remove with a root browser
This should then put your phone back to pre mod flashing
Remember ALWAYS make a nandroid backup in future
thanks
marcussmith2626 said:
You replace any files from the mod zip with ones from the rom zip
by flashing it you are replacing the files from the mod zip with ones from the rom zip
Any extra files that are in the mod zip but not in rom zip Manually remove with a root browser
This should then put your phone back to pre mod flashing
Remember ALWAYS make a nandroid backup in future
Click to expand...
Click to collapse
sorry if that was a stupid qn. im a noob. actually i got confused when i read your post. now im clear
i will make a nandroid backup in the future.

Edited build.prop now device wont turn on :(

Hey guys, just wondering how I go about making a flashable zip? Basically I edited my build prop and now my phone wont turn on, I don't want to go and have to wipe my phone as that's just a huge mess about. I did a backup of my build prop and copied over to my computer before editing so I do have the original. I'm rooted with TWRP installed, I've tried to sort it through adb when connected in recovery but the driver wont install so that's not an option at the minute. As I have the original build prop I wanted to know if it's possible to make a flashable zip so I can just replace the broken file with the working one? Cheers guys.
Daley87 said:
Hey guys, just wondering how I go about making a flashable zip? Basically I edited my build prop and now my phone wont turn on, I don't want to go and have to wipe my phone as that's just a huge mess about. I did a backup of my build prop and copied over to my computer before editing so I do have the original. I'm rooted with TWRP installed, I've tried to sort it through adb when connected in recovery but the driver wont install so that's not an option at the minute. As I have the original build prop I wanted to know if it's possible to make a flashable zip so I can just replace the broken file with the working one? Cheers guys.
Click to expand...
Click to collapse
Pretty easy: Copy the unmodified build.prop file to an SD card. Put said card in the phone. Boot to TWRP. Mount both System and SD Card. Then go to ADVANCED and FILE MANAGER. From there you can rename the modified one in /system, copy the original file from the SD card, and then set its perms correctly.
Your phone should boot properly then.
Hope this helps!

Categories

Resources