yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] vetefan:
I purchased this phone recently, and the reason buying this is that all new xiaomi phones cut the support of sdcard. Seems they are going to close the systems and force you to use more cloud services by them

For me, backup and migration is easier, faster and more comfortable with ext sdcard, just simply do titanium backup, put the sdcard to new phone

I installed xposed and use XternalSD to have most of data saved in sdcard. I can say that all my data are safe, my sdcard even have photos of old sonyerisson phones.

For my daily usage, I wrote scripts for game cheats and for consistency of phone migration, choosing CM or other custom roms would be a better choice
[Redmi Note 2 General] jajk:
[MENTION=3835689]vetefan[/MENTION] Thanks for sharing your script. There are always snippets of code that prove useful in other applications.

I trust that you are keeping an eye on developments in the Skinny thread? Lots of useful stuff being tossed around in there.

For those not watching the Skinny MIUI thread:

I have found that our phones benefit from having 512MB zram since MIUI even when skinny, chews a lot of RAM. Extending the capacity of RAM by compressing a portion of it is still much much faster than paging on EMMC flash memory. Expect between 1.5:1 and 2:1 compression so setting aside 512MB of RAM for zram can net a further virtual 512MB so the phone behave like it has 2.5GB of RAM.

Try add the first line in your init.d tweak file first. If a zram disk is not created, uncomment the next 2 lines and make sure that tiny_mkswap and tiny_swapon exist in /system/bin.

echo 536870912 > /sys/block/zram0/disksize ### 536870912 = 512MB, 1073741824 = 1GB

# /system/bin/tiny_mkswap /dev/block/zram0 ###these lines may be required if you get a zero sized zram after reboot

# /system/bin/tiny_swapon /dev/block/zram0 ### check that these 2 commands exist in /system/bin - they were omitted in some versions of MIUI.

Also:

#FSTRIM: Enable once after installation is finalized and then monthly ##### needs an updated busybox installation to work

# fstrim /data

# fstrim /cache

# fstrim /system

For busybox update read:

http://xdaforums.com/showpost.php?p=65450690&postcount=90
[Redmi Note 2 General] vetefan:
How is your free RAM when no zram is enabled? For me, usually 600 - 800MB when the phone is idle.
[Redmi Note 2 General] jajk:
[MENTION=3835689]vetefan[/MENTION] 1GB free worst case, 1.2GB when background apps cleared and 1.3GB reported occasionally.

If running zram, the reported free ram is not accurate as it cannot take into account what the compression ratio is going to be. Sometimes clearing running tasks can make the available ram appear to drop because of this.
[Redmi Note 2 General] vetefan:
[MENTION=5952980]jajk[/MENTION] I think 1GB to 1.2GB should be more than enough for normal operation. Any difference in terms of performance after applying zram?
[Redmi Note 2 General] jajk:
[MENTION=3835689]vetefan[/MENTION] Yes, I think you can tell the difference. I have previously done this on AOSP which consumes far less RAM and again, I think a difference can be felt.
[Redmi Note 2 General] DarthJabba9:
I can't find any directory called /dev/block/ :confused:

Edit: okay, I can see it in a terminal program - but not in the File Manager.
[Redmi Note 2 General] exiacruzalta:
I've tried the hotplug setting but even when my battery at full, 60 percent, 20 percent etc the lowest of all core limit will be used at any level. Eg. I used 2 for num_limit_low_battery, 8 for power_serv, 4 for thermal and 4 for ultra_power_saving but even when my battery is full it will only use 2 cores at any battery level. Yes I use stock miui 7.1.3.
[Redmi Note 2 General] jajk:
[MENTION=7287632]exiacruzalta[/MENTION] It is quite hard to get the number of cores to go above 2 when you are watching in a cpu monitoring app since you cannot generate sufficient cpu load to kick in more cores.

