Need help replacing a single file in system folder - LG Optimus 2x

Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx

Dkzs said:
Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx
Click to expand...
Click to collapse
Here, attached. The file on mediafire is larger than "my" stock services.jar though, don't know what that is about.
Anyway, flash it via CWM, wipe dalvik-cache, and you should have your original back.
Now that I've done you a favor, you can do me one: Look up ADB on the .net. Even on an unrooted phone you can boot into CWM, mount /system and run ADB-commands to replace single files like this. It will probably save you some time.

Related

[REQUEST] Samsung Glass Lockscreen

Hi,
I have searched the forum and couldn't find a solution for this one.
It seems easy (or at least, doable) to go from Samsung glass lockscreen to android stock. But how about the other way around?
I am using Darky's ROM which has a custom lockscreen, could anyone advise where I could get the standard Samsung lockscreen from as I kind of preferred the fact that I could swipe in any direction!
Thanks!
This is probably the file you need. It's from JPM, deodexed.
Installing it is up to you. Root Explorer is probably going to be the easiest way.
I highly advise making backups before doing anything.
widgetlocker.v1.2.4 its OK
Lalaca said:
This is probably the file you need. It's from JPM, deodexed.
Installing it is up to you. Root Explorer is probably going to be the easiest way.
I highly advise making backups before doing anything.
Click to expand...
Click to collapse
Any advice as to how I go about using it? I already have Root Explorer. Thanks!
Easy, copy a stock android.policy.jar to /system/framework/ folder (replace it using roote explorer or similar).
Here is mine.
I will upload an update.zip later.
Copy, paste and reboot, then wait, first boot will be a little slower than usual.
### Update ###
Download Old lockscreen.zip, rename to update.zip, copy to internal sd, reboot into recovery and apply update or use CW to apply zip from sd.
Tested and working on JPM / JP6 (not tested on not deoxed rom...)
Work with CW or 2nd recovery (need to be renamed to update.zip)
First boot will be slow.
franklin01 said:
Easy, copy a stock android.policy.jar to /system/framework/ folder (replace it using roote explorer or similar).
Here is mine.
I will upload an update.zip later.
Copy, paste and reboot, then wait, first boot will be a little slower than usual.
### Update ###
Download Old lockscreen.zip, rename to update.zip, copy to internal sd, reboot into recovery and apply update or use CW to apply zip from sd.
Tested and working on JPM / JP6 (not tested on not deoxed rom...)
Work with CW or 2nd recovery (need to be renamed to update.zip)
First boot will be slow.
Click to expand...
Click to collapse
I saw this post of yours before you uploaded it as a zip and just copied into the right folder through Root Explorer, has worked a treat! Big thanks to you!

Galaxy s I9010 back to stock and/or Cyanogenmod (GPS and everything 100% working))

