Framework-res.apk editing problem - Galaxy S I9000 Q&A, Help & Troubleshooting

Please i need help D: i cant modify any xml in framework file... corect mrs.dumbie pls in my steps:
1) decompile framework-res.apk with dependence twframework-res.apk
2) modify interested files (for me
they are: bools.xml, zzz_glass_lock_effect.xml.
3) compile apk. then in keep folder remove "resources.arsc" and zzz_glass_lock_effect.xml
4) push it to my galaxy s and reboot.
after all that nothing gets changed... any help? pls im on jvt using apkmanager lastest ver... pls help because im dumb :L
Sent from my GT-I9000 using XDA

Just set a proper permissions....

and thats all????? so simple?? omg... for me it was SO hard to learn how to decompile apk and modify it corectly... i searched for mistakes everywhere and not in permissions... omg feeling more dumb xD thanks for help ;
Sent from my GT-I9000, who survived dropping in sink with no damage

nope, i changed permissions and everything was there as it should. the main thing is my fw little bit messed up, by acident.... i cn try reflash my rom and do it again,but if u have any ideas pls help then
Sent from my GT-I9000 using XDA

foggydisaster said:
nope, i changed permissions and everything was there as it should. the main thing is my fw little bit messed up, by acident.... i cn try reflash my rom and do it again,but if u have any ideas pls help then
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Hm..interesting,just check this thread :
http://forum.xda-developers.com/showthread.php?t=1747398

Related

[Q] Need proprietary files to compile CM7 for P990

Hey, I want to try compile CM but I atm it's not installed on my phone and I really need those files... So any of you upload it, that would be appreciated! Thanks in advance!
ironman159 said:
Hey, I want to try compile CM but I atm it's not installed on my phone and I really need those files... So any of you upload it, that would be appreciated! Thanks in advance!
Click to expand...
Click to collapse
Hmm, sorry for stating the obvious but did you try the CM nightly builds?
Actually I dont want to apply them because i dont have any issues with stock rom and the perfomance is really nice also. All in all I dont want to leave the stock. So thats why i need those files.
Sent from my LG-P990 using XDA App
ironman159 said:
Actually I dont want to apply them because i dont have any issues with stock rom and the perfomance is really nice also. All in all I dont want to leave the stock. So thats why i need those files.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
If you don't want to leave stock, why do you want those files?
I want the whole tree if cm7 is going to be ready i will sync my tree and i will be able to make my own rom. If it works i would customize it maybe.
Sent from my LG-P990 using XDA App
ironman159 said:
I want the whole tree if cm7 is going to be ready i will sync my tree and i will be able to make my own rom. If it works i would customize it maybe.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Why don't you just extract them from your stock rom?
Are they compatible with it? because the wiki said i need a phone that runs on cyanogen mod and i am on 2.2.2 isnt this a problem?
Sent from my LG-P990 using XDA App
1. make a nandroid backup
2. install cm
3. get ur files
4. make nandroid restore
if you know what files u exactly need u can extract them from the last nightly
I know but afraid that nandroid fails. Thanks by the way!
Sent from my LG-P990 using XDA App
ironman159 said:
I know but afraid that nandroid fails. Thanks by the way!
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
u could make a copy of /data with adb pull or make a copy to ur sdcard
ironman159 said:
Hey, I want to try compile CM but I atm it's not installed on my phone and I really need those files... So any of you upload it, that would be appreciated! Thanks in advance!
Click to expand...
Click to collapse
Here what you looking for:http://goo.gl/2D4Y8
P.S.
I used those files in my build and telephone (the all dialpad, cronology, contacts and favorites) is missing, can you confirm that?
Thank you so much! i will downoad it later and then ill see!
Sent from my LG-P990 using XDA App
http://kepfeltoltes.hu/view/110513/Screenshot_www.kepfeltoltes.hu_.png
I am getting this error all the time. Any help?
ironman159 said:
http://kepfeltoltes.hu/view/110513/Screenshot_www.kepfeltoltes.hu_.png
I am getting this error all the time. Any help?
Click to expand...
Click to collapse
I am getting same error, and also miss below files in Proprietary,
can you extract it for me from your stock, and upload here?
Need few files as below
adb pull /system/bin/btld /your/desired/location
adb pull /system/bin/immvibed /your/desired/location
adb pull /system/bin/lgospd /your/desired/location
adb pull /system/bin/lgospd_hid /your/desired/location
If you read the cyanogenmod wiki about building cm7 for your device specifically there's a script called extract_files.sh that will get the files you need.
robertosandros said:
If you read the cyanogenmod wiki about building cm7 for your device specifically there's a script called extract_files.sh that will get the files you need.
Click to expand...
Click to collapse
i do know about it, but i m getting error in these few files when try to extract, and then checked its not there in CM7 nightliy 17, so as you running stock, i think it would be in yours, but its ok, got it from proprietary link
I have a problem in connection with setting udev. I dont know how to do it. A few line instruction would be useful. All I know is that I have to customize udev.d to lge code right? But I dont find the that file.
Edit: I logged in as root and made 51-android.rules in etc/udec/rules chmoded but it doesn't work. cannot adb pull
Could you upload your proprietary files? That would be really nice.
Sent from my LG-P990 using XDA App
ironman159 said:
Could you upload your proprietary files? That would be really nice.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Sorry for my late reply, I was sleeping, as i was compiling my rom at already 4 am germany. Just woke up, and here is link to koush's files, thank him.
https://github.com/koush/proprietary_vendor_lge
just use download button, and download as zip and then extract in your folder, but if your rules have problem it would be first thing to fix it.
Sure but I downloaded the same and got the error that I had posted. BTW have you succeeded in compiling the rom?

