yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] evildev:
This is THE MOST GENIOUS idea someone on XDA had! I'm currently building Gingerbread ROM for Xperia U, and I was in need of solution how to change tracks while I'm in some other app. I've managed to implement buttons in notifications bar, but that was an ugly solution to my otherwise aesthetically pleasing parts of rom because buttons were there all the time. Now with this mod, I got what I wanted :)

It's handy that we can also change the colour of status bar with this app :) :) :) I cannot than you enough!

Also, can I implement this mod in my rom when I release it? You will be credited, of course :D

Keep the good work going :)
[Android Apps and Games] JoeFCaputo113:
No DL just yet, correct?! This is an amazing idea though. Can't wait to test it on my Sprint Galaxy S4!
[Android Apps and Games] mariozawa:
In the downloads tab ;)

http://xdaforums.com/devdb/project/dl/?id=4174
[Android Apps and Games] souler456:
Nice one! Here's some Quick Suggestions:

• Add a Custom Activity function (like Double Tap to Open Running Services, or Recent Apps, or the likes of it)

• Add an Open Application function (like Double Tap to Open Messaging App)

Anyways, Great MOD! Will try on my S2! :highfive:
[Android Apps and Games] PineappleOwl:
Hoping for a source sir. hehe. :D
[Android Apps and Games] the_vanya1:
thx

Pls add new gesture
[Android Apps and Games] mariozawa:
Will you marry me haha

What gesture? You can't do a custom gesture at statusbar since it was too small.

I add new action instead :good:
[Android Apps and Games] JoeFCaputo113:
Where exactly do I place smali files from the Potato Gesture zip?! I'm such a nooob lol -__-
[Android Apps and Games] arvarobert:
I getting some errors while recompiling systemui

View attachment 2589361

View attachment 2589362
[Android Apps and Games] dialmformostyn:
Could this potentially be used for cursor control?
[Android Apps and Games] zrox:
..hindi ko alam taga malolos kpala pre..anjan lng ako lage sa may terminal ng hagonoy nung angjan pa ako pnas....grrr ahahhaa
[Android Apps and Games] the_vanya1:
Give me your SystemUI.apk and all apk in framework and i will try to fix it
[Android Apps and Games] Geddd:
works on my galaxy core duos. :good:
[Android Apps and Games] arvarobert:
DELETED!
[Android Apps and Games] the_vanya1:
Try this - https://www.dropbox.com/s/em9gwv1jn2v23a7/SystemUI.apk

And install Potato Statusbar Gesture.apk
[Android Apps and Games] arvarobert:
Nope,it's not working.The statusbar doesn't shows up.
[Android Apps and Games] mariozawa:
Try signing it.

Maybe is has different signatures.:good:
[Android Apps and Games] the_vanya1:
I use ANDROID_firmware_tool, try this program
[Android Apps and Games] arvarobert:
I signed it, but no luck.

---------- Post added at 11:18 AM ---------- Previous post was at 11:17 AM ----------

I don't have a pc :(
[Android Apps and Games] Aumkar:
Looks great. Maybe you can adapt the mod to be used with Xposed as a module and have your app on the Play Store or something like that.
[Android Apps and Games] ritikchanna:
nd yeah thats super cool .. great work buddy !!!
[Android Apps and Games] TheArc:
Great mod, congrats on getting featured on the portal!!
[Android Apps and Games] Recognized Noob:
Cant an xposed mod or an app be made so that it can be used without decompiling systemui etc etc?
[Android Apps and Games] dhaval31333:
is it works for nexus 5?
[Android Apps and Games] Akhilendra Gadde:
Another cool mod.! Nice work OP .
[Android Apps and Games] Dzakus:
Do you think about xposed module? I can help. PM

PL: Myślałeś o module do Xposed? Ja mogę pomóc. PW
[Android Apps and Games] gabripranzo:
Yes please :D

It would be much more usable without decompiling and so on. An Xposed module would be great.

Sent from Galaxy Note 8.0 GT–N5100
[Android Apps and Games] the_vanya1:
Cool mod

Pls add new actions like volume up or volume down and change brightness level
[Android Apps and Games] christian devs01:
COOL MODE

Cool its work on my MTK6589 phone but i have a problem sir i cant swipe down my notification form statusbar

