Hello!
I just flashed this ROM:
http://forum.xda-developers.com/showthread.php?t=1746991
and I can't get the maps to work, FC's all the time.
There's a solution in that thread but I don't know how to do that.
The solution is: "Originally Posted by KoolSavas95 View Post
for the maps fc can you try to replace libandroid_runtime.so under system/lib (give also the same permissions) with the one from cm7.2 stable and see if maps works or not?"
Can someone help me do that?
Thanks
VedroM said:
Hello!
I just flashed this ROM:
http://forum.xda-developers.com/showthread.php?t=1746991
and I can't get the maps to work, FC's all the time.
There's a solution in that thread but I don't know how to do that.
The solution is: "Originally Posted by KoolSavas95 View Post
for the maps fc can you try to replace libandroid_runtime.so under system/lib (give also the same permissions) with the one from cm7.2 stable and see if maps works or not?"
Can someone help me do that?
Thanks
Click to expand...
Click to collapse
Download the libandroid_runtime.so.
Then place the file inside your adb folder. Open a cmd window here by pressing SHIFT+RMB. Select "open command window here"
Type the following:
adb push libandroid_runtime.so /system/lib/
Then
adb shell chmod 644 /system/lib/libandroid_runtime.so
Done.
Sent from my locked, tampered ville
usaff22 said:
Download the libandroid_runtime.so.
Then place the file inside your adb folder. Open a cmd window here by pressing SHIFT+RMB. Select "open command window here"
Type the following:
adb push libandroid_runtime.so /system/lib/
Then
adb shell chmod 644 /system/lib/libandroid_runtime.so
Done.
Sent from my locked, tampered ville
Click to expand...
Click to collapse
He may need to do "adb remount" before pushing, to make it read-write.
Sent from my Galaxy Nexus using xda premium
True. Forgot to mention that. But that's if he replies
Related
can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
betterment66 said:
can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
Click to expand...
Click to collapse
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
gremlyn1 said:
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
Click to expand...
Click to collapse
ok i get to remount rw but the when i type in the nect code it says
mkdir falied for /sdcard/backup read-only filesystem
I install it using terminal emulator.
All I do is type
Su
#rm /system/app/YouTube.apk
#cp /sdcard/DirectoryWithTheYoutubeApp/YouTube.apk /
system/app
Or after you rm, just use the "My Files" app and go on your sdcard and click YouTube.apk and it'll install and work fine. But remember to sign out of youtube before you close it by going to your page and clicking sign out or else it'll keep force closing after you start it up.
I hope I helped...
Sent from my SPH-D700 using XDA App
you guys are gonna freaking kill me. ALL THE TROUBLE I WAS HAVING WAS BECAUSE I HAD MY SDCARD MOUNTED THE WHOLE TIME I WAS TRYING TO DO THIS THE MINUTE I TRIED IT WITHOUT IT BEING MOUNTED IT WORKED...IM SO DUMB!!!!! LOL BUT THANKS FOR THE HELP ALL OF U!!!!!! U GUYS ROCK!!!! N SO DOES THE NEW UTUBE APP .....BTW I UNDERSTAND UR NOT SUPPOSED TO SIGN IN TO IT RIGHT???
I just uninstalled the original, put the modded youtube.apk in the SDX backup folder and installed (restored) it with SDX stock app remover. Simple, fast and no typing required.
Glad you got it worked out though.
me 2!!! this app rocks
Glad it's working! Having the SD card mounted while trying to adb is a common mistake and always a good first troubleshooting check.
Hey guys, before saying anything else, I'm a complete newb to this. That being said, I have MetroDroid 1.0 as my ROM and it doesn't have htcfacebook.apk installed on it, so no contacts syncing. It angers me! What I need is the htcfacebook.apk and .odex files, and a good tutorial on how to install them on my EVO. Im a noob, so you'll need to be detailed lol. I've been looking around but I cant find clear instructions, so I tough I might as well ask. Thank in advance
Nevermind, I figured all that out. Now it says 'failed to copy. out of memory'
After trying to install using the
adb install HtcFacebook.apk
Click to expand...
Click to collapse
command it says
Failure INSTALL_PARSE_FAILED_NO_CERTIFICATES
Click to expand...
Click to collapse
^that was when I was trying to install it while not in recovery. In recovery it says
/sbin/sh: pm: not found
Click to expand...
Click to collapse
Anyone? Help? I'm stuck. lol.
Try this. Put the apk in the Android sdk tools folder and open command prompt and navigate to the tools folder. Then run;
adb push HTCFacebook.apk /system/app/ (press enter)
adb shell reboot
Hope this helps.
Sent from my HTC SUPERSONIC
dglowe343 said:
Try this. Put the apk in the Android sdk tools folder and open command prompt and navigate to the tools folder. Then run;
adb push HTCFacebook.apk /system/app/ (press enter)
adb shell reboot
Hope this helps.
Sent from my HTC SUPERSONIC
Click to expand...
Click to collapse
Alright so I tried what you said and it gives me the error
failed to copy 'HtcFacebook.apk' to '/system/app/': Is a directory
Click to expand...
Click to collapse
To be more exact, this what I had typed in
C:\AndroidSDK\tools>adb push HtcFacebook.apk /system/app/
Click to expand...
Click to collapse
Also, my EVO was in recovery when I did this.
type "adb remount" before you push
and if that doesnt work, lose the first '/'
if you are in recovery you will need to
adb shell
#mount /system/
exit
then you can push them to system
adb push /yoursdklocation/tools/yourapk.apk/ /system/app
if not in recovery the
adb remount
will suit your purpose
[email protected] said:
if you are in recovery you will need to
adb shell
#mount /system/
exit
then you can push them to system
adb push /yoursdklocation/tools/yourapk.apk/ /system/app
if not in recovery the
adb remount
will suit your purpose
Click to expand...
Click to collapse
Alright, I did what you said (for pushing in recovery, because out of recovery it would say i didnt have enough memory) and now it said
C:\Users\Marius>adb push HtcFacebook.apk /system/app
1226 KB/s (164592 bytes in 0.131s)
Click to expand...
Click to collapse
I'm guessing that was supposed to happen? Now what do I do? just run the command 'adb install HtcFacebook.apk'?
Does anyone know where I can find QuickOffice for my g2? Im running cm6.1.1 and I downloaded a pdf and when I pressed it it went to quicloffice but when I exit I can't find it on the app.drawer or anywhere ..
Sent from my HTC Vision using XDA App
You can get it from the stock deodex rom and push it to /system/app, I'm about to do that once I get home from work, so I can confirm.. I got the ezpdf from market but I think quick office seems better
Edit: I can confirm that it works by just extracting the Quickoffice.apk in stock deodex rom and push it back to cm, its usable and will also appear in the app drawer now
Sent from my HTC Vision using Tapatalk
def. let us know noodles, this is something im looking to get as well..
Can you give me the exact steps im a noob :/
Sent from my HTC Vision using XDA App
Same here. I have CM6.1.1 and I can see Quickoffice in Titanium but it won't let me restore it.
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
noodles2224 said:
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
Click to expand...
Click to collapse
Before you do the "cp /sdc...." command, you have to mount system using this command: mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
Please correct me if it's wrong, I just copied it from another thread.
Yea you do, but sometimes you don't need to.. well, some that I notice or maybe its because I'm always switching roms and forget which ones which
A shorter one would be
mount -o remount rw /system
Sent from my HTC Vision
This also works and is pretty easy
http://forum.xda-developers.com/showthread.php?t=837599
If you have a nandroid backup of your stock rom you could also restore it and extract from there. Otherwise just flash the stock rom like noodles said and extract from there
Sent from my HTC Vision using XDA App
You don't have to flash the stock rom, just download it to the computer and extract it there
Sent from my HTC Vision
My bad. Thanks!
noodles2224 said:
You don't have to flash the stock rom, just download it to the computer and extract it there
Sent from my HTC Vision
Click to expand...
Click to collapse
Sent from my HTC Vision using XDA App
If you are running CM6.1.1 you can just type this from the tools directory of your androidsdk install in the windows command prompt.
"c:\{android sdk path here}\tools\adb push Quickoffice.apk sdcard/"
then
"c:\{android sdk path here}\tools\adb remount"
that will remount the system partition. Then you can type this
"c:\{android sdk path here}\tools\adb shell"
then you will see this
"#"
then you can type
"# cp sdcard/Quickoffice.apk /system/app"
shadowofzeus said:
If you are running CM6.1.1 you can just type this from the tools directory of your androidsdk install in the windows command prompt.
"c:\{android sdk path here}\tools\adb push Quickoffice.apk sdcard/"
then
"c:\{android sdk path here}\tools\adb remount"
that will remount the system partition. Then you can type this
"c:\{android sdk path here}\tools\adb shell"
then you will see this
"#"
then you can type
"# cp sdcard/Quickoffice.apk /system/app"
Click to expand...
Click to collapse
"Ok".. pretty much exacly what I said..
Sent from my HTC Vision
noodles2224 said:
Download Stock Deodex Rom v1.1 in the Development forums.. look through it, it might be towards the end or so..
You can use 7zip to extract files or windows extract .. so if you haven't gotten it, download it at download.com and install it.
Open the v1.1.zip rom, just double click on it, go to SYSTEM folder then APPS folder and search for Quickoffice.apk at the bottom and just drag it out to the desktop.
Now, either copy it through Terminal Emulator by just putting it to the root of sdcard and type
su
cp /sdcard/Quickoffice.apk /system/app
Or you can use adb, and I bet root explorer aswell as its pretty much all the same concept..
Sent from my HTC Vision
Click to expand...
Click to collapse
Thanks.. I got it to work.
methead said:
Thanks.. I got it to work.
Click to expand...
Click to collapse
...edited...found answer/solution
I'm going through these instructions but they are pretty complicated for me.
lukegb said:
Instructions for getting rid of ZIP version only <4.0.3:
Open ClockworkMod Recovery
Download the correct files from http://googlewallet.lukegb.com/stock/system/ that match your Android build and system - ICL53F is Android 4.0.2, yakju is GSM and mysid is LTE.
You'll need:
NfcGoogle.apk
com.android.nfc_extras.jar
Open an adb shell from your computer to your device from the directory you've just downloaded those files to
Run (on device via adb shell):
Code:
mount /system
mount /data
rm /system/app/Wallet.*
rm /system/app/NfcGoogle.*
rm /system/framework/com.android.nfc_extras.*
exit
Run (on computer):
Code:
adb pull /data/system/packages.xml packages.xml
Make a backup of the newly-created packages.xml file which is on your computer
Open packages.xml in a text editor (which isn't notepad)
Copy ALL the content
Open http://googlewallet.lukegb.com/gn_packages_xml_fixer.html in a web browser
Paste the content into the left-hand "Input" box
Click "Fix it"
Copy ALL the content from the right-hand "Output" box
Delete all the content in the text editor with packages.xml open
Paste the content
Save packages.xml
Close your text editor
Run (on computer):
Code:
adb push NfcGoogle.apk /system/app/NfcGoogle.apk
adb push com.android.nfc_extras.jar /system/framework/com.android.nfc_extras.jar
adb push packages.xml /data/system/packages.xml
adb shell chmod 644 /system/app/NfcGoogle.apk
adb shell chmod 644 /system/framework/com.android.nfc_extras.jar
You're done.
EDIT (28/12/11)
Important notice for all those who have already attempted to remove the ZIP version to replace with the APK version
Read this if NFC has disappeared from your more menu, you get crashes in the More menu, Wallet now forcecloses where it didn't before after removing the ZIP
I have just (idiotically) noticed a blindingly obvious flaw with the files I had previously uploaded to the stock folder on http://googlewallet.lukegb.com - they were the odexed versions of the files, crucially WITHOUT the .odex files. I've replaced them with pseudo-stock (same signatures) versions of the apks and if you replace the NfcGoogle.apk, Android should correctly take this into account.
Don't forget to chmod 644 the NfcGoogle apk and the com.android.nfc_extras.jar files!
Click to expand...
Click to collapse
I'm stumped here: Open an adb shell from your computer to your device from the directory you've just downloaded those files to
I can open cmd and open adb shell but i don't understand how to open adb from the directory where i donwloaded said files.
Are you trying to install Google Wallet thru ADB? Why don't you just install it from Google Play?
babymatteo said:
Are you trying to install Google Wallet thru ADB? Why don't you just install it from Google Play?
Click to expand...
Click to collapse
I'm trying to fix google wallet because it is giving me an error. The post I quoted shows me the directions to fix that error.
Best thing to do is put the file(apk) in the tools directory of the android-sdk directory and use the exact same command
Same thing for the jar file...
haitu said:
[snip]
I can open cmd and open adb shell but i don't understand how to open adb from the directory where i donwloaded said files.
Click to expand...
Click to collapse
Open a command prompt and navigate to where the directory is. For example, let's say you downloaded the files to C:\users\n00b\desktop\junk, and you open a command prompt and it opens in C:\users\n00b\, then all you have to do is type:
cd /users/n00b/desktop/junk
Make sure you have your adb files in that directory.
haitu said:
I'm trying to fix google wallet because it is giving me an error. The post I quoted shows me the directions to fix that error.
Click to expand...
Click to collapse
Just out of curiosity, what error are you getting?
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!