yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] HesThatGuy:
Hello everyone, after a long day of research(googling) and tweaking with various things with this phone I think I may have stumbled upon a way to run our 5Xs in 32-bit mode. In the system folder lies a file called build.prop(Make a copy of this and place it somewhere safe), pull this file and edit these lines:

dalvik.vm.isa.arm64.features=default

dalvik.vm.isa.arm.features=default

and change them to:

dalvik.vm.isa.arm64.features=lpae,div

dalvik.vm.isa.arm.features=lpae,div

after you're done editing push the build.prop file back to the system folder and apply these settings: Chmod 0644 (rw-r-r)

I personally have done this tweak and noticed that even when running heavy apps such as Chrome with multiple tabs open and YouTube while playing 1080p videos in split screen mode that the system always has 400 - 600mb of ram available for use. I would love for a developer to please pipe in and explain what exactly these edits are doing. From my understanding these edits are telling the processor to execute code in 32-bit(exclusively?) instead of the default 64-bit and 32-bit mode. If anyone else is open to try this please give your experiences with this tweak.
[Nexus 5X General] Kael710:
Interesting, gonna try this... I guess there's not even a point in having a 64 bit processor with only 2GB of RAM

edit: It definitely feels kinda different... I managed to get Facebook, Messenger, Snapchat, Instagram, Google Photos, YuBrowser and YouTube opened at same time with 281MB to spare.
[Nexus 5X General] dog121:
If anyone is interested to no about Linux.arm lpae here's some information that might be interesting...

Also this is very interesting..

64-bit operation enables applications to use a larger virtual address space. While the Large

Physical Address Extension (LPAE) extends the physical address space of a 32-bit

processor to 40-bit, it does not extend the virtual address space. This means that even with

LPAE, a single application is limited to a 32-bit (4GB) address space. This is because

some of this address space is reserved for the operating system.

• Software running on a 32-bit architecture might need to map some data in or out of

memory while executing. Having a larger address space, with 64-bit pointers, avoids this

problem. However, using 64-bit pointers does incur some cost. The same piece of code

typically uses more memory when running with 64-pointers than with 32-bit pointers.

Each pointer is stored in memory and requires eight bytes instead of four. This might

sound trivial, but can add up to a significant penalty. Furthermore, the increased usage of

memory space associated with a move to 64-bits can cause a drop in the number of

accesses that hit in the cache. This in turn can reduce performance.

The larger virtual address space also enables memory-mapping larger files. This is the

mapping of the file contents into the memory map of a thread. This can occur even though

the physical RAM might not be large enough to contain the whole file.
[Nexus 5X General] edoardotavecchio:
Does this have any impact on battery? Obviously, just using less memory is good but I'm searching for more battery without sacrificing performances too much.
[Nexus 5X General] dog121:
To be honest I don't think that it's going to have any significant changes to battery life it's more of a way that the memory management is handled between 32bit &64bit process but I'm no expert..
[Nexus 5X General] edoardotavecchio:
Yes I know but as an information techonology student and Android enthusiast I've found that everything could bring unexpected results lol so I'm Just asking to the OP for some testing

what about stability? apps like play services are made for 64bit devices, doesn't this mod cause stability problems?
[Nexus 5X General] dog121:
Can't answer that .. Can say that it seems to be running with out any issue but I can't even say whether or not these two lines of code are actually taking affect ..After reading a considerable amount of information on lpae I seriously don't think that this is achieving any significant changes to the system management which Is kernel related as far I I know ..But like I said I'm no expert and could be totally wrong
[Nexus 5X General] SonarMonkey:
I'm actually really curious as to what effects this could have, and if one could go further toward 32-bit based RAM management. I'm not currently rooted, so I can't modify my build.prop, but I certainly plan to try it soon. As the OP said, I'm wondering if a developer, or perhaps just someone more knowledgable could provide any input as to what this is really doing. Always exciting to find something new!
[Nexus 5X General] edoardotavecchio:
Should we wait and hope that someone sees this post or maybe PM some of the developers for this device asking for an opinion?
[Nexus 5X General] HesThatGuy:
Appreciate the responses guys, I'm hoping that this thread will garner enough attention to get a developer in here and help us out a bit with this.
[Nexus 5X General] Nicktheprofessor:
That will not make them run in "32-bit mode" what you can do when compiling is making certain memory calls 16 bit wide and that can actually increase performance in some cases.

