yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] graydoubt:
The OTA_Supersonic_1.47.651.1-1.32.651.6_rootsafe-Sprint.zip "broke" my wired and wifi tethering, well, the su mechanism, I suppose.

Quick question before the rant: how does "adb shell" get a root shell? I'm curious about the details, whether there's a config setting in /system/etc somewhere, or what the "proper" way is.

Backstory:

My Evo is fully rooted (via toast's "step 1 and 2" instructions). I had tried a few roms, but wanted just stock with root access, so I flashed flipzmode's Supersonic_1.32.651.6_rooted.zip.

After OTA_Supersonic_1.47.651.1-1.32.651.6_rootsafe-Sprint.zip, I fired up wired tethering, which told me it couldn't start.

adb shell gave me a non-root prompt.

adb remount was a no-go ("remount failed: Operation not permitted").

"su" also didn't work, but I tried /system/xbin/su and that did give me root (and let me exhale, ha).

I saw whitslack's post about /system/bin/su needing to be a symlink, which mine wasn't, so I made it one. After remounting /system via "mount -o remount,rw ...blabla", killed /system/bin/su, and "ln -s /system/xbin/sh /system/bin/su".

I fired up another shell, which was still giving me a non-root prompt. I'm rather new to android, so I wasn't sure what config files needed to be set and just tried to chmod 4755 /system/bin/sh. that worked, and it gave me a root shell, but "adb remount" still didn't take and both tethering apps still don't work. I tried to go into the setup in both apps and use "Re-install binaries/configs" but it didn't help. I'm probably missing something. Not sure if the update messes with kernel features or what.

I did a nand backup just before flashing, so I reverted back to that for now. I haven't yet tried to flash the su-2.1-e-unsecure-signed.zip. I guess that's next on my list, but I guess I'm interested in the android innards. Just flashing a file is great, but I like to know what this thing i'm flashing is actually doing.
[EVO 4G Android Development] kpoz:
If I completed the command to overwrite the build.prop, but then restored a previous ROM, is it safe to delete the build.prop file that I can clearly see in the root of my sd card, or was that always there?
[EVO 4G Android Development] Jaytronics95:
There have been reports that this update breaks 4G. Please post a reply stating your 4G status if you are in a 4G covered area and have installed this update.
[EVO 4G Android Development] whitslack:
Nothing in the system looks for build.prop anywhere on the SD card, so you can delete it from there.
[EVO 4G Android Development] whitslack:
You shouldn't change sh to setuid-root. Then there's no way to get a non-root shell. You should have followed the instructions where they say, if you're having problems with su, install the su-2.1-e-unsecure-signed.zip. That zip takes care of giving you the newest version of Superuser.apk and also fixes up your /system/xbin/su binary, permissions, and the symlink from /system/bin/su.

To answer your question, adb determines whether it should start a shell as root (and whether adb remount can work) by the ro.secure system property. That property is initialized by the /default.prop file, which resides in the initramfs image on the boot partition, which is flashed by boot.img inside the firmware.zip inside the 1.47.651.1 update zip.

Also, I just want to say that Wireless Tether works fine for me, and I haven't done anything other than install the update zip that I released in the OP and the su-2.1-e-unsecure-signed.zip. (Actually, I did the superuser update *before* the OTA update, but it doesn't matter in which order you do them.)

EDIT: If you want to know what any update zip does, look at the file META-INF/com/google/android/update-script inside the zip (or updater-script in that same location). It's a pretty readable script that tells you every operation the update zip is going to do to your phone.
[EVO 4G Android Development] HPLouis:
Hello all,

I have the same problem (no wifi). Where can I find the su-2.1-e-unsecure-signed.zip to fix it?

Thanks, Henry
[EVO 4G Android Development] whitslack:
No Wi-Fi at all? If your Wi-Fi interface isn't working at all, then something is seriously wrong, and you should start over with a clean stock rooted ROM.

If you mean to say that Wireless Tether isn't working for you, you should install the latest superuser permissions update, as mentioned in the instructions in the OP.
[EVO 4G Android Development] HPLouis:
I apologize. I meant wifi tethering.
[EVO 4G Android Development] HPLouis:
It's fixed.

Thanks,

