Now it's Rooted!

11 views
Skip to first unread message

jacques

unread,
Sep 16, 2010, 5:36:25 PM9/16/10
to JetDroid
Hi all,

Now i've rooted the JetDroid,see this:
http://darkforestgroup.com/forum/index.php?topic=6483.0

Cheers,

Jacques

Daniél Lecoq

unread,
Sep 16, 2010, 5:44:08 PM9/16/10
to jetd...@googlegroups.com

Sweet!

Dopi

unread,
Sep 17, 2010, 5:17:08 AM9/17/10
to jetd...@googlegroups.com
Hi Jacques,

nice work. Which source did you use for su? We should integrate this into our next JetPlatform release.

For PSFr**** you will need USB. I am currently working on kernel supprt for USB. The problem is that the USB connector is not directly connected to the application processor. Thus we need to set the switch inbetween up, first.

Cheers,

Dopi

Kaesar

unread,
Sep 17, 2010, 7:11:25 AM9/17/10
to JetDroid
Bah, I just wrote a long reply as to how I did it and then hit back on
my browser by accident... So to cut things short as i cba to re-type
it out (as i'm at work and should be doing stuff).

When I rooted mine a while back I used the Galaxy S I9000 'update.zip'
from xda-developers forum.

You will also need the superuser app to deny/grant permissions.

Couple of apps I used that require root access:
Terminal Emulator (self explainatory)
GScript lite (runs scripts/commands, I use it to mount my fat32
partition under android)
SetCPU (set min/max cpu frequency)

We should be able to use SetCPU to overclock the processor within
android, however we will need to modify the kernel to be able to go
past 800mhz.

Dopi, any idea of the top of your head where the freq/voltages are
being set?

Well done to Jacques for posting this up, I meant to do it a while
back but hadn't gotten around to writing a guide. If anyone is
interested I can post up how I did it and upload the files somewhere,
otherwise enjoy!

Cheers,

Kaes

Bonsitm

unread,
Sep 17, 2010, 7:21:06 AM9/17/10
to JetDroid
I for one am interested as to what this enables us to do, so if you
could find the time to explain the process a little more in depth then
I'd appreciate it.

Kaesar

unread,
Sep 17, 2010, 7:45:31 AM9/17/10
to JetDroid
Hi Bonsitm, I'll see if I can put something up over the weekend then.

Jacques, sorry I didn't see your post yesterday or I would of replied
to it, however its always fun figuring stuff out.

Also I'm running the R2D2 Droid 2 Boot animation

http://www.youtube.com/watch?v=Km3dZUCTkYY

It runs a bit slow unfortunately and the sound doesn't work (lack of
kernel support) but if people are interested I can put a post up for
it.

Dopi

unread,
Sep 17, 2010, 7:56:19 AM9/17/10
to jetd...@googlegroups.com
Hi Bonsitm,

I am also not the expert in rooted-phones but one thing I know for sure is that a rooted phone enables you to do an extensive backup (e.g. using Titanium Backup), wheras on a non-rooted phone you are only able to backup small parts.

Cheers,

Dopi

Peter Jaško

unread,
Sep 17, 2010, 8:03:27 AM9/17/10
to jetd...@googlegroups.com
so root means its jailbreaked?

2010/9/17 Dopi <dop...@googlemail.com>

Dopi

unread,
Sep 17, 2010, 8:24:32 AM9/17/10
to jetd...@googlegroups.com
Hi Kaesar, Hi Jacques,

great work guys! I was not very successful in this field ;-)

