yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
Not at all, I understand how it seemed like I was asking a duplicate question without looking in others threads, sorry again :)

And thanks a lot for the advice, I'll try Pimp my rom right away !
[Huawei Mediapad M3 Questions & Answers] Slavon-93:
If you just need to change density, you'd better try changing the value in build.prop first. And in case of any problems after, change the value of the key I wrote previously or restore the original build.prop from backup. Good luck.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
I've tried this morning to change ro.sf.lcd_density to 320 in the build.prop and reboot. After reboot, ro.sf.lcd_density is still set to 320 but the display is still at 400dpi.

It's like ro.sf.lcd_density has no impact on the display dpi except for the display mode (tablet, phone, etc.).

Screen settings/Small + ro.sf.lcd_density=320 -> tablet mode in Chrome and 400dpi

Screen settings/Small + ro.sf.lcd_density=400 -> phone mode in Chrome and 400dpi

Screen settings/Large + ro.sf.lcd_density=320 -> tablet mode in Chrome and 480dpi

Screen settings/Large + ro.sf.lcd_density=400 -> phone mode in Chrome and 480dpi

I think maybe the DPI setting from build.prop is replaced during boot with the screen setting (Small:400dpi, Medium:440dpi, Large:480dpi). Could a init.d script could change the value after boot? I'll try tonight if the tablet allows init.d scripts to run.
[Huawei Mediapad M3 Questions & Answers] Slavon-93:
Well, ok. I only quickly looked through the decompiled code. Change dpi with the app then, it'll make a backup of build. prop and try to compare both files - new and backup. I could have missed something. Just to mention, I didn't like the way tablet had behaved after changing DPI. EMUI is not well-designed for this. It's much better to set DPI for apps and leave it unmodified for system.
[Huawei Mediapad M3 Questions & Answers] johje:
[MENTION=5634239]wlausrsker[/MENTION] this is covered in the apps running in phone mode thread. I posted there that the adb dpi change settings will stick after rebooting if you run the command "adb shell wm density 340 && adb reboot"*

*Use whatever density works best for you, I have found that 330 works best for me with the view mode and font set to large.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
johje, thanks but I tried it first and it doesn't survive reboot ("./adb shell wm density 320 && ./adb reboot" since I'm on Mac, it reboots in 400dpi).

Slavon, I've compared the files from before and after changing the dpi setting with the app, only ro.sf.lcd_density is changed, so you didn't miss anything.

Since methods successfully used by you and others don't work for me, it must be something I did differently on setting up my tablet. I used greatslon mod of TWRP and then flashed via TWRP the latest SuperSU (v2.79-SR1). Finally, I installed XposedInstaller and got xposed-v87-sdk23-arm64. Did any of you with reboot-surviving custom dpi setting used something different? (like the SRK Tool)

I'm off this weekend but I'll try next week to start over from scratch.
[Huawei Mediapad M3 Questions & Answers] bark1234:
the reason adb change dpi and even build.prop change doesn't work is because huawei has set lcd_density in boot image. check content of /init.6x.rc

these init files are part of boot.img and will be overwritten at every boot. so what u need is a modified boot.img where this set lcd_density line is removed. Once you install that boot, you can set whatever dpi in build.prop and it will work. even adb dpi change will be persistent.

if you are on b026, i can share my edited boot.img
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
Thanks for the explanation bark1234, I now understand why everything I tried didn't survive reboot!

Thanks also for proposing your edited B026 boot.img but I'm on BTV-W09C100B005 and I can't find any B026 download for BTV-W09. From what I understand from other threads the latest Chinese OTA for the BTV-W09 is the BTV-W09C233B022, so I couldn't use it. Nevertheless, if you could maybe share it for others, it could help someone with the same problem on a BTV-DL09.

I tried to edit my boot.img but I'm a newbie. I've tried to extract my boot.img but I have no result with "cat /proc/mtd", so I extracted mmcblk0boot0 as a best guess. I tried to install abootimg to edit it but there's not blkid.h on Mac OS so I can't build it. If I give you what I extracted, could you maybe edit it like you did with yours? You would save me from applying at random a bunch of tutorials like I just did and hoping it will result in something usable :) In the meantime, I'll try and learn how to edit a boot.ini with my setup.
[Huawei Mediapad M3 Questions & Answers] johje:
Just as an FYI, the adb dpi change initiated along with the reboot command has stuck for me after multiple reboots.
[Huawei Mediapad M3 Questions & Answers] bark1234:
If you are rooted, use flashfire app to get ur current boot.img from ur phone. and then copy it out to edit.