Henry
[EVO 4G Android Development] Rene2.5RS:
Would still like someone to test this update and report if 4G is working or if it is still staying in a search loop
[EVO 4G Android Development] mrsexkey:
When i run wifi tether it gets stuck on the start tetherng page. it wont start. then when i press home to leave the tethering app, my overall wifi is broken. wont start at all. i am able to use titanium backup etc. i had to install the su zip after i flashed the sprint update zip to get su. any clues ?

edit: The only way for me to get wifi back is to reboot the phone.
[EVO 4G Android Development] whitslack:
All I can say is, Wireless Tether works perfectly for me. Here is exactly the sequence of changes I made to my phone:

After unlocking NAND by following Toast's Part 2, I flashed Flipz's 1.32.651.6 stock rooted ROM.

Then I flashed the 1.39.00.05.31 radio baseband.

Then I flashed su-2.1-e-unsecure-signed.zip.

Then I removed the Sprint apps except for Visual Voice Mail.

Then I flashed OTA_Supersonic_1.47.651.1-1.32.651.6_rootsafe.zip as linked in the OP.

That's all I did. su works, the Superuser Permissions app prompts for permission, Wi-Fi Tether works, and wimax_mtd reports the latest firmware version is installed on the MTD partition.

If you're having a different experience, you must have done something differently. (You don't have to remove the Sprint apps like I did. In that case, you should use the alternate update zip, which retains the updates for them, but that won't affect anything we're talking about here either way.)
[EVO 4G Android Development] kpoz:
So, I'm here to report back. I spent two hours today learning a bit about adb and I successfully entered the following command, as instructed by you and Joeykrim, because I was getting the install error:

basic adb command:

adb push c:\downloads\reboot-ruu6 /system/bin/reboot

