yashsingh1/xdaforums huggingface dataset:
[G2 Android Development (D802)] anonymous373:
First off, the Rom is great. I've been jumping between quite a few custom roms and I must say this stock Rom seems the smoothest on my phone. Thank you

Secondly, I made a modded SystemUI with a few things I enjoy. Below is a link to the files if anybody is interested.

LINKS REMOVED refer to post #67

It has Centre Clock, Tap centre clock to lock screen (long press for power menu), 1% battery mod, remove brightness and sound toggles in notification drawer, Custom NavBar icons.

Non of these mods were created by me.

All credit goes to Cloudyfa, Rastigo and XxZombiePikachu

Before Proceeding, make a backup of your Rom

To install, copy LGSystemUI.apk and LGSettings.apk to your system/priv-app folder with Root Explorer or Similar, Change permissions to rw-r--r--. (644) Make sure to delete or Rename the odex files (LGSystemUI.odex + LGSettings.odex)

Reboot

Install SystemUI Theme Holo Keys_1.0.apk as normal app. Change Colour of Front Touch Buttons to Holo keys in Display Settings

That's it!

You can also Use Cloudyfa's CSNavBar files to change the size of you Navigation Bar (Flash via Recovery): https://www.androidfilehost.com/?w=files&flid=15194
[G2 Android Development (D802)] albsat:
Is it possible to make a flashable zip file for systemui and settings to install via recovery? I always have problems replacing them manually. Thanks for the mod.
[G2 Android Development (D802)] anonymous373:
I found a small issue with the modified files. When going into the Battery stats under settings the phone reboots and all the stats are lost. Can't seem to figure out what the issue is. Looking into it though. I'll try make a flashable zip as soon as I hopefully get rid of that issue :)
[G2 Android Development (D802)] anonymous373:
Okay, I was unable to fix the random reboot. I'm not too clued up with editing apks. I've returned to the default SystemUI and added the centre clock (tap to lock), custom navbar buttons and 1% battery. Unfortunately, you will still have the volume and brightness sliders that can't be removed.

Here is the new SystemUI apk: LGSystemUI (Flash via Recovery)

You will have to restore the original LGSettings.apk + .odex if you did replace it. I uploaded it just incase you need it: LGSettings (Flash via Recovery)

You will still need the NavBar theme: Holo Keys (Install as normal app)
[G2 Android Development (D802)] anonymous373:
My mobile data is not working. I get Signal though. On CloudyStock I can connect to Mobile Data. So, I tried flashing the Cloudy Modem, but still unable to connect. What else could be the issue?

EDIT: Nvm. My APN settings were incorrect lol
[G2 Android Development (D802)] kascro:
Does your stock music player has working longpress volume keys to skip track?

Here it isnt working, it wont skip track when the screen is off, how can i enable this?
[G2 Android Development (D802)] albsat:
Please can you do this mod :

Center clock without date

Percentage battery (circle one ⭕)

Stock navigation bar buttons

Thanks for your work

P.s. Can you please post the original LG systemui file also.
[G2 Android Development (D802)] anonymous373:
Here is the MOD you requested: Circle Battery

Unfortunately, I don't have the original SystemUI at the moment. I accidentally deleted it :(
[G2 Android Development (D802)] albsat:
Thanks so much. You made me jump to kitkat with your mod.

P.s. I don't dare to make further requests. :)
[G2 Android Development (D802)] albsat:
[MENTION=4743109]anonymous373[/MENTION]

Please final request by me. It is ok if I am asking too much. Can you please make another similar mod like this :

Center clock without date

Percentage battery (circle one ⭕ )*

Stock navigation bar buttons

Remove Volume slider

Thanks again
[G2 Android Development (D802)] anonymous373:
I haven't figured out how to remove the volume slider. I would also like it gone.
[G2 Android Development (D802)] pitsgraft:
Use G2 tweakbox to mod ur g2 appearance...
[G2 Android Development (D802)] albsat:
I don't like xposed, but thanks . Still the mod from [MENTION=4743109]anonymous373[/MENTION] is really nice and satisfying me.
[G2 Android Development (D802)] SPBoss:
Could someone please help me,i used the debloater zip for this stock rom but it removed live wallpapers.

Could someone please upload LiveWallpapers.apk*&

LiveWallpapersPicker.apk

Thanks☺
[G2 Android Development (D802)] anonymous373:
Here you go: LiveWallpapers

