How to Backup framework-res.apk?? - Android Q&A, Help & Troubleshooting

http://forum.xda-developers.com/showthread.php?t=1699824&highlight=how+to
Needed Help to backup framework-res.apk
Can anyone please tell me how do I backup my framework-res.apk??
--------------------------------------------------------------------------------------------------------------------------------------------
Posted it under general, coz I believe this can help other phone users too.
Thank You..

Try to copy the /system/framework folder and place it in your SD card.
Sent from my Olympus via Hermes.

And restore??
iKoolkid said:
Try to copy the /system/framework folder and place it in your SD card.
Sent from my Olympus via Hermes.
Click to expand...
Click to collapse
Just that?? Using ANY file manager??
restore also same way??

ashikonxda said:
Just that?? Using ANY file manager??
restore also same way??
Click to expand...
Click to collapse
one with root privileges will work fine.
to restore just copy it back to the same directory

iKoolkid said:
Try to copy the /system/framework folder and place it in your SD card.
Sent from my Olympus via Hermes.
Click to expand...
Click to collapse
matt4321 said:
one with root privileges will work fine.
to restore just copy it back to the same directory
Click to expand...
Click to collapse
NO need to zip the file and install it through CWM??

ashikonxda said:
NO need to zip the file and install it through CWM??
Click to expand...
Click to collapse
yeaaa..
:victory:

so this is how we backup framework
hi, please tell me if i copy back framework, does it need to change permissions and also does it FC system or Reboots itself?

Related

[GUIDE]How to extract Stock firmwares from Samsung?

And,comes another guide from me.... I was actually extracting a stock firmware and this came into my mind
Ok,I made this guide since the process of extracting firmware is a bit confusing sometimes.So,lets start with it​
What you would need:
1.7zip or any other zip utility
2.Stock Firmware
3.MagicISO
4.Nothing else
Tutorial:
1.Start off by downloading a stock firmware,for this guide,we assume its DDKQ8
2.You will get 2 files, S5830DDKQ8_<bla bla>.tar.md5 and SS_DL.dll
3.Ignore the second file,we only need the first file which has an extension of .md5
4.Now its not possible to extract the file with the current extension.
5.So,rename the file S5830DDKQ8_<bla bla>.tar.md5 to S5830DDKQ8_<bla bla>.tar
6.Now,the file is extractable,so extract it.
7.You will get approx. 9 files: arm11 boot,amss,csc.rfs and various others.
8.Delete all the files except boot.img and system.rfs.These are the only files we need.
9.Now,using MagicISO,open up system.rfs and extract it.
10.Make a new folder named Rom_working
11.Now,move the boot.img there
12.Make a folder called system
13.Move all contents of system.rfs to this this folder.
14.Now all you need is a META-INF folder to complete the rom.(Unless you messed up)
Thats it! Pretty easy huh,this is something really basic,but a few people get confused on extracting it anyway.Its just meant to be a basic guides for those people.If you want to get more info on making a rom,refer this guide which i wrote a few months ago.Hope this helped you guys out.
NOTE: I am not responsible if you mess up your phone or w/e happens to it.Btw,<bla bla> stands for the rest of the filename ​
thanks for that,, i was woundering how it was done,, i ended up using a nandroid backup with kitchen to make my own lol
How can I root the rom??
Sent from my GT-S5830 using xda premium
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
You can get a META-INF folder by creating one yourself
I don't understand your 2nd question though
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Take su bin file from a rooted rom and insert it in your rom.Done.
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
Make one yourself,refer other stock roms for the path,then get the update binaries and script from BlackHawk (if stock ONLY).
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
modolheula said:
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Kernel is in boot.img. If u want to change kernel, you should change the boot.img
Sent from my fingers to your face,take it or leave it.
okay, I'm trying to find out about the boot.img .... thanks for sharing knowledge
Sent from my GT-S5830 using xda premium
Well, on Linux I usually do this: http://forum.xda-developers.com/showpost.php?p=28933492&postcount=3
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Millenium3 said:
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Click to expand...
Click to collapse
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Y U No like cwm backups ?
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Thanks i will try and post if i have any problems
madman said:
Y U No like cwm backups ?
Click to expand...
Click to collapse
I want to flash the rom in another phone... or maybe it works by copying the backup files cwm made into the another phone? But anyways i tried to restore the stock rom once but it failed.. but thanx
PS: i actually thought the thread was the guide for my question
Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Millenium3 said:
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Click to expand...
Click to collapse
For Odin flash,refer freeyourandroid.com.
For CWM flash,take updater script and binary from Blackhawk and put it in your rom
Sent from the year 3000 using a SGA where sheep's are not present.
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Download root file with su and extract it you will find the files you need there.
Sent from my GT-S5830 using xda app-developers app
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
TechNoJerky said:
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
Click to expand...
Click to collapse
Logcat or it didn't happen
Insert witty sentence here

