As we don't have root yet on the M preview, here is quick tutorial how to enable Muiltiwindow and change density.
You will need TWRP and Total Commander with adb plugin.
1. Boot the TWRP
2. Go to Mount and check the system checkbox
3. Plug the device to PC
4. In Total Commander go to network/adb/your device/system and find build.prop
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Copy the file to some safe place for backup
6. Open the file in editor (F4)
7. Change the line
Code:
ro.build.type=user
with
Code:
ro.build.type=userdebug
8. You can also change the density in the line
Code:
ro.sf.lcd_density=480
I prefer 420.
9. Save the file and copy it back (if you change it on PC).
10. Done
Just FYI, there is a much more simple way to change the DPI without root. You just need a single ADB command.
With the phone powered on, just open up a window in terminal (OSX) or command prompt (Windows) like you would to perform fastboot or ADB commands, and type the following:
adb shell wm density DPI && adb reboot
Just replace "DPI" with the desired DPI. So if you want a 420 DPI, this will be your command:
adb shell wm density 420 && adb reboot
Then just hit enter, the phone will reboot, and voila! enjoy your new DPI.
how to flash twrp on M !!
bicho19 said:
how to flash twrp on M !!
Click to expand...
Click to collapse
fastboot flash recovery
rivera618 said:
fastboot flash recovery
Click to expand...
Click to collapse
i know, but can you provide me with the img file that work with Android M
bicho19 said:
i know, but can you provide me with the img file that work with Android M
Click to expand...
Click to collapse
It is the same as for Lollipop
Man, I can confirm that this tutorial works perfectly, thank you!
Have you understood how to use multiwindows?
In my case, I can't understand which is the second app he shows on the screen. I can chose one from recent menù, but the second seems to be chosen randomly!
Maybe I'm just tired
Will it cause missing applications from PlayStore as it did every time I changed DPI?
To check, try to download 'Tinder'. Or go to the Store webpage from a computer and try to find an App that it's incompatible with your Nexus 5 (And it shouldn't)
bregan90 said:
Will it cause missing applications from PlayStore as it did every time I changed DPI?
To check, try to download 'Tinder'. Or go to the Store webpage from a computer and try to find an App that it's incompatible with your Nexus 5 (And it shouldn't)
Click to expand...
Click to collapse
Tinder installs/opens fine with DPI set to 420 (just tested it). I used the adb commands to change DPI, worked perfectly.
Own a mac, cant seem to get adb to work properly.
swirly05 said:
Own a mac, cant seem to get adb to work properly.
Click to expand...
Click to collapse
./abd "commands go here"
Don't forget the ./
ape96 said:
Man, I can confirm that this tutorial works perfectly, thank you!
Have you understood how to use multiwindows?
In my case, I can't understand which is the second app he shows on the screen. I can chose one from recent menù, but the second seems to be chosen randomly!
Maybe I'm just tired
Click to expand...
Click to collapse
From the resent menu you can set the top and bottom windows.
When u then in some time launch one of them, it is still will be on top or bottom, but another one will be the last used, but it will not be scrollable some or them, or not always. Still a little buggy, . As the new "half frame" app will be on top.
But if you run both apps from resents that you made top and bottom, then they will both scroll.
The new photo app shows some display bugs with density set to 420
neFAST said:
The new photo app shows some display bugs with density set to 420
Click to expand...
Click to collapse
Dunno. Seem to be working fine for me...
What are those bugs? Try to change to 400 or smth else.
playahate said:
From the resent menu you can set the top and bottom windows.
When u then in some time launch one of them, it is still will be on top or bottom, but another one will be the last used, but it will not be scrollable some or them, or not always. Still a little buggy, . As the new "half frame" app will be on top.
But if you run both apps from resents that you made top and bottom, then they will both scroll.
Click to expand...
Click to collapse
I start to understand! It's a big buggy, but it seems that it will improve a lot
It's a useful function, though
ape96 said:
I start to understand! It's a big buggy, but it seems that it will improve a lot
It's a useful function, though
Click to expand...
Click to collapse
Yap. I like it too.
Added the pic to 1st post. Watching YouTube and browsing the same time...
I changed DPI to 420 but there is no option to enable multiwindow?
how do I fix?
swirly05 said:
Own a mac, cant seem to get adb to work properly.
Click to expand...
Click to collapse
You might need to install the latest ABD and Fastboot, compatible with M Preview: https://github.com/simmac/minimal_adb_fastboot/tree/preview
razor17 said:
I changed DPI to 420 but there is no option to enable multiwindow?
how do I fix?
Click to expand...
Click to collapse
I flashed a zip file posted by another user to enable multi window. Then did the adb command from this thread and its all working here.
Edit: here's the post I got the zip from. Flashed it and enabled multi window. Then I adb command DPI to 420. Working for me. Hope this helps
http://forum.xda-developers.com/showthread.php?p=61061093
height soft key
sn0warmy said:
Just FYI, there is a much more simple way to change the DPI without root. You just need a single ADB command.
With the phone powered on, just open up a window in terminal (OSX) or command prompt (Windows) like you would to perform fastboot or ADB commands, and type the following:
adb shell wm density DPI && adb reboot
Just replace "DPI" with the desired DPI. So if you want a 420 DPI, this will be your command:
adb shell wm density 420 && adb reboot
Then just hit enter, the phone will reboot, and voila! enjoy your new DPI.
Click to expand...
Click to collapse
it's a way to change height navigation bar / soft key ?
Related
hi
when im trying to use the increase max volume guide
http://forum.xda-developers.com/showthread.php?t=517745
im doing METHOD 1
i have done "adb remount" it worked
but when im typing "adb push Desktop/AudioFilter.csv system/etc"
and press enter it sais the file do not exist and it does on my desktop what do i need to do
thx for the helpers
titanos said:
hi
when im trying to use the increase max volume guide
http://forum.xda-developers.com/showthread.php?t=517745
im doing METHOD 1
i have done "adb remount" it worked
but when im typing "adb push Desktop/AudioFilter.csv system/etc"
and press enter it sais the file do not exist and it does on my desktop what do i need to do
thx for the helpers
Click to expand...
Click to collapse
make sure that where it says 'Desktop' is the exact location of your desktop and not just the word 'Desktop' ... for example on my computer it would be "C:\Documents and Settings\Administrator\Desktop\AudioFilter.csv"
not ok
xidominicanoix said:
make sure that where it says 'Desktop' is the exact location of your desktop and not just the word 'Desktop' ... for example on my computer it would be "C:\Documents and Settings\Administrator\Desktop\AudioFilter.csv"
Click to expand...
Click to collapse
ok your right but when i do that i type this "adb push C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv system\etc
i get this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i guess its not ok
is there any program besides the adb i need to use?
titanos said:
ok your right but when i do that i type this "adb push C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv system\etc
i get this
i guess its not ok
is there any program besides the adb i need to use?
Click to expand...
Click to collapse
Code:
adb push "C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv" system\etc
its not liking the space between documents and settings .. it thinks that local location is 'C:\Documents' and that the remote location is 'and' and then everything else it just doesn't know lol so try it with the quotes
nop
xidominicanoix said:
Code:
adb push "C:\Documents and Settings\Titanos\Desktop\AudioFilter.csv" system\etc
its not liking the space between documents and settings .. it thinks that local location is 'C:\Documents' and that the remote location is 'and' and then everything else it just doesn't know lol so try it with the quotes
Click to expand...
Click to collapse
still didnt work
it sais fail to copy read only file system
titanos said:
still didnt work
it sais fail to copy read only file system
Click to expand...
Click to collapse
did you do adb remount first lol.
its also a lot easier to do that if you use the New Audio Mod v2.4 at the bottom of the first post
ok
david1171 said:
did you do adb remount first lol.
its also a lot easier to do that if you use the New Audio Mod v2.4 at the bottom of the first post
Click to expand...
Click to collapse
ok i made it eventually i found out that the (\) was inverted so i changed it to (/) and it worked fine
i could see it copied the files into the device
but i cant feel a change in the speakers volume lvl do you know why?
titanos said:
ok i made it eventually i found out that the (\) was inverted so i changed it to (/) and it worked fine
i could see it copied the files into the device
but i cant feel a change in the speakers volume lvl do you know why?
Click to expand...
Click to collapse
which version did you push
Here you go
adb remount
adb push Desktop/AudioFilter.csv system/etc
adb push Desktop/AudioPara4.csv system/etc
adb push Desktop/AudioPreProcess.csv system/etc
just put AudioFilter.csv, AudioPara4.csv and AudioPreProcess.csv on your desktop...not in a folder
soloxp said:
Here you go
adb remount
adb push Desktop/AudioFilter.csv system/etc
adb push Desktop/AudioPara4.csv system/etc
adb push Desktop/AudioPreProcess.csv system/etc
just put AudioFilter.csv, AudioPara4.csv and AudioPreProcess.csv on your desktop...not in a folder
Click to expand...
Click to collapse
i did that
and i saw that the AudioPreProcess.csv is not needed
first i pushed v3 then i pushed v6
titanos said:
i did that
and i saw that the AudioPreProcess.csv is not needed
first i pushed v3 then i pushed v6
Click to expand...
Click to collapse
it should definitely be louder, try rebooting the phone if you haven't already or either use headphones and see if there is a change there
open the command prompt start and run...type cmd then enter.
then type adb remount then hit enter
then type adb push Desktop/AudioFilter.csv system/etc
so on and so on.
looking at the pic you post don't look like you did that.
david1171 said:
it should definitely be louder, try rebooting the phone if you haven't already or either use headphones and see if there is a change there
Click to expand...
Click to collapse
ok thx i redo the proccess but this time i used v3 only and now i can fell the difference
thx for all the help m8's
Audio over earpiece.
I can barely hear anything from the ear piece after I upgraded to 4.0 Jac. I'm currently running Shadows latest release but still the same issue. The speaker phone is loud and clear but even pushing version 4 or version 6 from the audio hack I can't hear through the ear piece.
Battery percentage mod by SMABERG
Ive made theese only for myself, but decided to share em cause of demand.
i dont take any responsible for damage to phone or malfunction, theese work on my phone, so they are tested though.
For theese mods to work, and for it to not go into bootloop, you got to put phone in bootloader(power on while holding vol.up) the use ADB from android SDK and run in commandprompt (in windows, startmenu, run, cmd) then input this command. Dont forget to enable usb debuging
adb shell mount /system (thanx for reminding me on this s60mike)
adb push framework-res.apk /system/framework/
A big thanx to theimpaler747 for making this mod work. and also for the gingerbread battery below
NEXUS S - 2.3.2 - STOCK ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- blue-with-black-outline
- green battery gingerbread
- green with black outline numbers
- Green-galaxy-S-style (My favorite )
- green circle
nice thanks!
the blue one is the best
Haven't personally flashed these yet, but wanted to say thanks. Digging the Galaxy S one.
THANKS!!!! I like the blue one
One more thing ^^
maybe you should write that they must enter:
adb shell mount /system
before entering your:
adb push framework-res.apk /system/framework/
Again - Thank you !!!
Mike
i have bionix rom works? it possible flash zip or only work to adb push? thanks
funny... adb does not recognize my device in bootloader mode, but fastboot does.
But when i turned on the phone in usb debugging mode, adb recognise my device.
So with the phone turned on, i used root explorer to set the permissions to /system/framework folder and used the above adb command line and it worked!
out of topic : ADB not recognized in bootloader mode but fastboot does, normal?
the blue one looks really sweet, might have to throw those files into tonight's CM7 nightly framework and give it a shot
It'd be awesome to have a battery percentage mod on the cm nightlies!
foxehkins said:
It'd be awesome to have a battery percentage mod on the cm nightlies!
Click to expand...
Click to collapse
But then you'd have to make one every night
theimpaler747 said:
But then you'd have to make one every night
Click to expand...
Click to collapse
+1 thats a pain
rubino90 said:
i have bionix rom works? it possible flash zip or only work to adb push? thanks
Click to expand...
Click to collapse
only thoose rom's using stock framework from 2.3.2. and only way to be safe is adb.
smaberg said:
+1 thats a pain
Click to expand...
Click to collapse
Trust me, it is
Those of you that have flashed this which one most closely matches the stock gingerbread theme?
Sent from my Nexus S
Bronk93 said:
Those of you that have flashed this which one most closely matches the stock gingerbread theme?
Sent from my Nexus S
Click to expand...
Click to collapse
The one that's named gingerbread
I Got bootloop on GingerS Rom
MrNameless said:
I Got bootloop on GingerS Rom
Click to expand...
Click to collapse
That's because this will only work on the stock 2.3.2 rom
Ahm - you've quoted the wrong line in the first post
adb shell mount /system
not the adb push ...
^^
s60mike said:
Ahm - you've quoted the wrong line in the first post
adb shell mount /system
not the adb push ...
^^
Click to expand...
Click to collapse
He he he, fixed IT...
wultan said:
funny... adb does not recognize my device in bootloader mode, but fastboot does.
But when i turned on the phone in usb debugging mode, adb recognise my device.
So with the phone turned on, i used root explorer to set the permissions to /system/framework folder and used the above adb command line and it worked!
out of topic : ADB not recognized in bootloader mode but fastboot does, normal?
Click to expand...
Click to collapse
Also had the same issue but, since I don't have root explorer, I just used Clockwork Recovery to mount the /system and then use the adb push, worked great!
Congrats on the mod, just what I needed!
Thanks,
Very good, thanks! One thing, on the green battery with the black outline I think the charging image is a little off from the regular icon. While my phone is charging the icon jumps up and down a bit
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to Install via Root Explorer
1. Download the boot animation you want
2. Rename bootanimation.zip
3. Copy to your sdcard
4. Open Root Explorer and copy bootanimation.zip to /data/local
How to Install via ADB What is ADB and How do I use it? Goto Post 2
1. Download bootanimation.zip
2. Copy to your "Tools" folder that contains adb commands
3. Open Command Prompt and enter following command
Code:
adb push bootanimation.zip /data/local
Download
HD Xoom Boot Animation - Honeycomb Bumble Bee
HD Xoom Boot Animation - Xoom Glow
Powered by Android Blue
Powered by Android Red
Want to Go Back to Stock? [URL="http://www.mediafire.com/?0m9q0i9xd9ym26u"]Click Here
[/URL]
Video Preview
Honeycomb Bumble Bee - http://www.youtube.com/watch?v=Gjda3B0RZu4
Powered by Android - http://www.youtube.com/watch?v=tf9MQfhJAfw
Video Preview on Device
Honeycomb Bumble Bee - http://www.youtube.com/watch?v=x0JPJCkx4Lk
Xoom Glow - http://www.youtube.com/watch?v=4K9IK9yHcag
What is ADB and How do I use it?
ADB lets you control your Xoom with a command prompt to access system files
How to setup Windows Android SDK (Software Dev Kit)
1. Download the latest SDK HERE
2. Extract contents to a new folder on PC (I have mine in adroid-sdk-windows)
3. Goto control panel and open system properties (or right click my computer)
4. Go to Advanced settings
XP: Click the Advanced tab
Vista/Win7: Click Advanced system settings on the left
5. Click Environment Variables near the bottom
6. Double-click on Path in the first scroll box named User Variables
7. Enter the full path to the tools/ directory at the end of Variable Value text box - make sure to separate from existing text with a semi colon ;
8. Here is what the entire contents of my Variable Value text box
Code:
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Java\jre6\bin;C:\Users\Addie\Desktop\android-sdk-windows\tools
9. Press OK and close remaining boxes open
9. Run SDK Setup.exe from C:\Desktop\android-sdk-windows\
10. If you get an error about not having Java SDK installed but you do, add the path to 'bin' within your Java installation location to the Path environmental variable as described above before the sdk entry you just made. (eg add "C:\Program Files\Java\jdk1.6.0_20\bin;") This is likely to only be necessary where the 64 bit Java SDK is installed (obviously) on a 64 bit machine.
11. If it gives you an error about http go to settings and click on "Force http//....."
12. Unselect all options except for the USB driver
13. If you can't get the setup to work, download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)
14. On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
15. Plug your phone into your computer via USB cable (it needs to be on). It should say installing drivers if using Windows.
16. After it installs the drivers, goto the Start menu and type cmd into the search bar (Vista or higher) or click Run then type in cmd (XP) to open the command prompt.
17. Enter the following code after command prompt:
Code:
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set.
If you do NOT see a serial number, then you need to reinstall the drivers.
Download USBDeview
While the phone is still plugged in, open USBDeview and sort by manufacturer. Find all the HTC/Android drivers and uninstall them all. (Windows Vista requires program to be run as an administrator, otherwise files won't uninstall.)
Once all have been uninstalled, unplug the phone from the USB cable and plug it back in.
The correct drivers should reinstall automatically (check the drivers as they are installing, one should say ADB Device driver).
To check, go to Devices in your Start menu then click on the “Android Phone”. Click on the Hardware tab, and check the list of drivers for ADB Interface under Type.
Done! Now you can use ADB to alter your phone from your computer.
Click to expand...
Click to collapse
How to Use ADB Commands
1. Use windows Explorer to navigate to Tools folder within android-sdk-windows
2. Right Click and choose new shortcut
3. Enter this Location C:\Windows\System32\cmd.exe
4. Click next and name whatever you like (Now you will have quick access to command prompt & it will open up to the right directory)
5. Open the command prompt shortcut just added
6. You should see this prompt C:\Desktop\android-sdk-windows\tools\>
7. Simply type adb shell and press enter and you will be brought to a $ prompt
*If you are rooted you will see # prompt
8. Now you can type many different commands to manipulate your Xoom... (Root, Pull/Push Files, etc)
Nice....,may have to try that when you release it...
Sent from my Xoom using XDA Premium App
WOW! looks really cool... it might even replace the BIOS style xoom bootanim for me!!!
zorack8000 said:
it might even replace the BIOS style xoom bootanim for me!!!
Click to expand...
Click to collapse
Same for me, like the bios one, but this one is awesome !
Holy sh*t that's sick as hell! Awesome work! Will def replace my BIOS one
Sent from my Xoom using XDA Premium App
Download is posted
I hope to increase resolution of image and make a bit clearer... When i tried full 1280x800 images bootanimation.zip was 50mbs....
any ideas on how to increase resolution and maintain small file size?
bignadad said:
Download is posted
I hope to increase resolution of image and make a bit clearer... When i tried full 1280x800 images bootanimation.zip was 50mbs....
any ideas on how to increase resolution and maintain small file size?
Click to expand...
Click to collapse
Send me the 50mb version lol Does it work still at that size?
great job! the stock loaded boot images are horrid. looking forward to the high resolution one when you have it!
Try JPEG instead of pngs. Or use pngs at a lower resolution. Upload the 50 MB one so we can play with it.
Sent from my ADR6300 using XDA App
I'm out of town this weekend but will post 50mb one when I get home tomorrow
Btw. What's up with all the props and no ones hit the thanks button? Come on guys
thanks I'm using this as a boot animation now
bignadad said:
Btw. What's up with all the props and no ones hit the thanks button? Come on guys
Click to expand...
Click to collapse
There's no thanks button in the android app else I would. I'll have to visit next time I'm on my PC. I rarely go to xda on my computer anymore.
EDIT: just found the browser button.
Did some testing last night on the better quality boot animation.
The one currently posted is reduced to 512x320
I tried one last night at full res 1280x800 (jpg) and was only about 15mbs...
when i tested it seemed to start okay but played very slow and only got half way through. sometimes it even boot looped. i had to press all 3 hard buttons to reset and get back up. i test the fps at 24 and 14. Also tried reducing all images over 100kb to less by compressing.. got same results... i have not tested full res pngs, but i remember trying that the first time i tested and got same results im getting now..
its like the xoom cant process the images quick enough??? Any help?
Here is the link to the 65mb full res (png) boot animation
http://www.mediafire.com/?ndj9z4qc258gchz
i have not tested, but let me know if anyone can make it work.
i think the prob is that its too long... But i can see shortening it up. Its only 10 seconds now. All other boot animations ive seen (there are many) have less than 70 or so images. mine has 152. you would think the xoom could handle it.
Any help? would really like to get this full res and correct speed
Updated with a much better quality version.. Also tweaked it a bit
Download
HD Xoom Boot Animation - Honeycomb Bumble Bee
New Xoom Glow Boot Animation is Posted
Download
HD Xoom Boot Animation - Honeycomb Bumble Bee
HD Xoom Boot Animation - Xoom Glow
Video Preview
Honeycomb Bumble Bee - http://www.youtube.com/watch?v=Gjda3B0RZu4
Video Preview on Device
Honeycomb Bumble Bee - http://www.youtube.com/watch?v=x0JPJCkx4Lk
Xoom Glow - http://www.youtube.com/watch?v=4K9IK9yHcag
Wow nice job on the boot screens they look great
PizzaSauce said:
Make use of that super saturated 2k panel!
1. Download the Android SDK
2. Extract it to a desired location
3. Navigate through the extraction to SDK > Platform Tools
4. SHIFT+RIGHT CLICK anywhere inside this folder and click "open command window here"
6. Make sure you have the correct drivers for your phone
5. Turn on USB Debugging and plug your phone into the computer
6. Tell your phone to trust the computer
7. In the command window, run the following command but replace *** with the desired DPI (I use 540)
Adb shell wm density ***
8. Reboot phone to have changes fully take effect.
Click to expand...
Click to collapse
Just tried this on my S6Edge (changed to 540 DPI) and I love it. Enjoy!
Can you post a screen shot of it. :')
I love that this is making rounds. Thanks for quoting!
Do any of the apps look messed up?
on mac?
Has anyone successfully done this on a Mac? I've watched tons of YouTube videos and tutorials and still can't get it.
I did this on a Mac with no problem. Just followed instructions.
hoth said:
I did this on a Mac with no problem. Just followed instructions.
Click to expand...
Click to collapse
Would you mind helping me out?
1. Download the Android SDK
2. Extract it to a desired location
3. Navigate through the extraction to SDK > Platform Tools - I see "Platform" and "Tools", 2 separate folders - which one?
4. SHIFT+RIGHT CLICK anywhere inside this folder and click "open command window here" - How do I do this on a Mac?
6. Make sure you have the correct drivers for your phone
5. Turn on USB Debugging and plug your phone into the computer
6. Tell your phone to trust the computer
7. In the command window, run the following command but replace *** with the desired DPI (I use 540) - Can you clarify on this step? Same on a Mac?
Adb shell wm density ***
8. Reboot phone to have changes fully take effect.
Once you have everything installed and the phone hooked up to the Mac in USB debugging mode, then start the Terminal app. Once the prompt comes up type: "/users/[username]/library/android/sdk/platform-tools/adb shell wm density 540"
Remember to change [username] to your "username". I also had to replug the phone in twice I believe before the command worked.
hoth said:
Once you have everything installed and the phone hooked up to the Mac in USB debugging mode, then start the Terminal app. Once the prompt comes up type: "/users/[username]/library/android/sdk/platform-tools/adb shell wm density 540"
Remember to change [username] to your "username". I also had to replug the phone in twice I believe before the command worked.
Click to expand...
Click to collapse
It's saying "No such file or directory". I have the Android SDK downloaded and extracted - am I missing the step on how to install the SDK?
ericdmiller said:
It's saying "No such file or directory". I have the Android SDK downloaded and extracted - am I missing the step on how to install the SDK?
Click to expand...
Click to collapse
If you already have the Android SDK installed, make sure you also have the "SDK Platform Tools" installed, that's what you need to run ADB. If you don't see a folder titled "Platform Tools" you don't have the necessary files. Google around!
How does this effect battery or performance?
hoth said:
I did this on a Mac with no problem. Just followed instructions.
Click to expand...
Click to collapse
Got it finally, thanks for your help. Is there any way to fix the camera app showing the older dpi?
Can someone please post a screenshot of this DPI corrected screen? I'm trying to determine if it's that much more useful than the 5x5 grid option in the Touchwiz Launcher.
Screenshots
h3ck said:
Can you post a screen shot of it. :')
Click to expand...
Click to collapse
Here are some screens
BEFORE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AFTER
I have also noticed that this messes up the home screen and I am not certain how to fix it yet. The unused space on the right and bottom are unusable. I cannot put icons there and I cannot make it stretch.
What's stock density just in case I don't like?
jbarcus81 said:
What's stock density just in case I don't like?
Click to expand...
Click to collapse
Write down the number before you change it?
jbarcus81 said:
What's stock density just in case I don't like?
Click to expand...
Click to collapse
610
Also I have found a way around my home screen issue (I installed the Google now Launcher) and it works fine. Camera and a few other Stock apps still do not work correctly. I am assuming they are not responsive designed and rather are made for a specific screen size.
littleneutrino said:
610
Also I have found a way around my home screen issue (I installed the Google now Launcher) and it works fine. Camera and a few other Stock apps still do not work correctly. I am assuming they are not responsive designed and rather are made for a specific screen size.
Click to expand...
Click to collapse
Stock is 640, not 610.
hoth said:
Once you have everything installed and the phone hooked up to the Mac in USB debugging mode, then start the Terminal app. Once the prompt comes up type: "/users/[username]/library/android/sdk/platform-tools/adb shell wm density 540"
Remember to change [username] to your "username". I also had to replug the phone in twice I believe before the command worked.
Click to expand...
Click to collapse
thanks
Sadly i finally gave up and went back to the stock 640. The camera and phone apps were driving me crazy as they were not designed to be responsive. Personally i think that everything on this phone is WAY to large on the screen and it makes the phone look Childish but until they make the Phone and Camera apps Responsive so that they fill the screen regardless of Density then i cannot use this
Hello guys.
I stumbled across a reddit thread providing some run shell commands to replace secure settings. The fixes on Android 6.0 allowed me to install and grand the root permissions but never actually worked as intended. Secure settings still returns errors when used.
Long story short I built on the list adding ones I used before from my list.
Here is about 30 most common run shell commands. I will update list if i come across some new ones. Also appreciate your input if you happen to use some good ones.
You can access it all here:
http://www.notenoughtech.com/tasker/tasker-run-shell-commands/
Happy tasking. :good:
Boy, where do I start? The list would be endless. Anyway, here are some, not all, that I use.
Root commands
Open power menu: sendevent /dev/input/event0 1 116 108 && sendevent /dev/input/event0 0 0 0
Restart SystemUI: pkill -l TERM -f com.android.systemui
Safe reboot: svc power reboot
Safe reboot to recovery: svc power reboot recovery
Get list of all system/global/secure settings along with their values; using system settings as example: settings list system
Read system/global/secure setting to a variable; using secure setting accessibility_enabled as example: settings get secure accessibility_enabled
Change system/global/secure setting; using secure setting accessibility_enabled as example: settings put secure accessibility_enabled 0
Make /system rewritable: mount -o remount,rw /system
Make /system read-only: mount -o remount,ro /system
Change file permissions, using /system/etc/hosts as example; numbers are 7 for rwx, 6 for rw, 4 for r; first number is for root (system user), second is for group, third is for all users: chmod 644 /system/etc/hosts
Tap at x,y pixels on screen, using 540,1500 as example: input tap 540 1500
Swipe from x1,y1 to x2,y2, using 540,1500 to 540,300 (swipe up) as example: input swipe 540 1500 540 300
Read/change another app's database; can't give examples as this would need a full tutorial: sqlite3 /path/to/.db_file "sqlite3 commands";
non-root command
Open any app from a variable %package_name containing com.paclage.name; this one is javascript, not shell script [note that you don't want to put % before variable in javascript]: loadApp(package_name, '', false);
Extract %file zip file to /sdcard: unzip %file /sdcard/
Move a file: mv /original/path /new/path
Copy a file: cp /original/path /new/path
Read a file to a variable: cat /path/to/file
Write %var to a file: echo %var > /path/to/file
Delete a file: rm /path/to/file
Delete a folder and all its contents: rm -r /path/to/folder
Check whether a process is doing something or not; set the output to a variable, set a wait for some time, and then get the output again, if output has changed then the process is doing something: ps | grep com.package.name
Sukarn said:
Boy, where do I start? The list would be endless. Anyway, here are some, not all, that I use.
Click to expand...
Click to collapse
Thanks I'm updating the page as I type this! - I completely forgot about file operations if I'm honest. Good to have others to contribute!
quintaar said:
Thanks I'm updating the page as I type this! - I completely forgot about file operations if I'm honest. Good to have others to contribute!
Click to expand...
Click to collapse
You need to proofread that page. There are lots of errors in there that will stump newbs
Sukarn said:
You need to proofread that page. There are lots of errors in there that will stump newbs
Click to expand...
Click to collapse
That's what I'm doing now , trying to put them, in some logical order as well, to make it easy to find, and use. I do appreciate the time taken to type this.
Is input keyevent correct for emulating the power button in a shell command? The # on the website didn't work. I found the generic.kl file in my /system/usr folders and the key # for power listed there did now work with that shell command, either. Even with run as root checked.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LeftyGR said:
Is input keyevent correct for emulating the power button in a shell command? The # on the website didn't work. I found the generic.kl file in my /system/usr folders and the key # for power listed there did now work with that shell command, either. Even with run as root checked.
Click to expand...
Click to collapse
I believe hardware keys would be device specific, ego could have different codes.
quintaar said:
I believe hardware keys would be device specific, ego could have different codes.
Click to expand...
Click to collapse
I guess my real question is that the correct shell command as it is written? Because with my specific device key code did not do anything.
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
quintaar said:
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
Click to expand...
Click to collapse
On... Guess it does not like me.
LeftyGR said:
On... Guess it does not like me.
Click to expand...
Click to collapse
Do you get any error? My most common mistake is spelling the run shell with upper case, as my keyboard automatically corrects it. And if I forget to change it, it returns an error
quintaar said:
Do you get any error? My most common mistake is spelling the run shell with upper case, as my keyboard automatically corrects it. And if I forget to change it, it returns an error
Click to expand...
Click to collapse
Yes. Appears to be a timeout error.
Background Data On/Off? Thanks in advance
Sent from my hlte using XDA-Developers mobile app
LeftyGR said:
Yes. Appears to be a timeout error.
Click to expand...
Click to collapse
I stumbled on this:
http://forum.xda-developers.com/showthread.php?t=2063741
Perhaps will help you more as well
shaharofir said:
Background Data On/Off? Thanks in advance
Sent from my hlte using XDA-Developers mobile app
Click to expand...
Click to collapse
I've not come across the setting, but try to use:
settings list system
settings list global
settings list secureand see what your device will give you in options lists.
I totally forgot about another shell command that I have set up in Tasker: md5sum /path/to/file
I use it to verify the integrity of downloads in an OTA app I made for a custom ROM using only Tasker.
---------- Post added at 10:52 AM ---------- Previous post was at 10:43 AM ----------
quintaar said:
Are you trying to do this when the phone display is on or off? this only works when screen is on. input keyevent 26 works fine on my device
Click to expand...
Click to collapse
On my phone (OnePlus One), "input keyevent 26" just turns the screen off, while 116 does nothing.
LeftyGR said:
I guess my real question is that the correct shell command as it is written? Because with my specific device key code did not do anything.
Click to expand...
Click to collapse
Did you try the command I posted at the top of my post here? It's the second post in this thread.
quintaar said:
I've not come across the setting, but try to use:
settings list system
settings list global
settings list secure
and see what your device will give you in options lists.
Click to expand...
Click to collapse
Thanks. Will give it a try.
Sukarn said:
I totally forgot about another shell command that I have set up in Tasker: md5sum /path/to/file
.
Click to expand...
Click to collapse
I have added this one as well Thanks
shaharofir said:
Thanks. Will give it a try.
Click to expand...
Click to collapse
Looked, nothing there. Any suggestions?
Sent from my hlte using XDA-Developers mobile app
shaharofir said:
Looked, nothing there. Any suggestions?
Sent from my hlte using XDA-Developers mobile app
Click to expand...
Click to collapse
Perhaps maybe more luck with intents? I'm working on the similar list for it
Sent from my Nexus 6P using Tapatalk