yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] htc6500uk:
MHL works fine but for some reason, if you use the desk dock, you can't use the adaptor in the rear power socket of the desk dock. The Note still charges but there is no HDMI output.

Too early too be sure whether this is to do with the dock hardware interface itself or something software related as the Not goes into "Desk Clock" mode when placed in the desktop dock. Whatever, MHL/HDMI does not work whilst the Note is in the desk dock but is absolutely brilliant quality otherwise.
[Galaxy Note GT-N7000 General] NZtechfreak:
[YOUTUBE]uEb-DICYCgg[/YOUTUBE]
[Galaxy Note GT-N7000 Android Development] RiverSource:
Hello,

has someone successfully decompiled the android.policy.odex? I tried to include the extended Power Menu into the KJ4 Firmware, but deodexed decompiling did not work.

Any hints?

./baksmali android.policy.odex -x

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Ljunit/framework/TestCase;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:788)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:676)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:282)
Error while loading class Landroid/test/AndroidTestCase; from file ./framework.zip
Error while loading ClassPath class Landroid/test/AndroidTestCase;
[Galaxy Note GT-N7000 Android Development] RavenY2K3:
I'm getting a similar thing, trying to add items to the power menu, just can't seem to do it. Have you got any closer?
[Galaxy Note GT-N7000 Android Development] RiverSource:
Meanwhile I have deodexed ROMs, KJ4 and KJA. Decompiling the android.policy.jar is no issue if the ROM is deodexed. Tonight I will upload the KJ8 ROM (KJ4 is already available here in the Forum).

Unfortunately the extended Power Menu doesn't work so far. I have tried to adapt SGS2 Howtos. But I was not successfull. There are some differences between SGS2 and Note, which I was not able to recover. I'm getting an "Array Index out of Bounds" Exception in the logcat as soon as I'm trying to call the Power Menu.
[Galaxy Note GT-N7000 Android Development] prodigiez:
try java -jar baksmali.jar -c :core-junit.odex -d C:\framework -x android.policy.odex

put the core-junit.odex into the same folder with baksmali
[Samsung Infuse 4G] Baldomero13:
I'm not sure if i have to install some stuff or something because this is my first time rooting/adding rom or w/e. I searched before asking but could not find an answer or one that i understand. Could anyone help me? Need to use the market x.x (also tried installing Android market apk, didn't work also.)
[Samsung Infuse 4G] jayson94538:
Well what rom were you trying to flash?
[Samsung Infuse 4G] Baldomero13:
Sorry It's okay now :)

I installed Market apk and did this:

Settings -> applications -> manage applications -> Google Service Frame work -> clear data and force stop -> reboot

Then viola all good again :)

Also i think i loaded infuse rom v 1.6
[Samsung Epic 4G Touch] gpgorbosjr:
Finallly! Thank you!
[Samsung Epic 4G Touch] R1ptide:
Much thanks

Now no need in messing with the kernel

Sent from my Samsung Galaxy S2
[Samsung Epic 4G Touch] SantinoInc:
Holy Moly Batman! If this actually works this is the biggest thing in the Epic Touch Dev community!

Anyone can confirm this works...other than the OP?
[Samsung Epic 4G Touch] sling:
Thank you thank you thank you!!!!!!!!
[Samsung Epic 4G Touch] SantinoInc:
If I have a totally stock right out of the box phone this will work right? What about getting CWM recovery on to the phone after using this method? Can I just install it via the CWM app?
[Samsung Epic 4G Touch] coldblooded79:
Oh hell yes.

sent from my Epic 4g Touch

---------- Post added at 07:28 PM ---------- Previous post was at 06:43 PM ----------

Yes it works on stock. No on clockwork. Just tried and "installed" but no go on booting into clockwork. I pretty sure that your kernel needs support for clockwork. We have the stock kernel which doesn't . I did install tegrak overclock, so that does allow overclocking, governor choice, etc:D
[Samsung Epic 4G Touch] sfhub:
I have a plan to integrate CWM into this, but need to get some ducks lined up first. For now, just enjoy your rooted stock EG30.
[Samsung Epic 4G Touch] sling:
hehe I was just getting ready to push the button.

I will hold off till CWM is added.

Thanks again sfhub this thread deserves sticky status now
[Samsung Epic 4G Touch] coldblooded79:
1.4 stock kernel with tegrak.

