All Share Cast Dongle with Rooted Stock ROM

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Hey guys,

I noticed no one talked about this issue on forums or in an article, so I decided to post my solution that it worked for me. I will try to explain as much as I can. I also wanna say that I am not a developer. Before I start.

I AM NOT RESPONSIBLE ON YOUR DEVICE OR ANYTHING HAPPEN TO IT WHAT SO EVER. IF ANYTHING HAPPEN TO YOUR DEVICE, ITS YOUR OWN RESPONSIBILITY

Read all the way to the end
This is for Samsung Galaxy Note 2 T-Mobile (SGH-T889). I didnt try it on other variants but I believe it should work. Anyway, this method is for stock ROM only. I no longer support custom ROMs. If you wanna try it with a custom ROM then good luck. I hope it works for you.

Here is what I did:
1. Make sure you have Stock ROM 4.1.2 (UVBMD1). If you dont then go here http://galaxynote2root.com/galaxy-note-2-tutorials/how-to-unrootunbrick-galaxy-note-2-with-stock-firmware/
2. Root your device. I used ChainFire method. Here is a "How to" http://honai-android.blogspot.com/2013/06/how-to-root-galaxy-note-2-t-mobile-sgh.html
3. Try to connect. If it didnt work then download Triangle Away from "Play Store".
4. Go into Triangle Away to reset the flash counter.
5. Try to connect now. It should work for sure ^_^

Optional:
If you want Custom Recovery then:
6. Install the Custom Recovery you want. I tried TWRP
7. Use Triangle Away to reset the flash counter.
8. Try to connect. It should work

If anyone have a question please let me know. I will be more than glad to help you guys.
If I helped you please Press Thanks and Good Luck :fingers-crossed:

Note: I noticed when I go to TWRP. The dongle don't work again. So, I use Triangle Away one more time and things works back perfectly.
 
Last edited:

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Did this work with a custom kernel? In my experience it must be stock. I'd ve happy to find out I am wrong.

Sent from my GNote2 using Tapatalk 2
I didnt think about it previously. It seems you were right. It is the stock kernel. So right now i am wandering if I can flash a custom kernel. So my phone will be like this:

Custom ROM (Jedi Master 13)
Custom Kernel
Stock boot img

Is it possible?

By the way, what can you do with a custom kernel beside increasing the cpu from 1600 to 1920? btw I am just asking because I really didnt do that much research on kernel yet. Plus, Note 2 is my first android phone :cyclops:
 
  • Like
Reactions: k3v0

k3v0

Senior Member
Nov 6, 2012
561
505
0
Cleveland, Ohio
I didnt think about it previously. It seems you were right. It is the stock kernel. So right now i am wandering if I can flash a custom kernel. So my phone will be like this:

Custom ROM (Jedi Master 13)
Custom Kernel
Stock boot img

Is it possible?

By the way, what can you do with a custom kernel beside increasing the cpu from 1600 to 1920? btw I am just asking because I really didnt do that much research on kernel yet. Plus, Note 2 is my first android phone :cyclops:
In my experience no, the syscope service verifies the kernel, lack of superuser access, the sysscope binary itself, among other things. I tried a stock kernel with only init.d support added and that failed.

I have custom recovery (TWRP) and SuperSU. Triangle Away works wonders with flashing and SuperSU. There is a "sysscope blaster" module for the xposed framework that can help with more heavily modded custom ROMs. Both didn't help when I ran a custom kernel on an otherwise stock ROM.

I wanted a custom kernel primarily for init.d support to plug the data leak in my firewall app. I was also interested in overclocking and undervolting. Init.d support I manage through a workaround, so in my case I am only without OC/UV. SetCPU even on the stock kernel is a fair alternative here.

Same here I had an iPhone 3GS before this.

Sent from my GNote2 using Tapatalk 2
 

vouty

Senior Member
Dec 7, 2010
261
54
0
California
I've also been looking for a way to do all of this and will try your steps. But last time I checked, Jedi Master rom does not have the AllShare Cast utility in it. How did you get the Allshare connection utility into Jedi Master?

---------- Post added at 03:33 PM ---------- Previous post was at 03:27 PM ----------

Hey guys,

Here is what I did:

1. Rooted my stock ROM 4.1.2 using Galaxy note 2 Toolkit 4.1.0 "http://forum.xda-developers.com/showthread.php?t=1923956".
2. Installed Custom Recovery "TWRP"
3. Flashed Custom ROM "Jedi Master 13"
4. Did a Back-up using TWRP to my external SD card (Very Recommended)
5. Download and flashed "Stock boot img" for T-mobile note 2 SGH-T889. To flash the stock boot img, you can use the Toolkit:
a. Enter your phone# (My phone was #72)
b. Enter Root/Unroot option (# 2)
c. Enter #6 to flash the stock ROM related to your phone model#
d. Then follow instructions...
6. Now download and use "Triangle Away" to do its magic. I checked my flash counter and it was "1". Its alright :)
Maybe (probably!) I'm confused, but if you flash JM in step 3, then later flash the stock rom in step c, won't that overwrite your JM installation?
 

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
I apologize and wanna thank you for correcting me.

