yashsingh1/xdaforums huggingface dataset:
[Android Themes] rastigo:
[MENTION=4485836]Erhany[/MENTION] i use slumbean which is a custom rom with lot of tweaks. You think the mod will still work. Its cm10

Xperia Sola MT27i using xda premium
[Android Themes] Ticklefish:
Give it a try and see what happens.

Just make a backup first so that if it doesn't work, you haven't lost anything. :cool:
[Android Themes] Kevalvino:
Hi its me again, is there's a way to remove the percent symbol?

Its on smali right? But i didn't understand the language so i can't figure it out
[Android Themes] Erhany:
Search % in smali file. Remove it and save. Then try how it looks
[Android Themes] Kevalvino:
I can't understand smali text
[Android Themes] professor_proton:
1) Open the smali

2) Ctrl+f (search button)

3) "%" (with quotes )

4) replace with ""

5) save try this should work

6) no need to understand it , its way too complex

7) man that's a lot of steps

8) [MENTION=4485836]Erhany[/MENTION] man you're way too awsome ;) :P
[Android Themes] Kevalvino:
Thanks, ill try when im home ;)
[Android Themes] Kevalvino:
Edit: It Works !! THANKSS
[Android Themes] D2Y aka E:
sorry out of theme ... if you could make a tutorial on statusbar notification amid cm10.1 ... thank you in advance
[Android Themes] Ticklefish:
Is there any way to add a '+' symbol or something similar to show when the battery's charging?
[Android Themes] Erhany:
can you symbolize it ? when charger connected you want only" + "instead of %text or else?
[Android Themes] Ticklefish:
I was thinking of having a '+' in front of the number. So you might have '+80%' for example.
[Android Themes] chaoslimits:
I know this wasn't build with 4.4 but I'm a little lost in adding this to my Moto X on 4.4.2.

I looked at the mod for Nexus 5 that's based on this and made the same changes (adding the erryy folder to /smali/com and adding the line in status_bar.xml). Runs fine on dalvik runtime but I get the following error on ART:

Any direction?
[Android Themes] cojomojo:
Did anyone ever experience this issue

See attached. I am on a Nexus 5, but this is the source for the mod for the Nexus 5. Tried flashing back to stock, even pushed stock SystemUI.apk back. Still the issue persists.
[Android Themes] cojomojo:
The file "status_bar3" is suppose to be from the stock SystemUI.apk, this is what I am using now (i pushed it to the phone trying to fix the issue). The file "status_bar" is the the file from the mod's SystemUI.apk. Btw, for some reason XDA made me convert the files form xml to txt to attach them.
[Android Themes] Ticklefish:
Thanks, that looks much better. :)

Looking at your screenshots again, I'm wondering if I'm thinking of the same issue. Is this to do with the background of the clock and the buttons?

If it is, then the answer is in your header.xml. You need to look at ic_notify_button_bg.png[/i] in your relevant drawable folder (drawable-hdpi or whichever).
[Android Themes] cojomojo:
status bar expanded

I was referring primarily to the background of the notifications that are sitting there being messed up. The background of the clock and buttons was an after thought issue.
[Android Themes] cojomojo:
I have now fixed both issues, well sort of. The reason that even when I "reverted to the stock" the zip provided did not replace the SystemUI.odex. This was the issue. I pushed my stock SystemUI.odex and all is well again. Still this is an issue with the mod, and I will further investigate. But At least the issue is fixed now.
[Android Themes] professor_proton:
Dev , i know that i might be asking too much , but can you make a similar implementation like a circle battery that doesn't use 200 images, that's a little customizable like color options or anything like that, if you have a little free time :)
[Android Themes] fonz93:
This mod works perfectly on my ROM 4.1.1 with AOSP SystemUI, thank you.
[Android Themes] jasper~:
Works on my Rom running 2.3.6. Thanks man.
[Android Themes] dhruvpaul:
[MENTION=4485836]Erharny[/MENTION] By using the method in this thread, I tried to have the battery text view on my moto g running on Android 5.0.1. But I was not able to recompile the systemui.apkCan you help me out in this, hope you sont mind.

