yashsingh1/xdaforums huggingface dataset:
[Android General] simonpunk2013:
New found!!

Cpu and signal widget can supposedly running nonstop, maybe the developer didn't want to do that in consider of battery and ram saving, as I just found a pattern they work, cpu will update in totally 27 times per 5 second, and signal widget will update in totally 30 times per second, so I just redefine the original values from 27 to -1, and 30 to -1 respectively, and change the original if statement from "if X < 30" and "if X < 27", to like this: "if X > -1", now all are running nonstop. But I think these changes may have more power consumption caused to us.

Now all that left to me is memory widget, as my new thought is that it is not about the lag issue, but the improper ratios calculation of memory use, as it can only display three-digit with MB unit only, thus the circle indicator not working accurately. Nowadays we all have a device with 2 GB up, so its calculation needs to be changed to another. But it would be much difficult to do on smali language. Wish me good luck.

And about the animation lag issue, I found only few article mentioned about it, but seems it's related to the PostDelayed() function. I quite believe in that, as I tried to change the update period to one second, I remember when I do it on android 4.X, it did worked to run every second, but in my N6 now, sometimes it works, and sometimes it lags. So I think that's nothing can do about it already.
[Android General] trinolmf:
Any updates on FeelUX?
[Android General] TakuyaZ:
Memory Widget is counting, really really slowly. is that the lag you're saying?

my phone have 1gb ram too tho

I forgot emulator exists, tested nerv widgets on 6.0.1

Logcat on my device running 5.1.1 said problem about zygote/dex, i'll guess my assumption is correct, the art runtime is the problem

Also [MENTION=2488145]trinolmf[/MENTION] , still can't fix the layout. and even if i fixed it in my end, it'll look broken on your end due to our resolution difference

UPDATE:It worked on 5.1.1! i'll guess the original apk is compiled badly. apk attached for testing

UPDATE2: OP Updated with fixed widgets
[Android General] simonpunk2013:
Glad you make it work on 5.1.1. And about the memory widget, yes, that's the lag i am saying. But not only memory widget, the analog clock widget is having the same issue too. So, this issue still happens to you even you make it work on 5.1.1., right? If so, I guess I will never know how to fix it....
[Android General] TakuyaZ:
Yep. It still exists here

I'll guess it depends how the lollipop system works. Since Google changed a lot from kk to l
[Android General] rayjt9:
That new battery widgets works perfectly for me, whereas old one crashed constantly, what was different about it vs the old one? I'd love to get all the other widgets and maybe magi launcher working on my 5.0.2 phone

EDIT: Ignore everything I just posted. I missed the post about the OP being updated with fixed widgets. I'll get on that now. Will the same process apply to the launcher maybe?

EDIT 2: I installed all the new widgets and everything works fine except for Magi Weather which constantly force closes. I had hoped it would miraculously make Magi Home work somehow but it of course doesn't work like that :')

Also I take it the Magi Google search bar is something built into the launcher rather than a separate widget?
[Android General] TakuyaZ:
Link updated with Launcher too, and i totally have no idea where did the search gone to, my dump don't have it. the apps package don't have it
[Android General] rayjt9:
Thanks for fixing the launcher, it works great! The top of the launcher screen gets cut off I think because of the soft keys of my phone which is unavoidable but it's still a really cool launcher.

Very strange @ the lack of search bar... I'll go through my sh06d filesystem tomorrow and see if I can find out if there's an apk for it. I'm sure I used to have all widgets working on my old Samsung note2 but maybe I used uccw for the search bar.
[Android General] simonpunk2013:
I just got the googlewidget from system dump file. But I was having some error from the first installation, like I can't invoke the search and voice search function. But I managed to fix it according to point 2 of this article, http://m.blog.csdn.net/article/details?id=11790913 but it's in chinese, if you don't know how to do, I will tell you how to.

Regarding your screen issue, I think there is a way to fix it for yourself, as I just did it for myself, I need to enlarge every widgets, and it will take you so much time to for rezise. So I don't suggest to do this. Or can you upload a screenshot? and if you want to give it a try, I can tell you how.