im using 4.2.2 android any sulotion :( i like this mode
[Android Apps and Games] Kamy:
Great mod, thanks for sharing. Works like a charm on Samsung Galaxy Note running TW JB 4.1.2.
[Android Apps and Games] pollube31:
try changing the android:layout_height="fill_parent" to android:layout_height="28.0dp" or 33.0dp if the size of your statbar is 35 like mine
[Android Apps and Games] vishal1404:
i used this mod with hyperion....at starting it is working fine....but after sometime nothing is working....so i rebooted and it working two or three times but again after some time nothing is working....using original hyperion systemui
[Android Apps and Games] linsalata28:
It works great on my glacier running aospX 4.0.4 ROM.

The guide was very easy to follow also.

Thanks for your work.
[Android Apps and Games] samsoul16:
Sexy Work MarioZawa..

Luv u buddy....!!
[Android Apps and Games] zenesis:
I have provlems recompiling my System UI.apk. Here's the log from my apktool.

..\3-Out\SystemUI.apk\smali\com\potato\touchbar\MusicUtils.smali[38,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\potato\touchbar\MusicUtils.smali[38,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
..\3-Out\SystemUI.apk\smali\com\potato\touchbar\MusicUtils.smali[68,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\potato\touchbar\MusicUtils.smali[69,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\potato\touchbar\MusicUtils.smali[68,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/potato/touchbar/MusicUtils.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

please help.

PS: Is this the correct path of smali files

smali\com\potato\ ??? or it has to be inside on one of the path that modifies the statusbar

e.g. smali\com\android\potato\ or smali\com\sonymobile\potato\
[Android Apps and Games] linsalata28:
The path for the smali is correct.

I'm no expert but I think the errors are from adding the text in status_bar.xml in the wrong place.
[Android Apps and Games] zenesis:
hmmmm I'm sure it was not wrong

<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.potato.touchbar.TouchMe android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" />

the closing tag of the

xmlns:android="http://schemas.android.com/apk/res/android"

was not there on it side but after

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

so I considered it a whole code line, and pasted this

<com.potato.touchbar.TouchMe android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" />

after the said code line.

hmmm any leads why this occurs?
[Android Apps and Games] icedventimocha:
Tried this on VZW Note II on 4.3 The app functionality works but I can't expand my status bar.

Edit: seen post above about spacing. Got it to work, but getting a lot of system UI force closes upon gesture.

Sent from my Galaxy Note II
[Android Apps and Games] sheraro:
works great on Xperia Play 2.3.7 Gin2KitKat 3.1.0 rom :)

can I request an option to change duration of vibration thanks
[Android Apps and Games] mariozawa:
Can you attach some logcat? Thanks ;)
[Android Apps and Games] icedventimocha:
https://db.tt/wxV14USB

Sent from my Galaxy Note II
[Android Apps and Games] inpamcoxie:
Same here .. I got this mod working on Mt6577 running JB 4.2.1

All works fine .. The swipe function - double tab etc .. But it seems this mod made my status bar un-expandable .. Do you have any other solution ? .. Changing the height or status bar dimens still can't resolve the problem ..

Hopefully anyone could solve this problem ..:cowboy:
[Android Apps and Games] Akhilendra Gadde:
OK I'm up with some solutions ;)

Tested this mod while ago found that notification drawer doesn't expands after settings layout height and width as "fill_parent" .

If u want your notification drawer to open then do the following changes.

In status_bar.XML when u added the line <com.potato....... > in it change android:layout _width="fill_parent" to android:layout_width="240.0dip"

Also if u want ,add this android:layout_gravity="center" so that u can open your drawer from left as well as from the right.

*Here I changed value to 240 cuz my actual width is 480. U may set it up as per your device resolution ;)

Next is don't assign same options for the Two or more actions, else systemui will fc.

I DID IT ON MY MT6577 PROCESSOR DEVICE RUNNING JB 4.2.1 also know as Micromax A110.

Check SS below.

Activation Points :-

Proof that notification drawer opens after making above changes ;) :-
[Android Apps and Games] inpamcoxie:
[MENTION=4915946]Akhilendra Gadde[/MENTION] .. Could you provide me your systemui bro .. So i could compare the lines ..

Although your suggestion solve the expanded issues but it seems .. My statusbar can only be expand on either corner right side or corner left side .. Meanwhile the center part is still expandable ..

Thanks alot anyway for your solution ..
[Android Apps and Games] Akhilendra Gadde:
OK uploading. Meanwhile, in my status bar also u cannot open the drawer from center cuz we have set our layout width as 240.0dip and its layout gravity to center. Also changing the height won't be helpful as it will still be not possible to pull from centre.... All u can do is decrease the activation points by 240 dip to your custom value. Wait few mins ,uploading my stystemui.

---------- Post added at 05:44 PM ---------- Previous post was at 05:34 PM ----------

Here u go.

https://mega.co.nz/#!g15SBahb!z_XGNAw_8PxCQVBZTXQfdL-3fp-AfFwnaLSERV3sLkQ
[Android Apps and Games] and2:
I tried it on my Note 3 SM-N9005 international 4.4.2.

This is my line in status_bar.xml

<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.potato.touchbar.TouchMe android:gravity="center" android:orientation="horizontal" android:layout_gravity="center" android:layout_width="240.dip" android:layout_height="fill_parent" />

The pulldown works but i get FC with all operations like double tap or long tap, sometimes it works at the first time.

Here is my catlog

Thank you [MENTION=4915946]Akhilendra Gadde[/MENTION] for your SystemUI, but i can´t find the new line in your status_bar.xml or i am blind.
[Android Apps and Games] Akhilendra Gadde:
Buddy, my device is mediatek based. So decompile my systemui, go to /res/layout/ and open gemini_status_bar.xml . It will be there.
[Android Apps and Games] sheraro:
[MENTION=4715592]mariozawa[/MENTION] I hope you authorize us to modify the apk (without publishing it of course), if yes could you upload "values/styles.xml" as I try to add volume down and up actions (KEYCODE_VOLUME_UP , KEYCODE_VOLUME_DOWN) but impossible to recompile since this file is empty after decompilation ! thanks ;) oh and for those who want to change vibration duration it's in ".field private static final VIBRATE_DURATION:I" in TouchMe.smali
[Android Apps and Games] icedventimocha:
Noting that on 4.3 version 1.1 seems the most stable. All seems to be well with music controls, everything else still causes force closes.

Sent from my Galaxy Note II
[Android Apps and Games] khusika:
can you share your SystemUI.apk and framework-res.apk?
[Android Apps and Games] _alex74_:
interesting project....:good::good:

will try on S4 and Tab 3 and create a vrtheme flashable..... only smali and apk.... no systemUI flash needed....:D:D
[Android Apps and Games] takurcuy69:
thank you sir

great work
[Android Apps and Games] TheRealSS:
I get the same error. Did you find a solution?
[Android Apps and Games] zenesis:
I haven't =')
[Android Apps and Games] Kamy:
Use standard apktool (latest) instead of modified compilers.