Have attached the log with the post.
[Android Themes] thanhnguyen2075:
tks

i need
[Android Themes] D2Y aka E:
friend if you want to create% battery can be enabled

through setting.apk how to disable the tutorial...thx For this answer
[Android Themes] Ticklefish:
The smali in the OP is meant for apktool 1.5.2, not apktool 2.
[Android Themes] Ticklefish:
I've recently picked up a Xperia Z3 Compact with Android 5.0.2.

Just to let you know, [MENTION=4485836]Erhany[/MENTION], this awesome mod of yours works on Lollipop! :good:
[Android Themes] FaustinX:
i'm having issues about compiling

if i use 2.x.x version apktool it gives error about added smali files

i tried using 1.5.2 version apktool now it gives error about existing not modified smali file

i'm putting log here

hocam bi el at be

D:\Users\oguzh\Desktop\apktool1.5.2>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNTİME
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: D:\Users\oguzh\Desktop\apktool1.5.2\SystemUI\smali\com\android\systemui\statusbar\AnimatedImageView.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
[Android Themes] Ticklefish:
Have you tried using apktool 1.5.2. to decompile and recompile your APK?
[Android Themes] richard.elgh:
Doesn't work to either decompile or recompile SystemUI with 1.5.2...
[Android Themes] Ticklefish:
If you can't de/recompile with 1.5.2, the best thing to do is convert the smali in this thread to make it apktool 2 compatible.

And the easiest way to do that is to take an old APK that will de/recompile with apktool 1.5.2. Decompile the APK with 1.5.2, insert the smali files, recompile with 1.5.2., then decompile with 2.0.1. The smali files will now be compatible with the APK that you're trying to mod.
[Android Themes] richard.elgh:
Does it matter what APK I choose? Or it's supposed to be an old SystemUI.apk for my S3 Mini? [MENTION=4315551]Ticklefish[/MENTION]
[Android Themes] Ticklefish:
Nope. Any old apk will be fine. All you're using it for is to convert smali.
[Android Themes] Ticklefish:
Or...you could always use the code I've just attached.. ;)
[Android Themes] richard.elgh:
Will that work with apktool2?
[Android Themes] Ticklefish:
Yup.
[Android Themes] richard.elgh:
Thanks, will try when I have got access to a computer. :)
[Android Themes] Ticklefish:
I'm bumping this thread.

Why? Because this mod still works on Marshmallow! :D
[Android Themes] Dr.Ghobar:
Thank you for this useful mod.

I think decompiling and recompiling is difficult for me.

I have Galaxy GT-S5830 with 2.3.5 ROM. It is rooted. I have ADB on Windows.

Can you make the recompiled file and send it to me, and tell me how to push it?

Yours

Dr.Ghobar
[Android Themes] Dr.Ghobar:
Thank you for this useful mod.

I have Galaxy GT-S5830 with 2.3.5 ROM. It is rooted.

I have decompiled SystemUI.apk.

I have a question about the part that you said "copy smali files into smali/com/erryy folder. ( so the long path is com/erryy/BatteryText$1.smali and BatteryText.smali)":

Should the path "smali/com/erryy" already exist in decompiled SystemUI folder? Or Should I create it in decompiled SystemUI folder?

Yours

Dr.Ghobar
[Android Themes] iceranan1979:
It worked perfectly for me now. Thanks for keeping this thread alive :)
[Android Themes] Dr.Ghobar:
Did you created the path "smali/com/erryy", or did it already exist in decompiled SystemUI folder?

(In other words, did you put smali files in existent "smali/com/erryy" or did you first created it and then put smali files in it?)
[Android Themes] Tulsadiver:
You create it, or rather it is already created in his zip file, you just copy it (erryy folder) to smali/com) which becomes smali/com/erryy

