CONFIRMED: Permament Root! - Epic 4G Android Development

please see this link http://forum.sdx-developers.com/epic-development/adb-root-exploit-test/
if your having trouble: use my instructon
1. copy & run the exploit
adb push c:\downloads\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb shell
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
cd /data/local/tmp
./rageagainstthecage-arm5.bin
2. make it RW and move files
adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
adb push c:\downloads\joeykrim-root.sh /system/bin/joeykrim-root.sh
adb push c:\downloads\jk-su /system/bin/jk-su
adb shell mv /system/bin/playlogo /system/bin/playlogo-orig
adb push c:\downloads\playlogo /system/bin/playlogo
3. set permission
adb shell chmod 755 /system/bin/joeykrim-root.sh
adb shell chmod 755 /system/bin/playlogo

Sweet! I've been following the thread at sdx. Thanks for being a test dummy
Sent from my PC36100 using XDA App

Hopefully there will be a one click method or something just as easy to use to perform this

Has anyone actually tried this on there epic? I have an advocate device and prefer not to ruin it before I even goes active on my line.
Sent from my SPH-D700 using XDA App

cognitivel0gic said:
Has anyone actually tried this on there epic? I have an advocate device and prefer not to ruin it before I even goes active on my line.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yes, I can confirm this absolutely does work. Joeykrim and I spent the better part of an hour working on my Epic and hammering out the kinks. I now happily have root access, and there are no words to describe how happy I am to have QuickBoot and AdFree Android back up and running

Awesome Ill be giving this a shot tomorrow. Thanks for all the hard work!
Sent from my SPH-D700 using XDA App

I assume this is just a quick fix until kernel source is released? (due to lack of apply:update.zip in the recovery)

Now i know this is a noob question and all, but;
How do i adb in ubuntu?
I have the environment all set up, eclipse, adt, and the sdk...im just lost after that...

Does the root still intact after reboot?

ImSoHungry said:
Now i know this is a noob question and all, but;
How do i adb in ubuntu?
I have the environment all set up, eclipse, adt, and the sdk...im just lost after that...
Click to expand...
Click to collapse
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/

JGeZau said:
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
Click to expand...
Click to collapse
can i haz your baby?!
thanks

2kmy477 said:
Does the root still intact after reboot?
Click to expand...
Click to collapse
Yes it does. That was the main problem Joey and I were having was getting the root to be persistant.

chris5h said:
Yes it does. That was the main problem Joey and I were having was getting the root to be persistant.
Click to expand...
Click to collapse
Great,thanks.I'm wating for the new version of wifi tether to work on the epic.

You mean the source code that is available at opensource.samsung.com when you search for SPH-D700?

dseo80 said:
I assume this is just a quick fix until kernel source is released? (due to lack of apply:update.zip in the recovery)
Click to expand...
Click to collapse
You mean the source code that is available at opensource.samsung.com when you search for SPH-D700?

Is nand unlocked?

No, it is not.

Root is a great first step. Now.. let's get bootloader access and get some stock 2.2 ROMs running for maximum awesome.

Anyone have the stock rom?

Whosdaman said:
Anyone have the stock rom?
Click to expand...
Click to collapse
You can find the system dump at the forums in androidcentral.com
Sent from my PC36100 using XDA App

Related

RESOLVED:Rooted but getting Permission Denied from ADB Shell?

ADB Shell connects just fine, but I cannot SU into it. I am rooted and have the latest SuperUser installed... In addition, I have USB debugging enabled, the LG drivers, and Root Explorer works perfectly.
RESOLVED:
You must have SuperUser OPEN while trying to SU from ADB. I don't remember this being needed on my Nexus One, but it's working now. I will keep this up for others that might need it....
Sceencast in droid explorer isnt working for me.rooted g2x. Maybe ill reinstall it after i get home from work. Is yours working?
Do you have SuperUser OPEN while trying to use it? Seems that it's not running persistently like it did on my N1
momentarylapseofreason said:
Do you have SuperUser OPEN while trying to use it? Seems that it's not running persistently like it did on my N1
Click to expand...
Click to collapse
just got home from work. gonna try it now.
nope, no screencast even with super user running. just rebooted. gonna try again. logcat seems to be going nuts though.
I was going crazy about this and asked Chris Soyars because I have never had to do this either. This is what he said:
"You can just type 'su' while in an adb shell, and it should drop you down to root. You won't get adb providing root until you have a boot image flashed that isn't running in secure mode.... -Chris Soyars"
wewoapsiak said:
I was going crazy about this and asked Chris Soyars because I have never had to do this either. This is what he said:
"You can just type 'su' while in an adb shell, and it should drop you down to root. You won't get adb providing root until you have a boot image flashed that isn't running in secure mode.... -Chris Soyars"
Click to expand...
Click to collapse
First you need to go to settings developer options and root access and check apps and ADB
Then you might have to do the CHMOD -R 777 /directorynameyouaretryingtoaccess
Guys. I am assuming the su in adb shell is preceded by an adb remount? By default system is ro not rw.
Sent from my LG-P999 using xda app-developers app

