This is a basic rom and due to early rooting/s-off procedures, requires ADVANCED knowledge. If you are not sure whats going on, please wait to flash.
Rooting instructions:
http://www.androidpolice.com/2011/0...he-htc-thunderbolt-and-unlock-its-bootloader/
This rom is just a basic debloated stock Sense, based on the 1.12.605.9 RUU. This is NEWER than what is being currently shipped with the TB.
New rom uploaded, with fixed root and market.
Features:
--Most crap bloat gone. All HTC bloat still there.
--Deodexed.
--Zipaligned.
--Boot animation, startup sound, and shutdown animation re-routed to system/media for more convenient modification.
--Dalvik heapsize increased to 32M.
--Wifi scan interval increased to 90 seconds, from 15 seconds.
--newest market as of today.
--latest gmail as of today.
--busybox 1.19
just a basic rom to get folks rolling. I will be releasing something much better here in the near future.
CWR currently has some issues, so...flashing the kernel becomes a little more challenging. Using adb:
adb reboot bootloader
This should boot you into fastboot usb.
Put the boot.img you downloaded into the same directory your command console is working from. Then:
fastboot flash boot boot.img
Once its done:
fastboot reboot
To verify kernel flashed, your kernel date should be March 1st.
Rom
http://www.multiupload.com/7P2QVZ7EFJ
Kernel
http://www.mediafire.com/?50sowujwsos53ft
Thanks:
jcase, and everyone else who helped with rooting, and ThatDudeButch for being my guinea pig!
Issues: just one that i know of. Sometimes, superuser is lost. Re-use psneuter to reset permissions on su. chmod 4755 /system/xbin/su.
Missing market apps?
Flash this:
http://dl.dropbox.com/u/2056318/market_fix.zip
Badass, adrynalyne! I'm assuming the ROM package is just flashed in CWM like normal? Kernel or ROM first?
Doesnt matter which is first and yeah, rom is via cwr.
Thanks!
Now just waiting for a one click method or unrevoked.
adryn, as i'm coming from the fascinate... i'm ecstatic to see you here!
Also coming from the fascinate and very excited to see adrynalyne here....I too think ill hold off on this, I'm just not 100% confident with my adb skills yet lol...thanks to everyone taking part in this, you guys are amazing...
Edit: I took the plunge, rooted and s-off, without a hiccup. Was actually pretty easy
Sent from my ADR6400L using XDA Premium App
We got a rom already! Sweet!
going to flash this now, i'm lazy. Didn't want to delete everything myself. Thanks
uh, possibly a dumb question. how do i "click" on something in cwr. on my dinc it was trackbutton. lol im sitting here in cwr like uhhhh?
madfatter said:
uh, possibly a dumb question. how do i "click" on something in cwr. on my dinc it was trackbutton. lol im sitting here in cwr like uhhhh?
Click to expand...
Click to collapse
power?
Sent from my ADR6400L using XDA App
power just makes the menu go away. i read in another thread that somehow theback optino became available randomyl and he used that, but i dunno. if I figure it out ill post it ehre. if anyone else has figured it out, pelase pot back. thanks!
You will need to get a root shell (psneuter, perhaps) and change the permissions on the su if you want root:
chmod 4755 /system/xbin/su
try holfing the volume up or down keys for a few seconds. i did that right after i plugged in the usb cable. try any of those three. either way, now back buttons acts as ok. HERE WE GOOOOOOOOO!!!!!!!!!!
In CWM, keep hitting the volume up/down buttons until CWM says the back button is enabled. Then use that to select.
However, if you are like me, you cannot do a factory reset/wipe in CWM. I have a way around it if you like, but it is a little involved.
adrynalyne said:
Rom
URL 1
or
URL 2
Kernel
URL 3
Click to expand...
Click to collapse
Just to be clear... I need to download BOTH of these files and "flash" them both, correct?
same issue here - cant select anything in rom manager, just shows the manager symbol and nothing happens.
edit: i pushed between the volume buttons and it said something about the back button... now i can do it. I think you have to push both volume rockers to get this thing going?
Was able to flash the rom ok, but when i try and flash the kernel it just says
< waiting for device >
any ideas?
EDIT:
Fixed, thanks guys
my root is not working after flashing... mind giving detailed instructions to restore it? Thanks
Sounds like you don't have the bootloader driver. Look in Device Manager. Are there any "banged" out items?
This will get root access back:
To gain root:
adb shell
/data/local/psneuter
The following will remount /system and set up SU:
adb shell
mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
/data/local/busybox cp /data/local/su /system/xbin/su
chown 0:0 /system/xbin/su
chmod 4755 /system/xbin/su
(Corrected to 4755, not 6755)
Related
Is it possible to change the lockscreen to the default android, i'm new to android nd still tryna get a hold of things. Thanks
-------------------------------------
Sent via the XDA Tapatalk App
lakeside00 said:
Is it possible to change the lockscreen to the default android, i'm new to android nd still tryna get a hold of things. Thanks
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
you can remove the HtcLockScreen.apk from /system/app/ and it will default to the stock android one. Problem is that is suffers from the same fate as many others where the slder is up/down and the time is jummbeled on the left side.
Oh and of course to remove/rename the file in /system/app/ you must be rooted and in recovery mode.
I'm working on how to fix the screen. Flipz did it for android 2.0 but it isn't the same fix in 2.1. If I get more info I'll post back.
I tried to remove HtcLockScreen.apk via adb but I don't think we have system write access yet. even through adb. someone correct me if I'm wrong but I believe this is true.
Edit: As said above... you have to be in recovery. I stand corrected. don't listen to me!
edit #2: tried it in recovery... couldn't even remount. I don't think I did anything wrong...
gmelchert said:
I tried to remove HtcLockScreen.apk via adb but I don't think we have system write access yet. even through adb. someone correct me if I'm wrong but I believe this is true.
Edit: As said above... you have to be in recovery. I stand corrected. don't listen to me!
edit #2: tried it in recovery... couldn't even remount. I don't think I did anything wrong...
Click to expand...
Click to collapse
LOL! love the step by step edits...
I have a script that makes it easy, it is just a modified version of Toast's. It cuts it down to one command input instead of three.
Any way here are the steps:
With phone on plug it into your computer. Open two command windows. Navigate one to the folder you have downloaded toasts recovery script to.
1) In the window that is at evo-recovery> type: adb reboot recovery
This boots you in to the stock recovery
2)in the same window type windows-recovery.bat (adjust for your OS)
This gets you into Amon-RA's recovery
3) Wait for the phone to get the new recovery screen. In the other command window type: adb shell mount -a
Step 3 can be adb remount or you can type adb shell then at the # type #mount -t yaffs2 -o remount,rw /dev/block/mtdblock4 /system
Any way after that point you can exit adb shell back to the command prompt and push/pull anything to /system
unfortunately you can't see it right away and have to wait for reboot. Also this limits some of the apps that we can install because some will need to write to /system and cannot once rebooted.
USE ARE YOUR OWN RISK.
http://www.multiupload.com/DXQVBXB93G
http://www.multiupload.com/KS2JCAMGBH
Credit to wag3slav3 and a donate link for him so morons cant claim I am stealing his donations. http://forum.xda-developers.com/showthread.php?t=724741
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell rm /data/local/rights/mid.txt
adb shell ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
adb reboot
then once booted
adb shell /data/local/flash_image recovery /data/local/recovery.img
This work for non-leakers only right?
Holy crap, it's really that simple? That's amazing.
Should work for EVERYONE.
jcase said:
Should work for EVERYONE.
Click to expand...
Click to collapse
is this just root? it wont wipe out data? i just want to overclock
v941726 said:
is this just root? it wont wipe out data? i just want to overclock
Click to expand...
Click to collapse
Do that then flash SU
Dc_striker said:
Do that then flash SU
Click to expand...
Click to collapse
sorry but, how do you flash su? and you didnt answer if it wipes out my data.
v941726 said:
sorry but, how do you flash su? and you didnt answer if it wipes out my data.
Click to expand...
Click to collapse
sir im saying this in the most friendly way possible
but i was once just like you new to hacking and lots of questions
but you must understand all the questions you have can be answered by reading on here or google search
everyone is tired of answering the same question of the newbies and trust me i have been flamed
also check out the forum rules about posting questions certain questions go in certain places if you want quick answers....all love bro i want to see you rooted and happy
if you have root
su is Super User access
you need to get the su.apk go here and take a look http://forum.xda-developers.com/showthread.php?t=682828
su allows certain apps to do rooted things including overclocking
btw you will alos new the setcpu app to overclock go here http://forum.xda-developers.com/showthread.php?t=505419
but before that you still should do some research
good luck to you brother
Oooh, don't anger the gods.
v941726 said:
sorry but, how do you flash su? and you didnt answer if it wipes out my data.
Click to expand...
Click to collapse
They really do get upset in here when you don't know as much as they do.
Let me help...
Run to this thread and read up:
forum.xda-developers.com/showthread.php?t=724741
There is an automated script that will help you with the root. Many users, including myself had to run it a couple of times before it took - so if it doesn't go off the first time, don't lose faith, just try again.
As for whether or not it wipes, that's moot - You should, after you run the hack flash a custom rom - this will wipe your data. Any ROM you like from the dev forum will do. I am using Froyo v21. But you can certainly try any one you like. As for non-Froyo roms, I like the Cyannogen ELB builds. But again it is your preference that matters.
To flash the new rom, you need to boot into recovery mode. If you run the script from the above thread, it will boot you into recovery mode. If you use the instructions in this thread, type "adb reboot recovery" at your command prompt immediately after you are done. Once there, you can do the following:
-Do a NAND backup
-Put your phone into USB SD mode and copy over your ROM of choice to the root of your SD card.
-Do a factory wipe and a dalvik cache wipe
-flash your new rom
When you flash the new rom, depending on which one you do, you should have su or root. You can then download and install apps that require root.
Remember, you should back-up your data before you try to do anything to your phone. It's just a good idea.
If you have any ROM specific issues, try looking through that ROM's thread for answers. Also, if you have any other questions about how to do anything, the first sticky thread in this forum is a great collection of how-tos. You can also PM Me and I will be happy to help.
Don't forget that a lot of hard work went into rooting leak. Do like many of us have and donate to those responsible.
i understand what your saying about asking here. but seriously, i searched and it seems like every thread says the same thing. so i jump all over the place and end up going in circles. i did my sons moto droid yesterday pretty easily. he now has root and a smoking droid w/o disturbing anything else. so, sorry, but it is tough. thanks for your reply. i got this particular thread from android forums and it looked like the one. a new one at that. but i spent several hours going around in circles. googling and everything. i am a noob with linux based phones. yes. but i'm very capable and dont need baby steps. just need some straight answers. so sorry. i will check your links. thanks for your reply
Works just as good as the automated method. Good deal.
Father_Vic said:
They really do get upset in here when you don't know as much as they do.
Let me help...
Run to this thread and read up:
forum.xda-developers.com/showthread.php?t=724741
There is an automated script that will help you with the root. Many users, including myself had to run it a couple of times before it took - so if it doesn't go off the first time, don't lose faith, just try again.
As for whether or not it wipes, that's moot - You should, after you run the hack flash a custom rom - this will wipe your data. Any ROM you like from the dev forum will do. I am using Froyo v21. But you can certainly try any one you like. As for non-Froyo roms, I like the Cyannogen ELB builds. But again it is your preference that matters.
To flash the new rom, you need to boot into recovery mode. If you run the script from the above thread, it will boot you into recovery mode. If you use the instructions in this thread, type "adb reboot recovery" at your command prompt immediately after you are done. Once there, you can do the following:
-Do a NAND backup
-Put your phone into USB SD mode and copy over your ROM of choice to the root of your SD card.
-Do a factory wipe and a dalvik cache wipe
-flash your new rom
When you flash the new rom, depending on which one you do, you should have su or root. You can then download and install apps that require root.
Remember, you should back-up your data before you try to do anything to your phone. It's just a good idea.
If you have any ROM specific issues, try looking through that ROM's thread for answers. Also, if you have any other questions about how to do anything, the first sticky thread in this forum is a great collection of how-tos. You can also PM Me and I will be happy to help.
Don't forget that a lot of hard work went into rooting leak. Do like many of us have and donate to those responsible.
Click to expand...
Click to collapse
thanks. this may be dumber yet but, i cant find a way to pm you or anybody her
This should get a sticky
sawah said:
This should get a sticky
Click to expand...
Click to collapse
The topic should get deleted...
...and wag3slav3 should just copy/paste this into the bottom of his first post. To me this thread, even with the credit, looks like it's trying to steal his "thunder."
jcase said:
USE ARE YOUR OWN RISK.
http://www.multiupload.com/DXQVBXB93G
http://www.multiupload.com/KS2JCAMGBH
Credit to wag3slav3 http://forum.xda-developers.com/showthread.php?t=724741
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell rm /data/local/rights/mid.txt
adb shell ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
adb reboot
then once booted
adb shell /data/local/flash_image recovery /data/local/recovery.img
Click to expand...
Click to collapse
wow!? are you serious. thats it. . . that took 8 months, it looks so simple now that its in writing. =(
sad for life
hey better late then never though =) glad you leakers can get root now.
xnatex21 said:
The topic should get deleted...
...and wag3slav3 should just copy/paste this into the bottom of his first post. To me this thread, even with the credit, looks like it's trying to steal his "thunder."
Click to expand...
Click to collapse
Since when does jcase try to steal anyone's thunder. He watches out for the dev community more than anyone.
v941726 said:
thanks. this may be dumber yet but, i cant find a way to pm you or anybody her
Click to expand...
Click to collapse
Just click on the user name.
Father_Vic said:
Just click on the user name.
Click to expand...
Click to collapse
i did. no way to pm there
C:\android\tools>adb push recovery.img /data/local/
856 KB/s (3926016 bytes in 4.477s)
C:\android\tools>adb push flash_image /data/local/
507 KB/s (9640 bytes in 0.018s)
C:\android\tools>adb shell chmod 777 /data/local/recovery.img
C:\android\tools>adb shell chmod 777 /data/local/flash_image
C:\android\tools>adb shell rm /data/local/rights/mid.txt
C:\android\tools>adb shell ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
C:\android\tools>adb reboot
C:\android\tools>adb shell /data/local/flash_image recovery /data/local/recovery
.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
C:\android\tools>adb shell
$ su
su
su: permission denied
Click to expand...
Click to collapse
Anyone else get this?
v941726 said:
sorry but, how do you flash su? and you didnt answer if it wipes out my data.
Click to expand...
Click to collapse
Everyone, if you don't want to do a wipe and install a custom ROM, you can just flash EngTools.zip, courtesy of jcase, and it will add su and superuser.apk without disturbing your existing data (apps, settings, etc).
jcase said:
Get follow root tutorials and get amon's recovery installed. If you want to skip installing a new rom after rooting, You can flash EngTools.zip will root your device.
Click to expand...
Click to collapse
New as of Saturday August 8th
I will update the files every time I find a problem
WARNING PLEASE READ:
Project JIT is highly highly experimental! If you are to do this, MAKE A NANDROID BACKUP IN ROM MANAGER OR RECOVERY! There are always chances of something going wrong. I nor anyone else is responsible of what happens.
Experienced users please know the possible risks:
Boot Looping, requiring a restore
Constant FC's
Wiping everything
These are just the risks, please note it is not 100%
JIT stands for Just in time compiler. It does not like Touchwiz, so download ADW.Launcher or LauncherPro before starting and set it as default.
This whole process is in ADB. If you dont know how, or what it is, DONT DO IT!
Things to do before you start:
-Download a different launcher than TouchWiz
-Make a backup in recovery or Rom Manager
-Did I mention DO A BACKUP!
-If you have an external SD card, pull it out
-Download the vmlibs file
What I expect you to know before you start:
-ADB
-What JIT is
-How this will effect the performance
-The risks
-How its not my fault if you screw your phone over
-How experimental this is
-How to make a nandroid backup
-How to make a nandroid restore
Remember, this is experimental and I cannot guarantee for it to completely work.
Download This- vmlibs.zip
Then follow these steps:
-Make a backup!!!
-Create 2 folders on your internal sdcard: “jit” & “dalbk”
-Extract the vmlibs.zip to the “jit” folder on your sdcard
-Using ADB pull your build.prop
Code:
adb remount
ADB pull /system/build.prop build.prop
-It will place the file in your c:/android/tools folder
-Edit this using notepad, text edit or similiar program.
-Add the following line to the end of the build.prop: dalvik.vm.execution-mode=int:jit
-Edit the following line:dalvik.vm.startheapsize=8m
to: dalvik.vm.startheapsize=12m
-Save the changes
-Push it back to your “jit” folder on the sdcard
Code:
ADB push build.prop /sdcard/jit/build.prop
This will back up your current files. So you can disable jit, but if your phone boot loops, thats why you have A BACKUP!
Code:
ADB shell
su
cp /system/build.prop /sdcard/dalbk/
cp /system/bin/dalvikvm /sdcard/dalbk/
cp /system/lib/libdvm.so /sdcard/dalbk/
cp /system/lib/libnativehelper.so /sdcard/dalbk/
This will enable jit on your phone.
Code:
cd /sdcard/jit/bin
cp -f dalvikvm /system/bin/
busybox chmod 755 /system/bin/dalvikvm
cd /sdcard/jit
cp -f libdvm.so /system/lib/
cp -f libnativehelper.so /system/lib/
cat build.prop >/system/build.prop
chmod 644 /system/lib/libdvm.so
chmod 644 /system/lib/libnativehelper.so
chmod 666 /system/build.prop
sync
reboot recovery
While in recovery, wipe the dalvik cache, this will prevent it from boot looping.
To Disable
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard/dalbk/
cat build.prop >/system/build.prop
cp -f dalvikvm /system/bin
busybox chmod 755 /system/bin/dalvikvm
cp -f libdvm.so /system/lib/
cp -f libnativehelper.so /system/lib/
chmod 644 /system/lib/libdvm.so
chmod 644 /system/lib/libnativehelper.so
chmod 666 /system/build.prop
sync
reboot
If that fails, that is why you have a backup. To restore, go to recovery, click on nandroid, and restore from your backup.
Reserved for future posting
Will this work with the sd card cache hack?
Sent from my SAMSUNG-SGH-I897 using XDA App
LGSilva said:
Will this work with the sd card cache hack?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
It didn't here. Not sure if that is due to other fsckup or the fact that I was running I9k rom with my kernel and sdcard hack...
Restoring to stock to give this a whirl
tommarow I will update the vmlibs file and see if it works better.
Oh, and tell me what your problems are
hansmrtn said:
tommarow I will update the vmlibs file and see if it works better.
Oh, and tell me what your problems are
Click to expand...
Click to collapse
Doesn't boot past the white at&t screen. Again, I was running I9k rom with custom kernel and ext hack, not exactly the cleanest test bed. Flashing stock to test now (can't get into recovery on this thing anyway it seems).
NukaCola said:
Doesn't boot past the white at&t screen. Again, I was running I9k rom with custom kernel and ext hack, not exactly the cleanest test bed. Flashing stock to test now (can't get into recovery on this thing anyway it seems).
Click to expand...
Click to collapse
Hold on. Before you do that, let me up the file.
EDIT:
Here is the updated one, its in the first post too
It should work better. I used it just now, and it works for me
hansmrtn said:
Hold on. Before you do that, let me up the file.
EDIT:
Here is the updated one, its in the first post too
It should work better. I used it just now, and it works for me
Click to expand...
Click to collapse
Too late
Same story with the stock rom and old file, just FYI. Flashing back and trying the new one.
NukaCola said:
Too late
Same story with the stock rom and old file, just FYI. Flashing back and trying the new one.
Click to expand...
Click to collapse
Yeah, thats why I had to fix some stuff lol. I noticed that it wouldnt go past the att screen. Now it should work correctly. The worst that could happen now is it boot loops on the Galaxy S screen
Haha I was just about to post the same problem, downloading new file and trying it again!
Zilch25 said:
Haha I was just about to post the same problem, downloading new file and trying it again!
Click to expand...
Click to collapse
Hey, when you edit the build.prop to add the dalvik vm line, can you look for the vm heap size and change it from 48 to 32? I am about to test doing that, and I would like more feedback
Doh, didn't read this until after applying it all... it's in the process of booting though- it got past the AT&T logo so that's progress!
Zilch25 said:
Doh, didn't read this until after applying it all... it's in the process of booting though- it got past the AT&T logo so that's progress!
Click to expand...
Click to collapse
Dont worry, I will try it
ATM I'm now stuck sitting at the GalaxyS logo, I'm going to give it a little more time, but I suspect it might be stuck.
Zilch25 said:
ATM I'm now stuck sitting at the GalaxyS logo, I'm going to give it a little more time, but I suspect it might be stuck.
Click to expand...
Click to collapse
Do you know how to run a logcat?
Its gonna take a while because its re writing the dalvik cache
That I do not, but I'm willing to try it if you can give me a quick crash course
Zilch25 said:
That I do not, but I'm willing to try it if you can give me a quick crash course
Click to expand...
Click to collapse
Well I am looking at my logcat now, and it is just repeating boot animation.
A logcat is useful, so how you do it is adb logcat.
I changed a couple things to test around with here is what I did-
I added all of this to the build.prop-
#JIT
dalvik.vm.execution-mode=int:jit
and changed:
dalvik.vm.heapsize=48m
to
dalvik.vm.heapsize=32m
Right now I am resorting to try the older vmlibs with the new settings
Ran logcat, it's also trapped at looping animation, and I didn't touch the heapsize
W/BootAnimationSEC< 2194: ms4631 - Repeat Loop Animation
Over and over and over, is there something else in the buffer you'd like me to look for?
Zilch25 said:
Ran logcat, it's also trapped at looping animation, and I didn't touch the heapsize
W/BootAnimationSEC< 2194: ms4631 - Repeat Loop Animation
Over and over and over, is there something else in the buffer you'd like me to look for?
Click to expand...
Click to collapse
No thanks for the feedback. Its only worked for me once, and then when I rebooted it got stuck in a boot loop.
Whats a device thats running android 2.1, and has a jit hack that is extremely similar to the Galaxy S series?
Okay So ever since I have gotten my Epic a week ago I have felt like a total Noob. I came from an HTC HERO which I rooted manually. My wife has an HTC EVO which I rooted using UNREVOKED ONE CLICK (I know I cheated but she doesnt care). This Epic has me heading back to my roots lol. Either I am a total Noob and this is a simple fix and my dumb ass keeps overlooking it (which at this point I am hoping for) or my Epic is Effed and I need to send it back before my 30 days is up.
Basically my problem is that I cant Adb remount or Adb push to save my life. When I use Adb devices it lists my device so I know my phone is talking with my computer correctly. I first Odin'd to DK28 with the root and clockwork etc. Everything seemed fine except I like to swap stock fonts for custom fonts via Adb, simple things like that. Since I cant remount I figured something was either wrong with the Rom or the Root. So I just tried to load a custom ROM up and try my luck seeing as thats pretty simple. I loaded Epic Experience 2.0.06 and got it all set up as my Daily. Then I got busy and just used it for a few days continuing to tweak my Rom and get it all dialed in for daily use.
I wanted to try ViperRom and see what that was all about so I made a backup in Clockwork and loaded ViperROM with no problem. While ViperROM is pretty snappy its not really my taste so I figured I would wipe and restore my EE backup. No matter how many times I did the data wipe, cache, davlik etc my restore would boot up greeting me with force close after force close. So I ODIN'd back to stock 2.2 then used the one click root exploit to get root. it seems like it worked but still ADB problems continue to persist. I have tried everything I can possibly think or research via XDA but now I am out of ideas.
I have uninstalled and reinstalled ANDROID SDK 3 times 2 twice with "Accept-All" radio ticked and once with just the 2.1 and 2.2 goodies.
I have tried different cables none of which are stock. on every usb port on my computer all replicate the same issues: Adb devices shows up right but will not remount only run in shell. and when i run Adb shell it responds with $ first needing me to open su just to get the # symbol.
Any input is incredibly appreciated.
you know, I've had the same problem lately. --curious to know what's causing it.
decalex said:
you know, I've had the same problem lately. --curious to know what's causing it.
Click to expand...
Click to collapse
Its good to know I am not the only one out there with this issue maybe someone can chime in with a fix. or some insight at least to what the problem may be.
Still no response.... Bump?
watermoore said:
Okay So ever since I have gotten my Epic a week ago I have felt like a total Noob. I came from an HTC HERO which I rooted manually. My wife has an HTC EVO which I rooted using UNREVOKED ONE CLICK (I know I cheated but she doesnt care). This Epic has me heading back to my roots lol. Either I am a total Noob and this is a simple fix and my dumb ass keeps overlooking it (which at this point I am hoping for) or my Epic is Effed and I need to send it back before my 30 days is up.
Basically my problem is that I cant Adb remount or Adb push to save my life. When I use Adb devices it lists my device so I know my phone is talking with my computer correctly. I first Odin'd to DK28 with the root and clockwork etc. Everything seemed fine except I like to swap stock fonts for custom fonts via Adb, simple things like that. Since I cant remount I figured something was either wrong with the Rom or the Root. So I just tried to load a custom ROM up and try my luck seeing as thats pretty simple. I loaded Epic Experience 2.0.06 and got it all set up as my Daily. Then I got busy and just used it for a few days continuing to tweak my Rom and get it all dialed in for daily use.
I wanted to try ViperRom and see what that was all about so I made a backup in Clockwork and loaded ViperROM with no problem. While ViperROM is pretty snappy its not really my taste so I figured I would wipe and restore my EE backup. No matter how many times I did the data wipe, cache, davlik etc my restore would boot up greeting me with force close after force close. So I ODIN'd back to stock 2.2 then used the one click root exploit to get root. it seems like it worked but still ADB problems continue to persist. I have tried everything I can possibly think or research via XDA but now I am out of ideas.
I have uninstalled and reinstalled ANDROID SDK 3 times 2 twice with "Accept-All" radio ticked and once with just the 2.1 and 2.2 goodies.
I have tried different cables none of which are stock. on every usb port on my computer all replicate the same issues: Adb devices shows up right but will not remount only run in shell. and when i run Adb shell it responds with $ first needing me to open su just to get the # symbol.
Any input is incredibly appreciated.
Click to expand...
Click to collapse
Code:
su
remount rw
We have a different method than the Hero did. If you've already tried that, lemme know. Works fine for me on stock rooted, Nebula, and (now) Bonsai.
Also, if that doesn't work, try it from a terminal app on the phone. I use it there more than anything.
DevinXtreme said:
Code:
su
remount rw
We have a different method than the Hero did. If you've already tried that, lemme know. Works fine for me on stock rooted, Nebula, and (now) Bonsai.
Also, if that doesn't work, try it from a terminal app on the phone. I use it there more than anything.
Click to expand...
Click to collapse
Hey man thanks for your input, I really appreciate it. That didnt work either, on ADB or on Terminal Emulator. It responds correctly from both sources with:
Code:
remount rw
Remounting /system </dev/st19> in read/write mode
I am wondering if it has anything to do with the fact that the 64bit drivers dont install totally. this module called the "Abstract Control Module" hangs forever and doesn't install. However I ran over to my wifes 32 bit vista laptop where the drivers will install totally with no success either.
Hrm... That's very strange. It's telling you that it is working. What is the error you get when trying to move stuff from there? So, after remount rw'ing, cp something into a system folder and post those results.
Your output for remount rw is correct, so let's see where that goes.
DevinXtreme said:
Hrm... That's very strange. It's telling you that it is working. What is the error you get when trying to move stuff from there? So, after remount rw'ing, cp something into a system folder and post those results.
Your output for remount rw is correct, so let's see where that goes.
Click to expand...
Click to collapse
Okay so here is what happened.
I just made a simple text file that was entitled "movetest.txt". I placed the file on the sdcard and used terminal emulator to push the files successfully to /system/etc
then I placed it in my C:/Android/tools dir and tried to adb push with no success so I ran shell and was able to succeed via shell here to the fonts dir in system.... here is the code:
Code:
c:\Android\tools> adb push movetest.txt /system/fonts
failed to copy 'movetest.txt' to '/system/fonts/movetest.txt': Permission denied
c:\Android\tools>adb shell
$ su
su
# cp /sdcard/movetest.txt /system/fonts
cp /sdcard/movetest.txt /system/fonts
#
Bump again
Sent from my Epic
Okay since I'm not getting much love from the forum I'm guessing this is an uncommon occurance, in which case I am going to try one more thing before I send it back for a replacement. I am planning on going back to DI18 via odin then one click rooting. Then flashing the modem and other nessecary files to run 2.2 epic experience. Its the only possible thing I can think of that I haven't tried to address my problem. Thanks for the feedback I have gotten thus far.
Sent from my Epic
This post helped me: http://forum.xda-developers.com/showpost.php?p=8723568&postcount=2
The e0pic and hero are way differentwhen it comes to adb
I was the same way lol I don't think adb works
Like I think the only way is to cp things
Sent from my SPH-D700 using XDA App
watermoore said:
Okay so here is what happened.
I just made a simple text file that was entitled "movetest.txt". I placed the file on the sdcard and used terminal emulator to push the files successfully to /system/etc
then I placed it in my C:/Android/tools dir and tried to adb push with no success so I ran shell and was able to succeed via shell here to the fonts dir in system.... here is the code:
Code:
c:\Android\tools> adb push movetest.txt /system/fonts
failed to copy 'movetest.txt' to '/system/fonts/movetest.txt': Permission denied
c:\Android\tools>adb shell
$ su
su
# cp /sdcard/movetest.txt /system/fonts
cp /sdcard/movetest.txt /system/fonts
#
Click to expand...
Click to collapse
That last one appears to have worked. Check and see if movetest.txt is in /system/fonts. If so, then you're in business. Just copy stuff across as root instead of pushing.
Well now I can use ADB fully. I odined back to stock then used the one click clockwork 3.0.0.05 ext4 batch then flashed Truley Epic Rebirth 1.2 and was able to remount correctly, push and pull all the way down to the root dir. I am not sure what changed but it just all of the sudden started working.... I'll take that lol
mirth18 said:
This post helped me: http://forum.xda-developers.com/showpost.php?p=8723568&postcount=2
Click to expand...
Click to collapse
Well my issue was a bit different. I could get it show up with the "devices" command. When I tried to "adb remount" it would deny me. It would reply with "device not found". Which is really wierd because I could ADB shell with root access any day of the week. I just had to change my process to accommodate the limitation.
I would just ADB push files to the sdcard, mount into shell to gain full root permissions then finish my work.
Kind of a strange round about way of going about it but I learned quite a bit more linux commands that way lol
Fyi.. I am using ubuntu 11.04
Sent from my SPH-D700 using XDA App
EDIT:
Go here to root your Tegra Note 7: https://github.com/linux-shield/shield-root/blob/master/README.md (thanks to CampGareth for finding the link).
I have tested this, it works with no bloatware, only installs SuperSu.
---------
Hey guys, I got my new Tegra Note 7 last night and I've been trying to get it rooted, but I keep running into trouble.
First of all, I DO NOT want to use some shady Chinese software that installs a bunch of bloat on both my tablet and PC just to get SuperSu going, I've tried that method and had to reset the tablet to get rid of all the crap it installs (and it didn't even seem to root anyway).
Now I'm trying the manual method from here: http://pan.baidu.com/wap/link?uk=3073396937&shareid=3129426036&third=0
Which, again, is Chinese but at least I can see what it's doing since I'm issuing ADB commands, and supposedly it has worked for others on this forum.
Now, I get to step 3 on the included PDF which says to boot an insecure bootloader image with "fastboot boot tegranote_insecure_boot.img", I do this and the tablet screen flashes a few times and reboots to android.
I get to the next step which says to open an adb shell, and do "/sbin/rootsh +p" to get a temp root shell, and this is where I get stuck. Instead of getting a root shell I get the message "/system/bin/sh: /sbin/rootsh: not found". Does anyone have suggestions?
By the way we really need a Tegra Note 7 subforum here at XDA, if the mods could add it that would be great.
dark42 said:
Hey guys, I got my new Tegra Note 7 last night and I've been trying to get it rooted, but I keep running into trouble.
First of all, I DO NOT want to use some shady Chinese software that installs a bunch of bloat on both my tablet and PC just to get SuperSu going, I've tried that method and had to reset the tablet to get rid of all the crap it installs (and it didn't even seem to root anyway).
Now I'm trying the manual method from here: http://pan.baidu.com/wap/link?uk=3073396937&shareid=3129426036&third=0
Which, again, is Chinese but at least I can see what it's doing since I'm issuing ADB commands, and supposedly it has worked for others on this forum.
Now, I get to step 3 on the included PDF which says to boot an insecure bootloader image with "fastboot boot tegranote_insecure_boot.img", I do this and the tablet screen flashes a few times and reboots to android.
I get to the next step which says to open an adb shell, and do "/sbin/rootsh +p" to get a temp root shell, and this is where I get stuck. Instead of getting a root shell I get the message "/system/bin/sh: /sbin/rootsh: not found". Does anyone have suggestions?
By the way we really need a Tegra Note 7 subforum here at XDA, if the mods could add it that would be great.
Click to expand...
Click to collapse
I would recommend the following procedure:
1. Download the root_tool_v2.zip attached to this post
2. Unzip the contents the root_tool_v2.zip to a directory
3. Run the following commands from your ADB and Fastboot directory:
Code:
adb reboot bootloader
fastboot boot tegranote_insecure_v2.img
4. Once your device finishes booting the insecure boot.img (Your device's screen will blink several times and then boot into Android) run the following commands:
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb push su /system/xbin/su
adb push Superuser.apk /system/app/Superuser.apk
adb shell
chmod 6755 /system/xbin/su
chmod 644 /system/app/Superuser.apk
mount -o remount,ro /dev/block/mmcblk0p5 /system
exit
adb reboot
5. You should now have Superuser installed and have root access.
What I did was I modified the boot.img provided to be insecure and use an insecure adbd binary to allow a root shell when booted from which can then be used to setup Superuser and su binary access. Let me know how this goes for you and if you have any questions .
Wow, thanks for the help! Unfortunately your attachment seems to be corrupt, I can't decompress the archive. I'm using 7-zip btw. The forum says your attachment is 7.19MB but when downloaded it's only 160KB.
If you can re-upload it I will give it a go.
a reup of the file would be much appreciated! :good:
PS
i have a batch file to expedite the process.
dark42 said:
Wow, thanks for the help! Unfortunately your attachment seems to be corrupt, I can't decompress the archive. I'm using 7-zip btw. The forum says your attachment is 7.19MB but when downloaded it's only 160KB.
If you can re-upload it I will give it a go.
Click to expand...
Click to collapse
dergezero said:
a reup of the file would be much appreciated! :good:
PS
i have a batch file to expedite the process.
Click to expand...
Click to collapse
Re-uploaded the file for you guys let me know how it goes for you .
Awesome your new package downloaded fine.
However I'm still not getting root, I got to step 4 and when I open an adb shell I don't have permissions to do the next command.
The exact error message:
[email protected]:/ mount -o remount,rw /dev/block/mmcblk0p5 /system
mount -o remount,rw /dev/block/mmcblk0p5 /system
mount: Operation not permitted
So I guess the insecure boot image didn't work right. I should mention that I am using the latest Tegra Note firmware, I don't know if that makes a difference though. Any ideas?
Thanks for your help so far.
do you guys have a copy of the drivers for the tablet? mine only seems to work for storage.
update: got drivers working.
dergezero said:
do you guys have a copy of the drivers for the tablet? mine only seems to work for storage.
update: got drivers working.
Click to expand...
Click to collapse
I used Universal Naked Driver 0.73, I just manually installed the driver for the Nvidia Shield, thinking it would work, and it does!
Does shimp208's root image work for you, dergezero?
dark42 said:
I used Universal Naked Driver 0.73, I just manually installed the driver for the Nvidia Shield, thinking it would work, and it does!
Does shimp208's root image work for you, dergezero?
Click to expand...
Click to collapse
no, it just reboots. neither is working. im going to see if any one can give us a dump of their img that already works to be rooted. i tried that Chinese method and its really annoying and i dont get root on any computer i try it on.
Hey guys I am in the process of creating a new boot image that uses a different method for gaining root access and will upload that once I finish it.
shimp208 said:
Hey guys I am in the process of creating a new boot image that uses a different method for gaining root access and will upload that once I finish it.
Click to expand...
Click to collapse
:good: Awesome man, good luck! Eager to try it when you post it! :fingers-crossed:
dark42 said:
:good: Awesome man, good luck! Eager to try it when you post it! :fingers-crossed:
Click to expand...
Click to collapse
I agree, with the amount of malware that is in the chinese root tools, it makes me nervous to use the one the OP posted.
Brew
I wonder if someone would be able to port Clockworkmod Recovery to the TN7 eventually. The bootloader on this device is factory unlocked so it should be simple enough. Unfortunately I'm not a good enough programmer to get this done.
If we had Clockworkmod then rooting would be as easy as flashing the SuperSU .zip from the SD.
I have updated my original post with the rooting instructions to include a new insecure boot method follow the same instructions as before just use the new boot.img I uploaded to that post. Credit to teknoraver for the insecure adbd binary.
shimp208 said:
I have updated my original post with the rooting instructions to include a new insecure boot method follow the same instructions as before just use the new boot.img I uploaded to that post. Credit to teknoraver for the insecure adbd binary.
Click to expand...
Click to collapse
I tried your V2 image, still getting permission errors when doing "mount -o remount,rw /dev/block/mmcblk0p5 /system", what am I doing wrong?
dark42 said:
I tried your V2 image, still getting permission errors when doing "mount -o remount,rw /dev/block/mmcblk0p5 /system", what am I doing wrong?
Click to expand...
Click to collapse
When you boot the image and then type ADB shell do you get a root shell ([email protected]:/ #) or just a regular shell ([email protected]:/ $)?
Amazing
Nice to see you working on a different method of root... I am sorry to those who feel that the method I posted is getting negative reviews just wanted to throw something out there for people... however, I do feel much better with Shrimp208 working on a better root method I really wish we could get a forum going..
I used the Chinese root tool and all seems fine on my Tegra note
Sent from my TegraNote-P1640 using Tapatalk
shimp208 said:
When you boot the image and then type ADB shell do you get a root shell ([email protected]:/ #) or just a regular shell ([email protected]:/ $)?
Click to expand...
Click to collapse
Just a regular shell with $. Doesn't look like I get temp root permissions after running the tegranote_insecure_v2.img.
If it matters, I'm on the latest Stock ROM (4.2.2/JDQ39.13155_268.1942) and I'm using Universal Naked Driver 0.73 for the Shield, which works with this device. Maybe I need to use a different driver?
Toyeboy said:
I used the Chinese root tool and all seems fine on my Tegra note
Sent from my TegraNote-P1640 using Tapatalk
Click to expand...
Click to collapse
yeah it works but you dont really know what was installed on ur phone or on your pc. 3 apps are installed on your phone and a few reg changes on ur pc can be detrimental. and its all bloatware