[TOOL] Perma-Temp-Root Solution [Mac/Linux/Windows] - HTC Vivid, Raider, Velocity

Remember, This is still a Temp Root & any Changes made will be Rest back to stock on a Reboot
Its stable & works 100%
I personally have not lost root with this method in over 48 hours.
Zero com.noshufou.android.su crashes.
Before Using!!
HTC Sync Must be Turned OFF
Put the Phone into Charge Mode only ( Not Disk Drive )
USB Debugging Must be Turned on
Restart your phone!
Lastly, if you're getting com.noshufou.android.su force close errors
Uninstall superuser prior to running scripts.​
If you Lose Root, all you have to do is open Terminal Emulator & type fixsu
No More Rebooting & running the exploit again for R/W on system to get Root back in place!​
Q. Is this permanent?
A. no, it's a temp root method..
Q. Will I lose SU Access at some point while running the OS?
A. You might, but open terminal and type fixsu to get root back.
Q. What about apps that need a reboot to use superuser?
A. Use Fast Reboot form the market for app that need a reboot.
Q. Can I push & remove items to system and will it work?
A. Yes, but all changes are reset on a reboot.
~~~~~~~~~
For Mac/Linux users
Once downloaded, extract vividtemproot.zip to your home/root folder.
(Typically named after your login, has a house icon in Finder's sidebar of places)
Open folder vividtemproot, double-click run_me_mac (or run_me_linux)
and thats is all!
Click here to download for Mac/Linux
(Updated 11/14 - 23:50)
~~~~~~~~~
For Windows Users
Once downloaded, extract where ever you please.
Double click _RUN_ME
and enjoy!
Click here to download for Windows
(Updated 11/14 - 23:50)​

Link for Windows is the Mac file...

CharlieMurphyIVXX said:
Link for Windows is the Mac file...
Click to expand...
Click to collapse
Thank you :]
Fixed

Looks interesting, but my method of using a bind mount from /data/local/bin to /system/xbin (apparently I could have used /vendor/bin instead) doesn't loose root after any time unless you reboot.
Bind mounts stay in memory, and aren't like symlinks that get flushed away when the system tries to re-read the filesystem, hence why I suggest using it rather than symlinks.
The bind mount eliminates the need for a 'fixsu' script at all, since there's no links that could potentially dissolve.
With that said, nice work!

thecubed said:
Looks interesting, but my method of using a bind mount from /data/local/bin to /system/xbin (apparently I could have used /vendor/bin instead) doesn't loose root after any time unless you reboot.
Bind mounts stay in memory, and aren't like symlinks that get flushed away when the system tries to re-read the filesystem, hence why I suggest using it rather than symlinks.
The bind mount eliminates the need for a 'fixsu' script at all, since there's no links that could potentially dissolve.
With that said, nice work!
Click to expand...
Click to collapse
I haven't lost root in going on ~60 hours, as as a newbie here, you definitely know far more than I do!
As you'll see in the fixsu, I redundantly copy su from /vendor/bin
to /system/xbin/ from which I hardlink (as you'd know is virtually the same as bind mounting in this case) to /system/bin
I added the fixsu, as a last resort, in case the something would dissolve, but unless someone really fudges something up, the fixsu shouldn't be needed
As my programming teacher once told me: the code doesn't need to be pretty as long as it works.
And through that philosophy I've used a lot of redundancies, that may or may not need to be there,
but they'll definitely keep anyone from having any sort of issues using the scripts!
P.S. Thank you :]

Thanks, I'll try this out and report back.
Sent from my HTC PH39100 using xda premium

It worked fine, I've got root access -- Thank you!
However, there's this error message at the end of the _RUN_ME.bat script:
"The syntax of the command is incorrect" -- please take a look at the attached image.
Thank you again for the root!

http://pastebin.com/MkGHWadW
appears to have failed for me
Drew

The device rebooted itself -- the "root" is lost

guys i cannot get this to work for me
i get thefollowing error
Congrats, zergRush worked! Moving on...
Mounting file system as writeable
Installing Busybox
2759 KB/s (777216 bytes in 0.275s)
1518+0 records in
1518+0 records out
777216 bytes transferred in 0.187 secs (4156235 bytes/sec)
Installing Superuser
1808 KB/s (22228 bytes in 0.012s)
rm failed for /system/xbin/su, No such file or directory2852 KB/s (785801 bytes in 0.269s)
All done!
Exiting...
Press any key to continue . . .