factory mode

Flew ESF folder. Help restore.
Thanks!
try through CWM Recovery (Wipe data/factory reset)
zanini007 said:
try through CWM Recovery (Wipe data/factory reset)
Click to expand...
Click to collapse
Does not help. Any idea how to restore the EFS folder
SuSeL09 said:
Does not help. Any idea how to restore the EFS folder
Click to expand...
Click to collapse
How did u delete efs folder? Or is it got corrupted? Tell me how have u got into this mode? I may help u
coolkoushik07 said:
How did u delete efs folder? Or is it got corrupted? Tell me how have u got into this mode? I may help u
Click to expand...
Click to collapse
when something happened firmware
SuSeL09 said:
when something happened firmware
Click to expand...
Click to collapse
First of all, do u have any backup of efs? If yes then try to restore it and if not then try the following methods.
Flash latest stock firmware.
Root ur device.
Install x-plore or any root file browser.
Go to root directory and open /efs folder.
Open /efs/FactoryApp/keystr and edit and write 'ON'
Open /efs/FactoryApp/factorymode and edit it and write 'ON'
Change permission of both file to 744 mode and restart ur device. It may help u to get ur phone working. Try it now.
coolkoushik07 said:
First of all, do u have any backup of efs? If yes then try to restore it and if not then try the following methods.
Flash latest stock firmware.
Root ur device.
Install x-plore or any root file browser.
Go to root directory and open /efs folder.
Open /efs/FactoryApp/keystr and edit and write 'ON'
Open /efs/FactoryApp/factorymode and edit it and write 'ON'
Change permission of both file to 744 mode and restart ur device. It may help u to get ur phone working. Try it now.
Click to expand...
Click to collapse
EFS folder is empty
SuSeL09 said:
EFS folder is empty
Click to expand...
Click to collapse
sorry man it is now impossible to restore. Go to service centre if they can help u
coolkoushik07 said:
sorry man it is now impossible to restore. Go to service centre if they can help u
Click to expand...
Click to collapse
what if someone eat backup and try to restore?
SuSeL09 said:
what if someone eat backup and try to restore?
Click to expand...
Click to collapse
Do u have any backup of efs?
Sent from my GT-I8552 using Tapatalk
coolkoushik07 said:
Do u have any backup of efs?
Sent from my GT-I8552 using Tapatalk
Click to expand...
Click to collapse
yes I have a copy of the folder but if it is not inserted after reboot, withstands
SuSeL09 said:
yes I have a copy of the folder but if it is not inserted after reboot, withstands
Click to expand...
Click to collapse
then paste the items of efs folder in to appropriate place and give correct permission to it. Then reboot phone. Dont forget to give the correct permission, else it wont work.
coolkoushik07 said:
then paste the items of efs folder in to appropriate place and give correct permission to it. Then reboot phone. Dont forget to give the correct permission, else it wont work.
Click to expand...
Click to collapse
And how to do it? And with the help of which throw ESF folder I use root explorer
SuSeL09 said:
And how to do it? And with the help of which throw ESF folder I use root explorer
Click to expand...
Click to collapse
Copy efs folder and give 744 permissions using root explorer.
Sent from my GT-I8552 using Tapatalk
Here you go. Abt permissions
Sent from my GT-I8552 using Tapatalk
If u r phone is goig in downloading mode try to install new kernel
Sent from my GT-I8552 using xda app-developers app
coolkoushik07 said:
Copy efs folder and give 744 permissions using root explorer.
Sent from my GT-I8552 using Tapatalk
Click to expand...
Click to collapse
And do give permission 744
Still does not save the folder after reboot
SuSeL09 said:
Still does not save the folder after reboot
Click to expand...
Click to collapse
The permissions for the folder and each files are different. Some files has permissions 744 and some files has 755 and the permissions of efs folder is 711
coolkoushik07 said:
The permissions for the folder and each files are different. Some files has permissions 744 and some files has 755 and the permissions of efs folder is 711
Click to expand...
Click to collapse
Could you elaborate. Take a screenshot folder "EFS" in the resolution and in the folder contents show what should set the resolution?