If you use Kernel Aduitor, you can touch on the individuals cores to activate them briefly (up to the set limit). Response is a bit slow but it will give you an idea of how many cores are available.
[Redmi Note 2 General] exiacruzalta:
[MENTION=5952980]jajk[/MENTION] hmmmm, that makes sense lol :good: but i learn one thing for sure, never put only one core active in hps setting as it makes your phone becomes crippled :silly: even two core is barely enuf for me
[Redmi Note 2 General] jajk:
[MENTION=7287632]exiacruzalta[/MENTION] I know what you mean - it really stuggles on one core. I think the GPU needs 2 cpu cores min to function properly which is why there is a hard coded 2 core 1183 boost setting for anything that requires a frame redraw.
[Redmi Note 2 General] exiacruzalta:
yes, so now i put on limit of 4 cores online in the hps setting. btw [MENTION=5952980]jajk[/MENTION] i also try the zram setting. but the script fails, i dont know why, the busybox are there but those tiny_mkswap etc arent in bin folder.
[Redmi Note 2 General] jajk:
[MENTION=7287632]exiacruzalta[/MENTION] Here are the files you need:

https://drive.google.com/file/d/0BwdRTuyj12_yMG42UF9VNzh2azQ/view?usp=sharing

Look over in the Skinny MIUI thread shortly - more info on zram coming
[Redmi Note 2 General] exiacruzalta:
Thanks mate! Zram working good, reporting 512MB in terminal free :highfive:
[Redmi Note 2 General] dsjiffry:
Awesome post. Finally able to configure touchboost. Also will give your interactive settings a go.

The 1st post contains the latest settings right????

If you have updated to better values then please update the 1#t post.
[Redmi Note 2 General] Paper.Cranes:
Its really interesting discussion :). page by page then I learn. Thanks for made such an educative thread :)
[Redmi Note 2 General] jajk:
[MENTION=5997739]dsjiffry[/MENTION] [MENTION=6911102]Paper.Cranes[/MENTION] This thread is old and out of date - move to https://xdaforums.com/redmi-note-2/development/b-skinny-pro-t3347906 for up to date information.
[Redmi Note 2 General] dsjiffry:
Considering this table, does running at 403MHz, 806MHz and 1183MHz consume the same amount of power????

If so isn't better to just set the minimum frequency to 1183MHz???????
[Redmi Note 2 General] Iliyena:
Nope, more juice is used, and will get to higher frequencies when a smaller task/load would have been happy ramping from 403 to 1183. Tried this long to see the effect but it gave quite the negative impact on battery without making the phone more responsive, as I thought it would.. But, try it! Compare and share. So long ago that I should compare the feeling of it again to.
[Redmi Note 2 General] jajk:
[MENTION=5997739]dsjiffry[/MENTION] [MENTION=7442305]Iliyena[/MENTION] MT6795 is very linear in how much power it consumes i.e. 4x freq = 4x power consumption, 8x freq = 8x power consumption. (see /proc/cpufreq/cpufreq_power_dump)

Ideal world: twice the freq = twice the power consumption but half the time running so no cost in running at max freq.

Real world: time and power penalty (overhead) every time you switch frequency up or down or add/remove cores

Outcome: Better to make larger freq steps and fewer of them and keep processing on the fewest cores possible while still maintaining enough cores to take advantage of multi-threading.

I recommend max cores of 5 or 6 and max freq 1 click below max. This gives peak

real world performance

since we do not have any heatsinking on the SoC so thermal throttling quickly kicks in if you try anything more (unless you live in Siberia)

There is some merit in not ramping up but simply switching straight to max freq and back down to min freq missing out all the intermediate steps (hence associated overheads). Hmmm....if only there was a governor that did exactly that:rolleyes:
[XDA Assist] Noreigeez:
Sorry im newb on this thing.So i dont really like the custom rom which was coming with phone,i would like to change it, do i really need root ?because this custom rom eats a lot battery and sometimes slow down the phone. please suggest me some things to do,which rom can i use .

CPU: MTK6580

GPU: MALI-400
[LG G Watch] Niel86:
Hi all, I'm looking for an Omega watchface, I prefer the new 007 Spectre one but it's hard to find any.

I've been looking for it for weeks. Can someone help me?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[8525, TyTN, MDA Vario II, JasJam ROM Development] kjhoran:
I have just installed the Black Satin rom on Vario 2. All working fine although i can't find the system menu with the icons for regedit, suspend, reset etc. Can anyone help or have the files i need?