Updated: I have got the memory widget showing 4 digits for only 2 to 4 times during the lag period, but meaning that it will back to show 3 digits only after the lag is gone. Maybe there is still something wrong as I actually didn't know how it does the calculation, I just tried to add something based on the code pattern. Btw, The lag issue seems to exist forever, how come?:(
[Android General] TakuyaZ:
Got any ideas on how to fix it? i have a 540x960 display and it looks terrible and huge here
[Android General] rayjt9:
I'd be greatful for any help you could give with the Google thing or the screen size issue :) I'm not super sure what I need to be doing haha...

I attached a screenshot of my current display setup in case that's of any help!

EDIT: I've noticed on my device too the widget slowing issue. Battery and clock widget noticably for me seems to run slow and needs tapped to refresh now and then. Strange.
[Android General] trinolmf:
great work

nice job on those sh06d widgets, kind of laggy but cool... music widget still crashes and google toolbar i will upload it as soon is have some spare time.

is there anyway some one could edit the sh-m02 bootanimation? i tried but with no luck.

what i meant is to discard the sharp logo, the advisory plus remove the line that says sh-m02-eba20 at the bottom.

in a way to make it more generic like i dont have an sharp device so its kind of weird having a bootanimation that displays sharp stuff and so...
[Android General] rayjt9:
I'll have a try of the resizing later - in the mean time anyone having the same issue with resolution as me, there are some apps on the store which hide the soft keys!
[Android General] trinolmf:
Link to eva google widget:

https://www.dropbox.com/s/5pdjqy94sfw8z3k/EvaGoogle-release-signed.apk?dl=0
[Android General] rayjt9:
Nice! Many thanks
[Android General] trinolmf:
I once too search it for a very long time because it wasent in the downloads i my pc back then got havoc. Nobody had the file but somehow i managed to get it, but xant remember how. Glad i could help. I yave got the same issue as you with those damn soft buttons, hope some one finds a solution other than use 3rd party apps
[Android General] TakuyaZ:
[MENTION=2488145]trinolmf[/MENTION] thanks for the apk, i'll add them to the folder

Well, im gonna try to resize the homescreen for my phone now, i'll report back when i got something working

EDIT: Well thanks to [MENTION=5351449]simonpunk2013[/MENTION], managed to fix the homescreen. can't find out how to fix the app drawer and dock tho
[Android General] simonpunk2013:
I forgot which xml I adjusted, I can tell you later as right now I am still trying to find a way to make the memory widget disable the counting animation.

And as I told, your widgets become more crowded from each other because the original height is changed, if you don't want to resize the widgets itself, you may try to mod the padding and see if you are satisfied with that. So, see my update post.
[Android General] TakuyaZ:
Surprisingly enough widgets looks proper over here.
[Android General] simonpunk2013:
I am appreciated
[Android General] simonpunk2013:
New updated:

Got memory widget still displaying 4 digits after the lag is gone. And the counting animation can be ignored so that it can skip to start counting straightly, and it can keep running nonstop as well.
[Android General] TakuyaZ:
Awesome!

Also. got any ideas on how to modify the icon size yet?
[Android General] simonpunk2013:
I found the way of how many apps per page you want to show on drawer, and also the way to adjust the height of drawer container.

Just now also found the way to adjust icon size of drawer. Will update the post tmr.
[Android General] trinolmf:
So what if i wanted to resize the widgets, what files should i look for and edit?
[Android General] simonpunk2013:
the first thing you need to resize will be the background picture itself, you should have all your widget background picture resize to a same width and same height. you have to decide how long the width and height a normal square widget has, and then apply it to all the others, so that it can look tidy. I will update the post tmr. I need to sleep now..
[Android General] trinolmf:
What device are you using? Screen resolution? Everuthing looks so tidy on your device
[Android General] simonpunk2013:
I am using Nexus6 with 2560 X 1440 screen res. And of course I have resized all the widgets, the drawer and the desktop screen for myself, I tried to make it look tidy.

And as I said, It took me almost one month to do this, not just resizing, but those lag problem, non-stop problem as well.