New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)

New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)
Hi all,
I grew frustrated by the annoyance of losing root access randomly, when modified files on /system suddenly become inaccessible because of the S-ON lock.
But here's some good news: I came up with a way to get a 100% reliable "temp root" for Titanium Backup.
Advantages:
You will not lose root access until next reboot!
100% reliable, does not modify /system at all.
Drawbacks:
Minimalistic approach with no BusyBox.
Will only work with select root apps.
Tested with Titanium Backup only (for now).
Requirements:
Original "out of the box" Sensation or EVO 3D (untested).
Android SDK tools ("adb" command) on a computer.
USB connection between computer and phone.
Installed Superuser app from the Market.
Initial (one-time) setup:
unzip better-temp-root.zip
adb push fre3vo /data/local/tmp/
adb shell "cd /data/local/tmp ; chmod 755 fre3vo ; ./fre3vo"
adb shell "mkdir /data/bin ; mv /data/local/tmp/fre3vo /data/bin/"
adb push su /data/bin/
adb push root.sh /data/bin/
adb shell "chmod 4555 /data/bin/su ; chmod 755 /data/bin/root.sh"
adb shell "/data/bin/root.sh"
After every reboot:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
The advantage of this method is that /system is not modified, therefore the rooting will be totally stable and will persist until the next reboot
Q&A:
Will it work with other root apps?
This is a minimalistic approach which installs no busybox and does not touch /system, in order to be perfectly reliable. The drawback of this is that it will work only with root apps that are able to find "su" at /data/bin/su, and that don't need a busybox in $PATH. Fortunately, Titanium Backup fulfills both of these criteria. If you know other apps that do, please post about them.
Status:
Titanium Backup (free & pro): works
Root Explorer: works
MyBackup pro: works?
SetCPU: FC
Wireless tether: needs system modification
Greetings go to #teamwin for the exploit, of course.
Have fun !
Great. Good job!
Now where is that test recovery?
If it works well, maybe you should try and pass the files onto agrabren for him to implement into Fre3vo^2 (apk that makes root better like your fix is aiming to).
That way things will move a LOT faster
Using this, I can get Titanium Backup to work, but not AdFree. Might just wait for Fre3vo^2.
Adfree is build to edit files on /system partition which is not possible with temp root
Set-Cpu is working?
possible to make a script that runs
Code:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
at each boot automatically?
Does barnacle or any WiFi tether apps work with this? Still at work.....
Sorry for the noob question but where do unzip it to, the computer or the phone?
Sent from my PG86100 using XDA App
madindehead said:
Using this, I can get Titanium Backup to work, but not AdFree. Might just wait for Fre3vo^2.
Click to expand...
Click to collapse
Thanks for your feedback. I hadn't tested AdFree, but I'm not surprised here. This solution is a willful compromise: we refrain from modifying /system, and thus we gain 100% reliability - but at the same time we lose compatibility with some root apps, because they often rely on BusyBox being in /system (or at least in $PATH).
I have contacted @agrabren on Twitter with a link to this thread. I haven't looked into it, but if #teamwin can come up with a way to execute adb commands locally on the phone, it could all be done automatically at boot. Hopefully they'll add a configuration choice such as:
Method 1: Full compatibility with root apps, system BusyBox, "ephemeral" root
Method 2: Compatibility with *some* root apps, no system BusyBox, 100% reliable root
Let's see how it goes... but I know which method I'd personally use
Tiffany84 said:
Sorry for the noob question but where do unzip it to, the computer or the phone?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Unzip to the computer, you'll get 3 files. Go on from there
What about this:
Any difference to files/method from first post?
http://www.facebook.com/pages/S-Off-for-Sensation-and-Evo-3d-NOW/117107248377328?sk=wall&filter=1
joel.bourquard said:
Unzip to the computer, you'll get 3 files. Go on from there
Click to expand...
Click to collapse
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
DomSim said:
possible to make a script that runs
Code:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
at each boot automatically?
Click to expand...
Click to collapse
That's the goal - but such a script would not work right now, because: (1) the 1st command terminates the current shell and (2) the 2nd command must be called through ADB.
As far as I see, the 1st command could be invoked automatically from an Android app at boot, but the 2nd one needs to be called through adb, which requires a separate computer right now.
I haven't looked into that - but I think @agrabren / #teamwin are aiming at this (ie: somehow doing the equivalent of running commands through "adb" from the device itself) with Fre3vo^2.
Thanks very much..
Sent from my HTC Sensation Z710e using XDA App
Tiffany84 said:
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Same directory
Tiffany84 said:
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
I run Linux personally, but I think if you just unzip the files into some empty folder, then stay in that same folder and run ADB by its absolute path, it should work fine. Something like:
"C:\Program Files\Android SDK\BIN\ADB.EXE" push xx yy
Maybe a Windows user could give you more precise advice here...
Why would you need barnacle when you have wireless tether built in?
Sent from my HTC Sensation 4G using XDA App
With this,only run fre3vo bat file and all will install
automatically:
Ganii said:
What about this:
Any difference to files/method from first post?
http://www.facebook.com/pages/S-Off-for-Sensation-and-Evo-3d-NOW/117107248377328?sk=wall&filter=1
Click to expand...
Click to collapse
Anyone tried SetCPU ? Which profile did you select, and does it work?
Pinepig said:
Same directory
Click to expand...
Click to collapse
Thanks.
Sent from my PG86100 using XDA App

