how to push lib flies ? - Nexus One Q&A, Help & Troubleshooting

I have downloaded the files from here but I don't have custom recovery so i can't flash the zip but the dev tells me i can do it via terminal but i don't know how can any one please help me and give me the commands

via adb...
adb remount
adb push (source file) (destination-e.g. /system/lib)
thats it...
Sent from my Nexus One using Tapatalk

teddyonair said:
via adb...
adb remount
adb push (source file) (destination-e.g. /system/lib)
thats it...
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
there are like four files in the zip file should i do this for all of them , do i need to cp the fonts too?
thank you

Related

Extracted Boot Animation

Guys
I've extracted the boot animation from nprussell's VillainROM 5.1 because I think it's much better than the one on VillainROM 5.22, but I can't flash it.
It's a zip file but when I use the system recovery tool to flash it, I'm told there's no signature and verification failed.
How can I get around this?
I've attached the ZIP file.
Okay, managed to sign it using the below link, but I don't have a boot script..! Tut!
http://forum.xda-developers.com/showthread.php?t=656536
sonnysoul said:
Guys
I've extracted the boot animation from nprussell's VillainROM 5.1 because I think it's much better than the one on VillainROM 5.22, but I can't flash it.
It's a zip file but when I use the system recovery tool to flash it, I'm told there's no signature and verification failed.
How can I get around this?
I've attached the ZIP file.
Click to expand...
Click to collapse
Just push it with adb
Code:
adb remount
adb push bootanimation.zip /system/media/
tristan202 said:
Just push it with adb
Code:
adb remount
adb push bootanimation.zip /system/media/
Click to expand...
Click to collapse
Worked a treat, mate.
Cheers!
P.S. Really liking your theme for VillainROM. Keep it up!

What to do now? Trying to edit framework-res.apk

