info below pasted from source:
http://forum.androidspin.com/showth...e-Dissappearing-SU-Binary..?p=22493#post22493
Thanks goes to #TeamWin for Temp Root!!!
Everyone knows that currently with any temp root, you still lose links to the SU Binary & Busybox links, it's just a matter of time before it happens!!
So after digging around somewhat I found an over sight that HTC might use later for system updates via /vendor/bin, who knows at this point though... Anyways, after amount of time the SU Binary along with busybox links if be in system/bin or /system/xbin gets deleted / removed..
Now, what I did was enable the $Path to /vendor/bin which is in the Sensation export PATH..
Any Calls made from this point either be SU or Busybox don't get deleted nor touched from any App requesting the SU Binary!! I've tested this with alot of apps & the Root sticks in place..
Other than Reboot, it might as well be a Perma-Temp-Root!!
This is For Windows only, if you wish to make it work for linux or mac help your self...
If you have trouble with the Superuser.apk, uninstall first & reboot then run the .bat file again..
What is installed?
Busybox w/ symlinks
Superuser.apk
SU Binary
Fre3vo
sqlite3
What's Removed?
slackerradio.apk
TMOUS_Navigator.apk
Transfer-pyramid-8.30.0.26-S30.apk
Protips.apk
IdleScreen_Stock.apk
HtcTipWidget.apk
com.htc.TrendsWidget.apk
com.mobitv.client.tmobiletvhd.apk
FusionStockWidget.apk
Stock.apk
So without further ado, the link!
http://www.multiupload.com/LBEYIFVD58
Once Downloaded, Unzip & double click on the Run_ME_fre3vo_Root.bat File & Enjoy long lasting Root!
Last edited by Eugene373; Today at 12:51 AM.
Used and it works like a charm..
Thanks! It works nicely.
Eugene is a great dev...I hope like hell he has less trouble from people in the Sensation group then he had in the Vibrant forums.
Awesome ! Thank you ! Will try in the AM
Great job posting this. I'll definately try this on my sensation. Post this in the evo 3d section as well.
Man freedom might come even sooner now that eugene might be working on it maybe teamwin and eugene should help each other get s-off alot faster that would be awesome!
Works great. I originally grabbed it when he posted on twitter. I actually forgot to remove SU prior to trying the first time and it failed, but after removing SU it worked like a charm.
so i was gettign issues, but i will try to run without su installed
still getting errors mounting and such
RANDYRKELLY said:
still getting errors mounting and such
Click to expand...
Click to collapse
Reboot your Phone before Running. worse case, do a Factory reset to clean out the old temp root files.
Great finding! And working perfect! Thanks a million!
vlad48 said:
Great finding! And working perfect! Thanks a million!
Click to expand...
Click to collapse
more than welcome.
eugene373 said:
Reboot your Phone before Running. worse case, do a Factory reset to clean out the old temp root files.
Click to expand...
Click to collapse
silly me i forgot i had to temp root first. noob moment carry on haha. gots to be more careful. everything works now, nomore bs apps woot. I recommend the op say something about needing to be temp rooted first. slow people like me forgets. Also will this stick after boot? I know may be a dumb question but hay better safe then sorry
eugene373 said:
more than welcome.
Click to expand...
Click to collapse
Really great job, going to try this tomorrow and report any problems I encounter if any. Thanks!
Sent from my HTC Sensation 4G using Tapatalk
RANDYRKELLY said:
silly me i forgot i had to temp root first. noob moment carry on haha. gots to be more careful. everything works now, nomore bs apps woot. I recommend the op say something about needing to be temp rooted first. slow people like me forgets. Also will this stick after boot? I know may be a dumb question but hay better safe then sorry
Click to expand...
Click to collapse
No it's still a Temp Root, It just works unlike the others... I would be happy to see other put the Fix into there scripts though....
but yeah, a Reboot is a Must before running..
~Eugene
eugene373 said:
No it's still a Temp Root, It just works unlike the others... I would be happy to see other put the Fix into there scripts though....
but yeah, a Reboot is a Must before running..
~Eugene
Click to expand...
Click to collapse
awww ok so tell me this have u gotten root apps to work?
RANDYRKELLY said:
awww ok so tell me this have u gotten root apps to work?
Click to expand...
Click to collapse
all my Root apps work...
I know this is a sensation forum, but it seems like most of these root methods are interchangeable between the EVO 3d and Sensation. Will this work on the Evo 3d, or would something need to be modified? Thanks for all the work.
Sent from my PG86100 using XDA App
k2buckley said:
I know this is a sensation forum, but it seems like most of these root methods are interchangeable between the EVO 3d and Sensation. Will this work on the Evo 3d, or would something need to be modified? Thanks for all the work.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
If you have an evo 3d...
adb shell ( enter )
echo $PATH ( enter )
if vendor/bin is in the output path, then yes this will work on the evo 3d, if not... then no it wont work.
Related
It seems that quite often after an upgrade (especially when using Apps2SD), Android rebuilds the /data/system/packages.xml file because it thinks you have reinstalled all of your apps. This results in missing apps, force closes, etc, because UIDs have changed and they don't match whats in your /data/data directory. It's almost always fixed by a wipe, but screw that
Download this file: http://n0rp.chemlab.org/android/fix_permissions.sh
Push it to your sdcard, su, and run "sh /sdcard/fix_permissions.sh" and reboot. You should be good to go with NO WIPE!
Credit goes to this guy, I simply ported it to shell code: http://blog.elsdoerfer.name/2009/05/25/android-fix-package-uid-mismatches/
UPDATED: Now works with protected apps.
anddep said:
so when installed.. i dont have to wipe for a new build?
Click to expand...
Click to collapse
Well, there are some other factors, like app data that is stored in the same place but in a different format. You'd likely run into this going back and forth from an HTC based build like Hero or Sapphire and an Android based build like mine, Dude's, or JF's. I can't fix that situation, YMMV.
Except for that special case, this should do the trick.
I hope I don't sound like a complete idiot. Do you do this before or after the update and will this work with any update (like moving from ION to Rogers?
al74 said:
I hope I don't sound like a complete idiot. Do you do this before or after the update and will this work with any update (like moving from ION to Rogers?
Click to expand...
Click to collapse
second that about will it work on any update?
Powermaniac said:
You don't sound like an idiot. That's actually a good question. I'd say before, but I'm curious as well.
Click to expand...
Click to collapse
You would have to do it after the update, and reboot.
Bravo!!!
@Cyanogen: YOU **ARE** THE MAN! Woot!
Now I'm not so hesitant to test out new roms! Thanks cyan
so when installed.. i dont have to wipe for a new build?
damn your good..
Thank you very much
Out of curiousity, is it even possible to implement this into ROM Builds? it would seem simple enough. however I haven't built my own ROM so I'm going off of what I know from programming. ask the guy who created it if you can use his work. lol you're the man, as always.
ok i may of did something wrong but i couldnt get it to work. i used the terminal emulator on the phone and typed the command and it says
mount: permission denied (are you root?)
it continued to do the script but said not permitted for each app.
i definately have root as i just installed your latest rom so what am i doing wrong?
Did you SU first?
Woodard2589 said:
ok i may of did something wrong but i couldnt get it to work. i used the terminal emulator on the phone and typed the command and it says
mount: permission denied (are you root?)
it continued to do the script but said not permitted for each app.
i definately have root as i just installed your latest rom so what am i doing wrong?
Click to expand...
Click to collapse
Denkai said:
Out of curiousity, is it even possible to implement this into ROM Builds? it would seem simple enough. however I haven't built my own ROM so I'm going off of what I know from programming. ask the guy who created it if you can use his work. lol you're the man, as always.
Click to expand...
Click to collapse
Yeah, it should be possible. The script is a little slow, though, so it would need a way of detecting an upgrade in the first place, and it would have to run after all the apks are processed.
g2crx said:
Did you SU first?
Click to expand...
Click to collapse
sure didnt. thanks.
so may I ask... if I wanna go from Haykuro's Hero to JAC's 1.4... all I would have to do is... flash the new ROM and then run your script and I'm done?
That is the idea, yes.
Ran script and flashed from dude's to your build without wipe. I'm getting force closes on
android.process.acore
klaxon
weather widget free
I'm using marcus apps2sd.
Edit nevermind I'm a retard. Figured it out.
amazing, doing this after upgrading from 3.3.6 to 3.3.8 fixed all my issues so far! thank you sir!!
Ryanmo5 said:
Ran script and flashed from dude's to your build without wipe. I'm getting force closes on
android.process.acore
klaxon
weather widget free
I'm using marcus apps2sd.
Click to expand...
Click to collapse
You ran the script first, before the flash? I believe the script is to be run after the flash. Try that and see what happens.
ok managed to add a ramhack boot.img to eclair from WGBuild102-CFS-RHack
no issues noticed yet, simply download the boot.img from:
http://drop.io/eclairamhack
adb flash_image boot /sdcard/boot.img
adb shell reboot
Optionally you can do this all from within your G1/MT3G through terminal emulator after you download the boot.img
Enjoy 10mb more ram & a nice speed increase
d e f c o n
Known Bugs:
Kills Bluetooth(I dont use it so I dont care)
terminal won't work for me on mytouch, Tried to download terminal and better terminal, but it won't download or FC's got any suggestions? I'm on Manup's Rom.
kaizasoshi said:
terminal won't work for me on mytouch, Tried to download terminal and better terminal, but it won't download or FC's got any suggestions? I'm on Manup's Rom.
Click to expand...
Click to collapse
use adb
.....
CONFIRMED this works perfect and increases speed indeed!
thanks
using MT3G
Thanks, works great on G1 with manup's v1.3
Confirmed working on manup's 1.3. Just to update instructions a little.
adb shell
flash_image boot /sdcard/boot.img
reboot
If you get some I/O error the first time round, dont panic. Simply run flash_image boot /sdcard/boot.img again and reboot. I am getting 50mb free from TaskPanel. Good job!
Works like the othe ram hacks but kills bluetooth like the others as well
not for nuthin but.. was it really necessary to post a whole new thread for this??.. I've had this working a while ago..... and it's not really somethin so hard to do..
so anyways, my findings on these boot.img's are:
Bfs= slower
cfs= faster/snappier
i always go with cfs on eclair, its proved to be alot snappier and responsive than bfs has
jroid said:
not for nuthin but.. was it really necessary to post a whole new thread for this??.. I've had this working a while ago..... and it's not really somethin so hard to do..
so anyways, my findings on these boot.img's are:
Bfs= slower
cfs= faster/snappier
i always go with cfs on eclair, its proved to be alot snappier and responsive than bfs has
Click to expand...
Click to collapse
Is bluetooth working on your eclair with the hack?
jroid said:
not for nuthin but.. was it really necessary to post a whole new thread for this??.. I've had this working a while ago..... and it's not really somethin so hard to do..
so anyways, my findings on these boot.img's are:
Bfs= slower
cfs= faster/snappier
i always go with cfs on eclair, its proved to be alot snappier and responsive than bfs has
Click to expand...
Click to collapse
You knew this a while ago and kept it to yourself? Not cool man.
Thanks defconoi, it works great.
I thought everyone knew as well, I've been using the ram hacks since manup's first eclair release. Sorry I guess but its posted in that thread that it works.
what are the commands for terminal? thanks
djunio said:
I thought everyone knew as well, I've been using the ram hacks since manup's first eclair release. Sorry I guess but its posted in that thread that it works.
Click to expand...
Click to collapse
same here man. I figured everyone knew, since ppl mentioned adding it in manups eclair thread already.
djunio said:
Is bluetooth working on your eclair with the hack?
Click to expand...
Click to collapse
don't really use bt so don't know
hoshmosh said:
what are the commands for terminal? Thanks
Click to expand...
Click to collapse
su
flash_image boot/sdcard/boot.img
jroid said:
don't really use bt so don't know
Click to expand...
Click to collapse
Yea, it wont even turn on for me and a few other people, um sure it doesnt work for everyone. Bout 2 look into this in a few.
djunio said:
I thought everyone knew as well, I've been using the ram hacks since manup's first eclair release. Sorry I guess but its posted in that thread that it works.
Click to expand...
Click to collapse
Been using Hack since 1.2 on my G1, but on my mytouch I cant get terminal to work. I tried setting up ADB but cant seem to install correctly on my PC. Gonna try installing Droid Explorer.
Any other suggestions will be much appreciated!!
will any hack in daproy's thread work??
kaizasoshi said:
Been using Hack since 1.2 on my G1, but on my mytouch I cant get terminal to work. I tried setting up ADB but cant seem to install correctly on my PC. Gonna try installing Droid Explorer.
Any other suggestions will be much appreciated!!
Click to expand...
Click to collapse
Terminal is under dev tools, if that doesnt work since u have an all touch screen phone download better terminal or any terminal with a soft keyboard option. Droid Explorer should work but 9 times out of 10, Droid Explorer is messing up your adb.
kaizasoshi said:
Been using Hack since 1.2 on my G1, but on my mytouch I cant get terminal to work. I tried setting up ADB but cant seem to install correctly on my PC. Gonna try installing Droid Explorer.
Any other suggestions will be much appreciated!!
Click to expand...
Click to collapse
Try checking out the unlockr, he has a step by step guide in setting up android sdk.
Thanks defconoi, been looking for 10mb hack for manups eclair, works like a charm!!
This is the latest Sprint Rom based on the latest RUU leak with A2SD support (I used Darktremor A2SD 2.7 since it was easy to add it).
I have verified that A2SD is working as I downloaded and installed a couple of programs from the market. The programs are being stored in /system/sd/app.
Here's the link: http://www.darktremor.info/files/2.1/2.1-ruu-a2sd-signed.ziphttp://www.darktremor.info/files/2.1/sprintstock-21-a2sd-b-signed.zip
This one now has adb rooted (thanks to nfinitefx45 for his assistance) and does flash (heard complaints on the symlink issue...never sure what causes that, but ended up starting over and porting the files from the previous build).
This is for those people who want to keep with the stock installation but want the addition of A2SD. If you want a customized look, faster performance and A2SD support, I suggest a custom rom. Fresh 2.1.2 or FreshToast is a good one to use.
Note: It will not affect recovery.
Enjoy and I'll answer any questions you may have (if I can answer them).
did you manually edit the init.rc? and you should mention that this is a ROM, not an RUU
tkirton said:
This is the latest Sprint RUU leak with A2SD support (I used Darktremor A2SD 2.7 since it was easy to add it).
This is definitely an RUU as when I go into adb shell, I get the dollar sign as a prompt rather than the pound sign...I'm pretty certain it is not rooted.
.
Click to expand...
Click to collapse
<<<snip>>>
This makes no sense at all.
Good point about the Rom vs RUU. Edited to correct.
As for the init.rc. Mainly it was init.rc edit.
regaw_leinad said:
did you manually edit the init.rc? and you should mention that this is a ROM, not an RUU
Click to expand...
Click to collapse
Don't look at me...that's what I'm getting. Doesn't make much sense to me, either. I just know if I do adb shell, I don't have root access. But A2SD works fine.
I went ahead and released it since the goal was to get A2SD working...and I did that. Everything else is for a Rom developer.
wctom said:
<<<snip>>>
This makes no sense at all.
Click to expand...
Click to collapse
tkirton said:
Don't look at me...that's what I'm getting. Doesn't make much sense to me, either. I just know if I do adb shell, I don't have root access. But A2SD works fine.
I went ahead and released it since the goal was to get A2SD working...and I did that. Everything else is for a Rom developer.
Click to expand...
Click to collapse
Thanks, I'll just use your boot image for RegawMOD 2.5. saves me a few minutes
working perfectly all apps installed and 132 megs still open internal
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
sandboxlove said:
is it a general consensus that if you want to run a2sd successfully you should use a class6? i currently have a class4
Click to expand...
Click to collapse
right now, I switched back to my class 4 and its working great
nvmchars....
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
sandboxlove said:
i just want to be clear...this is the latest sprint leak? you seriously deodexed the whole thing?
i thought vince was crazy for trying, your completely BANANNAS
Click to expand...
Click to collapse
yeah, i thought I'd post it in here. Didn't think since it's the same thing as he posted but deodexed that I should make another thread.
and yes, the latest sprint leak. you should test this. I can't right now.
Oooh...cool. Enhancements. I like enhancements.
regaw_leinad said:
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
Click to expand...
Click to collapse
tkirton said:
Oooh...cool. Enhancements. I like enhancements.
Click to expand...
Click to collapse
Well, I like your work, so that's for you
did anyone test it out to make sure it boots?
Sorry to be such a noob, but what is "deodexed" a ROM mean?
regaw_leinad said:
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
Click to expand...
Click to collapse
Well I flashed it and stuck on the HTC screen. Flashed the non deodexed version and loads fine.
So apparently i f***ed up deodexing lol. I guess that ROM that I did wont work..
well just loving this rom, but one question, can we get a updated boot.img with the adb enabled for access as root?
Now that the A2SD stuff is behind me, I'll take a look at that. Flipzmode or Toastcfh may be able to shed some light on how you get this image rooted correctly, especially Flipz since he's using the latest leak for Fresh 2.1.1.
The original goal was to get A2SD working on a stock rom, which I did....but it is rather annoying that it isn't rooted (or fully rooted).
Damage said in his point that it was rooted, but I got the same thing you did...no root when doing adb.
I'll talk to Flipz or Toast and see if they can point me in a direction to go.
nfinitefx45 said:
well just loving this rom, but one question, can we get a updated boot.img with the adb enabled for access as root?
Click to expand...
Click to collapse
well this is a piece from some of the reading I've been doing I beleice this needs to be done with in the boot image. I dont know if this will help in your research,
-------------------------
You also need to modify the ROM update script to change the default permissions for /system/bin/su so it can be used to elevate privileges to root. The script is in $WKD/dst/META-INF/com/google/android/update-script. Open it in your favorite editor and find the line starting with set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh and after it add the following set_perm 0 0 04755 SYSTEM:bin/su
=======================
Hi tkirton,
Nice job on this and thanks for all your hard work on everything! I am also wondering what dedoxed means? Is it like where application data is also stored on the SD card instead of on the phone itself?
Thanks!
I just saw this!
http://twitter.com/unrevoked
They're currently working on one that will write to /system.
Stay tuned!
Thanks guys! Awesome work!
VoXHTC said:
I just saw this!
http://twitter.com/unrevoked
I downloaded an .apk file and I'm staring at it now..
Click to expand...
Click to collapse
I'm not very happy with installing and running things on my phone without knowing quite what they do. you go first
Yeah, report back if it breaks anything. I wanna root mine and this way seems easy.
LOL no way.. u 1st.
It worked, but unfortunately it has to be applied on each reboot. not a sticky root. I know my low post count will make you sketchy of this point. all I can say is that it is true. dropped it on my SD, used astro to access it, installed, and it worked just like blackrain, one click. except not sticky.
works great. gotta do it every boot.
Yep me to tried it and worked so how would this work on installing toms though since a reboot get rid of the root?
Oh my god i wanna do it. Its gotta be legit.. Right?
jachase42 said:
It worked, but unfortunately it has to be applied on each reboot. not a sticky root. I know my low post count will make you sketchy of this point. all I can say is that it is true. dropped it on my SD, used astro to access it, installed, and it worked just like blackrain, one click. except not sticky.
Click to expand...
Click to collapse
Well it got rooted, going to reboot and see
Hmmm. So if its not sticky, its pretty much pointless to me. Gonna way for the real Root to come. I mean the phone just came out so it shouldnt be long.
I'm still showing sudo permissions on reboot, going to test a few things. like the overclock app, and terminal access.
EDIT: Confirmed, SetCPU for Root cannot request permission. not a sticky root, just as it says.
so what does this do for me, i did it but i can't get into where all the apps i've downloaded are and stuff, i'm confused. what can i do with this root?
can you write to system from within android? if so root explorer will let you easily remove stock apps
no you can't due to current limitations
There is no rw for /system currently. < this should be written in bold and stickied.
I find their lack of information disturbing. If it really needs to be run every boot, why don't they say that? Their site doesn't have a single bit of info on it.
Well there is the long shell way.
Can I use this to create a perfect backup of my phone so I can restore it at any time?
actually when you do it on the phone it tells you that it needs to be run every reboot. so we can't get rid of sprint applications through the phone because of a lack RW for the system, but can we do this pc side???
i'm in boot mode what do i do so i can get rid of sprint apps and what not, how do i do a nandroid, and how can i back up all of my aps.
Anyone know what this means?
Root protip: bind mounts are your friend: busybox touch /data/local/blank; mount -o bind /data/local/blank /system/app/Sprint_NFL.apk
ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Firedog7881 said:
Somebody please correct me if I am wrong.
You do not NEED to have your phone connected to your computer any more as long as you have the right programs on your phone. If you use z4Mod to root your phone, download the application Superuser to give applications SU permissions, install ROM Manager, and then use Root Explorer to move the files into their necessary locations and then use Terminal Emulator to execute the commands.
I have rooted, installed ROM Manager, backed up my ROM, installed the kernel in this thread all without knowing what ADB is.
All applications are available in the Market
z4Mod
Superuser
ROM Manager
Root Explorer ($4)
Terminal Emulator
Click to expand...
Click to collapse
I dident use adb to get it working. Found it faster to use root explorer to place files and then change permissions of the files on system and SD.
Then use terminal to run the command
Sent from my SCH-I500 using XDA App
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
elijahblake said:
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
Click to expand...
Click to collapse
WOW, This is nice. Thanks for the link!
You get slap rights.
BakedTator said:
ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Click to expand...
Click to collapse
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
dcow90 said:
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
Click to expand...
Click to collapse
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
BakedTator said:
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
Click to expand...
Click to collapse
I'm not a moderator nor do I run things around here.. don't apologize to me. I was just curious b/c I thought it was kinda funny that you thought you needed two threads d=
1 of the topics was cause I didn't understand adb at all. This one was cause I couldn't find adb in the android sdk.but now I got it all worked out and things are running smooth with pick_n_pack, voodoo 5 and cwm and getting 1800 on quadrant now...all hail xda community!
Sent from my SCH-I500 using XDA App