CIFS for Retail Tab 10.1 - Galaxy Tab 10.1 General

I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!

muzicman82 said:
I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!
Click to expand...
Click to collapse
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname

pershoot said:
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname
Click to expand...
Click to collapse
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?

muzicman82 said:
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?
Click to expand...
Click to collapse
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.

pershoot said:
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.
Click to expand...
Click to collapse
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?

muzicman82 said:
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?
Click to expand...
Click to collapse
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).

pershoot said:
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).
Click to expand...
Click to collapse
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!

muzicman82 said:
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!
Click to expand...
Click to collapse
install setcpu and go to about, device, and under kernel, paste that whole output for me.

pershoot said:
install setcpu and go to about, device, and under kernel, paste that whole output for me.
Click to expand...
Click to collapse
"Linux version 2.6.36.3 ([email protected]) (gcc version 4.4.3 (GCC)) #1 SMP PREEMPT Mon Jun 6 08:59:10 KST 2011"

try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?

pershoot said:
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?
Click to expand...
Click to collapse
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)

muzicman82 said:
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)
Click to expand...
Click to collapse
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.

pershoot said:
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.
Click to expand...
Click to collapse
what you can try is get CIFS manager, and load it in via that app. it may take.
try it, and see if it works out.

Finally, site is back up.
Ok, if I use CIFS Manager, tell it to load via insmod and set the correct path, kill the program, launch the program, then the end of dmesg reads:
Code:
<3>[ 160.853751] cifs: version magic '2.6.36.3-58 SMP preempt mod_unload ARMv7 ' should be '2.6.36.3 SMP preempt mod_unload ARMv7 '
If I do lsmod, I get:
Code:
dhd 225862 0 - Live 0xbf000000
Lastly, if I try to mount a SMB share, I get "No such device".
I thought I was already rooted... Or at least the superuser app works. And I am on CWM. Is there a reason to go back to stock?

Ill change the vermagic string in the module.
Ill repost tonight.

if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App

rainby said:
if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App
Click to expand...
Click to collapse
I'm just on stock kernel. Don't really want to overclock... I like my battery life.

unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
muzicman82 said:
I'm just on stock kernel. Don't really want to overclock... I like my battery life.
Click to expand...
Click to collapse

pershoot said:
Ill change the vermagic string in the module.
Ill repost tonight.
Click to expand...
Click to collapse
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip

rainby said:
unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
Click to expand...
Click to collapse
But you can flash the kernel only on tabs with an unlocked bootloader, isn't it?
So if your bootloader is locked you need cifs.ko for the stock kernel.

Related

[Q] Wifi MAC Fix?

Solved: See post #4
Obviously for those with a modded kernel and broken MAC.
If we knew the real MAC address for the specific device, couldn't we set the module's MAC to our real one?
Or just a MAC spoofer? But more like an un-spoofer..
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
tijuanacartel said:
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
Click to expand...
Click to collapse
Can't you setup a script that insmod's and set that up to run on startup?
I'm sure there is somewhere in the ROM where a script can be added for it to run on boot, or at least a boot time Android one...
init.rc perhaps?
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Okay I've been using this for most of the day and just had a hard crash on level 99 of robo defence(F7U13!) Looking into it, it seems this kernel module only seems to step up from 700 straight to 1497! I'm disabling it for now.
Apparently cyanogen is quite a lot faster than the stock Sense, even without overclock. As soon as it hits RC2, I'm gonna give it a shot.
tijuanacartel said:
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Click to expand...
Click to collapse
EDIT
Trying from a Terminal I get: "undable to chmod overclock: Read-only file system"
I tryed from ADB and all commands were accepted, file was created and chmod processed, but after reboot the OC module is not loaded
What ROM are your using ??
Obviously you should remount your system partition rw
tijuanacartel said:
Obviously you should remount your system partition rw
Click to expand...
Click to collapse
OMFG I really need to sleep a little
What ROM are you using ?? Have you changed the Kernel ??
at the time i was using stock.. currently using virtuous from rom manager
I've been strugglin with that command line for days, trying to find a way t make it stick from boot (and not typing it from a console), I finaly made it today via updater script (update.zip).
I also included the stock radio module and the stock kernel (rooted) to the package, so it can serve as a "rescue kit" for other users stuck with the MAC WiFi shizz. I shared it @ devs forum.