How to change text below the toggle buttons

i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium

Help. Modding systemUI.

I want the center clock on my rom but I'm having trouble decompiling it. It says apktool cannot oper .jar files. I tried 7 zip and when I open statusbar.xml many unknown words came out. Can anyone help me please. Framework-res.apk and SystemUI.apk is below. Thanks in advance.
Download: https://dl.dropbox.com/s/9pn2zt0hyww2pr8/framework_and_systemUI.zip?dl=1
Sent from my GT-S5570 using xda premium
You only need to decompile systemui for that... here's link to the guide which explains everything in that matter... if you fail using this one, I have bad news for you... http://forum.xda-developers.com/showthread.php?t=1361715
yackovsky said:
You only need to decompile systemui for that... here's link to the guide which explains everything in that matter... if you fail using this one, I have bad news for you... http://forum.xda-developers.com/showthread.php?t=1361715
Click to expand...
Click to collapse
How can I do it if I am having trouble decompiling systemUI
RayQ1223 said:
How can I do it if I am having trouble decompiling systemUI
Click to expand...
Click to collapse
Read the thread I gave you, when I didn't know anything I wasn't asking others to do things for me, I was reading and learning how to do it myself. Now, do some reading and help yourself out!
I agree
Sent from my GT-S5570 using xda app-developers app
Ok. I follow everything there and I found the problem. But after pushing systemui and rebooted I cant see my status bar. It says status bar has force closed. Help me
RayQ1223 said:
Ok. I follow everything there and I found the problem. But after pushing systemui and rebooted I cant see my status bar. It says status bar has force closed. Help me
Click to expand...
Click to collapse
You probably messed something up in status_bar.xml , do it again carefully on clean systemui. Just follow that guide

[Q] Trouble with Wallpaper/Statusbar!

Hey guys!
I recently rooted my Samsung Galaxy Note GT-N7000, and figured out it would be cool to change the theme.
I was going to make a S4 statusbar, so I changed the SystemUI, and deleted the .ODEX or something..
Something got fu... up, and now I am sitting here with no statusbar, when someone calls it doesn't show(just vibrates), my wallpaper is black aswell, and can't be changed.
Anyone knows how to fix this?
I don't have my original SystemUI..
Restore your nandroid backup if you have one or ask someone to upload their systemui.apk and .odex file and push them to your system/apps
Sent from my GT-N7000 using Tapatalk 2
Yea, Ive tried different SystemUI files from other mods, but I guess I need that .ODEX file..
Thanks for the answer
If anyone got that file, please post it here <3
Both apk and odex file
abhinav quietly brilliant said:
Both apk and odex file
Click to expand...
Click to collapse
Thanks, I have put them in my System/App, and rebooted, but it still does not work
I have no clue on what to do
Did u push it via adb or just copied?
Sent from my GT-N7000 using xda premium
Do you have a deodexed rom? If yes then these will not work and have you changed the permissions?
Sent from my GT-N7000 using Tapatalk 2
abhinav quietly brilliant said:
Do you have a deodexed rom? If yes then these will not work and have you changed the permissions?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Yeah, I got a deodexed rom..
How to change permissions? :I
gurnishdhillon said:
Did u push it via adb or just copied?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I just copied
Frugis said:
Yeah, I got a deodexed rom..
How to change permissions? :I
Click to expand...
Click to collapse
You have got a deodexed rom now it matter if you change the permissions or not.. Anyone out there using any rom such as rocket, ultimate, etc please share the systemui.apk from your system/apps..! Or frugis do it yourself by unzipping the rom zip you have flashed to get jb rom and simply copy system/apps/systemui.apk to your phone
Sent from my GT-N7000 using Tapatalk 2
Thanks for the help guys!
Good karma
I deleted my Android 4.0.4 and installed JellyBean 4.1.2. That fixed the problem

[Q] Little help with Patching!

Hello guys, I'm having some problems with acPatcher... Maybe you guys could help me...
It's not a problem with the program itself, but...
I'm using this, to patch my SystemUI.apk (I prefer this way could this don't mess with the apk.. Just change the right files.).
When the acPatcher done the work, it returns a flashable zip. If I flash it, it works very well! And the statusbar (what I've patch) is there and patched. No problem.
But when I extract the apk from this zip, and put inside my rom flashable zip, and flash the Rom using cwm...
It boots normally but the statusbar (what I've patch) is missing!
Why that happens?
And I tried to decompile, patch and recompile using apktool... But the same problems happens! I don't know why is this happening.. So please, could you guys help me?
Make sure in flash script it does set the permissions
Sent from my XPERIA X8 using Tapatalk 2
ScatteredHell said:
Make sure in flash script it does set the permissions
Sent from my XPERIA X8 using Tapatalk 2
Click to expand...
Click to collapse
How could I miss that? haha! Thanks man. It's solved.
NP ya, Good Luck

Categories

Resources