Can't change folder permissions... - T-Mobile LG G2x

**So I uninstalled and reinstalled RE and now I can change permissions... In fact, some of the icons are different. Don't know if I had update issues or what, but I don't care. This thread is a moot point now, thanks anyways and if a mod comes across this, feel free to delete it.**
Ok, so here is my issue. I'm trying to remove the data throttling per this post
When I get into root explorer, there are certain folders that allow me to, but others that won't. I have SU granted and still nothing. I attempted using SSH and still can't change the permissions. I'm sure there are other ways, but it's beyond my current experience and was wondering if anyone could help or point me in the right direction. Below are some screenshots, the 1st showing what has SU permissions, the 2nd the opening screen of root explorer showing as being granted and the 3rd show the one thing I've noticed on all the folders that won't allow me to change permissions. If you look in the upper right hand corner, a file destination is listed "/dev/block/mmcblk0p1" yet, when I look in /dev/block/ it offers no visible files.
Anyways, any help is appreciated, I did search but couldn't find anything posted and I want to know why my phone is the one G2x that is resisting!?!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

bump
Experiencing the same issue with a coworker trying to chmod permissions on build.prop file.
Phone rooted and verified by Root Checker. Have Terminal Emulator, etc.
No matter what, can't change permissions or edit files.
(Trying to get Netflix to work on G2x). Following the guide, but it won't work if we can't edit the build.prop.
Thanks.

My problem was caused by my version of Root Explorer. Turns out, I had DL a counterfeit one. At the time, I didn't want to pay for it so I searched for it and found it free... Well, found a cheap imitator.
Meh, call it karma, call it getting what you pay for. I uninstalled it and bought the *AUTHENTIC* Root Explorer [after trying to use SSHDroid in conjunction w/WinSCP and other methods] and voila! Like magic, r/w appears!
I've also used RE in attempts to change my build.prop to run Netflix, but to no avail... Well, for the app itself that is, changed the build.prop flawlessly. When I start the app, the screen fades to black for a second, then brings me right back to where I started [typically the app drawer] doesn't even give me the chance to log in.
Honestly, RE is completely worth the purchase price. I tried MANY different avenues, none of which would allow me to remount to r/w in the /system file [or several others] whereas RE doesn't skip a beat in smashing down those walls. If you're like me, and pretty much everyone here at XDA, you will get your money's worth out of this program w/all the access you're given.

Finally got my own G2x now.
I've rooted it.
Installed CWM.
I downloaded Terminal Emulator.
Gone in to try and chmod permissions to edit files like build.prop.
Get the error that it's a read-only file system.
What do I have to do to be able to edit these bad boys? If I'm using SU in Terminal Emulator (which has root access) why can't I change permissions?

Related

G1/Dream Google Bits

Ok, so I'm definitely no expert, and I've done a bit of searching seeing that people are trying to find ways to backup their proprietary google bits when it comes to the Cease and Desist order laid down upon Cyanogen. I was messing around in Terminal Emulator today and found a way to list all of the proprietary bits. I was wondering why it gives me this message, when I try to copy one of these files to the SD card?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once I understand why it "omits" the directory, and fails to copy the file, I will continue working on getting these bits to backup, so we can keep our google apps. Me personally, I use Google Maps like it's going out of style, so losing it is not an option for me, but I love CyanogenMod Roms. Thanks for any help. I can post the rest of the code if need be.
RicFusion said:
Ok, so I'm definitely no expert, and I've done a bit of searching seeing that people are trying to find ways to backup their proprietary google bits when it comes to the Cease and Desist order laid down upon Cyanogen. I was messing around in Terminal Emulator today and found a way to list all of the proprietary bits. I was wondering why it gives me this message, when I try to copy one of these files to the SD card?
Once I understand why it "omits" the directory, and fails to copy the file, I will continue working on getting these bits to backup, so we can keep our google apps. Me personally, I use Google Maps like it's going out of style, so losing it is not an option for me, but I love CyanogenMod Roms. Thanks for any help. I can post the rest of the code if need be.
Click to expand...
Click to collapse
Nevermind. I messed around with it a bit more and found out how to do it. I can now copy the proprietary google apps, to the sd card. Here is the command I used in order to make it work.
$ su
cd /data/data
ls
(It will list all of the software on your device)
cp -r "insert app name here"
cd /sdcard
ls
Click to expand...
Click to collapse
If you look now, whatever named app you copied, will now be on your sd card!
So, is anyone up for helping me write a script, and or app that will allow this to run?