Also, i can't get WMP to search my memory card for music files. Any ideas?

Cheers. Karl
[Droid Maxx 2 Q&A, Help & Troubleshooting] LoganDark:
I don't have a Developer Edition yet I would like to unlock the bootloader. I want to root this thing but I don't know how to unlock the bootloader. Any help?

If you haven't noticed already, I have a Droid Maxx 2.
[Droid Maxx 2 Q&A, Help & Troubleshooting] LoganDark:
Also if possible I would like to keep my Verizon service please. The unlock code will not work because Verizon apparently won't allow it, so is there a way to unlock the bootloader?
[Droid Maxx 2 Q&A, Help & Troubleshooting] DROID_4_UsEr:
I will get together with some of my friends from work and well take a look at this Devices security. Usually these new droids are TZ protected and I have the droid Maxx but I just purchased this device. I'm sure it won't be as tough as the Droid Maxx to Root or find a vulnerability in the security to unlock its bootloader. Do you know if it has trust zone security?
[Droid Maxx 2 Q&A, Help & Troubleshooting] el6006:
Motorola website says "your device does not qualify for bootloader unlocking." I assume Verizon, right?
[Galaxy S 4 Q&A, Help & Troubleshooting] tryman87:
Ok guys now this is what's happening with my S4.

My phone won't turn on when i remove the batt and put it back. But i turns on when i plug it via usb. But it works properly when i turn it off and on without removing the battery.

Update:

-I tried cleaning the motherboard with thinner but still no luck.

-tried reheating the motherboard still the same problem
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
Have you cleaned your usb port? Sounds to me some pins are making contact.
[Galaxy S 4 Q&A, Help & Troubleshooting] tryman87:
Thanks for the reply, i'll try cleaning it tom morning and give you feedback.
[Galaxy S 4 Q&A, Help & Troubleshooting] tryman87:
Up
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
If there I a problem with the USB port, try disconnect the USB port from the motherboard to see of the phone will boot. Of course, this involves removing the back frame from the phone which is very easy to do.
[HTC One X] kerim.ellezov:
Who can provide or share link for Blade Elite ROM. :confused:

The links in thread is not working and not answered to my PM :rolleyes:
[OnePlus X General] rseica:
OPX invites to give away

Enviado do meu ONE E1003 através de Tapatalk

Mod Edit by [MENTION=4036181]Darth[/MENTION] : there are existing invite threads, please use those. Thanks!
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
Need some very urgent help with getting 100% stock on the htc one m7. So far I have managed to unlock the bootloader and its showing S-ON and RELOCKED just under TAMPERED. Now I trying to RUU.img by using this command fastboot flash zip ruu.zip while in fastboot but the following error comes up: could not allocate 1688576026 bytes, error: cannot load 'ruu.zip'. Why is this error coming up? I am pretty sure I have the right RUU for my phone as it was suggested to me by someone on xda here.

Am i low on internal storage is that the reason why RUU is not going through? What is the possible fix. I am stuck on the black and white logo HTC screen with no OS installed or recovery. I think I might have a recovery saved in the internal storage but I cannot enter recovery mode either.

Any replies would be appreciated.
[One (M7) Q&A, Help & Troubleshooting] mb_guy:
Please post output of fastboot getvar all, so someone can suggest a solution.
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
The following is the output of fastboot getvar all.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.0000

(bootloader) version-baseband: 4T.35.3218.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 7.19.401.22

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__Y13

(bootloader) battery-status: good

(bootloader) battery-voltage: 3943mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-0e2a13e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.093s
[One (M7) Q&A, Help & Troubleshooting] mb_guy:
Are you using htc-fastboot when flashing, link is in flash instructions here http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
Yes I just downloaded the htc fastboot and its sort of working now but not completely. I realized I was using the normal fastboot.exe before.

However. The flash of ruu.zip goes fine until to the point it says "Please flush again immediately", for "hboot-preupdate" response, restart the same procedure for device number ..............

sending 'zip'.... (50280 KB) stuck here forever.

