yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] delca85:
This is my new StatusBarService.smali.

The really strange thing is I keep on having always the same error code, however I edit this file.
[Android Software/Hacking General [Developers Only]] shoman94:
I'm amazed how much help you give. Thank you.

I patched 2 Samsung firmwares.... love the feature.
[Android Software/Hacking General [Developers Only]] delca85:
I'm amazed too.
[Android Software/Hacking General [Developers Only]] hansip87:
Maybe you need to do what LeoMar said. I've tried to compile jinavs Galaxy Ace SystemUI.apk and found some tips:

1. From freshly decompiled SystemUI.apk, after putting anim files, recompile directly to auto-generate the public.xml.

2. Decompile the newly generated SystemUI.apk, copy the anim's id from public.xml to notepad

3. Modify LatestItemContainer$1 to have the id of the anim.

if-lez v2, :cond_0

.line 51
const v1, [B]0x7f0a0001[/B] #change to the id given by compiler(don't include this comment line)

and

.line 61
.end local v0 #animation:Landroid/view/animation/Animation;
.end local v1 #id:I
:goto_1
return v2

.line 53
:cond_0
const v1, [B]0x7f0a0000[/B] #change to the id given by compiler(don't include this comment line)
[Android Software/Hacking General [Developers Only]] delca85:
I have already done in this way, the first time I follow this guide. The SystemUI.apk on which I work is the one I have compiled and decompiled following LeoMar tip.
[Android Software/Hacking General [Developers Only]] hansip87:
Hmm ok then.. :o actually i don't know what's the problem unless i did the editing myself.. Anybody can help?

Well, if you're stuck maybe i can help you with the editing. just send me your SystemUI.apk and i'll report back. :o
[Android Software/Hacking General [Developers Only]] delca85:
I am going to send you my SystemUI.apk. Thanks a lot again.
[Android Software/Hacking General [Developers Only]] Shaaan:
I keep on getting this error when trying to smali.

Error : framework\com\android\internal\statusbar\IStatusbarService$Stub.smali[148,23] Label "sswitch_data_13e" is not defined.

Phone : Samsung Galaxy Ace

Firmware : Stock 2.3.6

Kernel : Cf-root b84

Nice mod.
[Android Software/Hacking General [Developers Only]] jaggyjags:
he forgot to highlight one of the lines at the bottom you need to change aswell. check the bottom of the IStatusbarService$Stub.smali
[Android Software/Hacking General [Developers Only]] Shaaan:
I did add the code and change the value to match it with the value of notificationerror.

If that's what you mean..
[Android Software/Hacking General [Developers Only]] jaggyjags:
.line 39

:sswitch_data_13e <----------this line

.sparse-switch

0x1 -> :sswitch_f

0x2 -> :sswitch_1c

0x3 -> :sswitch_29

0x4 -> :sswitch_42

0x5 -> :sswitch_5f

0x6 -> :sswitch_7b

0x7 -> :sswitch_8d

0x8 -> :sswitch_c7

0x9 -> :sswitch_d5

0xa -> :sswitch_ef

0xb -> :sswitch_116

0xc -> :sswitch_124

0x5f4e5446 -> :sswitch_8

.end sparse-switch
[Android Software/Hacking General [Developers Only]] santiemanuel:
I got nullpointerException on this file: IStatusBarService$Stub

http://pastebin.com/gw7t3Xrs
[Android Software/Hacking General [Developers Only]] Shaaan:
Now i get the java nullpointerexception error.

Please help.

http://pastebin.com/mAmuk6Fr
[Android Software/Hacking General [Developers Only]] hansip87:
Update to apk multi tool please.
[Android Software/Hacking General [Developers Only]] Shaaan:
Same error..

http://pastebin.com/kyEXPUyE
[Android Software/Hacking General [Developers Only]] hansip87:
Make sure u already added 3 modified smali file into smali/com/android/systemui/statusbar. The error said there are some missing files.
[Android Software/Hacking General [Developers Only]] Mirko ddd:
little "bug" resolved

