yashsingh1/xdaforums huggingface dataset:
[Thunderbolt General] Turd Furguson:
So will BAMF be complying with forum rules again to where you will be able to discuss your work in a more open manor without it getting deleted?
[Thunderbolt General] erishasnobattery:
I was unaware we weren't. We just don't post our work here.

Sent from my iPhone 4S.
[Thunderbolt General] slim6596:
There are other places available to go for Bamf products.

Sent from my Thunderbolt
[Thunderbolt General] rajuabju:
I prefer dark alleys or the back of an unmarked van for all my bamf goodness. :)
[Thunderbolt General] Ryanmo5:
There will be no more deleting, that was a mistake on my part and won't happen again. Discussion is always allowed, the only thing not allowed are download links that lead back to their site cause they require registration in order to download. Its against forum rules I'm afraid but I know the bamf team has their site and is on rootz as well, if anyone needs info or downloads their only a few clicks away :)
[Thunderbolt General] Turd Furguson:
I know.

At least clarification was given on a few things here.
[Xperia Arc Q&A, Help & Troubleshooting] arb-09:
Dears

I have an Xperia Arc which i tried to update from 2.3.3 to 2.3.4 but it always says 'your phone already has latest software' on PC companion. I tried to update using the update service exe as well but that also displayed that the phone already has the latest software, which actually is not the case!

Best Regards
[Xperia Arc Q&A, Help & Troubleshooting] SXUsr:
http://xdaforums.com/showthread.php?t=1274572
[Xperia Arc Q&A, Help & Troubleshooting] danielnghk:
I try it. It works!
[myTouch 4G Q&A, Help & Troubleshooting] jberg22:
I'm trying to unroot my phone so I can send it back in for a replacement but whenever I try to flash the PD15IMG in the bootloader it says the "Main version is older" and the update fails. I used the PD15IMG from the unlockr, but I guess I guess I need an updated one? Anyone know how I can fix this?

EDIT:

I ended up figuring everything out. Here's the thread I made that explains everything.

http://xdaforums.com/showthread.php?t=1356607
[myTouch 4G Q&A, Help & Troubleshooting] Undeadk9:
Tmobile doesnt look to see If your phone is rooted or Not. There only interested in the physical aspect of the device.
[myTouch 4G Q&A, Help & Troubleshooting] aznprodgy:
you should have reverted back to the stock radio before flashing the stock PD15IMG...you could try flashing the newest updated RUU and then downgrade back to 2.2
[myTouch 4G Q&A, Help & Troubleshooting] jberg22:
alright so i tried flashing the stock radio, but now the bootloader says i have s-on? does this mean i'm not rooted anymore, even though i'm running a custom rom?
[myTouch 4G Q&A, Help & Troubleshooting] aznprodgy:
I ran into the same problem as youre having when I tried to revert back to stock. flashed the stock PD15IMG in hboot, but was on an updated radio. you still have root access even tho it says s=on, but you can ONLY use the rom you were currently using when trying to go back to stock. (ex- if you were on Virtuous Unity v2.39 then you could only flash and use that rom) theres a thread that goes more into detail, heres the link http://xdaforums.com/showthread.php?t=1092170 make sure you read the entire thread carefully

from what I understand, youll have to flash an updated RUU to fix the issue
[myTouch 4G Q&A, Help & Troubleshooting] jberg22:
Thanks for the link man, I should've searched before I posted. I read through the whole thing, and I'm still not sure what to do.. just a thought, but would this basically be like trying to root from the official 2.3.4 OTA?

And if there's an RUU for the GB OTA would that work in HBOOT, since it has the updated radio?
[myTouch 4G Q&A, Help & Troubleshooting] Dandude159:
same thing happened to me, i have a glacier. (mytouch 4g) would appreciate any help. I was actually trying to restore to stock, unroot, and now i am s-on rooted
[myTouch 4G Q&A, Help & Troubleshooting] jberg22:
I got my problem resolved. If anyone has the same problem I made a thread about how to fix it.

http://xdaforums.com/showthread.php?t=1356607
[myTouch 4G Q&A, Help & Troubleshooting] aznprodgy:
heh sorry bro, been busy the past couple days. glad you got your phone fixed tho :)
[myTouch 4G Q&A, Help & Troubleshooting] jberg22:
Its all good haha I appreciate the help though. I had to figure out how to use adb to fix it, so at least I learned something new in the process.
[Verizon Droid Charge] ilovesoad:
Would it be possible to make the hard keys flash for notifications considering the fact that we don't have a real one?
[Verizon Droid Charge] shrike1978:
It might be possible, but I don't know how useful it would be. Those lights aren't very bright so you can only really see them in a dim environment. Some people have been using NoLED from the Market.