What is going wrong? How to fix from here on.
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
fastboot flash zip ruu.zip

sending 'zip'... (50280 KB) OKAY

sending time = 3.165 secs

writing 'zip'... (bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) rom parsing start ...

(bootloader) rom parsing finish ...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

(bootloader) checking hboot version...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) signature checking...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAIL90 hboot pre-update! please flush image again immediately

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

For "hboot-preupdate" response, restart the same procedure for device ...

sending 'zip'... (50280 KB)
[One (M7) Q&A, Help & Troubleshooting] mb_guy:
I would just try agin. If still failing try another cable or usb port. Also be sure you have the latest adb drivers.
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
Thanks, I managed to get it working. I tried a few times one after the other and in the end it was done.
[One (M8) Q&A, Help & Troubleshooting] se7enprince88:
I'm using HTC one M8 Sprint. Now, i want install Rom for it. I want install Viper One 5.0.0. You can help me.

Many thanks :o
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
First, you should only install ROMs that explicitly state they support the Sprint version. Otherwise, you will (at minimum) need to flash a different kernel, after doing the proper research of which kernel.

Its also not clear to me what you asking. Have you performed anything yet, do you have an knowledge so far? If not, I'd suggest to start reading (minimum a couple hours) before you start making posts and asking basic questions that have been addressed in many threads, guides, etc.
[Nexus 5X Q&A, Help & Troubleshooting] bluppfisk:
I can live with the Nexus 5X' relative sluggishness when compared to the Nexus 5, but what really stops me from doing my work is the phone killing apps when I switch between them.

Example: I may be filling out a form on a website in Firefox for Android. I need to look up a word in the dictionary, so I switch over to the dictionary and look up the word. When I switch back to Firefox, the application has obviously been killed, as it reloads the page.

Example2: I'm listening to the Audio version of the Economist via the Economist app. The speaker mentions a certain placename and I open the Google Maps app in order too find where it is on the map. Suddenly the audio will stop playing - the app has been killed.

The above gets considerably worse when switching between more than two apps and is really hindering my work and productivity.

Now this almost never happened on the Nexus 5, which also only had 2 GB of RAM. So is it the power saving feature of the Nexus 5X kicking in? Is there a way to stop it from happening?
[Nexus 5X Q&A, Help & Troubleshooting] Silvers91:
Marshmallow simply has very bad RAM management from what I've seen. I used to have the Nexus 5 too and as you said, multitasking was a very good experience on it (especially on Kitkat). Google's OS takes more of the phone's resources after each update (with no major new features or improvements). Marshmallow looks exactly the same as Lollipop, except for the tiny feature of apps permissions, and the Now on tap that I barely use (same for Android pay which I'm sure most of Nexus 5x owners won't even be able to use it outside the US). So I still don't understand why they had to jump so fast to a new version of Android while Lollipop still had a ****load of bugs that need fixing, they could've worked more on Lollipop to perfect it first then give us Marshmallow after 2 years maybe, we're not in a hurry.. I just hope they don't stop again at Marshmallow 6.1/6.2 or something and introduce Android N *sigh*
[Nexus 5X Q&A, Help & Troubleshooting] neu - smurph:
Sounds like you have more user installed apps with constantly running background services installed that the phone can comfortably handle with 2GB memory.

Check the memory stats in Settings - if the average over all the time options is 1.6GB or above used then your phone is going to struggle and cached apps are going to be getting cleared out when switching regularly. Look down the list particulary for apps running close to 100% of the time with a big RAM fingerprint. Also check running services in developer settings to get an idea of what is running a service all of the time.

Once you've identified the worst offenders make that difficult decision - is the apps utility worth it for the impact on performance. Consider reporting the memory use to the developer, particularly if it's much lower after a reboot and increases over time. Plenty of playstore apps ship with clear memory leak issues.

Other than that the other option is reasonably regular reboots to keep the system fresh and clear out any memory leaks.
[Nexus 5X Q&A, Help & Troubleshooting] bluppfisk:
thanks for the suggestion. Well here's the top 5:

Android operating system 524 MB

Wechat 156 MB

Firefox 117 MB

System UI 105 MB