Can you help to include su in the JetPlatfrom code? I already included the Superuser APK and I also thought I did the same for su. But my first attempt was not working. The sources are in the gtihub repo ( http://github.com/Dopi/JetPlatform_packages_apps_superuser ). Any Idea how to fix it is very much appreciated. 

Cheers,

Dopi

Kaesar

unread,
Sep 17, 2010, 8:39:38 AM9/17/10
to JetDroid
Ok as people seem to be interested now and it's a friday.


You can access devices directly, for example

Using setcpu to overclock the processor if you have kernel support.

Capture screenshots within android, as the program needs direct access
to the framebuffer (/dev/fb0) and without root you aren't able to do
this.


Access the rootfs '/'

Most android roms only let users have access to /sdcard in android and
therefore they can't modify any of the system files, some of this we
can already do directly because we store it on an sdcard and can
access it through ubuntu. Therefore stock android phones need to root
the recovery image to allow them to update/flash to any other roms
than the official ones, this allows them to remove branded 'roms' or
update to froyo etc instead of having to wait for their mobile phone
carrier to push an OTA update.

By not having a 'conventional' android phone and being able to access
the rootfs, due to being to access through ubuntu on an sdcard, we
kind of already had 'semi-root' in terms of modification/customisation
and updating the JetDroid platform, kernel, changing boot animations,
etc. You can't even change the boot animation on a standard android
phone without rooting.

We can also run any commands that's available under android, e.g the
abilty to 'mount' filesystems such as the fat32 partition on the
sdcard and therefore you can access all your mp3's/videos/images that
are available under the standard sammy o/s.

We could already do quite a lot of stuff without rooting it due to the
way JetDroid has been developed, so we do 'gain' less from it than
other phones.

It does however also add the convenience that you can modify any file
you wish from within android, then reboot the phone and test to see if
the changes have the required effect. Rather than having to take out
the sdcard, put in pc, mount it ubuntu, make the changes, safely
remove, then put it back in the phone etc.

Kaesar

unread,
Sep 17, 2010, 9:14:41 AM9/17/10
to JetDroid
Hi Dopi,

I used a pre-compiled version of both su prog and the superuser app, I
haven't tried compiling it directly myself. What might be best if we
can't get it to work is to write a 'root' script along with the files
that people can just download, extract and then sh to 'root' the
platform. It can then be up to the user if they wish to do this as it
does have security concerns associated with it, also some users might
not be interested in using any apps that require root access?

Does it just not work when you try to run it under android or are you
getting compile errors?

Cheers,

Kaes

On Sep 17, 1:24 pm, Dopi <dopi...@googlemail.com> wrote:
> Hi Kaesar, Hi Jacques,
>
> great work guys! I was not very successful in this field ;-)
>
> Can you help to include su in the JetPlatfrom code? I already included the
> Superuser APK and I also thought I did the same for su. But my first attempt
> was not working. The sources are in the gtihub repo (http://github.com/Dopi/JetPlatform_packages_apps_superuser). Any Idea how

Dopi

unread,
Sep 17, 2010, 9:32:54 AM9/17/10
to jetd...@googlegroups.com
Hi Kaes,

it was compiling perfectly and also seems to have been installed. What I did not check was if the original or the new su command was installed and if it was installed with the right permissions. What was installed for sure was the Superuser app. However, running that was of no use as the rest of the system did not seem to be rooted. I can send these files if you wan't to try if they can be used.

Your Idea to have a short shell script to do the rooting is fine as well. We could prepare that easily.

Cheers,

Dopi

Kaesar

unread,
Sep 17, 2010, 10:01:45 AM9/17/10
to JetDroid
Hi Dopi,

Does su exist within /system/bin ?

If it does exist, what happens when you run a term emu app and try to
execute /system/bin/su ? Do you get 'access denied'?

Also what are the permissions on the file?

It is important that the permissions are set correctly as when the
execute bit for the owner is set to "s" the set user ID bit is set.
This causes any persons or processes that run the file to have access
to system resources as though they are the owner of the file, which in
this instance is 'root'.

Cheers,

Kaes

Dopi

unread,
Sep 17, 2010, 11:09:18 AM9/17/10
to jetd...@googlegroups.com
Hi Kaes,

thanks for your quick reply. For some reason I can't run a terminal emulator on the phone. They all crash. I need to check this later ...

Cheers,

Dopi

Kaesar

unread,
Sep 17, 2010, 12:22:41 PM9/17/10
to JetDroid
Hi Dopi,

No worries, see if you can get the term emu app to run. If not, let me
know and I can always upload the one I use to mediafire or something.

Cheers,

Kaes

Dopi

unread,
Sep 22, 2010, 4:33:08 PM9/22/10
to jetd...@googlegroups.com
Hi Kaes,

after some more research it seems like I did not compile and install a root su. Thus I need to give it another try.

Cheers,

Dopi  

Kaesar

unread,
Sep 23, 2010, 6:14:16 AM9/23/10
to JetDroid

Hi Dopi,

Alot of these 'rooting' scripts seem to mess around with taking copies
of su and creating symlinks here and there, however I don't think it
is necessary, to root in the simplest form we should just be able to:

cp su /media/JetDroid/system/bin/
sudo chmod 6755 /media/JetDroid/system/bin/su

That should be it. When you try and access a program requiring root
(eg typing su in term emu), superuser.apk will run and ask if you
would like to 'grant' root privileges to 'term emu'. You then can
click 'allow' or 'deny'. Once this has been done, if you run
superuser.apk the program will be listed in there and you can change
it to allow/deny or remove it from the list entirely.

Cheers,

Kaes

Dopi

unread,
Oct 23, 2010, 7:03:47 PM10/23/10
to jetd...@googlegroups.com
Hi Kaes,

do you think you could post your instructions as a brief rooting guide on the new forum (maybe even including the needed su binary)?

Cheers,

Dopi

Kaesar

unread,
Oct 25, 2010, 7:36:02 AM10/25/10
to JetDroid
Hi Dopi,

Yeah that should be no prob, I'll make a tar file with both su and
superuser.apk included and post up a short guide. Not had too much
spare time to do any more android stuff recently but hopefully I'll
have some this week.

Cheers,

Kaes
Reply all
Reply to author
Forward
0 new messages