Need Services.odex from /system/framework or 4.4 KTU84Q - Nexus 5 Q&A, Help & Troubleshooting

I'm asking this because when doing an OTA manual update I'm getting this error and error code 7.
IDK how the framework got edited, never did anything on the rooted N5 but installed lucky patcher.
Also I do not have unlocked bootloader and want to retain my files, so I guess flashing is not an option here.
Other modified files are
Services.jar
Serviceitems.jar
I can give 0.2 BTC to who ever helps me. Please help me guys

I'm asking this because when doing an OTA manual update I'm getting this error and error code 7.
IDK how the framework got edited, never did anything on the rooted N5 but installed lucky patcher.

Other edited files are
Services.jar
Serviceitems.jar
Please help me people

please help me people.. It's a humble request.

Download the factory image and flash it but edit the flash-all.bat to remove the -w switch and it'll flash the factory image without wiping the phone. You can then do the OTA

Can you please explain it to me.. In detail.. I'm actually a noob

I can give 0.2 BTC to who ever help mes. Please help me guys

If you're a n00b why were you mucking about with your phone in the first place?
1. Download the KTU84Q factory image and extract it to your fastboot folder.
2. Open the flash-all-bat file in Notepad++ (download it if you need it) and edit the line flashing the ZIP file to remove the -w switch so it doesn't wipe the phone
3. Save the file and run it with the phone connected in fastboot mode and it'll reflash the factory image but not wipe the phone (it'll also remove any changes you've done)
4. Flash the OTA

If this works i need you BitCoin address Please PM me one

Related

[I9003][MOD] Modded Stock Recovery (allow test-signed update.zip)