---------- Post added at 01:21 PM ---------- Previous post was at 12:55 PM ----------

And Nougat!
[Android Themes] Ticklefish:
Good to know! Now I just need root on my Xperia XA1 and I can put this mod on. Being on stock is so frustrating!!
[Android Themes] Tulsadiver:
I saw your post on navbar icons. Nice!
[Android Themes] Ticklefish:
.

Thank you! :D
[Android Themes] Dr.Ghobar:
Just to become sure:

My SystemUI folder does not have "smali" folder at all.

Shall I create (or copy) it along with "com/erryy/..." in it?
[Android Themes] Tulsadiver:
If you don't have a smali folder, you are not deodexed. You have to deodex your systemui.apk first.
[Android Themes] Dr.Ghobar:
My android 2.3.5 is rooted. I took a copy of SystemUI.apk. I am working on that copy so that I later replace the original apk with the modded apk.

I know nothing about deodexing. Can I just deodex the copied SystemUI.apk? Or Should I deodex the rooted android?
[Android Themes] Tulsadiver:
You might be able to deodex your copy if you also have the systemui.odex file and your entire framework folder from your phone. Not all phones can be deodexed however.
[Android Themes] Ticklefish:
You're on 2.3.5? As in Gingerbread?

In that case, my good friend is right. You should be able to just deodex SystemUI.apk on its own.

Deodexing is easy...if you know how. I'd suggest using a program to just batch deodex your whole rom. It might be easier than trying to deodex one APK on its own.

And I'm not just saying that because I have a program that just does that. I'm saying it because deodexing is the sort of thing that can cause headaches if you're not careful. You need to do some research before you consider doing it manually.
[Android Themes] Tulsadiver:
TickleMyAndroid by Ticklefish is a well known, popular, and has excellent support. I use it on a daily basis for decompiling and recompiling. Easy to use. I highly recommend it.
[Java for Android App Development] DannyGM16:
Come on... It's easy!

Enviado desde mi GT-S5570I usando Tapatalk 2
[Java for Android App Development] nikwen:
Remove that "su" in the CommandCapture. You tell the library that you want to be root by calling getShell() with the parameter true. The parameter true tells RootTools to call su itself.

---------- Post added at 08:42 AM ---------- Previous post was at 08:40 AM ----------

DELETED
[Java for Android App Development] DannyGM16:
I don't understand you. Please, show me an example! :confused:
[Java for Android App Development] nikwen:
Change this

CommandCapture command = new CommandCapture(0, "su", "mount -o rw, remount -t yaffs2 /dev/block/mtdblock4 /system", "cp /data/data/com.fixer.gminipop/files/caca.txt /system", "mount -o ro, remount -t yaffs2 /dev/block/mtdblock4 /system");

to

CommandCapture command = new CommandCapture(0, "mount -o rw, remount -t yaffs2 /dev/block/mtdblock4 /system", "cp /data/data/com.fixer.gminipop/files/caca.txt /system", "mount -o ro, remount -t yaffs2 /dev/block/mtdblock4 /system");
[Java for Android App Development] Zatta:
I've answered your last question in your other thread and I would prefer not to use this thread anymore. If RootTools works without calling "su" implicitly, even better as su is expensive call!
[Java for Android App Development] eagleeyetom:
Thread closed.
[Xperia Tablet Z Q&A, Help & Troubleshooting] acdcking12345:
What I would like is either an app that lets me just do a restart on the tablet, or even an option on the shut down menu to just restart. I hate having to shut down and then turn it back on.

Anything exist?
[Xperia Tablet Z Q&A, Help & Troubleshooting] nitin_ko:
i use power toggles to do the same. it gives many options out of which one is shut down and one is restart.
[Xperia Tablet Z Q&A, Help & Troubleshooting] salanos:
I also use Power Toggles, but I believe the restart feature requires root?
[Xperia Tablet Z Q&A, Help & Troubleshooting] nitin_ko:
no, works w/o root also
[Samsung Galaxy Exhibit 4G] ReikiDraven:
I am currently running SlimBean 4.2.2, build JDQ39E.

