New free spotify phone/tablet versions - Sprint HTC One (M7)

I wanted to experiment with changing the DPI for the app to switch from phone mode to tablet mode.
I am afraid that i will screw up the phone if i make a mistake with this.. and i really don't feel like hard resetting.
Has anyone already tried this already?
And it editing the build.prop the only way to try this?
_____________________________________________________________________
For those searching for the development of this, click here:
http://forum.xda-developers.com/showthread.php?t=2565626
What we do know is:
- editing build.prop DPI will more likely result in having to hard reset/reflash the phone than finding a resolution that works
- The tablet APK and the phone APK are the same- pushing one the the other doesnt enable the features
More development to come! Stay tuned.

Try xposed app settings, it should allow you to change the dpi for the app itself, similar to pa per app settings, without messing with the actual dpi of the phone

TurboX2 said:
I wanted to experiment with changing the DPI for the app to switch from phone mode to tablet mode.
I am afraid that i will screw up the phone if i make a mistake with this.. and i really don't feel like hard resetting.
Has anyone already tried this already?
And it editing the build.prop the only way to try this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2565626
Se are trying some stuff.

Related

Its a question of density and multitasking...

I've done a lot of research but the i cant seem to get a clear answer about my two little problems...
Problem one ... Density I love having my ace at 140 DPI it makes everything look really nice. but it gives me one little problem the only thing i cant get to work is the dialler. I've tried different diallers but i always get the same force close if i try to call or if some one calls me.
So does anyone have a solution for those who have got it working? would it be possible to get a dialer from a 140 dpi device and use something like titanium to integrate it?
Problem two . I want to stop go launcher from constantly closing when i have other programs such as games or cool reader running.. is there anyway to kill task killers or an app that allows me to properly mutitask or flag apps as not for closing?
thanks for any help
Cm roms work well at 140 dpi. I had no prob at 140 dpi.
from XDA app
Press THANKS if I helped
Aashay Sathe said:
Cm roms work well at 140 dpi. I had no prob at 140 dpi.
from XDA app
Press THANKS if I helped
Click to expand...
Click to collapse
Problem is that i dont want to use CM i prefer stock...
torchwolfery said:
Problem is that i dont want to use CM i prefer stock...
Click to expand...
Click to collapse
For stock you can't change the density.....it causes dialer to force close because of the sudden change in resolution :/
Herpderp Defy.
Holding on to what I haven't gooooooooooooooooooot
EmoBoiix3 said:
For stock you can't change the density.....it causes dialer to force close because of the sudden change in resolution :/
Herpderp Defy.
Holding on to what I haven't gooooooooooooooooooot
Click to expand...
Click to collapse
thanks that part i know. but seeing as everything else works ok there must be a work around... maybe trying to install a titanium back up from a 140 dpi device
torchwolfery said:
thanks that part i know. but seeing as everything else works ok there must be a work around... maybe trying to install a titanium back up from a 140 dpi device
Click to expand...
Click to collapse
It's just that dialer.apk doesn't have the correct files for that resolution perhaps.......whereas CM7 has different files for different resolutions
Herpderp Defy.
i have same problem with you, maybe we can work it together and found a great solution
maybe you can decompile your dialertabactivity.apk and look in res/layout-mdpi/dialer_app.xml
can this file help ???
andylah said:
i have same problem with you, maybe we can work it together and found a great solution
maybe you can decompile your dialertabactivity.apk and look in res/layout-mdpi/dialer_app.xml
can this file help ???
Click to expand...
Click to collapse
You brought a months old topic back, good job...
Sent from my GT-S5830 using Tapatalk 2

[HOW TO] - Enable CRT animation in Jelly Bean on the N7