Collins Tweak and Terminal Emulator

So I have and LOVE collins battery tweak.
I'm running CMrc1.
I got tired of having to type in the whole:
su
batt-cfg
2
exit
exit
crap
so i looked into automating it a bit.
but i'm stuck!
if you go into menu~preferences~initial command
and type:
Code:
su
batt-cfg
You'll knock out the first part of the problem as soon as Terminal starts.
i'm looking to add a pause after that to wait for all of the options to load and then to hit "2" and continue on it's way.
and then pause again and have it type "exit" enter "exit"
to close the program.
i've tried the "sleep" command to no avail.
anybody have any idea how i might accomplish this?
i know it's only typing a few things, but i've got my heart set on getting it fully automated!
thanks everyone.
got it!
so i've figured it out.
all you have to do now is type in which option you want after opening terminal.
mine is option 2.
just type this code exactly as shown to get it to finish after you type in your option.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this will then exit terminal emulator the correct way and save your settings.
this will save time and make the whole process easier.
i guess it'll do until tweaktool finally comes out!
Code:
su
batt-cfg
sleep
2
sleep 1
exit
sleep 1
exit
so is anyone else using this?
is it working like it should for you?
rideascooter said:
so is anyone else using this?
is it working like it should for you?
Click to expand...
Click to collapse
So if we were to use it then teminal would only be usable for the tweak, correct? Because it would come on, run the commands and exit every time. This would mean you couldn't use teminal to run any other commands, or even change the tweak settings.
EDIT: I like the idea for sure. Would be super cool if someone could write a script that would work as a stand-alone app. Say for instance "CBT Starter". Then just have the app (when clicked/opened) open terminal, run those commands and them close. Does the same thing but allows for terminal to be used aside from the tweak.
that's where i was hoping this would go.
i just have two different terminal apps to achieve this now.
but i just got my app developer status and haven't messed around much in writing one.
that is my next step.
rideascooter said:
that's where i was hoping this would go.
i just have two different terminal apps to achieve this now.
but i just got my app developer status and haven't messed around much in writing one.
that is my next step.
Click to expand...
Click to collapse
LUCKY! I'm still waiting, lol. How do you remember which terminal is which in the programs menu? Or do you put them on different home screens?
i do have different ones one different screens.
the collins one stays on my launcher!
the other, if i ever need it, is just in my app drawer.
i hardly ever use it.
if i need adb, i just use ADB Wireless.

