There's a way to ONLY root this model, never rooted before, without unlocking bootloader ?
Damn, nice job. Write a full guide on rooting with this please?I'm posting this information in the hope that it might be helpful in future attempts at rooting locked TF300 running Jelly Bean. My approach is to modify this: http://forum.xda-developers.com/showpost.php?p=31545627&postcount=1 and this: http://forum.xda-developers.com/showthread.php?t=1894717.
Briefly, this is my understanding of this exploit(Please correct me if I am wrong):
By spamming this: ln -s /data/local.prop /data/data/com.android.settings/a/file99 while an adb restore is in progress, when file99 gets written, it overwrites /data/local.prop with the contents of file99, which contains the magic ro.kernel.qemu=1 and on reboot, adb shell has root.
Now the problem with the TF300 is that the backup fails to write the contents of fakebackup.ab to /data/data/com.android.settings/a/. Using this: http://forum.xda-developers.com/showthread.php?t=1730309 I am able to decompress fakebackup.ab and look into the resulting tar file.
Running the "expliot" on my TF300 results in only one file of zero length being written to /data/data/com.android.settings/a/: file44. By running tar -tvf fakebackup.tar on the decompressed backup, the first physical file in fakebackup.tar is file44.
What I believe is happening is that the TF300 backup locks up while trying to write the first file in fakebackup.ab. The result is this: /data/data/com.android.settings is erased in preparation for the restore, file44 is written but fails, the backup locks up and you are left with full write pernissions to /data/data/com.android.settings/a/. I have confirmed full write permissions to /data/data/com.android.settings/a/ so this might be helpful in future exploits.
I have tried to modify fakebackup.ab to write any file to /data/data/com.android.settings/a/ or some other location in /data/data/com.android.settings to get /data/local.prop overwritten with no success so far. I have managed to overwrite /data/local.prop with file44 but all that gets me is a zero length /data/local.prop.
Edit: Another side affect of having write permissions to /data/data/com.android.settings/a is this: ln -s / /data/data/com.android.settings/a/somefilename and then doing an adb backup com.android.settings gets you a huge .ab file with interesting files in it.
__________________________________________________________________________________________________
Edit2: I have write access now to /data on locked TF300 Jelly Bean 4.1.1 and this: echo "ro.kernel.qemu=1" > /data/local.prop works. Problem is......upon reboot, no root shell. To get write access to /data and any other system directory or file on /data, do this:
In a terminal window: adb shell "while ! ln -s /data /data/data/com.android.settings/a/data50; do :; done"
in another terminal window: adb restore fakebackup.ab
Go to your TF300 and restore the backup. You should see the command in terminal window 1 complete, You now have write permissions to /data. To get write permissions to other files or directories in /data, just change the ln -s /data part of the spam command to point to that file or directory.
That's the problem...It doesn't root the tablet. Anyone know why adding ro.kernel.qemu=1 to /data/local.prop doesn't give adb root access on this tablet?Damn, nice job. Write a full guide on rooting with this please?![]()
Try replacing /data with /system/bin?That's the problem...It doesn't root the tablet. Anyone know why adding ro.kernel.qemu=1 to /data/local.prop doesn't give adb root access on this tablet?
System partition is mounted read only so that won't work. I know why now....adbd is running as "shell" instead of "root":Try replacing /data with /system/bin?
Then pushing su over?
Idk lol :C
I'm a complete rookie when it comes to this but is it possible to use the downloaded stock rom, modify it and change those permissions?System partition is mounted read only so that won't work. I know why now....adbd is running as "shell" instead of "root":
shell 166 1 4460 0 ffffffff 00000000 S /sbin/adbd
Looks like Asus does not allow Android on the TF300 to run in emulator mode. Thats my guess as to why echo "ro.kernel.qemu=1" > /data/local.prop does not work.
AFAIK updates are signed, you tamper them and they don't get installed.I'm a complete rookie when it comes to this but is it possible to use the downloaded stock rom, modify it and change those permissions?
Is /data/local.prop being created successfully?System partition is mounted read only so that won't work. I know why now....adbd is running as "shell" instead of "root":
shell 166 1 4460 0 ffffffff 00000000 S /sbin/adbd
Looks like Asus does not allow Android on the TF300 to run in emulator mode. Thats my guess as to why echo "ro.kernel.qemu=1" > /data/local.prop does not work.
I have tried the qemu hack which is supposed to get Android to boot into emulator mode. /data/local.prop is being created properly but upon reboot, my TF300 is not in emulator mode and no root adb prompt.Is /data/local.prop being created successfully?
Also, tried this? http://forum.xda-developers.com/showthread.php?t=1892002
Well...confidentially....just between you and me.....:silly:....I returned my $279 + tax($298) TF300T to BB(Black Friday deal) and bought a red TF300T from clearance.bestbuy.com for $250 + tax($267)Bump, any progress?![]()
![]()
It just became available.U cant root when u are on bootloader version 10+ (4.1 or 4.2) on locked bootloader. And i f u have not get update maybe there is no update for ur version of tf300? However u can wait to the moment when on asus tf300t download site will be .blob file to download. Than it will be able to do "force update" by puuting it on /sdcard
Sent using tf300t - stock 4.2.1