[Q] Root and Update su Problem - LG Optimus Black

Hello . I have a problem with su update.
When i connect to wifi it tells me to update the su .
I push the update button but it says
Checking md5sum ... fail
what to do ?
Thanks .

Try to first install BusyBox, update this and then try to update SU again, hope it helps, if it does as always please leave a comment so others know what to do in the same situation

N00BY0815 said:
Try to first install BusyBox, update this and then try to update SU again, hope it helps, if it does as always please leave a comment so others know what to do in the same situation
Click to expand...
Click to collapse
i have tryit but i have the lattest of busybox any other ideas?

Do you have Titanium Backup? I hope it is no dangerous operation so maybe anybody can prove me right, but you could try to uninstall it via TB, reboot, get the latest version of SU and try to reinstall it...

Remount your /system manually.
mount -o rw,remount /system
Then reupdate..
Sent from my LG-P970 using Tapatalk

imam.krismanto said:
Remount your /system manually.
mount -o rw,remount /system
Then reupdate..
Sent from my LG-P970 using Tapatalk
Click to expand...
Click to collapse
it says usage: mount [-r] [-w] [-o options ] [-t]
what to do ?

Any news ?
Sent from my LG-P970 using Tapatalk

remounting your /system should work..
Sent from my LG-P970 using XDA Premium App

If you cant do it manually go to the market and download mount system rw app. It should work after that.

inso420 said:
If you cant do it manually go to the market and download mount system rw app. It should work after that.
Click to expand...
Click to collapse
Same problem ...
Sent from my LG-P970

Related

App to System/App

