There is no simple way to install Gapps via CWM
install from zip
option.
I've found a way to install it by adb for Nook color device as follows
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb push [the path to your SDK tools folder]\system system/
adb reboot
My question is:
How to modify this commands for my device?
Thanks in advance.
Related
Hi,
I succeeded at installing the recovery image using flashrec and making the nandroid backup. Now I'm trying to go to the next step of the rooting tutorial for noobs: MODIFYING THE CODE TO GET ROOT ACCESSS
This is my cmd (administrator rights) in Fastboot USB Mode:
Code:
c:\sdk\tools>fastboot devices
HT**KL****** fastboot
c:\sdk\tools>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
This is my cmd (administrator rights) in "normal mode":
Code:
c:\sdk\tools>adb devices
List of devices attached
HT**KL****** device
c:\sdk\tools>adb shell mount /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
c:\sdk\tools>adb push su /system/bin/
failed to copy 'su' to '/system/bin//su': Read-only file system
c:\sdk\tools>adb push su /system/bin
failed to copy 'su' to '/system/bin/su': Read-only file system
c:\sdk\tools>adb shell rm /system/app/Superuser.apk
rm failed for /system/app/Superuser.apk, Read-only file system
c:\sdk\tools>adb push su /system/bin/
failed to copy 'su' to '/system/bin//su': Read-only file system
c:\sdk\tools>adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /syste
m
mount: Operation not permitted
c:\sdk\tools>adb shell chmod 777 /system
Unable to chmod /system: Read-only file system
I am running Windows 7 (x64), I downloaded the latest adb tools and usb drivers using SDK Setup.exe. I installed the ADB drivers properly (using the manual wizard to browse to the usb_driver folder and restarting my computer) for the fastboot USB and for "normal mode" with the option debugging usb active.
Information of my current Rom ("Orange Belgium")
HBOOT-1.76.0007 (HERO10000)
RADIO-6.35.06.18
Aug 4 2009,19:43:30
I couldn't find anything by google that solved the problem... I hope you guys can help me out..
First and foremost, please post questions like this in the Q&A, or GENERAL section next time. This part will be moved for you though.
Ok,... I think your making this more difficult than need be. I haven't looked at the link you provided as my phone is playing up..
Take a look at BTDAGs guide linked in my signature... If you have already successfully installed the custom recovery, all you need to do now is pick a custom ROM to download and flash using the recovery.
Sent from my HTC Hero using XDA App
That is quite an old guide you're following. Try mine, or the one here http://villainrom.co.uk/viewtopic.php?f=107&t=2028 or there is universal androot - which will just give you root access on any rom.
you should use this to mount system in read/write-mode:
Code:
# mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
alternatively put adb shell in front of:
Code:
>adb shell mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
And by the way, you should do this from recovery mode (which is accessed by keeping home-button pressed down while turning on. I assume that you have a custom recovery)
Moved to Q&A as not development
Managed to put the recovery rom on it, thanks!
sorry to post it this late. can you pls explain how you resolve? if its available in some other thread, can someone guide me there. have been doing search on the forum for a while now. thanks!
Hi,
I have just installed wolfs 2.3 with hotfix and am having trouble with adb commands
I have tried pushing files to /data/data and I get this error
Code:
failed to copy 'name of file here' to 'path here' : Permission denied
However, if i boot into recovery and manually mount data it works.
My question is
what is the code to mount the data partition from adb?
I know
Code:
adb remount
mounts the system partition but i need the data partition mounted.
I have never ran into this before, all my adb commands worked whilst the phone was turned on...
any help please.
More issues
Code:
adb remount
does not work....permission denied
Also, using apk manager I cannot push sytem files to /system/app
This is quite irritating
The correct command is:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Code:
adb shell
su
mount -o remount rw /system
works for me.
prejudice I have noticed that since version 1.5 I do not have all the permissions of root, after having installed the system with :
./adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
exit
./adb push framework-res.apk /system/framework/framework-res.apk
I have been informed that I do not have permission, I also tried to install the original firmware, making the root of this (and everything is fine) and install Paranoid Android 1.6a (I have no permission). please can you help me? Thanks to all
massinegro204 said:
prejudice I have noticed that since version 1.5 I do not have all the permissions of root, after having installed the system with :
./adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
exit
./adb push framework-res.apk /system/framework/framework-res.apk
I have been informed that I do not have permission, I also tried to install the original firmware, making the root of this (and everything is fine) and install Paranoid Android 1.6a (I have no permission). please can you help me? Thanks to all
Click to expand...
Click to collapse
have u check your device with ROOT CHECKER https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5qb2V5a3JpbS5yb290Y2hlY2siXQ.. before u install Paranoid Android Rom??
Hit thanks if i helped you friend
Try "adb remount" before trying to push file into /system
If the command come back with error, you will need adbd insecure. Normally custom kernel would have include it, but for stock kernel it was not included.
There is an app made by chainfire to enable this feature, you can find it here. Enable USB debugging on your phone, patch it.
How to add custom ringtones,alarms,camera,notifications and ui via adb,emulator
First phone need to be rooted, adb installed or emulator installed on phone
Let's try with ringtone (gangnam.mp3) :
system is mounted in /dev/block/mmcblk0p10 and is ro (readonly)
( to check run adb shell execute mount )
/dev/block/mmcblk0p10 on /system type ext4 (ro,relatime,user_xattr,acl,barrier=1,data=ordered)
run adb
Code:
# su
remount system as rw (read-write)
Code:
# mount -o remount,rw /dev/block/mmcblk0p10
ringtones are located in
/system/media/audio/ringtones/
so u need to copy files to rw system from sdcard or ext_card or from local computer folder where adb is located
copy needed files from sdcard or ext_card to /system/media/audio/ringtones/
Code:
# cat /mnt/ext_card/gangnam.mp3>/system/media/audio/ringtones/gangnam.mp3
You can also use adb push command to transfer audio files in <sdk>/platform-tools/ to remote android.
Code:
adb push gangnam.mp3 /system/media/audio/ringtones/gangnam.mp3
remount to default
Code:
# mount -o remount,ro /dev/block/mmcblk0p10
exit adb and reeboot phone.
Select your music as default tone
Second option is to create cwm recovery based zip containing those files, or just add files into zipable rom .
I knw cwm
What is adb??
Sent from my ST25i using Tapatalk 2
Adb is android debug bridge,command line emulator 4 android phones,a part of android sdk located in sdk/platform-tools/
You can download it from the net.
You can also copy (push) the files from the computer to the destination android device throught adb or use simple emulator on your device (check market apps).
Sent from my ST27i using xda app-developers app
Hi! I'm having a few problems with my Galaxy Nexus, as it's been not booting with this CyanogenMod 11S bootanimation.zip I've been trying. I now want to remove it, but I can't boot into recovery due to hardware issues. I can adb into the phone though, but only shortly, before the system locks up.
I'm trying to do the following:
Code:
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
cp /sdcard/bootanimation.zip /system/media/bootanimation.zip
However, I can't use "su" - nothing really happens. It won't give me root, but it doesn't give any errors either, the $ sign doesn't change into a # sign, thus remounting system to rw fails and subsequently, I can't copy anything there.
I'm running PACman (4.4.2) and I have SuperSU installed. Any ideas?
Edit - Kind of solved, forgot adb reboot recovery existed.