Guys need help adb is driving me crazy!!!

Right guys,
Im trying to list the apk's in /data/app through adb so i can pull one of them!
I keep getting an error opendir failed permission denied!
BUT!!! I can get into /system/app fine with no problems.
Im running darkyy's 9.5 with his new kernel. Could this be a problem?
Its strange how i can get in system/app but not data/app
I have never had this problem in the past.
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
opendir failed, Permission denied
c:\AndroidSDK\platform-tools>
zolah said:
Right guys,
Im trying to list the apk's in /data/app through adb so i can pull one of them!
I keep getting an error opendir failed permission denied!
BUT!!! I can get into /system/app fine with no problems.
Im running darkyy's 9.5 with his new kernel. Could this be a problem?
Its strange how i can get in system/app but not data/app
I have never had this problem in the past.
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
opendir failed, Permission denied
c:\AndroidSDK\platform-tools>
Click to expand...
Click to collapse
Either :
adb root
adb shell ls /data/app
or
adb shell
su
ls /data/app
Reason /system is accessible is because system is ro by default. So they allow you to browse it knowing u won't be able to do anything w/o root. Whereas /data is rw and hence they restrict you, unless you have root.
Fyi : Wrong section to ask questions.
Daneshm90 said:
Either :
adb root
adb shell ls /data/app
or
adb shell
su
ls /data/app
Reason /system is accessible is because system is ro by default. So they allow you to browse it knowing u won't be able to do anything w/o root. Whereas /data is rw and hence they restrict you, unless you have root.
Fyi : Wrong section to ask questions.
Click to expand...
Click to collapse
I am rooted with superuser...
zolah said:
I am rooted with superuser...
Click to expand...
Click to collapse
The default superuser timeout is 10 secs, either increase it or keep looking at your screen.
PS : Have you tried a an app called Mount R/W? works great.
zolah said:
I am rooted with superuser...
Click to expand...
Click to collapse
Im confused, what are you implying by that response ?
To me that statement was equivalent to "The sky is blue"
Daneshm90 said:
Im confused, what are you implying by that response ?
To me that statement was equivalent to "The sky is blue"
Click to expand...
Click to collapse
..... sigh
You was telling me that i have to have root and su to be able to poke around in /data... i said i am rooted with su obviously as im on custom rom...
zolah said:
..... sigh
You was telling me that i have to have root and su to be able to poke around in /data... i said i am rooted with su obviously as im on custom rom...
Click to expand...
Click to collapse
Yes, but by default, if u dont run
adb root....ur not running the shell in root mode
Also on most roms if u run :
adb shel
u'll see $......
when u type su
u see #
So to enter # mode u need root but still need to execute either adb root or adb shell n then su.
Hope that clears it.
install android commander and forget about command line for simple listing and coping tasks
Sent from my GT-I9000 using Tapatalk
This is what i get ...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb root
adbd cannot run as root in production builds
c:\AndroidSDK\platform-tools>adb shell
/ $ su
su
ls /data/app
ls /data/app
Permission denied
/ $ ls /data/app
opendir failed, Permission denied
/ $
zolah said:
This is what i get ...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb root
adbd cannot run as root in production builds
c:\AndroidSDK\platform-tools>adb shell
/ $ su
su
ls /data/app
ls /data/app
Permission denied
/ $ ls /data/app
opendir failed, Permission denied
/ $
Click to expand...
Click to collapse
I dont see a # anywhere in there...
Are u accepting the dialog on ur phone when u type su ?
There shud b a popup on ur phone once u do that.
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
woolf clubs said:
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Maybe he's trying to learn how to navigate using adb. Very useful skillset to acquire imho.
But yes for general purpose, a gui is better.
the plot thickens...
Ill fill you guys in from the start in a short story..
Updated to darkyy v9.5 from v9.3
I thought the phone went a bit funny when it loaded the first boot as on the boot animation it vibrated like crazy and the animation started again as it was going to loop but then the phone loaded...
Been using the phone a few days and everything fine and wanted to pull an app from /data/app
All the above stuff happened and it wouldnt let me.
I thought something wasnt right so i took out the battery for a few minutes and put it back in and went into download mode and plugged my phone into computer to see of odin would still recognise it ok...
My windows vista computer started installing device drivers???? ive had this phone 7 months and plugged in about 100,000,000 times lol
Odin recognised my phone so i rebooted and tried again and now it works fine...
Something weird going on there which is concerning me with it installing new drivers...
This is what i get now and used to get before when i used adb...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
FasterFix.apk
Vending.apk
com.adobe.flashplayer-1.apk
com.android.wallpapersetandsave-1.apk
com.darkyrom.darkyconfig-1.apk
com.ebproductions.android.launcher-1.apk
com.google.maps.apk
com.google.youtube.apk
org.projectvoodoo.controlapp-1.apk
circular_battery_indicator.apk
com.androidapps.spareparts.apk
com.haxor-1.apk
com.sgsinfo.apk
com.sgstoolbox.apk
de.Fr4gg0r.SGS.Tools-1.apk
neldar.bln.control.free-1.apk
ymst.android.homeswitcherfroyo-1.apk
com.android.vending-1.apk
com.handcent.nextsms-1.apk
com.keramidas.TitaniumBackup-1.apk
com.pants.sc.lite-1.apk
com.navigon.navigator_select-1.apk
org.adwfreak.launcher-1.apk
com.speedsoftware.rootexplorer-1.apk
com.anddoes.fancywidget.pro-1.apk
adw.creativethemez.gingerbread-1.apk
com.quoord.tapatalkxda.activity-1.apk
c:\AndroidSDK\platform-tools>
Thank you for all the responses by the way...
Any one have any idea what could have happened?
woolf clubs said:
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
For what i was doing no because i wanted to just quickly pull an apk, decompile it and edit something and compile it and push it back...
Daneshm90 said:
Maybe he's trying to learn how to navigate using adb. Very useful skillset to acquire imho.
But yes for general purpose, a gui is better.
Click to expand...
Click to collapse
I know how to navigate with adb very well. I just couldnt figure out why i was being blocked from entering /data/app...
I even have a video tutorial in my sig that i made showing how to use adb and its commands...
Seems a quick battery pull did the trick although i still now dont know why new drivers where auto installed on reboot to my pc