How do you "push" an app to be a system/app?
*Like phone finder.
sketoe said:
How do you "push" an app to be a system/app?
*Like phone finder.
Click to expand...
Click to collapse
Depends adb or terminal?
adb-
Code:
adb remount
adb push <path to file>\file /system/app
terminal-
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/file /system/app
soo.. like, using phone finder[/B] for example, how do i put it?
for the terminal
sketoe said:
soo.. like, using phone finder[/B] for example, how do i put it?
for the terminal
Click to expand...
Click to collapse
I don't know the file name for the app, but it should be something like
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /data/app/*finder* /system/app
thanks you!
You can also use astro/linda file-- jus select it and use the package installer... less typing... less to remember... works just as well
You sure that will install it as a system app & not a regular app?
Because, it says you need to install phone finder as a system app in order to text auto-enable gps. & that's the whole reason for this.
sketoe said:
You sure that will install it as a system app & not a regular app?
Because, it says you need to install phone finder as a system app in order to text auto-enable gps. & that's the whole reason for this.
Click to expand...
Click to collapse
Just do as Jag told you!
do I put phone finder? or com.yuki.phonefinder?
because i tryed both
& would work
Im using cyanogens rom.
wouldnt* work
Its most likely: com.yuki.phonefinder.apk
sorry
it worked.
i just had to fix_permissions
& after that it moved to system app

Unrooted but unable to remove superuser.apk

Hi all,
I've successfully unrooted in order to return the phone for a replacement but I'm still seeing the superuser permissions app.
My method for unrooting was opening up terminal on my phone and using this code:
Code:
su
rm -r /system/app/Superuser.apk
rm -r /system/xbin/busybox
rm -r /system/bin/su
Now it all worked fine and dandy except it was unable to find Superuser.apk
**Forgot to mention that I'm on Tmobile with the Samsung Vibrant**
Found a fix. Had to re-root and remove it with the following code in the phone's terminal application:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Then just proceeded with another unroot and factory reset.
I know, this is very old but... Nobody said thanks, and i really needed to remove the FrEaGiN application, i tried everything but this solution was the only one wich helped me out, thank you!
dabigserver said:
I know, this is very old but... Nobody said thanks, and i really needed to remove the FrEaGiN application, i tried everything but this solution was the only one wich helped me out, thank you!
Click to expand...
Click to collapse
I'm with you; not trying to dig up an old thread, but there's no "Thanks" button and I need to express my gratitude as well... thank you ^Fs! =)
Easier to flash stock rom from odin goodbye root.
Sent from my GT-I9000 using XDA App
THANK YOU
^Fs said:
Found a fix. Had to re-root and remove it with the following code in the phone's terminal application:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Then just proceeded with another unroot and factory reset.
Click to expand...
Click to collapse
Thank you for posting this info. This was a needle in a hay stack. I did not want to ODIN back and I needed Superuser removed from my device for the company Zenprise app. Does not work on Rooted phones.
faldiin
very useful, I saved it for the future. If any app gets hard to eliminate, now i have the solution, thanks
Yeah, you can also use Titanium Backup or any of the other "Uninstallers" around.
And how to only remove Superuser data?
I mean, I want Superuser to ask me again if I grant or not superuser-permision.
I need this because I have in Superuser 5 times Titanium Backup.
All has the same id but only one has the Titanium Backup icon and the other doesn't.
And if I try deleting the app from the list... the app just go to "Denied" but still there.
So, I want to delete the whole data so I get a clean list of apps.
Thanks a lot!
pepemosca said:
And how to only remove Superuser data?
I mean, I want Superuser to ask me again if I grant or not superuser-permision.
I need this because I have in Superuser 5 times Titanium Backup.
All has the same id but only one has the Titanium Backup icon and the other doesn't.
And if I try deleting the app from the list... the app just go to "Denied" but still there.
So, I want to delete the whole data so I get a clean list of apps.
Thanks a lot!
Click to expand...
Click to collapse
Try going into Superuser and deleting what you want. Or simply change it to granted
Sent from my GT-I9000 using xda premium
PaulN543 said:
Try going into Superuser and deleting what you want. Or simply change it to granted
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
It did work when I deleted Supeuser data from Settings>App>All.
Thanks for your idea... but that did not work.
Just had a thought. Re-root your phone then try using a root explorer to remove it from /System/apps.
Sent from my GT-I9000 using xda premium
Help
^Fs said:
Found a fix. Had to re-root and remove it with the following code in the phone's terminal application:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Then just proceeded with another unroot and factory reset.
Click to expand...
Click to collapse
Hi, I know this was posted a long time ago but I was wondering if you could help me. I bought a rooted Sprint evo a while ago and now I can't unroot it. I can't uninsured Superuser and it's not even listed in my downloaded apps. Do you know of anyway that I'd be able unroot?

[Q] Trying to use adb to mount /system as Read/Write and it's not working.

Currently I'm trying to gain access to /system and mount it as read/write. I've tried using
adb shell
mount -o rw,remount /dev/block/mtd3 /system
Click to expand...
Click to collapse
but it's not working. It says nothing afterward. I've noticed that it now says "sh-3.2#" instead of just "#" or "$" as it used to... Could this be the problem? What does it mean?
This is what I see:
C:\Users\Sam>cd C:\android-sdk-windows\tools
C:\android-sdk-windows\tools>adb shell
sh-3.2# su
su
sh-3.2# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Help?
Just typing adb remount (while not in shell) will mount system read/write. The other command is for terminal on the phone mostly
And you won't get any confirmation but an echo
Sent from my HERO200 using XDA App
danaff37 said:
Just typing adb remount (while not in shell) will mount system read/write. The other command is for terminal on the phone mostly
And you won't get any confirmation but an echo
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Hopefully not thread-jacking but I have a similar problem. I get:
remount failed: Operation not permitted.
Now what?
Sounds like adb isn't granted su permissions. Adb shell, do you see a # prompt? If not, type su, then watch your phone to allow. Then type exit, then adb remount
Sent from my HERO200 using XDA App
danaff37 said:
Sounds like adb isn't granted su permissions. Adb shell, do you see a # prompt? If not, type su, then watch your phone to allow. Then type exit, then adb remount
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Yup, already did all that. Still no dice. Wtf, right?
open the superuser app and 'forget' adb to redo it maybe?
I did get some kind of error that set something about root access not being allowed in the production version of adb/sdk or something? I'll have to reproduce that error so I can post it here.
Phateless said:
I did get some kind of error that set something about root access not being allowed in the production version of adb/sdk or something? I'll have to reproduce that error so I can post it here.
Click to expand...
Click to collapse
Found another thread on another board. I just flashed amon ra's recovery and booted up from there, and it appeared to let me copy!
But then it wouldn't let me cd to system/app. It let me cd to system, but not to app. Weird... I booted back up and there's no evidence of the "copied" apk, anywhere.
SOOOO confused now...
Wait...what rom are you on?
Sent from my HERO200 using XDA App
danaff37 said:
Wait...what rom are you on?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
OEM 1.6, Androoted and overclocked. That's it.
You may need to update busy box. Our try a third party rom
Sent from my HERO200 using XDA App
danaff37 said:
You may need to update busy box. Our try a third party rom
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
But I need the oem rom to receive the OTA update to Froyo, lol. I have busybox through titanium backup but maybe i should download it on my own. Available in the market, correct?
For now I'm going to flash the tmus rom (ota update cm6 remix) to see if this tmo froyo thing is even worth the trouble. Oy vey...
I bet cm6 will still beat out your official update
danaff37 said:
I bet cm6 will still beat out your official update
Click to expand...
Click to collapse
Can your rom beat up my rom?
Now I'm not trying to be like that. Lol just saying. I installed it on my buddy's mt3g and he loves it. Runs smooth as butter.
Sent from my HERO200 using XDA App
Haha, I know, I just couldn't resist.

[MOD] Webtop Via HDMI Without a Dock

I have enough confirmations that I can now confirm this is working, and have made a flashable zip install method for those less technical of us.
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 package here: http://forum.xda-developers.com/attachment.php?attachmentid=734235&d=1317262181
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 -t yaffs2 /dev/block/mtdblock3 /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
Thanks to:
TopazAaron - For catching a typo in my install script.
Appreciate my work? Buy Me a Beer:
Reserved. k?
Reserved 2.0
I did this.
waiting for my bro to let me use the hdmi cable.
btw i couldnt get system to mount with tho command.
mount -o rw,remount /system
i had to use
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Thanks Fenny for answering my call, it worked like a charm
Make a flashable zip now
Also, don't try to do this with root explorer. You'll get force closes without "Portal.apk"
Awesome, bookmarked for when I update my buddies phone tomorrow! You guys are on the ball!
Works great! I noticed when dialing a number from the mobile view on the webtop it goes to a blank screen after every number dialed.
Works Great.
Camera doesn't work. I didn't try the dialer.
Works great! Thanks buddy
So it works? We can just flash it and we'll be able to access webtop with any micro hdmi?
czonin said:
So it works? We can just flash it and we'll be able to access webtop with any micro hdmi?
Click to expand...
Click to collapse
Flashable zips a couple posts down
Can't wait for a flash-able zip, this is awesome news
contagous said:
Can't wait for a flash-able zip, this is awesome news
Click to expand...
Click to collapse
I'll work on a flashable zip right now. Give me a minute.
Done!
Test it out and tell me how it works. I threw in a zip to return to stock also.
EDIT: I removed my zips due to official version by Fenny himself.
BerkleyJ said:
Make a flashable zip now
Also, don't try to do this with root explorer. You'll get force closes without "Portal.apk"
Click to expand...
Click to collapse
You can. Just do a battery pull to reboot and then finish up. Messy but it works.
Has anyone tried the zip
Sent from my DROID BIONIC using Tapatalk
Dunno about the one posted in the thread, But I just made one and added it to the first post.
This is awesome! Thanks a lot!
Just flashed the .zip and plugged in my HDMI. Nothing happened.
Awesome work, will flash soon, quick question, will this work on doedex system?
Sent from my DROID BIONIC using XDA Premium App

ATTENTION: wifi modules path was changed in cm-9-0419

In the latest cm9 nightly build - update-cm-9-20120419-NIGHTLY, my wifi is not work with my own kernel.
So, I checked the catalog, and found this: wifi modules was changed.
http://review.cyanogenmod.com/#/c/14910/1/BoardConfigCommon.mk
old path: /system/modules/bcm4329.ko
new path: /system/lib/modules/bcm4329.ko
It will cause your wifi not work with custom kernel.
If your wifi is not work, just make a symbol link, type these command in the terminal:
su
mount -o remount,rw /system
ln -s /system/modules/bcm4329.ko /system/lib/modules/bcm4329.ko
#Thanks Paragon_X, I forgot to tell you to remount /.
mount -o remount,ro /system
Or, you are the kernel developer, your should put your kernel modules in both path, or link them.
Thanks
I confirm this change as well and the fix worked.
I have the wifi authentication problem. Do I flash the download link from the link you posted?
Paragon_X said:
I have the wifi authentication problem. Do I flash the download link from the link you posted?
Click to expand...
Click to collapse
That is not a download link, its a Git review...
Sent from my Nexus S using Tapatalk 2
DaXmax said:
That is not a download link, its a Git review...
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
Okay thanks so regarding the command written... is there spaces in there or am I seeing things?
ln -s /system/modules/bcm4329.ko /system/lib/modules/bcm4329.ko
I'm not familiar with typing in superuser so I have to ask
There are spaces.
If you are unfamiliar with the spaces, then you will be unfamiliar with the before and after commands around that command too:
mount -o remount,rw /system
and
mount -o remount,ro /system
Thanks for the fix!
Sent from my Nexus S using XDA
Thanks that will be handy for surprised users, if CM actually thought things through, they would link the dirs to allow a transition time where kernels work with modules in old location and new location.
Sent from my Galaxy Nexus
Hi,im kinda really noob at this stuff atm but do we type this in command prompt or terminal emulator (or any other program like that). And can someone confirm the code is:
su
mount -o remount,rw /system
ln -s /system/modules/bcm4329.ko /system/lib/modules/bcm4329.ko
#Thanks Paragon_X, I forgot to tell you to remount /.
mount -o remount,ro /system
the "fix" is included in the latest trinity kernels. wifi works with the newest cm9(nightlies and kangs), older cm9, and every other rom.
simms22 said:
the "fix" is included in the latest trinity kernels. wifi works with the newest cm9(nightlies and kangs), older cm9, and every other rom.
Click to expand...
Click to collapse
Im using matrix kernel v19 cfs and the latest CM9 v7. Trying to get the wifi working now and its hard.
Heres what i have done using terminal emulator
Typed in "su". Pressed enter. I granted super user permissions.
Typed in "mount -o remount,rw /system" . Pressed enter. Didnt say anything
Typed in "ln -s /system/modules/bcm4329.ko /system/lib/modules/bcm4329.ko". Pressed Enter
It showed up "link failed File exists"
now its changed to "255|[email protected]:/". Before it was "[email protected]:/"
I than typed in "mount -o remount,ro /system"
My wifi still doesnt work
I'll reply here to. The reason you can not link (ln) is that there is a file where you are trying to add a "shortcut" just remove the bcm*.ko file in /system/lib/modules and copy the module from /system/modules there. I used root explorer then it's just cut and paste
Sent from my Nexus S using Tapatalk 2
TigaTiger said:
Im using matrix kernel v19 cfs and the latest CM9 v7. Trying to get the wifi working now and its hard.
Heres what i have done using terminal emulator
Typed in "su". Pressed enter. I granted super user permissions.
Typed in "mount -o remount,rw /system" . Pressed enter. Didnt say anything
Typed in "ln -s /system/modules/bcm4329.ko /system/lib/modules/bcm4329.ko". Pressed Enter
It showed up "link failed File exists"
now its changed to "255|[email protected]:/". Before it was "[email protected]:/"
I than typed in "mount -o remount,ro /system"
My wifi still doesnt work
Click to expand...
Click to collapse
same problem here, also when i use any root explorer ( free ) i cant get permision to do this, and i have rooted my phone... anyone knows why ?
Sejmir said:
same problem here, also when i use any root explorer ( free ) i cant get permision to do this, and i have rooted my phone... anyone knows why ?
Click to expand...
Click to collapse
Mount /system as R/W (read-write) first.
kong said:
Mount /system as R/W (read-write) first.
Click to expand...
Click to collapse
didnt quite get you, but il google it tnx for the tip m8
Thanks! Wi-Fi now working. Very simple. Just copy & paste to new lib/modules location using root explorer.
Beamed from my Nexus S using Tapatalk 2
Sejmir said:
didnt understand you, mount /system in recovery then run emulator or root explorer or smthing else ?? sry im totaly new to androids, but never too late to learn new things
anywys have a lots of googling to do, coz il learn how to do this via adb shell...
Click to expand...
Click to collapse
root explorer has an option in the top of the screen, mount r/w. press it, it will now say mount r/o, thats what you want.
skitapa said:
I'll reply here to. The reason you can not link (ln) is that there is a file where you are trying to add a "shortcut" just remove the bcm*.ko file in /system/lib/modules and copy the module from /system/modules there. I used root explorer then it's just cut and paste
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
I still have no luck. Is the error everyone getting the authentication problem? and simply wifi indicator wont popup?
For all the people who dont get this too well, especielly me. Could an experienced, someone who knows this, write out the complete instructions and codes to do it. Preferably in detail because some of us have no idea what we are suppose to do. And suggest what type of programs we should be using. thanks in advance.
Ok. Let's take it from the start. When android boots it loads the kernel to handle all the drivers and inner workings of the OS. It also loads modules, that's optional drivers loaded on demand. Now CM9, used to load it's modules from /system/modules but has changed it's location to /system/lib/modules. This is new to the people making custom kernels which kernel installs it's modules in the wrong place. This makes the new kernel try to load the old module but fails because of different kernel source versions. Now, our task is to move the new module in /system/modules to /system/lib/modules overwriting the old one.
Start a terminal.
Type su and enter to become superuser which is the only user with rights to change system files.
Now if there is a box asking you to allow this, press allow.
Now type:
mount -o remount, rw /system
This will make the system folder and child folders writable.
type:
rm /system/lib/modules/bcm*
That will remove the old module.
Type:
cp /system/modules/bcm* /system/lib/modules
Reboot and it should work.
Sent from my Nexus S using Tapatalk 2

Categories

Resources