The push of reboot-ruu6 was successful and I attempted to install the update. The install of the rooted ROM, however, didn't work. I noticed that my error is "/system/app/GSD.apk" and not "/system/bin/reboot". Any advice?
[EVO 4G Android Development] whitslack:
Glad you're learning. Looks like your /system/app/GSD.apk doesn't exactly match the one from the stock 1.32.651.6 system. There's no telling how many other files don't match exactly, so you might want to seek an alternative to this incremental update. Otherwise, you could flash the stock rooted 1.32.651.6 ROM and start over with this update from step 1.
[EVO 4G Android Development] kpoz:
Ok, so I just quickly tried wiping Joeykrim 1.0.8 and going back to the rooted supersonic 1.32 ROM. I tried installing and got another error, exceot this time with was a "system/bin/debuggered" error. I tried pushing the reboot-ruu6 again, which was successful. Then I tried reinstalling again and I received the same "debuggered" error. I'm now doing a nandroid restore.
[EVO 4G Android Development] kpoz:
Tried that, and was unsuccessful :(
[EVO 4G Android Development] whitslack:
I would wager a guess that you flashed the 1.32.651.1 stock rooted ROM. That's the wrong one. This update only applies to 1.32.651.6. Flipz released two stock rooted ROMs: 1.32.651.1 and 1.32.651.6. You want the .6.
[EVO 4G Android Development] kpoz:
Good point. I'm going to try flashing .1, then Joey's ROM containing .6, then the update.
[EVO 4G Android Development] whitslack:
If Joey made any customizations to the stock system when he made his .6 ROM, then I seriously doubt whether this update will apply on top of it. Also, unless Joey's ROM is an incremental update (doubtful), there's no point in flashing any other ROM first.
[EVO 4G Android Development] kpoz:
Ok, so I pushed the reboot-ruu6 file and tried installing, and I got the system/bin/reboot error, which I guess is a good thing. However, I pushed the reboot-ruu6 file, so there should theoretically be no errors. Any ideas?

I tried pushing that pesky reboot-ruu6 file twice, and I've now got it working! I'm installing the new unrevoked2 rooted update, however.
[EVO 4G Android Development] joeykrim:
GSD.apk was not modified in my ROM. my guess is perhaps it was removed either thru my Online App Removal or manually?

only stock file i replaced was reboot. tried to keep it as close to stock as possible. im not big into the flashy themes, and pointless tweaks, etc.
[EVO 4G Android Development] whitslack:
You can verify whether it was modified. Pull it onto your computer somewhere and run sha1sum on it. (Good luck if you're on Windows.) The SHA1 checksum of the stock GSD.apk from 1.32.651.6 is ea8ce8c36481bdaf1a13a9782ed449db5d40a962.

EDIT: I just checked, and the GSD.apk inside Flipz's stock rooted 1.32.651.6 ROM indeed has that same SHA1.
[EVO 4G Android Development] frankenstein\:
I've done both this method and Calk's method to upgrade my stock rooted .6 rom as released by Flipz. This patch method applies perfectly once I restore all the bloatware I cleaned off the phone...

However, no matter which method I use I loose 4G service. In order to regain it I have to reapply Toast's part 2 root process, restore the previous radio version and restore the nandroid backup I did before applying the update/s.

wimax_mtd reports the correct wimax version for the update. baseband version is updates properly as well. It works correctly with this method as released. I had to make a few tweakes to Calk's release to get the wimax update to apply correctly there but I think he's corrected his process now...

In both cases, with the updates applied correctly across the board. However, once upgraded, 4G scans constantly but never finds the network or connects. This is in an area I get 4 bars of signal when I'm running flipz stock rooted rom and the previous radio and wimax versions.

Working:

Build: 1.32.651.6

baseband 1.39.00.05.31

wimax v24722

Not Working:

Build: 1.47.651.1

baseband 2.05.00.06.10

wimax v25641

---edit---

In both cases there has been much talk about 4G mac addresses being changed but this hasn't happened to me. Either method has left my mac address a match for that listed on the back of my phone under the battery. mac address isn't the problem...
[EVO 4G Android Development] whitslack:
Thank you, frankenstein\. That's a very thorough, clear, and helpful report.

I am wondering if maybe the WiMAX update would work if we allowed the official recovery.img to flash as part of the update, as it does in the official OTA update. As long as we still have a working su on the system, it would be possible to reflash the recovery to a custom recovery after the update.

In that scenario, the only difference between the official OTA update and the hacked one would be the preservation of setuid-root on /system/xbin/su.
[EVO 4G Android Development] frankenstein\:
When I first flashed the firmware bits of Calk's it included the recovery but I wound up in the scan loop there as well. It could be worth a try but somehow I don't think this is the key...

I've read someplace that this is happening to others as well, not just those of us on the board but those applying the ota directly from htc as well, that they are aware of it, and that they are sending people to sprint stores to have the issue corrected. I don't know if this means they are exchanging the devices or doing something to them there in the store though. I've only read this in one place since looking for info on the problem and I can't verify it as true. What's worse, I can't remember where I came across it... phandroid, engadget or here someplace I would think but I haven't been able to find it again to see if any additional info has been added. :(

I'll be glad to try it again if I can help solve this for us / everyone. I'm quite good with the backout at this point... :)
[EVO 4G Android Development] whitslack:
Good to know. Thanks again.

Now I'm wondering if maybe one of the "properties" shown in the output of wimax_mtd was set incorrectly in the update. Perhaps that's what is being modified by Sprint at the stores when people bring their phones in. I don't know why it would affect some people and not others, though.
[EVO 4G Android Development] whitslack:
Would it be helpful to you for testing if I re-rolled a new root-safe update zip with the recovery.img left in it? If so, do you want it with or without the Sprint TV and Sprint Qik app updates?
[EVO 4G Android Development] kjprice26:
i want to do the update but i need some help. im using fresh's latest rom and i want to know do i need to use both updates on the first page to make this sucessful of just use the one that says the rooted one. please help
[EVO 4G Android Development] frankenstein\:
I thought something similar.

I also thought about if it might have something to do with the version of wimax that your comming from, i.e. if it's a patch rather than the full image. The wimax image I have presently, and have had each time I've tried this, is the wimax image from the engineering pc36img.zip that toast released in root part 2. I know there is another version that was released with the .6 update but I've never applied it as it's not included in flipz rom. I don't think anyone has since the raido released with the .6 ota worked with the wimax image from the engineering build image.

I can tell you that if I do a wimax_mtd with this wimax image, it's much smaller that the one in the engineering wimax image. doing wimax_mtd with the engineering build runs well beyond the buffer on my screen but after flashing the image in this release the entire contents is displayed in the buffer, start to finish. I can see the command I typed and the full output of the result. Not so with the engineering wimax image.
[EVO 4G Android Development] whitslack:
If you're using Fresh ROM, you can't do the incremental update at all. It's only for the rooted stock ROM.
[EVO 4G Android Development] frankenstein\:
I'll be glad to give it a try.

Leave everything in. It's a simple matter for me to copy the necessary .apk and .odex files back from the folder I put them in on the sdcard to the /system/app dir and I've removed quite a few more that I'd have to put back as well.

I'll just do that when I copy back the build.prop to replace flipz and revert the bcm4329.ko file I modified for wireless n functioinality. yes, it checks the .ko file as well before doing the update...
[EVO 4G Android Development] frankenstein\:
The wimax image in the eng build, wimax_24722.img is 8,781824 in size.

The wimax image in this build, wimax_25641R01.img is 7,864,320 in size.

The wimax image in the .6 release, wimax_25043_R04.img is 7,864,320 in size.

It looks like this build and the .6 build are the exact same size. I wonder if they are the same in all respects.
[EVO 4G Android Development] whitslack:
Okay, here it is: OTA_Supersonic_1.47.651.1-1.32.651.6_rootsafe-recovery.zip

The only difference between this one and the official OTA zip is that the updater-script in this one has one extra set_perm line to preserve the setuid-root on /system/xbin/su so you don't lose root access. (Well, and also I had to resign it using my own key, so naturally it won't flash with a stock recovery.)
[EVO 4G Android Development] davidlightle:
Just a thought, but I've heard people mentioning something about "unauthorized" 4g towers. Maybe, frankenstein, you're in an unauthorized area, so previous to the update you were able to get on, but no longer for this reason? (It would also explain if the OTA versions were behaving similarly with not truly connecting to 4g)
[EVO 4G Android Development] kjprice26:
im new here but my rom is rooted and im using the latest fresh 0.5.3. so will this not work. even if my rom is rooted but on fresh 0.5.3?
[EVO 4G Android Development] frankenstein\:
This is an interesting thought but I have to wonder because if I go look at sprint's 4G coverage map it shows me as being in a nice blue area. I would certainly expect to be able to use that/those tower/s. Why would they indicate coverage but not authorize use of those tower/s?
[EVO 4G Android Development] frankenstein\:
This won't work for you. you have to be using a stock rooted rom, not a custom rom, for this to work.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] iainbp:
im trying to install a new radio but when extract the file it has not got the CustomRUU.exe file. so how do i install it in the phone if it hasnt got one ?.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] :
there is a thread with the RUU, but her eya go
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] iainbp:
nice cheers. what do i need to do to it when i d/l it ?

