Google location services fix (formerly, Twitter client recommendations?) - Nook Color Themes and Apps

I tried and failed with Seesmic so far.
[INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Update:
Twitter and Tweetdeck also fail to install (didn't verify the error).
Update2:
Seems like others had noticed this before:
http://forum.samdroid.net/f38/cant-install-seesmic-after-kitchen-v2-1949/#post45656
I do have GMaps installed, though ...
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Update4:
It seems that this fix may apply to any app that used Google location services. (More useful than I thought )
Also see here (post 10) for the Quick Howto:
http://forum.xda-developers.com/showpost.php?p=9657322&postcount=10
Update5:
Don't forget to remount the /system parition (else, you will get messages about read-only issues).
Code:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system

twidroyd is perfect. its probably the single best running app on my NC, all things considered.

cabbieBot said:
twidroyd is perfect. its probably the single best running app on my NC, all things considered.
Click to expand...
Click to collapse
I installed the official Twitter (v1.0.5) client right from the applanet market. Works perfectly

Touiteur is my favorite app and it works just fine on the NC.
Sent from my Nook Color

cabbieBot said:
twidroyd is perfect. its probably the single best running app on my NC, all things considered.
Click to expand...
Click to collapse
Agreed, Twidroyd is awesome! I'll stick with it.

feisty_noodle said:
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.

kerobaros said:
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.
Click to expand...
Click to collapse
I was able to pull them from my Android phone. I'm not sure the legality of posting those here (proprietary software maybe?)

kerobaros said:
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.
Click to expand...
Click to collapse
You can extract the necessary files from any of a number of GApps floating around (like this one):
http://goo-inside.me/google-apps/gapps-mdpi-20101020-signed.zip

That fix actually enables a whole slew of other apps -- basically all the things which wouldnt work because they lacked location services (i.e. all the good stuff). You should seriously post that in another post as a generic non-installing app fix.
I just got Parallel Kingdoms running, so my NC experience is complete.

quick how-to
remount rw so we can modify /system
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
copy over the two files from the zip:
Code:
adb push com.google.android.maps.xml /system/etc/permissions/com.google.android.maps.xml
adb push com.google.android.maps.jar /system/framework/com.google.android.maps.jar
reboot the device
Code:
adb shell
reboot
This should be working, I've done very limited tests to confirm that it's accurate

feisty_noodle said:
I tried and failed with Seesmic so far.
[INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Update:
Twitter and Tweetdeck also fail to install (didn't verify the error).
Update2:
Seems like others had noticed this before:
http://forum.samdroid.net/f38/cant-install-seesmic-after-kitchen-v2-1949/#post45656
I do have GMaps installed, though ...
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
How do you push the files?

feisty_noodle said:
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
Thanks for this. I have the two missing files, but can't figure out how to frame the push command. Can someone help please.

So weather apps and twitter apps are the main beneficiaries of this hack? Anything other noteworthy apps that come to mind?
Thanks for the step by step guide !!

This tutorial worked perfectly. Pushed the two files, rebooted, and Tweetdeck installed. Works like a charm. Thanks, folks!
Also, what gapps bundle did you get those out of, the one linked earlier in the thread? Going to try to push some more files out of it, try to get Gmail and Google Reader working.

I must be missing something. I just tried this and it responded with:
failed to copy <file> to <location> : Read-only file system
Do I need to do the superuser stuff first?

mad5427 said:
I must be missing something. I just tried this and it responded with:
failed to copy <file> to <location> : Read-only file system
Do I need to do the superuser stuff first?
Click to expand...
Click to collapse
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
then push your file

califrag said:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
then push your file
Click to expand...
Click to collapse
Thank you. Having adb shell and the mount line in the same command worked perfectly.

I cant get it to work at all @[email protected]

Can I do this with root explorer? My comp took a dirt nap on me yesterday.
Or terminal emulator?
Sent from my Droid using XDA App

chuffykow said:
reboot the device
Code:
adb shell
reboot
This should be working, I've done very limited tests to confirm that it's accurate
Click to expand...
Click to collapse
Its not necessary to get into shell to reboot the device..
U can do this
Code:
adb reboot

Related

New Market app

Any brave souls tried the new Market today?
Yes, I just tried it. It works! and it fixes the button problem in 2.2.6.
I first tried one that did not work, but I've attached the one I did get to work. Just copy into /system/app, rename to Vending.apk, and change permissions.
Enjoy!
Xhorder said:
Yes, I just tried it. It works! and it fixes the button problem in 2.2.6.
I first tried one that did not work, but I've attached the one I did get to work. Just copy into /system/app, rename to Vending.apk, and change permissions.
Enjoy!
Click to expand...
Click to collapse
Would this work ?
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb shell cp /system/app/Vending.apk /system/app/oldVending.apk
adb push Vending.apk /system/app
adb reboot
Or, you can just download and install it like any other apply. It'll install over the old Market no problem. It Indore you that it's a system apply, but works anyway.
Sent from my Nook Color
golfprorm said:
Or, you can just download and install it like any other apply. It'll install over the old Market no problem. It Indore you that it's a system apply, but works anyway.
Sent from my Nook Color
Click to expand...
Click to collapse
that didn't work for me... YMMV of course.
Anyone have the old Market (Vending.apk)? I stupidly replaced it with the above and broke it. Much obliged.
Thibor69 said:
Would this work ?
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb shell cp /system/app/Vending.apk /system/app/oldVending.apk
adb push Vending.apk /system/app
adb reboot
Click to expand...
Click to collapse
Worked for me
I was able to install it via the .apk...
Kept getting error message about cp: not found
Skipped the renaming step and it worked perfect, rejected both drives first and it worked like a charm.
FW 1.0.0 / Launcherpro
Works great! Any updated Gmail success yet?
Sent from my LogicPD Zoom2 using Tapatalk
Just installed it from the APK above. Works great.
Took the plunge... did it from the APK. Works.
The scrolling issue when you had to flip the NC in landscape is gone. But I find it a royal pain to switch between Paid, Free and Just In. For some reason the oval overlay trasfers the click on the app below and I end up opening that instead. I found that switching requires a rather precise click... something to think about Mr. Sergei. Well... maybe not for us free spirits
Thanks, I just installed it and it worked, straight from tapatalk app.
Worked fine for me also.
Via TapaTalk on Nook Tablet
I've downloaded and put it into the system\app folder, renamed and when market opens it just instantly crashes.
ideas anyone? greatly appreciated
EDIT: ROFL! redid the process and rebooted after double checking permissions, works fine now
One thread on the subject is enough: http://forum.xda-developers.com/showthread.php?t=872621

[SCRIPT] Honeycomb Install - Market, GMail, Talk, Contacts, Maps

This should work on Honeycomb 1 and 2/2a. It includes Contact Sync for GMail (I needed this), Gmail, Market, Talk, and Maps.
Extract HoneyGApps.v2.zip in ADB directory
Double click HoneyGAppInstall
Done
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
adb push Vending.apk /system/app
adb push GoogleServicesFramework.apk /system/app
adb push Gmail.apk /system/app
adb push Maps.apk /system/app
adb push Talk.apk /system/app
adb push GoogleContactsSyncAdapter.apk /system/app
adb shell chmod 6755 /system/app/Vending.apk
adb shell chmod 6755 /system/app/GoogleServicesFramework.apk
adb shell chmod 6755 /system/app/Gmail.apk
adb shell chmod 6755 /system/app/Maps.apk
adb shell chmod 6755 /system/app/Talk.apk
adb shell chmod 6755 /system/app/GoogleContactsSyncAdapter.apk
adb reboot
You can either add any missing files using the above code or just run the script and it will overwrite/replace everything. I have been mucking with files so hopefully everything required is included... I've left v1 attached just in case.
When downloading from the market sometimes it is very slow, sometimes very fast. There can also be a delay between when you click install and you see the download start. Be patient, if you click install again you will start a second download.
======== OLDER DIRECTIONS ========
Extract HoneyMarketInstall.v2.zip in ADB directory
Double click HoneyMarketInstall
Done
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
adb push Vending.apk /system/app
adb push GoogleServicesFramework.apk /system/app
adb push Gmail.apk /system/app
adb shell chmod 6755 /system/app/Vending.apk
adb shell chmod 6755 /system/app/GoogleServicesFramework.apk
adb shell chmod 6755 /system/app/Gmail.apk
adb reboot
* Standard disclaimer, use at your own risk and stuff. *
(Market is version 2.2.11)
(GMail is version 2.3.2)
(Talk is version 1.3)
(Maps is version 4.5.1)
thanks this is helpful
It works but force closes on me when trying to install something. Any ideas?
When trying to download it gets stuck at "starting download". hmm
MattJ951 said:
It works but force closes on me when trying to install something. Any ideas?
Click to expand...
Click to collapse
Having the same issue............
Is this the new marketplace because for some reason alot of apps dont show up in the market i have on there now and i tried pushing the .apks manually and im not getting any luck.
compuguy1088 said:
Having the same issue............
Click to expand...
Click to collapse
I had the same problem. I replaced the apk's in the zips with the ones in this post and reran the script and everything is working now.
http://forum.xda-developers.com/showpost.php?p=11056748&postcount=250
Could have been a fluke but maybe something is off with the apks in the zip?
tip!
this:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
Click to expand...
Click to collapse
can be replaced with this:
adb remount
Click to expand...
Click to collapse
zappaziz said:
I had the same problem. I replaced the apk's in the zips with the ones in this post and reran the script and everything is working now.
http://forum.xda-developers.com/showpost.php?p=11056748&postcount=250
Could have been a fluke but maybe something is off with the apks in the zip?
Click to expand...
Click to collapse
Those are the files in the ZIP, I merely made the script to install it, following the posted directions.
fattire said:
this:
can be replaced with this:
Click to expand...
Click to collapse
Doesn't usually work for me... went with what I know works.
I just get FC's out of the framework and the market... Using the 02 version of the Nook Honey posted which adds sound... Something needs to change in the framework or such?
I updated to 1.1.0.
Everything works great.
The Market is totally different. I used to only have a few apps in portrait, but in landscape I had more.
Now it all looks different but works great portrait or landscape.
Seems like I have many more apps available now.
I am a Happy Camper!
Worked well for me. Only a few things that won't install....get Unknown error - 18 trying to install Anry Birds.. anyone know what could be the cause of this?
Also, I really hope Root comes along soon, then this will be AWESOME!
Thank you DB for HC!!
Thank you jleecong for this great install tool!!!
khaytsus said:
I just get FC's out of the framework and all gapps... Using the 02 version of the Nook Honey posted which adds sound... Something needs to change in the framework or such?
Click to expand...
Click to collapse
There shouldn't be any GApps... this is just market.
jleecong said:
There shouldn't be any GApps... this is just market.
Click to expand...
Click to collapse
Okay, I mis spoke, the Framework and Market FCs.
khaytsus said:
Okay, I mis spoke, the Framework and Market FCs.
Click to expand...
Click to collapse
Just making sure...
Do you have any other apps installed, done anything "funny"?
I installed this first thing both times (using the script) and had no issues (Download can seem stuck and kinda goes from 0 to 100%, but you can see traffic if you monitor it externally).
crashdau said:
Worked well for me. Only a few things that won't install....get Unknown error - 18 trying to install Anry Birds.. anyone know what could be the cause of this?
Also, I really hope Root comes along soon, then this will be AWESOME!
Thank you DB for HC!!
Thank you jleecong for this great install tool!!!
Click to expand...
Click to collapse
I was unable to open "Manage Applications" on 01, just got FC. Now on 02 I'm able open it without issue.
I tried Angry Birds on 01 and didn't have any issues installing (I installed it using ADB however).
jleecong said:
Just making sure...
Do you have any other apps installed, done anything "funny"?
I installed this first thing both times (using the script) and had no issues (Download can seem stuck and kinda goes from 0 to 100%, but you can see traffic if you monitor it externally).
Click to expand...
Click to collapse
No, I made the disk, booted into HC (2, with sound), plugged in USB cable, pushed/chmod'ed, rebooted. From there FC's on related items. Didn't do anything else at all.
I might mess with a bit more here later. I have it on two cards, one I put your files on, the other I didn't....
Weird.. Rebooted a few times and the FC's stopped, and then the market worked, google sync worked..
Then things went south again Okay, HC is cute, played with it, check! Back to the stock ROM.
khaytsus said:
Weird.. Rebooted a few times and the FC's stopped, and then the market worked, google sync worked..
Then things went south again Okay, HC is cute, played with it, check! Back to the stock ROM.
Click to expand...
Click to collapse
I have gotten a few Close or Waits (choose Wait) and maybe 1 Force Close, but for the most part I've done 3 installs now on fresh/clean images and no problems.

[MOD] Webtop Via HDMI Without a Dock [CDMA/VZW] *Tentative support for intl as well.*

--THIS IS FOR THE VERIZON DROID RAZR--
Go here for the test files for international version: http://forum.xda-developers.com/showpost.php?p=19900530&postcount=11
I have enough confirmations that I can now confirm this is working, However the on screen controls appear not to be launching currently, but webtop launches.
What this mod does:
It removes the device ID string check from PortalApp, and enables the webtop option in DockService. Replacing these two apk files effectively allows the webtop to launch without proprietary hardware.
Click to expand...
Click to collapse
What this means to you:
Webtop mode over any HDMI without an expensive dock.
Click to expand...
Click to collapse
Installation:
Method 1: Flashable ZIP
Flash THIS zip.
Click to expand...
Click to collapse
Method 2: ADB install
Download the attached apk files.
First Get the files to the device and remount /system as rw:
Code:
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o remount,rw /system
Backup the original files:
Code:
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak
Copy the modded files over fix permissions and reboot:
Code:
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
chmod 644 /system/app/DockService.apk
chmod 644 /system/app/PortalApp.apk
reboot
Click to expand...
Click to collapse
Appreciate my work? Buy Me a Beer:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
love you.
10<3
ah jeeze... just noticed it's for the Verizon RAZR, will it by any chance work on a GSM version?
Just installed it, and on the bionic after connecting to the tv, the phone became a mouse. Here the screen goes black and doesn't respond to touch.
You on a Verizon device? Did the webtop or dock option list come up at all?
Yes, Verizon phone. Everything comes up great on the tv, The webtop option comes up on the list to choise from, when i hit webtop the tv comes on, the phone goes black, but no control of pointer at all.
That's a good sign at least. Did you install via the flash method or the adb method?
Flash. I flashed BigDX ics theme yesterday, maybe it has something to do with it, so restoring a nandroid backup of before and will flash the webtop hack again.
---------- Post added at 10:41 PM ---------- Previous post was at 10:12 PM ----------
Nope. Same. Phone screen goes black, no control of pointer.
That sucks stevessvt, maybe try installing via adb instead and see what happens.
I really want to try it on my GSM RAZR... Don't know what the difference would be. Anyone...?
EDIT:
My stock DockService.apk is 109kb - odex is 173kb, the PortalApp.apk is 1.21mb - odex is 591kb
Can anyone confirm the Verizon file sizes for me?
opensourcefan said:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
Click to expand...
Click to collapse
Try this one with method 2 for the international version: http://www.cheatersedge.org/android/RazrWebtopMod.rar
I'll try to look into the on screen mouse/keyboard issue. It may be slow going seeing as I don't actually have one of these devices to test on.
Sent from my SGH-I777 using XDA App
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
oh now i just got mad since the OTA i lost root so no Webtop for me. i don't wanna loose the OTA so i'm just gonna wait for somebody to find a way to get root again.. since i don't know how to do that.
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You can change the permissions with Root Explorer: Long hold on each file, and set RW- R-- R--, and then reboot, that ought to go it.
As for the command for the adb method it might be "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" Where "/dev/block/mtdblock3" is replaced with the actual block device for /system. You can check this by just typing "mount" and looking at the entry for /system.
only Verizon? not for EU GSM devices?
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
shady_lanem said:
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
Click to expand...
Click to collapse
you have a Vaarizon?
9100_it said:
you have a Vaarizon?
Click to expand...
Click to collapse
Download link for international version is posted on top of this page
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You have to do
su
To login as root before.
Sent from my awsome Motorola RAZR
Perfect!
I've asked to teach me how to make it, but it's the same. The important thing is that it is available, even if my curiosity reaches an unknown level.
Thanks!
P.S.: Please, edit the thread title to reflect this section rules!

[Q] How to ADB push?

I'm trying to push files to /system via ADB. However I'm having problems (getting permission errors). I am running Eclipse 2.0.2, so yes, my phone is rooted, I have su and busybox.
Phone is connected to PC and is set as "USB Mass Storage".
USB Debugging is ON
Here is my CMD log:
Code:
C:\android-sdk\tools>adb remount
remount failed: Operation not permitted
I tried to remount and it failed
Code:
C:\android-sdk\tools>adb push C:\myfile.apk /system
failed to copy 'C:\myfile.apk' to
'/system/myfile.apk': Read-only file system
I tried to push, and got a READ-ONLY FILE SYSTEM error (keep this in mind)
Code:
C:\android-sdk\tools>adb shell
$ adb push C:\myfile.apk /system
adb push C:\myfile.apk /system
adb: permission denied
I try to push inside of ADB shell. Nothing again...
Code:
$ su
su
# mount -o remount,rw /dev/block/mtdblock4 /system
mount -o remount,rw /dev/block/mtdblock4 /system
# exit
exit
I go into SU and attempt to remount the /system
Code:
$ adb push C:\myfile.apk /system
adb push C:\myfile.apk /system
adb: permission denied
$ exit
exit
I go back up to ADB shell and try to push again... same error as before
Code:
C:\android-sdk\tools>adb push C:\myfile.apk /system
failed to copy 'C:\myfile.apk' to '/system/myfile.apk': Permission denied
I go back to the main command line and try to push again. This time I get PERMISSION DENIED. This error is different than before.
Any help on the matter?
I've read about ro.secure needing to be set to 1, but I need to edit the boot.img in order to do this, correct? Does that require an unlocked bootloader? Is root ADB even possible on the DX2.
Thanks!
I am no expert (don't even know if i know enough to b called a newb) but maybe try a root explorer. I use es file explorer because it's free. In settings check root explorer and mount file system. I received similar errors and this solved my problem.
Sent from my DROID X2 using XDA App
I'm familiar with root explorer, it's easy. I'm wanting to be able to use ADB though. Your post made me try something new though. I plugged my phone into my PC, then went into root explorer and mounted everything as RW. But, still was unable to push via ADB. Thanks for the reply though
So, how can I get ADB working?
wesf90 said:
I'm familiar with root explorer, it's easy. I'm wanting to be able to use ADB though. Your post made me try something new though. I plugged my phone into my PC, then went into root explorer and mounted everything as RW. But, still was unable to push via ADB. Thanks for the reply though
So, how can I get ADB working?
Click to expand...
Click to collapse
I was using adb also and had similar problems. After i changed those settings i was able to push a file. I had to have system mounted.
Sent from my DROID X2 using XDA App
No luck on my end :/
Sorry i couldn't be more help. I am new to adb and may have done more to get it working. I'm sure there's someone else around here that can help u out.
Sent from my DROID X2 using XDA App
Make sure there are no spaces in the file path to your android-sdk folder. Can't say if this is your issue but its worth a shot as it has always caused weird problems with android development since day one.
Sent from my DROID X2 using Tapatalk
Ro.secure is in your local.prop on the root of your phone. As far as your issue you have to reset permissions in order to push to /system. I saw that you were trying to do that but with no success. I believe I know what will help but I will have to find it and repost.
http://forum.xda-developers.com/showthread.php?t=1133528
Ok look at the command lines at the bottom of the op. You are going to use adb shell. Follow that almost exactly but adjust according to your directories. Should go into adb shell, gain su permissions, mount /system rw, push your apk, then don't worry about remounting as ro, just reboot. Pay close attention to spaces.
Sent from my DROID X2 using xda premium
CadenH said:
Ro.secure is in your local.prop on the root of your phone. As far as your issue you have to reset permissions in order to push to /system. I saw that you were trying to do that but with no success. I believe I know what will help but I will have to find it and repost.
http://forum.xda-developers.com/showthread.php?t=1133528
Ok look at the command lines at the bottom of the op. You are going to use adb shell. Follow that almost exactly but adjust according to your directories. Should go into adb shell, gain su permissions, mount /system rw, push your apk, then don't worry about remounting as ro, just reboot. Pay close attention to spaces.
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Took me a few days to be able to getting around to trying this, but it didn't work :/ I'm still getting all of the same errors. The /system just doesn't seem to want to mount as RW (even though it is possible when using root explorer).
As for ro.secure in my local.prop, I'm able to edit this but it resets on reboot because (from what I've read) this is a file generated by the kernel
Anyone else have ideas?
Wes
wesf90 said:
Took me a few days to be able to getting around to trying this, but it didn't work :/ I'm still getting all of the same errors. The /system just doesn't seem to want to mount as RW (even though it is possible when using root explorer).
As for ro.secure in my local.prop, I'm able to edit this but it resets on reboot because (from what I've read) this is a file generated by the kernel
Anyone else have ideas?
Wes
Click to expand...
Click to collapse
Moon shadow has a post in development to mount system rw
It's some type of script u run before adb or something
I don't know anything bout adb
But I do know he created it for this reason
Check it out
It's prolly got the info you need
ashclepdia said:
Moon shadow has a post in development to mount system rw
It's some type of script u run before adb or something
I don't know anything bout adb
But I do know he created it for this reason
Check it out
It's prolly got the info you need
Click to expand...
Click to collapse
Thanks for that! It's not quite what I'm aiming to eventually do, but did give me more insight on how the whole adb/shell/su systems work. From inside of su, I was able to mount the /system as RW, however I'm only able to do this from inside of SU. I want to be able to do this from the initial CMD so that I can ADB PUSH from my computer to the phone.
Here's my latest log:
Code:
C:\android-sdk>adb shell
[[TRYING TO MOUNT FROM ADB SHELL]]
$ mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Operation not permitted
[[TRYING TO MOUNT FROM ADB SHELL USING BUSYBOX]]
$ busybox mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: permission denied (are you root?)
[[GO TO SU]]
$ su
su
[[MOUNTING AS RW SUCCESSFUL]]
# mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
[[COPYING A FILE INSIDE /SYSTEM SUCCESSFUL]]
# cp framework/framework-res.apk framework/framework-res-test.apk
cp framework/framework-res.apk framework/framework-res-test.apk
[[REMOUNTING /SYSTEM AS RO]]
# mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
[[ATTEMPTING TO COPY AGAIN, FAILED]]
# cp framework/framework-res.apk framework/framework-res-test2.apk
cp framework/framework-res.apk framework/framework-res-test2.apk
cp: can't create 'framework/framework-res-test2.apk': Read-only file system
#
So now the question is, how do I mount as R/W so I can use ADB push?
Wes
Maybe its because im tired but im confused as to why it wont let you push your files if you have remounted as rw. At that point it should be cake. You gained access to system by remounting it as rw successfully already.
Sent from my DROID X2 using xda premium
wesf90 said:
So now the question is, how do I mount as R/W so I can use ADB push?
Wes
Click to expand...
Click to collapse
Try:
Code:
adb devices
adb remount
adb push [filename] [destination]
adb reboot
the "adb remount" remounts the fs RW instead of the default RO.
I'm no expert in ADB, but I had run into the same issue as you and for me the fix was to go into ADB SHELL , then type SU to get SU access, then type exit twice to get out of shell completely. Then I tried pushing the APK and it worked fine with no read only errors.
This worked for me on my SGS2, could work for you ! Goodluck !
Come to IRC and I can help you with this. http://webchat.freenode.net Come to the #cm7dx2 channel. I'm usually there... Look for the nick(s) Moon|Work|(something), Moon|Home|(something), or MoonShadow-NM. If the (something) says Busy, I might not answer right away. If it says Away, I'm away from the keyboard and you won't receive a response until I return.
Ciao!
Any update
did you ever get this figured out? I'm having the same frustrations on mine. Mine won't install the 2.3.5 update due to it not recognizing the Quickoffice.apk and I'm trying to push the files manually, but I'm having no luck getting past the same you've posted here.
hellhunter said:
did you ever get this figured out? I'm having the same frustrations on mine. Mine won't install the 2.3.5 update due to it not recognizing the Quickoffice.apk and I'm trying to push the files manually, but I'm having no luck getting past the same you've posted here.
Click to expand...
Click to collapse
I've got a better idea to fix your issue brotha!
From my nexus tappin the talk
<edit post successful>
hellhunter said:
did you ever get this figured out? I'm having the same frustrations on mine. Mine won't install the 2.3.5 update due to it not recognizing the Quickoffice.apk and I'm trying to push the files manually, but I'm having no luck getting past the same you've posted here.
Click to expand...
Click to collapse
Do this
Sbf to 2.3.4
(or 2.3.3& take one ota To get to 2.3.4...however you want to do it..just be bone stock 2.3.4 )
Root your device.
BUT DO NOT USE ZERGRUSH TO ROOT
Use petes Motorola one click root method.
Then continue the process as normal from there on out.
Trust me in this. Zergrush root method is not playing nice with your /system partition, (if you notice during the root process it might say something like "making room in system,"= or "moving/deleting app to make room" something similar)
And when it does that, it's messing up how the update checks for untouched stock apps.
Let me know how it goes.
This solution has worked for COUNTLESS others so far, zergrush has always been the culprit when it comes to failing to find certain apk or system file that needs to be there for the update to install.
From my nexus tappin the talk
<edit post successful>
jamesh0317 said:
Try:
Code:
adb devices
adb remount
adb push [filename] [destination]
adb reboot
the "adb remount" remounts the fs RW instead of the default RO.
Click to expand...
Click to collapse
This won't work with Eclipse since it's not using 2nd init. I asked this question in the Eclipse forums and Nitro responded with the following:
Not without using 2nd init. All of that works due to being able to load its own init.rc which starts services and passes parameters, etc.. during boot time. It is possible to make a stock rom use 2nd init. CM9 will not even have root enabled by default. The only other way to push stuff is to enable root shell prior to pushing.
Click to expand...
Click to collapse
I know that CM7 allows using the adb remount, but that's because it's using 2nd init. I had also asked the question about why CM7 defaults to root shell when you adb shell into it and that's why he mentions how CM9 won't have root enabled by default.
The way I push to Eclipse is to run root explorer on my phone and mount the directory r/w. Then, I can use "adb push" to the phone.
ashclepdia said:
Do this
Sbf to 2.3.4
(or 2.3.3& take one ota To get to 2.3.4...however you want to do it..just be bone stock 2.3.4 )
Root your device.
BUT DO NOT USE ZERGRUSH TO ROOT
Use petes Motorola one click root method.
Then continue the process as normal from there on out.
Trust me in this. Zergrush root method is not playing nice with your /system partition, (if you notice during the root process it might say something like "making room in system,"= or "moving/deleting app to make room" something similar)
And when it does that, it's messing up how the update checks for untouched stock apps.
Let me know how it goes.
This solution has worked for COUNTLESS others so far, zergrush has always been the culprit when it comes to failing to find certain apk or system file that needs to be there for the update to install.
Click to expand...
Click to collapse
I think I may have tried that in one of my iterations. Originally I had it rooted with One-Click and then I was having issues with the 2.3.5 OTA update (quickoffice.apk) and at this point I've SBF'ed and rooted it probably 5 times this week so far. Rooted with both One-click and zergRush at various times. Actually I think every time except this last time has been with one-click. So I don't think that has seemed to make a difference for me so far. I can try it again, but if there's any other advice to throw out in the mean time, I'll take it.
Alternatively, I may take the new phone (the first replacement they sent had 2.3.5 on it, but a bad menu key causing the phone to flip out), load Titanium Backup on it, backup all the system apps and restore them to my original phone. Worst case is I have to SBF it again. But that seems like a logical process since I will have two phones available.

[Q] [help]how to get system folder permission for hdx7

I just play andorid device a few days, but My hdx7 is a little bricked because i deleted some system app. Now I can log in fire os, have adb, usb connected and internal storge, even i can operate device setting app, but i can't open the other app because i don't have a desktop.
I compare system/app folder with the same folder in the amazon bin, found that the folder lack of scores of app, but the other system folder is the same. So I hope can adb push app folder to the system folder, but the pemission denied. I try to remount or mount, it can't work.
if adb root, then "adbd cannot run as root in production builds.
if adb push apk to the app folder, then “permission denied".
if adb remount, then ”remount failed: Operation not permitted".
and I have try adb shell like that:
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# exit
it didn't work.
my hdx7 have rooted.
My Questions are:
1. If I could push the app folder to the system folder and reset to factory, is my hdx saved?
2. How to get the system folder rw in the situation?
thx for any prompt, although i am a rookie but i will try my best, i wish the adept can help me and will be enormously grateful. Sorry for my poor english.
It sounds to me that you had lost root.
kschang said:
It sounds to me that you had lost root.
Click to expand...
Click to collapse
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
randolphling said:
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
Click to expand...
Click to collapse
Hmmm... It says you still have root (the prompt changed after "su")
I personally don't use ADB much. I have Root Explorer (grabbed it legally for free from Amazon ages ago) and Wifi Explorer Pro (same method) so I basically WiFi myself the files I need sideloaded then move them around on the device itself. But if you've lost launcher, you have deeper issues.
Have you tried ADB push any launcher? Or even a download store like 1Mobile or Aptoide?
ADB is basically a Linux shell debug into Android, so you need to learn some Unix shell commands. I'm sure you can find ADB guides with the basic commands, like "ls", "cp", and so on.
You need to check the directory and see if the system/app and other system directories are still there. This is one reason I only play with the copy of ROM I have (see Safestrap Recovery).

Categories

Resources