hi Hansip, I give you some good advice.

I changed you animations left_out_basic.xml

to:

<?xml version="1.0" encoding="utf-8"?>
<translate android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="0.0" android:toXDelta="-50.0%p"
xmlns:android="http://schemas.android.com/apk/res/android" />

and right_out_basic.xml

to:

<?xml version="1.0" encoding="utf-8"?>
<translate android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="0.0" android:toXDelta="50.0%p"
xmlns:android="http://schemas.android.com/apk/res/android" />

this improves the swipe to remove act.

Actually you have to swipe from the left edge to the right edge (or right to left) to remove notification, and this is annoying and often you have to be accureted in that action,now with my modification you can swipe less, even starting from center to left(right).

I attach a pic to explain myself better
[Android Software/Hacking General [Developers Only]] shoman94:
Mine works just fine like your second picture at 100%. But I did lowered mine to 50% as well.
[Android Software/Hacking General [Developers Only]] Mirko ddd:
Well, this may help someone else so :D u helped your self with that little hack, maybe other rom makers may have not the same idea ;)
[Android Software/Hacking General [Developers Only]] Shaaan:
Now i get this error..

--------------------------------------------------------------------------

|25-02-2012 -- 10:54:48.45|

--------------------------------------------------------------------------

--2012-02-25 10:54:48-- http://update.apkmultitool.com/apkver.txt

Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20

Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 152 [text/plain]

Saving to: `apkver.txt'

0K 100% 46.3K=0.003s

2012-02-25 10:54:49 (46.3 KB/s) - `apkver.txt' saved [152/152]

A subdirectory or file projects already exists.

A subdirectory or file place-apk-here-for-modding already exists.

A subdirectory or file place-ogg-here already exists.

A subdirectory or file place-apk-here-to-batch-optimize already exists.

A subdirectory or file place-apk-here-for-signing already exists.

java version "1.7.0_01"

Java(TM) SE Runtime Environment (build 1.7.0_01-b08)

Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

'""platform-tools"\adb.exe"' is not recognized as an internal or external command,

operable program or batch file.

I: Checking whether sources has changed...

I: Smaling...

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: java.io.FileInputStream@9d1e83

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:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)
[Android Software/Hacking General [Developers Only]] anikolop:
I also have problem with recompiling systemui.

Have done the edit's 10 times at least.

I think there is a problem with this if statement

if-nez v7, :cond_htc

It compiles the apk until this line is inserted.

If someone could look at the code, i am sure i missing something

http://pastebin.com/nHu1Tx67
[Android Software/Hacking General [Developers Only]] Shaaan:
Okay. I managed to edit all the files except StatusBarService.xml.

Please help. What code do i need to change ?

Phone : Samsung Galaxy Ace [ Stock 2.3.6 DXKT ]

Kernel : cf-root b84
[Android Software/Hacking General [Developers Only]] hansip87:
For all the people who got crashed when compiling, it could be caused by:

1. Incorrect ID for anim files. Please do a decompiling of original apk, put anim file, and recompile again. after that decompile again to get a valid id on anim files inside public.xml

2. goto directive inside StatusBarService.smali should be matched with the :goto_xxx on the last modded line. There are two gotos that needed to be renamed to get to the right point.

3. please make sure StatusBarService$7 is unused. if it is, then rename the file and the content to match the new file name
[Android Software/Hacking General [Developers Only]] hansip87:
Please make sure you edit the latest_bar_event.xml to match the new LatestItemContainer class name.
[Android Software/Hacking General [Developers Only]] madman:
this is strange that even if i am changing that file and replacing it with com.android.systemui.statusbar.LatestItemContainer it is getting resetted in unsignedSystemUI if i decompile it..

while compiling i do delete resource.arsc file to make sure xml changes persist..

