i can't replace framework-res.apk ( no space enough ) - Defy Android Development

I'm making my first rom, and studiyng about it...
But i need to replace framework-res.apk, but it says no space enough... ( root explorer )
Any idea?

I highly recomend to not change the framework-res.apk or services.jar with rootexplorer. I got bootloops with working files. Use ADB.

ok no problem, i remplaced it with recovery and it works perfect!
Gracias =)

Related

[Q] help me !(Modify the framework-res.apk )

i'm changed some files of the framework-res.apk and rebuild it(use apktool ) ,not sign it but zip of this file ,it wolud be work well .but when i'm copy the chended of the framework-res.apk recover the same file in the 1108031959 cm7 nightly updata file,i ;have a boot loop.what's the matter with my update file,and it seems the framework-res.apk bring about this issue .some who know this ????and how to Modify frankwork-res.apk
when you modded framework from any gb rom, you have to modded the systemUI too!
exactly what you have to modify i dont know, but surely if you use uot-dakra understanding that i explained to you!

[Q] How to edit framework-res.apk without errors?

hello again, this time I have a question and a problem, editing the framework of a rom-res cm7.2 to change the default wallpaper, use apktool and apkmanager to decompile and compile the file, enter the new zip, sign and flash the rom, it installs correctly, but when bootanimation appears after a few seconds the device freezes and restarts and so again and again (I think it is called bootloop), I do not know which tool to use to compile and decompile the apk and the rom starts without error, use apktool and apk manager but without any good result ... I'm doing something wrong? I hope someone can help me, I read other entries that talk about something like this and recommend apktool but I use to run, again thanks!
sorry for my English
Use winrar den extract drawable-ldpi. Chnge default wallpaper. Den delete d drawable-ldpi in framework-res.apk and replace it wid ur modified drawable-ldpi. Apkmanager shd nly be used if v edit xml's or smali's
Sent from my GT-S5670 using xda premium
oh! that simple? thanks bro I will try
thanks bro! I worked great! thank you very much!

how to change and replace SystemUI.apk??