I'd done that at compile time for some ROM's and kernels and it does work fairly well while not affecting performance or stability negatively.

LPAE is just a way for 32 bit OS's to acces memory above the 4GB limit, i don't know why you think that would do anything at all. It will literally do NOTHING for a 64 bit kernel based OS and it will have the opposite effect on a 32 bit Kernel OS that has support for LPAE.

Here's a writeup on LPAE http://elinux.org/images/6/6a/Elce11_marinas.pdf

It's a kernel enabled feature in 32 bit systems, if it's enabled it can be disabled in the build.prop but it cannot be enabled since it's enabled by default in 32 bit kernels.

The only thing a 32 bit mode would do is slow down memory access for a 64 bit kernel, it's silly and unimportant since 32 bit code will be run exactly the same except access to anything above the 4GB limit in memory.

---------- Post added at 06:54 AM ---------- Previous post was at 06:51 AM ----------

Since it is only applicable to 32 bit kernels it won't do anything and won't have any effect on anything what so ever. You can add a line that reads "make.my.phone.fastest=yes" and it will have the exact same effect.
[Nexus 5X General] HesThatGuy:
[MENTION=7732448]Nicktheprofessor[/MENTION] My post is not directed specifically towards LPAE, it is focused on finding out what exactly these edits are telling the processor to do. The main command if anything is "div" which from my understanding is telling the processor to execute code with 32-bit instructions exclusively instead of the default of executing in 64-bit and falling back to 32-bit when necessary. Thank you for adding to the conversation though.
[Nexus 5X General] Nicktheprofessor:
OK, let's make sure this is very clear then.

The DIV bit cannot turn 64 bit compiled instructions into 32 bit instructions, it doesn't work that way, the DIV bit is a 64 bit specific instruction set.

Now if you have a 32 bit system with LPAE support you can set DIV to LPAE so that memory addressing can be made using 64 bit memory allocation.

If you have a 64 bit system running a 64 bit instruction set it's on no matter what you do, you need to use a 32 bit instruction set in the code itself to change that.

Here's a very simple explanation: https://www.tptp.cc/mirrors/siyobik.info/instruction/DIV.html

It shouldn't be too hard to rewrite the specific kernel additions and compile it in a 32 bit instruction set but you'd have to provide the LPAE layer to get it to communicate with the 64 bit layer.

What you'd end up with would be horridly slow though and i don't see the point in your endavour, do you even understand the concept of instruction sets?
[Nexus 5X General] HesThatGuy:
[MENTION=7732448]Nicktheprofessor[/MENTION] Correct me if I'm wrong please. My basic understanding of instruction sets are that they tell the processor how to operate in general and how to execute code to run different software.

As for my endeavor, I'm looking into a way of reducing the system's memory usage as I don't feel that 2GB of RAM for a 64-bit Android system is truly enough. Thanks again though for providing info for me to learn about this stuff.
[Nexus 5X General] Nicktheprofessor:
The point is that you can't run 64 bit native code as a 32 bit instruction set, it is 64 bit as is in source and in it's binary form, it cannot be executed using a 32 bit instruction set. To test this for yourself, try to run 64 bit code on a 32 bit system, it won't work and neither could you run the phone as a 32 bit system executing 64 bit code.

To actually reduce a memory footprint you'll need compilation flags, i suggest using a 16-bit addressing alternative (-mfpu=neon-fp16 -mfp16-format=alternative) instead.

I used to use that on another phone and it did actually help a bit.

2GB is plenty for 64bit though, especially since we're using ZRAM and 64 bit allocations will have higher compression values.
[Nexus 5X General] HesThatGuy:
Ahh I see now, I'm still learning all there is to know about how the Android ecosystem works and I appreciate the responses and info my dude. Addressing your ZRAM statement, I would like to find a way to run this phone without ZRAM and without sacrificing memory space as I notice frequently how slow it is for the phone to push & pull things in & out of swap especially when the swap space is nearly filled.
[Nexus 5X General] InterrtuptoR:
I dont understand, if you are using 16bit adress and 64bit words u dont get 2 GB ram..

2^16*64b/8b = 524,288 B of ram...