Android system 99 MB

Clearly it's mostly the system using all resources. Firefox and Wechat, sure, I find them rather essential to my life, but together they don't even use as much as the OS.

Thing is, I can't remember this happening on the Nexus 5.
[Nexus 5X Q&A, Help & Troubleshooting] bblzd:
Sounds like you may have some apps using up a lot of your memory. I haven't been seeing any redraws with my apps, even 24+ hours of sitting in the background. The other day I was switching between gaming, streaming a live sporting even, and text messaging and the phone didn't drop a beat despite the game alone using 600MB of RAM.
[Nexus 5X Q&A, Help & Troubleshooting] neu - smurph:
Are those the average RAM or peak?
[Nexus 5X Q&A, Help & Troubleshooting] bluppfisk:
that's what shows up when I get the details of the RAM usage through settings
[Nexus 5X Q&A, Help & Troubleshooting] bluppfisk:
still this never happened on the Nexus 5, at least I can't remember
[Nexus 5X Q&A, Help & Troubleshooting] aysiu:
Yeah, I have a hard time believing it's the apps. I never had this issue come up in my Moto X 2013 (also 2 GB of RAM) using the same apps. We're seriously talking about one app open, switching to another app. No reason switching back to the first app should have everything reload.

Unless by "some apps," you mean that they have somehow not been optimized for Marshmallow in some way or other. But the apps simply running a process? A smartly-made OS (Lollipop, KitKat) will know "Hey, we have to kill something to free up RAM? Why don't we kill an app that hasn't been used in a while?" and a less-smartly-made OS (perhaps Marshmallow...?) will think "Hey, we have to kill something to free up RAM... why don't we kill the app the user just used?"
[Nexus 5X Q&A, Help & Troubleshooting] neu - smurph:
And there are two figures there - average and peak - which are those?

If there are the averages rather than peak then both Firefox and Wechat have got a problem.

---------- Post added at 06:42 AM ---------- Previous post was at 06:34 AM ----------

Marshmallow and Lollipop low RAM behaviour is pretty much identical and quite aggressive (the OS tries to preserve quite a chunk of free memory which is uses on the sly as a display buffer), KitKat was less aggressive.

I don't have any problem multitasking on my Nexus5x, but then again for the apps I've got when I check the memory tab I'm normally averaging 1.2-1.4GB used and 400-600MB average memory free so there is plenty of space for the OS to gracefully cache and uncache processes. If the phone is normally running at 1.5GB-1.6GB used and 200-300MB then the LMK is going to be kicking in frequently. It kicks in at around 250MB free on a Nexus5x.
[Nexus 5X Q&A, Help & Troubleshooting] bluppfisk:
It was the default setting, i.e. average. HM ok good to know. It's happening quite often when listening to the Economist too. Which is really bull****, it should treat it as audio playing. Why would Android kill your music.
[Nexus 5X Q&A, Help & Troubleshooting] neu - smurph:
I agree music players don't get the priority they should, although that particular 'bug' at least gives a clear symptom that lack of free RAM is an issue, if not the cause of the issue e.g. the OS, to many running services from user apps, or a particular user app with memory leak issues.

I came to the Nexus5x from a 1GB Moto G where it was almost impossible to keep background music running in combination with navigation after Lollipop without uninstalling pretty much everything else user installed and have got used to monitoring the RAM footprint and behaviour of apps as a result.

I've suffered the problem once since I've had the Nexus5x and that was due to the music player (Soundcloud) being a memory hog (120MB+) with it's background music player service coupled with a memory leak in the driving app I was testing at the time - Automate - it was peaking at 460MB use.

I'm not so precious about what is installed now but anything that wants to run a constant service either has to be tiny when running that service or absolutely fundamental to my use of the device.
[Nexus 5X Q&A, Help & Troubleshooting] boogie16345:
I find this to be the worst problem .We want to kill our apps like we are use to.Switching between email and chrome is horrible especially when you have to start your application all-over again (submission request) Hopefully some XDA member will figure out how to solve this issue. For now I am testing DEVELOPER OPTIONS allow running

apps in background ? Anyone know what the default value is??