sent from my Epic 4g Touch
[Samsung Epic 4G Touch] topgnat:
@OP

Just a thought

May be we can get CWM from Chris41g's [ACS][KERNEL][ODIN] Stock Pulled Repacked with CWM5, this will maintain stock kernel.

And then run this script to get root and busybox..!?

Will this work on Chris41g's kernel?
[Samsung Epic 4G Touch] flyboy1100:
Thanks, maybe now I will finally root
[Samsung Epic 4G Touch] sling:
If OP can cram CWM into it leaving everything as is hmm Winning!

We will be able to flash rom zips from sd card/internal storage not having to tamper with stock kernel.

That's great news seeing LOS is a major concern to many...including me.

The last thing I want to do is touch kernel until official patch hits which is the reason Ive held back on root
[Samsung Epic 4G Touch] musclehead84:
Awesome. Worked like a charm. Have root. Thank you so much op.

Sent From My Evo Killer!!!
[Samsung Epic 4G Touch] _MetalHead_:
Can confirm it works beautifully. This is EXACTY what I have been waiting for since I got the phone on release day.

OP, I really can't thank you enough, because of you my phone is finally rooted and I can move on with my life. From the bottom of my heart man, THANK YOU.

Cheers!
[Samsung Epic 4G Touch] musclehead84:
I agree. I really appreciate I as well.

Sent From My Evo Killer!!!
[Samsung Epic 4G Touch] RobbyRob:
Could not have been smoother. Thanks OP!
[Samsung Epic 4G Touch] puckchaser:
Worked like a champ for me too! Appreciate it!
[Samsung Epic 4G Touch] hijewpositive:
This was totally amazing... i finally rooted my epic touch cause this is exactly how i wanted it rooted. Thank you!
[Samsung Epic 4G Touch] maddoggin:
does this work with eg31?? had to restore my phone and now i need to root again but dont know if this works with eg31??
[Samsung Epic 4G Touch] Sam Sung:
Thanks for your responses. 3rd time is a charm, finally rooted, and now have the SU app icon!

At this point, I want root for the apps and control and security they provide. However, I'm unsure of what risks might be associated with being rooted. Is there a good, straightforward primer available that explains any precautions one must take when rooted (if any)?

Edit: Typing su in terminal does produce the desired results. Thank you!
[Samsung Epic 4G Touch] sfhub:
It works fine to root EG31.

I'm in the process of adding chris41g's update E31+CWM so you might want to hold off a little bit while I get it tested and uploaded.
[Samsung Epic 4G Touch] dette:
If I am on another kernel, can I use this to return to stock? Or will that cause a brick if I try to install EG30 over a custom kernel (LoStKernel). Thanks.
[Samsung Epic 4G Touch] sfhub:
All the testing I've done is between EG30, EG30+CWM, EG31, and EG31+CWM, using the stock E4GT ROM, so I can with confidence swapping between those will work fine.

However if your custom ROM came with its own kernel, they may have made changes to the initramfs of the kernel that the ROM depends on, so the ROM might no longer be compatible with a stock EG30/EG31 kernel. It should work in many cases, but I cannot say for sure whether it would work for a particular kernel/ROM combination.

Though, if something does break, you should be able to just put your previous kernel back and fix it.
[Samsung Epic 4G Touch] sfhub:
Ok, first post updated with chris41g's EG31+CWM repack.
[Samsung Epic 4G Touch] lazloe:
Took me a couple tries but i was able to get this done. The only other easiest root i have ever used was the z4root...

I have 1 issue that is affecting me, and it hurts a lot..i have lost the ability to use my camera. When i bring up the camera it shows video and focuses, but i have no button or interface.

I have not yet tried unrooting and testing, but would like to know if anyone else is having this issue.

Thanks.
[Samsung Epic 4G Touch] sfhub:
If all you did was root, it is highly unlikely (I would say impossible) it had anything to do with your camera problem. For an explanation, see FAQ #E8 in the 2nd post. That is for LoS, but the reasoning is the same.

If you installed EG30+CWM or EG31+CWM it is also doubtful those are the CAUSE of your camera issue, but maybe some latent issue was exposed when the dalvik-cache and cache were cleared.

I just went back and tested EG30, EG30+CWM, EG31, EG31+CWM and the camera worked for all of them (this is with stock EG30 ROM)