The tool i use for editing works on windows. i too have mac only, i have windows on vm in it.

https://www.dropbox.com/s/x46q5nzv49iauwi/Android Image Kitchen.rar?dl=1

Use above link to download tool i use.

unpackimg.bat will unpack boot img.

your init.x files will be in ramdisk, edit it there.

and then use repackimg.bat, it will create new boot.img.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
johje, it won't stuck for me, no matter how I try. Did you root by flashing the latest SuperSU? Did you installed xposed framework?

bark1234, thank you very much for the detailled explanation, I'll use Flashfire app to extract my boot.img and I'll try tomorrow at work on my Windows machine to edit it.
[Huawei Mediapad M3 Questions & Answers] johje:
[MENTION=5634239]wlausrsker[/MENTION] I have not yet rooted my tablet. Once I got the dpi/phone apps issue fixed, it reduced my urgency for rooting. However, I will be rooting it soon, since a way has been found to enable the 5Ghz wireless adapter for the US version of the tablet. I will let you know if I am able to keep the dpi settings after rooting.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
Thanks again for the link and the explanation, it was really a painless process.

I used Flashfire app on my tablet to backup my boot.img (it resulted in a boot.lz4 file).

On my Windows machine, in a cmd window:

lz4 boot.lz4
unpackimg.bat boot

I then opened in Notepad++ the /ramdisk/init.61262.rc file to remove the line setprop ro.sf.lcd_density 560 in the on early-init and on boot sections of the file and saved.

In the cmd window:

repackimg.bat
rename image-new.img boot.img

I now have an edited boot.img to flash in TWRP. Does it seems to you that I did the editing correctly? The edited boot.img is 13.35Mb (about the same as the boot.lz4) but the extracted boot file before the unpacking was 32.77Mb. Is it normal?
[Huawei Mediapad M3 Questions & Answers] bark1234:
13.9 is correct size. install this boot.img
[Huawei Mediapad M3 Questions & Answers] jmjm003:
For those of us following along. Does the edited boot image have to be flashed by TWRP in zip form? Or can we use Fastboot to flash it? or both will work?

I've done the edit's and have what I believe is a flashable zip. I personally like to use fastboot.

I have DPI set and holding by adb as I mentioned before but this is still nice to have.

Thanks
[Huawei Mediapad M3 Questions & Answers] the7thson:
OP - here's a really easy way to change dpi and make it stick: https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi

I'm using it on my MediaPad M3 without issues. PS - 320 is my preferred dpi as well, but I found it caused some issues like Settings would crash. I'm using 322 now without any issue for the last couple weeks. Enjoy :)
[Huawei Mediapad M3 Questions & Answers] bark1234:
boot.img has to be flashed via fastboot only.
[Huawei Mediapad M3 Questions & Answers] Flavio:
TexDroider does not report the DPI correctly and also does not make a change sticky on my rooted M3.

I use Easy DPI Changer to change my DPI on the fly without a reboot.
[Huawei Mediapad M3 Questions & Answers] the7thson:
Strange, it reports correctly and also stuck on my rooted M3 and I've been using 322 for the last several days. Glad the other app worked though.
[Huawei Mediapad M3 Questions & Answers] diament:
Just to report. At first on fresh rom without changing ui scale in settings I used textdroider and changed dpi to 322. It was perfect and it was holding dpi after reboot. But then i wanted to fiddle a litle with ui scale and font and then problems occoured. Dpi is not holding anymore and I cant get right proportions of ui elements and font. Im starting to think that maybe textdroider and dpi change works fine and holds the setting but only to the point you start fiddling with built in ui and font scale setting.

Easy DPI works but i have a feeling that proportions are not right and in some cases settings window cant be opened because it closes immedietly.
[Huawei Mediapad M3 Questions & Answers] muwatally:
For chrome

for chrome I installed the beta version and the tabs work fine :good:

https://play.google.com/store/apps/details?id=com.chrome.beta&hl=en
[Huawei Mediapad M3 Questions & Answers] diament:
Yes I was right at some point. I did factory reset, flashed SuperSu via TWRP again and then I can set whatever DPI I desire through texdroider and it works keeping the setting after reboot. Problem starts when you try to change ui scale via built in display settings. I have BTV-DL09. Now im perfectly happy with DPI 322.