Noticed none of the current builds have the CRT animation enabled, thought I'd share how to turn it on. Please note that it is at times a bit buggy. For me it works about 8 out of 10 times.
What it is:
Note: 1 - This will work on any device and on any version of Android back to GB. (Obviously the Nexus specific tools wont work on anything other than the Nexus)
Note 2 - You will have to redo this every time you update your rom.
Here's the quick rundown -
First, you'll have to pull the framework-res.apk from your tablet.
This can be done via adb, but the easiest way would be to either use WugFresh's Nexus Root Toolkit or mskips Google Nexus 7 TOOLKIT.
When asked what file to pull, type in "/system/framework/framework-res.apk" (without quotes)
Once you have that pulled, install this tool: http://forum.xda-developers.com/showthread.php?t=1432152
Follow the directions on how to use it in the thread.
Once you have decompiled the apk, you'll want to edit the "files-to-edit\framework-res.apk\res\values\bools.xml" file.
The value you want to change in the bools value is the "<bool name="config_animateScreenLights">true</bool>" change "true" to "false". I reccommend downloading Notepad++ to edit.
Make sure you save it. Once saved, recompile the apk using the tool you install, then create an update zip (I renamed mine to crtanimation.zip for ease).
Reboot into recovery, flash the zip, clear cache, reboot.
Tada!
Krunk_Kracker said:
Noticed none of the current builds have the CRT animation enabled, thought I'd share how to turn it on. Please note that it is at times a bit buggy. For me it works about 8 out of 10 times.
Here's the quick rundown -
First, you'll have to pull the framework-res.apk from your tablet.
This can be done via adb, but the easiest way would be to either use WugFresh's Nexus Root Toolkit or mskips Google Nexus 7 TOOLKIT.
When asked what file to pull, type in "/system/framework/framework-res.apk" (without quotes)
Once you have that pulled, install this tool: http://forum.xda-dev...d.php?t=1432152
Follow the directions on how to use it in the thread.
Once you have decompiled the apk, you'll want to edit the "files-to-edit\framework-res.apk\res\valuesbools.xml" file.
The value you want to change in the bools value is the "<bool name="config_animateScreenLights">true</bool>" change "true" to "false".
Make sure you save it. Once saved, recompile the apk using the tool you install, then create an update zip (I renamed mine to crtanimation.zip for ease).
Reboot into recovery, flash the zip, reboot.
Tada!
Click to expand...
Click to collapse
"Once you have that pulled, install this tool: http://forum.xda-dev...d.php?t=1432152"
This link is not working.
TahrirSquare said:
"Once you have that pulled, install this tool: http://forum.xda-dev...d.php?t=1432152"
This link is not working.
Click to expand...
Click to collapse
Apologies.
Fixed now
Why would someone want to do this?
Guardsix said:
Why would someone want to do this?
Click to expand...
Click to collapse
Why would someone want to put a custom rom on N7?
Sent from my Nexus 7 using Tapatalk 2
They most likely don't know what CRT animation is, NOT why they might want to make changes to the system.
Nothing in the OP provides a hint as to what that is or what it does. To be honest, I'm not sure I know what it is. A quick search shows that it is enabled in a lot of ROMs but not what it actually is or does.
Sent from my Nexus 7
krelvinaz said:
They most likely don't know what CRT animation is, NOT why they might want to make changes to the system.
Nothing in the OP provides a hint as to what that is or what it does. To be honest, I'm not sure I know what it is. A quick search shows that it is enabled in a lot of ROMs but not what it actually is or does.
Sent from my Nexus 7
Click to expand...
Click to collapse
OK, makes sense, I was assuming most knew what it meant.
I'll make a quick video.
Just made a video, uploading it.
krelvinaz said:
They most likely don't know what CRT animation is, NOT why they might want to make changes to the system.
Nothing in the OP provides a hint as to what that is or what it does. To be honest, I'm not sure I know what it is. A quick search shows that it is enabled in a lot of ROMs but not what it actually is or does.
Sent from my Nexus 7
Click to expand...
Click to collapse
If you don't know what it is then you obviously haven't flashed many roms and therefore should probably not even attempt this...
Thanks OP and sry for the ungrateful ones here.
updated OP with a demo vid
I guess the CRT animation is more obscure than I thought.
Okay... I get it... It enables animation effects when turning the device off, rather than just blanking the screen.
I get the same effect turning on and off with
https://play.google.com/store/apps/details?id=com.soulfulz.android.turnoffscreen
You can select from a number of effects, sounds for both when the device is turned on and off via the button. You have to hit the button for it to do it, but for the risk of modifying system files, this is easy and safe to do.
krelvinaz said:
Okay... I get it... It enables animation effects when turning the device off, rather than just blanking the screen.
I get the same effect turning on and off with
https://play.google.com/store/apps/details?id=com.soulfulz.android.turnoffscreen
You can select from a number of effects, sounds for both when the device is turned on and off via the button. You have to hit the button for it to do it, but for the risk of modifying system files, this is easy and safe to do.
Click to expand...
Click to collapse
Except your solution is wakelock city on top of having to enable it as a device administrator. Sounds like you also have to hit the shortcut or use the app itself to get the desired effect versus it being naturally accomplished when hitting the power button/screen timeout. And if it doesn't work in ICS, not sure it will work on JB.
krelvinaz said:
Okay... I get it... It enables animation effects when turning the device off, rather than just blanking the screen.
I get the same effect turning on and off with
https://play.google.com/store/apps/details?id=com.soulfulz.android.turnoffscreen
You can select from a number of effects, sounds for both when the device is turned on and off via the button. You have to hit the button for it to do it, but for the risk of modifying system files, this is easy and safe to do.
Click to expand...
Click to collapse
My way is easy and safe to do, if you follow the direction.
All your doing is turning something on. It's something that Google intended to be toggled.
Krunk_Kracker said:
My way is easy and safe to do, if you follow the direction.
Click to expand...
Click to collapse
Something users of XDA are so good at doing? Reading and following instructions.
All your doing is turning something on. It's something that Google intended to be toggled.
Click to expand...
Click to collapse
Curious, they didn't implement it in their flagship first tablet and first official device to have Jelly Bean?
BTW, I am not knocking you, just have a lot of experience dealing with users that don't read, can't follow instructions...
The info on extracting and the tool was good reading, I just know a lot of users that will botch this up and start posting BRICKED threads.
Via my HTC Rezound
krelvinaz said:
Something users of XDA are so good at doing? Reading and following instructions.
Curious, they didn't implement it in their flagship first tablet and first official device to have Jelly Bean?
BTW, I am not knocking you, just have a lot of experience dealing with users that don't read, can't follow instructions...
The info on extracting and the tool was good reading, I just know a lot of users that will botch this up and start posting BRICKED threads.
Via my HTC Rezound
Click to expand...
Click to collapse
I'm sorry if people are unable to follow direction, but honestly that's not my problem.
If they mess it up, it wont brick, and if it does, all they have to do is dirty flash their rom and it's fixed.
I asked the question "Why" because it seems a lot of trouble just to see your device (N7, in this case) turn off. I've done a great deal of modding to my ICS devices, but haven't really found much reason to mod a JB device. I know there are tons of boot animations which make your device really different when turned on, but having CRT just for turning off your device seems a waste of time.
Of course, this is only my opinion and I'm glad you figured out how to do this, but I still don't understand why!
Guardsix said:
I asked the question "Why" because it seems a lot of trouble just to see your device (N7, in this case) turn off. I've done a great deal of modding to my ICS devices, but haven't really found much reason to mod a JB device. I know there are tons of boot animations which make your device really different when turned on, but having CRT just for turning off your device seems a waste of time.
Of course, this is only my opinion and I'm glad you figured out how to do this, but I still don't understand why!
Click to expand...
Click to collapse
Why not?
To sound cliche, Android is all about options.
I present you with yet another modding option.
Sent from my Nexus 7 using Tapatalk 2
I'm not really understanding the animosity with this simple mod...
Neat! I am sure that I will get around to this eventually but I am surprised that I haven't noticed that there was no CRT animation enabled already.
Sent from my Nexus 7 using xda app-developers app
Guardsix said:
I asked the question "Why" because it seems a lot of trouble just to see your device (N7, in this case) turn off. I've done a great deal of modding to my ICS devices, but haven't really found much reason to mod a JB device. I know there are tons of boot animations which make your device really different when turned on, but having CRT just for turning off your device seems a waste of time.
Of course, this is only my opinion and I'm glad you figured out how to do this, but I still don't understand why!
Click to expand...
Click to collapse
Don't understand why you don't just switch to an iphone
Ok I tried what the OP has posted but the compiler tool is borked, no way to recompile the file after editing the file. Read over the original posting and found that the issue is still not fixed, any other way to do this??