Sent from my SM-N9005
[Android Apps and Games] aldzi:
It works,thank you :D
[Android Apps and Games] Pneuma1985:
doesnt work on htc devices! with any apktool's or smali baksmali versions!
[Android Apps and Games] RRamsi:
Solution > Use apktool version 1.5.2 ,, try it
[Android Apps and Games] Myth2014:
hi，sir，this nice guide，but i dont putdown statusbar,my phone is 4.3:(
[Android Apps and Games] natandroid:
Awesome i will try on my device :)​
[Android Apps and Games] G.M.L:
the link to download its not working?
[Android Apps and Games] OxygeenHD:
Just a simple question, is this gesture support could be integrated to the entiere rom (not only the status bar) ? For exemple, when the phone is locked, double tap the screen which makes the phone to wake etc...

I heard it's a kernel feature, i wish we could add it to our kernel as SGY have a proximity sensor so i thought it could be nice, Maybe we'll be able to create our custom gesture to perform custom actions and stuff... ^^
[Android Apps and Games] Dakmagnum:
fc on newest version

I try to use double tap to sleep or show free memory and it crashes... Any fix am I missing something?
[Android Apps and Games] icedventimocha:
The mod was made with an older version of apktool, so you're gonna get constant smali errors.
[Android Apps and Games] axxx007xxxz:
Which version of ApkTool I need?

