[Q] Framework-res.apk - General Questions and Answers

I moved the 'framework-res.apk' file to sd card and reboot the phone. After that it shows only a black screen while booting. How can I replace or restore the framework-res.apk file from sd card to phone? Please help me..... I installed the android SDK in my w7 PC. Is it possible to use ADB from android SDK to solve the issue? If possible, please describe here how to do that......

Yes.
Put framework in tools folder of android-sdk, then using dos prompt navigate to the tools folder.
Boot into cwm (I am presuming you have it installed) and mount the system partition and do
adb remount
adb push framework-res.apk /system/framework / framework-res.apk
Reboot and all should be well.
Why did you do it in the first place it's an essential file as you can see.
Just type adb at prompt for more help on it.

Related

What is required to run adb shell, push, remount?

Hi!
I am planning to upload a script that does all that tiresome work of using your SD Card for app storage, and I was wondering what files are required to be able to use adb shell, adb push and adb pull?
Thanks!
Zappza
edit: to clearify. Which files/folders in the tools folder in the Android SDK is required?
You need adb which is an executable file who is inside android SDK

how to use themes from theme repo

sorry guys forgive my dumpness but i downloaded theme from the topic . after i replaced the apk files through root explorer and made restart to the device after that my x10 couldnt start i reflashed root steps but i really still want to change this stupid blue colore is there any easy way to do it . i wanna use the themes that already made from devlopers it comes like normal apk files........thanks in advance
Sent from my X10i using the XDA mobile application powered by Tapatalk
see Here *10chars*
What files do you have exactly? framework-res.apk? Phonebook.apk? Phone.apk
This thread as given above is taken that you have ADB installed on your computer.
http://forum.xda-developers.com/showthread.php?t=714288
If you do not have ADB, visit this thread first.
http://forum.xda-developers.com/showthread.php?t=532719
Feel free to ask if you have more questions
xGary said:
What files do you have exactly? framework-res.apk? Phonebook.apk? Phone.apk
This thread as given above is taken that you have ADB installed on your computer.
http://forum.xda-developers.com/showthread.php?t=714288
If you do not have ADB, visit this thread first.
http://forum.xda-developers.com/showthread.php?t=532719
Feel free to ask if you have more questions
Click to expand...
Click to collapse
i have framework-res.apk? Phonebook.apk? Phone.apk
and i know about adb commands but i wonder what is the diffrences it's all about replacing apk files and i manged that with root explorer and the guide is too hard it's all about modfications of the system files but it didn't tell us how to use an exsiting theme files ....is it all about the remount command that make us have to use adb ??? thanks in advance
h.boushi1987 said:
i have framework-res.apk? Phonebook.apk? Phone.apk
and i know about adb commands but i wonder what is the diffrences it's all about replacing apk files and i manged that with root explorer and the guide is too hard it's all about modfications of the system files but it didn't tell us how to use an exsiting theme files ....is it all about the remount command that make us have to use adb ??? thanks in advance
Click to expand...
Click to collapse
Not sure if ADB is required but thats the only method I know of. A step by step guide (Might want to double check with advanced users)
1) Install ADB and set the environment variables, etc.
2) Go to the folder (Should be c:/android-sdk-windows/tools) and open adb.exe (If it flashes and auto closes, open up cmd [Start>Run>cmd] and drag the adb.exe into the cmd and press enter)
3) Put Phone In Debugging Mode Settings>Applications>Development>USB Debugging
In ADB, type these commands
*Note that the commands are case sensitive*
Pull the files you are about to replace with the following commands:
cd c:/anrdroid-sdk-windows/tools
adb pull /system/framework/framework-res.apk framework-resk.apk
adb pull /system/app/Phonebook.apk
adb pull /system/app/Phone.apk
4) Now framework-res.apk, Phonebook.apk, and Phone.apk should be in your tools folder where your adb.exe is. Put these files somewhere safe.
5) Now drag your new framework-res.apk, Phonebook.apk, and Phone.apk into the tools folder.
6) Go back to adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
7) Now these commands will move your new theme files to the sdcard:
adb push framework-res.apk /sdcard/framework-res.apk
adb push Phonebook.apk /sdcard/Phonebook.apk
adb push Phone.apk /sdcard/Phone.apk
8) Now these commands will install the new theme files in the sd card from the previous step:
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
adb shell dd if=/sdcard/Phonebook.apk of=/system/app/Phonebook.apk
adb shell dd if=/sdcard/Phone.apk of=/system/app/Phone.apk
9) Now your phone will restart (If not, manually restart) and your theme should be installed.
Gary~
thanks a lot man ... you are the best i'll try that and report back but any way you still the best.....
Sent from my X10i using the XDA mobile application powered by Tapatalk
why every time i put the mount command it tells me "the device not found"
and the pull commands don't seems to work
i tried adb devices command but it seems it doesnt found my device
Mmm...maybe its sound dumb, but I'm a noob in this. How do you change the battery icon? Thx
rein_hiryu said:
Mmm...maybe its sound dumb, but I'm a noob in this. How do you change the battery icon? Thx
Click to expand...
Click to collapse
You pull the framework-res.apk file and open it with 7-zip. Inside should be some folders and there should be a folder (forgot which one) with a bunch of pngs. Replace the battery icons with desired ones.
Gary~

ADB issues