One M8 Dot View DPI

Hi, I've altered the DPI on my m8 which of course has affected the way the dot view app works. I've tried using app settings to change The HTC.dotmatrix app but it still isn't displaying correctly. Has anyone else had any success?
jahaangle said:
Hi, I've altered the DPI on my m8 which of course has affected the way the dot view app works. I've tried using app settings to change The HTC.dotmatrix app but it still isn't displaying correctly. Has anyone else had any success?
Click to expand...
Click to collapse
I changed my system dpi to 400 at one point but the incoming call screen's answer button was misaligned and the calendar/music notifications were also half obscured on the lockscreen. I also tried to change the lockscreen and the dialer via app settings back to the stock 480 to no avail. I think the problem is that from the next standard dpi down from 480 is 320, at which point sense apps do scale down properly and get back in to alignment. Any dpi between there won't scale properly because of how those apps are coded i'm afraid.
Yeah its a shame about that, its strange however that everything works apart from the clock, even caller id works fine. This is how it looks at the moment.
jahaangle said:
Yeah its a shame about that, its strange however that everything works apart from the clock, even caller id works fine. This is how it looks at the moment.
Click to expand...
Click to collapse
This was something that was driving me nuts as well. I am sure the way that I got around it isn't the best or most elegant way (and I am sure someone will come up with something better very soon) but it worked. I should also mention that I converted to GPE.
Uninstall the update to the Dot Matrix app
Use App Settings w/Xposed Framework to set com.htc.dotmatrix to 480
modify dotmatrix.apk values-xxhdpi dimens.xml to match the size font you want
specifically the lines with "text_size_threeline_english" and "text_size_time"
copy new dotmatix.apk to /system/priv-app
set permissions properly for the app rw-r--r-- (644)
reboot phone
Of course, I take no responsibility if that apk does something to your phone. This is provided as is, blah blah blah. You get the point. It is on you if you try this and something goes wrong. Also, I won't know what to tell you if it doesn't work for you.
Great advice thanks! Will give it a whirl and see how I get on!
The attached version of the app here should be good to replace in roms that have the updated version of the dot matrix app. Also could be good for the updated version if it is installed automatically through google play. Same as before, just replace the app in the priv-app folder.
PlagueBoy said:
The attached version of the app here should be good to replace in roms that have the updated version of the dot matrix app. Also could be good for the updated version if it is installed automatically through google play. Same as before, just replace the app in the priv-app folder.
Click to expand...
Click to collapse
I have the same problem, but your modified *.apk doesn't work for me. Could this be due to me using a german rom (because of the text_size_threeline_english)? I've never modified an apk so my knowledge is pretty limited... thx in advance!
maynard_jk said:
I have the same problem, but your modified *.apk doesn't work for me. Could this be due to me using a german rom (because of the text_size_threeline_english)? I've never modified an apk so my knowledge is pretty limited... thx in advance!
Click to expand...
Click to collapse
Possibly... I mean, the only options in that file were English and Chinese. I will check and see if there is anything specific to German, but I was pretty sure the only language specific strings were for the name of the app.
can u explain why you altered dpi ?? and how much it was before ???
PlagueBoy said:
The attached version of the app here should be good to replace in roms that have the updated version of the dot matrix app. Also could be good for the updated version if it is installed automatically through google play. Same as before, just replace the app in the priv-app folder.
Click to expand...
Click to collapse
Thanx for this.. Worked for me after I had changed my DPI to 400
maynard_jk said:
I have the same problem, but your modified *.apk doesn't work for me. Could this be due to me using a german rom (because of the text_size_threeline_english)? I've never modified an apk so my knowledge is pretty limited... thx in advance!
Click to expand...
Click to collapse
Maynard_jk, can you pull the dotview.apk that you have in your ROM and post it? I would like to see if there are any differences in the version that you are using. I am going to take sometime, hopefully tonight, to actually go through this since I finally have a few hours away from work. Let me know. Also, you did see the step about App Settings with Xposed Framework, right? Not trying to offend you, just want to verify.
---------- Post added at 08:22 PM ---------- Previous post was at 08:19 PM ----------
mheera said:
can u explain why you altered dpi ?? and how much it was before ???
Click to expand...
Click to collapse
The M8 has a standard dpi of 480. People modify this for any number of reasons. Some people modify it to fit more on the screen, make icons smaller, make text smaller or the set the Android interface to mimic something else (a tablet for instance).
Personally I tend to keep mine on either 350 or 360 since I like things to be smaller on my screen. I also set the font size to Small so I can read emails easier without tons of scrolling...
Could you tell me what you changed the values to? Or how I could go about figuring out what the value should be?
I'm currently set to 370dpi.
PlagueBoy said:
This was something that was driving me nuts as well. I am sure the way that I got around it isn't the best or most elegant way (and I am sure someone will come up with something better very soon) but it worked. I should also mention that I converted to GPE.
Uninstall the update to the Dot Matrix app
Use App Settings w/Xposed Framework to set com.htc.dotmatrix to 480
modify dotmatrix.apk values-xxhdpi dimens.xml to match the size font you want
specifically the lines with "text_size_threeline_english" and "text_size_time"
copy new dotmatix.apk to /system/priv-app
set permissions properly for the app rw-r--r-- (644)
reboot phone
Of course, I take no responsibility if that apk does something to your phone. This is provided as is, blah blah blah. You get the point. It is on you if you try this and something goes wrong. Also, I won't know what to tell you if it doesn't work for you.
Click to expand...
Click to collapse
sinistersands said:
Could you tell me what you changed the values to? Or how I could go about figuring out what the value should be?
I'm currently set to 370dpi.
Click to expand...
Click to collapse
I changed the two lines to look like this:
<dimen name="text_size_threeline_english">258.0px</dimen>
<dimen name="text_size_time">478.0px</dimen>
Being honest, that was all just trial and error... I just changed the settings until my friend said that he was happy with what they were.
I tried the zip file, Im on 4.4.3, tried 320, 360, 400 dpi, and it didnt work.
Also, byproduct of the install was if I received a call, and I didnt answer it and the calling party hung up, my lockscreen hung and I couldnt get into my phone without rebooting it with my toolkit or doing a reset.
I havent tried manually editing the files as described above, I just wanted the creator of that zip to know what happened to me.
To be clear, I did what was in the instructions. I unzipped the mod. I renamed it to the same thing as the native app, I copied it to my download directory. I renamed the native app to .old, and copied the modified apk into the directory referenced. I rebooted my phone.
To undo it, I just renamed the files back and deleted the modified one.
I'm in dpi 390, and tried many times...
But everytime it dosen't fit perfectly:crying:
But thanks anyway, it looks better than before!