can anyone tell me how to change SystemUI.apk or framework-res.apk files and replace to the system correctly?.. coz when i try to change and replace them it doesnt work for me it keep saying SystemUI.apk unfortunately stopped working and freeze the status bar. it disappear when i replace a modified apks.. why is that? please help...
amjiffy70 said:
can anyone tell me how to change SystemUI.apk or framework-res.apk files and replace to the system correctly?.. coz when i try to change and replace them it doesnt work for me it keep saying SystemUI.apk unfortunately stopped working and freeze the status bar. it disappear when i replace a modified apks.. why is that? please help...
Click to expand...
Click to collapse
Because system UI is always in use...and is a major part of the phones layout
You should be able to replace it worn a root explorer and then reboot and be fine though...
If that didn't work then boot into recovery and adb push it...havebt done that in awhile but if my memory is correct the command is "adb push /system/app/SystemUI.apk" -without quotes of course then wipe cache and dalvic cache (don't wipe data tho) and reboot.
Sent from my HTC Holiday using Tapatalk 2
Or....
Download this http://goo.im/devs/Th3Bill/Infuse_4G/Blank_cwm_Infuse.zip (its a blank cwn flashable package...just add the files)
With 7zip open the zip (right click>open archive...don't extract)
Navigate to /system/app of the archive
Copy modded systemui to that location
Delete the file that was already in there (I think it says to delete after placing file in there)
Copy the zip to your phone
Flash it
Credit goes to th3bill for that blank cwm flashable package
Sent from my HTC Holiday using Tapatalk 2

[Q] Can not modding the SystemUI.apk ....

Hi!
I want to mod my SystemUI.apk!! Other Bat-Icon, other Softkeys and so...
I can decombile .... then i can mod the SystemUI.apk and i combile without any Error Message in the APK Manager (5_0)
Then i pull the SystemUI to my tablet and give the right permission
xxx
xxo
xxx
Then i Reboot the device.... i see the changes (other bat-icons) but then the System stopps the UI and the Navibar is gone... then she comes again and the System stop it again
The ROM is odex .... is this the reason?
So far I have modified only deodexed ROMs... This is my first odexed ROM....
Darkman_RS said:
The ROM is odex .... is this the reason?
Click to expand...
Click to collapse
Bingo!
Roms need to be deodexed to theme them in that way.
Darkman_RS said:
Hi!
I want to mod my SystemUI.apk!! Other Bat-Icon, other Softkeys and so...
I can decombile .... then i can mod the SystemUI.apk and i combile without any Error Message in the APK Manager (5_0)
Then i pull the SystemUI to my tablet and give the right permission
xxx
xxo
xxx
Then i Reboot the device.... i see the changes (other bat-icons) but then the System stopps the UI and the Navibar is gone... then she comes again and the System stop it again
The ROM is odex .... is this the reason?
So far I have modified only deodexed ROMs... This is my first odexed ROM....
Click to expand...
Click to collapse
Instead of using APK Manager, you can treat SystemUI.apk as a zip archive, extract it on your device, make your changes, re-zip it, change the zip extension to apk, replace your SystemUI.apk with the modded one, and reboot. Don't touch the SystemUI.odex file at all. Leave it. And if anything goes wrong, push your old SystemUI.apk back to the device. This method works (sometimes) on odexed ROMs. Because SystemUI.apk is a system app, it doesn't need to be re-signed or anything; just zipped.
Sent from my GT-I9300 using XDA Premium HD app
Thank you .... but im must decombile because i modding a few of xmls files.
gesendet von Unterwegs......

Need some help regarding Odex Files and corresponding apks

Hi guys, I got this problem in my odexed stock rom, I have this problem in sysui, gallery and calculator.
I downloaded 4.2.2 style sysUI, pushed it in the respective folder by replacing with its stock sysUI.
I rebooted my core, the statusbar was gone, so I deleted 'SystemUI.odex" file, then rebooted it worked!
In the same way, I replaced stock gallery with note3 gallery, and stock SecCalculator2
Luckily note3 gallery worked, but it doesn't support Sim2 so I can't change Sim2's wallpaper or make it same as Sim1's.
In the statusbar, I can't see most notification cuz its completely transparent, and also its a bit laggy.
Calculator never worked
So I wanted to replace these with stock, when I pushed it in system>apps> I noticed that there were no .odex files for .apks
I replaced them with their stock odex files, none of 'em worked, I guess cuz of the odex thing, so I again deleted odex files and rebooted, nothing worked..
Now, I need some developer's advice, plz don't tell me to "Flash Stock Rom via Odin" I can't do it...
Is there any other left way to make them work plz I need help..
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
M_E_G_A_T_R_O_N said:
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
Click to expand...
Click to collapse
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Well, it seems to me that you have messed up your phone alot.. Flashing stock rom via odin would've been the correct solution to this problem. It's not as difficult as you think, and you're capable of doing it. Follow thecoreguy's tutorial for that.
CoreGuy said:
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Click to expand...
Click to collapse
Then you have done wrong.
Not every apk can be used by just deleting the .odex file.
You need to deodex the apps in system/app and system/framework folder then you can easily replace the apks.
1.First restore back to any working backup.
2.Download xUltimate Tool.
3. Run it.
4. Then just run commands with options 1,2,3,4 (You just need to type 1 and then enter, then 2 and then enter, so on upto option 4.)
5. Exit after executing 4th option.
6. Download ADB tool(don't download the complete package, you will get a 1-2MB ADB.exe from the from itself) - Use it to push the deodexed files made from xultimate.
---------- Post added at 09:47 AM ---------- Previous post was at 09:22 AM ----------
If you find it difficult then Better you upload the apks with their respective odex file. I will deodex those apks
M_E_G_A_T_R_O_N said:
Not every apk can be used by just deleting the .odex file.
Click to expand...
Click to collapse
Not even the stock apks? I want to replace the ported/modded apks with the stock ones..
No you can't because almost all stock apks have their respective odex files and every odex file contains resources that are needed to run those apks. Also there exists dependencies in system/framework folder. So just deleting odex file won't work all time.
Finally got it! Special thanks to megatron
Solution if u r screwed in my situation: don't panic, what I found why I cant do it was bcuz my phone has dat "newest" update of samsung ota. So b4 u take someone's apk and odex file always cross check this(image)
And then you are gud to go!!! U wont even need to restart it'll come automatically(my dad has same phone and same updated version as mine so I copied everything needed frm his phone to mine) @AnsleyC at times, the answer should not be "flash stock rom via ODIN" if u have a crappy pc, u can either repair faulty parts(easier and efficient) or buy a new one(bullcrap)
Have fun everyone!
Sent from my GT-I8262 using XDA Premium 4 mobile app

Categories

Resources