A lot of people have done this root method and not one has reported any issues with their camera.

Can you list what software you started with and what actions you did?
[Samsung Epic 4G Touch] eman3316@optonline.net:
So I dove in last night and rooted...Hopefully this time I do not suffer the same LOS fate I did with my first E4GT which I rooted when root was first achieved for this phone. LOS did not show it's head until the day I rooted and now on my exchanged device I haven't had one in over month and a half stock.

Installed the ACS Ice rom and then loaded the pulled stock kernel from here...We will see how it goes although the stars are telling me I should have just left it unrooted:(
[Samsung Epic 4G Touch] slvrap1:
Longest part of the process was downloading the files, thanks for your hard work !!
[Samsung Epic 4G Touch] Sam Sung:
So we could bounce between EG30 and EG30+CWM via the phone? That's great!

To clarify, from terminal at the sdcard/000root dir, just type "install-boot-eg30-cwm.sh" to install the clockwork mod? Then the same for EG30.sh to bounce back (I'm rooted using option A at the moment)?
[Samsung Epic 4G Touch] sfhub:
See Reference Section D, essentially (do not type $ or # signs):

This would install EG30+CWM

This would install EG30
[Samsung Epic 4G Touch] Sam Sung:
Thanks for the info, and thanks for your willingness to answer what must seem to be endless questions :) .

I did go ahead and install cwm, and having done so, see no reason to uninstall! What a useful app! I'm on a good path now!

Again, thanks for your efforts and educational responses. Much, much appreciated.
[Samsung Epic 4G Touch] tweeker404:
Worked a treat!

Thank you for your efforts.
[Samsung Epic 4G Touch] CharlyDigital:
Thank you for the root! To be honest I have it dialed in but wanted to add tether and remove bloat. Now I notices on reboot signal was there and about 15 sec later I had no service. Never had LOS before so not sure that is what I got as it came back up 10 secs later.

Thanks again
[Samsung Epic 4G Touch] eman3316@optonline.net:
You will see the symbol show up in a reboot. That is not an LOS but a normal startup process.
[Samsung Epic 4G Touch] CharlyDigital:
Yes I had seen on reboot then had signal and then symbol came up for a little bit but reconnected. Not worries about it since LOS sounds like a lot more than just that. Thank you for the response though. I should have been more clear.
[Samsung Epic 4G Touch] revengesrage:
Thanks for this root really wish this was out a month prior when I flashed my phone for the first time using odin, I have a flash count of 2 now, I try to avoid using odin for warranty purposes.

Recently I had to unroot my phone again and I used this method to re root it, worked perfectly Thanks :D
[Samsung Epic 4G Touch] DataHawg:
I had my phone since October 16th and never saw a Los before. I rooted with this method last week and kept the stock ROM. Still haven't seen Los. I have been travelling on the Oregon Coast for a few days where signal has been very weak at times.
[Samsung Epic 4G Touch] Megatr0n.:
If I followed the bubby method and have root + SU with the stock kernel, how would I go about getting CWM installed with this method?

Could I just skip the part that installs root on the phone and go to installing CWM, or would I have to unroot my phone and start over?

NVM: I was able to install CWM without having to unroot.
[Samsung Epic 4G Touch] sfhub:
If you want the yellow triangle to go away, you should ODIN the stock pulled EG30 kernel listed in the reference section. After that your yellow triangle will go away.

Then use this package to root and install CWM and you won't have any yellow triangles.

Doing it your way works also, just won't get rid of yellow triangle.
[Samsung Epic 4G Touch] lazloe:
Thanks for checking on this for me. I didn't think the process did anything directly either but I needed to make sure. I knew something was affecting it though that could do so only after root was gained.

I did notice there were no other camera issues reported as well, which set me to ponder the issue further.

I backtracked any softwares I installed after the rooting, although none of those should have affected the camera either.

It dawned on me.. just as I pressed 'ok' to reset my phone.. what the issue probably was. I had previously installed Cahinfire3d (but before root, not after..) and I totally forgot about it. It was not active at the time but I would say it was the most likely cause of corrupting the camera interface.

I'm set back up again and do not wish to test the theory...
[Samsung Epic 4G Touch] sfhub:
Thanks for taking the time to update us on the likely cause of your camera problem.
[Samsung Epic 4G Touch] ebuechler3:
if i install eg31 stock kernel will i lose root and cmw?.. i was trying to match it up with my e31 modem. thnks
[Samsung Epic 4G Touch] sfhub:
This method roots the ROM, so it stays regardless of which kernel you install.

There are 2 EG31 kernels provided, EG31+CWM and EG31. If you install the EG31+CWM kernel then you will keep CWM. If you install EG31, then you will have stock recovery.
[Samsung Epic 4G Touch] kireol:
I ran this on mine.

Everything looked like it was fine. It finished and rebooted.

I ran titanium backup and it can't get root.

I ran the install-eg31cwm.bat or whatever and that said it ran fine and it rebooted, but that didn't work either.

Phone:Model SPH-D710

Android: 2.3.4

Build number:GINGERBREAD.EG30

any ideas?

EDIT: I simply rebooted and reran it. It worked the second time.
[Samsung Epic 4G Touch] ebuechler3:
In my auto root folder there isn't a e31+cwr. There's a eg30+cwr... That's what is confusing me. If i run the eg31 bat, is that the same?
[Samsung Epic 4G Touch] ebuechler3:
i guess i can use odin to put cwr on eg31, right?
[Samsung Epic 4G Touch] Sam Sung:
eg31+cwr should be in eg30auto.zip. Check C:\eg30auto.zip\eg30auto\copy2sd\000root. Or, you could just unzip to C:\ and type runfirst.
[Samsung Epic 4G Touch] mikegoldnj:
Suddenly...problems

I had originally rooted using the Odin method, but then started getting LoS and horrible battery life so I un-rooted using Odin.

I then rooted using this method and everything seemed fine. I then flashed Calkulin's ROM but, again, started seeing LoS so I restored the NAND backup I had made of the stock root.

Now I am getting random FCs in different programs, screen becomes unresponsive.

Tried repairing permissions, wiping Dalvik, wiping cache.

Anyone else having these issues?
[Samsung Epic 4G Touch] Sam Sung:
I've just recieved Marke notification of an update for SU. Will updating SU cause any issues with this root?
[Samsung Epic 4G Touch] Imadroider:
No

10 char

---------- Post added at 11:51 PM ---------- Previous post was at 11:42 PM ----------

I'd wipe and start fresh. There's nothing wrong with Calk's rom, its just the kernel he uses that some phones don't like. The only way I avoid los is by running the stock kernel, no matter what rom I'm on. I'm currently running Calk's rom with stock kernel and have no los. Flash his rom again then flash a stock EG31 kernel (found all over the dev forums) and you shouldn't suffer any los.
[Samsung Epic 4G Touch] sfhub:
As far as this package is concerned, those are just files it needs to install and uninstall, so adding newer versions of existing files are fine. You'd still be able to unroot later on if you choose to.

As to whether it will affect your root, depends on what the update does. For example, earlier 3.0 updates caused people to think they lost root because (IIRC) the database of which apps got root permissions wasn't behaving properly and also on some platforms, apps in the phone startup couldn't get root like they could on 2.3.6.3. They fixed those problems, but just a word of caution that any update can change behaviors. My motto is mostly if it ain't broke, don't fix it.
[Samsung Epic 4G Touch] Sam Sung:
Good reasoning. I have to agree. And I am loving my rooted Epic and have learned much via this thread.

In A) References, I've noted that there are now subsequent versions of eg30auto.zip. adb, superuser and the zimages are all larger (I looked, but saw no reference to the changes). Are there significant changes between the old and new versions. Should those who rooted with the original version run the new?

Also, I'm assuming that these kernels are all still odexed. Any plans to deodex to acommodate the noCIQ mod?

Again, Thanks!
[Samsung Epic 4G Touch] xlGmanlx:
@OP - I now flash the EG31 TAR to go back to stock then flash my custom ROM's and before I do that I use your auto root method, thanks!
[Samsung Epic 4G Touch] sfhub:
The newer versions are bigger because they added EG31 and EG31+CWM (thanks chris41g). There are some improved scripting logic to handle error cases and menu reorganization, but the core functionality is the same, so there is no reason to use the newer ones if you have no changes, but it won't hurt either. If you switch to EG31 (using the ODIN tar file), then to keep your kernel in sync, you probably want to use the newer package, which includes both stock EG31 and EG31+CWM repacked.

The linux kernels themselves have no concept of odex/deodex. That is a concept introduced by a higher layer, the java VM from Android. I have no plans to do any ROMs, as there are plenty of choices already. My goal was just to have a simple reliable ROOT where people could get CWM with minimal effort and avoid yellow triangles and flash counts. Once you have ROOT and CWM, that opens up a large world of possibilities, of which there are many good choices to fit many different needs.

The noCIQ mod is probably 95% done in the ROM. I believe there is an entry in the init script that starts up a daemon in the kernel image, but it'll be basically dormant if nothing is passed on to it by the ROM, so if your ROM removes CIQ, that is pretty much good enough. If necessary, I'm sure the ROMs will include there own kernels to really remove CIQ.
[Samsung Epic 4G Touch] Sam Sung:
Thanks. That gives me clarity :).
[Samsung Epic 4G Touch] eman3316@optonline.net:
Just want to say that flashing the stock kernel and cwm back through terminal emulator after flashing roms that use other kernels other just makes this even better then before! I can now flash any Rom on the go and throw back my stock kernel without a problem.