Been trying unsuccessfully to sync my PS3's wireless controller to my phone, and none of the apps I have tried have worked.

Does anyone know one that does, or if there is another ROM that supports PS3 controllers, specifically?

Thanks for any assistance.
[Samsung Galaxy Exhibit 4G] schuylkillparanormal:
Its not the ROM I believe the phones hardware is not supportive.
[Samsung Galaxy Exhibit 4G] ReikiDraven:
I thought that MIGHT be the case, too, but I figured if anyone knew a workaround, it would be this community. I can get it to recognize my PS3 controller, but it refuses to sync.

I'd think that as long as it accepted any old Bluetooth connection, that I should be able to sync almost any Bluetooth device. Meh.
[Samsung Galaxy Exhibit 4G] schuylkillparanormal:
It might connect but were not running the latest drivers like the most high end devices
[Xperia Arc Q&A, Help & Troubleshooting] whisper_:
can some 1 give me a link for nAa kernel v 2.6

i remeber when i used it with jb 4.2.2 i didnt get any lag or reboots at all
[Xperia Arc Q&A, Help & Troubleshooting] Someguyfromhell:
nAa only made 3.0.8 and 3.4.48 kernel for Arc/Arc S. 2.6.32.60 kernel was only for MDPI devices.
[Xperia Arc Q&A, Help & Troubleshooting] ChillToucH:
Try fusion kernel. One of the best 2.6 kernels.
[AT&T HTC One (M7)] Copp:
I've run CM 10 before, but now I haver an HTC "unlocked" edition (no carrier). I am with AIO wirless, a new "Bring Your Own Device" AT&T offshoot, with HQ right where AT&T's is in Atlanta.

I am running a pretty much stock, deodexed 4.2.2. ROM with Bulletproof's enhanced kernel. All is very stable, but I am missing the customization features of CM 10.1. I have TWRP 2.5 on it as my recovery.

Do I flash the CM 10.1 nightly for the plain old HTC One or the AT&T HTC one?
[AT&T HTC One (M7)] Nick281051:
I don't think it really matters
[T-Mobile Samsung Galaxy Note II] ezsoulja:
Ok I have a Bluetooth that can stream music but it's one thing annoying.. When I get a text the phone and Bluetooth plays the notification ring tones.. Is there a way to just get it thru the Bluetooth only while paired..?
[T-Mobile Samsung Galaxy Note II] ionic7:
You pair your phone to xmit audio then complain when it does that? Turn your notis off or dont be surprised when something woeks properly
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] zacsaunders:
I have tried searching this topic many times but can't find anything similar. I want to connect my webcam through the usb OTG port on my phone and use that in skype ( or other apps) instead of my built in cameras. Is this possible to do?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] zacsaunders:
Sorry about that, Swear I posted it here...found a bit more information on it, apparently you can get the webcam to work with OTG but I have yet to find anyone who has got it working with apps like skype..
[MDA II, XDA II, 2060 ROM Development] Embly®:
Hi,

I have broken the connector usb of XDA II, I can use something in order to modernize the rom?

Tanks
[MDA II, XDA II, 2060 ROM Development] Xeon:
I dont think so , because in order to install a new Rom the device needs to be restarted and it puts itself in the Bootloader menu so it communicates only throught USB , hard Luck :evil:
[MDA II, XDA II, 2060 ROM Development] Bonzo:
What about SD cards..

I believe that you can use a SD card to upload a ROM image to the device..
[MDA II, XDA II, 2060 ROM Development] Embly®:
Hi

Some reference (link-forum) to this procedure.

