yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Themes and Apps] tonecreationz:
Hey Guys,

This mod will remove the time from the notification bar on your Atrix. You will need to install the Java SE JDK in order to perform this mod.

You Must Be Deodexed to Perform this Mod!

Instructions:

1) First download smali-1.2.6.jar and baksmali-1.2.6.jar from here http://code.google.com/p/smali/downloads/list. Rename them to just smali.jar and baksmali.jar.

2) You'll need to pull the services.jar from the /system/framework/ directory on your phone to your PC. Open the services.jar file for example with winzip, 7z, winRar, or whatever. Unzip the classes.dex file to a new folder and place the baksmali and smali file there too. After that open a new command window within that folder and run following line:

java -jar baksmali.jar -o out/ classes.dex

3) You'll have a new folder now called "out". Browse to "out/com/android/server/status" and open the file called StatusBarPolicy.smali with a text editor. I personally prefer "Notepad++".

4) Search for:

invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V

5) It should be under ".line 592". Now add this line underneath the line you just searched for from above:

invoke-virtual {p2, v3, v6}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V

6) Save the file.

7) Open a new command window within the folder you created before or maximize the same command window you used before and run this:

java -Xmx512M -jar smali.jar out/ -o edited-classes.dex

8) Now you'll have a new dex file called "edited-classes.dex". Rename the old dex file to classes_old.dex and rename the new file to "classes.dex".

9) Open again the services.jar file with any zip tool and overwrite the classes.dex file with the one just created.

10) Push the updated services.jar back to the /system/framework/ directory on your phone and set the file permissions to rw-r--r--. Reboot!

That's it! Now you have more room for icons... ;)

Screenshot:

Disclaimer:

If you choose to perform this mod, please be aware that you are doing it at your own risk. I'm not responsible if you brick your device. Backup, Backup, BACKUP your files before performing this mod.

Good Luck!
[Atrix 4G Themes and Apps] tonecreationz:
If anyone knows how to remove the date from the notification dropdown, please let me know, that's the next mod i would like to perform...Thanks!
[Atrix 4G Themes and Apps] ekidd14:
FINALLY! Been looking for someone to do this. havent tried it yet, backing up right now..

**EDIT** lol nevermind, cant figure this out on my mac and my pc isnt running correctly atm. Anyway to make this flashable through cwm for noobs like me?
[Atrix 4G Themes and Apps] CHUI2CH:
Sweet look

any way to make this an update.zip? sry new to this and am not really comfortable with this
[Atrix 4G Themes and Apps] jpinoy:
Hey Tone... thought I would post it here.. just in case people don't want or don't know how to do this.. I created the CWM install version for them... credit goes to you for the MOD...

I also attached a 1% services.jar from Gingerblur v3.5 with the no clock mod... I don't use the 1% MOD... but you can give it a try...
[Atrix 4G Themes and Apps] Swiftks:
Thanks... worked on top of Gingerblur v3.5.

**Edit**

Huummm, battery level seems to be stuck @ 100% now... let me try erasing battery data via CWM

Well, I don't know??? Wiped battery status and dalvik cache with CWM and battery status still shows 100%... Going to restore to the backup I made before flashing this, and confirm that this was indeed the problem.
[Atrix 4G Themes and Apps] ekidd14:
is this only for 1.83? Im about to try it on top of 1.57. Of course im backing up first..

*EDIT* not sure if there would be any reason for it to not work on 1.57, but it works fine [:
[Atrix 4G Themes and Apps] jpinoy:
Hmm.. this is just for the default status bar.. this might not work with the 1% battery mod that also requires the services.jar editing.... let me see if I can edit that and you can give that a try...
[Atrix 4G Themes and Apps] Swiftks:
Think I got it... just edited my services.jar from gingerblur v3.5... going to flash and test. If it works, I'll post it.
[Atrix 4G Themes and Apps] Ririal:
Should probably note for windows users that "text editor" doesn't mean notepad :P It'll prolly screw up the line endings and cause problems.

Thanks for the guide though! Good work :)
[Atrix 4G Themes and Apps] AndreaCristiano:
This worked great and thanks for the zip file above thumbs up guys

sent from my gingerblur 3.1 atrix
[Atrix 4G Themes and Apps] jahizen:
so all i have to do is use one of this zip files?
[Atrix 4G Themes and Apps] jpinoy:
Correct.....
[Atrix 4G Themes and Apps] asesino:
Will this work on a stock rooted Atrix?
[Atrix 4G Themes and Apps] jpinoy:
You can give it a try, just use the stock one and not the 1% one.