By the same calculation 28 bits would be enough for 2GB of ram with 64bit words.

If u lower the word size u need more adress space to adress the same memory, so i dont understand why 16bits?
[Nexus 5X General] Nicktheprofessor:
It's known as half-precision floating point and it can improve performance in some cases and save cache space but you still have 64 bit code and 64 bit memory allocation.

You can't fix that without actually rewriting code.

---------- Post added at 03:32 AM ---------- Previous post was at 03:27 AM ----------

Well you could just edit the init files and not have ZRAM at all but still support for it in the kernel, the phone will still work just fine but i sincerely doubt you will see much improvement.

Also the cache speeds are not slow in the least, i don't know where you get that from considering that decompression is done on the fly using the fastest algorithm possible and uses all available cpu's. I don't think you can improve on that much.

SWAP space on this phone is ZRAM, there is no physical memory put aside to do that job so...

However, unchanged code will readily be swapped to disk anyway, that is simply the way the Linux kernel works, it will keep the data in memory and just make a note of the disk address for the unchanged program so perhaps that is what you are talking about?
[Nexus 5X General] HesThatGuy:
For improvement in speeds you would see a nice gain if you disabled ZRAM as the recent apps you are using will be in RAM instead of swap(flash storage). We both know that flash storage for as fast as it is is still way slower than RAM. You can test this yourself by disabling ZRAM and setting swappiness to 0 and then opening up a few apps and switching between them. It is noticeably faster. Also, ZRAM compression on the 5X is done exclusively on the small cluster by default (source: https://android.googlesource.com/device/lge/bullhead/+/master/init.bullhead.rc#69)

I understand that swap space is from ZRAM. I also made a mistake with the second part of that statement as I was thinking at the time that ZRAM compresses RAM to use for swap space when it actually compresses some of the flash storage to use for swap space.
[Nexus 5X General] nowster:
ZRAM doesn't use flash.

https://en.wikipedia.org/wiki/Zram
[Nexus 5X General] HesThatGuy:
Thank you for the source good sir. I swear I've read about ZRAM on other sites and they state that it compresses some of the flash storage for use but this clearly states the opposite.
[Nexus 5X General] Nicktheprofessor:
There is no flash storage here, ZRAM is a memory device that is compressed in actual RAM using LZ4 and it works flawlessly in it's current implementation.

LZ4 is so fast that using the small cluster alone is absolutely not a problem.

The only difference with disabling it is that you will swap to disk on the basis of where the unchanged files are located which will be slower.

I'm done arguing this issue, it's not productive to argue an issue already resolved.
[Nexus 5X General] HesThatGuy:
I appreciate the response but I don't see how you think this is an argument. We were just having a casual discussion that started on the topic of LPAE, DIV and instruction sets that then led into memory management and ZRAM.
[Nexus 5X General] InterrtuptoR:
I believe that u can lower memory consumption (dont know how much) if you can somehow switch adress size to 28bits (thats 2GB max adressable for 64bit word) but i know only the basics of this stuff, maybe it needs more because virtual memory is used and vm often exceeds ram, even so i think 32bits should be enough(i think its currently 64bits) so that would mean every reference/pointer to an adress will be 32bits less, is that enough of an improvement i dont know, how to do it i dont know, will it work fine with 64bit processor 64bit word - maybe it needs some adaptation;

But i believe its doable but by someone who really knows what he is doing... Maybe smb can even lower word size to 32bits... [MENTION=7732448]Nicktheprofessor[/MENTION] am i making sense?
[Nexus 5X General] HesThatGuy:
Sounds similar to what Nick had suggested earlier with using compilation flags that address data in 16-bits.
[Nexus 5X General] InterrtuptoR:
Yea i know its sounds similar cause he said address data thats why i asked him to explain and he said "It's known as half-precision floating point" you can find it on wikipedia. Its very different from what I'm talking about. Half precision point is basically a use of 16bits instead of 32bits(or 64) for floating points storage (as i understood from Wikipedia). It seems it has a downside to using only 16bits it's precision is lower so i dont know how compiler would actually decide which floating-points to turn in to half floating-points and how much that would save space. Those float points also need to be converted to normal float points when computing with them...

So in the end u can apply his and mine solution cause they are totally different, only my is much harder to apply cause his is a compilation flag and mine a os code change.
[Nexus 5X General] Nicktheprofessor:
Your "solution" doesn't do anything what so ever and my solution is an attempt to speed up data processing that works in some cases but not all. I sent you a link regarding the div bit and what it does, you either didn't read it or you didn't understand it. Your "change" doesn't actually do anything, mine is one that the entire OS can be compiled with and have the output code correctly using it.

All you are trying to do is to tell a 64 bit system to do what it does (the div bit) and then add LPAE which is a 32 bit system's way of using 64 bit memory allocations.

You still can't do what you want without the 32 bit code and compiling it with a 32 bit compiler to run it on the 64 bit system in compatibility mode which will STILL have 64 bit memory adressing because you literally cannot change how the memory addressing is made with a 64 bit MCU, CPU and chipset.

Stop acting like you have something figured out here when it's been made clear several times that you do not.

---------- Post added at 10:47 PM ---------- Previous post was at 10:41 PM ----------

No, you're not making any sense what so ever.

You believe that you can get a 64 bit system running 64 bit code that is specific and that has been compiled with a 64 bit compiler using 64 bit flags to magically use 32 or 28 bit memory addressing.

In reality, even if you rewrote the kernel and had access to the drivers so you could rewrite them to work on a 32 bit system the memory controller would still be using 64 bit adressing.

I suggest you go get yourself an older phone that is 32 bit and stick with that forever because that is the ONLY way you'll ever get what you want.
[Nexus 5X General] InterrtuptoR:
K dude, thanks for being so nice... Btw u didnt send me any link...
[Nexus 5X General] Nicktheprofessor:
Are you sure i didn't?

https://xdaforums.com/showpost.php?p=70979775&postcount=13

Are you really, really sure? ;)
[Nexus 5X General] InterrtuptoR:
Ok, but u said it like you sent it to me and that's not me... It wouldn't made a difference anyway i have low knowledge of this things, to me it just doesnt make sense using a 64bit adrresses to address a space addressable by less than half of that, its not like im going to add more ram to this device... And i was hoping smb with more knowledge could use that to make some improvement...