By the way. Shame on Huawei for that out-of-the-box sofware problems and ridiculus idea of huge almost 9 inch phone... On the other hand grats for great piece of hardware.
[Huawei Mediapad M3 Questions & Answers] johje:
I can confirm this with the adb wm density && reboot method as well. I had the density change sticking after reboot even after rooting the tablet and enabling the 5Ghz wireless on my US tablet. Once I changed the view mode from large to medium the dpi change no longer sticks after rebooting. Before unlocking the bootloader and rooting I could change view mode and the dpi change would still stick, so I think the unlocked bootloader warning may be the culprit for this change in behavior after changing view mode with the unlocked rooted Mediapad.
[Huawei Mediapad M3 Questions & Answers] johje:
[MENTION=5634239]wlausrsker[/MENTION] when you unpacked the converted boot file, did you get any errors? I am getting a "Android Boot Magic Not Found" error. I have the US version of the mediapad, I am not sure if that makes a difference.

I was able to create an actual boot.img file by making a fastboot backup in flashfire that I was able to unpack and remove the DPI lines, but when I flashed the updated boot.img file, the DPI change did not stick and the tablet did not reboot well. Were you successful with your updated boot.img file? I ended up flashing the original boot.img file back and the tablet is back to the way it was before. The only think I can think of to try now is maybe replacing the 560 with 325 and see if that works.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
No, I didn't have any error like that and I also have the US version. I updated my boot.img succesfully without any reboot problem but it didn't kept the dpi changes.

I thought it was because I tried too many modifications and I went back to my first backup, then tried to put the chinese firmware and ended up in a bootloop. I let my tablet for the night because it was late and when I came back its battery was empty and now I can't even launch TWRP even with the charger plugged so I have a nice paperweight :crying:
[Huawei Mediapad M3 Questions & Answers] johje:
[MENTION=5634239]wlausrsker[/MENTION] while connected to power can you use ADB and Fastboot? If so, and and you can use ADB to boot into bootloader mode, I can use flashfire to create fastboot flashable backup file of my Boot, Recovery and System for you. That might get you up and running again.

I did try just changing the dpi value in the boot img to 325, I did not have any boot/reboot issues with that method, but the dpi changes still didn't stick. So my next research project will be to check out xposed framework, which I have never used before, or trying to find a way to run a script in a terminal automatically on boot that will do the dpi change.
[Huawei Mediapad M3 Questions & Answers] mickliq:
Hi, just got my Mediapad m3 -- the phone mode is killing me (Flipboard, Chrome to name a few). I'm not clear from the thread, is there a fix for dpi change on non-rooted devices? I ran the adb command and the device rebooted but I don't see any difference (I uninstalled and re-installed Flipboard just to be sure).
[Huawei Mediapad M3 Questions & Answers] johje:
To check for a difference you can run the "adb shell wm density 325" command without the "&& adb reboot" part to check right away that the change is working and find out what density change works best for you. Some people are having difficulty having the change stick after reboot, but most of them have unlocked bootloaders. For the US version, if you change the view mode setting after unlocking the bootloader, the dpi change does not stick after rebooting. A system reset fixed this problem for me and the dpi change is now sticking again after rebooting. I still have an unlocked bootloader but am no longer rooted (I lost root and TWRP recovery doing a manual update).
[Huawei Mediapad M3 Questions & Answers] mickliq:
Thanks. Removing the reboot command works. Upon reboot, I lose tablet mode every time.
[Huawei Mediapad M3 Questions & Answers] mossief1965:
I've done this using adb on my unrooted tablet and has worked fine but will I have to do this again after each reboot?
[Huawei Mediapad M3 Questions & Answers] rohiin:
I have searched everywhere but cant find answer for my question:

I entered: adb.exe shell wm density 330 && adb reboot

and guess i was lucky in one way, it works after rebooting multiple times - but the problem is that i have to enter a pin code when the device is rebooted - and the number pad is so low that i can barely just see some of "1 - 2 - 3" and not the remaining numbers i need to unlock it. So im stuck here with a locked mediapad (the dpi looks better from what i can see, more tablet like).. Cant change the DPI settings thru my computer because i dont get access to the tablet when its not unlocked :/ any ideas? Hope i dont have to factory reset the whole thing..
[Huawei Mediapad M3 Questions & Answers] xdede:
Does this problem still exist after installing the official Nougat update (or the beta version)? Are the Google app still running in smartphone instead of tablet mode?