Make sure you make a backup of your stock setup in CWM first before doing this just in case it doesn't work...

Oh, btw, you got a thanks from me cus I hit the wrong button when trying to reply to your question.. :p:D
[Atrix 4G Themes and Apps] ekidd14:
Can someone please edit the services.jar for greyblur so theres no clock in the notification bar? AND IF possible, can you add the 1% battery mod? TIA :D
[Atrix 4G Themes and Apps] jpinoy:
Make a backup and then try it... I moved away from Greyblur a while ago and don't want to flash that on my device to see if it works, it should though... but I've only tested these on 1.83...

Good luck
[Atrix 4G Themes and Apps] ekidd14:
Yeah, i flashed it a while ago while on greyblur and everything works fine, except the notification pulldown isnt transparent like how greyblurs pull down normally is. The .zip posted is from gingerblur's services.jar i think..
[Atrix 4G Themes and Apps] VioletR:
Is it possible to remove Time from Micromax A57's statusbar

Any how I was trying to do this

with my A57 Micromax, but codes and files do not match

If you can help please get me an idea on where i should find and replace the code to remove the time here.

I am attaching the services.jar for this device
[Atrix 4G Themes and Apps] VioletR:
Standing battery without much headache by editing Horizontal icons

Well may not be new but PNGs are always doubtful how they behave...

What I wanted is Standing style battery and I was have very nice battery icons set that was in horizontal style.

I simply opened all of them in a picture manager and Rotated then Clockwise. Done..

and Its working fine with the statusbar and looks good without any loss of png quality.

I liked it..

---------- Post added at 07:20 PM ---------- Previous post was at 07:14 PM ----------

In open status bar my Device Shows Date as well (left end of status bar)

Any guide of method to remove that ??

Thankx in advance.
[Atrix 4G Themes and Apps] elazu1:
its working, nice mod!
[Galaxy Tab Q&A, Help & Troubleshooting] Glyde62:
In the Galaxy Tab Overcome Guide it says to Re-Stock the TAB using GB-stock-safe.zip I cant seem to find it anywhere, Can anyone ppoint me in the right direction?
[HTC Inspire 4G] Tx Redneck:
I just got home from my local ATT Corp store and the darndest thing happened while I was there.

The rep that was helping me happened to have an Inspire and was checkin mine out sayin how much he liked the screens(LP) and how fast it was. He then opened the app drawer to run speed test.net never noticing Super User while in there. He commented again about how smooth it ran and then noticed the lack of ads on the speed test app.

Once that was done he went to settings to check something else and immediately noticed the difference in appearance. Once he got to About Phone he checked the version and saw 2.3.4 and grabbed his to see what it said.

At this point I stated that it is rooted and asked if he'd like me to root his. He said he'd JB'ed an old iPhail but was scared to do the Inspire because of the steps involved. I gave him my bidness card, let him know that I'd be happy to help and left.

Maybe I'm easily entertained, but I thought it was too funny that an ATT rep wants a customer to root their device. :p

Tx
[HTC Inspire 4G] kirk123:
Thats hilarious! Nice way to make some easy money.
[HTC Inspire 4G] mattmiller:
Yes I had that at bestbuy. I bought my case and he pulled his out bragging about it. So I ignored it and when I bought the case,I was attempting to put it on. He saw my locksceen at the time and noticed it was different. He asked what I did and told him. I was running cm7 with Rover theme. I told him to check out xda. Idk what ever happened to him.

CaNt FiX sTuPiD
[HTC Inspire 4G] entropism:
Hell, I've been doing this since I parted ways with AT&T. Happened right before unemployment kicked in, so I've been rooting and jailbreaking for $50 per phone in my spare time while I looked for work. My last customer was an AT&T employee.
[HTC Inspire 4G] lonesomecrow:
Hahaha, this is EPIC!! When I had my HD2 from T-MO on AT&T, it happened to me at least 3 times when going into the stores (both AT&T and RadioShack) to reset my voicemail by using google voice. The look on their faces was just right to snap a picture and upload it to FB or the such.
[Nook Color General] ClarkSt:
There's got to be a simple way to do this: I have some soft-porn, (basically), clips I don't want to show up in the Gallery or in any players directory, (by adding a .nomedia file in the directory with the clips). I use a File Manager app to get to them on my SD Card. The file manager shows an icon for the Zimly player next to the files, but when I open them, the default player runs instead. How do I associate the default player for mp4 files? I want to use Zimly and not the default player.