P.S.: Sorry for my bad English. :(
[Android Apps and Games] icedventimocha:
I think apktool 1.4, I can upload the smali files for 2.+ when I get home.
[Android Apps and Games] icedventimocha:
Try this with what you're using. Same directory as the tutorial. You may need some edits to your status_bar.xml for proper placement due to changes in Android. https://www.dropbox.com/s/flvnmg299c1qpso/potato.zip?dl=0
[Android Apps and Games] axxx007xxxz:
Thanks! :)

Now it give me this error:

What changes I have to do to status_bar.xml? :confused:

P.S.: Sorry for my bad English. :(

EDIT: Fixed! :) Now I try it.
[Android Apps and Games] ARGHA_DAS:
C:\Users\Mattia\Desktop\AdvancedApkTool

\3-Out\SystemUI.apk\res\layout\status_

bar.xml:4: error: Error parsing XML: not well-

formed (invalid token)

open Statusbar.xml and find line no 4 there is some mistakes u have done Find it andfix it or paste the full xml here of ur statusbar.xml
[Android Apps and Games] Uchiha_Dev:
please give me the link to apktool 2 smali files

---------- Post added at 06:58 PM ---------- Previous post was at 06:50 PM ----------

and can you tell me how to port apktool 1.5.2 smali files to apktool 2 ? please

---------- Post added at 07:14 PM ---------- Previous post was at 06:58 PM ----------

systemUI force closes when i select the lock screen option :(
[Moto G General] abhirulz94:
Hi guys so i have created a userlist database spreadsheet on google drive in which we can fill in details...

It will take just a min to fill in your details. :fingers-crossed:

This will allow us to know :-

how many users have Moto g (in total around the world)

Country

what model they are using

Date of purchase

Carrier details

Rooted or not

ROM

Previous phone

This will allow us to post statistical results after we have enough data. :D

Suggestions are welcome! :)

https://docs.google.com/spreadsheet/ccc?key=0AjZAAJvGsfhbdGFXRU5WYzdxVXRjX095aUFMS2xhRnc&usp=sharing

{Since we all have a google account filling it wont be problem}

Please maintain the spreadsheet file, don't spoil it thanks :fingers-crossed:
[Moto G General] gagan97:
dude seriously ??
[Moto G General] abhirulz94:
whats wrong in it??
[Moto G General] drfr:
1. you can hardly get any relevant data because honestly how many owners do

you expect to be willing to participate? 0,1% of xda´ers who are still just a tiny

fraction of all users?

2. people are concerned about their privacy nowadays (little bit too much I´d say)
[Moto G General] nickchk:
i would love to help,but this cant determine all users in the world,since not half of them know xda at all.

perhaps u should change it for xda user only,even that,i doubt half will participate.
[Moto G General] Darth:
Half? I'd say 99.8 percent of phone owners have never heard of xda...rooting...or anything we do here. LOL

Thread made me chuckle tho. Thanks given. ;)

Sent from my Moto X cellular telephone...
[Moto G General] jaspreet997:
Thank him for the chuckle then!
[Moto G General] drfr:
We don't need to ridicule somebody's effort. Just to clarify why do we think it won't work should be enough.

Sent. Really?
[Moto G General] jaspreet997:
https://www.zauba.com/import-xt1033-hs-code.html

Check that data out....the number of moto g imported in india by flipkart ( the exclusive seller in India).

And both 8 gb and 16 gb are currently out of stock so you can infer that most if not all of those are already sold out!
[Moto G General] ashut0sh:
Are you sure the whole lot is imported by flipkart only on it will obviously be sold by other vendors from a day or two
[Moto G General] jaspreet997:
Pretty sure....right now its exclusive to flipkart and we don't know how long exclusive period is.

Plus no vendor will import more than few hundrer peices now since everyone who was intrested in G already got or booked a G from flip...Other vendors know that!

Sent from Samsung Chat
[Moto G General] ashut0sh:
Nope it was only for 2 weeks

Have a look

http://www.androidheadlines.com/201...ndia-exclusive-to-flipkart-for-two-weeks.html

And its almost over the two week period

Talking of vendors

Well flipkart isn't the only store online