rinnycoop121 said:
guys i cannot get this to work for me
i get thefollowing error
Congrats, zergRush worked! Moving on...
Mounting file system as writeable
Installing Busybox
2759 KB/s (777216 bytes in 0.275s)
1518+0 records in
1518+0 records out
777216 bytes transferred in 0.187 secs (4156235 bytes/sec)
Installing Superuser
1808 KB/s (22228 bytes in 0.012s)
rm failed for /system/xbin/su, No such file or directory2852 KB/s (785801 bytes in 0.269s)
All done!
Exiting...
Press any key to continue . . .
Click to expand...
Click to collapse
The rm failed for /system/xbin/su, No such file or directory is not actually an error, that's my fault. In my original script, I try to remove that file in case it exists, but if it doesn't exist, it'll just do nothing. So there's no worries there!

drewdatrip said:
http://pastebin.com/MkGHWadW
appears to have failed for me
Drew
Click to expand...
Click to collapse
Tends to be what occurs when the files aren't extracted to the correct place.
You can change the opening line in the script to the direct path to the folder 'resources' and you won't have any issues.

3f62011 said:
It worked fine, I've got root access -- Thank you!
However, there's this error message at the end of the _RUN_ME.bat script:
"The syntax of the command is incorrect" -- please take a look at the attached image.
Thank you again for the root!
Click to expand...
Click to collapse
I don't own a Windows box, an had to write the Windows bat file
without giving it a test run for errors.
I'm sure I did mess up the syntax, an probably left some command that isn't windows relavent at the end of the script.
No worries, you've got root, and shouldn't loose it.

bjg222 said:
The rm failed for /system/xbin/su, No such file or directory is not actually an error, that's my fault. In my original script, I try to remove that file in case it exists, but if it doesn't exist, it'll just do nothing. So there's no worries there!
Click to expand...
Click to collapse
I tried to pipe all errors out to null, as I took a mash up of your code, my code, and and another guys code, and left a lot of "in case it exists" type of lines in the code, to make sure no one would have any issues.
Apparently I didn't pipe it all to null well enough
The mac/linux version you only see 'starting' and 'finished' haha

rpendrick said:
Tends to be what occurs when the files aren't extracted to the correct place.
You can change the opening line in the script to the direct path to the folder 'resources' and you won't have any issues.
Click to expand...
Click to collapse
I thought the same with the read out.
Your recommending to place them at the root of the user correct?
Drew
Sent from my SGH-I777 using xda premium

drewdatrip said:
I thought the same with the read out.
Your recommending to place them at the root of the user correct?
Drew
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
PM's were sent, I uploaded the wrong zip to megaupload for macs.
All is fixed now.

rpendrick said:
PM's were sent, I uploaded the wrong zip to megaupload for macs.
All is fixed now.
Click to expand...
Click to collapse
Yes, works much better with something in the folder.

Scrog said:
Yes, works much better with something in the folder.
Click to expand...
Click to collapse
Yup. Im registering root now. However Superuser is crashing and im able to use the fixsu command
Im looking into it more now
Drew
Sent from my SGH-I777 using xda premium

drewdatrip said:
Yup. Im registering root now. However Superuser is crashing and im able to use the fixsu command
Im looking into it more now
Drew
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I was able to update superuser, but titanium back up doesn't see either SD card.

drewdatrip said:
Yup. Im registering root now. However Superuser is crashing and im able to use the fixsu command
Im looking into it more now
Drew
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Superuser crashes when it is the lastest versions.
Do a google search for superuser.apk 3.0
I thought I included it in the package, but perhaps, once again in a rush
fudged that up too...

Related

Adfree on 3G slide?

