[Q] Modified system theme to give root? - Motorola Droid 3

with linux can you view the main system on a mobile phone in our case the droid 3. I'm thinking although I have no idea if I'm thinking right. But I'm asking is if linux showing the system and sd card and so on could we not create a presumed theme with superuser and everything else need for root, inject it into the system content create a special App witch applies the theme and creates root it self. So I'm thinking if we are not able to make this theme active through maybe adb? I noticed this while using win7 that through a command terminal a created them can modify windows system files and so on. Yes I do realize windows automatically gives administrator permission but this also worked on a non admin user profile pretty much what we are without root permission.
PS. I just started using linux so I don't fully understand it but I do understand win7 completely
P,
Sent from my DROID3 using XDA App

Nope. Doesn't work like that. If you can get terminal to run from /system, that would work. But to do that, you need to remount /system as r/w, and to do that, you need root. Thus, SOL for now.

Related

Root access with Astro?

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.

[Q] Root access

Hey I was looking around and I couldn't find anything, but is there any way to root our vogues on android? I'm not too experienced, but I know rooting is phone specific, and since ours are a little mixed up, it probably wouldn't work the same. I want a way to do it without using ADB, my computer won't support it. I want to be able to edit/change some system files, I.E. bootanimation, UI components, and removing stock apps. correct me if I'm wrong on any of this, and thanks for any help.
Android on the vogue is rooted
Yes I know our phones are rooted, but the system acts like it's not. I.E. applications that require Root access claim that the phone isn't.
i may be a little behind on all the terms but im pretty sure for the vogue its not root its NAND.
in that case, try this http://forum.xda-developers.com/showthread.php?t=636024
as a good place to start then move on from there.
good luck and welcome to the club
Strange, programs like root explorer function fine for me, tho the system partition is mounted as read-only by default which may cause problems with some apps?
It's rooted, but my guess is those apps are looking for a feature common on rooted phones and not finding it. they might mean that the system partition is not writable, that can be changed using terminal:
Code:
mount -o rw,remount /system
see if that does it.
mrkite38, I tried using terminal like you said, and it returned" mount: permission denied. (are you root?) "
Also, I can use ES File Explorers' Root Explorer option and edit /system and /data just fine, and that app mounts as writable just fine, but terminal doesn't?
delivery_dragon said:
mrkite38, I tried using terminal like you said, and it returned" mount: permission denied. (are you root?) "
Also, I can use ES File Explorers' Root Explorer option and edit /system and /data just fine, and that app mounts as writable just fine, but terminal doesn't?
Click to expand...
Click to collapse
Terminal will, but you have to
Code:
su
first.
Sent from my DROID2 using XDA App
Thanks I'll try that. hey is there any place I could go to find some kind of shortcut/noob/command list for terminal? I have no knowledge whatsoever of code to use
Its stripped out linux shell, you can google busybox and see what commands are available there.
Sent from my DROID2 using XDA App
the phone is rooted, check to see if you have SuperUser.apk installed. you will need that for apps to access root privileges
Here is the SuperUser.apk file from RLS 17
Need to be logged in to download it I think?

[Q] Sideload Wonder Machine (SWM) failing after JH7 update + Root

Hey all -- so i flashed back to JH6 with ODIN, got the JH7 update through Kies Mini, and then rooted. I also decided to use Launcher Pro as my default homescreen launcher.
Now i'm trying to use SWM to sideload some apps, but I always get the error (something like this) FAILED INSTALL PARSE UNKNOWN EXCEPTION ... the program recognizes my device just fine and loads up the .apk just fine but fails on trying to install it onto my phone.
anyone have an idea of what might be going on
SWM is unnecessary after root isn't it
Sent from my SAMSUNG-SGH-I897 using XDA App
Tchem said:
SWM is unnecessary after root isn't it
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
The 2 are not related. You do NOT need to root to use Sideload. The SWM just uses the ADB command from the SDK. You can do this all day long without root.
If you want to install apps from your phone (not your PC) then you need to root and then you need to edit the settings.db file to allow sideload on the phone. You can't get to settings.db without rooting your phone.
Does that help?
alphadog00 said:
The 2 are not related. You do NOT need to root to use Sideload. The SWM just uses the ADB command from the SDK. You can do this all day long without root.
If you want to install apps from your phone (not your PC) then you need to root and then you need to edit the settings.db file to allow sideload on the phone. You can't get to settings.db without rooting your phone.
Does that help?
Click to expand...
Click to collapse
sort of not really, as i'm trying to upload apps/widgets from my pc. i want to hold off buying Root Explorer, and apparently Droid Explorer doesnt work on win7 64-bit systems yet ... just kind of odd that SWM can't load to my phone. i either get the INSTALL PARSE FAILURE UNKNOWN EXCEPTION or INSUFFICIENT SPACE or OLDER SDK errors. doesn't make sense to me...
turn debugging on ,
don't put the .apk files in the sideloader folder at all. caused the whole no space avaliable for me when i did that
try that... works for me.
updated with the ota an i'm rooted.
yeah i had debugging on, left the apks in a completely separate folder (didnt put them in the payload folder). the main failure i get is the install parse unknown exception one
im thinking it might actually be the apks i'm trying to upload. i got one apk to upload successfully, so maybe the other ones have some bad code in them. *shrug*
specifically i've been trying to upload the REVOlution transparent apps. all of them fail for me. then i uploaded minimal icons apk just fine.