If the problem still exists, has anyone tried the fix described in this thread with Nougat?
[Huawei Mediapad M3 Questions & Answers] c411umuk:
If you have Nougat you can change DPI in developer settings; At least it's possible on the P10. I don't have Nougat on the M3.
[Huawei Mediapad M3 Questions & Answers] gaidin43:
I changed the dpi to 320-335 and when I wake the tablet from sleep it skips between landscape and portriat​ about 10 times before it settles down and I can actually use the tablet. Any idea why this is happening? Otherwise all the apps seem to be in tablet mode.
[Huawei Mediapad M3 Questions & Answers] wlausrsker:
Hi all, after getting back my tablet from the repair center, I followed those steps to get the Tablet UI:

- update from BTV-W09C100B006 to BTV-W09C100B301 with Firmware Finder in order to get EMUI 5

- tap 7 times the "Build number" in the "About this tablet" menu to gain access to the "Developer options" menu

- change the "Smallest width" from 640dp to 720+dp

I now have the Tablet UI across all apps and I don't have gaidin43 problem. You'll have to change this value after each reboot as it is not persistent. As a note, the screen density formula is px = dp * (dpi / 160), so it is normal to set a higher dp to get a smaller dpi.
[Huawei Mediapad M3 Questions & Answers] hammondb4:
Yes, this method is working perfectly for me, and get the tablet ui in desired apps. But as stated, it loses the config after reboot.

Any way to make this option permanent? Or do we have to be root and use some 3rd utility like xposed?

Any guessings?

Greetings.
[Huawei Mediapad M3 Questions & Answers] Developfarmer:
yes.... I'm set adb.exe shell wm density 350 (case' low than this in app facebook screen exploit notification tab)

but when reboot device this setting re-roll....

I change my other phone (note 4 and tab s 8.4) but device keep setting? why M3 re-config? (all device not root)??

thx. every one
[Huawei Mediapad M3 Questions & Answers] nlebedev:
I solved the problem by attaching a keyboard via OTG cable and entering my pin on it.
[Huawei Mediapad M3 Questions & Answers] hija31:
@

rohiin & nlebedev

Just turn the tablet on landscape position, and you can enter the pin code.
[Huawei Mediapad M3 Questions & Answers] Szineztezia:
In developer options change the smallest width to 900, and it'will work. (after you set up viber, change the width to default, if you want)
[Honor 8 Questions & Answers] zimmen:
Think about it, the Honor 8 and P9 ar almost the same phone.

But the P9 have the Leica camera module.

But what if we could change that?

This is the P9 Leica camera [IMG="P9 Leica Camera"]http://www.myfixguide.com/manual/wp-content/uploads/2016/07/Huawei-P9-Teardown-14.jpg[/IMG]

And this is the Honor 8 camera [IMG="Honor 8 Camera"]http://www.myfixguide.com/manual/wp-content/uploads/2016/08/Huawei-Honor-8-Teardown-27.jpg[/IMG]

They look very much the same size to me.

I'll just need so se if the connection is the same
[Honor 8 Questions & Answers] trainpunk:
There isn't much of a difference anyway...perhaps the H8 has even better camera than P9
[Honor 8 Questions & Answers] zimmen:
Both phones have the 12-megapixel IMX286 Sony sensor.

On Honor 8 we have the camera optics from Huawei, and on the P9 they hade help from Leica.

That makes a huge difference on monochrome pictures. In that i say the monochrome photos produced by P9 has a higher contrast than that of Honor 8.
[Honor 8 Questions & Answers] CronaMell:
They're Identical 100%, it's just the camera/software that makes a small difference, also the leica branding obviously
[Honor 8 Questions & Answers] faizalotai:
Its stated here honor 8 use leica as well

http://www.devicespecifications.com/en/model/57b63d1d
[Honor 8 Questions & Answers] DarkGuyver:
I won't be surprised if it is 100% identical.
[Honor 8 Questions & Answers] CronaMell:
It is identical, but the camera app on the p9 is better (RAW support and the use of monochrome lens alone)
[Honor 8 Questions & Answers] zimmen:
Well if you look att that page you have RAW support aswell, so i dont think you can trust that.