I don't really find myself needing this, and don't see where I'd find it that useful, but I've never had a phone that had notification light, so it may just be a matter of not understanding what I'm missing.
[Verizon Droid Charge] ilovesoad:
My last three star phones have had one. This is the only thing I don't like about the charge. It's not a huge deal. I have good eyesight, so the dimness is a non issue.
[Verizon Droid Charge] shrike1978:
Full answer is there is nothing as of now, and it would require a dev with the time and the inclination to work on it, if it is indeed possible. For now, NoLED is the only real solution if you really want the notifications.
[Verizon Droid Charge] leaveone:
There is a guy named neldar in the Samsung galaxy forums that has a modded kernel with backlight notification enabled and you download his app from the market to control it. I tried to put him in touch with imnuts about getting his code and mixing it into his kernels. I'm not sure what the status of that is. I don't actually know either of the guys but neldar said he could provide a patch for dev who wanted to build bln into a kernel. I would love to have bln and am also disappointed that Samsung left that basic led notification out of their design.
[Verizon Droid Charge] blueis300:
Will have to check that app out. My wife used to have all phones that used to have a light. That way when at work she can have her phone silent but see when a notice comes in. One of her only complaints about the charge so far. That and the GPS issue.
[Verizon Droid Charge] april5th:
Glance is another free app - turns on your screen for a few seconds when you get a notification.

Market - https://market.android.com/details?id=com.danvelazco.glance
[Verizon Droid Charge] blueis300:
Downloaded and havent used it much but seems to do What we need it for.
[Xoom Q&A, Help & Troubleshooting] truthkillszz:
Ok I purchased USB/BT Joystick Center And the developer said it supports the wifi xoom with no problem. Now I have already been using my Wired Mad Catz 360 Remote natively for ages. I purchased this app cause it claims to fix the issues with the L/R Triggers and the second Analog stick. But for some reason the App will not pick up my remote but my remote still works natively so I know its not my Adapter. When I contacted the dev for help a month ago, I was told that other people reported that it works fine for them and no contact since. So I'm reaching out to the community. Has anyone got this app working on Tiamat Moray 2.2.2?
[Samsung Epic 4G Touch] Amd4life:
I'm running midnight 2.1, lost kernel.

when I'm using Poweramp or mediaplayer pro, I could be listening to music through the headphones, but all notifications, including battery, text, or new email, will all come out of the speaker.

does anyone else have this issue
[Samsung Epic 4G Touch] nivron:
Changelog

10/18/11 - Changed from apktool method to baksmali method because of Windows issues with apktool.
[Samsung Epic 4G Touch] nivron:
OLD (OUTDATED AND MAY NOT WORK) INSTRUCTIONS, FOR ARCHIVE

What you need to perform this mod:

1. An Epic 4G Touch ROM ZIP file, or a phone running a Epic 4G Touch ROM -- AOSP ROMs already have the correct indicators.

2. Apktool -- To extract the files we need to edit.

3. Android SDK -- To push/pull files from your phone (adb only).

4. Some sort of archive tool (such as WinRAR, 7zip, etc).

5. A text editor capable of editing UNIX-formatted files. I recommend Notepad++, personally.

Ease Of Use Tips: Install Android SDK (if you need adb). Download the apktool files to a new "working" folder where we can do our magic.

KEEP A COPY OF YOUR PRE-EDITED SYSTEMUI.APK FILE, just in case!

Instructions:

1a. [If you are using a ROM ZIP File]: Use 7zip/WinRAR/WinZip to open the ROM ZIP file. Navigate to system\app and extract SystemUI.apk to your "working" folder. Also grab framework-res.apk from system\framework.

1b. [If you want to grab SystemUI.apk from your running phone]: Use adb to pull SystemUI.apk and framework-res.apk to your working folder. Example: adb pull /system/app/SystemUI.apk C:\Working\SystemUI.apk and adb pull /system/framework-res.apk C:\Working\framework-res.apk To avoid problems, ONLY USE adb to pull/push SystemUI.apk. Phone apps may cause unknown issues.

2. Go to a command prompt in your "working" folder and run the following commands:

apktool if framework-res.apk

apktool d SystemUI.apk

3. Browse to your "working" folder and see that there is now an SystemUI folder inside, with other subfolders. Browse to SystemUI\smali\com\android\systemui\statusbar\policy.

4. Edit the file called StatusBarPolicy.smali with your favorite UNIX-format compatible text editor and look for the following text. The key is to search for pswitch_6 (you want the second result).