This is not a flashable zip. I think you can install the livewallpapers under bootable as normal apks.
[G2 Android Development (D802)] SPBoss:
Thanks so much bro!

Unfortunately cannot figure how to install, tried to click .apk and also tried pasting directly into directory and changing permissions. No luck :(
[G2 Android Development (D802)] anonymous373:
I backed up the live wallpapers using Titanium Backup. Here are the restore files: Titanium

Try restoring them using Titanium. Just copy the files in the zip to TitaniumBackup on the internal storage.
[G2 Android Development (D802)] ivoxda:
Million Thanks for your work.

You save my phone..this is a best option for restore KK...thanks [emoji106]
[G2 Android Development (D802)] marshygeek:
Can i safely flash this from Resurrection Remix LP Rom so i can go back to kitkat?
[G2 Android Development (D802)] anonymous373:
Yes you can, but make sure you have a bumped recovery installed
[G2 Android Development (D802)] marshygeek:
So it will automatically fix the partition? No need to flash other zip for partition (something like that)? Thank you! :o
[G2 Android Development (D802)] anonymous373:
From a rom like resurrection remix you don't have to worry about fixing any partitions, but if you come from a leaked lg lollipop rom then you will need to fix the partitions. I used autorec, then flash a bumped recovery, then flash this rom to downgrade from lollipop
[G2 Android Development (D802)] marshygeek:
Really? You mean i can just restore my Kitkat backup rom just like a normal thing? OMG i thought once i flash ANY LP rom my partition is now diff. from Kitkat and i have to flash KDZ or a zip to fix my partition. You sure here bro?
[G2 Android Development (D802)] anonymous373:
Well, I was on Blisspop before I used this rom. As far as I know any AOSP/CM based rom on the g2 cannot run on the Kitkat bootloader. So, you can flash this kitkat rom over resurrection remix, but you won't be able to go back to resurrection remix unless you downgrade the bootloader again. I used AutoRec to downgrade from the leaked LG lollipop firmware (this firmware does edit the partitions and runs on the kitkat bootloader). A second opinion would be nice.
[G2 Android Development (D802)] ts.shay:
If you have your backup, you can safely flash/restore that backup. I was too adventurous and did that without thinking, and it just worked. I have done that multiple times -- the last one being just an hour ago. It just so happened I was also on RR 5.3.9 Lollipop, and everything is working as they should be.

Just to be safe, don't forget to wipe data/system/cache/dalvik before restoring your backup. By the way, I am using the TWRP from Autorec, if that'd make any difference.

---------- Post added at 01:02 PM ---------- Previous post was at 12:58 PM ----------

Now it's my turn to ask a question:

I have heard that for many, 20H is the best stock ROM they've ever had. I am currently on 20C. Will someone be kind enough to tell me what makes 20H that much better than 20C? I mean, what's the biggest difference? Thanks in advance for your responses. :)

** After work, I will try to download this 20H file to see for myself as well. :):)
[G2 Android Development (D802)] Master One:
20H Basebands?

Thanks a lot for your work, [MENTION=2308854]6ril1[/MENTION].

I think I'm going to replace CloudyG3 2.1 (which has some issues) with your D80220H until a proper LP solution becomes available.

Three question though:

What does fr modem mean?

Why would I want/need to change/replace it?

Where can other 20H basebands be found?
[G2 Android Development (D802)] 6ril1:
Hi,

1) fr =french (open fr)

2 Yes, why ? ;) it's up to you, if you want to test if another one have better result for your network

3) You can extract modem partition from a kdz of your choice and flash it (at least two threads exist about this subject, you can take one flashable modem zip there, and replace modem img inside by another one of your choice)
[G2 Android Development (D802)] xXRapToRiXx:
Question

I have a bumped Recovery and JB Bootloader.I am running official cm12.1 on my lg g2. Does cm12.1 (or the cm12.1 kernel) support bump? Can i upgrade to kitkat bootloader?
[G2 Android Development (D802)] Carter07:
I'm on stock lollipop with TWRP recovery, can I flash this rom to return to kitkat?
[G2 Android Development (D802)] casual_kikoo:
No, flash [MENTION=4008653]somboons[/MENTION] patch (http://bit.ly/1LJG52P) to put back kitkat partitions, then reboot to recovery again and flash the ROM.
[General Accessories] xmxm:
Changelog:

v5.2 released on 2/1/2015.

v5.3 released on 2/2/2015.

v5.32 released on 2/3/2015

v5.7 released on 2/16/2015

v5.71 + fit v0.2 released on 2/21/2015

v5.8 + fit v0.3 released on 3/7/2015

v5.9 released on 3/14/2015

v5.92 released on 6/20/2015
[General Accessories] xmxm:
Reserved
[General Accessories] dvilloldo:
Hi.

Working perfect. Nexus 5 non-rooted.

Thank you very much for your work :) :good:

Grretings from Spain.
[General Accessories] macia10:
Hi,

It does not work for me at all ... :( All the time the same thing.

C:\Users\plmaciejewk\Desktop\miband_extract_v53>run

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

Press "Backup My Data" button on device...

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

bin\tail: mi.ab: No such file or directory

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

Could Not Find C:\Users\plmaciejewk\Desktop\miband_extract_v53\mi.ab

Could Not Find C:\Users\plmaciejewk\Desktop\miband_extract_v53\mi.tar

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

Extraction failed

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

The process cannot access the file because it is being used by another process.

Can I do anything with this?
[General Accessories] Dell112:
I face the same issue as [MENTION=3232104]macia10[/MENTION]. I have rooted Nexus 5.
[General Accessories] macia10:
I found a temp workaround. Edit rub.bat and remove all >> log from end of the lined. This causes the issue.
[General Accessories] xmxm:
This might be caused by adb process still running in memory and locking log file. I've modified script not to redirect output from adb commands into log file and also added few commands to kill previous adb service once extraction is complete. Could you please download v5.33 and see if it works?
[General Accessories] macia10:
works perfectly :)

Thanx!! :D
[General Accessories] SynerG:
Thanks, very useful!!

FYI, I needed to make some modifications to make it work in my case:

- In 'run.sh', I had to modify the SDPath variable to the correct path (in my version of Cyanogenmod):

SDPath=/storage/sdcard0

- run.sh log indicated a "permission denied" error. It was caused because adb did not have root privileges in my android. To correct it:

In Android: Settings > Administrative access > Select "Applications and ADB"

- sqlite3 in OSX is an old version, so run.sh complains with:

Error: unknown command or invalid arguments: "once". Enter ".help" for help

Error: unknown command or invalid arguments: "print". Enter ".help" for help

To solve it, install a new version of sqlite3. For example using brew:

> brew install sqlite3

and replace sqlite3 in run.sh for the brew version: /usr/local/Cellar/sqlite/3.8.6/bin/sqlite3

- Files from: miband_analytics need to be in the same folder than miband_extract

With these modifications it is working properly in my mac.

Keep up the good work!
[General Accessories] herpez:
Hi.

I'm extracting data with Bonoboo Mi Band Export Stats, which exports to sd card the files:

app_locale.js; config.js; extract.js; locale.js; Mi_Band_Table.csv; Mi_Band_Table.html and Mi_Band_Graphs.html.

In order to used that exported data with your analytics tools, which files should i move to your folder which contains multiple files like mi_data_byDoW.html and mi_data.html ?

Thanks
[General Accessories] xmxm:
You'll just need at app_locale.js and extract.js. The folder with analytic tools already has config.js and locale.js and CSV file is not required for analytic tools, you only need it if you want to see your data in Excel.
[General Accessories] xmxm:
Thank you for your feedback.

Regarding SDPath, I'll put a a more clear explanation that SDPath may need to be changed depending on device.