Has anyone gotten Adfree android to work on the my touch slide 3G?
I either get a reboot or error about writing to hosts
Sent from my T-Mobile myTouch 3G Slide using XDA App
Faud said:
Has anyone gotten Adfree android to work on the my touch slide 3G?
I either get a reboot or error about writing to hosts
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
See this post:
http://forum.xda-developers.com/showthread.php?t=664532
Ignore the installation commands, you need to boot in to recovery and push the hosts file to /system/etc/ on the phone.
Adfree works fine. The reason it doesn't work on slide has nothing to do with the app. The hosts file goes in /system/etc/ and since we don't have r/w access to /system, the app can't do what's its supposed to do. It works great I used it the whole time I had a G1, its just cus your phone isn't PROPERLY rooted. Neither is anyone elses til we get that SPL...
Til then you gotta adb push the file thru recovery...
I dunno if you know this, but adfree temporarily d/l's the hosts file to your sdcard, then deletes it when its done. But since it couldn't replace the file on my slide, it left it on the sdcard! All you gotta do is run the app and wait for it to error out, then go get the file and put it on your pc and adb push to /system/etc...
-BMFC
Sent from my ROOTED myTouch3G Slide
bmfc187 said:
its just cus your phone isn't PROPERLY rooted. Neither is anyone elses til we get that SPL...
Click to expand...
Click to collapse
Actually, its rooted just fine (you can run anything you want as uid 0). The SPL security has nothing to do with root.
It is like saying you don't have the proper key to a door just because after you open it there is a guard standing there not letting you in to the next room.
Just being picky...
i think what he meant is that with all the other phones most of us have had we had an SPL to flash once we had done the original tweaks(or before on some phones) so as of right now i agree that the phone is not rooted properly yet as i don't have full control over the phone whenever i want, i want to be able to mv stuff to system partition from android terminal
just being picky...
could anyone please post the actual commands? im new to adb and wold really appreciate the help adfree is the entire reason i even rooted
among others but it was the number one
adb push hosts /system/etc
-BMFC
Sent from my ROOTED myTouch3G Slide
thank you so very much
Other than removing a few of the stock apps, this is one of the things I'm looking forward to rooting for, I loved it on my G1.
With all of the folks having so much trouble rooting this sucker though, I may wait awhile.
it said this
' failed to copy 'hosts' to '/system/etc': Permission denied '
and if i type su it asks for a password and if i try to run in root it says that production models wont run in root
but i rooted and have the superuser permissions apk installed and has granted me permission to other things
ParkerOviedo said:
it said this
' failed to copy 'hosts' to '/system/etc': Permission denied '
Click to expand...
Click to collapse
Were you booted in to recovery with /system mounted?
i was able to figure it out
i never tried typing su into the adb shell after i rooted
i got the prompt on my device and accepted it now i have full permissions
well it accepted the command and it pushed the host file to /system/etc but it still isnt disabling ads |:<
ParkerOviedo said:
well it accepted the command and it pushed the host file to /system/etc but it still isnt disabling ads |:<
Click to expand...
Click to collapse
same thing happened to me. but as falken mentioned before, you have to make sure the system is mounted before running the command. so..
boot into recovery.
go to 'partitions'.
select 'mount /system'.
run adb command "adb push hosts /system/etc".
reboot system.
*you might wanna might wanna be sure the comp sees the device in recovery before running the command via "adb devices". i do this before i do any adb'ing.
*be sure the hosts file is in the root of your sdk directory, otherwise your command will vary.
poetik517 said:
same thing happened to me. but as falken mentioned before, you have to make sure the system is mounted before running the command. so..
boot into recovery.
go to 'partitions'.
select 'mount /system'.
run adb command "adb push hosts /system/etc".
reboot system.
*you might wanna might wanna be sure the comp sees the device in recovery before running the command via "adb devices". i do this before i do any adb'ing.
*be sure the hosts file is in the root of your sdk directory, otherwise your command will vary.
Click to expand...
Click to collapse
All I get is "failed to copy 'hosts' to '/system/etc': Permission denied"
And yes my Phone is Rooted..
I did everything above. do I have to be in su or something...
Can you not do this on the stock rom. Do I have to flash one of the other roms to be able to push to System...
jnight666 said:
All I get is "failed to copy 'hosts' to '/system/etc': Permission denied"
And yes my Phone is Rooted..
I did everything above. do I have to be in su or something...
Can you not do this on the stock rom. Do I have to flash one of the other roms to be able to push to System...
Click to expand...
Click to collapse
You need to have flashed the engineering rom so you have a root shell in recovery.
Does the Hosts file even block ads?
droctii said:
Does the Hosts file even block ads?
Click to expand...
Click to collapse
Yup, and it makes the internet soo much faster. Adfree works fine as is if you add the rw overlay
dumfuq said:
Yup, and it makes the internet soo much faster. Adfree works fine as is if you add the rw overlay
Click to expand...
Click to collapse
BINGO! Thanks!!!

Temp root for apps required root access (for s-on IS)