WELCOME ROM & THEME DEV!!!
Hi all.... since the work on CWM is longer than i wish i have done this MOD that - for the moment - can help all.....
This is the custom recovery modded by me to allow the installation of update.zip signed with the test key.
Attached at this post you can find:
- The PDA that must be flashed with odin;
- The tool for signing your custom update.zip
Update.zip must be signed like so:
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 your-update.zip signed-update.zip
Very important is the "-w" that mean ( if i remember well) whole file.
To enter in recovery mode the combo is VOL-UP + Home + POWER
Hope you enjoy it!
UPDATE: I attach also an update.zip that will install Microbes Live Wallpaper, maybe you don't like it but sure it can help you on building you own update.zip. PLEASE STUDY IT!
IMPORTANT: System folder maybe cannot have more space, in this case the update.zip will i attached not work until you haven't deleted some bloatware like aldiko and other ( in all case i suggest to remove all bloatware). The update.zip that overwrite system files don't have this issue i think.
UPDATE 2: i forgot to tell you that this is based on XXKB3 kernel, it might also with other FW without problem but if you find any issue please PM what firmware is and i'll build the recovery for you.
A guide for n00bs that want build their update.zip - written by trip007in -can be found HERE
Last Thing
Press the Thanks Button if you like my work!
could better explain the steps?
I do not know if I explained well ....
could make a tutorial on how to do?
thanks and sorry for the inconvenience
Flashed succefully
Sent from my GT-I9003 using Tapatalk
Thanks alot man atleast we are on the right track........... excellent work
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
nice dude
it's begin
nice work dude
please can anybody explain what is use of this...? I am new to android & its modifications...
trip007in said:
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
Click to expand...
Click to collapse
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
thx man greet hard work,year after we can install custom rom,kernial,them,apk,etc.. via update.zip will try and tel rex4u release rom update.zip
Skin1980 said:
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
Click to expand...
Click to collapse
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
trip007in said:
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
Click to expand...
Click to collapse
The sign create only the three files inside the folder META-INF, you must create the other folder or simply edit the zip i posted.
If you edit the updater-script and change the first line ui_print("Installing Microbes...") you wil not see Instaling Microbes.
To enter in recovery mode simply shut down your phone then Press VOL UP + HOME (the center keys) + POWER.
Bye!
A little guide for using custom recovery (3e)
Hi Skin, this is a small guide to your recovery for noobs, who need some help for creating or flashing the update.zip files. You are free to link this post to the first post for easy reference.
Download the three attachments on the first post of this thread and save them on your PC.
Flashing Recovery to phone:
1. power down the phone and simultaneously press Vol. down + HOME (Center key) and power on buttons till you see download mode connect the phone to PC through USB.
2. open ODIN on PC and check Auto Reboot and F. Reset Time.
3. Click on PDA and browse to the location where you placed the PDA.tar file from this post. and click start.
Wait for the phone too reboot, the recovery is flashed now.
Preparing the update.zip for flashing.
You do this if you are an experienced user and know the location of the files to be paced on the system partition of phone or avoid this and may use the already uploaded update.zip provided here.
1.First create a folder called ‘updzip’ in c:\ drive, the path would be C:\updzip
2.Place here the contents of the sign-tools in this folder i.e signapk.jar, testkey.pk8 and testkey.x509.pem.
3.Now edit the update.zip file downloaded from this post with the files you want to flash in recovery. This can be done by dragging the files into the zip archive, which can be opened with applications like 7Zip. Alternatively you can extract the contents of the file and place the files to be updated in appropriate folder and rebuild the zip file. The location of this zip file will be the same C:\updzip.
Eg: for flashing system applications you have to place the apk files in system/app inside the zip. Whereas framework files goes into system/framework.
4.The update.zip contains META-INF folder which is essential for update.zip to work. After placing the files inside zip in appropriate folder(s) you need to sign it using the sign-tools. Before this you have to delete the three files inside the META-INF folder i.e CERT.RSA , CERT.SF and MANIFEST.MF, as these files will be created after signing the whole zip.
5.Now go to command prompt ‘cmd’ and browse to the C:\updzip and sign the zip as follows, assuming you have named the zip as ‘sysap-update.zip’.
Code:
C:\Users>cd c:\updzip
c:\updzip>java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 sysap-update.zip signed-update.zip
c:\updzip>exit
6.Now you will have signed-update.zip in C:\>updzip folder this file should be placed on the SDCARD and name it as update.zip for it to work in recovery.
Flashing update.zip files from recovery:
1.Power down the phone and simultaneously press Vol. up + Home and power on for few seconds till you see the samsung logo and release the keys wait for the phone to enter recovery (3e).
2.Select the option apply sdcard: update.zip, using vol down key to navigate to the option and press home button.
3.After update reboot the phone.
Your files are flashed and system is updated.
Enjoy and Happy Flashing. Now its not easy to screw up/ brick your phone.
@ tripin
dude thanks for this useful post
Later i will update the first post... thanks
Sent from my GT-I9003 using Tapatalk
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Grazie, sei un grande
@ vishal
dude it is a modded stock recovery it is not cwm
thanx krrazy for ur reply...
but can u tell me what is difference between modded stock recovery & CWM...? I m new to android & i m trying to learn all these basics about android modding, backup, rom etc...!!!!
vishal24387 said:
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Click to expand...
Click to collapse
CWM is different and i'm sure it will be ported.... i got it works succesfully but i have problem with the keys so i must review something.
Since tomorrow i leave for two week ( HOLYDAYS!!!) i decided to build this so you can enjoy with it.
When i'll came back i will work hard to port the CWM so please be patient.
Best Reguards.
Skin1980

[q] need help with update script

So i am some what of a noob but not an idiot. I have googled and feel that i have turned up with nothing. besides the updater-script what else do i have to change in META-INF folder to make my rom flashable. if someone could help point me in the right way that be great. My zip consists of a data folder, a system folder and a boot.img. i already know how to sign the zip. i just need help with the code to flash it.i keep getting error 6 in cwm

[Build.Prop] Original JSS15R Nexus 7 2013 (From Stock Image)

EDIT: WIFI ONLY - Not the LTE Version!
Title says it all. Hope this saves someone hours of searching for it like I did before giving up and pulling it from the stock JSS15R image. I know we should all make backups but life happens. This is for all of you [like myself] who found you could not upgrade to Stock 4.4 because of changes to your build.prop file.
In my case I forgot to uninstall a custom framework I had installed on a stock 4.3 image [root but stock recovery] and the 4.4 OTA failed. I never got another prompt to try again from Google so after removing the framework I downloaded the image manually and tried to install it through ADB. Again it failed this time telling me the file build.prop had the wrong checksum. The framework had restored the build.prop but the file checksum was off. The one below was pulled from the original stock image using ext4_unpack. I copied it to my system folder over the "original" and ran the update again. Worked like a charm.
If you run into the same issues try the stock file above. We really should just start a repository for these stock build.prop files.