[Q] fonts on sense rom?

Running sense 5 rom version y5... situation : I play a game called imobsters so I need to copy files (.tff files) into system/fonts folder.. I do it everything copies.. I did it rw mounted method on es file explorer.. when I log back into imobsters.. on certain usernames it doesn't display their names.. all I see is blank spaces and empty boxes.. is there a fix for this or way around it on sense roms.. I had no problem copying these files on mean bean rom.. please help... an Thnx in advance
Need to figure out how to DISPLAY emoji not type it.. would be another way of saying this
Did you set proper permissions after copying the files?
Captain_Throwback said:
Did you set proper permissions after copying the files?
Click to expand...
Click to collapse
I mounted as rw when I did an even tried this method: drag files to any folder on your internal memory. boot into recovery, mount data n system, go to file manager n look for your files, click on the files n move it to system/font. wipe cache, reboot
chico260 said:
I mounted as rw when I did an even tried this method: drag files to any folder on your internal memory. boot into recovery, mount data n system, go to file manager n look for your files, click on the files n move it to system/font. wipe cache, reboot
Click to expand...
Click to collapse
Again, doesn't sound like you set permissions.
Captain_Throwback said:
Again, doesn't sound like you set permissions.
Click to expand...
Click to collapse
Would you happen to know the correct permissions
chico260 said:
Would you happen to know the correct permissions
Click to expand...
Click to collapse
No, but I'd use whatever permissions the other files in the folder have .
Captain_Throwback said:
No, but I'd use whatever permissions the other files in the folder have .
Click to expand...
Click to collapse
Tried an still didn't work.. would s-on be a factor?...
chico260 said:
Tried an still didn't work.. would s-on be a factor?...
Click to expand...
Click to collapse
Get Rom toolbox and go to the interface section and click on fonts. Now click Local fonts. Now you want to find the font you want on your SD card and install them in a click. So Simple. Much Easy. Fast. Such amazement. Wow. (Doge meme hahaha)
Sent from my EVO using Tapatalk

[FIX] Z Ultra GPE 4.4.2 SDCard Write Fix