.line 1567
:pswitch_6
[B]sget-object v0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->sDataNetType_3g:[[I[/B]

iget v1, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mInetCondition:I

aget-object v0, v0, v1

iput-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mDataIconList:[I

goto :goto_0

5. Change that line to say sget-object v0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->sDataNetType_1x:[[I

6. Save StatusBarPolicy.smali

7. Go to a command prompt in your "working" folder and run the following command: apktool b SystemUI SystemUIfixed.apk

8. If there are no errors, open SystemUI.apk and SystemUIfixed.apk in your archiver of choice (WinRAR, 7-zip, etc.)

9. Drag the file called classes.dex from SystemUIfixed.apk to SystemUI.apk and replace the one already in there.

10. Run the following commands to get the file on your phone:

a. adb remount

b. adb push SystemUI.apk /system/app/SystemUI.apk

c. adb shell stop

d. adb shell start

You should hear your bootup sound and then the changes should be instantly applied.
[Samsung Epic 4G Touch] journeyman73:
Thanks for this! Nicely done
[Samsung Epic 4G Touch] nivron:
Glad you like it. Let me know if you try it out and whether or not it works for you. :)
[Samsung Epic 4G Touch] journeyman73:
Will do, haven't done smali editing in a while, bout to give it a go.
[Samsung Epic 4G Touch] frifox:
just got an error at the step above
[Samsung Epic 4G Touch] nivron:
Looks like it's having issues loading aapt. Which files did you download? The apktool-install-windows-r04-brut1.tar.bz2 and apktool1.4.1.tar.bz2, right? What folder did you put them into, and are you running the command from the same folder you extracted the apktool files into?

If you're using the file I listed above, and you have extracted apktool into the working folder (including aapt.exe and the JAR file from the other archive), could you try copying apktool.bat and aapt.exe into your Windows folder (or put the apktool folder in your PATH) and try again?

From the apktool webpage:
[Samsung Epic 4G Touch] frifox:
I got both aapt & apktool bat/jar files all in same folder (c:\cell\apktool) and am running the comands from that folder as well. Copying those files to Windows folder didn't work so i doubt its PATH issue.
[Samsung Epic 4G Touch] nivron:
Very strange -- are you able to paste the entire log of what apktool shows when you try to recompile? Maybe there is something in there that is helpful.
[Samsung Epic 4G Touch] frifox:
here's the full output... this time decompiled and recompiling without making any code changes:

could it be that due to me trying to mod an apk from a custom rom, starburst v1.6?
[Samsung Epic 4G Touch] nivron:
Thanks for the log. It doesn't like the custom "9" PNGs. I haven't really messed around with those, but I'll see what I can do to fix it.
[Samsung Epic 4G Touch] nivron:
Now that's really weird. I didn't have any problems doing it. I don't know if the custom "9" file is going to be broken, but you can try the attached file out if you like. There are other "9" files in the ROM that don't give me any sort of error. I wonder if there's just something wonky about that one particular file. Since I'm not using the "res" folder from the updated APK, the "9" files shouldn't really be touched, but YMMV.

nivron@aristotle:~/android/apks$ apktool d SB1.6SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/nivron/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_close_on.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
nivron@aristotle:~/android/apks

Then I made the edit...

ivron@aristotle:~/android/apks$ apktool b SB1.6SystemUI SB16SystemUIFixed.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
nivron@aristotle:~/android/apks
[Samsung Epic 4G Touch] frifox:
went to my linux box and tried it there, same error :confused: pushing your apk worked but can't test 3g/1x as my ##debug# doesnt work (tho ##data# does work). luckily the service here blows so i'm already seeing 1x icon here and there so i guess it worked :D
[Samsung Epic 4G Touch] nivron:
Glad it worked!

I think I have an older apktool on my Linux box. Maybe that's why. Try grabbing your framework-res.apk and running: apktool if framework-res.apk before you decompile SystemUI.apk.
[Samsung Epic 4G Touch] frifox:
nope, same error. could you load your older apktool version to mediafire? i'll give it a shot and see if that fixes anything.
[Samsung Epic 4G Touch] journeyman73:
I finally got the SystemUI apk to recompile after adding my framework & running this command, I forgot about this step!
[Samsung Epic 4G Touch] nivron:
Sure, I will throw it in my dropbox tomorrow morning.
[Samsung Epic 4G Touch] nivron:
I didn't remember to put it in the instructions. I will edit it later. Much appreciated!
[Samsung Epic 4G Touch] journeyman73:
I think your right about the custom pngs... I'm done for the day my head is spinning...lol

Thanks again man, appreciate it.
[Samsung Epic 4G Touch] chunology:
Followed your instructions and it worked beautifully! Thank you for this.. I wasn't even aware the the E4GT even displayed 1X!
[Samsung Epic 4G Touch] manekineko:
Thank you, worked like a charm!

I'm on EG30 deodexed, so I used the file linked in the post. Also, I just used a root explorer (ES File Explorer) to backup my old SystemUI.apk and replace the new one, which worked fine.

Only gotcha is that if you rename or remove your old SystemUI.apk before you've got the new one in place already, you're going to have to deal with constant force closes of SystemUI until you get the new one in place. A better approach to avoid this is to make a copy as a backup, and then just overwrite the old one with the new one.
[Samsung Epic 4G Touch] Calkulin:
This is one of the first mods I did on my phone when I got it but it did take me a couple to find out which one was the correct icon as it has a couple more references to the 3g icon than the EVO did ;)

Thanks for posting this tho, because that way when I post my ROM I don't get hounded for a how-to for this mod
[Samsung Epic 4G Touch] stangdriverdoug:
Music to my ears!

Samsung Galaxy S II
[Samsung Epic 4G Touch] nivron:
EViO was my inspiration for the EVO walkthrough. I saw some post you did in a different thread and figured I'd throw it together. Very saddening to know that Sprint does that to us.

Thanks again! Glad to see you here in E4GT land!
[Samsung Epic 4G Touch] AbsolutZeroGI:
I'll be including this in future roms (not the stock ones I've already released) if that's okay with you :)

excellent mod!
[Samsung Epic 4G Touch] cordell12:
I gave this a go on starburst 1.6 What I did was take your uploaded systemUI and used 7zip to replace the png's with those of the starburst systemUI. In theory it should have worked, however when I tried to put in 1X mode it remained on 3G icon :( Perhaps I replaced the 1X icon with 3G icons from the edit I made?

Thanks
[Samsung Epic 4G Touch] nivron:
You're absolutely invited to add this to your ROMs. That's why I posted it -- so everyone can benefit from it. :)
[Samsung Epic 4G Touch] nivron:
An even easier method is to use the SB1.6 file I posted earlier in this thread. Apparently that one works fine for a stock SB1.6 install. :)
[Samsung Epic 4G Touch] nivron:
Here is a link to my android/tools folder, which is in my path on my Linux box.
[Samsung Epic 4G Touch] frifox:
same error... but as soon as i added dir containing these tools to PATH everything worked flawlessly, even without running "apktool if framework-res.apk". wonder why adding dir to PATH in linux worked but in windows it didn't :confused:
[Samsung Epic 4G Touch] nivron:
Very strange. Maybe apktool is calling aapt or other tools in a strange way that the Linux path fixes. Glad you got it though!
[Samsung Epic 4G Touch] stangdriverdoug:
Having a little trouble. In the command prompt I ran this step:

apktool if framework-res.apk and apktool d SystemUI.apk

Then I got this:

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\System32>cd c:/working folder

c:\working folder>apktool if framework-res.apk and apktool d SystemU

Apktool v1.4.1 - a tool for reengineering Android apk files

Copyright 2010 Ryszard Wi?niewski <brut.alll@gmail.com>

Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

Usage: apktool [-v|--verbose] COMMAND [...]

COMMANDs are:

d[ecode] [OPTS] <file.apk> [<dir>]

Decode <file.apk> to <dir>.

OPTS:

-s, --no-src

Do not decode sources.

-r, --no-res

Do not decode resources.

-d, --debug

Decode in debug mode. Check project page for more info.

-f, --force

Force delete destination directory.

-t <tag>, --frame-tag <tag>

Try to use framework files tagged by <tag>.

--keep-broken-res

Use if there was an error and some resources were droppe

"Invalid config flags detected. Dropping resources", but

want to decode them anyway, even with errors. You will h

fix them manually before building.

b[uild] [OPTS] [<app_path>] [<out_file>]

Build an apk from already decoded application located in <ap

It will automatically detect, whether files was changed and

needed steps only.

If you omit <app_path> then current directory will be used.

If you omit <out_file> then <app_path>/dist/<name_of_origina

will be used.

OPTS:

-f, --force-all

Skip changes detection and build all files.

-d, --debug

Build in debug mode. Check project page for more info.

if|install-framework <framework.apk> [<tag>]

Install framework file to your system.

For additional info, see: http://code.google.com/p/android-apktool/

After thaat I checked my working folder and there are no additional folders....so the next command dosen't work.
[Samsung Epic 4G Touch] chunology:
Those are supposed to written in two different lines:

apktool if framework-res.apk [ENTER]

apktool d SystemUI.apk [ENTER]
[Samsung Epic 4G Touch] stangdriverdoug:
Thanks sent!
[Samsung Epic 4G Touch] nivron:
Thanks for that -- I edited the OP to put those on separate lines and make it a little clearer.
[Samsung Epic 4G Touch] stangdriverdoug:
Ok, another question...When I navigate to the statusbarpolicy.smali to try and edit it, I get a pop up window saying "windows dosen't recogize this program" So what program do I need installed to open this type of file?
[Samsung Epic 4G Touch] frifox:
nivron should put a prerequisite in op: Basic knowledge of CLI and Notepad

but yeah, edit that file with notepad++, not double click it and see what happens.
[Samsung Epic 4G Touch] stangdriverdoug:
Duh, got it. Thanks sent.
[Samsung Epic 4G Touch] nivron:
OP edited for clarity and recommendation of Notepad++, one of my favorites too. :)
[Samsung Epic 4G Touch] s14tam:
tried to follow the instructions but ended up with a booty load of errors so instead I just used your pre-edited SystemUI.apk file. Confirmed working on stock ROM with LoStKernel
[Samsung Epic 4G Touch] strongsteve:
I did the same thing because I am using a personally themed odex'd rom. I used this one, copied my pngs to res, and then odexed with dexopt-wrapper. I still only get the 3x. Is there a png that has to be fixed or do I really have to do the smali edit?

EDIT.. NEVERMIND

I got it. I had to odex it first and then change out the pngs that I use.
[Samsung Epic 4G Touch] nivron:
I appreciate everyone trying these instructions out. Unfortunately there is apparently a big difference between attempting this via Linux and Windows.

I have re-written the instructions using smali/baksmali. I have successfully tested the steps above using StarBurst v1.6 and had NO errors. :)

I'm sorry if the earlier instructions made things difficult. Please try this new method and let me know how it works for you!

Please note that the code you are searching for has changed due to this other method of disassembly.
[Samsung Epic 4G Touch] xak944:
I can confirm this is working on StarBurst 1.6. Followed your instructions to a tee and worked on the first try (Ubuntu)! Thanks for the writeup, it's top notch. :D

Now I realize why my "3G" service has been so slow at work: My phone is constantly connecting at 1x! (My old Evo and all coworkers' phones on Sprint are speeding along on 3G right next to mine). :( Now on to troubleshoot the real problem which I wouldn't have been able to identify without your help. Thank you!
[Samsung Epic 4G Touch] manekineko:
Any chance you could make a version/add instructions for how to disable the battery charged notification?

The reason I ask here is because this would also be a modification to SystemUI.apk, and thus would need to be integrated with this in order to work.

I see they got this working on the regular Galaxy S2 by modifying SystemUI.apk

http://xdaforums.com/showthread.php?t=1070506
[Samsung Epic 4G Touch] fnut6969:
This was my first attempt at editing .smali files but your guide was very well written and it worked like a charm.
[Samsung Epic 4G Touch] warrenis1234:
wait im sorry.. and this may have been asked or specified in the original post so i apologize for the potential repeater

.... does this actually provide the ability to use a slower, weaker signal, that uses less battery power like 1x/edge?
[Samsung Epic 4G Touch] nivron:
This mod only allows you to see when you are in 1x service. Otherwise you will still see 3G even if you are really on 1x. The phone switches between 3G and 1x either way.
[Samsung Epic 4G Touch] nivron:
Thanks for finding this. I plan on looking into this and some other mods as well. I'll either update this or create a new thread with anything I find.
[Samsung Epic 4G Touch] kain144000:
Could some1 attach their fixed EG30 Stock ODEXd .apk?
[Samsung Epic 4G Touch] kain144000:
::bump::

Is there no one w/ an odex'd version?
[Samsung Epic 4G Touch] kain144000:
::bump::

Could some1 help me out w/ instructions for an ODEX'd Stock EL29 ROM? The lack of 1x noti's a real pitty of a PitA.
[Samsung Epic 4G Touch] kcbedo:
In EL29, the line has moved down from .line 1567 to .line 1588.

The easiest thing is to just search for the "pswitch_5e".

All the other steps to mod this for EL29 are identical to EG30.
[Samsung Epic 4G Touch] kain144000:
Prob I have @ the very beginning's, since I'm on a rooted Stock ODEX'd EL29 ROM, I've no classes.dex file to extract, & I don't c a classes.odex, either. I've used both WinRAR & 7-Zip, but can find it absolutely nowhere. :\