Swype no longer works :(

It's the preinstalled version.
I rooted on the 21st, and it's been running fine.
Nothing new was installed recently.
I have the beta login details from when I used my Nexus One. I will try to "freeze" via Titanium, and re-install via beta/download.
I'll report back if it works or doesn't.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Weird. Mine is still working. I hope it doesn't stop!
I'm rooted as well.
I froze it, but it was still visible.
Since it's a system app, I didn't wanna remove/uninstall/delete it.
So I renamed the "Swype.apk" file to "Swype.apk.bak". That removed it from settings, etc.
I downloaded the installer.
I get this error.
So I reverted everything back to how they were.
Swype still not working.
I may have to check their forums.
No resolution yet. And there doesn't seem to be any active involvement over there.
I just may remove it entirely, and attempt a Titanium backup from my Nexus One installation.
Like many of you, I simply hate 'pecking at the keyboard' to send a message
I've come to rely on Swype so much, this is painful for my thumb.
I agree. Swype is the only way to type.
Hard reset?
smashpunks said:
Hard reset?
Click to expand...
Click to collapse
NOPE!
Didn't work.
OKAY I FEEL STUPID!
This line "ro.product.model" in "build.prop" = "LG-P999".
I decided to change that so something COOOL, like OrganizedFellows G2x.
I guess that broke Swype.
After I changed it back to LG-P999, Swype works.
dumb, huh?
Well, at least I know.
Didn't seem to have it installed. Did a search in root explorer and found swype.bfz. Renamed it to swype.apk and installed it. Runs! Any ideas about the .bfz extension?
Hope this may help someone else who is looking for it on their phone.
http://forum.xda-developers.com/showthread.php?t=991752
http://forum.xda-developers.com/archive/index.php/t-933576.html
Found these threads earlier today. For some reason, the first word I write in Swype only shows the last letter on this phone, was hoping the Beta may work, as I never had an issue with it on my Nexus One.

HtcLoggers.apk and other eavesdroppers

By now, some you have seen reports about the latest bit of under-the-covers eavesdropping, this time by HtcLoggers.apk. In case you haven't, this post on Android Police details the whole thing pretty well.
One thing that really caught my attention was the graphic showing all the different ways various bits of Android snoop on you:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Those of us not running HTC software don't have to worry about most of these. The one that remains for all of us, at least according to the research so far, is Google Checkin, part of GoogleServicesFramework.apk. You can see in the graphic what kind of information Checkin collects and where it puts it. I've seen /data/system/dropbox before, occasionally I clear it out because it collects a huge number of files. I hadn't really paid much attention to /data/system/usagestats.
Using Root Explorer, I see that the permissions on both these directories is rwx------. As an experiment, to see if I can block whatever Checkin is collecting, I deleted their contents and then removed all permissions on these directories (and rebooted for good measure). I did this about an hour ago. So far, the directories have remained empty.
My G2 (running ILWT CM7 build 216) appears to be functioning normally, including the Market. If anything malfunctions, I'll report here.
Update. More directories to block: /data/anr, /data/tombstones, /data/dontpanic. File to block: /data/system/userbehavior.db (I first used SQLite Editor to empty the file).
Do not attempt this procedure on /data/system/throttle -- this caused my phone to enter a boot loop, which I had to repair by booting into recovery and then reverting my permissions change through ADB.
Quick follow-up... Looks like removing all permissions on the two directories has no effect on the phone's behavior. I've seen no breakage and the directories remain empty. So if you want to thwart some data collection, this looks like a decent approach.
So now that some time has passed, what is veridict? Were there any averse affects on the phone? Does everything still work?
Still seeing no problems. I did the same thing to my Nook Color, and it's also behaving normally.
This is very interesting, I'll try changing the permissions too.
Updated original post: added a few more directories to block based on additional information reported by the Carrier IQ Logging Test App.
I also gave this a try...
And so far so good! Thanks!

How i can skip samsung installation wizard?

hello, i have a samsung young 2 (sm-g130m) and i created a custom rom without google apps, in the installation in one part it asks you for a google account, so when it reaches that part the app goes back and I can't skip it ( after end user licence)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi and welcome.
I don't know your specific device but by analogy to others I can answer you, because I did the same thing, un googling my dewice by modifying the flash package components.
So, if it doesn't let you skip it, it seems that its not possible to do that, as you have to go through this entire process.
This first "install" sequence, whatever it forces you to do, does also real mandatory configurations.
If you get through it once (with fake credentials or even with a real one if it insists to check it - which would be very unfair by the way) it won't come back and all you have to check is that if it effectively uses google service to connect (like playstore) or not.
On my device I could get rid of EVERY google app and online service, playstore, gmail, youtube and all facebook and tutti quanti. So no credential could be used for this anyway.
I don't know how you managed to make change into your rom. It would be good to tell.
(I mounted the filesystem on linux to delete those big-tech apps.)
Just tell a bit more how you proceeded.
FranckyGoesToHollywood said:
Hi and welcome.
I don't know your specific device but by analogy to others I can answer you, because I did the same thing, un googling my dewice by modifying the flash package components.
So, if it doesn't let you skip it, it seems that its not possible to do that, as you have to go through this entire process.
This first "install" sequence, whatever it forces you to do, does also real mandatory configurations.
If you get through it once (with fake credentials or even with a real one if it insists to check it - which would be very unfair by the way) it won't come back and all you have to check is that if it effectively uses google service to connect (like playstore) or not.
On my device I could get rid of EVERY google app and online service, playstore, gmail, youtube and all facebook and tutti quanti. So no credential could be used for this anyway.
I don't know how you managed to make change into your rom. It would be good to tell.
(I mounted the filesystem on linux to delete those big-tech apps.)
Just tell a bit more how you proceeded.
Click to expand...
Click to collapse
Hello Thanks for the response, i use the ASSAYYED_KITCHEN and the work folder for delete apps i think are useless ( i use assayyed kitchen because i follow a tutorial on youtube )
Hi. I din't know about this one. Will give a try !
Hello, I was trying to move apps and by removing some of these I was able to make the installer not appear, I can now use my rom and my device runs faster!

Categories

Resources