Okay, so i trying to push a file to my SGS4G... I thought i got it to work but when i went to find the file it was just some random file with no extension.
e.g. I typed (adb push FFFFFF.FFF /sdcard/download) it says the file was copied but when i go to my phone ffffff.fff is not there, instead a file called /sdcard/download
I followed these instructions....
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
What am i missing?
i see you are trying to push a file to your download folder on the sd card...
you can just drag and drop for stuff like this.
true true, not sure why i didnt think of that, i do it all the time... But would i use those instructions if i wanted to move a file say a recovery file to the bin directory?
i have never seen the need to use adb for this phone. it is not a nand locked device, so there is no real use for it (im speaking for users, not devs). if you want to push a file, jsut use root explorer or similar. thats all you need.
also, it seems to me like you are trying to get krylons cwm. just flash bali instead. no need for the recovery file or update.zip.

(Help) SD can not be mounted??

Not sure what happened during a ROM flashing, however, all in all, I can only boot my phone into Bootloader and recovery...nothing else, it says *error mounting /sdcard*So I can't restore or flash a previous backed up ROM. So I guess it would be called a soft brick. Any way of getting out of this? I tried to adb push, doesn't work. Tried the All in One kit, still nothing.
For anyone who can help me with my phone, I will compensate you for your time and knowledge.
If all else fails, I will just have to call and have the phone replaced.
Thanks in advance.
dont panic try this http://forum.xda-developers.com/showthread.php?t=1630459
I got as far as being able to mount my sdcard, now I can't push any files on to my phone?
put the rom in your adb folder, Use the command
adb push nameofrom.zip /sdcard
then in CWM it should appear
Check here for a full guide http://forum.xda-developers.com/showthread.php?t=1667929
C:\androidsdk\tools>adb push ROM.zip /sdcard/ROM.zip
cannot stat 'ROM.zip': No such file or directory
This is what it says when I try to push the ROM
and the rom is in the tools folder ?
you also naming it right ?
don't add the rom.zip after sdcard
i think that means you are pushing it to a rom.zip folder already on card--not 100% sure though
Thongvilay said:
C:\androidsdk\tools>adb push ROM.zip /sdcard/ROM.zip
cannot stat 'ROM.zip': No such file or directory
This is what it says when I try to push the ROM
Click to expand...
Click to collapse
Could also be you're not typing the path to the file correctly.
Do this, on your PC navigate to the folder where you have the ROM.zip file (in your case the tools folder in androidsdk.
Hold down the SHIFT button while right clicking on the "tools" folder
A drop down menu will appear and chose "Open Command window here"
You should get a CMD window with the correct path.
Also for me it's always "platform-tools" folder that I put my file to be push in.
hey BBF nice to see still around--loving my 1s
sorry for off-topic guys

[Q] Please help! need help with PIE.

I need help with pie. Im new to adb but new to rooting I have a verizon droid mini and I have downgraded to 19.5.3 and have adb setup i have unzipped the 1.1 and put the pie.jar and root.sh into my platform tools folder i can run adb devices and my device is recognized and online but when i run the command adb push pie.jar /data/local/atvc it says cannot stat pie.jar no such file or directory PLEASE HELP what am i doing wrong or what am i missing Thanks
ojodetigre said:
I need help with pie. Im new to adb but new to rooting I have a verizon droid mini and I have downgraded to 19.5.3 and have adb setup i have unzipped the 1.1 and put the pie.jar and root.sh into my platform tools folder i can run adb devices and my device is recognized and online but when i run the command adb push pie.jar /data/local/atvc it says cannot stat pie.jar no such file or directory PLEASE HELP what am i doing wrong or what am i missing Thanks
Click to expand...
Click to collapse
Take both (pie.jar and root.sh) out of your platform tools folder and place in same folder as platform tools folder. That is how mine is setup.
mrwinkle said:
Take both (pie.jar and root.sh) out of your platform tools folder and place in same folder as platform tools folder. That is how mine is setup.
Click to expand...
Click to collapse
When i set up my adb the only folder i got was the platform tools folder so basically i extracted the platform tools folder and renamed it android sdk for path purposes maybe i set up adb wrong like i said im new to adb but very familar with rooting so what should i do make a new folder and place platform tools in that folder along with pie.jar and root.sh
ojodetigre said:
When i set up my adb the only folder i got was the platform tools folder so basically i extracted the platform tools folder and renamed it android sdk for path purposes maybe i set up adb wrong like i said im new to adb but very familar with rooting so what should i do make a new folder and place platform tools in that folder along with pie.jar and root.sh
Click to expand...
Click to collapse
you can try that but since i'm not sure how you install android sdk here is the video that help me install it and i had no problems with PIE
mrwinkle said:
you can try that but since i'm not sure how you install android sdk here is the video that help me install it and i had no problems with PIE
Click to expand...
Click to collapse
Thanks for all your help I followed the video exactly to setup my adb i put the pie.jar and root.sh in the sdk folder and i tried it in the platform-tools folder each time cannot stat no such file or directory am i correct in saying that i first type adb push pie.jar /data/local/atvc ENTER then adb push root.sh data/local/atvc ENTER then adb shell chmod 755 /data/local/atvc/root.sh ENTER then adb shell /data/local/atvc/root.sh ENTER then PROFIT
What operating system are you running?
here is another vid that may help.

Categories

Resources