Right now, I still got 3 issues need to solve, which are dock icon size, the weather widget, and the stereo screen issue which the show screen list button failed to response when I wake up and unlock the screen, unless we have open one of the apps.
[Android General] TakuyaZ:
Same here, Dock icon size (homescreen is related too)

I don't have the stereo screen issue tho

Weather widget i don't think it would work properly considering how it didn't work back then too
[Android General] rayjt9:
Is it just a particular weather app which makes the widget not work? If so, is it maybe possible for me to extract the necessary weather app from my own sh-06d to make the weather widget work for you guys? Sorry if anyone has tried this already.
[Android General] TakuyaZ:
Its how the weather app pulls information. It's Japan specific
[Android General] rayjt9:
Ahh I see, so it's a region thing? Surely there must be a way around it in that case, since (if I remember right) the default weather widget works fine on my sh-06d and I'm not in the Japan region.
[Android General] simonpunk2013:
I can't find which smali is related to the dock icon. I know there is a style.xml ,but seems nothing happens even I change the value, maybe I missed something I dont know.

For the weather widget, I got it work before using Yahoo weather api, also I added 4 more wind direction indicators, it needs a lot of code modified and use a working api address. I will try my apk modified last time, but the api should be shutdown already I think. But anyway, will take a look later...still looking for the way to adjust dock icon size..
[Android General] TakuyaZ:
Yep. I tried all xml that have icon size. Even tried to add my own. Didn't work

I'll guess it's hardcoded in smali
[Android General] trinolmf:
Hey can anyone explai me why i cant decompile the 5.+ widgets with apk manager on mac os x? I have only be able to decompile the 4.+ files
[Android General] simonpunk2013:
I think you should try another decompiler, or it has been much easier to do it on your pbone, try to get a "apktool" for android, you can find the download link from googling. As I can do the decompiljng in everywhere with my phone, and I feel it's still powerful compared with other platforms, so I strongly suggest it.

---------- Post added at 04:06 PM ---------- Previous post was at 04:00 PM ----------

Update: Okay, you guys are right, The weather widget can somehow only work on a japan gps coordinate, I finally remember that I need to set a fake japan gps coordinates to make it open my weather api. So, we need to find a way to bypass the gps detection so that we can straightly get the data from the api address.
[Android General] simonpunk2013:
Okay guys, finally managed to fix the weather widget, but just can provide one region's weather info that you have set, Providing all region's weather info is kinda impossible as it uses a weather database to parse the data, that's means your database will be covering a lot of cities and countries over the world.

So I need to correct my assumption again. The gps is not the problem, As I think the whole work flow should be like this: Receive coordinates from gps, convert the coordinates to actual address, then it will try to match the converted actual address with the database to locate the city you are in, and return the local city code number, after that, it will append the code number to a working api address, something like "www.xxxweather.com/usr=xxx?city_code=", and finally it will parse the data from the completed api address.

As it always passes our actual address to match the address from database, so it will never find the matched address and will always return null value. So I changed the query method to make it always succeeds to not returning a null value, and then it can open my api address I have applied for.

I have uploaded my apk to you guys, you may try to decompile it and replace all my smali file since my apk may not work on the android 5.X, then modify the api address for your own city.

Here I use http://www.myweather2.com/ api, register a new account and go to the development zone, it will give you a user code, then add a 7 days forecast, add your city coordinates, then it combine it all and give you a full api address, then just copy it and edit g.smali, look for the web address something like [const-string v2, "http://www.myweather2.com/xxxxxxx"]in between line 170 to 185, replace that address with your new api address, but please don't use my account anyway. Lastly recompile it, and it should be working good. By the way, you can edit your own weather description in /res/values/strings.xml, and use the other api address, but you will need to change parsing method based on your need.

Evaweather.apk : https://drive.google.com/open?id=0B-cBdArdvHDxM0FSbnhkTnJKRWM

Or you can install my apk first and see whether it can show anything. If it works, then you can go ahead to change the api address.