I think its 2 different cameras.
[Honor 8 Questions & Answers] CronaMell:
Just look at pocketnow's review of honor 8 camera :)
[Android Head-Units] Hilari0:
Hi!

I have a couple of questions about the JY-UL135N2 head unit.

On the source button (SRC), it cycles through different apps for source to audio as expected. Is there anywhere to select which apps it cycles through? I'm not interested in cycling through the video player and such, but would like it to go Radio>Spotify>Google Play Music and nothing else. Is this possible?

Also, I'm having issues with the bluetooth dialer app. I think I've read that it's a common issue, that the app is simply not good. Is it possible to install the stock Google Phone and Contacts app? I tried downloading the Contacts.apk, but it wont install.

Has anyone used the SUB output? I'm using it with a factory installed OEM subwoofer with its own amplifier, problem is that the SUB output isn't really managed, it just plays like a regular output with no crossover or anything. Is there any way to fix this?

And lastly, I'm seeing that it's sitting pretty constantly at 70 to 80'C in CPU temp, which probably means the internal heatsink is insufficient. Does anyone have a picture of the CPU systemboard without a heatsink, or perhaps know of a heatsink which may fit? Another option is to attach a small PC heatsink, but not sure if I'd rely on adhesive or thermal glue to not come loose in a car environment with impacts and vibrations.... The best would be to have something to bolt down and secure it in place with some sort of mounts or something.
[Android Head-Units] gustden:
1. No way to change that I know of.

2. I use the program tablet talk, If you play with the settings you can get it to play well with the stock bluetooth dialer. I even went as far as to hack the manisfest, it so I can use google voice to dial out. It's a paid app, so I don't think I should post my modded version, but can tell you what I changed. It also syncs SMS messages between the phone and HU. I use "read it to me" to have the HU speak the SMS messages.

3. External crossover works well.

4. No heatsink is installed from factory. I added one from a desktop processor. I also added a small fan in the top of the case, with a 5v voltage converter to power it when the unit is on. It's a 12v fan, but It runs nice and quiet at 5v and moves enough air. Before I was at 70C+, now rarely exceeds 50C with no throttling. I fastened it with thermal conductive epoxy, it's never coming off. See attached.
[Android Head-Units] Hilari0:
Ok, thanks for the answers. :)

Would be awesome if you could share what you modified to get Tablet Talk working properly, sounds like something I'd like to try as well. :)

And that heatsink looks like it would do the trick. Is there only one chip to cool under there? Or are there other components that could benefit from cooling?
[Android Head-Units] Hilari0:
For heatsink, I think I'll get a stock intel CPU cooler. That should suffice for a low power chip I think. It's low weight and compact, and already has a fan mounted on it so it's practical.
[AT&T LG V10] mcmikechan123:
I'm using AT&T mvnos, need help.
[AT&T LG V10] Carlito17_2000:
I have Cricket, and I don't think we get H900 updates. It's a bummer. Maybe visit AT&T store? Perhaps they can throw in a sim for you.
[AT&T LG V10] emod0705:
Use Bob Miller's thread. MAKE A BACKUP FIRST. You will lose all data as well as root if you have it. But it will NOT interfere with an unlocked device
[Xiaomi Redmi Note 3 Questions & Answers] Siva Mk:
Hello everyone, I did a brief search and found no MM based Custom ROMs capable of VoLTE.

Are there any stable builds that offers FP and VoLTE?

I don't care about camera.
[Xiaomi Redmi Note 3 Questions & Answers] 1emrys1:
Only the leaked aosp rom works perfectly for me. Volte, dual sim...You name it. Everything works. But it is based on lollipop.

You're right there is no custom MM rom that is without bugs. But there is a leaked aosp mm rom. The problem is that it never worked for me. My sim always force closed. But for those people that it worked... It works as perfectly as the leaked aosp lollipop rom. So try the marshmallow rom and if it doesn't work you can go back to the lp rom.
[Xiaomi Redmi Note 3 Questions & Answers] Siva Mk:
Ok, how's the LP based ROM? Is it better than MiUI? I mean I don't hate it that much since I have mixed up some themes and edited some to look like stock Android. But then I miss tinkering with custom ROMs.

I've tried some Nougat based ROMs. But getting VoLTE to work is like hit and miss.

Anyways I'll try the leaked MM ROM and report back.