Any ill effects from pushing framework-res.apk with the phone booted into Android? I know nothing will take effect until I restart.
I'm doing some theming and rebooting to recovery, puhsing, then back to system is getting old.
howabout a rooted system one or boot? Can do that?
Sent from my Galaxy Nexus using xda app-developers app
JediNinjafication said:
howabout a rooted system one or boot? Can do that?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I can't understand you. I am rooted.
It is perfectly safe to push framework-res.apk and SystemUI.apk while the phone is booted.
After pushing the apk, just use 'adb reboot' to make the phone reboot and to make the changes take effect.
Also, anyone who doesn't know, if you get a message about the file system being read-only, simple use 'adb remount' and attempt to re-push the apk.
Sent from my Galaxy Nexus using Tapatalk 2
I always had to mount -o system, rw or whatever
Sent from my Galaxy Nexus using xda app-developers app
infazzdar said:
It is perfectly safe to push framework-res.apk and SystemUI.apk while the phone is booted.
After pushing the apk, just use 'adb reboot' to make the phone reboot and to make the changes take effect.
Also, anyone who doesn't know, if you get a message about the file system being read-only, simple use 'adb remount' and attempt to re-push the apk.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Pushed framework-res.apk while phone was boot then used adb reboot. When my phone rebooted all of my accounts (Google, Dropbox, and Exchange) were gone, had to re-create them!
This is on CM10.
Never had any of my accounts disappear after pushing my modified framework back to my phone.
Related
Well, I did a little search for the SAMSUNG STOCK boot animation since I don't like the one in Custom and I just like the Stock one to just show off
and here it is...
I know you can found this in stock rom or img or whatever, but this one is just for convenience
I take no credit since Samsung made it, not me
How to use it?
Code:
adb remount
adb push bootanimation.zip /system/media/
Tried replacing using root explorer and didn't work. I'll try adb when I get to my PC.
Sent from my Galaxy Nexus using xda premium
spunks3 said:
Tried replacing using root explorer and didn't work. I'll try adb when I get to my PC.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Works for me...I used ES File explorer
used root explorer and it worked fine, only had to change permissions thank you
ytwytw said:
Well, I did a little search for the SAMSUNG STOCK boot animation ...
Code:
adb remount
adb push bootanimation.zip /system/media/
Click to expand...
Click to collapse
Or you can make it flashable
View attachment Samsung_bootanimation_Nexus.zip
Feel free to use this zip as template to flash other bootanimations just replace the original
I flashed the ics version of dsp manager, but it doesn't seem to be doing much of what it should. Disable button is grayed off, so... how do i uninstall it?
Sent from my Galaxy Nexus using Tapatalk
If it's on /system/app then use a file manager to remove it
Tried it but the apk won't go away. Confirmation dialog comes up, i accept, progress bar fills up. But the app is still there, no matter how many tries i give it.
Sent from my Galaxy Nexus using Tapatalk
Bump.
Sent from my Galaxy Nexus using Tapatalk
Make sure that your file manager is remounting /system in read/write mode.
Delete the apk from /system/app.
Reboot.
Alternatively, connect via adb with the phone in recovery.
Code:
adb remount
adb shell rm /system/app/AppName.apk
adb reboot
or similar should get it taken care of.
OK I would like to know if any one would like to help me out.
I have a boot animation (call of android)
It not the rite size and I don't have a PC to fix it. I was wondering if any one can be of service and can do it for me.
Please and thank you ^_^
Sent from my Galaxy Nexus using xda premium
Ante one
Sent from my Galaxy Nexus using xda premium
Is it the same one as in
http://forum.xda-developers.com/showthread.php?t=1364044&page=1
?
Also see mods of that one later in the same thread, here:
http://forum.xda-developers.com/showpost.php?p=26795464&postcount=275
Otherwise, get back in touch.... re-sizing's no biggie.
That the one I still see it the not to size
Sent from my Galaxy Nexus using xda premium
What do you actually see?
Maybe try deleting the bootanimation.zip on your phone directly and then re-flash:
Assuming you're on windows and the zip file bootanimation_droid_loop.zip is in your downloads directory
Code:
adb root
adb remount
adb shell
rm /system/media/bootanimation.zip
rm /data/local/bootanimation.zip
exit
adb push %userprofile%\downloads\bootanimation_droid_loop.zip /data/local/bootanimation.zip
adb reboot
I don't have a PC
Sent from my Galaxy Nexus using xda premium
Sorry... You did say that.
But what do you actually see on your screen when you boot?
Can you get into recovery
You probably should just flash a new rom
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
Did you try wiping then recovering
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
For future reference, when you're working from recovery:
adb shell mount system
adb push framework-res.apk /system/framework/
adb shell umount system
adb reboot
Josepho1997 said:
So, I was going to replace my framework-res(don't ask why), but I wanted to keep a backup of it. So, I renamed it framework-res.apk1, and was planning to put the modded one in /system/framework. But, once I renamed it, everything crashed. I got a bunch of Chinese/Japanese writing(don't ask me why ). Now nothing will open and my notification bar is gone. Anyways, I rebooted into recovery and mounted from there(because it wouldn't mount). Now I need to know how to install framework-res.apk to /system/framework using adb. I tried:
I've never needed to install an apk with adb, so I don't even know if thats the right code.
EDIT: I used:
to move it to /system/framework
I tried using
but it just gives me the list of option for adb(like when you first open it)
EDIT:
I tried to make it RW by using:
EDIT:
Great! Now it won't even get to the boot animation. Its stuck on the White and orange Kindle Fire screen(before it gets to the boot animation)
Click to expand...
Click to collapse
Yeah like stated above, you need to use adb push because you are just moving it not actually installing it.
also a tip for replacing your framework.
put new framework.apk on sdcard then with root explorer copy or move to the main directory and fix permissions, then move to framework and paste, it will ask if you want to over write other apk say yes, your phone will reboot with the new framework apk.
if you want a backup just copy the original first and save it somewhere else.
Sent from my Galaxy Nexus using xda premium
Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
re: install apks
TheArtiszan said:
Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
Click to expand...
Click to collapse
All you need is to be rooted, it does not matter if you have custom recovery or not.
You can install any apk's since you do not need to go into recovery to install apks.
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
re: install apk
TheArtiszan said:
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
Click to expand...
Click to collapse
The framework-res.apk should be installed like any other app
unless the OP of wherever you got it from gives instructions
to "copy" it to the /system/app folder.
Why not do it the default normal way? just double click on it
when you are in root explorer and it should install like any
other app. If it gives an error, then you can copy it.
If you "copy" it you have to fix permissions and you have to
change the attributes of the /system/app folder so it's "read and write".
NOTE: if there is an existing framework-res-apk in /system/app
delete it with root explorer before doing any of the above.
Framework-Res.apk must reside in system directory. /system/framework to be exact.
Easiest way to do it without locking up is with adb.
You were right OP that it locks up because it's consistently being used. When I make my mods and such to the framework, this is how I quickly get it to the device.
adb remount (if the kernel supports it in other words, anything but stock)
Turn phone screen on
Adb shell stop (your phone should now have a black screen. This command stops all running threads except the one for adb)
Adb push framework-Res.apk /system/framework
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
You should now see the boot animation then the prompt "android is upgrading"
If you do not have adb remount option (it returns with permission denied)
Copy new framework Res apk to root of internal sd card.
Adb shell stop
Adb shell mount -o remount,rw /system
Adb shell cp /sdcard/framework-Res.apk /system/framework/framework-Res.apk
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
Just a pointer, disregard my capitalization. Only capitalize when needed.
This method should get everything copied successfully. Any issues just post back!
Sent from my SGH-M919 using Tapatalk 2
Oh thank you very much.
I will give that a try and sounds exactly like what I was looking for.
Sent using xda premium.
Not sure if this is really relevant but...
When I had the samsung vibrant, I used root explorer to make a copy of my framework-res.apk. I extracted the entire thing, found my battery icon files, replaced them with different images given the same name, then repacked the file. Then I copied it back to the original folder to replace the original apk and my phone immediately shut off and rebooted. When it came back I had my new battery icon working just as I had hoped. I was rooted running stock.
Wait... Are you saying that I can simply copy the framework-res.apk from SlimKat and use it on a Google Play Edition ROM?
I'm going to try it!