all the other things persist but this layout thing resets back..
[Android Software/Hacking General [Developers Only]] hansip87:
IIRC status_bar_latest_event.xml must be deleted from /keep/layout too.
[Android Software/Hacking General [Developers Only]] madman:
now in place of

E/AndroidRuntime( 342): java.lang.ClassCastException: android.widget.LinearLayout

E/AndroidRuntime( 346): java.lang.NoSuchFieldError: android.app.Notification.contentIntent

pops up in logcat...

at least if you know this problem is with framework or systemUI do tell me so that i can look into it again
[Android Software/Hacking General [Developers Only]] anikolop:
With the help of Dunc001 i successfully compiled the htc based systemui apk. It was the <init> in invoke direct that was missing.

invoke-direct {v7, v8, v9}, Lcom/android/systemui/statusbar/StatusBarService$20;-><init>(Lcom/android/systemui/statusbar/StatusBarService;Lcom/android/internal/statusbar/StatusBarNotification;)V
[Android Software/Hacking General [Developers Only]] amrith.28:
i have tried this a lot of times. Still having recompile issues :( do u think u could have a look into it ? i can attach the required files..

PS - i am not a dev. but i have done editing before.

---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------

oh and i use a Samsung Galaxy Ace S5830 phone.
[Android Software/Hacking General [Developers Only]] hansip87:
Sorry i haven't been watching this space :) well, at least the first error is gone am i right? The second error you got maybe caused by wrong variable for notification object. Please do an inspection again to find the correct variable to be used in modded code.
[Android Software/Hacking General [Developers Only]] hansip87:
What's the error mate? Better to solve it here so anybody can know the problem :)
[Android Software/Hacking General [Developers Only]] jaggyjags:
Thanks men!

thanks to this I managed to compile my SystemUI.apk and working fine on my HTC explorer.

This should be added to main post. ;)
[Android Software/Hacking General [Developers Only]] Dunc001:
Credit where due - this actually came from LeoMar75 on the third page of this thread HERE. It pays to take a little time and read through the whole thread for a mod like this as you will usually find the answer somewhere :cool:
[Android Software/Hacking General [Developers Only]] fisha21:
Thanks for the detailed info. Am frustratingly close...can get both files to compile fine, but when I boot, the statusbar is absent. No force close messages, and logcat doesn't show any errors related to statusbar, so difficult to troubleshoot!

Have uploaded my edited SystemUI files, in case any kind soul is able to see if I've made a huge error. Am trying to get this working on my HTC Desire, running a Sense 3.5 ROM...

http://www.mediafire.com/?84wpptu8cd96f8b
[Android Software/Hacking General [Developers Only]] hansip87:
Hi there. Please search for 'permission' or 'power widget' word in the catlog and paste it here.
[Android Software/Hacking General [Developers Only]] fisha21:
Hi. Have attached text files for "permission" and "statusbar" searches within catlog. Searching for "power widget" showed no results. Couldn't see anything obvious....

Thanks for your help

Edit:

Think I have narrowed the problem down to the SystemUI.apk. If I flash my modified framework.jar, system boots fine and statusbar loads. Also, the "clear" button no longer works, so I know the mods to framework.jar have taken effect ;)
[Android Software/Hacking General [Developers Only]] santiemanuel:
Logcat

I could recompile both files correctly and phone boots, but statusbar dissapeared.

Attached Log
[Galaxy Note GT-N7000 Accessories] Note_E:
Couldnt resist the savings. Liked my friends 880s but hated the rotary volume slider. 2 left

Sennheiser CX 870 Premium Ear-Canal Earphones with High Passive Noise Attenuation - Connect To Apple iPad, iPod, iPhone, MP3/MP4 Players, Galaxy Tab, Mobile Phones And All Audio Devices

