[Q] sd card fix for CM11 - LG Optimus G Pro

hi guys,
i managed to flash CM11 and tried to do the sd fix using the following link:
http://forum.xda-developers.com/showpost.php?p=48243682&postcount=19
the thing is, when trying to run fuse-mountsd.sh from terminal, i notice that there's an error stating:
ERROR: Root access was DENIED!
Please grant ADB Shell root access!
hope that you guys can help.

I flashed the zip from recovery and it worked fine.
Sent from my LG-E980 using XDA Premium 4 mobile app

Did you type su before typing the command?

I was getting the same error
Flashed zip
Open terminal
Typed su
Granted root access
Types fuse-mountsd.sh hit enter
Then error about root access.. Gave up and went back to madmacs CM11,build SD card mounts fine.
Sent from my LG-E980 using xda app-developers app

bqd37340 said:
Did you type su before typing the command?
Click to expand...
Click to collapse
yep, but still got error.
esimon311 said:
I was getting the same error
Flashed zip
Open terminal
Typed su
Granted root access
Types fuse-mountsd.sh hit enter
Then error about root access.. Gave up and went back to madmacs CM11,build SD card mounts fine.
Sent from my LG-E980 using xda app-developers app
Click to expand...
Click to collapse
same goes to me. after trying for an hour, decided to flash vanir instead.

I just flashed the zip and SD card was there. Maybe my wrong method worked for my phone.
Sent from my LG-E980 using XDA Premium 4 mobile app

Related

Vanilla Lockscreen on Sense?

How can I get that? I like the volume slider, since I have to switch to vibrate the other day (i know it goes to silent but I have an app to make it vibrate instead). If anybody has some tips or a way that'd be helpful.
buffnutz1 said:
How can I get that? I like the volume slider, since I have to switch to vibrate the other day (i know it goes to silent but I have an app to make it vibrate instead). If anybody has some tips or a way that'd be helpful.
Click to expand...
Click to collapse
Just delete htclockscreen.apk
Sent from my ADR6300 using XDA App
I'm on the Skyraider rom, don't know if that makes a difference but I'm deleting it with root explorer then the phone shuts off powers up and the file is right back there again.
Careful if you're on the stock rom and delete the default lockscreen apk, I've heard it makes the lookscreen look really bad. But it works on other roms.
Sent from my HTC Incredible
It looks best on 2.2 but it works on 2.1 just it looks messed up
Sent from my ADR6300 using XDA App
buffnutz1 said:
I'm on the Skyraider rom, don't know if that makes a difference but I'm deleting it with root explorer then the phone shuts off powers up and the file is right back there again.
Click to expand...
Click to collapse
Delete it via adb on your computer. I believe it is rm /system/app/htclockscreen.apk
Sent from my HTC Incredible
i would just use astro file mgr on the phone, remove the files from the rom, and flash it again with all changes applied
Sent from my ADR6300 using XDA App
The only way you can delete a file in system, is if you've used unrevoked forever to unlock nand. Then in root explorer, change system to rw (read/write), then I'd rename the app instead of deleting just in case you need to put it back.
Sent from Incredible using Tapatalk.
i meant just to edit the rom.zip on the sd card and then just reflash the rom
Sent from my ADR6300 using XDA App
jdkoreclipse said:
i would just use astro file mgr on the phone, remove the files from the rom, and flash it again with all changes applied
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I don't think this is possible unless he has Forever installed cause what.he described happened to me like 2 weeks ago, I had to use adb
Sent from my HTC Incredible
Didn't see that, but yeah that will work too. Either way will work just fine.
Sent from my HTC Incredible
Please don't Delete files...
TheWhiteBandito said:
Delete it via adb on your computer. I believe it is rm /system/app/htclockscreen.apk
Sent from my HTC Incredible
Click to expand...
Click to collapse
Please don't rm files from your phone...
Why not
Boot in to recover
Mount System
From you computer (if you on Linux or MAC open a terminal window from Windows open a CMD window) at the prompt type:
ADB Shell
cd /system
mkdir app.backup
mv /system/app/htclockscreen.apk /system/app.backup
You never know when you may need one of files you "RM" into oblivion...
Sent from my MAC looking at my Sky Raider 2.5.2 Incredibly Rooted Phone..
oldman_58 said:
Please don't rm files from your phone...
Why not
Boot in to recover
Mount System
From you computer (if you on Linux or MAC open a terminal window from Windows open a CMD window) at the prompt type:
ADB Shell
cd /system
mkdir app.backup
mv /system/app/htclockscreen.apk /system/app.backup
You never know when you may need one of files you "RM" into oblivion...
Sent from my MAC looking at my Sky Raider 2.5.2 Incredibly Rooted Phone..
Click to expand...
Click to collapse
Yes I aplogize for the poor suggestion, moving the file to an alternate folder is a much better solution.
Sent from my HTC Incredible
Ok, I'm trying to do either way but it say it's a read only file. how do I change that?
buffnutz1 said:
Ok, I'm trying to do either way but it say it's a read only file. how do I change that?
Click to expand...
Click to collapse
If you're in recovery, you have to mount system under the partions menu first.
Edit: or might be sd card & storage menu depending on version of clockworkmod you're running.
Sent from Incredible using Tapatalk.
I've used better terminal emulator to remove the lock screen.
Use this line:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
To mount system.
Then:
cd system/app
rm HtcLockScreen.*
(Case sensitive)
Worked great, had to reboot though and it stuck. Until then the old one stayed.
Thanks to adrynalyne for the mount line.
Sent from my ADR6300 using XDA App
Ok did exactly what you said, then like said it would it rebooted. Comes back up as the HTC one. Am I the only it's done this for? Why won't it just erase?
I just removed mine with adb and it worked without a hitch. Word of caution though if you use your alarm, you need install another clock app otherwise you won't be able to turn the alarm off without pulling the battery. I just installed the stock android desk clock and all is well again.
Sent from somewhere
lgldrgdlr said:
I just removed mine with adb and it worked without a hitch. Word of caution though if you use your alarm, you need install another clock app otherwise you won't be able to turn the alarm off without pulling the battery. I just installed the stock android desk clock and all is well again.
Sent from somewhere
Click to expand...
Click to collapse
Where did you find it? I usually use my alarm clock. :/
I can upload it at some point today. Not sure when I'll be home to do so though.
Sent from somewhere

