SSGT P1000DXJM4 - Need original framework-res.apk file - Galaxy Tab Q&A, Help & Troubleshooting

I made some mistake for mod battery icon on my SSGT Model GT-P1000 Rom FROYO.DXJM4 (Asia FW)
Now it still reboot itself.
I need original file of "framework-res.apk" to replace back on /system/framework/
Can somebody give to me please?

Related

Cook Battery Circle Mod in custom rom -> Boot Loop

Hi,
When I flash the battery circle mod (http://forum.xda-developers.com/showthread.php?t=730673) through recovery as an update on my phone, everything goes well.
I even made one myself with Apk manager (http://forum.xda-developers.com/showthread.php?t=695701) using the stock framework-res.apk file and it works just fine.
I have cooked my own rom based on 2.03.405.3 with the kitchen (http://forum.xda-developers.com/showthread.php?t=633246) (rooted, disabled the bootsound and deodexed the whole rom).
Now I putted the battery circle mod (tried with both of them) into my rom using winrar and replaced the framework-res.apk and signed the rom.
But when I flash this rom on my phone, my phone gets stuck in a bootloop. I already searched with google to find similar problems but didn't find any. No mather what I try, it always ends with a boot loop
Anyone who can help me out???
Did you tried flashing other rom?
jup, i already flashed some roms from other members + some that i made myself and no problems at all
Open your original framework-res.apk with 7zip (not extract, just open) replace the file (use drag and drop), except for meta file and sign file, and afrer finish just close the 7zip, now you have modified framework-res.apk and cook it. It's very easy yeah.......
Sent from my HTC Legend using Tapatalk
BesFen said:
Open your original framework-res.apk with 7zip (not extract, just open) replace the file (use drag and drop), except for meta file and sign file, and afrer finish just close the 7zip, now you have modified framework-res.apk and cook it. It's very easy yeah.......
Click to expand...
Click to collapse
Guess it ain't that easy. Tried it exactly the way you said and again bootloop
I have made my rom.zip with dsixda's HTC Android Kitchen.
I open this rom with 7-zip and extract the framework-res.apk file and I leave my rom open.
Then I open the framework-res.apk with 7-zip, I drag and drop the files that need to be replaced and I close the file.
I then sign framework-res.apk with stericson's autosigner and drag and drop the signend file into my still open rom.zip which I then close.
I sign the rom.zip an put it on my sd-card.
I go into recovery, wipe data/factory reset and wipe the dalvik cache and then flash the zip and reboot.
And again I have a bootloop
But when I make an update.zip of the edited framework-res.apk and I flash then I have no problems at all.
Attached: logcat file with my bootloop error. (Other error than the one I my first post)
nobody who can help me ???
Did you deodex or get already deodexed framework?
Do you wipe data partition every time you flash this ROM of yours?
BlaY0 said:
Did you deodex or get already deodexed framework?
Do you wipe data partition every time you flash this ROM of yours?
Click to expand...
Click to collapse
My whole rom is deodexed with the kitchen. There are no .odex file in my rom.
And yes i always wipe before I flash
OK, let's get this straight... you wipe data, then flash your rom (without updated framework-res.apk), then boot and just after that (in second recovery session) you push new framework-res.apk, reboot again and it works? Or... you wipe your data, flash rom, push new framework-res.apk (via update), reboot and it works?
Did you make some logcat of failed attempt?
matn013 said:
Guess it ain't that easy. Tried it exactly the way you said and again bootloop
I have made my rom.zip with dsixda's HTC Android Kitchen.
I open this rom with 7-zip and extract the framework-res.apk file and I leave my rom open.
Then I open the framework-res.apk with 7-zip, I drag and drop the files that need to be replaced and I close the file.
I then sign framework-res.apk with stericson's autosigner and drag and drop the signend file into my still open rom.zip which I then close.
I sign the rom.zip an put it on my sd-card.
I go into recovery, wipe data/factory reset and wipe the dalvik cache and then flash the zip and reboot.
And again I have a bootloop
But when I make an update.zip of the edited framework-res.apk and I flash then I have no problems at all.
Attached: logcat file with my bootloop error. (Other error than the one I my first post)
Click to expand...
Click to collapse
I said open framework-res.apk with 7zip before you cook it, replace the file and close it, no need to sign it, and cook your rom. It's working well on mine.
Sent from my HTC Legend using Tapatalk
matn013 said:
But when I make an update.zip of the edited framework-res.apk and I flash then I have no problems at all.
Click to expand...
Click to collapse
...so I guess problem is somewhere else?
BesFen said:
I said open framework-res.apk with 7zip before you cook it, replace the file and close it, no need to sign it, and cook your rom. It's working well on mine.
Sent from my HTC Legend using Tapatalk
Click to expand...
Click to collapse
So what do you mean by "and cook your rom"? Replace the changed framework-res.apk file in my rom.zip and run my rom through the kitchen again?
Because I just did that and it doesn't work either
matn013 said:
So what do you mean by "and cook your rom"? Replace the changed framework-res.apk file in my rom.zip and run my rom through the kitchen again?
Because I just did that and it doesn't work either
Click to expand...
Click to collapse
Don't replace the framework-res.apk, extract your modified framework-res.apk, you can use winrar/winzip/7zip to extract it, take your custom .png file from it.
If it finish, then open OEM framework-res.apk with 7zip (not extract, just open), then drag and drop your custom .png file that you already take from custom framewoekees into it in same folder in 7zip, then build your rom.
Sent from my HTC Legend using Tapatalk
Did you mess with other files?
wrong permisions?
maby need to update you updater-script with file owner etc

Removing Download & recovery from the menu

Hi ..can anyone tell me which file should I edit to remove "Download" & "Recovery" from power button options as I wanted to install either Darkys 10 RC5 or GingerCriskeloV45 to a friend of mine phone. And I don't want her go into those two by mistake.. Thanks in advance..
P:S I do have some knowledge about programming..
there are three files involved in this matter if are not familiar with compile and decompiling jar files just try to find the deodexed/unmodified files of your rom and replace(replacing may cause some other functions to be disabled). if you know bout compile/decompile then this thread is the clue
http://forum.xda-developers.com/showthread.php?t=811532
the files which has to be modified are:
framework-res.apk, framework.jar , android.policy.jar located in /system/framework
if you want to replace just replace framework.jar and android.policy.jar do not touch framework-res.apk
Thanks heaps mate... I'll try those as soon as I get home..

How to.

Need help..
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
look for a theme in the theme section and flash it.
easy peasy.
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
azzledazzle said:
look for a theme in the theme section and flash it.
easy peasy.
Click to expand...
Click to collapse
I'm not that lazy..I'm trying to make mw own theme
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
nokiamodeln91 said:
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
Click to expand...
Click to collapse
What name of the icon? I cant fine it
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
check in framework-res.apk.. not sure. it used to be in lidroid-res.apk for themed ones.
found a few in framework like
button_onoff_indicator_on
btn_toggle_on.9
the shape is a bit diff so not sure
Doesn't a png that set the color.
It's just a .xml file that it need to edit
If I remember correct you can find it at systemUI/res/layout/tw_quick_setting_button.xml
Just edit textcolor value as your choice
Ciao
that only has the background color not the color when its active like in this case its green. can that be changed to blue by editing xml? png definitely changes it
Are you sure?
Hmmm will try it out
hey , i have extracted the systemui.apk using 7zip , then when i tried opening xml files using notepad++ it showed those stuff , can you help me ? : ) even oriflax modifications , opening his xml files showed me that too
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
nokiamodeln91 said:
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
Click to expand...
Click to collapse
thank you , i decompiled it , edited it and then while recompiling it it gave me hundreds of invalid resource directory errors ... i had to pull out classes.dex earlier but put back in after editing ... any ideas ?
Don't get. Dex file when using apk tool. Don't mod the apk using 7z . starts fresh

[Q] Stuck in a bootloop after replacing framework-res

Hi all,
I'm running the latest stable cyanogenmod rom.
What I'm trying to do is to replace the default cyanogenmod wallpaper by editing the framework-res.apk but each time I'm trying to replace the original using root explorer or flashing it through recovery my device is stuck in a bootloop.
The steps I'm following to edit the apk are the following:
Decompiling using apktool
Replacing the original wallpaper located in res/drawable-nodpi
Recompiling the apk using apktool
Either replacing the original using root explorer or creating a flashable zip and flashing it using recovery
Any thoughts on what might be the problem?
kalpetros said:
Hi all,
I'm running the latest stable cyanogenmod rom.
What I'm trying to do is to replace the default cyanogenmod wallpaper by editing the framework-res.apk but each time I'm trying to replace the original using root explorer or flashing it through recovery my device is stuck in a bootloop.
The steps I'm following to edit the apk are the following:
Decompiling using apktool
Replacing the original wallpaper located in res/drawable-nodpi
Recompiling the apk using apktool
Either replacing the original using root explorer or creating a flashable zip and flashing it using recovery
Any thoughts on what might be the problem?
Click to expand...
Click to collapse
I don't know but, could it be that the image file that you put in framework-res.apk is not in the proper format or doesn't have the appropiate size (it needs to be exactly the same size as your screen size)?
TenKoX said:
I don't know but, could it be that the image file that you put in framework-res.apk is not in the proper format or doesn't have the appropiate size (it needs to be exactly the same size as your screen size)?
Click to expand...
Click to collapse
It's the same format (jpg) and the same size (960x800) as the original.

need a file from original stock rom

can someone give me from the original rom - bluetooth.default.so file? I accidentally deleted my own and I have to compile a change from the original
The file i need is the bluetooth.default.so located on :
/system/lib/hw/bluetooth.default.so
i need to do this:
https://forum.xda-developers.com/android/help/qa-lollipop-bmw-e46-carkit-bluetooth-t3045523
this one isnt working -> https://forum.xda-developers.com/ne...6-bluetooth-fix-android-6-0-n6-t3242631/page1
best regards

Categories

Resources