If u dont want to explain pls dont be rude, just say you're busy or smth, i ask this cause im curious and want to learn...
[Nexus 5X General] Nicktheprofessor:
I did explain it once, you then just ignored that and went ahead insisting that your idea was sound. I'm sorry but when i do take time out of my day to explain things to people and they ignore it i get a bit rude the next time around.

It's nothing personal, it's just that repeating things that i have already explained will not work is counterproductive and a waste of both your time and mine.
[Nexus 5X General] KitsuneFoxy:
I tried this on a Nexus 4, safe to say it works, but it's dog slow.
[Honor 8 Questions & Answers] marko01:
I'm having this issue when I switch between apps that my brightness changes ( Auto brightness turned off ), so I searched for solution, and found out that this is battery saving feature, and that I just need to switch from Smart to Performance Power plan, but there is not such an option on Nougat, I remember that there was in MM. When I search for power plan in settings, it pops up but when I press it it just takes me to the battery settings. And I'm running on the latest Nougat update..

Please reply if you are having the same brightness problem.
[LG V20 Guides, News, & Discussion] Pjs187:
Just wondering if anyone knows of a viable alternative for A.S.S. ?, seriously though that app allowed me to lock my data connection to whatever band I wanted on my note 4 and I can't get it to work with the v20 is really annoying at work it constantly jumps between LTE and 2g
[LG V20 Guides, News, & Discussion] blacksolidus:
Yeah, I have the same problem with the connection, it's really frustrating T_T
[LG V20 Guides, News, & Discussion] mr.lumbergh:
I agree as well. I'm constantly dropping my LTE to lower speeds. Sometimes I put my phone in airplane mode then turn it off just to get it to jump back to LTE and stay, annoying is not the word.
[LG V20 Guides, News, & Discussion] Cheeky_Fink:
I saw someone in a different thread who found a way to do this on Sprint in one of the hidden menus. I don't remember exactly how, but IIRC it was a testing menu they found with Shortcut Master
[LG V20 Guides, News, & Discussion] Cheeky_Fink:
So I found it, just search "band" and it's the first one in the list. Dunno how long it lasts though, I might change every time you switch towers.
[X Play Q&A, Help & Troubleshooting] Pittonecio:
Hi.