Installing an app to the System

Hello I got a question. So pretend I wanted to make ADW EX as a system app how should I do that. Also I have tried it using root explorer but I keep getting Force closes when I put it as a system app. Any suggestions would be nice. Thanks
Sent from my T-Mobile G2 using XDA Premium App
lainvalenajr said:
Hello I got a question. So pretend I wanted to make ADW EX as a system app how should I do that. Also I have tried it using root explorer but I keep getting Force closes when I put it as a system app. Any suggestions would be nice. Thanks
Sent from my T-Mobile G2 using XDA Premium App
Click to expand...
Click to collapse
Did you set the permissons correctly? And did uninstall it before you moved it?
[sig]off topic is a great place to get my post count up, role on 1000[sig]
cjward23 said:
Did you set the permissons correctly? And did uninstall it before you moved it?
[sig]off topic is a great place to get my post count up, role on 1000[sig]
Click to expand...
Click to collapse
Set permission correctly.... Haven't installed it though. Will try
Sent from my T-Mobile G2 using XDA Premium App
In terminal
Su
mv /data/app/com.android.ADWEX.launcher-1.apk /system/app/ADWLauncher.apk
That's exmaple how to do it.. jus put the proper name for adw ex and from there should be good i, I do ths with LP all the time
Well if you're using a custom rom then you can open the rom .zip with something like 7zip, navigate to system>app then drag and drop ADW EX in there. Flash the rom like normal and you're done. That's how I do it.
There's also the terminal method mentioned by ilostchild, though what was forgot is mounting the system as rw
mount -o remount,rw /system
There's also ADB which is done the exact same way aside from having to tell adb to operate in a shell.
KCRic said:
Well if you're using a custom rom then you can open the rom .zip with something like 7zip, navigate to system>app then drag and drop ADW EX in there. Flash the rom like normal and you're done. That's how I do it.
There's also the terminal method mentioned by ilostchild, though what was forgot is mounting the system as rw
mount -o remount,rw /system
There's also ADB which is done the exact same way aside from having to tell adb to operate in a shell.
Click to expand...
Click to collapse
Sick...didn't realize how easy it is. Thanks!
Sent from my T-Mobile G2 using XDA Premium App

[HOWTO] Speed up force closes in T989 ICS ROMs