[Mod] Webtop via HDMI without a Dock.

What this mod does:
It removes the device ID string check from PortalApp, and enables the webtop option in DockService. Replacing these two apk files effectively allows the webtop to launch without proprietary hardware.
Click to expand...
Click to collapse
What this means to you:
Webtop mode over any HDMI without an expensive dock.
Click to expand...
Click to collapse
Installation:
Method 1: ADB install
Download the package here: http://forum.xda-developers.com/attachment.php?attachmentid=791033&d=1321938181
First Get the files to the device and remount /system as rw:
Code:
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o remount,rw /dev/block/system /system
Backup the original files:
Code:
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak
Copy the modded files over fix permissions and reboot:
Code:
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
chmod 644 /system/app/DockService.apk
chmod 644 /system/app/PortalApp.apk
reboot
Click to expand...
Click to collapse
Appreciate my work? Buy Me a Beer:
awesome job!
however, will this effect how the device currently interacts with the motorola docks (webtop, lapdock, car-dock, hd-dock, etc)
The modifications to PortalApp will have no effect on that interaction whatsoever I have just removed the bit that checks to see if your dock is legit when the Webtop Launches. And the modification to DockService simply causes the mIsWebtopAllowed variable to return true.
In short everything will work the same, you'll just always have a webtop option in the Dock Picker Activity no matter what type of HDMI/Dock you have connected.
Excellent WORK!!!
Thanks i appreciate the work you did to make this happen!!! as soon as i get paid im buying you a beer!!!
Used this mod on my OG ATRIX. Works great on it with a Bluetooth keyboard. Again good work.
silly question I'm sure but I have to ask: Does this require root?
Code:
mount -o remount,rw /system
Didn't work for me. Had to use this:
Code:
mount -o remount,rw /dev/block/system /system
voodoomurphy said:
silly question I'm sure but I have to ask: Does this require root?
Click to expand...
Click to collapse
Yes, you'll need root.
Is it just 720p for all or anyone got it going @1080?
Sent from soberstone mobile.
Mod works great Thanks. I just have one question. Is there a way to make the 4G connection work on webtop?
sweet! thanks works great
Does this trick will enabling ethernet network?
Thanks
sobesan said:
Is it just 720p for all or anyone got it going @1080?
Sent from soberstone mobile.
Click to expand...
Click to collapse
i just got it going at 720p, but i haven't played with it to much.
works great. Has anyone tried getting the full ubuntu or installing any .deb packages on i yet?
duke8804 said:
Mod works great Thanks. I just have one question. Is there a way to make the 4G connection work on webtop?
Click to expand...
Click to collapse
Just enable tethering/mobile hotspots. http://forum.xda-developers.com/showthread.php?t=1330438.
Anyway after this turn on your mobile hotspots and and then connect your lapdock. It will run on your mobile broadband without a tethering plan. Now will you get a letter? I dunno.
Well... I've screwed up. I tried this from the Bionic Forum as a test: http://forum.xda-developers.com/showthread.php?t=1281722
and now my Atrix 2 will not load the web top. The M pulses and then nothing happens, the phone goes to sleep. I've tried a factory restore but that did not correct this. Any help would be appreciated.
voodoomurphy said:
Well... I've screwed up. I tried this from the Bionic Forum as a test: http://forum.xda-developers.com/showthread.php?t=1281722
and now my Atrix 2 will not load the web top. The M pulses and then nothing happens, the phone goes to sleep. I've tried a factory restore but that did not correct this. Any help would be appreciated.
Click to expand...
Click to collapse
Were you able to flash the webtop restore through RSD and go back to stock webtop?
I have not tried that yet, I have been a little to afraid to given what happened the first time I tried using Bionic derived tools. I'm a Mac guy, so RSD is out of my reach right now. I will try it tonight at work.
can I flash via recovery?
the same way I did with the first Atrix? Please let me know, and thank you, don't wanna try and brick it.
voodoomurphy said:
I have not tried that yet, I have been a little to afraid to given what happened the first time I tried using Bionic derived tools. I'm a Mac guy, so RSD is out of my reach right now. I will try it tonight at work.
Click to expand...
Click to collapse
The first times a mistake, the second time is a choice.