Thanks!
[Nexus S General] BuglessPete:
Why another post for stock files? Well for a few reasons, mainly the lack of quality found amongst the files in similar threads on the web. When I got my Nexus S 4G I took a look around the web, downloaded the stock roms that were floating around and noticed they were very flawed. The update scripts used in them were poorly done, seem to be the result of copy and pasting many update scripts together. The boot.imgs were also flawed, some of them even 8mbs in size, the stock boot.img is 2.8mb. After running them through one of my scripts, I also noticed many apps were not even zipaligned. Needless to say I did not flash these files. I took it upon myself to remake all these files. Stock files are essential to a development phone and can save many people in a sticky situation. Also, I have noticed that the official stock software images have not been released yet, so I went ahead and uploaded those for you all as well. These images include radio, boot, recovery, system, userdata, and bootloader. Please note, this post is not intended to bash anyone's work. I am simply trying to provide much needed files to the community. If you have any questions feel free to ask. Also, I may forget to keep this post updated so please check the downloads page on my website as it will always be maintained.

http://www.peteralfonso.com/p/downloads.html

Downloads: (Most can also be found in ROM Manager)

GRJ06D Stock Rooted ROM (Odexed)

GRJ22 Stock Rooted ROM (Odexed) (DeOdexed)

GRJ90 Stock Rooted ROM (Odexed) (DeOdexed)

GWK74 Stock Rooted ROM (Odexed) (DeOdexed)

GRJ22 Software Images

GRJ22 from GRJ06D OTA

GRJ90 from GRJ22 OTA

GWK74 from GRJ90 OTA

D720SPRKD8 Radio

D720SPRKE5 Radio

D720SPRKE1 Radio

Tethering Fix For Android 2.3.5 ROMs

How To: Root Nexus S 4G

1. Download GWK74 Stock Rooted ROM from above

2. Download CWM Recovery

3. Open a terminal and use the following commands:

adb reboot bootloader
fastboot oem unlock
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo4g.img

4. Navigate to "recovery" in the bootloader and select it

5. Navigate to "mounts and storage" > "mount USB storage"

6. Place the GWK74 Stock Rooted ROM on your sdcard

7. Navigate to "Unmount" > "+++++Go Back+++++"

8. Navigate to "install zip from sdcard" > "choose zip from sdcard" > choose "GWK74ODEXED.zip" > choose "Yes – Install GWK74ODEXED.zip"

9. Navigate to "reboot system now" and enjoy.

How To: Return Nexus S 4G To Stock

1. Download the GRJ22 Images from above

2. Open a terminal and use the following commands:

adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
[Nexus S General] oxeneers:
Pete did you get a Nexus S 4G? Thought you were on Verizon?