http://www.amazon.com/dp/B00365EVWE/ref=cm_sw_r_an_am_ap_am_us?ie=UTF8
[Galaxy Note GT-N7000 Accessories] avetny:
yes it's the best one for this price !!! get it
[Windows Phone 7 Q&A, Help & Troubleshooting] xxxrichievxxx:
I'm looking to change the system font on my phone, and i was wondering if anyone was able to successfully change the font on a Windows Phone 7 device?
[Windows Phone 7 Q&A, Help & Troubleshooting] Phil_123:
I've seen people do it in interop unlocked custom ROMs on wpxap (a WP7 forum from China).
[Windows Phone 7 Q&A, Help & Troubleshooting] GoodDayToDie:
The Font files are stored in \Windows, and are locked in ROM. They can't be removed or modified without a custom ROM. However, I believe the values that control which ones are used when are stored in the registry, and that should only need interop-unlock to modify.
[T-Mobile Samsung Galaxy S II SGH-T989] katamari201:
When someone calls me, the phone will say something something is calling you. How do I turn the voice off? It also starts talking when I set an alarm and it goes off.

I also have an issue where sometimes I go to the call log and tap on an entry but nothing happens. It gets highlighted and make a tapping noise, but I can't open the entry nor call the person by pushing the little green call button. The issue goes away after a short time. Dunno what causes it.
[T-Mobile Samsung Galaxy S II SGH-T989] GraF8187:
The voice is because driving mode is enabled. Disable it and it should go away.
[HD2 Android Q&A, Help & Troubleshooting and Genera] SudoBen:
Hi,

Before I go into detail I've tried googling my issue for days now

I attempted to put HyperDroid on to my HD2 it had Windows Mobile 6.5 on it.

Following the instructions carefully firstly I updated from SPL-1.42.0000 to SPL-2.08.HSPL I did not have a problem doing this.

After that I installed MAGLDR v1.13 it loaded correctly (got to 100%) BUT when it rebooted my HD2 stays on the splash screen so matter what I can get it to boot into MAGLDR

Things I've Tried

Re-flashing MAGLDR v1.13

Tried MAGLDR v1.10 and v1.11

Flashing SPL-1.42.HSPL then installing MAGLDR

Flashing Task29 - Wiping then Re-flashing

Extensive Googleing

Installing cLK - Same Issue

:confused::confused::confused:

PB81100 HX-BC

SPL-2.08.HSP 8G XE

[EMPTY SPACE] 0x05

CotullaHSPL 0x40

Am I missing something on the third line??

Any help would be greatly appreciated
[HD2 Android Q&A, Help & Troubleshooting and Genera] gdsbalaji:
do task29 > install radio > mag > usbflasher > recovery daf.exe...

then u can flash any rom u want
[HD2 Android Q&A, Help & Troubleshooting and Genera] SudoBen:
Thank You!

I'll try it tommrow
[HD2 Android Q&A, Help & Troubleshooting and Genera] gdsbalaji:
remember to use the right partition size based on rom u select.
[HD2 Android Q&A, Help & Troubleshooting and Genera] samsamuel:
so far so good

because teh radio isnt right

magldr will ONLY work on 2.08.hspl( it will FLASH, but not start)

reading post 1 of themagldr thread would have been more use, especially the bit where it says you MUST have a compatible radio.

into bootloader, confirm spl line says 2.08.hspl, flash radio 2.15.50, restart, , voila, magldr.
[HD2 Android Q&A, Help & Troubleshooting and Genera] SudoBen:
Thank you so much haha!!

I thought I bricked my phone from a while there
[Nexus S Q&A, Help & Troubleshooting] Zivonche:
Hey

Im using ICS KANGY11 - Matr1x 15 - LiveOC 120% - lulzactive

when a call gets in

first the there is a vibration with black screen

after a few seconds the ringtone start still black screen

after a few seconds more the screen with the pic and answer option finally appear

could be a governor thing ?

since usually the call gets in while phone sleep

any ideas how to solve
[Nexus S Q&A, Help & Troubleshooting] Zivonche:
AM i The only one noticed that??
[Nexus S Q&A, Help & Troubleshooting] Pi3rluigi:
You are not alone,also I (and many other people using CM9) reported a daley in incoming call!