[Q] Can't root after complete reset yestrday

3/14. I had to do a complete reset after a botched install of Revolver
I really want to get back to the PRIME ROM I had running before I messed up.
On Sunday, I did a one click root, then installed CWM and then the PRIME ROM ( wished I would have left well enough alone.)
Now I can't even get this Tablet to root ( TF101). ( Razorclaw)
I updated to 4.0.3 yesterday. Could that be the issue? If so, any suggestions on how I get back to the Prime ROM, CWM and root.
Thanks in advance, and please feel free to kick the sh!t out of this noob.
ViperMod will root ICS on both TF101 and Prime.
I just tried vipermod today and it won't work . I'm using Ubuntu and at every line in the script it says " cannot stat no such file or directory
Sent from my Transformer TF101 using xda premium
Sounds like it might be path errors. ViperMod is only a batchfile of ADB commands. You should be able to open up the batchfile and manually type and run the pertinent commands at a prompt if you have to, changing path and filenames where necessary.
You need to
chmod +x adb
Also remember to ensure adb can see your device. Use
adb devices
If your device is not seen, you need to add a udev rule in /etc/udev/rules.d/
Krish.Nagarajan said:
You need to
chmod +x adb
Also remember to ensure adb can see your device. Use
adb devices
If your device is not seen, you need to add a udev rule in /etc/udev/rules.d/
Click to expand...
Click to collapse
I did that and it does see the tf. But once I am in the path where my adb resides then I do sudo sh primetime.sh I still get all those errors.
Do I need to chmod the adb file that's residing in the PrimeTime folder as well?
I did add the rules to the 99-android.rules also
Sent from my SGH-T959 using xda premium
Hey E, I sent you a PM for a possible solution.
Woodrube said:
Hey E, I sent you a PM for a possible solution.
Click to expand...
Click to collapse
Got it man. I'm rooted now. :-D my issue was using wrong command in terminal.
Sent from my Transformer TF101 using xda premium

[Q] How can I bypass Motorola advertising startup screen