Wifi "error"

ok so to try and not sound redundant ( prob not gonna happen) i had the cm7 release running perfectly no issues ... then i decided to install faux's OC UV kernel which was great ... everything was speedy and working fine up until last night where my phone froze and i had to pull the battery ... after once booted up everytime id try and turn on wifi it wouldnt and i would just recieve a message that says error ... tried rebooting , wiping and reflashing .. tried flashing royals new GB rom exactly the way the instructions said too ... still nothing ... anybody know what might be causing this issue ... ive tried 3 diff roms with different kernels and still no wifi ... could this be hardware ????
bump.
Ive tried wiping everything including /system and davlik and still cant get the wifi to work ... i was told that i might have a bad module so i pushed on from the kernel i was currently using and still nothing ... anybody have any type of advice ?
bump .... im willing to donate !
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Faux my name is neidlinger and I get assfucked by you and other homos.
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Nice to get help from the master himself
Sent from my HTC Glaciee using XDA Premium App
Double post by mistake. my bad
faux123 said:
try this:
extract the bcm4329.ko from the kernel zip file (module and kernel version MUST MATCH) and somehow copy it to /system/lib/modules (via adb/root explorer, etc etc)
then use terminal emulator and type the following code exactly as shown:
Code:
su
cd /system/lib/modules
chmod 644 *
chown 0.0 *
reboot... and see if it works...
Click to expand...
Click to collapse
Sigh ... no luck. I used your GB kernel with the Royal Ginger 1.6 rom ... rafyvitto thinks it might be my hardware so i was prob gonna have somebody take a look at it sometime this week .. what a bad one !
For what ever reason if i am at home, i have to use static ip address to get on my router, no other devices on the network have this issue, including my old phone. its probably not related to your problem but worth trying.
[via XDA premium]