trying to get the same radio ur using but wheni d/l it, the customRUU was not in it
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] :
download it, extract it, put this RUU and the radio file in the same folder and run it from there mate
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] iainbp:
thank you mate. all sorted. :D
[Hero, G2 Touch General] rfgamaral:
Hi,

There's one thing that bothers me in every ROM out there and even on my own. I don't have an unlimited data plan and I hate the fact that I have pull my SIM card every time I want to try a new ROM. The problem is that if I don't, I'll be charged for access cause every ROM has the mobile connection enabled by default.

I can't find any setting anywhere in the ROM files to change this behavior... Maybe I overlooked? Does anyone if it can be done and how?
[Hero, G2 Touch General] Summered:
AFAIK you can just press menu when you're in setup and then choose to edit APN. Go to your APN and just put a random letter somewhere in the address to prevent it from working.

At least it's possible doing that using a vanilla ROM, not sure about sense :P
[Hero, G2 Touch General] filipharvey:
IIRC, during setup it asks if you want to connect through mobile network & wifi or wifi only. Just select Wifi only.
[Hero, G2 Touch General] rfgamaral:
Exactly, "during setup" and not at startup. It always connects through before I can select "wifi only".
[Hero, G2 Touch General] tracid:
Indeed. The setting is initially set to Mobile Network & Wi-Fi, until you change it in the setup wizard or settings. It's really annoying for people with no data-plan.

You could remove the APN list from your ROM to prevent it. Also, there are a few XML files with default settings. If you are lucky, it contains the Data Connection settings, and you can change it.
[Hero, G2 Touch General] pharrisee:
Maybe a lead lined room would help? :D
[Hero, G2 Touch General] rfgamaral:
I already tried to look for it many times, can't find a setting for that... :(
[Hero, G2 Touch General] :
It's such a short time it does that. It's almost no money you cheap bastards;):P
[Hero, G2 Touch General] rfgamaral:
Maybe for you and your country network operators. It's not about the data downloaded or the time it takes for me to disconnect it. As soon as it makes a connection, I'm charged a fee.
[Hero, G2 Touch General] bonesy:
just hold the END button and chosse turn mobile network off?
[Hero, G2 Touch General] FunkTrooper:
Yeah, this is a problem for me. ROMs never used to do this so it wasn't a problem, but recent ROMs have started connecting as soon as I first turn them on, which costs me 99¢ each time.