I meant "Stock Boot img"

Sent from my SGH-T889 using xda app-developers app
 
Last edited:

vouty

Senior Member
Dec 7, 2010
261
54
0
California
I apologize and wanna thank you for correcting me.
I meant "Stock Recovery"
Sent from my SGH-T889 using xda app-developers app
So step c is flash stock recovery, not stock rom? So when do you flash TWRP in your process?

---------- Post added at 03:52 PM ---------- Previous post was at 03:43 PM ----------

I see you corrected the steps, so thanks for that! Still wondering about how you got the Allshare Cast connection utility into Jedi Master? AFAIK, he removes it. Thanks.
 

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Guys it's stock boot img. It's NOT stock rom neither recovery. I did a mistake. I replay to u on the fly... but I am 100%sure it's stock boot img.


Sent from my SGH-T889 using xda app-developers app
 

vouty

Senior Member
Dec 7, 2010
261
54
0
California
Guys it's stock boot img. It's NOT stock rom neither recovery. I did a mistake. I replay to u on the fly... but I am 100%sure it's stock boot img.
Sent from my SGH-T889 using xda app-developers app
Edit: Never mind on this, just opened toolkit (which I haven't used in a long time) and I see it's right there. Still wondering about Allshare Cast in JM.

No worries, we got it! But one more question, if you don't mind. Where are you getting the stock boot img? Is this a flashable zip from somewhere, or is this done in Odin in the toolkit? Really appreciate all your work!
 
Last edited:

vouty

Senior Member
Dec 7, 2010
261
54
0
California
Success!

Hey, just wanted to report that I went through the steps and installed JM13, and then used toolkit to push the stock boot image. And sure enough, it all works! Turns out I missed AllShare Cast in JM13 before because it wasn't in the toggles. BUT, there is a widget for it that you can drag to a home screen. Tested it out and works great with the dongle. Thanks for posting all this!

Edit: I should add that anyone doing this should know that some of the kernel-related tweaks in JM will not work without it's own Saber kernel installed. So after pushing the stock boot image, which overwrites Saber and restores the stock kernel, Voodoo sound for sure does not work, and probably some of the Jedi cpu tweaks, haven't tried those.
 
Last edited:
  • Like
Reactions: jamalkhaffaf

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
I just came back home to replay ur previous post. I am very glad that it worked for u. I hope this trick will work on all custom roms based on touchwize. If there is a tester out to try my method that will be great.

I also hope this thread become sticky. Because there isn't anyone online that wrote a solution for it.

Thanks :)

Sent from my SGH-T889 using xda app-developers app
 
Last edited:

vouty

Senior Member
Dec 7, 2010
261
54
0
California
I just came back home to replay ur previous post. I am very glad that it worked for u. I hope this trick will work on all custom roms based on touchwize. If there is a tester out to try my method that will be great.

I also home this thread become sticky. Because there isn't anyone online that wrote a solution for it.
Thanks :)
Sent from my SGH-T889 using xda app-developers app
I think the big issue with this working on any custom rom is gonna be the kernel issue. JM is custom but still pretty close to stock. Or at least closer than probably any other rom. So pushing the stock kernel instead of the one the rom dev provided could cause some pretty bad things on some roms that really depend on the kernel.
 
  • Like
Reactions: dingo502

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
The best part of this trick is to have rooted ROM and AllShare cast dongle. It's much better than stock ROM not rooted. So now u can enjoy root features which everyone needs and a big screen with ur phone desktop. :D

Sent from my SGH-T889 using xda app-developers app
 

mygalaxynote2

Senior Member
Mar 9, 2013
57
0
0
Hey guys

Here is what I did:

1. Rooted my stock ROM 4.1.2 using Galaxy note 2 Toolkit 4.1.0 "http://forum.xda-developers.com/showthread.php?t=1923956".
2. Installed Custom Recovery "TWRP"
3. Flashed Custom ROM "Jedi Master 13"
4. Did a Back-up using TWRP to my external SD card (Very Recommended)
5. Download and flashed "Stock boot img" for T-mobile note 2 SGH-T889. To flash the stock boot img, you can use the Toolkit:
a. Enter your phone# (My phone was #72)
b. Enter Root/Unroot option (# 2)
c. Enter #6 to flash the stock boot img related to your phone model#
d. Then follow instructions...
6. Now download and use "Triangle Away" to do its magic. I checked my flash counter and it was "1". Its alright :)