NJ4 Native Hotspot Fix

Devs,
I modified the framework-res.apk file from NJ4 to remove the <item> lines out of the arrays.xml file:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
I have it working on my phone and native hotspot is working. I couldn't find any further information if anything more was needed to "not be detected" by the network as tethering.
If this is indeed, all that needs to be done, then someone may want to make it an SafeStrap install zip. I'm not sure how to do that.
You can manually add this fix, but will have to follow these instructions to the T, as not doing so will get you in a boot loop. I am not responsible for anything that happens to your phone, and doing anything with this modified file is at your own risk... I use Root Browser as my file manager to make these changes..
THIS ZIP FILE IS NOT FLASHABLE - IT'S MERELY IN ZIP SO IT COULD BE UPLOADED TO XDA..
1) Download zip file and extract it to your computer
2) Move the extracted framework-res.apk file to your SDCard
3) Now, move the file from your SDCard to /system/ (Temporarily).
4) Make a backup copy of the /system/framework/framework-res.apk file to your SDCard in another folder for backup purposes.
5) Change the permissions on the framework-res.apk file that you just copied to /system to 0644
6) Move the framework-res.apk file from /system to the /system/framework folder
7) Overwrite the original framework-res.apk file
8) Reboot your phone
9) Voila, native hotspot is active.
[EDIT TO REMOVE OLD FILE - SEE POSTS BELOW]
Thank you this worked for me
Thank you, rodin95, your steps worked for me on rooted stock NJ4. I installed apk following your steps, changing permissions, etc. Hotspot seem to work fine.
Additional information for those contemplating the same steps:
0644 means: Owner: read,write; Group:read,Other:read.
I used ES File Explorer app.
Before performing the steps: In ES File Explorer, choose "Root Explorer" , then choose "Mount R/W" and then chose "RW" for /system partition, otherwise moving the apk into /system/framework will not work.
Please note that removing the original apk from /system/framework seem to quickly render your phone unusable. So please follow instructions of the original post precisely . Good luck!
Thanks
oiakou said:
Thank you, rodin95, your steps worked for me on rooted stock NJ4. I installed apk following your steps, changing permissions, etc. Hotspot seem to work fine.
Additional information for those contemplating the same steps:
0644 means: Owner: read,write; Group:read,Other:read.
I used ES File Explorer app.
Before performing the steps: In ES File Explorer, choose "Root Explorer" , then choose "Mount R/W" and then chose "RW" for /system partition, otherwise moving the apk into /system/framework will not work.
Please note that removing the original apk from /system/framework seem to quickly render your phone unusable. So please follow instructions of the original post precisely . Good luck!
Click to expand...
Click to collapse
Thank you , i really don't know why he didn't mention that information because it's very important. It really works !
Thanks dude, working on my stock NJ4 rooted i337
Got it going but as mention mine frozen after over writing framework apk, phone rebooted but was in a bootloop. Pulled battery 2 times and still bootloop. So I pulled battery and went into Safestrap recovery/ advanced/ file manger and copied modified framework-res.apk again, over writing, rebooted with no problems and tethering works great. Just a thought and haven't tried it but I remember doing this another time and the instructions were to rename the stock framework app and then copy modified to framework folder? Wonder if this would stop device from freezing up????? Just a thought. Thanks
rodin95 said:
Devs,
I modified the framework-res.apk file from NJ4 to remove the <item> lines out of the arrays.xml file:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
I have it working on my phone and native hotspot is working. I couldn't find any further information if anything more was needed to "not be detected" by the network as tethering.
If this is indeed, all that needs to be done, then someone may want to make it an SafeStrap install zip. I'm not sure how to do that.
Click to expand...
Click to collapse
Glad to see new blood stepping up and contributing. Good work! Feel free to take one of these zip files, rename it for the new firmware, toss in your apk, and make it ss flashable. Again thanks for stepping up!: http://forum.xda-developers.com/showthread.php?t=2787681
muniz_ri said:
Glad to see new blood stepping up and contributing. Good work! Feel free to take one of these zip files, rename it for the new firmware, toss in your apk, and make it ss flashable. Again thanks for stepping up!: http://forum.xda-developers.com/showthread.php?t=2787681
Click to expand...
Click to collapse
Thank you for the steps you posted Muniz to repack it with Rodin_25 apk.
Flashed with SS from the instructions from original http://forum.xda-developers.com/showthread.php?t=2787681
Thank you Rodin_25 for the apk!
NJ4 SafeStrap Flashable file (thanks @muniz_ri)
lordnihilusmd said:
Thank you , i really don't know why he didn't mention that information because it's very important. It really works !
Click to expand...
Click to collapse
I didn't mention that because I mentioned that I use Root Browser in the posting, and it didn't require the steps you guys mentioned.
NP to all of you! Glad I was able to assist with this
I'd like to learn - how did you modify the framework-res.apk file?
I've extracted the file framework-res.apk, but don't see a file called "arrays.xml". I assume it's contained in the resources.arsc file. How did you extract it from the resources file and then repackage it after you modified the xml?
I've unsuccessfully Googled. Is there a tutorial you can link me to?
Thanks!
install
Excuse the noob here but if I understand correctly I need to root my phone, install SafeStrap, download & run the zip file for SafeStrap & I should be able to use my WiFi hotspot?
Worked Perfectly!
Thank you for posting this fix! It worked perfectly on my SGH-i337 running rooted NJ4.
Flash_Fire said:
Thank you for posting this fix! It worked perfectly on my SGH-i337 running rooted NJ4.
Click to expand...
Click to collapse
Stock rom only? I'm on Super Nexus Safestrap and I'm wanting my tethering to work again.
Thanks Rodin95. Your instructions and file worked perfectly.
So I just ran through the step listed above, word for word including mounting SYSTEM as RW. As soon as I asked ES File to copy the file from /system to /system/framework the phone rebooted itself and is now stuck at the AT&T splash screen with the globe in the middle of the screen.
Any ideas? Or am I going to have to Re-ODIN everything back and start over...
I am/was running on stock-rooted but WITHOUT SS...
Thanks for this.
Since I'm using my i337 on T-Mobile I absolutely need this fix to use tethering at all (OC3 has issues with Bluetooth AVRCP that makes it a deal-breaker for me).
I used the SafeStrap update.zip with FlashFire instead and it worked perfectly.
Just installed the SS update file. Worked great. So happy to finally have this. Running on stock, rooted, ROM.
​
MrPeeta said:
Thank you for the steps you posted Muniz to repack it with Rodin_25 apk.
Flashed with SS from the instructions from original http://forum.xda-developers.com/showthread.php?t=2787681
Thank you Rodin_25 for the apk!
Click to expand...
Click to collapse
rodin95 said:
NJ4 SafeStrap Flashable file (thanks @muniz_ri)
Click to expand...
Click to collapse
I know it's thier own fault for not reading a few lines down into post 3 and all but you should really update the OP so people don't get stuck in bootloader like they are still... this is orking perfect for 4.4.4 nj4 and the first quote is for 4.2 and 4.3 which all work if done the way explained above... I know it's real hard to follow instruction if you don't read more than 5 lines lol
Is there a version of this that works for 5.0.1?