(The pricing is: 99¢ per day for 50MB, and anything extra is charged per KB)

I've lost a couple of euro to this. It's not a big deal, but it's a pain alright.
[Hero, G2 Touch General] rfgamaral:
It's not quick enough...
[Galaxy S I9000 General] Jarbings:
Hi got my new phone, but how to tell android that it will only sync my mails during daytime?

In Symbian and WinMobile this was part of the mail/exchange client maybe i am simply too blind to see it.:cool:
[Galaxy S I9000 General] veej:
I would like to know too but my problem is getting the bloody thing to sync. I set it to fetch every 30 mins but it is not fetching at all.....:mad:
[Galaxy S I9000 General] Jarbings:
Mine syncs with imap, gmail and exchange pretty easy. Just opened the email app that was preinstalled and added the accounts. But it does it 24 hours every 60 minutes...
[Galaxy S I9000 General] jonsoini:
Assuming it's an exchange account:

(From Home)

Menu > Settings > Accounts and sync > your exchange account > Account settings > Sync schedule

This is on my Galaxy w/ the latest software, not sure if the other Galaxy's throughout the world have different options.
[Galaxy S I9000 General] Wazco:
There doesnt seem to be an option to do this with gmail though, which sucks.
[Galaxy S I9000 General] vadonald:
I think the OP wants to disable updating during the night and is not asking how to set the update frequency.

I use an App on my Hero (not got an SGS yet) called Timeriffic which allows you to mute etc by setting schedule - it can be used to control another App called APNdroid I believe that will do what you want to do.

I only use Timeriffic to mute and I set it for different times on different nights, so my phone stays active later at the weekend (when I go out) and it also unmutes later at the weekend (when I get a lie in if my son doesn't make too much noise). :rolleyes:

Vince
[Galaxy S I9000 General] jonsoini:
If the OP wants to go beyond Exchange and stop Gmail and others at night, there's an app called 'Setting Profiles' in the market for $3 which will let one create a night-time profile which disables the automatic data sync for all accounts, it's not account specific but sounds like it'd do the trick with timed profiles.

It also does ringtone/sounds, brightness, GPS, wallpaper, volume and other settings and can trigger off of time of day, calendar, location, call, battery level, headset, bt, wifi etc.
[Galaxy S I9000 General] MarvinTheAndroid:
I use the power control widget, and just turn off sync'ing when I go to bed.
[Galaxy S I9000 General] Jarbings:
There i expected it to be, but isn't. I got software version F3 in the end on my Galaxy S.

But it should really be an global option to say data sync is on off.
[Desire General] jullejul:
wrong post
[Touch Pro2, Tilt 2 Windows Mobile General] khoyifish:
Hey guys, so as far as I know, most people use the Opera browser and that the IE browser is really slow. But I also found the Skyfire browser, but I have also seen mixed reviews on that. On my PC I used Google Chrome (which I love!), anyone know if Google is going to come out with a WinMo browser? (Yeah, I know that they have their own OS but thats not the point). Thanks!
[Touch Pro2, Tilt 2 Windows Mobile General] cbeck:
They seem about the same to me. Though I can't get opera to work when on wifi.

Yeah, It used to work great for me about a year ago on my BlackJack II, But over the last year it seems to have been getting slower and slower, and buggier to boot. I thought maybe it would work like a breeze on the tilt2 having a faster processor etc... but seem to be the same old mess. Sometimes it loads up really fast, others it times out, tells me no connection, or just forgets its loading a page. Seems to be pretty hit or miss if people still have a good experience with it.

No, they are not. They only did that for windows desktop to pull people into the google experience on the desktop so they will be more willing to switch to chromium OS. It's the same "marketing" strategy that apple uses when they force safari and quicktime on you when you install itunes. But Google plays nice and doesn't install itself behind your back.
[Touch Pro2, Tilt 2 Windows Mobile General] Toleraen:
I pretty much just use Opera 9.7. Seems to work as well as anything. If you're looking for something like Skyfire (compressed proxy based browser) Opera Mini works pretty well, standalone version linked.