Any ROM development plans?
[Nexus S General] BuglessPete:
My work provided me with the Nexus S 4G. I still use my OG Droid and will continue to develop for it. I have successfully built an entire AOSP ROM for the Nexus S 4G and am running it now, not sure what I will release for this device though seeing as how it is for work. Time will tell...right now I am really busy though.
[Nexus S General] mikeyinid:
Yea, I know the stuff I posted is crap :) I am not a dev and say that in the threads on several occasions. I am very, very glad you posted this, I will post a HUGE link in my thread to this also. Look forward to the awesomeness you will bring to this phone :D
[Nexus S General] BuglessPete:
Really hope I didn't offend anyone, that was not my intentions. Having said that the only way to learn is to try to put things together yourself, compare them to others, etc. I was there not long ago. Keep it up and soon you will know more than you imagined.
[Nexus S General] dalvarez7:
You plan on making a ROM for the NS4G? You also mentioned that the ROM's that were out there were not zipaligned. Is the stock version posted above zipaligned?
[Nexus S General] BuglessPete:
Not sure what my plans are as of now to be honest. You can guarantee anything I release will be zipaligned.
[Nexus S General] dalvarez7:
I for one would be very grateful if you made us a ROM for the NS4G.
[Nexus S General] shabbypenguin:
well thanks for this, you are correct on many points except one.. the stock images were released :D but most people had to work to get them :P
[Nexus S General] tandxcstar1:
You are my HERO! Thx man
[Nexus S General] BuglessPete:
Looks like the GRJ06D file did not upload right, I will drive to the library tomorrow and reupload. I live in the country where there is no internet lol.
[Nexus S General] obsanity:
Sweet! Can you post a deodexed rom for the GRJ22? I would love to start changing some of the stock apks for the ones in CM7
[Nexus S General] BuglessPete:
Sure, once I get some free time I can deodex them.
[Nexus S General] tandxcstar1:
Im having issues flashing the recovery... Im somewhat new to flashing via adb got it all except recovery. Bootloader is unlocked but when tring via adb I just get error cannot load.. Any suggestions? Thx kindly
[Nexus S General] Paleryder:
Thanks were off to a great start :)
[Nexus S General] tandxcstar1:
Please disregard this... I figured it out after some trial and error. Was able to flash recovery. One more question... Does this receovery stick or no? I know when I had my epic and had quickboot it would not allow to boot into recovery. thx again for your hard work on this. After reading the 100+ methods of rooting I was pleased to see this. Thx again
[Nexus S General] styckx:
edit: nevermind
[Nexus S General] a2k:
Thank you very much for this.
[Nexus S General] a2k:
Hey Mike, you did mention that, but my friend, a pioneer you were! I too appreciate all your time and effort and look forward to many wonderful ROMs from you in the future. Thank you for getting us started with our NS4G's!!!!!
[Nexus S General] mikeyinid:
Thanks, and your welcome. Guess everyone starts somewhere. Glad I could help in some way...
[Nexus S General] JarffVC:
6. Place the GRJ22 Stock Rooted ROM on your sdcard That's where it lands on the phone. It would be more efficient to have it downloaded before hand, so I guess the answer to your question is the latter rather than the former.

No, you don't need both. My understanding is that odexing is a form of encryption that reduces the size of the ROM on the phone. This means that an odexed ROM takes up less room but is less customizable while a deodexed ROM takes up more room but is more customizable.

The GRJ22 deodexed is a stock rooted room? You might want to try it again, it's been working for a lot of other people.
[Nexus S General] alsnoturpal:
I followed all the instructions well but once I reboot my phone stays on the splash screen and doesnt go anywhere, I also having trouble with the mounting, could it be that Im doing it from a mac?
[Nexus S General] tony1208:
The keyboard is different on this than the when the phone with....gingerbread keyboard I want anyway of keeping this with the deoxed Version in the op

Sent from my Asus Transformer Tab
[Nexus S General] kilik64:
Im having issues. I am trying to do this unroot but cant get it to work. Ive got all the files downloaded and put in their proper place im pretty sure. My problem is my computer is not recognizing my ns4g. When i run adb devices it lists nothing when i am on the bootloader screen (at least i think thats what it is, it has big green android in the middle and lists reboot bootloader, etc) but if it put it into recovery (clock work 3.1.0.1) it will then list it when i run adb devices. When i try to run the first command it says error device not found but if it put it into recovery it reboots to the bootloader. typing the second command says waiting for device and just sits there.

Im on windows vista and i used pdanet to install the usb drivers.

Any idea what my problem is? Im still on the stock rom, if that makes any difference. I just want to unroot so I can return the phone to sprint to get the evo 3d.
[Nexus S General] Maximilian Mary:
As long as you have the mac versions of adb and fastboot, everything else should be the same. What model do you have?
[Nexus S General] kilik64:
No idea what i did, found some other threads with different things in them, finally got my computer to recognize the phone in fastboot mode (apparently the mode with the android icon) and I simply ran fastboot oem lock and its NOW locked back up.

Is this all i need to do in order to return the phone? I never actually loaded any other roms on it, so everything was stock it was just rooted.

Thanks!!!
[Nexus S General] wirelessness:
I know this is a developer phone so most people are pretty savvy about this stuff. I am just a flash junkie and have never really had any problems rooting/flashing other devices.

The Nexus S 4G has been very problematic for me in regards to USB connectivity. I got it rooted and flashed a few images no problems but it would randomly decide not to connect to my Mac/Win7 in Fusion/or Win7 laptop. I tried numerous USB drivers recommended in various threads with some success. The Nexus S drivers finally started working fine after installing the USB driver from the Google SDK. But when I booted into fastboot none of my systems would recognize the Android 1.0 device and none of the drivers I tried would work or even install via driver update. I finally got it to work by installing PDAnet and letting the USB drivers from the install overwrite my existing drivers and then canceling the install at the end (read about this somewhere on xda). Anyways, it finally worked and I was able to restore/unroot.