I booted to system and followed instruction on the AllShare cast dongle. it connected to my AllShare cast dongle like a charm. It wasn't lagging or anything like that. It worked perfectly fine with instant reflection of my screen. I tested it with Games, Netflix, Movies.....

I hope it works for you guys and also hope my explanation was sufficient. If you have any questions please let me know, I will try to answer them. And if it worked for you with a different custom ROM please let me know as well.

Thumbs up please and Good Luck :fingers-crossed:

Note: I noticed that when I go to TWRP. The dongle don't work again. So, I use Triangle Away one more time and things works back perfectly.
Thank you very much for your kind and sharing it with us.
I just bought the Allshare Cast Dongle, and I'm having a real problem with this dang thing. I went from iphone3 to GN2, so I'm very noob on rooting stuff, so please bare with me.
I follwed the youtube video to root my device to TRWP custom rom/recovery, but it wont work with Allshare Cast Dongle since it is a custom rom. I did some research and people said I have to use Triangle Away to reset the binary counter to 0, so i did that, but my binary counter was still at 1! It still didnt work with Allshare Cast Dongle.
Then I used Triangle Away again to reset the binary counter, and then went into Odin Download Mode to flash the Stock Recovery. The dang Allshare Cast Dongle still didnt work!
I did remove some bloatwares before, so I'm not sure if this has to do with it.
Is there anyway you or someone can help me solve this problem?
Also, whats the difference between stock recovery and stock boot,
and could you give me the link to the Stock boot file?
I have T-mobile GN2 and I really dont want to unroot and do the factory reset... I have alot of stuff on my phone.
Thank you very much
 

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Thank you very much for your kind and sharing it with us.
I just bought the Allshare Cast Dongle, and I'm having a real problem with this dang thing. I went from iphone3 to GN2, so I'm very noob on rooting stuff, so please bare with me.
I follwed the youtube video to root my device to TRWP custom rom/recovery, but it wont work with Allshare Cast Dongle since it is a custom rom. I did some research and people said I have to use Triangle Away to reset the binary counter to 0, so i did that, but my binary counter was still at 1! It still didnt work with Allshare Cast Dongle.
Then I used Triangle Away again to reset the binary counter, and then went into Odin Download Mode to flash the Stock Recovery. The dang Allshare Cast Dongle still didnt work!
I did remove some bloatwares before, so I'm not sure if this has to do with it.
Is there anyway you or someone can help me solve this problem?
Also, whats the difference between stock recovery and stock boot,
and could you give me the link to the Stock boot file?
I have T-mobile GN2 and I really dont want to unroot and do the factory reset... I have alot of stuff on my phone.
Thank you very much
According to your description you did one mistake in your steps.
You need to flash Stock BOOT img and keep the Custom Recovery. The Custom Recovery is very useful tool. You can flash Custom ROMs, Themes, or any .zip file.
After you flashing stock boot img, then you will use Triangle Away. As I mentioned in my OP, even if you still have the counter on 1, it doesn't matter.
After you boot into the system just go ahead and connect to Allshare Cast Dongle.

I hope it will work for you. Anyway let me know if you have any problem.
Good Luck:cowboy:
 

mygalaxynote2

Senior Member
Mar 9, 2013
57
0
0
According to your description you did one mistake in your steps.
You need to flash Stock BOOT img and keep the Custom Recovery. The Custom Recovery is very useful tool. You can flash Custom ROMs, Themes, or any .zip file.
After you flashing stock boot img, then you will use Triangle Away. As I mentioned in my OP, even if you still have the counter on 1, it doesn't matter.
After you boot into the system just go ahead and connect to Allshare Cast Dongle.

I hope it will work for you. Anyway let me know if you have any problem.
Good Luck:cowboy:
Thank you for replying.
is it possible that you give me the link to Tmobile SGH-T889 stock Boot img?
Also, since I have already flashed the stock recovery, is it going to be a problem when flashing Stock Boot img with Odin?
After I flashed the stock recovery, my phone status still says modified, so I'm not sure if I'm on stock or custom recovery now.
You said you flashed stock boot img on top of your Jedi Master 13,
Do you know if it is safe for me to flash the Jedi Master 13 first and then flash the stock boot img?
thanks alot
 

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Thank you for replying.
is it possible that you give me the link to Tmobile SGH-T889 stock Boot img?
Also, since I have already flashed the stock recovery, is it going to be a problem when flashing Stock Boot img with Odin?
After I flashed the stock recovery, my phone status still says modified, so I'm not sure if I'm on stock or custom recovery now.
You said you flashed stock boot img on top of your Jedi Master 13,
Do you know if it is safe for me to flash the Jedi Master 13 first and then flash the stock boot img?
thanks alot
First I am still not responsible to anything happen to your device. but here is the way that I would do it on my own device:
1. Flash Custom Recovery TWRP. to make it easier for you to flash a custom ROM (Jedi Master 13).
2. Flash Jedi Master 13
4. Flash Stock Boot Img. as for the file, Galaxy note 2 Toolkit will download those files for you. Follow the instructions on the toolkit and you should be able to flash the Stock Boot img.
5. use the Triangle Away. it doesnt matter if the flash counter=1 nor Modified. The reason we are using Triangle Away because it "resets binaries".
6. After that connect to your Dongle :)