For ADB privileges, the way you had to enable it might be specific to your Android version (I've granted permissions in a different way on my phone), but generally speaking the application should work through Backup logic even when adb has no root permissions.

For sqlite3 issue, could you please tell me which version of sqlite3 OSX has by default, so can add a note in instructions about version compatibility?

Regarding same folder location, I think there is already a mention about the need to have both packages exptracted to the same folder.
[General Accessories] SynerG:
I got a message in my Android asking for permission to do the backup, but at the same time I saw the "permission denied" message in the console. Maybe I got both because the script tries to get data from two different mechanisms. Even if I clicked yes to do the backup, the script was not able to get the data until adb was granted permissions.

My Mac with OSX 10.9 (Mavericks) had installed sqlite3 version 3.7.13. I think that the required commands were added in 3.7.15, but I could be wrong. Brew has installed 3.8.6 and is working properly.
[General Accessories] xmxm:
Windows version supports ForceBackupMode=Y setting to skip root-specific method and go straight for backup method, but I guess that run.sh is outdated by now - I'll need to find a way to copy newest logic changes to unix script. I still think hope that giving ADB root is not mandatory for extract to work.

Thank you for this information - I'll put version numbers in the header.
[General Accessories] jlaunay:
You will find attached a zip with a new version of run.sh.

run.sh now support ForceBackupMode and internalization.

Thats why I add 2 folders (po and i18n).

If you want to add support for a new langage, let's say spanish for example, you will first have to create a new po file

bash --dump-po-strings run.sh > po/es.po

Then edit the file newly created with any text editor and translate the "msgid" with the "msgstr"

Once done, you have to create a new directory for the compiled langage file (.mo)

mkdir mkdir -p i18n/es/LC_MESSAGES/

Then compile the file with

msgfmt -o i18n/es/LC_MESSAGES/mibandextract.mo po/es.po

For another langage replace "es" with the one you want.

If you do not want to use the i18n folder and want the langage file to be system wide, you just have to comment (adding a #) the line "export TEXTDOMAINDIR=./i18n/" in the script.

Then you will have to move your po file to /usr/share/locale/XX/LC_MESSAGES/ (where XX is your langage).
[General Accessories] xmxm:
Version updated to 5.5 with better support for FitnessSyncer and some chart updates
[General Accessories] mamaun30:
Good Work

Thanks for your work!!!
[General Accessories] H2othebest:
Your analysis tool is great.

By the way if I try to open mefit-run1-857.appspot.com the page returns:

Error:

The autentication popup window appears to have been blocked

This appens both on Chrome and on IE.

If someone can help me it would be great, I'm using the latest no-modded mi fit apk and it does not have google fit sync.
[General Accessories] Bonoboo:
From Google Play must contain sync.
[General Accessories] H2othebest:
Is having that apk necessary for my token to work?

I'm using the original apk (not the european one in the store) because it has the friends menu
[General Accessories] Bonoboo:
1. No.

2. So european have native sync.
[General Accessories] pepemac:
Don't work in non-jailbroken iphones. The itools app shows the apps but not the browse button.

Anyone know any solution for this case?

Thanks
[General Accessories] Bonoboo:
Last iOS updates now not allow browse apps data.

Seems there no solution.
[General Accessories] signaleleven:
Di anybody try the new MiBand 1S and can report on the database? Is it compatible with this data extraction tool? Does it need adaptations?
[General Accessories] Bonoboo:
2 All

App / profile

Export all statistics into HTML and/or CSV-table

updated to version 5.6.1

Changes

– now work on devices with x64 CPU (thanks @signaleleven)

– auto-adaptation for x86 CPU (different sqlite3 binary already inside app)

– fixed auto-extracting files on Android higher than 5.0

– notification if auto-extracting failed

– export base the same
[General Accessories] signaleleven:
[MENTION=2986005]xmxm[/MENTION] , are you still maintaining this code?

Until now I mostly used it as a simple user (I only helped bonoboo with the Tasker part), but now I wanted to modify a bit the html pages, to improve the graphs, for instance (I have almost a year of data and I would like to have some more filtering, granularity, etc... and maybe get away from google graphs and going towards something opensource, or with a permissive licensing).

However, I notice that the javascript code in your pages is very compressed and almost obfuscated. Is this on purpose? If you are not willing to maintain the tool, do you have a version which is more readable that you would like to share with us, so we can improve it?

I would put my modified version on github (IF I get around to do it ;) ) and credit you of course, but I would like to check with you first if it's ok and if you have a better "starting point" than the distributed version.

Cheers!

Mike
[General Accessories] xmxm:
Hello, I am sorry for not posting recently - was quite busy with numerous work-related challenges. I might be able to get back to this project eventually but timing is still unknown.

In the meantime, I've attached the source code for analytics to main post (miband_analytics_v560_src.zip) - I am licensing it under the GNU General Public License - feel free to play with it and share your improvements with existing users.
[General Accessories] XDA2025:
Error

This is my post. Joined the forum as I have mi band and saw this utility.

I am getting the following error when I Run

I have extracted all the files except ios in one folder under Mi Band tools.

What I am doing wrong?

I have unrooted nexus 5 with MM connected to windows 10.

Thanks in advance.
[General Accessories] khmerka:
I have the same issue as XDA2025. I use unrooted Sony Xperia Z1 Compact (up-to-date software, Android 5.1.1) and Windows 7. After running the script I see neither origin_db file nor extract.csv and extract.js. So I tried Helium to check backup functionality, and I got the following message:

Mi Fit has disallowed backup of application data. Please leave a comment with the developer of Mi Fit and ask them to allow application data backup.

Can it be the reason? What can I do to get raw data?
[General Accessories] julms:
Hello, I used miband_extract_v590 in the past . Last time 11-Sept-2015.

Today, I try to dowload data from Samsung Note 3 but the process fail. The last version also failed.

connected to 192.168.1.130:5555

Press "Backup My Data" button on device...

Now unlock your device and confirm the backup operation.

Extraction failed

Presione una tecla para continuar . . .​

Adb show device (Wired and Wifi, no problem) and I can launch adb to create a full backup:

C:\miband_extract_v592>bin\adb backup -f backup.adb -apk -all -shared -nosystem​

But this command create a 41byte file named mi.ab:

C:\miband_extract_v592>bin\adb backup -f mi.ab -noapk -noshared com.xiaomi.hm.health​

Then I launch:

C:\miband_extract_v592>bin\tail -c +25 mi.b > mi.zlb

C:\miband_extract_v592>bin\deflate d mi.zlb mi.tar

miniz.c version: 9.1.15

Mode: d, Level: 9

Input File: "mi.zlb"

Output File: "mi.tar"

Input file size: 17

Total input bytes: 17

Total output bytes: 1024

Success.​

Ok, I see mi.tar file and the structure of file is correct but empty:

C:\miband_extract_v592>bin\tar.exe tvf mi.tar

bin\tar.exe: Record size = 2 blocks​

Has anything changed? Now, would I need root on the phone to access to database?

Thank you for this util, I bought Xiaomi Mi Band because I would like access to the raw data and playing with it (Excel, LibreOffice Calc,..)

Regards from Spain

David
[General Accessories] marcusblade:
Error

I am also getting this error. I only get this error on a Windows 10 machine. On Windows 7 I do not have the below error.
[General Accessories] herpez:
Same issue as [MENTION=7105221]XDA2025[/MENTION] here with windows 10. Until 1 month ago it worked well.
[General Accessories] art.pugachev:
Heart rate activity

Hello guys, I'm using MI band 1s version and I can't understand, how to make app periodically track my heart rate using MI band. Is that possible?
[General Accessories] Bonoboo:
For now it available only in "running" mode.
[General Accessories] art.pugachev:
What do you mean by "running" mode?

I have started global activity, but on dashboard, at heart rate area I'm still seeing "click" text, and when I do click on it, my camera is enabled and asks for my finger on it...

And i was expecting, that app will use MI band and will check my heart rate with it periodically...
[General Accessories] andreo73:
I think I have the same error. Using extraction v. 5.92 running on win8.1, with a miband2 from a motoG. My motoG is not rooted, so I use backup mode. When running

bin\adb -d backup -f mi.ab -noapk -noshared com.xiaomi.hm health

it seems ok, the confirm screen appears on the phone, I press ok and the adb program exits without error; the file mi.ab appears in the current directory with size 41 bytes (does it make sense? I started using my band just yesterday)

then I do

bin\tail -c +25 mi.ab > mi.zlp

bin\deflate d mi.zlp mi.tar

and I get

miniz.c version: 9.1.15
Mode: d, Level: 9
Input File: "mi.zlp"
Output File: "mi.tar"
Input file size: 17
Total input bytes: 17
Total output bytes: 1024
Success.

After that, if I give a look to the tar file, it seems empty, same result with "tvf" or "xvf"

bin\tar xvf mi.tar

bin\tar: Record size = 2 blocks

And nothing is extracted....

What does it mean?:(
[General Accessories] Bonoboo:
There somewhere in menu is "running assistant" or similar (I use old app, so don't know exactly naming).

It will record GPS track via phone (like Endomondo etc) and same time every 30 sec "read" pulse. Also can notify by vibration on band when it above desired level.

That's all, no all-day monitoring for now. Seems due high battery drain.
[General Accessories] art.pugachev:
I would pay for separate daily heart rate monitor...
[General Accessories] lohtse:
not working on our redmi note 2 with latest mi fit app!!:(:(