I'm sure there is an easier way and it appears not everyone has had any of these issues. But if someone here has a better method it might be worth adding to the Tutorial.

Also, for some reason fastboot would could not find the adbwinapi.dll file. It appears to be caused by the adb program files moving from tools to platform-tools. Anyways, adding the PATH variable to the /platform-tools location fixed this for anyone else who may encounter this.
[Nexus S General] kilik64:
Finally got this process of unrooting to work, thanks for all the info in this thread!
[Nexus S General] Alanmw86:
alright guys, need some help if possible.

trying to unroot phone, have all drivers/sdk installed.

moved a copy of fastboot to the platform tools folder.

power phone on

type adb devices, shows device

adb reboot bootloader

phone reboots to the bootloader screen (with options reboot bootloader reboot recover and power off

type in adb devices, no device comes up

type in fastboot devices, serial comes up

type fastboot flash boot boot.img

getting the FAILED command write failed error

any ideas?

got about 6 hours to unroot this thing haha.

edit: going to smash my head into a wall shortly here, absolutely can't figure this out
[Nexus S General] Alanmw86:
So, I've managed to run flash boot and flash system, onto flash recovery, giving me same error >< ugh this makes no sense?

pounded threw everything but the lock, absolutely will not lock, back to stock except for that.

I don't supposed there are any other ways to lock the bootloader besides fastboot commands ay? haha wowow this has to be a driver issue, I've uninstalled and reinstalled every driver I can find under the sun.
[Nexus S General] Maximilian Mary:
When you're in fastboot mode (volumeUp+power), does <fastboot devices> list your device?

What does your phone say the lock state is?
[Nexus S General] Alanmw86:
yes fastboot devices lists device, phone is unlocked.

(couldn't lock or unlock or use any other fastboot command either)

I managed to get for commands through... no idea how/why was completely random and failed 20x inbetween actually working
[Nexus S General] tailsthecat3:
This definitely is something that comes on the NS4G. Root the stock rom and you will see it in there via root explorer.
[Nexus S General] Maximilian Mary:
Are you using the usb cable that came with the phone?
[Nexus S General] styckx:
RC1 up and running. Woohoo!
[Nexus S General] TF1984:
I was running the stock rom, which I had rooted. I was on GRJ06D, I downloaded the GRJ22 From GRJ06D OTA file and applied through recovery. Now my SU app seems to not be working and none of my root apps are working. What can I do to fix?
[Nexus S General] Maximilian Mary:
You flashed a bone stock rom, so you have to re-root. Boot into recovery, and reinstall the superuser zip.
[Nexus S General] Onyoursix:
I've rooted 2 Nexus S with the GRJ22ODEXED.zip and they are both having texting issues, when they send a text the person who receives the text gets funny symbols letters and numbers, not the actual message. Was wondering if anyone else had experienced this.
[Nexus S General] jgalan14:
The had happened to me with over 160 characters for some reason google didn't get to fix and cm7 made a fix for the evo so is not being roted even stock has the issue

apatalk
[Nexus S General] Onyoursix:
ah cool, does anyone know of a custom rom for nexus that has this known issue fixed?
[Nexus S General] dj2big:
I used the ROM Manager to download GRJ22 Stock Rooted ROM

it wont go into recovery to install on phone
[Nexus S General] mikeyinid:
just hit menu>settings and check split 160, i think pete put the cm7 mms.apk in there, if i remember correctly
[Nexus S General] Joey_UFC:
when i paste this in the cmd it says it does not recognize it
[Nexus S General] Joey_UFC:
wait, am i suppose to download the emulator from the market and type the command? or the computer?
[Nexus S General] whatsanti:
Trying to unroot

I'm typing 'adb reboot bootloader' into command prompt but I get "'adb' is not recognized as an internal or external command, operable program, or batch file."

D: I know I'm probably going to get laughed out of xda for asking that, but I'm new to android so I don't yet have my footing.

EDIT: Oh and I'm not really sure if my phone is rooted to begin with. I think I've only unlocked the bootloader.
[Nexus S General] Maximilian Mary:
These commands are issued from the computer. First, make sure you have adb & fastboot on your computer. Then, navigate to the folder they are in before issuing the commands. On a mac, using ./adb and ./fastboot might help.

This will tell you if you have root.