First week with rooted device and boot animation procedures

It's my first time customizing an android phone, and I have to say, there's a lot to learn. Samsung devices are made to read qmg files when it comes to boot animations, but I'm already making my own boot animations, and I have a lot of questions I hope this post isn't that long.
================================
1- after installing CWM can I UNINSTALL it using odin? Or is there any other way to do it without my computer?
================================
2- I know that you can't UNflash files, so when I flash a zip file (specifically bootanimations4U) what files should I back up? I'd rather back up only the files that will be replaced? Or is there an app to back up files from a certain folder and just bring them back if I want to bing back the normal animations?
================================
3- let's say that my device is rooted, it has CWM installed, and also, has the . zip enabler flashed already and in use. I'm planning to FORMAT my phone in a couple of weeks because I want to use it as if it's rooted with the whole storage available (I don't have storage problems I just want to do that) but my question is...
************************ ==========
-Q3: if my goal is just to delete my data and apps only, can I just use the factory reset from the settings? Do I need to do anything regarding CWM or the zip file I've flashed? Will CWM be deleted? Will I have to flash that .zip reader enabler again? What do I need to do if I needed to reset my phone without any problems?
================================
4- is there a file size limit for the bootanimations.zip files on Samsung files (galaxy s5 android 6.0) and also the audio file size limit?
================================
5- what is the condition in which I have to flash the bootanimation4U . samsungani . zip file and not the other one?

Categories

Resources