AdbTool: The Automated Life

Ok so this started out as a small project to make my day to day phone functions easier and quicker but I thought I might share it incase anyone thought my AdbTool was helpful or just nice to have.
Functions so far:
1. Check for device
2. Push or Pull a File
3. Install .apk
4. Reboot
5. Root your Droid X
6. Change bootanimation
7. Push framework (specifically for framework)
8. issue whatever adb command you need to with out the extra typing
9. Set project
10. Error log
11. Clean up folder
There are more functions to come in the future so let me know if you like this script and what you wanna see added. There is no install just unzip and open the .bat file.
This sounds great! Though I'm on Linux machine, so I don't think ill be able to use it :/
Sent from my DROIDX using XDA App
No sorry, I should have specified. It is a Windows script... Just wait though, because Sunday I will be getting a desktop that is already running linux. If you really want I will take the time to make a script to run for linux?
Sent from my DROIDX using XDA App
rooting the dx doesnt work for me :/
Huh... what is happening when you enter that option? Sorry for the long time for me to post I missed the email alert.
Sent from my DROIDX using XDA App
I'm assuming this doesnt allow root for 2.3.3 ota correct?
since all I see is rageagainstthecage in the files
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
ljbaumer said:
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
Click to expand...
Click to collapse
Yeah, this thread is quite old (almost a year) and I am sure the program/script needs to be updated to work.
It is a good idea though (if it can be updated)
D.
I'd like to make a request for a Mount and UnMount command.
fyi....you spelled Folders wrong in the main menu "Floders"
.
I can make the program for yall. Yall just need something for shell or a gui for windows?
whatever's easier for you, either would be appreciated it
i have adb properly installed by doing adb devices in cmd it shows my dx
but when i use your tool it says it cannot find the path specific

[Q] Pure "Google Experience" AOSP for First?

With Facebook turned off, the First seems like a terrific phone, particularly for those who do not want (what can be confusing) Manufacturer's extras. I found the S4 particularly confusing AND annoying, particularly after coming from an unbranded, generic Chinese manufacture phone.
Although the First stock ROM is nearly bloat-free, is there a "GE" ROM available for the First that does not lock-in the AT&T extras such as their tethering check, Free Wireless app, Video Messaging, etc? I figure I would rather add features than have them as default.
Mine is due tomorrow!
Thanks --LS
Not yet. I'm not sure if cm will support the first.
Hopefully someone with the know how will work on getting is android 4.2.2
Was your Chinese phone stock android?
Sent from my Nexus 7 using xda premium
NaterTots said:
Not yet. I'm not sure if cm will support the first.
Hopefully someone with the know how will work on getting is android 4.2.2
Was your Chinese phone stock android?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Absolutely Android v4.0.3. It was a MTK6575 Android (w007) iPhone clone. Really nice until the backlight (or LCD) died after 7 months. So it still works, just can't tell what you are doing.
Tried a Galaxy S4 Active with an ATT ST SIM,, but it was REALLY locked down and the ROM crazy busy.
I figured the First can be my next phone unless it becomes a "holding pattern" for the Moto X or Nexus 5
You can freeze some apps and delete others via ADB shell with root access. Or clean out a stock rom before loading.
killall-q said:
You can freeze some apps and delete others via ADB shell with root access. Or clean out a stock rom before loading.
Click to expand...
Click to collapse
Thanks for the links. Pretty sure I don't know enough to "clean out" a ROM, though, which is why I was looking for the "pure" ROM. I'll Google for some guides. Any suggestions?
amphi66 said:
Thanks for the links. Pretty sure I don't know enough to "clean out" a ROM, though, which is why I was looking for the "pure" ROM. I'll Google for some guides. Any suggestions?
Click to expand...
Click to collapse
Bloatware is usually in "\system\app\" alongside essential system apps. If you're not sure about an app just Google the filename.
To clean an installed rom use ADB with root permissions. If you boot your phone into recovery you can use these commands without obtaining root in ADB shell.
Code:
adb shell
cd /system/apps
ls
rm ATT_myATT.apk
To delete those files from a ROM zip, you need to be in Linux. The reason is Android contains files that have the same names but only differ in caSE (because its design was so carefully thought out), so you need case sensitive file system support to save the zip. I just load up an Ubuntu live CD or USB drive to do the dirty work.
killall-q said:
Bloatware is usually in "\system\app\" alongside essential system apps. If you're not sure about an app just Google the filename.
To clean an installed rom use ADB with root permissions. If you boot your phone into recovery you can use these commands without obtaining root in ADB shell.
Code:
adb shell
cd /system/apps
ls
rm ATT_myATT.apk
To delete those files from a ROM zip, you need to be in Linux. The reason is Android contains files that have the same names but only differ in caSE (because its design was so carefully thought out), so you need case sensitive file system support to save the zip. I just load up an Ubuntu live CD or USB drive to do the dirty work.
Click to expand...
Click to collapse
Thank you. That is certainly within my level of experience, as is using Root Explorer to change permissions or delete apps. I thought you were going to tell me to use a 'kitchen' and decompile. I think I'm ready to go!
I just use titanium backup to uninstall bloatware lol or use root explorer system/app/delete whichever
Sent from my HTC first using xda premium

Categories

Resources