Note: After doing all the steps. if you went to the Custom Recovery in the future for any reason, you will have to use Triangle Away again. I noticed when every-time i go to custom recover to do something, I wont be able to connect to AllShare cast dongle. So use Triangle away to reset your binaries and you should be fine.

let me know if worked for you or if you have any other questions. I am glad to help ;)
 

mygalaxynote2

Senior Member
Mar 9, 2013
57
0
0
First I am still not responsible to anything happen to your device. but here is the way that I would do it on my own device:
1. Flash Custom Recovery TWRP. to make it easier for you to flash a custom ROM (Jedi Master 13).
2. Flash Jedi Master 13
4. Flash Stock Boot Img. as for the file, Galaxy note 2 Toolkit will download those files for you. Follow the instructions on the toolkit and you should be able to flash the Stock Boot img.
5. use the Triangle Away. it doesnt matter if the flash counter=1 nor Modified. The reason we are using Triangle Away because it "resets binaries".
6. After that connect to your Dongle :)

Note: After doing all the steps. if you went to the Custom Recovery in the future for any reason, you will have to use Triangle Away again. I noticed when every-time i go to custom recover to do something, I wont be able to connect to AllShare cast dongle. So use Triangle away to reset your binaries and you should be fine.

let me know if worked for you or if you have any other questions. I am glad to help ;)
Thank you very much for the details step by step instructions.
I've flashed stock recovery before, but I do not think my phone is on stock recovery because I have removed some bloatwares after I rooted, so i believe Samsung did not allow me to switch back to stock recovery unless I do the factory reset, and then flash stock firmware.
However, I'm not sure if that was the case since I dont know how to check my phone to see if it's still on custom or stock recovery
After I flashed the stock recovery, my phone still boots up and works just like I had before.
I think I just need to flash the Jedi Madter 13 without having to flash TWRP custom recovery again.
As far as Stock Boot .img, I dont see any option that says Stock Boot .img anywhere on gn2 toolkit, I only saw
option#3: Flash insecure Boot image Only, for adb access.. is this the right option on GN2 toolkit menu?
I'm sorry to ask you so many questions, but I just want to make sure I know what I'm doing because I cant really afford another GN2 :)
Thanks alot for your patience helping me.
 

jamalkhaffaf

Senior Member
Mar 26, 2013
125
17
0
Thank you very much for the details step by step instructions.
I've flashed stock recovery before, but I do not think my phone is on stock recovery because I have removed some bloatwares after I rooted, so i believe Samsung did not allow me to switch back to stock recovery unless I do the factory reset, and then flash stock firmware.
However, I'm not sure if that was the case since I dont know how to check my phone to see if it's still on custom or stock recovery
After I flashed the stock recovery, my phone still boots up and works just like I had before.
I think I just need to flash the Jedi Madter 13 without having to flash TWRP custom recovery again.
As far as Stock Boot .img, I dont see any option that says Stock Boot .img anywhere on gn2 toolkit, I only saw
option#3: Flash insecure Boot image Only, for adb access.. is this the right option on GN2 toolkit menu?
I'm sorry to ask you so many questions, but I just want to make sure I know what I'm doing because I cant really afford another GN2 :)
Thanks alot for your patience helping me.
Sorry for the late respond, I have a lot of work these day. Anyway, in order to solve your issue. you need to go back to the way your phone was on the first day you got it. Which means, everything stock. Then go to my OP and start from there.

This might help you to go back to everything Stock.
NOTE: this link is for International Model. It should be just fine for T-Mobile version but make sure you download the RIGHT FIRMWARE for
T-Mobile model (SGH-T889). One more thing, watch the video all the way to end make sure you understand then do it step by step.
http://galaxynote2root.com/galaxy-note-2-tutorials/how-to-unrootunbrick-galaxy-note-2-with-stock-firmware/

Note: Custom Recovery is used to flash custom ROMs and do nand back-up, also some other useful things. So, I strongly recommend that you keep custom recovery.

I really hope this will help you. I guarantee if you went back to stock and follow the steps then your phone should be connected to the dongle.
Good luck:fingers-crossed:

If you bumped into problems let me know as well. happy to help ;)