I discovered a new way to control DPI in any way I see fit.
-------------------------------------------------------------------------------------------------------------
Step 1: Download the LG drivers and install them on your PC.
Step 2: Download ADB + Fastboot, extract to the desktop of your PC.
Step 3: Open and right-click your mouse / touchpad and click "open command window here"
Step 4: Type adb devices and see if your LG K10 has been recognized.
Step 5: Type adb shell.
Step 6: After the adb shell is recognized, type "wm density" + number of dpi you want!
--------------------------------------------------------------------------------------------------------------
Screenshots - wm density 230 on LG K10 2017 (M250DS)
There's a way to get custom dpi on the nav buttons?
Yeah, and you can change the screen resolution too with: wm size #x#.
Note: I recommend you to change it based on a basic calculation of every new size (percentage), to keep aspect ratio.
Related
These are the instructions I followed:
- Download the Android SDK for Macintosh at: http://developer.android.com/sdk/
- Extract it
- Download Fastboot for OSX (If not included with SDK)
- Extract fastboot and place it in your /tools folder.
- Open up a terminal window
- type: pico .bash_profile (this will create a .bash_profile)
- type the following in the new screen: export PATH=${PATH}:<sdkfolder>/tools
- Hit CNTRL + X
- Hit Y (for yes to save)
- It will return you to the terminal screen… type: exit
- Restart terminal.
but when i type adb in terminal i get this:
-bash: adb: command not found
what am i doing wrong?
I would suggest doing these steps again
Open up a terminal window
- type: pico .bash_profile (this will create a .bash_profile)
- type the following in the new screen: export PATH=${PATH}:<sdkfolder>/tools
- Hit CNTRL + X
- Hit Y (for yes to save)
- It will return you to the terminal screen… type: exit
- Restart terminal.
basically its not recognizing the adb command because its not properly installed (at least thats what i think, i havent used it in a while)
type the following in the new screen: export PATH=${PATH}:<sdkfolder>/tools
Click to expand...
Click to collapse
Did you actually type that exactly as shown, or did you replace <sdkfolder> with, well, the SDK folder like you were supposed to? Because if not that'll be why it isn't working.
Now in the step where it says <sdkfolder> do I just put the name of the folder that I extracted from my zip file sorry for the stupid question I'm usually on top of things but today isn't my day lol thanks
Yes loccy i did put macosx86 something in that part but in the step after i click CNTRL + X and click Y it still wont return to the original terminal screen instead it says file to be created: .bashprofile im not on my computer right now but thats what it said so i click enter and it returns me to my original terminal screen.
Oh wait do i have to put <macosx86 something something> like this or like this: macosx86 something something by itself with out the little arrows?
lmao dude point it towards the path
for example, in windows if
c:\\androidsdk\tools
was where the tools folder of the sdk was located, then the command would be
export PATH=${PATH}:c:\\androidsdk\tools
Click to expand...
Click to collapse
modify it so the path is what it is on your mac
Al Credits Goes TO Perceval from Hyrule
Perceval from Hyrule said:
** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.
Click to expand...
Click to collapse
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 240
DPad support : no
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 100
Audio playback : yes
Trackball : no
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 64
RAM : 403
GSM Modem : yes
works with the LG O2X roms?
sjcunha said:
works with the LG O2X roms?
Click to expand...
Click to collapse
hasn't been tried yet
I found a way to install Android Wear launcher in my Galaxy Gear!
(It is ported from Android Wear).
1. Go to Settings in your Galaxy Gear.
2. Tap Gear Info and check USB Debug.
3. Connect it to your computer, make sure the battery is not low!
4. Download fastboot.zip from attachments and extract it (Make sure you saved it in your Downloads folder) (do not change the name of files)
5. Download Android Wear Launcher from attachments (make sure it is in fastboot folder) (do not change the name of file!)
6. Move apk file to fastboot folder (where you extracted fastboot)
7. Download Samsung USB Drivers for mobile phones (google it)
8. After installing Samsung USB Drivers, unplug gear and plug it again.
9. Open CMD (Command Prompt) as administrator, type
cd Downloads and press enter.
cd fastboot and press enter.
adb devices and press enter.
You will get usb debugging in your gear after typing adb devices in cmd. Press OK in your gear.
after typing adb devices your device will show up in cmd.
type chmod 755 * and press enter.
type adb install "com.google.android.wearablepreview.app-KKWT-1077241.apk" and press enter.
wait and the apk will be install in your gear.
if you did everything right, command prompt will show 'success'.
Open your gear and go to apps, find Android wear and open it. You will now use Android wear launcher in your gear!
You can do the same method to install other apks, i installed nova launcher in my gear too.
Thanks for reading! If it is helped press thanks button
Can we get a few screenshots?
1. This requires Android 4.4 - Samsung's Android version wasn't 4.4 and f0mey's null is 4.2.2 so it can not be installed
2. This is old. Dates back to March
3. It's only a launcher, so likely will not have any of the features everyone wants from Wear (Voice, etc)
I think you got too excited and posted this without doing it yourself.
Wearable widgets looks like a cool concept, too bad its only for Tizen for now.
simple solution is downgrade back to android, install null23, then install google launcher with now and you have android wear lmao very simple im running it now and everything works
Help
I did as you said, cmd keeps giving the error: protocol fault <no status>. after i enter in adb devices. any help would be appreciated. Thank you!
This will work with gear 2 Neo? I liked have a wear launcher
tizen
sultanlialif12 said:
I found a way to install Android Wear launcher in my Galaxy Gear!
(It is ported from Android Wear).
1. Go to Settings in your Galaxy Gear.
2. Tap Gear Info and check USB Debug.
3. Connect it to your computer, make sure the battery is not low!
4. Download fastboot.zip from attachments and extract it (Make sure you saved it in your Downloads folder) (do not change the name of files)
5. Download Android Wear Launcher from attachments (make sure it is in fastboot folder) (do not change the name of file!)
6. Move apk file to fastboot folder (where you extracted fastboot)
7. Download Samsung USB Drivers for mobile phones (google it)
8. After installing Samsung USB Drivers, unplug gear and plug it again.
9. Open CMD (Command Prompt) as administrator, type
cd Downloads and press enter.
cd fastboot and press enter.
adb devices and press enter.
You will get usb debugging in your gear after typing adb devices in cmd. Press OK in your gear.
after typing adb devices your device will show up in cmd.
type chmod 755 * and press enter.
type adb install "com.google.android.wearablepreview.app-KKWT-1077241.apk" and press enter.
wait and the apk will be install in your gear.
if you did everything right, command prompt will show 'success'.
Open your gear and go to apps, find Android wear and open it. You will now use Android wear launcher in your gear!
You can do the same method to install other apks, i installed nova launcher in my gear too.
Thanks for reading! If it is helped press thanks button
Click to expand...
Click to collapse
Will this work on tizen?
kennethclaxton said:
Will this work on tizen?
Click to expand...
Click to collapse
Nope
Actually this was working till android nougat but for curiosity i tried it on Android 8.1 and vice versa any based rom and its working.
What is freeform multiwindow?
You can enable resizable multiple windows of any apps.
Video guide:
https://youtu.be/GoAskAamNNc7
Requirements :-
1)android OS 7 to 8.1 based rom
2)PC
3)WORKING ADB
STEPS:
1)enable usb debugging option
2) install adb drivers (if not installed otherwise u can skip the step)
15 seconds adb installer
https://androidfilehost.com/?fid=95855108297851314
3)create any folder on dextop open it click shift+right click of mouse
3)select open command promt here option
Type these commands
adb devices Then enter
adb shell settings put global enable_freeform_support 1
Then enter reboot
Disconnect u r device and reboot
Then go to Settings >developers option> then enable force activities to be resizable
Thats its
When u opens recents app there u will get multiwindow tab for every app.
How with root? where put global enable_freeform_support 1?
Note: I've only tried this on Oppo Find X2 Lite running Color OS 11.1 (Android 11), and I'm not responsible if you screw up something.
Note: you don't have to revert before every monthly update. But just to be safe, revert back before a major software update (like the Android 12 update).
This method doesn't require root nor a custom recovery. it's simple and you can revert back if you wish.
The reason why we can't get the Google Discover Feed on the home screen is because of Oppo's Smart Assistant app. So we'll be uninstalling it (kinda, see Note 2 at the end of the post), as soon as that's done, you'll get the Discover feed on the left page of your home screen (of course you'll need to have the Google app installed). If you would like to get Smart Assistant back, follow the steps in the To Revert back section.
By the way, if you don't want to bother with Command prompt, you can always just use a custom launcher like Lawnchair, that will give you the ability to use Google Discover without any ADB commands. If you want the safest route, go with this.
Steps:
1- Enable Developer Options (by going to Settings>About Phone>Version then clicking Build Number a bunch of times).
2- On your PC, download Platform Tools from this link: https://developer.android.com/studio/releases/platform-tools .
3- Extract the zip file to a folder.
4- Copy the path to that folder, then open open Command Prompt as an administrator and type "cd (the path you copied)" (example: cd C:/platform-tools ).
5- Enable ADB Debugging (by going to Settings>Additional Settings>Developer options then enable USB debugging).
6- Plug your phone to your PC, then change the connection method on your phone to "Transfer Files / Android Auto".
7- A pop-up saying " Allow USB debugging? " will appear, click Allow.
8- On your the command prompt window on your PC, type "adb devices" , you should see: "[your serial number] device".
9- Now type
Code:
adb shell pm uninstall -k --user 0 com.coloros.assistantscreen
and hit enter, wait for it to finish.
10- Reboot your phone, you should see the Discover Feed on the the left screen. Enjoy !
To Revert back:
If you want to bring back Smart Assistant, repeat steps 4 through 8, then type in command prompt
Code:
adb shell cmd package install-existing com.coloros.assistantscreen
Notes:
- After you're done, I recommend going back to Settings>Additional Settings>Developer options and disabling USB Debugging.
- The command doesn't actually delete the app from the phone, it just removes it for the main user, i.e. you.
- the monthly system updates don't bring back Smart Assistant, but I'd recommend reverting back before updating to Android 12 (if we're getting it ).
Full credit goes to @klanbo78 for this, thank you so much !
Thanks for the guide!
Have you been able to test it out on ColorOS 12?
zonzo3 said:
Thanks for the guide!
Have you been able to test it out on ColorOS 12?
Click to expand...
Click to collapse
I still didn't receive the ColorOS 12 update on my device. Although I can confirm that this still works in the ColorOS 11.1 March 2022 update.
Have you managed to receive the ColorOS 12 update on this device? if so, would you mind mentioning from which country?