Psneuter exploit is working on IS, but because /system is locked on s-on phones, we can't copy su and superuser.apk into /system, apps required root access can't work.
The following procedure uses psenuter exploit to gain adb shell root, and then copy su (without privilege control ) and busybox into /sbin (which is on rootfs and in the global PATH list) to gain root access for apps.
The procedure:
1. Unzip the attached .zip into a directory (like c:\adb)
2. Open a command prompt and cd to the directory where you extracted the .zip (like cd \adb)
3. run pushroot.bat (simply type pushroot)
4. adb shell /data/local/tmp/getroot
5. adb shell
6. you are now in # prompt. Type /data/local/tmp/pushroot
You have to redo steps 4,5,6 once you reboot your phone.
The procedure will have all apps gaining root access.
!!USE ON YOUR OWN RISK!!
Known working programs: Root explorer, Titanium backup, gscript lite, trasproxy 2.04, ...
Some apps check existence of su in /system/xbin , and reject to proceed if the su binary is not exist (like transproxy 3.08). For this kind of apps, this procedure won't help.
Nice but old news mate...
Sent from my HTC Incredible S using XDA Premium App
Good job...thanks
Thanks for writing this up, might quell the thirst for S-OFF a little longer
/system/ is writeable btw, if you remount it, but after reboot everything u done will be changed to the way it were before.
so a temp root in xbin is possible also, only it will be gone afterwards (atleast i never tried this, but should work also...)
Yes. /system could be remount in rw with root. However, the files you wrote will be gone after you remount ro, and then you won't be able to copy the same filename into the same location again before next reboot ( I don't know why, actually!!). This is why I put su in sbin instead of /system/xbin.
thanks to your files 非常感谢你的工作。
Does anyone know whether steps 4, 5 and 6 can be run from the device itself?
Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?
faf said:
Does anyone know whether steps 4, 5 and 6 can be run from the device itself?
Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?
Click to expand...
Click to collapse
I believe you can do it from a terminal emulator but haven't got the chance to try it myself though.
Sent from my HTC Incredible S using Tapatalk
pushroot error
c:/adb>adb shell ln /data/local/tem/busybox /data/local/tmp/cp
Link failed File exists
and
c:/adb>adb shell /data/local/tmp/getroot
mmap<> failed. operation not permitted
Why??THX....
itandy said:
I believe you can do it from a terminal emulator but haven't got the chance to try it myself though.
Sent from my HTC Incredible S using Tapatalk
Click to expand...
Click to collapse
Definitely, this is the way to go.
Unfortunately, the root exploit I know could run on device itself, including
rageagainstthecage (ratc) and local root exploit (hotplug) both failed on IS.
The solution will be nearly perfect if we can get temp root on IS without a computer link.
Any input will be welcome.
sky1212 said:
pushroot error
c:/adb>adb shell ln /data/local/tem/busybox /data/local/tmp/cp
Link failed File exists
and
c:/adb>adb shell /data/local/tmp/getroot
mmap<> failed. operation not permitted
Why??THX....
Click to expand...
Click to collapse
Please then type adb shell.
If you see # but not $, do
cd /data/local/tmp
rm ./cp
ln busybox cp
./pushroot
Then you finished the install.
If you see $, please do all over again.
You can also add ShootMe (screen capture app) and SetCPU to the list of working apps. SetCPU will only allow you underclock for now due to the kernel, but it is a nice touch if you are worried about battery life. Adfree doesn't appear to work
l0st.prophet said:
You can also add ShootMe (screen capture app) and SetCPU to the list of working apps. SetCPU will only allow you underclock for now due to the kernel, but it is a nice touch if you are worried about battery life. Adfree doesn't appear to work
Click to expand...
Click to collapse
Adfree is working for me. Are you getting some type of error message?
MetaMorph, screenshot and MyBackup Root are also working.
I had to mount system, then push su to /system/xbin. Then install BusyBox Installer from Market.
No erro, still got the ads. I've tried rebooting & rerooting, still no luck
l0st.prophet said:
No erro, still got the ads. I've tried rebooting & rerooting, still no luck
Click to expand...
Click to collapse
What site/app are you going to so I can see if I get the ads.
the anti-ads actually tries to modify the current host file... which is not allowed in your state as far as i know
what you can do is replace it by pushin it to the right spot
but after reboot gone,but sure u know
Adfee is working for me, you can also add Droidwall.
@eddycyf, did you test adfree with apps? Since it aint working for prophet...
Sent from my HTC Incredible S using XDA Premium App
Mhm AdFree isnt working for me. The App states that everything is okay, and that my hosts file is up to date, but I see ads everywhere.
But I am kinda happy now, because i can use Titanium Backup

[Q] Can't Install CWM Recovery

