full root achieved on nsz-gs7 now!

User avatar
dexter
Android 1.0
Posts: 27
Joined: Sun Jun 09, 2013 12:30 pm
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

full root achieved on nsz-gs7 now!

Post by dexter » Fri Jul 26, 2013 3:24 am

Thanks to the guys with gtvhacker making the temp root.

i have now achieved static root, changing the /system
# pwd
pwd
/system/xbin
# ls -l
ls -l
-rwsr-xr-x root root 1062992 2013-07-23 20:06 busybox
-rwxr-xr-x root shell 70604 2008-08-01 14:00 dexdump
-rwxr-xr-x root shell 11736 2008-08-01 14:00 fw_loader
-rwxr-xr-x root shell 67736 2008-08-01 14:00 hciconfig
-rwxr-xr-x root shell 189380 2008-08-01 14:00 hcidump
-rwxr-xr-x root shell 40736 2008-08-01 14:00 hcitool
-rwxr-xr-x root shell 31432 2008-08-01 14:00 hidd
-rwxr-xr-x root shell 10360 2008-08-01 14:00 mfgbridge_trigger
-rwsr-xr-x root root 91992 2013-07-23 20:06 su


i am sorry, that i cannot provide you with the installer solution, but im sure someone can put something together to install the replacement /system filesystem here, or actually ask for permission from the guys that made it for the Acer A1-810 on xda developer forum, which is similar to this hack.

the big secret to writing the new filesystem:

1. follow gtvhacker instructions to get temp root on your box.
2. as root do a chmod 777 /dev/block/mmcblk0 ; chmod 777 /dev/block/mmcblk0p11
3. dump the filesystem: /data/local/tmp/busybox cat /dev/block/mmcblk0p11 >/mnt/media/usb.E234-1928/system.fs
4. on a linux box: mount the dumped filesystem (system.fs) with -oloop to be able to modify it.
ie. mount -oloop /tmp/system.fs /tmp/1
5. copy your busybox and su to the /system/xbin/ folder where you mounted the system.fs
6. umount your dumped filesystem from location you mounted it.
7. write back the newly modified filesystem (i renamed it now to system.with_root) .
/data/local/tmp/busybox dd if=/mnt/media/usb.E234-1928/system.with_root of=/dev/block/mmcblk0 seek=149248 bs=4096
Last edited by dexter on Fri Jul 26, 2013 11:24 pm, edited 1 time in total.

mruno
Android 1.0
Posts: 13
Joined: Fri Dec 28, 2012 6:23 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by mruno » Fri Jul 26, 2013 4:55 am

awesome. great work, thanks!

bovoro
Android 1.0
Posts: 43
Joined: Tue Nov 20, 2012 11:30 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by bovoro » Fri Jul 26, 2013 9:32 am

that´s great!!! , but im still on "command / data / local / tmp / busybox telnetd-p 8899-l sh" and get error : / data / local / tmp / busybox: not found

bovoro
Android 1.0
Posts: 43
Joined: Tue Nov 20, 2012 11:30 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by bovoro » Fri Jul 26, 2013 10:30 am

I could finally access the temporary root, but when I run
/data/local/tmp/busybox dd of=/mnt/media/usb.875D-B7C8/system.fs of=mmcblk0 skip=149248 bs=4096 count=1047552

I get this error:

dd: can not open 'mmcblk0': Read-only file system

webdude12
Android 1.0
Posts: 13
Joined: Sat Dec 03, 2011 9:09 pm
GTV Device Owned: Logitech Revue

Re: full root achieved on nsz-gs7 now!

Post by webdude12 » Fri Jul 26, 2013 8:19 pm

How did you get past the /data/local/tmp/busybox error??

bovoro
Android 1.0
Posts: 43
Joined: Tue Nov 20, 2012 11:30 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by bovoro » Fri Jul 26, 2013 8:44 pm

you need to put manually busybox and give permission Dexter told me in other post:

Dexter say:
@bovoro
you need to manually copy busybox to the /data/local/tmp
and set permissions "chmod 755 busybox" on it.

I wonder if this new temp root, allow for a user to write back data to the /dev/mmcblk0p11 partition now? anyone tested?
i got a modified partition but it did not work with system priv. maybe now?

bovoro
Android 1.0
Posts: 43
Joined: Tue Nov 20, 2012 11:30 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by bovoro » Fri Jul 26, 2013 8:59 pm

@ Dexter, I think some command is wrong, the resulting dump size is 3.99GB, and rewrite it in mmcblk0, all the free space on my Google TV disappears.

User avatar
dexter
Android 1.0
Posts: 27
Joined: Sun Jun 09, 2013 12:30 pm
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by dexter » Fri Jul 26, 2013 11:25 pm

bovoro wrote:@ Dexter, I think some command is wrong, the resulting dump size is 3.99GB, and rewrite it in mmcblk0, all the free space on my Google TV disappears.
i have rewritten the dump of the partition9 instruction, which is pretty much the same and works without block calculation.

bovoro
Android 1.0
Posts: 43
Joined: Tue Nov 20, 2012 11:30 am
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by bovoro » Sat Jul 27, 2013 9:58 am

cool im root now, can we install superuser.apk ?

User avatar
dexter
Android 1.0
Posts: 27
Joined: Sun Jun 09, 2013 12:30 pm
GTV Device Owned: Sony NSZ-GS7 (v2 streamer)

Re: full root achieved on nsz-gs7 now!

Post by dexter » Sat Jul 27, 2013 10:34 am

bovoro wrote:cool im root now, can we install superuser.apk ?
yes, i believe superSU can be installed and works. but you cannot upgrade since /system is still ro mounted.

so you might need to use the latest su command with supersu for proper functionality.
i think i tested my su command to work i posted.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron

Login  •  Register