Since december my sd crashes or something like that in the next situations:

- Transfering files from the computer.

- While downloading torrents (any other kind of downloads doesn't give any problems).

- Transfering files from internal memory to sd.

I found in a thread that a lot of people are having problems like this with the sd recently and the only way to resolve is restart the phone or use an usb adapter to tranfer files but i want to know if is a software or sd slot problem.

The sd is a SanDisk Ultra 64GB microSDXC UHS-I (amazon. com/gp/aw/d/B010Q588D4/ref=dp_ob_neva_mobile,) and i use the official 6.0.1 stock rom for México (24.61.52.lux_retail_ds.retla.en.01 retmx)

P.D: I have already tried to use the sd with other phone and use a different sd but the problem is only with the Moto X Play.

P.D2: sorry if i have a bad english.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Bkieser59:
Does anybody know where I can get the program file for HTC album?

I appreciate any help };-)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Bkieser59:
Windows media player on my 8525

Everytime I try to open up music through the windows media player I get a message- Windows Media

! an unexpected error occurred.

I reset Windows and that did not work then I upgraded to Mibil 6 and that did not work. The only way I can listen to music, I open Windows media then I have to go to the menu button and Open File... thenpick the folder then play. This allows me only to play one folder at a time I can not play random music.

I appreciate any help Bob K
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] wacky.banana:
Re HTC Camera Album go to the Development & Hacking forum. Top thread is for all extracted HTC items. Download and install the cab.

You will find the link below extremely useful. Will help you to find things for yourself.

Good luck.

WB

http://www.google.com/advanced_search?q=+site:http://xdaforums.com&hl=en&lr=&as_qdr=all
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Bkieser59:
Thank you Wacky Banana. };-)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] largenj:
HTC Album

Here is the file you requested!!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] archerzmh:
thanks for sharing.:)
[XDA Assist] Jo-76er:
Hi...

I have a samsung galaxy GT S7392 Phone...i installed foldermount app and after running the app it offered to fix a faulty module which i accepted and rebooted but after that i closed the app and went to my files/sd card and saw it was not showing any file

...now i cant move any file to my internal sd card...i still can download apps from playstore but nothing else...even the gallery shows"device memory low,delete some files"..i cant even open gallery...the settings/storage shows total space 4gb..system memory 4gb...applications 189 gb.....

I tried uninstalling foldermound..

Untooting and factory reset ...nothing helped..plz help... my email. [bianuccip@hotmail.com l]
[XDA Assist] sawdoctor:
Greetings and welcome to assist. Isn't there an option in foldermount to remove the mount ? If this is not possible then try using kies/smartswitch to reinstall your rom

Regards

Sawdoctor
[Android Q&A, Help & Troubleshooting] NaleemThaha:
Hi

My toshiba AT7-a tab is bricked. I tried to flash it with a custom rom. (But the ROM was not for the model) I used "RKBatchtool" and "AndroidTools" for for the task. Now my tab is not booting or nothing on display. When I plug the tab in to my PC

Android tools show "One Loader device found" - in recovery mode (Vol+ and Power on)

"One mask device found" in Power on mode (Power on)

I think it is possible to upload a new ROM with "AndroidTools" to the device.

Device Detail:

Toshiba AT7-a

It came with Android 4.2.2 Jelly Bean operating system.

RK3188 1.6GHz processor with ARM Mali-400 GPU

7 inch display with 1,024 x 600 pixels of screen resolution

Please anyone can help me?

Does anyone have Toshiba AT7-a original / custom/ compatible Rom?

or any other ways to fix my tab?

PLEASE Help me!!!
[ZTE Axon 7 Questions & Answers] Cyrus D.:
I've read a lot of mixed info about it, including severe overheating, massive battery drain, limited functionality, etc. But those reviews were all old and for the Pixel/XL.

Has anyone here tried it out with the Axon 7 that can give their opinion on it? I've been considering it, now that Nougat is finally available, but at $113 CAD (yay taxes) that's a steep price for what appears to be a piece of cloth with bluetooth mini remote. As far as I know all the sensors and processing hardware are in the phone itself, unlike Samsung's VR headsets.