Note: For me, I have set the gps mode to battery saving mode, which it will only use wifi, Bluetooth or 4G network, I am not sure where I am having the GPS issue. So just remind all of you that if your widget doesn't show any info, try to open the GPS and set to battery saving mode, then uninstall the apk and reinstall it again.
[Android General] trinolmf:
The thing is i have apk tool on my android and get erros too...

---------- Post added at 04:37 PM ---------- Previous post was at 04:08 PM ----------

Hey why does my d.smali just go to line 174? and in my d.smali i cant find the const-string v2, http.....

i hade this probleme with mago launcher smali file to mod the drawer size. my files just havent that much lines. what is wrong?
[Android General] simonpunk2013:
Sorry, it should be inside the g.smali, I have corrected my post.
[Android General] trinolmf:
FeelUXHome.apk

If i wanna try to fix FeelHomeUX.apk for my device, where should i look for? any pointers? i can now properly decompile the file, had to install apktool on my mac.

---------- Post added at 09:54 AM ---------- Previous post was at 09:52 AM ----------

i did manage to show at least the week days but nothing else, if i set gps to energy saving mode then it fc the widget, tried both on xperia z3c 5.1.1 and xperia v 4.1.2, some result...
[Android General] simonpunk2013:
I have no idea yet, as I dont like the launcher in my opinion, so I never look into this. But I think it should be the same case as magi launcher, all the files we need to edit are likely those xml files in /res/layout/ and some relative smali files.

I think it's because I haven't resized the widget yet, that's why the English forecast is covered. You have to edit the main.xml to adjust the position. And if precise mode works for you, then no need set to energy saving mode.
[Android General] TakuyaZ:
I think its smali only, modifying most layout related xmls gives nothing.
[Android General] shikage:
Has anyone else found the EvaSound widgets to be particularly small? This is probably only an issue on a few phones.. I now have a Nexus 6P with a 2560x1440 resolution. And the widgets are not resizable in Android 6.
[Android General] rayjt9:
I'd imagine it would be small on a screen of that resolution as the widget is from a 1080 screen. Having said that, I'm sure someone managed to fix that earlier in the thread.
[Android General] shikage:
Overall, the size doesn't bother me as much as the fact that it takes the same number of 'blocks' in the grid but the widget image only uses half of that space. Forcing them all to be very spread out.

---------- Post added at 12:14 PM ---------- Previous post was at 11:59 AM ----------

Hi simonpunk2013! It's been a long time.. I recall I did get the weather app basically working, but I didn't release it at the time because the weather API I used had pretty strict usage limits and I didn't want that to cause problems. It should be possible to obtain GPS location coordinates (but may require changes to the java classes being used) and then dynamically build the API call URL. Unfortunately, I'm not sure I have my old working APK around for a reference point anymore either.
[Android General] simonpunk2013:
I will upload all my apks for you to test tonight, as i am using N6 with nearly the same spec as N6P, but I can't ensure that it will fit your device or not, as my screen size is slightly larger than yours.
[Android General] simonpunk2013:
Hi, please let me update you my status, I have almost revised all widgets for my devices except the nerv staff app, the dockbar icon size and the screen size during the screen list transition.

The analog clock and memory widget has some animation lag issues that we never understand or how to fix it. But the antenna, cpu and memory widget can now keep running nonstop.

For the weather widget, I can barely understand how it works, just at least I can call my own api address and output the info, As it uses a database to optain the city code and then compose an API address, so, doing a dynamic call is so difficult to me as it may require a large database and I can only modified a few codes. Unless, if you are able to skip the database step and just make it compose the api address from optaining the city coordinates through GPS, then It would be the best way to do this. Currently I am using myweather2 as my api provider, I got the full api address of my city in advance so that I just replaced with it and let it straightly open that address to obtain the data. Besides, I can't make the widget update periodically, I dont know why, but sometimes it updates by itself, but only happens 2 to 3 times to me from all the time. Also, I have not yet adjusted all the positions of the wind indicator.

Please assist if you have any ideas about those remaining issues. Thank you very much.
[Android General] simonpunk2013:
Okay, shikage, I have uploaded all the apks and decompiled source on my google drive, here is the link: https://drive.google.com/open?id=0B-cBdArdvHDxcmIwN0dmTmptV1E

