Related
Is there anyway to start Astro as root so you can use it to edit system directories?
I had wished for the same thing.. but i didnt tell nobody.. soo maybe this will be more effective. prevents having to type in the terminal all the time.. not that its bad.. ive learned so much allready since ive had this phone...
I totally agree! That would be perfect! Maybe there a way of editing the code or smth...
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
d00m said:
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
Click to expand...
Click to collapse
Considering the fact that I'm a Systems Administrator as my profession and work with hundreds of Linux/Unix/Windows servers a day, the whole reason why I bought the G1 was for development and tinkering, the fact that my home PC is running Vista x64 (i haven't gotten around to creating a VM or messing with the drivers), and that I do wipes frequently to test different configurations, I'm pretty sure I'll be ok with root access. I'm just tired of manually doing something on that tiny keyboard that can easily be done with a nice pretty GUI. I stare at consoles all day and thousands of lines of black and white text, when I come home I don't exactly want to be anywhere near a terminal.
Also, why bother doing anything on a phone, other than using it as a phone (or for email, texting, etc.), if you don't do it because it's "kewl". I mess with my phone because it's cool to have a mini-*nix based computer with several fun radios on it. If I do something stupid like type "rm -Rf /*" after logging in as root (never going to happen) then that's my own fault.
I don't care if you're a Unix purist and you write up your office reports, spreadsheets, and diagrams in vi. Good for you, you're wasting time that can be better spent on other things because of your stubborn prejudice against GUI's. I asked a question, because I have a reason for that question. If you don't have any answers to that question, then please don't bother replying.
diabolical28 said:
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
Click to expand...
Click to collapse
I looked into the commands to launch an application from the CLI and found that Astro can be started using the following command:
am start -n com.metago.astro/.FileManagerActivity
However, this doesn't do us any good, since the dalvik VM will take that command and create a process as a sandbox user regardless of what user executes that command. There looks like there's a way to tell the VM to fork the process as a specific uid and gid, but that requires editing the AndroidManifest.xml.
I'm not too good with Java, and I don't know how strict Android's API is, so I don't know if running an apk application as root is even possible.
However, I do know that running commands from inside an application, like su, is possible.
~TM
"Wise men speak because they have something to say; Fools because they have to say something." ~Plato
Solved--Astro with root...(workaround)
kinda late, but in case anyone wants to know this is what I did.
This way technically doesnt allow astro to run with root, but its just as good.
I originally did this a few months back for my G1, and just mod it a little to work on my nexus
- created a script to mount system as rw
- created a script that gives r/w permission to all app directories (/data, /data/app, /data/app-private, /system, /system/app, /system/sd, ...) and all apps inside those directories
-then merged the 2 scripts and named it astro_root_perm
-installed GScript from the market
-created another script that
-first changes all permissions on apps back to what they started as(644, 640...)-then changes permissions of directories back to what they were-and finally remounts system back to ro, and named this script to astro_basic_perm
-used Gscript to create shortcuts of the 2 scripts to my home screen.
-then with bettercut, I changed the scripts' icons to the astro icon. I just colored the astro stock icons "A" green for one script and red for the other
So anytime I want to use astro as root, I just click the shortcut I made with gscript off my home screen, open astro,
Then when Im done with astro, I just run the other script
I know its not the same as running astro AS root, but it works for me.
Im not really a linux guy......I'd really appreciate if someone could help me with this next step
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Estrongs has limited root file browsing on some ROMs and SU File Manager or Root File Manager will let you browse as root for a small price.
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
louieG1 said:
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
I'm not sure exactly how gscript handles things, but with a normal bash (shell) script, the lines are run sequentially. That is, the next line isn't run until the previous line is done. It would seem that you could put all that in one script, and the still-running script wouldn't change the permissions back until astro has ended. But then again, java adds complexity to it and I'm not sure if it works the same.
louieG1 said:
kinda late, but in case anyone wants to know this is what I did.
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
Love this idea! Unfortunatly I'm no coder but would love to see something like this created.
I created a "GodMode" script that does exactly this, email me if you want it, I can edit it to work for the G1.
Totally forgot I started this thread, then happened to find it on Google when looking for the same thing, again.
Went back to Windows Mobile for a little bit, missed Android, and now have a Samsung Vibrant.
Still want a way to use ASTRO with root priviledges, especially since I don't have a tactile keyboard anymore.
phaelox said:
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
I know i am not answering the question directly. But, i use Linda Manager it gets the job done.
---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------
raddy said:
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
Click to expand...
Click to collapse
Hi raddy,
I'm also from TN as well, i would love to get the Tamil fonts. Can you please guide me?
Not having tamil fonts on the browser is simply annoying
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
raddy said:
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Cool, i got the tamil fonts on my G1, thanks for the help.
Hello
I'm waiting for my new Incredible S to arrive shortly and in the meantime I'm reading the user manual, I'm new to Android coming from Windows Mobile world.
Question: if I have backupped my applications to the memory card, in case of an hard reset, is there a way to reinstall them without passing through AppMarket? I have not found any File Explorer or Application Manager included in the ROM... are you obliged to connect to internet and download them?
Thanks
You can use Titanium Backup to back up and restore your apps.
They are not passed through the Android Market.
I do recall the app requires root, but that will be possible soon and is easy to do.
stefanospizzica said:
Hello
I'm waiting for my new Incredible S to arrive shortly and in the meantime I'm reading the user manual, I'm new to Android coming from Windows Mobile world.
Question: if I have backupped my applications to the memory card, in case of an hard reset, is there a way to reinstall them without passing through AppMarket? I have not found any File Explorer or Application Manager included in the ROM... are you obliged to connect to internet and download them?
Thanks
Click to expand...
Click to collapse
Hi there, I hope you will enjoy android!
There is indeed no file explorer installed on the Incredible S.
And yes, you will have to register your google account to access the market to download a file explorer (Astro File Manager for example)
TimMun said:
Hi there, I hope you will enjoy android!
There is indeed no file explorer installed on the Incredible S.
And yes, you will have to register your google account to access the market to download a file explorer (Astro File Manager for example)
Click to expand...
Click to collapse
Hi!
Thanks for your prompt answer! I suspected that after reading many threads on this matter. It seems a sort of limitation, I mean, having an SD card with your backup data and needs to connect to internet to download a file manager to install them..
But ok, this is the way it works
please use the ES File Manager .GO Android Market search "ES"
If you really wan't to avoid android market, you could usb adb (android debug bridge) to install titanium backup and then restore your apps. Or you could use adb to install certain apk's (apps are always .apk) you stored on your pc.
simple commands like
adb install C:\bla\bla\*.apk work like a charm
so if you download a filemanager, say "filemanager.apk".
you can give the command
adb install C:\bla\downloads\filemanager.apk
and it will install it on you phone after which you can acces all your files directly on your device.
You will need the SDK and some more info
If you want to use the adb, cd to \platform-tools\
But all this will be clear after a few hours of reading, trial and error
Welcome to Android.
DaanJordaan said:
If you really wan't to avoid android market, you could usb adb (android debug bridge) to install titanium backup and then restore your apps. Or you could use adb to install certain apk's (apps are always .apk) you stored on your pc.
simple commands like
adb install C:\bla\bla\*.apk work like a charm
so if you download a filemanager, say "filemanager.apk".
you can give the command
adb install C:\bla\downloads\filemanager.apk
and it will install it on you phone after which you can acces all your files directly on your device.
You will need the SDK and some more info
If you want to use the adb, cd to \platform-tools\
But all this will be clear after a few hours of reading, trial and error
Welcome to Android.
Click to expand...
Click to collapse
Hello!
thanks for your info. I was actually playing with adb and see it is very powerful. But you need the pc connected to your phone of course and again it seems not a so comfortable solution. I find a little bit curious not having an application installer or file explorer embedded in the system.
About the backup, I know that Tytanium need root privileges, correct? As far as I know no root procedure are still available on Incredible S. But, will tytanium allow to select what you want to restore? Maybe root is not necessary is you want to restore your application and not system files
Thanks
stefanospizzica said:
Hello!
thanks for your info. I was actually playing with adb and see it is very powerful. But you need the pc connected to your phone of course and again it seems not a so comfortable solution. I find a little bit curious not having an application installer or file explorer embedded in the system.
About the backup, I know that Tytanium need root privileges, correct? As far as I know no root procedure are still available on Incredible S. But, will tytanium allow to select what you want to restore? Maybe root is not necessary is you want to restore your application and not system files
Thanks
Click to expand...
Click to collapse
Yes, with titanium backup it is possible to select only certain apps that you wan't to restore.
It is indeed strange that HTC doesn't ship their android devices with a file manager, I recall my Hero didn't have one too. My Galaxy S does, although it's extremely basic.
I think after a few weeks when the first custom roms come out they will probably have a file manager installed in them. Until then I would recommend Linda Filemanager or OI Filemanager from the market, they are both free and quite powerful.
Cheers,
DaanJordaan
Regarding Titanium Root requirements. It does allow you to select between applications to restore, but the root check at start-up means you can't even access the backup/restore screen if your device isn't rooted.
It would be interested to see if a temproot is sufficient to restore certain apps. Something for me to try when i get home
As for the file manager... i think it was a concious decision to keep the device consumer focused. HTC has changed much in the last 2 years and definitely closed a lot of doors/windows they had open to devs and geeky consumers.
Bantu85 said:
Regarding Titanium Root requirements. It does allow you to select between applications to restore, but the root check at start-up means you can't even access the backup/restore screen if your device isn't rooted.
It would be interested to see if a temproot is sufficient to restore certain apps. Something for me to try when i get home
As for the file manager... i think it was a concious decision to keep the device consumer focused. HTC has changed much in the last 2 years and definitely closed a lot of doors/windows they had open to devs and geeky consumers.
Click to expand...
Click to collapse
Hello
what does temproot means? How do you log on as temproot?
Let me know about your trial...
Thanks
I found on another post:
http://forum.xda-developers.com/showthread.php?t=1341514
that the User: Rick#2 suggested using paid programs to which I've found free alternatives. I'd have posted as a direct reply there, but as "noob", I'm unable.
Anyways:
First thing that I noticed was this comment: "Unzip the attachment from the first post to the root of your sdcard, ie: don't unzip it into any folders after browsing to your phone on your PC, just put them in the root of the drive." <==Suggesting that users unzip and then stating to not unzip becomes a contradiction. I think what you meant to say was more along the lines of "Unzip the files directly into your SDCard, as there's no need to do it on you PC".
It would also be wise to state that some "NooB" users might not realize that there's more than one version of an SDCard for this phone, the Droid 3, available to be putting the files into. Standard transfer methods go to the EXTERNAL SDCard, not the internal one, so this alone could cause some users to fail at being able to do this procedure. Since this is likely the case to happen, a suggestion to verify that it's in the /sdcard and not the /external/sdcard might be of note, and those users reading this attempting this mod with the "no file in this area" problem simply need to use a file manager like File Expert (free) to do move the files from the External SDCard to the SDCard.
Next up, the apps needed to do this:
You suggested SetCPU (not free)
I suggest AnTuTu CPU Master Free
You suggest Root Explorer (not free)
I suggest Mount /system (rw / ro) (free, does the same thing, with a lot more ease than Root Explorer's way)
You suggested Better Terminal Emulator (not free)
Don't know the how much benefit of this might be over the free Terminal Emulator you thankfully suggested might be, but I can't imagine it'd be worth paying for.
Otherwise, I'd like to thank you for your post. Very nice work, and happy to say that I personally got mine to work without error the first time via your instructions.
There's a new method to overclock on rootzwiki I would suggest using. It uses a kernel module rather than a binary. Although it's in a boinic forum it is availabe for many other devices including the droid 3. It's not that difficult to accomplish and can also be done with free apps. Antutu will show the correct frequency and the min frequency does not have to be maxed out.
do you have to unzip via pc?
Do you have to unzip to sd via pc or can you just dl to your phone and unzip to sd is there a diff?
jwood3535 said:
Do you have to unzip to sd via pc or can you just dl to your phone and unzip to sd is there a diff?
Click to expand...
Click to collapse
There's a few extra steps if you unzip on a pc, you have to push more, usually have to set permissions.
Honestly, if you wanted to tell this to Rick#2 you could have done it in a pm, there's no guarantee he'll even read this here...
hello everyone again!..today I have a puzzling question for you to help me with
today I rooted and flashed MIUI on my Gf's Droid 1 (Droid OG?). Since she came from an iPhone (and i successfully convinced her to go back to her old Android device)...I figured MIUI would be a good transition.
...Well..I have a problem...
I want to change the play store to a play store mod to where it's not device filtered a Google Play Store Modded apk...
....and change that broken and useless MIUI search and replace it with google search. And there is a way to do it.
my problem is that both of these processes require /system/app being edited...but when I copy or paste a file in /system is not enough space in the "/system" partition???
ROOT EXPLORER says: I have 2.15mb free of 138.22mb
SOLID EXPLORER says: I have 4kb left
I'VE SET ALL FOLDERS IN "SYSTEM" TO CHECK ALL PERMISSIONS AND SET SYSTEM TO R/W. and even used the R/W App in the play store...there is never enough space!...originally coming from Jelly Bean for Droid OG..I figured the ROM change would give me more space..it's all the same with any ROM I use...I even formatted everything individually in CWM..i'm not a noob or dummy with this and searched the forums first before requesting assistance
Is this just a internal memory limitation that comes with the phone?...if so...I'm very disappointed..but not surprised..due to it being one of the first Verizon android devices..(hell..I'm surprised I could get jelly bean on it!)
OR..is there a way where I can allocate more partition space so "system" won't be so cramped??...
EDIT: it says I need BUSYBOX. will install and report back. WON'T INSTALL.
Thanks for your concern = ]
guess nobody has a clue or doesn't care about the Droid OG anymore
I'm a Milestone user (europian version of Droid) so I'm not too familiar with the Droid, but on thing is common in these devices.
The free space on the internal memory is very limited. If you type in the Terminal Emulator the df command, you can check how much free space you actually have.
One other thing, maybe you should ask around in the droid development section. More people read those threads.
Erovia said:
I'm a Milestone user (europian version of Droid) so I'm not too familiar with the Droid, but on thing is common in these devices.
The free space on the internal memory is very limited. If you type in the Terminal Emulator the df command, you can check how much free space you actually have.
One other thing, maybe you should ask around in the droid development section. More people read those threads.
Click to expand...
Click to collapse
it's against XDA policy to ask questions in the "Development" section. Or else I would have done that
Terminal emulator command "df' says that I have 98% used in the "system" partition...holy balls!..is there anyway to make that smaller??
You could delete stuff like LiveWallpapers.apk from /system/app or some ringtones from idontknowwhereexactly...
Eiertschik said:
You could delete stuff like LiveWallpapers.apk from /system/app or some ringtones from idontknowwhereexactly...
Click to expand...
Click to collapse
thanks!...will do that..anything else that I can remove?
Basically you can remove everything you don't need - if you know that you don't...
Ive used my droid turbo for 18 month or so. I always enjoy the convenience of installing an app first and drag data into the obb folder under emulated/0/Android.
But yesterday, I can't find it anymore(all those app data is not lost). I wanted to create a new obb folder but the phone tell me that the folder already exists. When I connect the phone to my computers(both mac and windows), I still can't find the obb folder and as I drag in a blank obb folder that I've just created, my phone crashed and restart. I used shell to check permission and it turns out the folder is there and I have full permission to Read and Write. And I backed up my device and give it a wipe. But no luck.
So, I know that the obb folder is still there, but hidden. I think it may be the Es explorer since the problem happens after I used es explorer to clean app residue after deleting an app which could trigger the write protection?
So Im bit frustrated after working on the issue or this long. So Im asking you guys, have you ever run into issues like this? Is there a viable solution?
Are you rooted? If so, try Root Explorer to see if you can see it.
Wouldn't hurt to re-flash SuperSu again in TWRP, either.
On the droid turbo it was a pain to find this folder, went with some suggestions creating new one, copying the whole folder. etc none worked, I gave up on the phone at that time also bootloader was locked, I went with moto maxx, what a ease
siberian85 said:
On the droid turbo it was a pain to find this folder, went with some suggestions creating new one, copying the whole folder. etc none worked, I gave up on the phone at that time also bootloader was locked, I went with moto maxx, what a ease
Click to expand...
Click to collapse
you are saying the problem is solved with an unlocked bootloader?
ChazzMatt said:
Are you rooted? If so, try Root Explorer to see if you can see it.
Wouldn't hurt to re-flash SuperSu again in TWRP, either.
Click to expand...
Click to collapse
Sadly, I haven't rooted my device yet....any alternatives?