[Q] Hide my device type from apps?

i rooted my kindle, and so most games i download work now. But all Voltage Inc. games wont. They all pop up a web page saying they know I'm on a kindle. I've fixed it so they cant see my kindle is rooted and my id is shown as a fake one, but it still catches im on a kindle.
Is there a way to hide or change it so my Kindle just shows up as an Android phone to apps?
Would some terminal emulator code work for that?
Also, i cant for the life of me get my background and lock screen to change.
I'm using ADW launcher and tried themes for it but no difference.
I got my kindle as a present awhile back from someone who said they got it from a pawn shop (lol) so i don't know if that makes a difference. Its a second generation one, i figured that out when i was trying to mess with the ADB for ways to change the background... anddd at some point with my messing with it, its decided not to let me pull the notification bar down anymore and when i turn it horizontal the screen is black like ADW doesn't readjust.
Please help i know i should be happy with how far I've gotten but its too much fun to try and mess with it, you know? Modding is a little addictive.
don't be too harsh on me if you think i deserve criticism for my noobness.:crying:
technoeve said:
i rooted my kindle, and so most games i download work now. But all Voltage Inc. games wont. They all pop up a web page saying they know I'm on a kindle. I've fixed it so they cant see my kindle is rooted and my id is shown as a fake:fingers-crossed: one, but it still catches im on a kindle.
Is there a way to hide or change it so my Kindle just shows up as an Android phone to apps?
Would some terminal emulator code work for that?
Also, i cant for the life of me get my background and lock screen to change.
I'm using ADW launcher and tried themes for it but no difference.
I got my kindle as a present awhile back from someone who said they got it from a pawn shop (lol) so i don't know if that makes a difference. Its a second generation one, i figured that out when i was trying to mess with the ADB for ways to change the background... anddd at some point with my messing with it, its decided not to let me pull the notification bar down anymore and when i turn it horizontal the screen is black like ADW doesn't readjust.
Please help i know i should be happy with how far I've gotten but its too much fun to try and mess with it, you know? Modding is a little addictive.
don't be too harsh on me if you think i deserve criticism for my noobness.:crying:
Click to expand...
Click to collapse
First off,no one gets harsh for noobness here. We all help each other.
And now about your question. I would suggest flashing a custom ROM like CM instead of Amazon OS. But if you want to keep it stock rooted,try editing the build prop.
SafinWasi said:
First off,no one gets harsh for noobness here. We all help each other.
Click to expand...
Click to collapse
You sir, deserve a cookie
And to the OP, I remember a while back that there was an app for KFHD users that would allow us to change a setting temporarily to get different Play Store apps to work with our devices. I'll scrounge around and see if I can find it.
Ph0enix_216 said:
You sir, deserve a cookie
And to the OP, I remember a while back that there was an app for KFHD users that would allow us to change a setting temporarily to get different Play Store apps to work with our devices. I'll scrounge around and see if I can find it.
Click to expand...
Click to collapse
Thanks mate ?
And yeah,it's called market helper
Sent from my device running CyanogenMod 11
Found it, here's the link:
http://forum.xda-developers.com/showthread.php?t=2146216
Hi there, easiest way is to change your build prop. This requires root and you don't need to flash roms etc but I recommend this if you want the "full" android experience. Ask me how to change build prop first if you are interested. If you change the build prop you can spoof your apps into thinking that your device is a different device. However it is quite safe ONLY IF YOU DO IT CORRECTLY. hope this helps!

Odd clock behavior

I have used my moto x as a droid pod so i have no cellular connection and my home wifi is screwy so i can't set automatic time and rely on it. The time doesn't set itself when using automatic options. which is fine with me i can just do it manually no problem, right?
Wrong, i haven't really discovered a pattern yet but it seems that every time i reboot my clock sets itself ahead 1h 3m. i think after a series of reboots its totally wrong now. my time currently is 9:50pm and the clock on the phone is 2:58am. the clock in recovery is in synce with the os time but it also skips ahead with reboots i think as i said i really havent determined a clear pattern among issue
any advice? build.prop edit? i did my first edit this evening and it made me feel like a fricken genius so im cool with that but i doubt that there is anything wrong with build.prop. my OS is heavily modified with exposed framework using Xblast and/or gravity box. any help appreciated and will be thanked therefore.
me myself and i said:
my OS is heavily modified with exposed framework using Xblast and/or gravity box
Click to expand...
Click to collapse
i'd start there. recover from stock firmware and start over.
640k said:
i'd start there. recover from stock firmware and start over.
Click to expand...
Click to collapse
ill try thanks for the response

Categories

Resources