I have remarked all the modified codes with # symbol, you may try to find it as long as it helps.

Also, the resized Evasound.apk and Evawallpaper for N6: https://drive.google.com/open?id=0B-cBdArdvHDxSnJESzRFX2I2bkk
[Android General] shikage:
Thanks! I downloaded these earlier and the new Eva widgets work great on my N6P device. :) When I have more time (it's hard to say when that might be) I will see if I can relearn how to work with smali and if I can determine a reasonable way to make GPS based API calls through a service that doesn't require using an API key. It looks like this may be possible with the weather2.com api you are using so that is definitely good news.
[Android General] simonpunk2013:
hey seems I got it work to update in every seconds you have set, got it tested already.

First of all, I keep looking at my logcat and try to locate which info is related to the action it make to change the weather info, so I found that there is always a "weather info: from network" showing up only once when it is placed at desktop. So I assume that the appearance of that info will be the key to update the widget in real, So I try to edit the f.smali, and comment out the line75, "move v1, v2" which try to force it to be false as always, then it will always skip to the code "weather info: from network", otherwise it will keep running the code "weather info: from cache" which nothing will happen.

So, Now it can update in every one minute and it will restart to run once when you have your screen on and off.

For changing the update period, I suggest to change the value to 15 or 30 minutes, just for saving the battery since it will be effected after 15 sec(Could be changed as well) whenever you have your screen off and on. The value is located in EvaWeatherService.smali, search "0x1b7740", and replace it with your desired value in hex(1 sec = 1000 in dec, 30 mins = 30 * 60 * 1000 = 1800000 in a hex value of 0x1b7740).
[Android General] trinolmf:
Explain it to me again what do you mean by combine it all? I see a unique code and an 7 days weather forecast xml link. What do i jave to do with it? In the weather widget i just input the xml link...
[Android General] simonpunk2013:
First of all, you have to use my apk as your original source code to modify the link, as I have modified a bunch code in other smali files as well. So, you just decompile my apk or download my source folder on google drive(will update the apk and source folder again when i am home), and then replace the api link with your own api link created from myweather2.com, then recomplie it and install. But of course all my apk are resized, so it would look much bigger on your phone. Or you give me your resize one, I may help to do the smali.
[Android General] trinolmf:
Now o get it... Thanks. Will try it out. Im actually using the widgets with no resize. Ill get there later on. First i wanna try to have everything working befire i take the long process of resizing everything...
[Android General] shikage:
Does anyone know what the default ringtone is for the new SH-M02-EVA20 phone is? Is it one of the ones in the EvaSounds pack or should I download the system dump and attempt digging it out from there?
[Android General] TakuyaZ:
its just the default sharp one, Ring_Synth_04
[Android General] rayjt9:
Thanks for confirming that, I almost thought I'd have to factory reset my phone to find out what it was originally!
[Android General] trinolmf:
Updated bootanimation without sharp logo and advisory...

https://www.dropbox.com/s/9pt85577i88sei9/bootanimationNoSharp.zip?dl=0
[Android General] shikage:
Thanks... I don't have that one as I am on a Nexus 6P but I will take a look at the ones in the system dump then, see if I like any of them better than what I have now. :)
[Android General] rayjt9:
Off topic, how is the Nexus 6P? I'm looking at getting one as an upgrade pretty soon. Do the Nerv widgets work well on it?! Hahaha ;)
[Android General] shikage:
So far I really like it. The widgets which simonpunk posted for the Nexus 6 work well on it. However, the live wallpapers do seem to slow down the phone noticably so I'm not using those currently.
[Android General] simonpunk2013:
I will update the Magi home and weather widget again later. But seems the menu button is no longer supported for my phone, and I don't know how to activate the menu button, so the menu setting is gone forever for me which means I cannot change the wallpaper quickly and need to do it in another way. Now I am looking for the way to adjust the background of shortcut of each apps on desktop.

Besides, I still have no idea where to resize the dock icon size.....
[Android General] rayjt9:
That's really good to know, thanks!