Tanks
[Nexus 4 Q&A, Help & Troubleshooting] bombatwist:
So my clumsy self decided to go swimming a few days ago and forgot my nexus 4 in my shorts. it is water damaged and whenever i try to charge it, it gives me the red light for death. i googled around to see what the red light of death means and saw that removing the battery and putting it back on would solve the issue. i went ahead and did that. the phone did show the google logo and the paranoidandroid boot logo but shut off right after seeing that. The red light of death appears regardless of me removing the battery and plugging it back in or not. Also when i try charging it without the battery plugged in, the screen would turn white (very dim though) then turn off and the red light would start blinking somewhat rapidly.

I was thinking of buying a new battery and trying to see if maybe its just the battery but since i plugged in the charger without the battery and im still getting the red light, my phone might just be a goner.

what do you guys think? any suggestions? or is it time to buy a new nexus 4 (or possibly another phone that has a better bang for the buck)

thanks!
[Nexus 4 Q&A, Help & Troubleshooting] MelquiXDA:
First thing to do when a smatphone was in water contact is open and dry it. Never try use or charge it without do this.
[Nexus 4 Q&A, Help & Troubleshooting] hp420:
agreed. dry rice is the best/cheapest way to do this. Remove the battery (yes, I know that means unscrewing the 2 torx screws to get the back off....just do it!!) then drop the phone and battery in a ziplock bag so they are covered completely with dry rice and let it sit for 24 hours.
[Nexus 4 Q&A, Help & Troubleshooting] mgtmadness:
I did the same thing. I didn't have the tools to remove the back, but I did have it in rice for 3 days. Removing the battery and directly charging it even over night still doesn't help (just yesterday, into this morning). I did manage to get the charging icon but after 8 hours it didn't even charge. I unplugged and tried again to charge directly to the battery overnight and this morning, I connected the battery in and it didn't come on. Plugged it in the wall charger and got the blinking red light.

Think I need a new battery and or motherboard. There was slight corrosion but cleaned it up best I could with 91% isopropyl alcohol.

Help please.
[Nexus 4 Q&A, Help & Troubleshooting] thesoupthief:
Oops - I misread this as "dry ice" and leapt to reply that rapidly cooling soggy tech to -78 degrees C is not likely to help.

I need glasses / more sleep

Looking forward to the day when phones have Liquipel type coatings as standard

Just went a Googling and came up with this http://nanostate.co/ - anyone have any experience of using it?
[Nexus 4 Q&A, Help & Troubleshooting] hp420:
I'll bet it's the battery. They don't stand much chance when exposed to water, but your phone should be just fine. Get yourself a new battery and give it a shot....at least that's a cheaper option than getting a new phone, right? :D

lol...I hear that, man....been wearing glasses since I was a kid. I'm blind as a bat without them :)
[Nexus 4 Q&A, Help & Troubleshooting] dandadda:
I got some Flash Flood from Nanostate a couple of weeks back, it works, I ran tap water over my iPhone 5 for a few mins and everything was as they said, water bounced off the glass, buttons and bezel. The only downfall is you cannot completely submerge your phone underwater but I am guessing it better to have some type of protection than nothing.
[Nexus 4 Q&A, Help & Troubleshooting] lilracerboi:
I actually managed to recover my Nexus 4 from water damage.

When I took it apart there was still some water on the battery and the motherboard cover so I just wiped it away.

I took out the motherboard and saw there was some corrosion so I dunked it motherboard in 91% isopropyl alcohol for about 30 minutes and bought a new battery.

Now everything works just fine.
[Nexus 4 Q&A, Help & Troubleshooting] surferbrad:
i just bought a water damaged n4 on ebay. when i got it it would not turn on only flashing red light with charger plug in. i replaced the battery with a one i had from a lg e790 and got it to boot and it's been working since.

i hope this helps.
[Nexus 4 Q&A, Help & Troubleshooting] defnow:
Same thing happened me with the damn pool situation. After a few days in rice and leaving it in the car my nexus boots up to the welcome screen then immediately powers off due to a dead battery. I bought a new battery off eBay so im hoping it works. I hate using a Samsung note.
[Nexus 4 Q&A, Help & Troubleshooting] scrugs:
Did you actually submerge the mobo in alcohol for 30 min? Totally covered in alcohol?
[Nexus 4 Q&A, Help & Troubleshooting] utsc:
Possible Water Damage