Fix Mobile Data drain.

After 2 days of testing i think i have a clean solution to fix the mobile data drain by setting the preferred network mode to 1 (GSM only). No need to delete or rename anything. Just update the db that is already there .
You need a rooted device for this.
Extract the sqlite3.zip and push to your device with the following commands:
Code:
adb shell mount -o rw,remount /dev/block/mmcblk0p3 /system
adb push sqlite3 /system/bin
adb shell chmod 6755 /system/bin/sqlite3
adb shell
su (to gain root permissions)
sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
reboot
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
agentdax5 said:
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
Click to expand...
Click to collapse
Sure, as long as you have some sort of terminal emulator installed.
agentdax5 said:
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
Click to expand...
Click to collapse
with root explorer and a terminal app (eg connectbot) you can do it.
What exactly does this do? Is it the same result as renaming the phone and telephone apks?
Sent from my SPH-D700 using XDA App
Thanks! Mine is done. I'll report back later after I charge and give it a go.
mrkrabs said:
What exactly does this do? Is it the same result as renaming the phone and telephone apks?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
This updates the database configuration setting that causes the phone to not to look for 3G networks only 2G (GSM which includes GPRS and EDGE). I'll let the OP elaborate more, but this config change must reduce the battery usage by causing the phone and telephony services to chill out out a bit when in standy mode.
_motley said:
This updates the database configuration setting that causes the phone to not to look for 3G networks only 2G (GSM which includes GPRS and EDGE). I'll let the OP elaborate more, but this config change must reduce the battery usage by causing the phone and telephony services to chill out out a bit when in standy mode.
Click to expand...
Click to collapse
couldn't describe it better
2g = only poll cell if request is made that needs cell, 3g = poll all the time, which means that if you change to only 2g then it should not check for cell if you are in wifi range.
I am sure thats how the tech works if i remember my time at nokia right LOL
is there a post around here to explain how to get ADB working on this thing? i can ADB shell in but i get "operation not permitted" when i try to mount /system as r/w
(yes i'm rooted)
thanks guys
edit: i got permission to mount the /system as r/w but when i try to push the sqlite3 i get "Device not found"
i suppose i can give a little more info
i'm running windows 7 ultimate 64 bit with an administrator command prompt and the newest iconia a500 usb drivers from acer's support site and i have my SDK up to date
I did this and it doesn't seem to have a big effect. 2 hours on battery mostly in sleep, Display 33%, Cell 31%, Idle 18%, etc.
Richard:
Just out of curiosity (Yes, I fully acknowledge I should have done something like "select * from secure where name='preferred_network_mode'" beforehand! ) what is the default value of "preferred_network_mode" before this modification sets it to "1"?
-----
Doc Kinne
Somerville, MA
kinnerc said:
Richard:
Just out of curiosity (Yes, I fully acknowledge I should have done something like "select * from secure where name='preferred_network_mode'" beforehand! ) what is the default value of "preferred_network_mode" before this modification sets it to "1"?
-----
Doc Kinne
Somerville, MA
Click to expand...
Click to collapse
Default value is 0 (zero).
agentdax5 said:
I did this and it doesn't seem to have a big effect. 2 hours on battery mostly in sleep, Display 33%, Cell 31%, Idle 18%, etc.
Click to expand...
Click to collapse
It's not about what your stats say, but what your mA drain is. i loose only a couple of % in a night (sleep).
edgemaster191 said:
is there a post around here to explain how to get ADB working on this thing? i can ADB shell in but i get "operation not permitted" when i try to mount /system as r/w
(yes i'm rooted)
thanks guys
edit: i got permission to mount the /system as r/w but when i try to push the sqlite3 i get "Device not found"
i suppose i can give a little more info
i'm running windows 7 ultimate 64 bit with an administrator command prompt and the newest iconia a500 usb drivers from acer's support site and i have my SDK up to date
Click to expand...
Click to collapse
@edgemaster191
I am getting the same error; I also am rooted, running ADB from Windows 7 (and Mac OS X - tried both, same error). I also have latest drivers, and latest ADB.
I get "operation not permited error." Did you have any luck on getting further?
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/bin/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
nycbjr said:
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/bin/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
Click to expand...
Click to collapse
FTFY. 10char.
I am going to have to run some logs....just not seeing any drain that would justify doing this ....will definitely keep an eye out for it though
nycbjr said:
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
Click to expand...
Click to collapse
such things will be able with kernels that overwrite the default.prop
matguard said:
@edgemaster191
I am getting the same error; I also am rooted, running ADB from Windows 7 (and Mac OS X - tried both, same error). I also have latest drivers, and latest ADB.
I get "operation not permited error." Did you have any luck on getting further?
Click to expand...
Click to collapse
i was able to finally get it, i copied the splite3 to /system/bin using root explorer, ran chmod through terminal emulator then ran the final command from adb shell.
not ideal but it worked

[Q] ADB remount problem

Every time when I try to remount, and push edited apk file to the device, I get this message "remount failed: operation not permitted". Do anybody know how to fix it?
Sorry for my english...
were are you trying to push the file to?
To the system/app
why don't you use root explorer and copy the app that way and set the permissions then restart your phone?
Because when I try that I get error. It says that some files are missing, but I changed just couple of images.
try these
adb shell
su
adb push app.apk system/app/app.apk
When I type su I get this message "adb: permission denied
If you are using a 2.1 rom, you need to edit the default.prop file in the boot.img ramdisk. I am uploading a modified Quarx 2.1 kernel soon that will enable adb remount and adb push (to system directories) just wait around 30 mins and it should be up on here.
Jack
Take a look in the Development section, I have posted the new kernel there.
Hope it helps,
Jack
I'm using Mur4ik's Cyanogenmod 7 2.3.4 M4..
What will i get with new kernel?
Dario000 said:
I'm using Mur4ik's Cyanogenmod 7 2.3.4 M4..
What will i get with new kernel?
Click to expand...
Click to collapse
Don't flash my kernel. It doesn't work for 2.3. It should be enabled with the kernel by default. Try re-flashing the 2.3.4 M4 boot.img again. But do not flash my kernel.
Jack
I'm back on stock 2.1... I have installed your kernel but still I can't remount and push files
Dario000 said:
I'm back on stock 2.1... I have installed your kernel but still I can't remount and push files
Click to expand...
Click to collapse
Try doing "adb root" then try remount then push.
Jack
JackG256 said:
Try doing "adb root" then try remount then push.
Jack
Click to expand...
Click to collapse
I get this message "error: device not found"
Dario000 said:
I get this message "error: device not found"
Click to expand...
Click to collapse
Turn on USB Debugging in settings. (Go into Settings>Applications>Development>USB Debugging)
Jack
JackG256 said:
Turn on USB Debugging in settings. (Go into Settings>Applications>Development>USB Debugging)
Jack
Click to expand...
Click to collapse
I already did it, and when I try to remount I get this "remount failed: Operation not permitted"
Dario000 said:
I already did it, and when I try to remount I get this "remount failed: Operation not permitted"
Click to expand...
Click to collapse
Try doing adb shell, if you see a # sign, then it should work
Jack
JackG256 said:
Try doing adb shell, if you see a # sign, then it should work
Jack
Click to expand...
Click to collapse
I se $ sign
Dario000 said:
I se $ sign
Click to expand...
Click to collapse
Ok now there type su and enter then quickly check your phone and accept superuser permissions then you should see # if so you're done
Sent from my GT540 using XDA App
lavero.burgos said:
Ok now there type su and enter then quickly check your phone and accept superuser permissions then you should see # if so you're done
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
I get this:
C:\Users\Korisnik>adb shell
$ su
su
#
I typed adb remount and I get:
# adb remount
adb remount
adb: not found
#

Categories

Resources