Ok, trying to edit framework-res.apk. I have a metamorph them running, and I also have a battery that got changed via update.zip. The problem is, I wanted the battery to be all white, rather than colored in order to fit with my black and white theme.
So I pulled my framework-res.apk, took out the battery .png's, and edited them. Then I put them back in. Problem is, I can't get it on my phone.
I tried putting the new framework-res.apk in the old update.zip and flashing it, but that just made my battery meter disappear. I tried adb push, but I got a permission denied error. Any help? First .apk edit.
adb pushing shoulda worked... what did the error say?
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Per
mission denied
Click to expand...
Click to collapse
That's the error I get. Not sure what I have to do to get permission to edit?
E_man5112 said:
That's the error I get. Not sure what I have to do to get permission to edit?
Click to expand...
Click to collapse
Do
Code:
Adb remount
first. Then push
adb remount only gives me another error
Code:
remount failed: No such file or directory
K go in recovery, cuz thts the safest place to push framework-res.apk
Once in recovery and ur phone connected to ur pc
After a few seconds (20'ish)
Type
Code:
adb shell
mount /system
exit
adb push <drag framework-res.apk here> /system/framework/framework-res.apk
adb shell reboot
This is harder than I though.
Code:
adb shell
$ mount /system
mount /system
mount: not found
Now what?
E_man5112 said:
This is harder than I though.
Code:
adb shell
$ mount /system
mount /system
mount: not found
Now what?
Click to expand...
Click to collapse
lol. k wht recovery u using ?
stock recovery
Code:
adb reboot recovery
E_man5112 said:
stock recovery
Code:
adb reboot recovery
Click to expand...
Click to collapse
lol time to upgrade to amon-ra recovery bro. also...make sure u signed ur files or else nothing works...assuming you're not a complete noob.
E_man5112 said:
stock recovery
Code:
adb reboot recovery
Click to expand...
Click to collapse
yea wht opasha said. u need root/custom recovery to modify system apps. sorry.
Will clockwork recovery do the trick?
Sent from my SAMSUNG-SGH-I897 using XDA App
E_man5112 said:
Will clockwork recovery do the trick?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yup it'll do.
Ok, making progress, /system mounts, so I type
Code:
adb shell
su
mount /system
exit
adb push framework-res.apk /system/framework/framework-res.apk
and I get
Code:
/sbin/sh: adb: not found
in your above post, you didn't mention su, but /system won't mount unless I'm root user, so I don't know any other way to do it? exit keeps me in the shell it seems (I still have ~$) but exiting again kicks me out of adb all together, then if I restart, I'm back at the permission denied error.
opasha said:
lol time to upgrade to amon-ra recovery bro. also...make sure u signed ur files or else nothing works...assuming you're not a complete noob.
Click to expand...
Click to collapse
Bad assumption I really am
How do I sign my files?

[Q] ADB Commands

I currently can no longer use my power button. I was wondering if there is any way to use ADB to install the Update.zip to root my phone.
Adb reboot recovery? Dunno if that'll work
Sent from my SGH-I897 using XDA App
adb reboot recovery
Click to expand...
Click to collapse
after it reboots to the recovery,
adb push update.zip /sdcard/
Click to expand...
Click to collapse
That will work, to reboot to normal again, "adb reboot"
As of right now, I don't think /sdcard/ is the right directory. I'm going to try to find the correct one. It couldn't find the directory or .zip.
As long as your phone is on and debugging mode is on, then ADB should work.
Sent from my I897 using xda premium
In adb the sdcard partition is /mnt/sdcard...

Flashing Multiroms special Twrp recovery

Hi there,
I want To flash the recovery needed for the multirom mod, but i'm not sure how To do it. in the multirom thread i can download the recovery but its a ZIP file.
I did also installed cwm and normal twrp before, but i did it through the terminal APP. I just placed an image file in the root of my SD and typed this Command:
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
And it worked.
But in other thread i also saw this Command:
su
flash_image recovery /sdcard/recovery.img
Where are the diffrences? Which one will work?
And one more, can i use all ADB Commands in thE terminal app? Does the terminal APP acces ADB like through fast Boot?
Thx for some help, hope my english is good enough ^_^
Sent from my LG-P880 using xda app-developers app
noobiei5 said:
Hi there,
I want To flash the recovery needed for the multirom mod, but i'm not sure how To do it. in the multirom thread i can download the recovery but its a ZIP file.
I did also installed cwm and normal twrp before, but i did it through the terminal APP. I just placed an image file in the root of my SD and typed this Command:
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
And it worked.
But in other thread i also saw this Command:
su
flash_image recovery /sdcard/recovery.img
Where are the diffrences? Which one will work?
And one more, can i use all ADB Commands in thE terminal app? Does the terminal APP acces ADB like through fast Boot?
Thx for some help, hope my english is good enough ^_^
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
You can flash the TWRP as a zip in CWM/TWRP or whichever recovery your using!
However if it doesn't work, Boot to boot loader/fastboot, theres a thread on this, put the TWRP recovery.img in the directory with the adb and fastboot.exe's, make sure you have drivers installed, and do this command when in fastboot
Code:
fastboot flash recovery [Name of recovery].img
Check the multirom thread, i have a tutorial posted :3
Oh man !
So easy, can't believe xD
Ty for the other step by step guide, but isn't it the same as if i extract the Boot.IMG, Place it on root and type one oft the commands above?
But THX anyways for the fast answear
Sent from my LG-P880 using xda app-developers app

So i messed up

Hi , I installed ColosOS beta without installing oppo.boot.img.
And whole system froze on booting up.
Now I have TWRP recovery installed , via fastboot.
But I have no ROM on my cellphone it seems.
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
My problem now is to get ROM.zip into my phone. Damn HTC ONE dont have external sd card.....
Anyone can help ?
mrcaligula said:
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
Click to expand...
Click to collapse
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
nkk71 said:
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
Click to expand...
Click to collapse
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
mrcaligula said:
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
Click to expand...
Click to collapse
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
nkk71 said:
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
Click to expand...
Click to collapse
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
mrcaligula said:
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
Click to expand...
Click to collapse
good luck, hit the thanks button if i've helped
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
mrcaligula said:
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
Click to expand...
Click to collapse
Good
BTW, /sdcard usually point to /data/media/0, so you should have browsed to the 0 folder in CWM, and then you would have seen the rom.zip

Categories

Resources