I had my Nexus 4 on the table with a glass of water. I accidentally knocked the water glass and water spilled over my phone. I immediately picked up the phone and wiped it with a cloth and turned it off. I have not turned on the phone for 24 hours and there is no water in the SIM tray. What should I do.

I have not tried the rice technique yet as I have to remove the phone but it is necessary? Or would it be enough if I leave the phone turned off for a another 48 hours?
[Nexus 4 Q&A, Help & Troubleshooting] slinky1999:
Hey dude, dropped my n4 in water a week back, left it in rice and got a new battery, installed the battery, booted the phone on and it worked for about 2 days until i was just using my phone and it powered off with still about 80% battery left, tried to switch one and as soon as the phone booted and got to the lock screen it powered down again, did your new battery fix this issue? thanks for any help!
[Samsung Galaxy Nexus] mar5hal:
Just In Case
[Samsung Galaxy Nexus] sk8oldschool74:
For real!!! :D:D:D

"keep !t oldschool"
[Samsung Galaxy Nexus] schukje:
And yes we are online Lol
[Samsung Galaxy Nexus] sk8oldschool74:
Let's get this party started!!! :D:D:D

All g Nexus devices supported here good!!! ;):):beer:

Sincerely, sk8

"keep !t oldschool"
[Samsung Galaxy Nexus] 47th_Ronin:
Ofc i simply must dl this for my toro....

NOW!

Lol...

Thanks for the flash fix guys!
[Samsung Galaxy Nexus] gorillabiscuit:
Am I correct in assuming that there are two full ROMs? One with and one without beats?
[Samsung Galaxy Nexus] sk8oldschool74:
That would be correct my friend!!! ;) :)

"keep !t oldschool"
[Samsung Galaxy Nexus] gorillabiscuit:
Downloading with beats now!
[Samsung Galaxy Nexus] ZubaZ:
My summer has been way too crazy busy the past two weeks, but I plan on getting this flashed as soon as I get some spare time. Keep up the great work guys!
[Samsung Galaxy Nexus] sk8oldschool74:
Good to see you ZubaZ!!! :)

"keep !t oldschool"
[Samsung Galaxy Nexus] matthew0776:
Oh snap this thread got ZubaZ on here...what up Zuba :D

Candy Painted
[Samsung Galaxy Nexus] aikons:
Are you open source?

来自 Galaxy Nexus 上的 Tapatalk 4 Beta
[Samsung Galaxy Nexus] mar5hal:
Not yet unfortunately. I am working on making it available, after I change it but now its AOKP source and theirs is open :)

Edit: built from source yes ;)
[Samsung Galaxy Nexus] sk8oldschool74:
Yes this was built from open source by MAR5HAL... :cool:

"keep !t oldschool"
[Samsung Galaxy Nexus] myrmidon84:
Thanks for some toro+ love downloading now!
[Samsung Galaxy Nexus] tomzefi:
Yes sir. More crack ROMs for toro+ thank you sir
[Samsung Galaxy Nexus] mar5hal:
You are quite welcome :) flash responsably ;)
[Samsung Galaxy Nexus] fatappel:
Dirty flashes cleanly and smoothly over other aokp builds. Rom feels good and fast. Nice added features. Thanks to the k!ck fl!p team for creating and sharing.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] mar5hal:
Cheers :beer: don't forget to thank team kang ;) without their source it wouldn't be much of a rom :D
[Galaxy Camera Q&A, Help & Troubleshooting] Noiseblack:
I wonder if anyone knows if there is some way to put apps en SD card. I've installed App Manager and it's say that is not possible :confused: I have spent several hours searching the internet and have not found any information about it.

Thanks for your help