Hello All,
I have been in and out of every Dev and General forum about installing the CWM on Z8. Unfortunately I have yet to find a solid solution to the below errors when using MTM's ZV8CWMRecovery bat. I would be posting in related thread on the dev site, but I don't have enough posts to post in there. So far I have seen multiple users with this problem:
Recovery for ZV8
Press any key to continue . . .
* daemon not running. starting it now *
* daemon started successfully *
Device found
Mounting Device
remount failed: Operation not permitted
Pushing Recovery
5152 KB/s (5345280 bytes in 1.013s)
Installing CWM Recovery
/dev/block/mmcblk0p14: cannot open for write: Permission denied
Remove Trash
rm failed for /system/etc/install-recovery.sh, Read-only file system
rm failed for /system/recovery-from-boot.p, Read-only file system
rm failed for /data/local.prop, No such file or directory
CWM Recovery!!!
Press any key to continue . . .
I have only seen a couple answers to this that actually address the error messages. One being to manually copy the local.prop into the data folder. I have tried taking the local.prop file and moving it to /data but when I do I get the error message on my phone saying java.io.filenotfoundexception:/data/local.prop (permission denied).
I feel that this has something to do with Superuser mainly because when I have tried to use other methods like using quick boot or Rom Manager to boot into recovery, I get messages saying that Super User has denied access.
1) Is anyone else having similar Super User problems when they get the CWM installation error above?
2) Can anyone think of a correlation bewtween the super User error and the CWM installation errors?
3) Can anyone give any usefull insight into what these mean?
rm failed for /system/etc/install-recovery.sh, Read-only file system
rm failed for /system/recovery-from-boot.p, Read-only file system
rm failed for /data/local.prop, No such file or directory
Any support is much appreciated.
im having same problem
williep said:
im having same problem
Click to expand...
Click to collapse
I am going to try the suggestion in this thread right now.
http://forum.xda-developers.com/showthread.php?t=1594369
I will let you know.
OK, I have decided that my main problem right now is that SuperUser is denying access to every program that could help me (Quick boot, Rom Manager, Terminal emulator). Every time I try and run any of those I get a message saying it was blocked by SU. I have set SU to allow all requests, yet it still Denies access?
Anyone with Ideas on how to stop this without starting from scratch?
Plumbert said:
OK, I have decided that my main problem right now is that SuperUser is denying access to every program that could help me (Quick boot, Rom Manager, Terminal emulator). Every time I try and run any of those I get a message saying it was blocked by SU. I have set SU to allow all requests, yet it still Denies access?
Anyone with Ideas on how to stop this without starting from scratch?
Click to expand...
Click to collapse
Sounds like the phone did not root properly. I had that problem before where i had superuser but no root access to anything. My solution was starting over from scratch, im not sure how to do it w/o starting over. If you have everything on the computer already then starting over should only take 15 mins or so. For me thats how long it took after i had all downloads and installs in place
Sent from my VS910 4G using xda premium
jimmyhawk said:
Sounds like the phone did not root properly. I had that problem before where i had superuser but no root access to anything. My solution was starting over from scratch, im not sure how to do it w/o starting over. If you have everything on the computer already then starting over should only take 15 mins or so. For me thats how long it took after i had all downloads and installs in place
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
Thanks for the info. I did end up starting from scratch and the superuser thing was definitely a root problem. However, I still have one problem preventing me from the upgrade which is that every time I try to copy any file to the /data folder i get the java.io.filenotfoundexception:/data/local.prop (permission denied) that I mentioned above... I cannot figure out what permissions I need to change or how
Plumbert said:
Thanks for the info. I did end up starting from scratch and the superuser thing was definitely a root problem. However, I still have one problem preventing me from the upgrade which is that every time I try to copy any file to the /data folder i get the java.io.filenotfoundexception:/data/local.prop (permission denied) that I mentioned above... I cannot figure out what permissions I need to change or how
Click to expand...
Click to collapse
Sorry i am unfamiliar with that one
Sent from my VS910 4G using xda premium
Plumbert said:
Thanks for the info. I did end up starting from scratch and the superuser thing was definitely a root problem. However, I still have one problem preventing me from the upgrade which is that every time I try to copy any file to the /data folder i get the java.io.filenotfoundexception:/data/local.prop (permission denied) that I mentioned above... I cannot figure out what permissions I need to change or how
Click to expand...
Click to collapse
Give this a shot:
http://forum.xda-developers.com/showthread.php?t=1594369
I was getting the same errors. If you choose option two in the .bat it will reboot you to cwm.
Sent from my VS910 4G using Tapatalk 2
Never had to do anything with the local.prop file
Sent from my VS910 4G using Tapatalk 2
MacK1ll3r said:
Never had to do anything with the local.prop file
Sent from my VS910 4G using Tapatalk 2
Click to expand...
Click to collapse
I am having this problem also, but only on my new revo (came with Zv8 my old one that came with Zv4 that is stuck in test mode worked flawlessley with MT's AIO root&Recovery App, The new one worked once i flashed TOT back to zv7 then kept root through to Zv8 but then it wouldnt install CWM or anything for that matter, All of MT's .Bats dont work no matter how many times i flash or hard reset i think something is in new software, be it LG verizon or SuperUser i dont know, but are all you people having trouble having it on Newer Phones?

Droid 4 "root checker" from Verizon/Motorola?

I noticed this morning that there were repeated messages stating that "shell is requesting/granted superuser permissions". After rebooting my phone, nothing looked different. Then I read an article online on phandroid (unable to post links currently.) that mentioned a "rootchecker". I confirmed what I found after going into recovery "q/e 1/1" on my phone. Sorry about the noob type question here. Has anyone come up with a counter reset for this? Or are we more or less due to the locked bootloader?
So far no way to reset the counter has been found. The best you can do is unroot and get a 0/1, but that's practically pointless. I'll let you know if things change.
Sent from my DROID4 using Tapatalk 2
The Magician Type 0 said:
So far no way to reset the counter has been found. The best you can do is unroot and get a 0/1, but that's practically pointless. I'll let you know if things change.
Sent from my DROID4 using Tapatalk 2
Click to expand...
Click to collapse
Has anyone try to format the entire phone, and then fast boot back?
Someone mentioned trying that, but I never heard the results.
Sent from my DROID4 using Tapatalk 2
Pretty sure the two things you saw are unrelated. The repeated superuser requests come from /system/bin/dumpstate. It was doing that on my phone too but I just manually killed it and that stopped. For qe you need to remove qe from the boot partition, some of the custom roms here have removed it already.
Sent from my DROID4 using Tapatalk
Fastbooting back to stock will show qe 0/1, tried it yesterday on my spare D4
Sent from my DROID4 using Tapatalk 2
jsnweitzel said:
Fastbooting back to stock will show qe 0/1, tried it yesterday on my spare D4
Sent from my DROID4 using Tapatalk 2
Click to expand...
Click to collapse
It's almost like Motorola has us all figured out! This and the unrootable Atrix HD... I think we just have to get better. I'm sure there is a root check somewhere in nvram or something
Sent from my Nexus 7 using Tapatalk 2
jsnweitzel said:
Fastbooting back to stock will show qe 0/1, tried it yesterday on my spare D4
Sent from my DROID4 using Tapatalk 2
Click to expand...
Click to collapse
Whoa. I mean, it probably just writes a value somewhere we can't touch (yet?), but still.
repeated shell auto-granted permissions
fade_to_red said:
I noticed this morning that there were repeated messages stating that "shell is requesting/granted superuser permissions". After rebooting my phone, nothing looked different. Then I read an article online on phandroid (unable to post links currently.) that mentioned a "rootchecker". I confirmed what I found after going into recovery "q/e 1/1" on my phone. Sorry about the noob type question here. Has anyone come up with a counter reset for this? Or are we more or less due to the locked bootloader?
Click to expand...
Click to collapse
highlandsun said:
Pretty sure the two things you saw are unrelated. The repeated superuser requests come from /system/bin/dumpstate. It was doing that on my phone too but I just manually killed it and that stopped. For qe you need to remove qe from the boot partition, some of the custom roms here have removed it already.
Sent from my DROID4 using Tapatalk
Click to expand...
Click to collapse
I too have the repeated shell granted superuser permissions.
Its been so annoying, that I've just kept it temp-unrooted until i need root.
You say that it comes from "/system/bin/dumpstate", how do i go about fixing this?
Note: I rooted my phone with the D4 ICS tool. I had been thinking that the problem was with that - maybe it didn't clean up properly after rooting. Now I know that wasn't it.
EDIT: Found out how:
aidfarh said:
I've written this in another thread, so I figure I'll just repost this here for everyone's reference.
There's a workaround for this problem. Just remove the execute permission from /system/bin/dumpstate so the error log is not generated. There's a few ways you can do this:
Using ADB. Just type in the computer command prompt with the phone connected via USB. Of course, you need USB debugging enabled and have the android SDK installed on the computer.
Code:
adb shell chmod a-x /system/bin/dumpstate
Using Terminal Emulator on the phone. Just type the following commands:
Code:
$ su
# chmod a-x /system/bin/dumpstate
Using a root enabled file explorer on the phone such as Root Explorer or ES File Explorer. Browse to /system/bin/, find dumpstate, tap-hold to open the properties and remove all the Execute permissions.
Click to expand...
Click to collapse
Morlok8k said:
I too have the repeated shell granted superuser permissions.
Its been so annoying, that I've just kept it temp-unrooted until i need root.
You say that it comes from "/system/bin/dumpstate", how do i go about fixing this?
Note: I rooted my phone with the D4 ICS tool. I had been thinking that the problem was with that - maybe it didn't clean up properly after rooting. Now I know that wasn't it.
EDIT: Found out how:
Click to expand...
Click to collapse
After doing this, here is what i did in a terminal emulator:
Code:
su
mount -o remount,rw /system
chmod 644 /system/bin/dumpstate
i had to do the "644" instead of "a-x" because i kept getting an error message "Bad mode 10|"
When I entered "chmod a-x /sys/bin/dumpstate", it returned "Bad mode". So I too tried
"chmod 644 /sys/bin/dumpstate" in the adb shell. It returned "No such file or directory". Has something changed from when the instructions in this thread were posted? Or am I doing something wrong.
No such file??
When I entered "chmod a-x /sys/bin/dumpstate", it returned "Bad mode". So I too tried
"chmod 644 /sys/bin/dumpstate" in the adb shell. It returned "No such file or directory". Has something changed from when the instructions in this thread were posted? Or am I doing something wrong.
No such file???
When I entered "chmod a-x /sys/bin/dumpstate", it returned "Bad mode". So I too tried
"chmod 644 /sys/bin/dumpstate" in the adb shell. It returned "No such file or directory". Has something changed from when the instructions in this thread were posted? Or am I doing something wrong.
It's /system/bin/dumpstate not /sys/bin/dumpstate
removing execute permissions does not do anything.
Should I or shouldn't I?
Got my new D4 some 2 months back, unrooted.
Was planning to root it. Now going through this thread, brings me to a question "Should I or shouldn't I?"
supraket said:
Got my new D4 some 2 months back, unrooted.
Was planning to root it. Now going through this thread, brings me to a question "Should I or shouldn't I?"
Click to expand...
Click to collapse
I say.....
You should:
unlock tether, free apps, better phone, harder to replace if something goes wrong (worth it to me)
You shouldn't:
warranty risk, stock performance, easy replacement
je2854 said:
removing execute permissions does not do anything.
Click to expand...
Click to collapse
I haven't personally tried this, but is this executable required for anything else?
Why not rename it and leave a dummy script in it's place?
intellitek said:
I haven't personally tried this, but is this executable required for anything else?
Why not rename it and leave a dummy script in it's place?
Click to expand...
Click to collapse
I think it would still try to read it (the coding) seeing it is coming from Moto themselves... IDK though.
the file is meant for QE warranty purposes
je2854 said:
I think it would still try to read it (the coding) seeing it is coming from Moto themselves... IDK though.
the file is meant for QE warranty purposes
Click to expand...
Click to collapse
Okay, well, let's say, hypothetically-speaking, somebody was willing to experiment with this.
When exactly does this "rootchecker" run? I guess I'd need to rename/replace it before it runs, but after I've rooted. Or somehow before, although I believe that's currently not possible. I'll try and see if the bin is signed.. not sure how to check if it's actually verifying it on exec, though, without rooting.
EDIT: Nevermind, it looks like it's built into the boot and recovery .img files?

[DISCUSSION]Hotspot Mod with tutorial on adding Hotspot toggle

This is the place to discuss all things Hotspot Mod. Problems, confirmation of it working etc...
Please keep the dev section clean.
The HotspotMod Thread is http://forum.xda-developers.com/showthread.php?t=2256950
Below is a tutorial on how to add the WiFiHotspot button to the notification panel using the free sqlite Database Editor
Thanks to DJSmoove for his find and to wicked for his original work located here http://www.galaxys4forums.net/forum...d-add-wifi-toggle-your-verizon-galaxy-s4.html.
sqlite Database Editor Instructions
How To Add WiFiHotspot To The Notification Panel
Missing Hotspot Option In Settings
Those of you that have the Hotspot option missing in settings, use the instructions for adding the toggle. Only this time you are going to choose the secure table instead of system. Select * for everything or chameleon_tethereddata. If the value for chameleon_tethereddata is not 3 change it to 3. Reboot the phone and see if Hotspot is showing up now in settings.
If you can't edit the database on 4.3
If you can't edit the database on 4.3 download, install and run the TB Restore Fixer from playstore.
http://forum.xda-developers.com/attachment.php?attachmentid=2381599&d=1384013849
Works great on 3g and 4g for me. Actually tethering with it now.
Just pulled the two files out and pushed them manually to the system/framework folder.
qbking77 said:
Works great on 3g and 4g for me. Actually tethering with it now.
Just pulled the two files out and pushed them manually to the system/framework folder.
Click to expand...
Click to collapse
Thank you sir. Good to see you around.
The only thing I miss about my E4GT is 4g tethering. Since Cleveland will be WiMax only for a while that means my tethering for me. 3g sucks here also.
Sent from my SPH-L720 using xda premium
I am rooted. I do not have a custom recovery though. Can I flash through stock recovery? If not, where is a working custom recovery? I have read mixed reviews on them at this point.
The alpha cwm recovery works fine just is tricky to navigate.
There is an adb version but you really need to be comfortable using cwm anyway in case something goes wrong.
Has anyone tried it with Foxfi?
I am pretty comfortable but I was hoping I could skip it all together and flash through stock. Possible?
Sent from my SPH-L720 using xda app-developers app
tyler1037 said:
I am pretty comfortable but I was hoping I could skip it all together and flash through stock. Possible?
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Not with stock recovery. If you want to ask crawrj for the adb version that would be the only way currently.
Ok. Thank you!
Sent from my SPH-L720 using xda app-developers app
Is there functionally any difference between the hotspot mod and the treve tether mod? Or do they function the same, just see what you like better? I am on rooted gb27 with comadose tweaks. Whoops, just noticed I was in the s4 section, I am on the sprint s2.
Sent from my SPH-D710 using xda app-developers app
qbking77 said:
Works great on 3g and 4g for me. Actually tethering with it now.
Just pulled the two files out and pushed them manually to the system/framework folder.
Click to expand...
Click to collapse
Thanks for the idea! Working great for me on 4g! Thanks crawrj!
See signature for results!
Can anyone give a detailed way on how to unlock the hotspot for 3g 4g?
Sortilege said:
Can anyone give a detailed way on how to unlock the hotspot for 3g 4g?
Click to expand...
Click to collapse
There are instructions in the Hotspot Mod download section. There are two options, one with custom recovery and one without. To use the one with custom recovery you need to download the custom recovery tar and flash it with Odin. Then follow the instructions to install. The other option already has detailed instructions.
Do you have a specific question that you need help with?
So does the Wireless Tether app not work with the S4?
enos said:
So does the Wireless Tether app not work with the S4?
Click to expand...
Click to collapse
Not sure. I always use the native hotspot. I find that it is faster and more reliable. I am also really anal and like to use the native options if at all possible.
help please?
lafester said:
Not with stock recovery. If you want to ask crawrj for the adb version that would be the only way currently.
Click to expand...
Click to collapse
Would it be possible for me to obtain the adb version? I have tried to no avail to install this mod. I desperately seek wifi tethering on my new S4.
jarnkar said:
Would it be possible for me to obtain the adb version? I have tried to no avail to install this mod. I desperately seek wifi tethering on my new S4.
Click to expand...
Click to collapse
Yeah it is in post two of the mod thread.
Ok, I thought it worked until I read "read-only filesystem":
Code:
C:\Chris\HotspotMod>installer.bat
Mounting system
mount: Operation not permitted
Check the phone and accept the RSA request
adb shell
Press any key to continue . . .
Backing up files
76 KB/s (313 bytes in 0.004s)
5928 KB/s (5312208 bytes in 0.875s)
Installing GS4 Hotspod Mod
failed to copy 'services.jar' to '/system/framework/services.jar': Read-only fil
e system
failed to copy 'services.odex' to '/system/framework/services.odex': Read-only f
ile system
Installation complete
Rebooting Phone
I ran it from CMD & tried running the bat. Running the bat directly never prompted me with the RSA. Running it from CMD, it did everything, include pulling the stock files as backup, even reboot the phone.
I've tried several different times, but couldn't get the RSA prompt.
EDIT: Still no prompt, but running it from the bat by double clicking the bat did reboot the phone this time. Othertimes it did not after hitting any key. I'm not sure it's related, but I can USB tether. I disabled my NIC & was still routing via my phone. Even verified the IP was not what my router DHCP is configured for.
LAYGO said:
Ok, I thought it worked until I read "read-only filesystem":
Code:
C:\Chris\HotspotMod>installer.bat
Mounting system
mount: Operation not permitted
Check the phone and accept the RSA request
adb shell
Press any key to continue . . .
Backing up files
76 KB/s (313 bytes in 0.004s)
5928 KB/s (5312208 bytes in 0.875s)
Installing GS4 Hotspod Mod
failed to copy 'services.jar' to '/system/framework/services.jar': Read-only fil
e system
failed to copy 'services.odex' to '/system/framework/services.odex': Read-only f
ile system
Installation complete
Rebooting Phone
I ran it from CMD & tried running the bat. Running the bat directly never prompted me with the RSA. Running it from CMD, it did everything, include pulling the stock files as backup, even reboot the phone.
I've tried several different times, but couldn't get the RSA prompt.
EDIT: Still no prompt, but running it from the bat by double clicking the bat did reboot the phone this time. Othertimes it did not after hitting any key. I'm not sure it's related, but I can USB tether. I disabled my NIC & was still routing via my phone. Even verified the IP was not what my router DHCP is configured for.
Click to expand...
Click to collapse
Operation not permitted means that you don't have adb insecure installed or setup.

Categories

Resources