Hey guys,
i wrote a small tutorial for all this people which have the galaxy s i9010 ( its like the captivate only for german market [armani] ) and want install Cyanogenmod with 100% WORKING GPS.
That was really the main problem, but i solved it with the help of this forum.
please extract all my files, i had to compress them but you cant use them as zip!
First of all go back to stock with your phone. You can download all files from http://www.sammobile.com/showthread.php?t=20 but pay attention:
If you dont use the following files, your phone wont work.
Donwload BOTH Firmwares and choose these 3 files for flashing with Odin:
-GT-I9010-CSC-MULTI-OXA902407.tar.md5 (444,851 mb) --> CSC
-I9010XXKB2-REV00-ALL-low-CL909299.tar.md5 (279,501 mb) --> PDA
-MODEM_I9010XXJK9_REV_00_CL737172_SIGNED.tar.md5 (12,291 mb)--> PHONE
Now you are on stock and everything is working fine but you have Android 2.2
Download the latest Cyanogenmod for Samsung CAPTIVATE on http://www.cyanogenmod.com/
- extract all files into a new folder
- replace the existing modem.bin with the JK9-Armani-modem (same name Modem.bin)
- open with notepad and edit the file META-INF/com/google/android/updater-script
- change all entries “SGH-I896” to GT-I9010 [found this solution here] http://forum.xda-developers.com/showpost.php?p=15822109&postcount=67
- save the file and compress via 7-zip to a new zip-file ( mark all files and folders --> right-click --> 7-Zip --> add to XXX.zip
- put this new zip-file into your sdcard
- Now root your phone via "onecklickroot" ( enable USB-debug and dont forget restart after that) http://forum.xda-developers.com/showthread.php?t=803682
- replace this 3e_recovery file with the existing in System/Bin
- install Rom-manager and install clockworkmod (choose samsung captivate)
- reboot into recovery menu and press 2 times "reinstall packages", after that you start into the clockworkmod
- choose install zip from sd and choose your created zip-file
- copy stock gps files to your internal sd
- start root-explorer and copy all files (the folder gpsd to system/bin
the both files to system/etc)
-reboot phone
OPTIONALLY
you can install "gapps", if you need apps like google-market. You do it same like installing Cyanogenmod, reboot into recovery, install from sd etc.http://goo-inside.me/gapps/
you can use the really nice HTC-keyboard, just put the two keyboard files on your sd card, install them and choose settings/language and keyboard HTC_IME
to activate the keyboard go to sms and press a long time into the text field, now you can choose your input method
Have fun and enjoy your galaxy s I9010 with Android-Version 2.3.7
previously it was very difficult to flash I9010, this post was like real itinerary for me. ThankY!
Though even here i've made a mistake
At the 1st step while flashing with Odin DONT MARK Re-Partition as there is no Pit
No Problem , i know this phone is really difficult to flash back to stock or flash a rom with working GPS
I forgot to upload the PIT, if you need it take it from here.
Greetz from Germany
something seems to be going wrong..
it keeps telling it is updating but it doesnt proceed anymore.
Maybe this is because i cant go back to the original stock rom coz the link is broken (and i dont fully understand th explaination with the 3 files and what to do.
I have a stable andromeda 3 build running but my gps isnt working.
I already copied the gps files into their destination folders(and it asked me to replace so i did this properly).
Should my gps work when i did this or should i take additional steps to get it running?
Thanks in advance
seems like i only miss the 'phone' file , the rest i found via google on the samware site , only the phone file (and the pit , but that one is here already) i still dont have , anyone can help?
Hey yoshiwa,
you need to download all files you can get for samsung i9010 on the samfirmware site. After downloading and extracting you have 5 files, but you only need the three i posted. Its really recommend that you flash back to stock before flashing a new rom.
armani26 said:
Hey yoshiwa,
you need to download all files you can get for samsung i9010 on the samfirmware site. After downloading and extracting you have 5 files, but you only need the three i posted. Its really recommend that you flash back to stock before flashing a new rom.
Click to expand...
Click to collapse
We could install gingerbread bootloader to our I9010 to install custom GB roms?
- replace this 3e_recovery file with the existing in System/Bin
Click to expand...
Click to collapse
Sorry this is the only thing i did not understand?
yoshiwa said:
something seems to be going wrong..
it keeps telling it is updating but it doesnt proceed anymore.
I have the same problem.
Click to expand...
Click to collapse
@MikeFRG
in your folder System/Bin exist a file named recovery. You must overwrite it via root-explorer with the new recovery-file (the modded 3e_recovery file )
@ erycx and szika87
you dont need any bootloaders, just download Odin put in the right fields the right files. You need phone, CSC, PDA, and the small pit file... and it works
Thanks man! It really does work for me. CM7 & CM9
Thank you. It work for my 9010 ARMANI. First I've installed th CM7 and used it for a month without any trouble. Now I used your manual to do the same with CM9. Really cool. It seems to be ok.
Hello.
I flashed a I897 Stock GB ROM on my Armani and my phone modem is not working anymore.
Can you please help?
bbogdanmircea said:
Hello.
I flashed a I897 Stock GB ROM on my Armani and my phone modem is not working anymore.
Can you please help?
Click to expand...
Click to collapse
The whole instructions are in the OP, read it, understand it and follow it.
Thanks, now I am back on I9010 stock.
Can you confirm that all the file links that you posted are working?
I will try and download all files and follow the steps.
Now after going through I897 without phone modem, then bootloop, the back to Armani I can say that I got some experience with Odin and
flashing.
Anyhow do you have any idea why on ROOTED 2.2 ROM Manager will not flash the Clockwork even if it says that it is successfull?
Well now with stock 2.2 and factory reset and everything wipe the phone seems to be moving really fast compared to before I started the whole process.
What can you say about the Cyanoged, how is it working in terms of speed and lagfix?
Thanks!
Will get back.
PS: Now that I looked into the OP I saw that still a Clockwork in needed for installing Cyanogen, but I cannot install Clockwork so I cannot follow your instructions.
Is there any other way to install custom recovery except the ROM Manager application?
bbogdanmircea said:
Thanks, now I am back on I9010 stock.
Can you confirm that all the file links that you posted are working?
I will try and download all files and follow the steps.
Now after going through I897 without phone modem, then bootloop, the back to Armani I can say that I got some experience with Odin and
flashing.
Anyhow do you have any idea why on ROOTED 2.2 ROM Manager will not flash the Clockwork even if it says that it is successfull?
Well now with stock 2.2 and factory reset and everything wipe the phone seems to be moving really fast compared to before I started the whole process.
What can you say about the Cyanoged, how is it working in terms of speed and lagfix?
Thanks!
Will get back.
PS: Now that I looked into the OP I saw that still a Clockwork in needed for installing Cyanogen, but I cannot install Clockwork so I cannot follow your instructions.
Is there any other way to install custom recovery except the ROM Manager application?
Click to expand...
Click to collapse
ROM Manager doesn't support the Captivate. You'll need to flash a custom kernel using Odin (speedmod for 2.2). The only thing I dunno is if it's compatible with the I9010.. But before doing so, you wanna do all the other steps with CM (changing the updater.script and such) and have it on the root of your internal.
After flashing speedmod, you'll be booting directly in recovery to flash the modded CM. Don't forget to grab the Gapps.
It would be really great if you:
1.put link to speedmod kernel and how to flash it on stock 2.2
2.put a link to the modified zip CM archive for I9010
The guide on how to do it.
For now I will wait for these files and a complete guide, I don't want to mess my I9010 again.
I got last CM and tried to modify updater.script, I replaced I896 with I9010, then I observed
I897 also. Should also I897 be replaced to I9010.
Wouldn't it be better if you could post all the modified files that needed to be put into the zip,
or the full zip for the Armani?
Thank you and waiting for the files and steps if you would be so generous.
bbogdanmircea said:
It would be really great if you:
1.put link to speedmod kernel and how to flash it on stock 2.2
2.put a link to the modified zip CM archive for I9010
The guide on how to do it.
For now I will wait for these files and a complete guide, I don't want to mess my I9010 again.
I got last CM and tried to modify updater.script, I replaced I896 with I9010, then I observed
I897 also. Should also I897 be replaced to I9010.
Wouldn't it be better if you could post all the modified files that needed to be put into the zip,
or the full zip for the Armani?
Thank you and waiting for the files and steps if you would be so generous.
Click to expand...
Click to collapse
I don't have a I9010 so Idk much about it. I'm only using the search function (as you should) to find the information I provided you with.
No, I don't have time to get the CM10 zip and change all the script but it's really easy to do. Just search all the SGH-I896 and SGH-I897 and replace them with SGH-I9010. Easy enough.
Speedmod kernel can be found using the search function in the Dev section.. Get the .tar version of it as you will be flashing it with Odin.
As for CM, the whole instructions are already in the OP, if you want a link, I'll just link the OP...
Friendly advice: Go read and understand what you're doing otherwise you'll end up with a bricked phone.
Ok so I will ask more questions until I get it right:
- replace this 3e_recovery file with the existing in System/Bin
- install Rom-manager and install clockworkmod (choose samsung captivate)
- reboot into recovery menu and press 2 times "reinstall packages", after that you start into the clockworkmod
Will these steps work if I dont install the speedmod kernel? Are these steps going to get me the clockwork recovery?
Can I pack the files also with Total Commander zip utility, or I have to use 7zip?
I downloaded cm-10.0.0-captivatemtd
I modified the updater script, I will post it here, can you check that this is ok:
Hello.
Back with a feedback about your instructions and a problem that I had:
I did the following steps:
1.I downloaded latest cm10 and decompressed to a folder
2.I copied the modem.bin that you provided and the updater.script that I posted earlier and then compressed back with 7zip, copied the zip to
my sdcard
3.I copied the recovery file on System/bin with Root_explorer
4.I installed ROM Manager and flashed Clockwork
5.I rebooted 2 times and did reinstall packages, then after that I got to the clockwork recovery
6.I selected install sdcard from zip and selected the image that I modified
The install then started but it halted to an error related to update.zip, it kept showing an option that said to select update.zip,
or some other options, something with adb and so on...
I kept on selecting the cm.zip but it kept on showing the error with update.zip, I selected update.zip but still it showed off the error.
From what I saw on the screen, the error was related to what it is checked in the updater.script, cm is looking for GT-i9010 but in
update.zip you have only captivatemd or something like that...
Are you sure there is no need of an modified update.zip archive on my sdcard too???
After this I got the battery out, put in on Download mode and flashed back to the Armani firmware, now it is back and running,
but I am so sad that I couldn't install CM10.
If you have any ideas why it didn't work please get back with some info, also can you check the updater.script that I posted or better that this,
can you post a modified working cm archive for Armani ???
Thanks a lot!

[Q]I9001 Battery mod

Hello everyone,
Can someone please inform and post a thread link of a battery mod that works on the i9001? By battery mod I mean small zip file that is installed from recovery and changes the stock battery meter
You can make it yourselt.
1. Use Root Explorer to get your framework-res.apk file
2. Go to http://uot.dakra.lt/ to customize it yourselt.
3. Go to http://forum.xda-developers.com/showthread.php?t=1253707 to download the Root-i9001-Signed.zip
4. Put the modified framework-res.apk in the above zip file and delete the unneeded files.
5. Update the updater-script file, resign the zip file.
6. Flash the zip file in recovery.
Do you like this one?
quest221 said:
You can make it yourselt.
1. Use Root Explorer to get your framework-res.apk file
2. Go to http://uot.dakra.lt/ to customize it yourselt.
3. Go to http://forum.xda-developers.com/showthread.php?t=1253707 to download the Root-i9001-Signed.zip
4. Put the modified framework-res.apk in the above zip file and delete the unneeded files.
5. Update the updater-script file, resign the zip file.
6. Flash the zip file in recovery.
Do you like this one?
Click to expand...
Click to collapse
If you use manveru0's kernal and recovery you can now flash the update files as they come from the kitchen
quest221 said:
You can make it yourselt.
1. Use Root Explorer to get your framework-res.apk file
2. Go to http://uot.dakra.lt/ to customize it yourselt.
3. Go to http://forum.xda-developers.com/showthread.php?t=1253707 to download the Root-i9001-Signed.zip
4. Put the modified framework-res.apk in the above zip file and delete the unneeded files.
5. Update the updater-script file, resign the zip file.
6. Flash the zip file in recovery.
Do you like this one?
Click to expand...
Click to collapse
Hmm... yes, nice, but I'm not in to designing things. I was looking for something that has been already created
what's the version of your Rom?
quest221 said:
what's the version of your Rom?
Click to expand...
Click to collapse
Firmware version : 2.3.4
baseband version I9001XXKP4
Kernel Version : [email protected] #7
Build Number : GINGERBREAD.XXKP4
I use Go launcher (from my opinion it's the best), if you think otherwise please post the better launcher, I am opened to experiment others.
Many thanks,
Ciprian
I don't have a I9001XXKP4 Rom in my hard drive. If you can send your your framework-res.apk, I can make one for you.
quest221 said:
I don't have a I9001XXKP4 Rom in my hard drive. If you can send your your framework-res.apk, I can make one for you.
Click to expand...
Click to collapse
I would like something like http://img225.imageshack.us/img225/9943/smoothbatt.png if it is possible.
I have attached framework-res.apk
opps a
hey guys!
just used this. twice great kitchen, really revamped some of the more boring icons on stock roms. thanks for the tip!!
1framework-res_I9001XXKP4_signed.zip is the file that I updated the updater-script so you can flash it in the in-build recovery.
1framework-res_I9001XXKP4_original_signed.zip is your original file. If there are any issues, you can flash it back in the in-build recovery.
How to:
Copy the zip file to the internal SD card, not the external one, go to recovery, flash it.
quest221 said:
1framework-res_I9001XXKP4_signed.zip is the file that I updated the updater-script so you can flash it in the in-build recovery.
1framework-res_I9001XXKP4_original_signed.zip is your original file. If there are any issues, you can flash it back in the in-build recovery.
How to:
Copy the zip file to the internal SD card, not the external one, go to recovery, flash it.
Click to expand...
Click to collapse
Thanks, exactly what I needed. I flashed it and all is ok
quest221 said:
1framework-res_I9001XXKP4_signed.zip is the file that I updated the updater-script so you can flash it in the in-build recovery.
1framework-res_I9001XXKP4_original_signed.zip is your original file. If there are any issues, you can flash it back in the in-build recovery.
How to:
Copy the zip file to the internal SD card, not the external one, go to recovery, flash it.
Click to expand...
Click to collapse
can i use it on 2.3.6 rom?
nope because you will end up in a bootloop by flashing this
its only for XXKP4
urm, Ive tried to do as you told in post number 2(by cooking it according to my own preference)
but my problem starts from step number 5
5. Update the updater-script file, resign the zip file.
Click to expand...
Click to collapse
I already received the cooked file
but I dont know how to change the update script and end up failing to update using the zip file.
can you please help me?
or link me to a place that really can help me to learn better on changing the update script.
try this one, I updated the updater-script, you can compare it with the one from kitchen.
PS: Forgot to update the update-binary file, now try the new one. It should work.
Thanks!!!! But I got an error that states
E:error in /tmp/sideload/package.zip
(status 2)
I wonder whats wrong.
looked in a thread
http://forum.xda-developers.com/showthread.php?t=1194245&page=3
and from what I understand it seems to be a problem with the update binary. But Im just an end user and this is too much for me.
anyway maybe Ill try to flash the cranium ROM and try to cook again a new one and use your update script.
cheers!!
Hi,
Is there any posibility to change framework-res.apk file without CWM? I don't want to instal CWM becouse of it has a problem with front side cam and I need this cam. It's can't be overwritten when the phone works. Maybe some adb and push command is possible.
Could you help me by describing the whole procedure? Sorry for my English.
@quest221
Can you maybe make one for Android 2.3.5 like the screenshot @ page 1?
I have baseband I9001XXKPF, Build XXKPG
I update the zip file with the new update-binary file.
Is there any posibility to change framework-res.apk file without CWM?
Click to expand...
Click to collapse
Yes, I just use the recovery from Samsung, not the third-party.
Check the post #2, that's the steps. Also replace the update-binary file with the one in my zip file.
Can you maybe make one for Android 2.3.5 like the screenshot @ page 1?
Click to expand...
Click to collapse
Upload your framework-res.apk file.

Q. HELP (how to)make flashable zip of build.prop

i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
mj111996 said:
i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
Click to expand...
Click to collapse
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
mj111996 said:
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
Click to expand...
Click to collapse
Maybe you better wait for custom recovery. With it would be lot easyer. You will have backup to restore.
I just tried it, it is not working because of signature.
Reboot phone In recovery mode, connect usb, run adb shell In PC:
su
mount -o remount system /system
cat /sdcard/build.prop > /system/build.prop
reboot
(Assuming u have a backup build.prop In /sdcard)
Sent from my GT-I9070 using xda app-developers app
i want to avoid
PC part
mj111996 said:
i want to avoid
PC part
Click to expand...
Click to collapse
Then you have to wait custom recovery.
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
mj111996 said:
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
Click to expand...
Click to collapse
I did not try, but I think you can. Just make it CWM compatibile. I have empty zip that is compatibile with TWRP, but I do not know if it is compatibile with CWM. I will try it later.
will wait for you to test
build.zip
mj111996 said:
will wait for you to test
build.zip
Click to expand...
Click to collapse
This CWM is buggy. When I press option install from SD - it refresh. I needed 3 times to push restart to get phone restarted. I am waiting for fully working CWM, and I will try then. I am not pushing my luck after problems with TWRP last time.
YES solid explorer works,
changed to S2,
RESOLVED
Use another .zip that extract things to system, if u replace files In the cwm zip it wont work because of the update-script inside
Sent from my GT-I9070 using xda app-developers app
what you mean exactly?
shut_down said:
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
Click to expand...
Click to collapse
Man, you just saved my phone by this zip. Thank you
Hi, I know this is an old h thread but I'm pretty sure this will be handy to someone
Try this app for an easy way to make an update.zip It's still in beta but seems to be working fine on my N7100 so give it a go...
Zip.me can be found here (playstore)
Cheers

Help with .backup file.

My neighbor's phone was locked out by AVG and I dont want to reset it because of important notes and messages. I cant connect ADB since he hadn't enabled Debugging. I went to stock 3e recovery and took backup fro there and got .backup file in internal storage. I want to edit this file and remove the AVG and restore it back. How do I do so?
muftiazan said:
My neighbor's phone was locked out by AVG and I dont want to reset it because of important notes and messages. I cant connect ADB since he hadn't enabled Debugging. I went to stock 3e recovery and took backup fro there and got .backup file in internal storage. I want to edit this file and remove the AVG and restore it back. How do I do so?
Click to expand...
Click to collapse
Unpack system.ext4.tar and delete AVG from /system/apps. Dont know if work but you can try.
As I said before, I have stock recovery and I got .backup file format in stock recovery.
Sent from my HTC One
muftiazan said:
As I said before, I have stock recovery and I got .backup file format in stock recovery.
Sent from my HTC One
Click to expand...
Click to collapse
Yes i understand now, you cant have access to that file.
Make a update.zip to replace build.prop and add this line in prop file.
persist.service.adb.enable=1
Edit: flash cwm first
Will cwm reset anything?
Sent from my HTC One
muftiazan said:
Will cwm reset anything?
Sent from my HTC One
Click to expand...
Click to collapse
No, CWM recovery is just to flash the update.zip with the modded build.prop.
If you have stock rom installed, download stock rom and unpack system.img to get the build.prop file.
CWM can be flashed with SP Tools

Categories

Resources