I got a different custom rom,different cpu settings but the same governor!

Maybe governor related,dunno,but seems there isn't a solution atm.
[Hero CDMA Q&A, Help & Troubleshooting] NineInchNails:
What I mean is have you ever gotten that look.... from people you know when you mention what you can do with our HIGHLY customizable phone?

I always get the stare... The glared over look that they are totally lost at what I'm trying to show them. Just annoys the hell out of me.
[Hero CDMA Q&A, Help & Troubleshooting] dastin1015:
All the time. I've grown used to it. I like to mind blow them.

私のEVO 3Dから送信される。
[Hero CDMA Q&A, Help & Troubleshooting] ajrty33:
I've gotten, "why don't you just buy an iPhone?" :/
[Hero CDMA Q&A, Help & Troubleshooting] dastin1015:
I have everybody ask me to root and customize their phones all the time

私のEVO 3Dから送信される。
[Hero CDMA Q&A, Help & Troubleshooting] NineInchNails:
Buddy of mine said that to me too but I just laughed.
[Hero CDMA Q&A, Help & Troubleshooting] NineInchNails:
My boss keeps asking the benefits of rooting but won't do it...
[Hero CDMA Q&A, Help & Troubleshooting] dastin1015:
Once I got very enlightened with a group of friends and showed them the wonders of root and android. :P

私のEVO 3Dから送信される。
[Hero CDMA Q&A, Help & Troubleshooting] NineInchNails:
I just get the glare... No idea why I would do this to a phone that already works.
[Hero CDMA Q&A, Help & Troubleshooting] mesheeka:
Yeah I like to 1up my friends and strangers who are trying to show off their iphones. They're like "i thought the iphone was the only phone that could do that!". I give a similar look to someone who is refusing to admit that their idevice isn't the only smart one out there.
[Hero CDMA Q&A, Help & Troubleshooting] NineInchNails:
Anyone that knows me well enough knows not to even bring up Apple products. I'll debate to no end and won't give in.
[Off-topic] jaszek:
It's almost 3AM, my European friends are all getting up, while all the Americans are sleeping...not sure about the Asians. My sleep schedule is so messed up lately. Anyone else up/dealing with Insomnia/ Living in Europe/overdosed on caffeine?

I THINK i drank 7 coffees and a few shots of vodka with the guys I was shooting at the concert.
[Off-topic] fleurdelisxliv:
my sleep is screwed up to bc i work the 12 hour night shift so when im off i try to get back to normal and i still stay up all night maybe get 3 or 4 hour and then right back up with my lil boy. i work 5 days one week then 2 the next so i cant ever get it right!!!!!!!!!!!! :mad:
[Off-topic] randomnameftw:
Both. I just watch something on hulu, till I knock myself out to sleep.

Edit: Maybe you can't sleep because of a certain team winning the superbowl :P.
[Off-topic] jaszek:
I would try and show u how many ****s I give about the superbowl, but its difficult to show nothing. Maybe it might be that the Rangers beat the Flyers' asses today on the ice. Lol. Damn caffeine. Attempt at falling asleep number two. Let's go.
[Off-topic] Dirk:
I think it's nice that you shared a few drinks before you shot them. That's good manners right there. Did they get a decent burial?

It's amazing how violent insomnia makes you. I do think you should hand yourself into the authorities though. It'll go better on you in court if they haven't had to send SWAT to arrest your tired ass!
[Off-topic] Montoyatok:
Mine is screwed cuz school here starts at 6 am and ends at 2.30 or later. So I sleep in the afternoon and do work at night.
[Off-topic] dexter93:
Lol xD
[Galaxy S II Q&A, Help & Troubleshooting] raghavghei:
is there a built in screenshot feature in the ics Leaks?
[Galaxy S II Q&A, Help & Troubleshooting] celeritykid:
yup. back then someone taught me this method to capture screen shot:

press n hold power button + volume down at the same time:)
[Galaxy S II Q&A, Help & Troubleshooting] raghavghei:
dosent work.. in gingerbread it was power and home key but that does not work
[Galaxy S II Q&A, Help & Troubleshooting] JacquesR:
Works for me - both in the LPB release and now in CM9. You need to hold volume-down and power in for about a second, though.
[Galaxy S II Q&A, Help & Troubleshooting] hardm2000:
This feature deff works just hold it a little bit longer than your used to in GB.;)
[Galaxy S II Q&A, Help & Troubleshooting] dave106:
Now bizarrely its still power and home for me, on XXLPB. It wasnt when I first installed it, but Ive restored some system files from GB I had backed up in Titantium and its changed to power+home ?!
[Galaxy S II Q&A, Help & Troubleshooting] cooza:
I got both ways:D
[Galaxy S II Q&A, Help & Troubleshooting] trace1er:
I can confirm that pressing and holding volume down + power button simultaneously will take a screenshot. It will notify you once it's done (using Westcrip's ICS Remix v9.1)
[Galaxy S II Q&A, Help & Troubleshooting] Javiertoralm:
Same here... Volume down + power makes the job...
[Galaxy S II Q&A, Help & Troubleshooting] gr4ndm4st3r_bl4ck:
Both works for me too :) CM9 is probably a bit different then the Samsung leaks :)
[Galaxy Tab 10.1 Accessories] lilybush:
I wanna buy a case for my Samsung Galaxy Tab, i found such a case, seems to be great and price is OK.

Bluetooth Leather Keyboard Case

it will bring me convenience, i believe.

But i don't know which color to choose, white or black, what do you think?

any other cases to recommend?
[Galaxy Tab 10.1 Accessories] slack04:
1) if you want a laptop, get a laptop (I don't mean it in a rude way; it's just that everyone who tries to use their tablet like a laptop comes here and complains that it doesn't work very well). BTW- ever tried typing on a keyboard that's the size of your tablet? Not fun.

2) for $30, I don't even have to look at the description. I can guarantee it's garbage.

3) that keyboard is for the p1000. Either you don't want that case, or you're in the wrong forum!
[Galaxy Tab 10.1 Accessories] IronReaver17:
Tablet = fun

Laptop = work

That's how I see it
[Galaxy Tab 10.1 Accessories] slack04:
Mostly agree, except you can also use the tablet for reading for work, but not writing...

10 chars
[Miscellaneous Android Development] jst_tsj:
We compiled successfully CyanogenMod 7.2 for LG p690 (Optimus Net / Optimus Link)

Features :

- works with clockworkmod recovery

- bootanimation

- Cucciolone custom kernel beta (overclock and more)

- cyanogenmod tree updated daily

- Cyanogenmod full build (with bacon!)

STATO :

Working (?):

- bluetooth

- wifi

- gsm

- 3g (selezione automatica APN)

- audio (ringtones + mp3)

- gps + compass

- sensors

- connessione hdspa

- headphones

- FM RADIO

- bluetooth

To check

- thethering

- usb storage (SD e SDext)

gapps

http://wiki.cyanogenmod.com/wiki/Latest_Version/Google_Apps (official)

http://xdaforums.com/showthread.php?t=1335682 (unofficial)

Sources available!

https://github.com/jstotero/android_device_lge_p690

ATTENZIONE ALL'OVERCLOCK OLTRE I 940 MHz! FREQUENZE TROPPO ALTE POSSONO DANNEGGIARE IL VOSTRO TELEFONO!

KEEP CARE WITH OVERCLOCK ABOVE 940 MHz! TOO HIGH FREQUENCIES COULD DAMAGE YOUR PHONE!

Disclaimer:

Neither I nor XDA consider ourselves responsible for any damage caused to the telephone,

install this recovery at your own risk.

For Downloads FAQ and Changelog, see next posts
[Miscellaneous Android Development] jst_tsj:
reserved for future updates