TO DO THIS YOU MUST BE ROOTED
If you guys haven't noticed you can't copy a file from internal sd to external sd (confirmed by me and others) Well I figured it out.
I remember something about OTG not being able to read from external on apps like Tibu with other devices. I did something similar to get it to work on the ZU GPE.
If you are rooted you can copy this file to /etc/permissions/
I tested copying a file from internal to external and it worked fine after this change.
I did make a couple changes to the file, I'm not sure which did it but one of them did. I am attaching the file
Just rename from platform.xml.zip to platform.xml, back up existing file(the attached file is NOT a zip.. it's a XML file just remove .zip from the end of the filename), copy new file and change permissions to match the old file
The zip file is corrupted.
ChillyChan said:
The zip file is corrupted.
Click to expand...
Click to collapse
read the OP again...
"Just rename from platform.xml.zip to platform.xml"
graffixnyc said:
read the OP again...
"Just rename from platform.xml.zip to platform.xml"
Click to expand...
Click to collapse
lol sorry I missed that. Thanks.
works great thanks:good:
works great
thanks you
i don't know how it's working for everyone, but it is causing issues force closes everywhere and i lost data and pc doesnt recognize my phone. what are the permissions supposed to be set at if any???
velvetmxo said:
i don't know how it's working for everyone, but it is causing issues force closes everywhere and i lost data and pc doesnt recognize my phone. what are the permissions supposed to be set at if any???
Click to expand...
Click to collapse
Same with me before.. I got messed copying this.. Had to reflash ROM. The permission is rw-r--r--
Clear steps:
Download file
Copy to etc/permissions folder
Find the old platform.xml and renamed it with platform.xml.bak (as a backup)
Rename the platform.xml.zip to platform.xml
Set the permission as same as old file (rw-r--r--)
Reboot.. And done
It is possible paste to External SD card Root but can not paste to External SD card Folder
Anybody?
wook01 said:
It is possible paste to External SD card Root but can not paste to External SD card Folder
Anybody?
Click to expand...
Click to collapse
I have this experience as well.
Sent from my C6806_GPe using XDA Premium HD app
wook01 said:
It is possible paste to External SD card Root but can not paste to External SD card Folder
Anybody?
Click to expand...
Click to collapse
Same problem here!
wooki said:
Same problem here!
Click to expand...
Click to collapse
Dis fix did not work for me to. What else can we do? GPe is excellent but without SD card is useless to me. Any other solutions?
OK well I'm not rooted and I'm not trying to root for preserving my boot loader is my concern until I'm able to acquire a new device for rooting purposes so is there a fix for non rooted devices
Sent from my C6806_GPe using XDA Premium 4 mobile app
Flash the tweaked version which includes the SD card fix.
http://goo.im/devs/bigxie/togari/bigxie_togari_GPe_KOT49H_tweaked-signed.zip
Will need to flash a kernel with custom recovery first - http://forum.xda-developers.com/showpost.php?p=49565501&postcount=337 with Flashtool
liqn7 said:
Flash the tweaked version which includes the SD card fix.
http://goo.im/devs/bigxie/togari/bigxie_togari_GPe_KOT49H_tweaked-signed.zip
Will need to flash a kernel with custom recovery first - http://forum.xda-developers.com/showpost.php?p=49565501&postcount=337 with Flashtool
Click to expand...
Click to collapse
I've been using this rom already but I can't write in folders inside the sdcard, my only solution is gaining root access but this won't work every time.
Sent with my Xiaomi MI2 with Tapatalk Pro
OK so nothing for then
Sent from my C6806_GPe using XDA Premium 4 mobile app
thistips works for me
graffixnyc said:
TO DO THIS YOU MUST BE ROOTED
If you guys haven't noticed you can't copy a file from internal sd to external sd (confirmed by me and others) Well I figured it out.
I remember something about OTG not being able to read from external on apps like Tibu with other devices. I did something similar to get it to work on the ZU GPE.
If you are rooted you can copy this file to /etc/permissions/
I tested copying a file from internal to external and it worked fine after this change.
I did make a couple changes to the file, I'm not sure which did it but one of them did. I am attaching the file
Just rename from platform.xml.zip to platform.xml, back up existing file(the attached file is NOT a zip.. it's a XML file just remove .zip from the end of the filename), copy new file and change permissions to match the old file
Click to expand...
Click to collapse
Worked Great:good: Thank you mate:highfive:
Not workingnnnn
abuihsan said:
Same with me before.. I got messed copying this.. Had to reflash ROM. The permission is rw-r--r--
Clear steps:
Download file
Copy to etc/permissions folder
Find the old platform.xml and renamed it with platform.xml.bak (as a backup)
Rename the platform.xml.zip to platform.xml
Set the permission as same as old file (rw-r--r--)
Reboot.. And done
Click to expand...
Click to collapse
It is not leting me change .bak file
It says that failed to rename platform.xml to platform.xml.bak

[Q] Stock GB 2.3.6 task manager widget

Hello, can anyone extract this widget and send it to me by email? I removed it accidentally but I don't wanna re flash whole system and loose all my settings because of that. I suppose it should be apk and odex files. They can be found in one system directory. Please pm me for email. Thanks
blackfire74 said:
Hello, can anyone extract this widget and send it to me by email? I removed it accidentally but I don't wanna re flash whole system and loose all my settings because of that. I suppose it should be apk and odex files. They can be found in one system directory. Please pm me for email. Thanks
Click to expand...
Click to collapse
Why don't you open the flashable zip of your rom? Then you can extract it yourself
How to do that? What ROM?
blackfire74 said:
How to do that? What ROM?
Click to expand...
Click to collapse
Download a 2.3.6 rom flashable zip file. Open it and go to system/app extract the file and copy it to your phone. Install it and your done.
If you want to install a system app then you need to be rooted. So i thought you already had a flashable zip file.
I got my firmware downloaded only. It is md5.tar file. Is this what you are talking about or should I download something else?
blackfire74 said:
I got my firmware downloaded only. It is md5.tar file. Is this what you are talking about or should I download something else?
Click to expand...
Click to collapse
No, it should be in that tar file.
Christiaan91 said:
No, it should be in that tar file.
Click to expand...
Click to collapse
Inside there are few BIN files.
blackfire74 said:
Inside there are few BIN files.
Click to expand...
Click to collapse
Extract those. It must be there somewhere
Christiaan91 said:
Extract those. It must be there somewhere
Click to expand...
Click to collapse
Not working!
Anyway I foung other ROM in zip file and I got all extracted. I already have ODEX file in my SGS2 but I was trying to install apk file and it says it cannot be installed.
blackfire74 said:
Not working!
Anyway I foung other ROM in zip file and I got all extracted. I already have ODEX file in my SGS2 but I was trying to install apk file and it says it cannot be installed.
Click to expand...
Click to collapse
You have root?
Enough space?
Making a flashable zip and flash it in recovery?
Christiaan91 said:
You have root?
Enough space?
Making a flashable zip and flash it in recovery?
Click to expand...
Click to collapse
1. YES
2. YES
3. HOW?
I tried to copy apk file , widget opens but it is scrambled and not responding... Cannot copy ODEX file thou
blackfire74 said:
1. YES
2. YES
3. HOW?
I tried to copy apk file , widget opens but it is scrambled and not responding... Cannot copy ODEX file thou
Click to expand...
Click to collapse
Im confused. You did install it? What error do you get when trying to move the odex file?
Christiaan91 said:
Im confused. You did install it? What error do you get when trying to move the odex file?
Click to expand...
Click to collapse
I didn't install anything, just copied apk file from SD card into system/app directory. Odex file can't be replaced. No matter what error, just tell me if I have to run 7ZIP program, pack both files and then flash via CWM?
blackfire74 said:
I didn't install anything, just copied apk file from SD card into system/app directory. Odex file can't be replaced. No matter what error, just tell me if I have to run 7ZIP program, pack both files and then flash via CWM?
Click to expand...
Click to collapse
Reboot into recovery and wipe cache and dalvik cache. Reboot. Maybe that will work.
Sent from my GT-I9100 using Tapatalk
Christiaan91 said:
Reboot into recovery and wipe cache and dalvik cache. Reboot. Maybe that will work.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I probably created zip file, signed it and this time widget completely dissapeared from list. Wiped cache etc
blackfire74 said:
I probably created zip file, signed it and this time widget completely dissapeared from list. Wiped cache etc
Click to expand...
Click to collapse
You flashed a zip file?
Is the apk file still in system/app? If not just place it there and wipe the caches. Without flashing a file.
BTW I don't know exactly how I make a good flashable zip file. Search and it shouldn't be hard to find and make.
Sent from my GT-I9100 using Tapatalk
Christiaan91 said:
You flashed a zip file?
Is the apk file still in system/app? If not just place it there and wipe the caches. Without flashing a file.
BTW I don't know exactly how I make a good flashable zip file. Search and it shouldn't be hard to find and make.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
The thing is it is not possible to just copy system files into proper directory because it returns error that it can't be replaced.
blackfire74 said:
The thing is it is not possible to just copy system files into proper directory because it returns error that it can't be replaced.
Click to expand...
Click to collapse
Deleting the old file and then copy the right file doesn't work?
Christiaan91 said:
Deleting the old file and then copy the right file doesn't work?
Click to expand...
Click to collapse
I'm not allowed to delete system files as they are in use and any operation is restricted, even while rooted!
Whatever, I flashed my firmware from scratch and f**k it still won't work because I run Go Launcher Ex which is not compatible with stock widget.
Thread closed...

Categories

Resources