http://www.androidos.in/2014/02/moto-g-pre-order-sold-out/

Snapdeal had set up preorders even before it was released on flipkart

Further there is amazon too

Also big vendors like univercell also are up for selling moto g

Furthermore there shall be countless small vendors importing a few hundreds too..... So sums up to a lot I think

Also about the booking of phones

Well if you are getting one in your hand right now

You won't wait for flipkart will you

People can very easily cancel their orders in case they get it earlier from somewhere else
[Moto G General] jaspreet997:
Yes but the recent orders are big amount I don't think any vendor would be importing 10000 moto g's now

Yes people can cancel that Is why am sure Flipkart would ship everyone's moto g this week!!

Also Motorola or flipkart never said about the time of exclusive period...everyone guessed two weeks coz snapdeal said the devices would be available in 3rd week of feb
[Moto G General] ashut0sh:
About the time period. Its official. Lookup for news articles for the same.

Second it doesn't show if it was one entity who imported them all. It might just be a bundle coming over together.

And third week of Feb yes. That adds more to the two week period.
[Moto G General] Darth:
Can you tell them to fill in the spreadsheet? ;)

Sent from my Moto X cellular telephone...
[Moto G General] scott_doyland:
Ha ha ;)
[Moto G General] roosevelt84:
+1

i hope u dont call me at 3 am
[Moto G General] robin0800:
You know the GPE model has no FM Radio apk.
[Moto G General] jaspreet997:
1 million to 5 million? Kinda vague
[Moto G General] The "A" Factor:
(Sorry for Off-Topic post)

What I think is that the main reason behind maintaining the low price of the phone is that Motorola wanted to eliminate the long Dealer chaining system ...

They wanted to reach customer directly, thus reducing the dealer to dealer cost increment .

That also explains the fact that Moto G has "Imported by Flipcart" printed in the product tag on Box.

According to me in UK there's only one vendor i.e. PHONE4U.uk who is authorized to import and sell devices .

Same is the case in India, the moment it will be made available to other stores the price will rise up (for eg. in Brazil there are many vendors and the price is considerably high).

However I don't know how SnalDeal got hold of Moto G ... Also I'm not aware if the news are genuine or not since no body has reported to buy and receive their devices through Snaldeal.

I had also mailed Motorola querying about the same and their reply was

"At this time, Moto G is only available through FlipKart. Stay tuned for any updates" .
[GiONEE Elife E7] mark manning:
Please be respectful and observant of all XDA rules, as well as towards each other.

Please use the links below if you have any questions about content you wish to post, or need help from the Moderator Staff.

Best Regards: Your Friendly Moderation Team

XDA Developers Forum Rules

Moderation Team

Rules for posting Development Threads

XDA-Developers and the GPL

Regarding Paid Themes On XDA

***WARNING*** Do Not Spam, Sell or Trade on XDA

Telegram Chat Channels - Way Forward

Spoiler content hidden.
[G Pad 8.3 Themes and Apps] moxxon:
Hey,i have a "problem", when i choose stock LG wallpaper notification bar is full transparent,but when i select custom wallpaper (from Zedge or custom picture) notification bar is only semi transparent,not full.

Is there a solution for that,i wanna full transparent bar on any wallpaper.

Thanks!
[G Pad 8.3 Themes and Apps] annoyingduck:
Yes, very annoying. I couldn't get it to work either. What I ended up doing is running xposed with the g2 xposed module + nova launcher and enabled full transparency on the Nav bar + status bar. All wallpapers work now.
[G Pad 8.3 Themes and Apps] Kholargol:
Full transparency on notification and nav bar is possible with Apex launcher..
[Android Q&A, Help & Troubleshooting] maniacscorpio:
My Uncle is having Samsung Star mobile by mistake he factory reset his mobile & lost all contacts, pictures, sms etc etc everything in internal sd.

He never put any gmail account in it He dont have any back up also... So i want to know is there any other way to retrieve all contacts.

Kindly help me...... :(:(
[Android Q&A, Help & Troubleshooting] maniacscorpio:
Friends please help me
[GiONEE Elife E7] mark manning:
If you are viewing this message you are viewing from a mobile app. This thread as been redirected to the link below

http://xdaforums.com/showthread.php?t=2645321