I know I said thanks already but this deserves another one! I just gave you my 5 thanks I was permitted for the day!

Hope ICS doesn't come out tonight because I won't be able to thank them...lol
[Samsung Epic 4G Touch] Vegasrich:
So I can flash roms and kernels and go back all through cwm?
[Samsung Epic 4G Touch] sfhub:
Just be aware that not all combos may work well together and if you overwrite the kernel (which you may do inadvertently through a ROM) it also gives you whatever recovery version # (including stock recovery) was packaged with that kernel.
[Samsung Epic 4G Touch] ogeretla:
what are the chances someone will build a tool to add CWM to our own stock Kernal and rom? I am guessing that is possible? I really don't wanna loose everything and flash someone else's setup if I don't have too.

Thanks a Million for the easy root though!!!!!
[Samsung Epic 4G Touch] xlGmanlx:
doing option "C" after you have rooted your stock ROM will allow you to have stock EG31 ROM plus CWM w/root. THIS IS THE VERY TOOL :D:D
[Samsung Epic 4G Touch] Sam Sung:
Whoops...hit the thanks button instead of quote. :o

If I understand your question, I think it is moot, given the functionality of this root. One convenience is restoring from a cwm backup, which will restore your setup back exactly. That's the beauty of it. You can try any other rom or kernel and always get back to where you started. Unless you permanently brick your phone, of course.
[Samsung Epic 4G Touch] xlGmanlx:
@OP - Any thought to being able to do a combo kernel/recovery/ROM option? It would be like a scripted version of ODIN, Calk's format all, and CWM haha
[Samsung Epic 4G Touch] Sam Sung:
Gotgohan, the log shows that you're not rooted. I would try: disconnect from your PC, shut the phone down, turn it back on and start again, being sure to follow the requirements (USB debugging, etc.).
[Samsung Epic 4G Touch] ogeretla:
that is still not *my* stock rom though, that is one from a different phone. i want to be able to add it to *mine*, not the stock from another phone.
[Samsung Epic 4G Touch] DevilStrider:
Thank you so much. Was waiting for this.
[Samsung Epic 4G Touch] xlGmanlx:
You won't lose any data flashing stock kernel and recovery
[Samsung Epic 4G Touch] ogeretla:
ok, that is good to know. I was confused on that part. Thank you.

so, there have been no reports of LOS with this kernel?
[Samsung Epic 4G Touch] xlGmanlx:
Everyone is different but i have had 99.99% LOS free on stock kernel. Usually the best way is to run stock to avoid LOS until Sammy pushes the fix then its on like donkey kong
[Samsung Epic 4G Touch] ogeretla:
one more thing... i have been reading all kinds of stuff, and I don't really see anything clear on the differences in the EG30 wCWM vs. EG31 wCWM? Any idea? Should i go with EG31? They are both stock? from different stock phones? is the 31 newer? thanks again!

right now my phone has EG30, so i should prob just stay with that....
[Samsung Epic 4G Touch] xlGmanlx:
EG30 and EG31 are stock kernels. Using the format, EG31 is one day older than EG30 and has confirmed differences. The most recent is EG31, but there is no way of going back to EG30, just EG12 which is recognized as the same. Both have been packed with a recovery which allows you to be on stock kernel (no los usually) but still have recovery and root etc.
[Samsung Epic 4G Touch] Vegasrich:
I've been rooted for a week.. No los at all