Hi,
Anyone know how to bypass the Motorola advertise screen on startup screen. Those screen that has the globe and airplane circling around with Motorola logo.
Thanks
dukkha2 said:
Hi,
Anyone know how to bypass the Motorola advertise screen on startup screen. Those screen that has the globe and airplane circling around with Motorola logo.
Thanks
Click to expand...
Click to collapse
In ADB run
su
mount -o remount,rw /system
cd /system/media
mv bootanimation.zip bootanimation.zip.bak
reboot
Kaw202,
Thanks for your help. I'm a newbie. I do not understand your description of the procedure. Would you please describe it in another way for a newbie. Does this means that I have to root the phone
kaw202 said:
In ADB run
su
mount -o remount,rw /system
cd /system/media
mv bootanimation.zip bootanimation.zip.bak
reboot
Click to expand...
Click to collapse
dukkha2 said:
Kaw202,
Thanks for your help. I'm a newbie. I do not understand your description of the procedure. Would you please describe it in another way for a newbie. Does this means that I have to root the phone
Click to expand...
Click to collapse
Sorry you do need root.
Also if you are rooted just download a terminal emulator and type the commands one at a time and hit enter after each one.
kaw202 said:
Sorry you do need root.
Also if you are rooted just download a terminal emulator and type the commands one at a time and hit enter after each one.
Click to expand...
Click to collapse
Thanks. so I do not need to root my phone.
What do you mean "in ADB run" ?
what is "su" ?
what is "mount -o remount,rw /system "?
what is "cd /system/media"
what is mv bootanimation.zip bootanimation.zip.bak ?
dukkha2 said:
Thanks. so I do not need to root my phone.
What do you mean "in ADB run" ?
what is "su" ?
what is "mount -o remount,rw /system "?
what is "cd /system/media"
what is mv bootanimation.zip bootanimation.zip.bak ?
Click to expand...
Click to collapse
If you want to do things with your phone over and above what a 'normal' user can do then you need to do some reading and have at least some understanding of what you are doing. I would advise you don't alter anything if you don't understand the commands above as its very easy to do damage from the command line once rooted.
If you want to go ahead then please do gain more knowledge first so you don't mess up your phone.
I totally agree to that what Scott said.
But i'll help you where you can find some basic material.
Here you have one of a few basic guides on ADB. Also a few linux commands are mentioned. Here you'll find more detailed information on Linux commands.
Instead of installing the whole Android SDK as explained in above mentioned link i would recommend you to use Minimal ADB and Fastboot
If you have problems with the Native Motorla ADB drivers you can use the Universal ADB Drivers
You can also use Terminal Emulator (Play Store) as kaw202 already explained. Then installing Driver and Minimal ADB and fastboot is not necessay. But still i would recommend you to do that.
These are only a few links. There are much more guides here on XDA if you use the search function while typing the keywords into it
mokkami said:
I totally agree to that what Scott said.
But i'll help you where you can find some basic material.
Here you have one of a few basic guides on ADB. Also a few linux commands are mentioned. Here you'll find more detailed information on Linux commands.
Instead of installing the whole Android SDK as explained in above mentioned link i would recommend you to use Minimal ADB and Fastboot
If you have problems with the Native Motorla ADB drivers you can use the Universal ADB Drivers
You can also use Terminal Emulator (Play Store) as kaw202 already explained. Then installing Driver and Minimal ADB and fastboot is not necessay. But still i would recommend you to do that.
These are only a few links. There are much more guides here on XDA if you use the search function while typing the keywords into it
Click to expand...
Click to collapse
Thanks for your response and warning. The info in your message is what I need. I want to learn. Once I understand the process of gaining some control and manipulating the phone, I shall make decision of whether to proceed or not.
dukkha2 said:
Thanks for your response and warning.
Click to expand...
Click to collapse
Did i really sound that strict
Sorry for that^^
Once I understand the process of gaining some control and manipulating the phone, I shall make decision of whether to proceed or not.
Click to expand...
Click to collapse
You should first ask yourself i you really wanna root your device with all its consequences.
mokkami said:
Did i really sound that strict
Sorry for that^^
You should first ask yourself i you really wanna root your device with all its consequences.
Click to expand...
Click to collapse
I thought that just bypassing the advertising screen by performing those steps posted by Kaw202, I do not have to root the phone !.
Thanks
Does this means that I have to root the phone
Click to expand...
Click to collapse
Sorry you do need root.
Click to expand...
Click to collapse
Thanks. so I do not need to root my phone.
Click to expand...
Click to collapse
I thought that just bypassing the advertising screen by performing those steps posted by Kaw202, I do not have to root the phone !
Click to expand...
Click to collapse
????!
mokkami said:
????!
Click to expand...
Click to collapse
Thanks

Categories

Resources