[Q] How to remove/update cifs.ko into /system/lib/modules (read-only) - Android Software/Hacking General [Developers Only]

Hello,
I have an ASUS EEE Pad Transformer with Android 3.1
This TF101 is rooted.
I have added 2 modules (cifs.ko and tun.ko) from my PC to /system/lib/modules
My TF101 is connected in USB Mode to my PC. I've open a command line and type:
Code:
adb shell
# mount -o remount,rw /system
mount -o remount,rw /system
# cp /sdcard/cifs.ko /system/lib/modules/.
# chmod 755 /system/lib/modules/cifs.ko
chmod 755 /system/lib/modules/cifs.ko
# mount -o remount,ro /system
mount -o remount,ro /system
then I've tried my cifs module but it didn't work (invalid argument).
So I've searched and found the good one for my kernel module and would like to try it but can't because I can't replace the existant cifs module or delete it.
How can I do?
Best regards,
Kasi

Related

Install Modded RC30 from Bug Terminal?

Hey guys,
Sadly, I've got Vista64, which works fairly well, FYI.
Anyways, because of it I can't install the USB drivers.. But I figure I'm just using them to access the terminal, which I, on RC29, apparently already have access to...
If I copy recovery.img to the SDcard and then use the filemanager to put it in /system, would I be able to flash it from the homescreen? What commands would I use?
Just
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system
cd /system
# cat /data/local/recovery.img > recovery.img
cat /data/local/recovery.img > recovery.img
# flash_image recovery recovery.img
flash_image recovery recovery.img
#
?? Is this going to do something bad...
Thanks
**I don't have write permission to /System using Android File Manager. I'm sorry I'm a linux newb here, what cmds do I need to use to overwrite that file?
grim1234 said:
Hey guys,
Sadly, I've got Vista64, which works fairly well, FYI.
Anyways, because of it I can't install the USB drivers.. But I figure I'm just using them to access the terminal, which I, on RC29, apparently already have access to...
If I copy recovery.img to the SDcard and then use the filemanager to put it in /system, would I be able to flash it from the homescreen? What commands would I use?
Just
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system
cd /system
# cat /data/local/recovery.img > recovery.img
cat /data/local/recovery.img > recovery.img
# flash_image recovery recovery.img
flash_image recovery recovery.img
#
?? Is this going to do something bad...
Thanks
**I don't have write permission to /System using Android File Manager. I'm sorry I'm a linux newb here, what cmds do I need to use to overwrite that file?
Click to expand...
Click to collapse
I have the same problem: I am using Windows Server 2008 x64 and there is no 64 bit driver for ADB. I ended up installing a Ubuntu VM:
http://www.koushikdutta.com/2008/10/developing-and-debugging-android.html
Well, I tired txting this to someone...
cp /sdcard/recovery.img /system
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system
cat /data/local/recovery.img > recovery.img
flash_image recovery recovery.img
Then booted into recovery mode and pressed alt-L...
And it doesn't work.
I guess it's VMWare time... zzz
Check out my post over at AndroidCommunity http://androidcommunity.com/forums/f28/i-have-rc30-and-root-6867/ this will allow you to install the modified upgrade without the adb, and sdk.

[Q] How do I get RW in the /system/app?

I'm trying to push an apk there but I can't get permission. I tried using this:
Code:
adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
but it told me "operation not permitted". I got that code from the one click root.
What am I doing wrong?
When in the sdk tools directory but not in adb do;
adb push C:\file.apk /sdcard/file.apk
then open shell
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
now you are mounted. Just move the file
mv /sdcard/file.apk /system/app/file.apk
Thanks
Sent from my SPH-D700 using XDA App

[Q] Can any one help me ! about deodex and use adb shell ..

I used the xUltimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
I copy the two folders into my sdcard, and I want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
C:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...I can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
Can you help me ?
I did wrong on what step....
My OS system is windows7 x64 in command line.
dickluo said:
i used the xultimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
i copy the two folders into my sdcard, and i want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
c:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...i can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
can you help me ?
I did wrong on what step....
My os system is windows7 x64 in command line.
Click to expand...
Click to collapse
記得右鍵點擊cmd圖標,選擇 以管理員身份運行。 看看你是不是忘記了這一步~
No use about that.
Maybe I'll try it on winxp system.
Sent from my ME865 using xda premium

Requesting for a ONE CLICK AUTO APK INSTALLER thanks

Requesting for a ONE CLICK AUTO APK INSTALLER, i just want to make it short like selecting in my SD CARD the apps and games that i want to install after that i will automatically install those files that i choose after i confirm those to install.
i already used apps like this in my HTC last time. thanks in advance
ES File Explorer
wierzbik said:
ES File Explorer
Click to expand...
Click to collapse
i dont want to always press INSTALL.
its like this i will select the apks to install and then i will confirm to install them all after that it will install all the APKS with no more press "YES TO INSTALL"
adb install name.apk
#!/system/bin/sh
mount -o remount, -rw /sbin
mount -o remount, -rw /system
mount -o remount, -rw /system/xbin
mount -o remount, -rw /system/bin
# enable the adbd daemon and busybox
mount -o remount, -rw -t rootfs rootfs /
chmod 777 /sbin/adbd
chmod 777 /system/xbin/busybox
chmod 777 /system/bin/pm
cd /storage/sdcard1/apps;
for app in *.apk; do pm install -r $app; done
chmod 750 /sbin/adbd
chmod 750 /system/xbin/busybox
chmod 750 /system/bin/pm
mount -o remount, -ro /sbin
mount -o remount, -ro /system
mount -o remount, -ro /system/xbin
mount -o remount, -ro /system/bin
put apps in folder apps on external.
should you have different location then you can change line accordingly
I got this in tasker, source is xda, not me...
I can export as app, just reply with locations adbd, busybox pm, and route of external sd card.
but using this code in terminal should do it
You need root busybox and such. and permissions, set as you like
Sent from my GT-N7000 using Tapatalk 2
Lidroid Toolbox.
Choose your apks and it installs them all by ome click. Google it.
Sent from my GT-N7000 using Tapatalk 2

[Q]android M,adb shell can't mount partition.Permission denied

Hi there,Since my M9 update to android M.I want to deodex RUU like what I did in android 5.0.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
this is what I did.and shows like this
Code:
[email protected]_himaulatt:/ $ su
[email protected]_himaulatt:/ # stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Permission denied
I don't know what should I do. I use charge only option when I plug to USB.
if there any solution.I will be very happy:silly:

Categories

Resources