I noticed that force closes would lock up my phone with ICS ROMs enough to make it completely unusable at times. I noticed that this is so because a system state dump is done every time it hangs by default. I don't know how to disable this internally, but found out how to prevent dumpstate from running when this occurs.
Code:
su
busybox chmod a-x /system/bin/dumpstate
Enjoy!
So we just open a terminal emulator and type in that code?
Sent from my SAMSUNG-SGH-T989 using xda premium
An easier way is to navigate to /system/bin in Root Explorer, select dumpstate, long press, change permissions and remove execute permissions for all (system, user, etc).
Update: It's critical to ensure you have "R/W" permissions on the folder before doing this, if it reads "R/O" at the top, make sure you change it (change it by clicking on the "R/O", it will change to "R/W").
blchff04 said:
So we just open a terminal emulator and type in that code?
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
or you could do it through adb shell.
autom8r said:
An easier way is to navigate to /system/bin in Root Explorer, select dumpstate, long press, change permissions and remove execute permissions for all (system, user, etc).
Click to expand...
Click to collapse
"Easier" is subjective, but yes, that is another way of doing it.
Sent from my SGH-T989 using xda premium
Thanks for this tip. I tried both methods, but no dice. I can't seem to change either directory to read/write.
Any thoughts? Thanks in advance.
Reboot and try again. If it still doesn't work try flashing TDJs cache wipe script.
Sent from the iPhone graveyard.
Which ones should be checked?
Sent from my SGH-T989 using xda premium
Which ones should be checked?
Sent from my SGH-T989 using xda premium
Uncheck all the Execute permissions, that's all you need to do.
markusf21 said:
Reboot and try again. If it still doesn't work try flashing TDJs cache wipe script.
Sent from the iPhone graveyard.
Click to expand...
Click to collapse
Hmmmm... tried both. I get the following error:
Permissions change was not successful.
Please note that some file systems (e.g. SD card) do not allow permission changes
Click to expand...
Click to collapse
Any other thoughts?
niice, works great...i did it through root explorer, i went into lockscreen weather settings which always vibrates, stalls out and fc's..now it instantly fc's no hanging black screen or nothin
---------- Post added at 11:26 PM ---------- Previous post was at 11:19 PM ----------
TheSeanTeam said:
Hmmmm... tried both. I get the following error:
Any other thoughts?
Click to expand...
Click to collapse
yea that happened to me what i did was flashed darkside cache wipe n booted then went into manage apps, root explorer then cleared data/cache for the app (i have a feeling i didnt even need to darkside cache wipe i probably just needed to clear app data but those are the 2 steps i did anyways)
Sorry for the late responses. It seems like others covered the spread, though. You can type those commands into a terminal or with adb using adb shell. I've never done it with Root Explorer (I use ES...it's free and can browse/remount as root), but make sure it has root permissions before continuing. Also make sure that the /system partition has been mounted as read-write; it won't work otherwise.
Can confirm it works with root explorer just make sure you switch to r/w
Sent from my SGH-T989 using xda premium
I posted about this working in Root Explorer, without trying it firsthand, I've tried it now, and it does work. The reason is this, the original post's command simply reads: for all (that's the "a" part) users remove execute (the "-x" part) permissions. You can mimic this functionality in any App with the ability to change file permissions. It's critical to ensure you have "R/W" permissions on the folder before doing this, if it reads "R/O" at the top, make sure you change it.

Command line interface twrp

Hey guys got a question.... I was on the cyanogenmod thread and I someone posted a possible workaround for the freezing at the boot screen on 4.3 roms... I was told to delete the bootanimation.zip from system/media/ but I can't find it in there... There isn't even a media folder in system from what I see. (keep in mind I'm using the file manager inside of TWRP to try to locate it) I was wondering what the command is to delete the file using the terminal emulator or whatever selection I need to use to delete the zip.
The problem with it locking on the bootsplash seems to be that it couldn't get passed the bootanimation.zip file.
It looks like the method of using ODIN to flash a rooted stock rom manages to erase the bootanimation.zip, where as TWRP was leaving it there. If you get stuck there, go into recovery and fire up a command line interface (TWRP has one) and rm the bootanimation.zip file. I'll look back a few posts to find the path and post it here. Other than that make sure you are flashing the latest gapps and wipe your data and you should be good to go. Some folks have gotten away with a dirty flash but you'll have to uninstall/reinstall a bunch of apps.
Click to expand...
Click to collapse
Sent from my SGH-T999 using XDA Premium 4 mobile app
RedJack117 said:
Hey guys got a question.... I was on the cyanogenmod thread and I someone posted a possible workaround for the freezing at the boot screen on 4.3 roms... I was told to delete the bootanimation.zip from system/media/ but I can't find it in there... There isn't even a media folder in system from what I see. (keep in mind I'm using the file manager inside of TWRP to try to locate it) I was wondering what the command is to delete the file using the terminal emulator or whatever selection I need to use to delete the zip.
Sent from my SGH-T999 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
rm /file/location/here.zip
And if you can't see something in recovery like that, make sure the partition is mounted.
Sent from my SGH-T999L using Tapatalk 4

Cant down load to sd card.

It says can make a new directory. ..please help i csnt download any roms...
Sent from my SM-N910P using Tapatalk
Cant make a new directory. ......
Sent from my SM-N910P using Tapatalk
Downloads always go to the internal sd by default. This fixed it for me http://forum.xda-developers.com/showthread.php?t=2684384 . Post number 6 suggested an emulator to use and is what I went with.
you can use this apps... it works for me.. fix, grant su permission then reboot.
https://play.google.com/store/apps/details?id=jrummy.sdfix

Categories

Resources