yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] skorchir:
Hi I have spent a lot of time running this on my Unrooted Magic with the newest Rogers Update... I have something rather interresting to point out.

It doesnt happen everytime.. but this is something you may also check!

Although I didnt get the root shell # and it just hangs after Overwriting..

I do get

Wrote shellcode 9bc4 line 268

Wrote shellcode 9bc8 line 272

Wrote shellcode 9bcc line 276

[ Overwritten 0xb0000100

usage: reboot [-n] [-p] [rebootcommand]

usage: reboot [-n] [-p] [rebootcommand]

usage: reboot [-n] [-p] [rebootcommand]

usage: reboot [-n] [-p] [rebootcommand]

usage: reboot [-n] [-p] [rebootcommand]

I left this open and opened another ADB Shell

Checking the processes using the "ps" command after running the above code a few times i see:

shell 1827 41 740 336 c005f114 afe0d08c S /system/bin/sh

root 2063 1 196 12 c00686b8 b0000100 T reboot

root 3032 2 0 0 c0034c00 00000000 D audmgr_rpc

shell 3070 1827 656 284 c005f114 afe0d08c S /data/local/bin/m6

shell 3071 3070 196 16 c00686b8 b0000100 T reboot

shell 3076 64 888 352 00000000 afe0c1bc R ps

Notice...the reboot command running as root ??

And if you run it multiple times :D

root 31087 1 196 12 c00686b8 b0000100 T reboot

root 31139 1 196 12 c00686b8 b0000100 T reboot

root 31207 1 196 12 c00686b8 b0000100 T reboot

root 31213 1 196 12 c00686b8 b0000100 T reboot

root 31242 1 196 12 c00686b8 b0000100 T reboot

root 31348 1 196 12 c00686b8 b0000100 T reboot

root 31354 1 196 12 c00686b8 b0000100 T reboot

root 31357 1 196 12 c00686b8 b0000100 T reboot

root 31429 1 196 12 c00686b8 b0000100 T reboot

root 31443 1 196 12 c00686b8 b0000100 T reboot

root 31450 1 196 12 c00686b8 b0000100 T reboot

root 31539 1 196 12 c00686b8 b0000100 T reboot

root 31621 1 196 12 c00686b8 b0000100 T reboot

root 31696 1 196 12 c00686b8 b0000100 T reboot

root 31720 1 196 12 c00686b8 b0000100 T reboot

root 31737 1 196 12 c00686b8 b0000100 T reboot

root 31740 1 196 12 c00686b8 b0000100 T reboot

root 31779 1 196 12 c00686b8 b0000100 T reboot

root 31844 1 196 12 c00686b8 b0000100 T reboot

root 31956 1 196 12 c00686b8 b0000100 T reboot

root 32008 1 196 12 c00686b8 b0000100 T reboot

root 32054 1 196 12 c00686b8 b0000100 T reboot

root 32090 1 196 12 c00686b8 b0000100 T reboot

lol
[myTouch 3G, Magic Android Development] xaueious:
Instead of following what the op of the thread put, read the thead.

It's a little tricky to get the root.

Some more tips

run command "while true;do /data/local/bin/m6;done" instead

run the script right after powering up the phone

as the script runs, immediately launch some apps

one person reported starting gmail did the trick for him

edit: doesn't seem like this applies to the magic
[myTouch 3G, Magic Android Development] skorchir:
Ya Ive tried all that and spent hours trying over and over with no success of getting the root prompt.
[myTouch 3G, Magic Android Development] ajhuddy:
So the question is...once this script gains root access - what next?
[myTouch 3G, Magic Android Development] bcrook:
I would want to flash a custom recovery, then you can flash a rooted ROM:

flash_image recovery /sdcard/recovery.img
[myTouch 3G, Magic Android Development] Sami88:
Has anyone been able to do this?
[myTouch 3G, Magic Android Development] BeerGood:
I don't think you'll be able to do that right away. If I manage to get a root shell the first thing I'll do is replace my '/system/bin/su' and '/system/bin/sh' with the one from my rooted Magic. Something like this:

- Before running the exploit place a copy of a rooted su and sh on the phone:

adb push sh /data/local

adb push su /data/local

adb push m6 /data/local

adb shell

chmod 755 /data/local/m6

while `true`;do /data/local/m6;done

- Now, assuming I get a root shell:

chmod 04755 /data/local/sh

chmod 04755 /data/local/su

/data/local/su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

This should give me a stable root shell with read/write access. From there I can try replacing sh and su in the /system/bin directory. I also have to make sure /system is mounted read/write after a reboot (not sure how).

Note: This exploit is known to work with the 2.6.29 kernel however the Rogers update has the 2.6.27 kernel so we may be out of luck... unless someone can confirm the .27 kernel is also vulnerable.
[myTouch 3G, Magic Android Development] BeerGood:
Just got some bad news from -bm- (one of the guys who worked on this exploit) :( I'll try to confirm this info... I'm kind of bummed out right now...
[myTouch 3G, Magic Android Development] cybik:
not fun at all :(
[myTouch 3G, Magic Android Development] skorchir:
It must be working in some way if its able to generate those processess running as root. Even though they are hung processess.
[myTouch 3G, Magic Android Development] boostnek9:
It doesnt do anything at all as this runs and looks for the exploit int he kernel.

if you download the source code for your kernel, there is a file in the security/smack folder that you can open to look for the line they exploit and the line is different in the Magic kernel than the Tattoo kernel.

This is why it wont work.. I've tried about 300 times so far and instead of me wasting my time, I decided to look into this exploit and it wont work for us.
[myTouch 3G, Magic Android Development] tertiumsquid:
It seems that Rogers doesn't whitelist phones that had previously been OK'd. I was running Cursordroid 1.2.6.1 up until Monday March 15 (data had never been cut off), when I decided to try out a couple of the 2.1 roms. Tuesday morning, my Data wasn't working. Restored my nandroid backup from Monday, and it still didn't work. Flashed the rooted Rogers 3.05 rom, and that still didn't bring it back.

I kept the new radio the whole time, though I did flash 6.35.08.29 to try and fix an offline GPS problem before the data died, but went back to 6.35.10.18 after.

I just got off the phone with a Rogers rep, and having told him that I've run the Rogers update (technically I have, in a way), he's escalated the issue to level 2, who will call me back in 48-72 hours. At that point, I'll see if they can add my IMEI to the waiver submission form (not holding my breath on that one).
[myTouch 3G, Magic Android Development] ohcanada:
guys! they do look at build number, baseband version and radio version! this is **** man....
[myTouch 3G, Magic Android Development] beav_35:
From my experence they do not look at the build number just the radio version. So you have two choices, flash the radio that they want you to have (3.22.26.17) or sign the waiver and use any radio you want. I would recommend the latter because the latest 2.xx radios work much better for me. I now get two bars in places where i would get no service and never get stuck on "no service" any more either. Also, the 2708+ radio will give you 15mb more ram which this device desperately needs.
[myTouch 3G, Magic Android Development] 3rdcoast:
I can tell you for sure that they only look at the radio version. We've been on this for what a year now? I've flashed so many times I can tell you exactly what they look for. If you're on the correct 3.22* or 6.35* radio you will not be cut off. And there is no chance in hell I'd sign the waiver.

happily running 2.2 for a long time without loosing data...
[myTouch 3G, Magic Android Development] rgbc:
Thanks for the nandroid skittleguy
[myTouch 3G, Magic Android Development] mafiakid:
Skittleguy, what recovery image are you running? Amon_RA Magic or Hero?

I tried flashing my magic with 1.76.2007 with radio 6.35.08.29 32A magic and it kept on rebooting when i enter recovery (Home+Pwr)
[myTouch 3G, Magic Android Development] mafiakid:
I figured i need to run Amon_RA's hero recovery with the new SPL and Radio.

Now when i try Nand Restore with your backup it gives me an error.

run 'nandroid-mobile.sh restore' via adb!
[myTouch 3G, Magic Android Development] kimchi0400:
You have to use Hero version recovery, the Magic version is not compatible with the newer spl/radio
[myTouch 3G, Magic Android Development] redspace10:
Just did the upgrade it reverse the root.
[myTouch 3G, Magic Android Development] bcrook:
A couple of notes:

- This update WILL revert your root. Rogers would not release a rooted build and would not release something with an eng SPL.

- New phones that have been sold in the past few months have come with the .0010 perfect SPL on them. The previous builds have been susceptible to the kernel root escalation method that is exploited by flashrec (Recovery Flasher/One-click root). That is a kernel bug so this build may have a newer, immune kernel, which will make rooting a bit more fun

- I just talked to Rogers Tech Support and told the rep that I was running a rooted phone with 1.6 on it (CM 4.2.13) and I did not need to do the update as I was immune to the bug. He said that he would make some notes on my account to ensure that I get acknowledged as someone with an updated phone

- I asked how Rogers will know which phones are updated and which are not. He didn't give me a clear answer but said that people who haven't updated with get a text message warning.

- He clarified that everyone's internet will be down for 24hrs min. Those who have updated will have it reinstated after those 24 hours.

I suggest that anyone already running a 1.6 build call technical support and make them make a note that you already have an updated 1.6 build and that you do not need to do the update. Tell them that the 911 bug was fixed in Android in SEPTEMBER (this is the bug note: http://tr.im/e911fix) and that T-Mobile pushed out 1.6 EARLY because of this bug: http://tr.im/e911tm

If you get someone who is too confused to help, ask to be transferred (politely) or thank them for their time and call back.
[myTouch 3G, Magic Android Development] jvincent66:
bcrook, which tech support number did you start with? I'm running 1.6 as well and I was looking to cut down on my wait time.
[myTouch 3G, Magic Android Development] bcrook:
Regular one - Speak to a rep, technical support, wireless, when you on hold it'll say to push 3 if you are on a data device. I didn't and they transferred me.

Total wait including Voice crap with computer was like 1 min.
[myTouch 3G, Magic Android Development] maxqc:
Thanks for the clarification. BUT why in hell will they cut internet for everyone for 24h .. OMG.. sucks
[myTouch 3G, Magic Android Development] jvincent66:
Cool, thanks. Calling now.
[myTouch 3G, Magic Android Development] bcrook:
GOod question - over on Hofo they said everyone is getting a 1month data credit.

http://howardforums.com/showthread.php?t=1613219
[myTouch 3G, Magic Android Development] jvincent66:
Wait time is longer now. Took me about 15 minutes to get through and I'm on hold with the tech guy while he checks something.

He just got back and said that since I was running 1.6 already I shouldn't be cut off and he made a note on my account. We'll see what happens.
[myTouch 3G, Magic Android Development] bcrook:
Great to know. I called relatively early (8am EST)...who knows where I got to.

Hope u got a case number.

Was he South Asian (ie. Indian/Pakistani)? I wonder if its the same guy who i got.
[myTouch 3G, Magic Android Development] jvincent66:
Doh! Forgot to ask for a case number. My guy had a french accent.

He was definitely aware of the 911 issue. When I told him that I was running 1.6 firmware he had to ask someone else.
[myTouch 3G, Magic Android Development] bcrook:
Awesome.

Everyone call - make sure tech support is giving consistent answers - get a case number and make sure they get a note onto your account.

Also, if you are adventurous, ask them how the internet reinstating system will know if a phone is updated. My dude didnt know.
[myTouch 3G, Magic Android Development] raymar23:
Rom

I hope Cursordroid is working on this since i already have an updated radio and SPL
[myTouch 3G, Magic Android Development] Taknarosh:
He is... if you bothered looking at his thread...
[myTouch 3G, Magic Android Development] :
Rogers says they check build number of 1.89 or higher and if it is not you MUST upgrade , been told that twice now.

Just got off phone, spoke to someone at Rogers office of the president, he said there are no exceptions. If you don't have Rogers Build Number greater than 1.89 , you will lose internet access.

Fix would be to replace build number in prop file with a rogers style build number
[myTouch 3G, Magic Android Development] raymar23:
Clarification

Sorry I meant a seperate Rogers ROM with just root access instaed of installing the actual update, but eitherway a new release of the current ROM is awesome, just wanted the Rogers apps, forgive me for lack of information that was not posted in previous comment. :D
[myTouch 3G, Magic Android Development] axels2009:
if i have eng SPL will it be changed after this upgrade? or they upgrade only radio and rom?

Does it keep your recovery or wipes everything?
[myTouch 3G, Magic Android Development] bcrook:
Thanks srlee for tracking that down. The guy I talked to had no idea.

Can someone who has done the upgrade pull the build.prop and post it so I know what it should look like. I can include the fix in a port file or sometihng.

EDIT: Ignore me - I have the system dump from skittleguy. Looks like this part:

ro.build.description=3.05.631.7 CL#118917 release-keys
[myTouch 3G, Magic Android Development] andfreek:
Normally OTA does not change the SPL as per my guess, but this OTA is with SenseUI, so I am afraid as they are going to change the filesystem.

Its better to wait and update if required. But remeber, if you update you may loose your non-perfected SPL.

thanks,

Andfreek!..
[myTouch 3G, Magic Android Development] fatcow167:
how do i do that?? I've updated...
[myTouch 3G, Magic Android Development] stillriza:
If you can tell me how to do that, I don't mind.

I just did the update. FYI, if you're on the latest HOFO build like I was, you have to downgrade to ver 1.xx. Otherwise it's error 155 everytime you try the update.

I used nandroid to restore to my stock rogers build 1st. The update then worked like a charm. I must say, this update does def. feel much snappier and is pretty clean. I am pleased so far and look fwd to 2.01....if it ever comes out.:)
[myTouch 3G, Magic Android Development] Thesniperz:
you can also contact Rogers via Online Tech Support.

I'll wait and see if 1.6 and above roms will be affected after they cut off the internet..

if my data is gone, i'll do the update.. *sigh*

http://www.rogershelp.com/livesupport-v6/?queueID=44 - Rogers Online Tech Support (IMO faster than calling) :D
[myTouch 3G, Magic Android Development] ma678:
Are you with Fido? I was wondering if Fido account running on HTC Magic will be affected by this update. Are we going to get a credit like Rogers users?
[myTouch 3G, Magic Android Development] DorDroid:
Need root again

I had to upgrade with the roger's ROM. I had myHero before and Roger's tech support said I was required to update. I lost root. Anyone know how I can restore root? Previously I used the one-click root. This doesn't work anymore. LMK

Thanks
[myTouch 3G, Magic Android Development] fatcow167:
any one know why I try fastboot the recovery image I keep getting fail(remote note allow)?
[myTouch 3G, Magic Android Development] ajhuddy:
I really want to stay with my CM rom. Is there anyway to do this?

Also, if I must change to the new rogers rom, do I need to un-root? I previously just did the one-click method.
[myTouch 3G, Magic Android Development] bernZ:
Because you were pushed into a perfected SPL. Try flashRec.
[myTouch 3G, Magic Android Development] fatcow167:
did! and it say I can't back up....

any other ideas?
[myTouch 3G, Magic Android Development] Johnny5Walker:
I'm running cursordroid 1.0 final right now, and i just checked my 3g connection, seems to be running fine still, just ran a speedtest and it came up at 1.9 mb/s. I dont know whats happening for everyone else, but im not going to bother with this update until my connection actually stops working
[myTouch 3G, Magic Android Development] bcrook:
The internet doesn't get killed until 6am EST on Sunday.
[myTouch 3G, Magic Android Development] zortoflaven:
Ah, I'm torn now! :(

I would really like to use the official SenseUI rom, but I love my Donut (Amon RA's). Loosing root would also be sucky, but Im sure it will be "fixed" soon enough.

If they are cutting my data if I dont update, then I guess I dont have much of a choice. I know you said you can call and tell them you are on a custom rom, but I have heard other people saying it doesnt matter and they will not reenable it without the update, no exceptions.

Also, how does cutting data fix anything? GPS and 911 can still be used fine without data... Is it just to piss people off enough to update?
[myTouch 3G, Magic Android Development] Thesniperz:
Yeah, i'm with Fido..

not sure if we're going to get a credit..

doesn't really matter to me, i have the $30/6GB and barely get even 1GB per month.. hehehe. even with all my emails going to my phone, surfing, etc.
[myTouch 3G, Magic Android Development] fatcow167:
seems like if you on fido network... you should be cut from data... since they don't know your imei and can't confirm that you have a htc magic.

the guy told me they only know I have a non - fido phone but don't know my imei. they only see it as some generic number
[myTouch 3G, Magic Android Development] bcrook:
I think the official word is no exceptions - the build version has to be higher than 1.89. I have a build.prop with the correct lines in it but it doesnt show the same stuff in the About section on CM ROM so I can't be sure if it'll work or not. Plus they said it takes 24hrs to reinstate internet, so its tough to test it.

I think killing the data is to piss people off - it doesn't make sense to me otherwise.
[myTouch 3G, Magic Android Development] Thesniperz:
well they have the same towers and if they don't know that i have an htc magic, why did i receive the same txt message..
[myTouch 3G, Magic Android Development] fatcow167:
my only thought is because I have a roger htc magic and they had my imei on file and the push out base on that.... otherwise how other rogers user didn't get that message

is it even possible?

so currently I get this stupid roaming connection, and fido don't know why either.... someone has any idea?
[myTouch 3G, Magic Android Development] dreckis604:
hi guys,,, I'm running the HOFO rom, no update to SPL nothing. I DO have root right now, can i update to this without any issues?
[myTouch 3G, Magic Android Development] stillriza:
Dont think you need to un-root. I was rooted and it applied just fine.
[myTouch 3G, Magic Android Development] Johnny5Walker:
sorry i must ahve checked the text they sent me after midnight, my bad
[myTouch 3G, Magic Android Development] Teletran:
It sounds like the fix is mandatory. A rogers rep has posted the following in the android forums:

Hi All - Just want to clarify something I've seen in a few spots.

All customers are being asked to upgrade this important 911 fix for Dream and Magic. Customer safety is the absolute priority. For those who do not download the s/w fix, internet access will be disabled until it has been completed. This will not impact voice or sms.

Customer Care **will not** re-enable access if the fix has not been implemented on your device. This will be automatically done within 24hrs.
[myTouch 3G, Magic Android Development] Thesniperz:
anyone using 1.6 and above tried calling 911 with GPS enabled?

just a thought.. :D
[myTouch 3G, Magic Android Development] bcrook:
You will lose root and gain a perfected SPL if you do this update. Flashrec is also not possible to use as the hole in the kernel has been filled.
[myTouch 3G, Magic Android Development] PurpleFries:
You can check out cursorsense 1.2.0

it's based off of the rogers rom, so it wont have internet access removed when they block ****.
[myTouch 3G, Magic Android Development] Naatan:
Bull****, for all they know I might have sold my magic and I'm using a completely different phone.

Chicken it is :cool: I'm not installing their SPL.
[myTouch 3G, Magic Android Development] dreckis604:
guys,,, no one has replied to my question? Are we okay just to do the update if we are on a rom? im on hofo rom and really dont wanna lose my internet !
[myTouch 3G, Magic Android Development] ma678:
I have the same $30/6GB plan as yours.

Just wondering what will happen if I don't update. Will Fido cut my Internet tomorrow?
[myTouch 3G, Magic Android Development] suffeks:
They will know if you are using a Dream/Magic by the IMEI. They have a list of all Android IMEI's they sold, that is probably how the blocking is going to happen. Maybe put your sim card into a Nokia for now ;)
[myTouch 3G, Magic Android Development] Thesniperz:
i guess we'll have to wait and see tomorrow..

i'm not updating until tomorrow...
[myTouch 3G, Magic Android Development] crisvillani:
Do you guys think if i update to Cursordroid 1.2.0 they will still cut my internet bc it is based on the mandatory update??
[myTouch 3G, Magic Android Development] cursordroid:
They look for the build number of the ROM. I think it has to be higher than 1.89. CursorSense32A is based on 3.05 so it should be just fine. I left the build.prop from the Rogers update untouched.
[myTouch 3G, Magic Android Development] crisvillani:
Alright cool going to update then!!
[myTouch 3G, Magic Android Development] CalvinW:
So if i install the Rogers upgrade to avoid having my internet cut off and then have a "perfected" SPL would I in the future be able to downgrade it and root my phone once again?
[myTouch 3G, Magic Android Development] cursordroid:
Or you can root your phone and install CursorSense32A-1.2.0 :)
[myTouch 3G, Magic Android Development] fatcow167:
how do you root perfect spl anyways?

everything I fine is fastboot boot.... but I always get fail: remote not allow,...

now without recovery how will i in the fututre fix this ?
[myTouch 3G, Magic Android Development] Naatan:
Let me put it this way, if they start blocking my internet (and I'm already being ripped off with my 500mb limit) I have more than enough reason to get my rogers contract canceled without a fee.

God I hate it when companies think they can do anything they want.
[myTouch 3G, Magic Android Development] smlt:
Anyone know if they're actually legally allowed to block your internet?

I mean, I do understand the 911 issue, but for everyone who already has that problem resolved (months ago, thanks rogers; priority my ass), it becomes an issue of rogers forcing their version of the software down our throats.

I'm sure it doesn't specify anywhere in the contract that I need to be running anything in particular in order to receive full service from rogers.
[myTouch 3G, Magic Android Development] Naatan:
I highly doubt it, I think they're just trying to scare customers into updating so that their asses are covered.

After all, better to cancel a couple of contracts due to them not offering the service as promised than having a couple of lawsuits due to the 911 issue.
[myTouch 3G, Magic Android Development] CalvinW:
@cursordroid

Do you have a website where I could read about it? TBH I am quite happy with Cyanogenmod and don't want to change unless I absolutely have to.
[myTouch 3G, Magic Android Development] stillriza:
yes we have replied to your question. it is posted a few pages back.

you can update from HOFO rom, but you have to be on at most ver 1.xx. You will get error 155 if you updated from the most current rom.

Flash your phone with any of the ver 1.xx and then you can update with no issues.
[myTouch 3G, Magic Android Development] cursordroid:
http://xdaforums.com/showthread.php?t=592856

Check it out. :)
[myTouch 3G, Magic Android Development] CalvinW:
Ahh, unfortunately I am a Dream user. I will consider this though when my Magic Upgrade from Rogers arrives (if ever :rolleyes:).

Also just if you phone support and tell them you won't have access to a Windows machine (true for me) they will send you an SD card with the upgrade on it. Might be worth it to get something out of this whole fiasco.