Can someone with original 2.1 please post the whole of the /system/framework so I can use the framework to port apps to 2.3.5 (it needs to odex'd). Then I can post some of the stock apps and widgets (not fm or hidden menu etc though). I cannot unyaffs the recovery of 2.1 as it gives a stack error
Thanks in advance!
You can use this backup of 2.1
Or, I've got a packed /framework here - if that's any use... V20A
fishears said:
Or, I've got a packed /framework here - if that's any use... V20A
Click to expand...
Click to collapse
thanks fishears.I'm on such a slow internet connection (i'm on holiday), so if I download a whole rom it would take about an hour. I'll use the backup at home, and the framework for now. When I first updated I had an "oh no what if it goes wrong " moment and backed up the /system folder but not the /system/framework folder (ran out of space) so I have a good amount of stock apks to port
Related
How do you install this on a rooted cappy running cog 2.2 beta6??
i tried using astro file manager doing the copy and paste method but it wouldnt let me paste in the folder where the framework res file was it isnt compatible with clockwork mod sooooo im left clueless on how to do this... is there any other way way to flash this?? maybe in terminal?? can someone please chime in and help a noob
thx in advance.
Firespits Circle Battery Mod
It tells you right there under how to install.
Sent from my SAMSUNG-SGH-I897 using XDA App
IllegalOpcode said:
It tells you right there under how to install.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
im looking for help buddy im new to this...i obviously read how to install it and failed
if ur talking about adb I dont have a windows computer can't use adb even if I did I dont know how to use it to type in the code plus read the rest of my post I tried the other method and it didn't work...
anybody else?
[edit]
Look below for the correct way
I did this mod on mine and I am using Cognition 2.2beta 5 with 2e kernel.
The proper way to do this is, Get Root Explorer from the market. Make a backup copy of your framework-res.apk and save it to your PC in case you have a problem. Click over the link for the battery mod you want and download it directly to your phone. Then go to Root Explorer and find the download, rename it to framework-res.apk and copy and paste it over your current framework-res.apk. the framework will be located in the system folder. You will find the battery mods for cognition on a thread for stock lockscreen and battery mods in the development section of the forum.
http://forum.xda-developers.com/showthread.php?t=799511 only use the battery mods from this thread for Cognition ROM you are running.
Sent from my SAMSUNG-SGH-I897 using XDA App
Rhiannon224 said:
:
That is the wrong method for Cognition based ROMS. Do not use this method, this dosen't work as an update.zip. I did this mod on mine and I am using Cognition 2.2beta 5.
The proper way to do this is, Get Root Explorer from the market. Make a backup copy of your framework-res.apk and save it to your PC in case you have a problem. Click over the link for the battery mod you want and download it directly to your phone. Then go to Root Explorer and find the download, rename it to framework-res.apk and copy and paste it over your current framework-res.apk. the framework will be located in the system folder. You will find the battery mods for cognition on a thread for stock lockscreen and battery mods in the development section of the forum.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
+1
Sent from my SAMSUNG-SGH-I897 using XDA App
Connect to your computer, make sure you're in Debugging mode, and mount your SD card to copy files from your computer to your phone. Select which version of Fightspits you like, re-name it "framework-res.apk" and copy it to your phone. Make sure to unmount your SD card from your computer
Using Root Explorer (VERY IMPORTANT!! Make sure the grey bar at the top says Mount R/O, if it says Mount R/W, click it) go to location /system/framework and find the file "framework-res.apk" touch it and hold until Options comes up, and select "Copy". I paste it to my External SD card in a folder I create named "Backup".
Then go back to the location that you saved your renamed Fightspit apk, copy it and paste it to /system/framework. Say yes to overwrite the existing file.
Reboot and your done
Got it?
nevermind, not correct
j101399j said:
@Riannon224; and @mcord11758
please re-read the OP's and the 1st line of my post,
You are correct IF you are running froyo and a Cog version prior to 6. However the OP and my post are not talking about Cog prior to beta 6. The update.zip does not work with Cog beta5 becasue Cog beta5 uses the recovery 3e and not the 2e; and the 3e recovery does not accept update's that are not correctly signed. Cog Beta 6 and Cog 7 uses the modified JI6 kernel and uses the 2e recovery which does accept unsigned update.zip's
My method does not require spending any money; and since the upate.zip does work on Cog6, use Rom Manager to backup your phone.
Your method will also work, and in the case of the OP so will mine. I have used Beta6 and 7 and my method works perfectly. I will say that your method it more details and the real proper way to do this, however to make it easy....
[edit] If you are running Cog 5 or Froyo and want to enable using update.zip files, flash the kernel here: http://forum.xda-developers.com/showthread.php?t=804226 it reactivates the 2e recovery, and is the same kerenl that is used in Cog 6 and 7
Click to expand...
Click to collapse
I have the kernel flashed with 2e recovery on my phone, I did it prior to Cognition beta 6 so I didn't need to flash beta 6 because I did the fix manually a few days before Designgears updated. This is from the mod thread, read it for yourself.
http://forum.xda-developers.com/showthread.php?t=799511
JI6 Mods
Changelog
Update 10/12:
Added Version Z / Guage indicator.
Added original android.policy.odex from JI6 for those who don't like Cog using mine as default.
Update 10/5 Again:
Added Circle battery indicators (valid for all 2.2 JI6)
Update 10/5:
Added Deodexed version to work with Cognition 2.2 Beta 2
v1 -> v2:
Fixed bug with text/missed calls allowing puzzle lock to return.
What are these?
Stock Lock
-Modifies your lock screen to re-enable the stock android lock screen.
-This INCLUDES the "disable menu button" fix (so you can't unlock with the menu button).
-This will REMOVE the current glass/puzzle lock screen, to restore glass, put your old android.policy.odex back!
Circle Battery Indicators
-This changes the battery indicator to a different theme.
-See Fightspit's thread for screenshots: http://forum.xda-developers.com/showthread.php?t=724778
-Your background will default to the Cognition background since that's which APK I started from. (just change it)
Make backups of your current file(s)!
How to install:
1. Download the file for the mod you want.
2. Back up your current file!!! (cp /system/framework/<file> /sdcard/<file>.bak)
3. Replace your existing file /system/framework/<file>. REMEMBER SU if necessary.
3a. Via ADB: adb push <file> /system/framework/<file>
3b. Via terminal emu: cp <file> /system/framework/<file>
3c. Via root explorer, etc. Copy paste. (easiest method if you are unsure)
5. Reboot and enjoy.
It does not matter about 2e, that is not the issue, this battery mod for Froyo is not a flashable.zip.
In the OP the link was the deodexed version which I do not believe works with an Odexed ROM and he stated and incombatabilty issue. He does not have access to ADB and I am not trying to make him spend money on Root Explorer but it is an easy way to access the root and modify framework-res.apk when adb is not an option.
Here is the version from the OP it is not for JI6
http://forum.xda-developers.com/showthread.php?t=756627
How to install:
this does not work with rom manager
copy the file over to the root of your sdcard, rename it update.zip, reboot into recovery mode, select "reinstall packages"
I897UCJH7 / I897UCJH3 / I897UCJH2 / I897UCJF6 (captivate only)
Version A: http://www.ponack.net/designgears/battery_mod/I897UC_version_a.zip
Version B: http://www.ponack.net/designgears/battery_mod/I897UC_version_b.zip
Version C: http://www.ponack.net/designgears/battery_mod/I897UC_version_c.zip
Version D: http://www.ponack.net/designgears/battery_mod/I897UC_version_d.zip
Version E: http://www.ponack.net/designgears/battery_mod/I897UC_version_e.zip
Version F: http://www.ponack.net/designgears/battery_mod/I897UC_version_f.zip
Version G: http://www.ponack.net/designgears/battery_mod/I897UC_version_g.zip
With Evo Black Bar Mod:
n the OP the link was the deodexed version which I do not believe works with an Odexed ROM and he stated and incombatabilty issue.
Click to expand...
Click to collapse
Makes sense; I missed that part. Edited my original post as in this case will cause issues.
Can you edit your post after mine to remove those steps, just in case
j101399j said:
Makes sense; I missed that part. Edited my original post as in this case will cause issues.
Can you edit your post after mine to remove those steps, just in case
Click to expand...
Click to collapse
Yes sir, I did. I hope he gets it working.
when i copied and pasted it using root explorer the app forced closed...and now when i reboot the phone turns on but screens all black and does not load up
bricked??
cebb said:
when i copied and pasted it using root explorer the app forced closed...and now when i reboot the phone turns on but screens all black and does not load up
bricked??
Click to expand...
Click to collapse
No just flash with Odin back to stock and then reflash your version of Cognition, I am not sure what went wrong, that is the method I used although, I had to do this process twice to get it right. I had to Odin back to stock and reflash Cognition and it worked on the second try. Post your question on the section for the mod. You used this one I hope. http://forum.xda-developers.com/showthread.php?t=799511 Make sure you copied and pasted only the framework-res.apk in the system/ data / framework.
Dude, I would just use metamorph. You can copy any paste the png files if you don't like minimalistic battery circle.
http://forum.xda-developers.com/showthread.php?t=760106
Hello,
I tried manually deodexing my /system/framework and /system/app with xUltimate according to this:
http://forum.androidcentral.com/mot...cks/30539-how-manually-deodex-your-phone.html
Now this has worked fine and I can also boot my phone fine with the deodexed files. But there is also on option in xUltimate to compress/optimize the apk files. If I do that and flash my phone with the compressed files, I get into a bootloop.
The compression seems to save a total of 20MB of space (from 103MB to 84MB) and I hope this could give the device a small speed improvement, but I just can't seem to get it to work.
I also know that there are ROMs out there that have all the files deodexed, but in 90% of cases these files are also modified (custom themes and whatnot) and I don't like that, I would just want a vanilla deodexed ROM so that I can make changes myself if I want to.
I have also searched the forum for 'xultimate' but couldn't find any hit. What are other people using to deodex/optimize/zipalign their ROMs? Are there any better utilities out there?
I'd be very thankful for any tips/tricks.
Thank you!
Hi,
My first deodexing, wasn't as simple as expected, I was surprised no one did it before me...
Deodexed: entire framework dir, and most of the app directory (all but 2 apks which refused to deodex...), as long as the framework is deodexed thats ok.
Needed it to patch the framework.jar for bidi language and it works, seems a bit of a lag after each boot before showing the widgets and apps but after that it runs smooth,
can someone explaing that maybe? something to do with unzipping delay maybe?
here is the file, enjoy.
http://www.multiupload.com/FRE906144I
EDIT1: this zip is not flashable nor is it full rom, just deodexed framework and app directories, use adb to push to device, it is working for me with no problems (except the delay at boot), no fc (forced.closed) at all.
flashable zip?
FaithCry said:
flashable zip?
Click to expand...
Click to collapse
its in a .zip so i would assume so. thats the only way to put new ROMs within Nexus S... unless you want to go to Odin which would be .tar
@OP
Was it bluetooth.apk & networklocation.apk? If so, I finally got those deodexed, but I couldn't get the framework.jar to deodex correctly xD
If you need/want them, I can send them to you.
#EDIT
Testing my build with your framework.jar to see if it works right..
#EDIT 2
I am still getting that da** framework fc lol. Let me logcat it..
#Edit 3
I think I might know what my issue is.. Trying a few things now
#Edit 4
I went back to my framework.jar and fixed some files & now it works.. Go figure! lol. I will upload in a bit
#Edit 5
The issues on my build were the messed up NetworkLocation.apk & Bluetooth.apk.. I fixed those, and we now have a fully deodexed 2.3.3
http://forum.xda-developers.com/showthread.php?t=971690
@OP You should change the thread title to [ROM] Stock 2.3.3 DEODEXED. I'll give it a flash in the morning and add it to my Roms, themes, and kernels thread You could even give it a flashy name hehe
The zip I supplied is not flashable as far as I know, I used adb in recovery mode to push the files to the phone,
my deodexed framework.jar works, I use it for a day now and also used a patching script on it to make it bidi enabled, and it still works, I get no fc's at all with it, just a delay on boot before I see all my widgets/icons, after that all ok.
I have a clean working nandroid deodexed backup which also has the bidi patch at:
http://www.multiupload.com/UQ364AHDWT
I am using the GT540 with 2.1 rom
i want delete in the system/app-> odex files
but when i delete any odex files
app does not work
examples
delete system/app-> music.odex... music does not work
There are some applications run with odex
some applications run without odex (example lgecamera.apk)
I would like in working without odex every app on 2.1
how do I
please help
Thank you for answers
I'm sorry for my English
I think first you need to understand the concept of ODEXing. In stock LG roms the system applications are Odexed. "ODEX" stands for Optimized DEX - Classes.dex is usually a file that stands inside the apk file of any application. When a program is odexed the file is extracted from the apk, optimized, and saved alongside the application in the odex format. However, since the apk no longer contains its (albeit optimized) classes, deleting the odex file leaves the application broken and unusable, until you reinstall it again. Now, I can think of only one way to deodex right now, but I really don't think it's a good idea(The rom i'm using was deodexed, yet I odexed it intentionally). What you need to do is:
1. Make a backup of your phone using clockworkmod recovery
2. From that backup take system.img and boot.img
3. You will need to download and run Android Kitchen. Since it's a Linux program, you'll need that as well. Look into it.
4. Insert the 'boot' and 'system' img files into the kitchen, and use the deodex option, then export the rom as update.zip
5. Put the file in your sdcard, boot into recovery, and format system
6. Choose 'install update.zip', and install the one you've created
7. From 'Advanced' menu clean Dalvik-Cache, and see if the phone works now.
While this *should* work *in theory*, as far as I know using a backup to modify it in the kitchen doesn't always work. Also, since I imagine some of your system apps are now broken, what I told you to do should be done after first reinstalling the rom in some way, in order to get your apps straight.
Well, I hope I've been helpful. Good luck.
if I'm not wrong there should be a script somewhere i the forum
bs828 said:
if I'm not wrong there should be a script somewhere i the forum
Click to expand...
Click to collapse
For deodexing? There's one for odexing, but I'm not sure about the opposite one. I'll do a search. Besides, some of his system apps are already screwed up, so I doubt that will help.
This kitchen can run on Cygwin (author mentioned it)
nutterbg said:
I think first you need to understand the concept of ODEXing. In stock LG roms the system applications are Odexed. "ODEX" stands for Optimized DEX - Classes.dex is usually a file that stands inside the apk file of any application. When a program is odexed the file is extracted from the apk, optimized, and saved alongside the application in the odex format. However, since the apk no longer contains its (albeit optimized) classes, deleting the odex file leaves the application broken and unusable, until you reinstall it again. Now, I can think of only one way to deodex right now, but I really don't think it's a good idea(The rom i'm using was deodexed, yet I odexed it intentionally). What you need to do is:
1. Make a backup of your phone using clockworkmod recovery
2. From that backup take system.img and boot.img
3. You will need to download and run Android Kitchen. Since it's a Linux program, you'll need that as well. Look into it.
4. Insert the 'boot' and 'system' img files into the kitchen, and use the deodex option, then export the rom as update.zip
5. Put the file in your sdcard, boot into recovery, and format system
6. Choose 'install update.zip', and install the one you've created
7. From 'Advanced' menu clean Dalvik-Cache, and see if the phone works now.
While this *should* work *in theory*, as far as I know using a backup to modify it in the kitchen doesn't always work. Also, since I imagine some of your system apps are now broken, what I told you to do should be done after first reinstalling the rom in some way, in order to get your apps straight.
Well, I hope I've been helpful. Good luck.
Click to expand...
Click to collapse
Thank you for your excellent explanation
definitely going to try them
but where do I find Android kitchen for the GT540
and the running xp or win7?
Can you give the web address?
thanks a lot.
Here you are
http://forum.xda-developers.com/showthread.php?t=633246
You can use kitchen on Windows thanks to Cygwin .
Wystukane z mojego Swifta przy użyciu Tapatalk.
Hello all,
I have been using MIUI on my SGS for months now and now planning to move to a new non-MIUI rom.
I would however love to port the Browser.apk (maybe the music app too) from my current installation to the new rom.
I know from experience it isn't just a simple case of copying the browser.apk to sdcard and install it later on (application is not installed error).
Can anybody advise how I would do this?
Many Thanks,
Andy
I haven't tried it, however a system app must be placed in system/app it can't be slapped just anywhere. You will need to paste it, change permissions, then install. And probably also need to reboot.
Can someone share the apk?
I attached the Browser.apk. First make a backup of your old Browser.apk (just rename it to "Browser.apk.bak"), then put the new Browser.apk inside the /system/app folder. Change permissions to 644 (rw-,r--,r-- in RootExplorer) and reboot. Please let me know if it worked... Thanks!
(Application taken from 1.12.23 MIUI.)
Edit: After five minutes of reflection, i decided that there's just a minimal chance that this .apk works on deodexed non-CM-based ROMs - on odexed systems there's of course no chance!
Ok m8, just tried this procedure and didn't work. When i try to execute automatically FC.
I have an Huawei Ideos X5 (U8800) with the latest official 2.3 release.
Didnt worked for me on sgs2. Got fc