How To Guide [CLOSED] - High Resolution & High Refresh Guide for Xperia 1 IV - Sony Xperia 1 IV

Welcome!
Short and painless for You
No Root needed
Download the Android Platform Tools from Google
Extract the Folder Containing adb & fastboot
open a Terminal in the extracted Folder
run one by one:
adb shell
service call SurfaceFlinger 1035 i32 x
(x can be 0,1,2 or 3)
0. 1096x2560x60Hz
1. 1644x3840x120Hz
2. 1644x3840x60Hz
3. 1096x2560x120Hz
Feel free to spend Me a Coffee if You enjoy this! <3​

@Miustone
I'm sorry, but the same subject is already covered HERE, and you are participating in it.
This OP is closed

Related

[TUTORIAL] How install ADB and Use Logcat!

TUTORIAL ON ADB AND LOGCAT : JDMC : Just doing my contribution.
This is part of TeamAscend, so if you are going to post this Tutorial on other forums please credit me, visit our website : I AM AWESOME!
Hello this is just to teach newbie users on how to install adb and get it working, I will also teach you how to use logcat to help devs with particular issues, okay lets get into it, I will try to be as formal and understandable is I can, I'm still a 15 year old so bare with my written language, not that its bad but we Kiwi's use weird slangs...
Setting up ADB
1. Okay first of all we need to enable Android debugging.
1a. To do so, head into Settings > development and check android debugging, If you're on CM10 + you will need to set Developer Options to "ON" then select Android Debugging.
2. Get a usb adapter and connect it to your pc and connect your device. Let it install drivers "If it's the first time.
​3. Download "SDK Tools". and install it to your desktop for now, you can move it later when you want.
4. Now create a new folder on the desktop and copy all SDK contents into it so its neat and tidy.
5. Open "SDK Manager" and un-check everything except "Android SDK Platform-Tools" and click install packages, wait till it's done then close the window, now you should be in the folder that contains the SDK Tools etc... if you see the "platform-tools" folder you're good to go.
6. Now open the "platform-tools" folder and copy the destination output at the top.
7. Now we need to set the new destination to CMD, click the start button type "cmd".
8. When it opens type "cd" obviously without the ", now hit space and click paste now your command should look something like this...
"cd C:\Users\Your PC name\Desktop\the folder that contains the sdk tools name\platform-tools" here's mine : "cd C:\Users\Lenovo\Desktop\ADB\platform-tools". Now hit enter, your target folder will change.
9. Once its done type " adb devices", make sure your phone is connected! now hit enter and it'll show your device, now you know ADB Is up and running! If doesn't show your device continue to the next step, if it does continue from step "11".
10. Download the HTC drivers and install it, plug your phone again and wait for it to install all components, if MTP fails to install just ignore it. (If your storage is on MTP), now repeat the procedure from "7" again.
11. Now lets Logcat, Now there are 2 different approaches to the logcat, I will be showing you how to do both in this tutorial. Neither one is more correct than the other, it is 100% personal preference. Feel free to try both and see where you get.
LOGCAT PROCEDURE
Doing logcat from inside the CMD window.
1. Make sure your phone is plugged in and debugging is on, now repeat procedure "7" to set target folder if it isn't already done. ie : cd _____________________________ <-- your folder destination.
2. Type "adb logcat" without the " and hit enter. It will then print a list of random writing, whether you understand or not, it doesn't matter, it's not for your use .
3. To save the logcat for devs to use, once the logcat is running, please RECREATE the bug/issue you are having. so that it logs the error into it, now to stop the logcat hit "ctrl" + "C".
4. Once this is done please RIGHT CLICK choose "Select All" then press "Enter" on your keyboard this will copy the entire log to the clipboard. You can then paste it into a .txt file to upload and show to devs.
Doing logcat to text file.
1. Now repeat procedure "7" to set target folder if it isn't already done, make sure your phone is plugged in and usb debugging mode is enabled. Once this is done we are going to type the following command "adb logcat > logcat.txt" without the ", this should initiate the logcat, it will appear as though nothing is happening, this is correct!!! So don't worry.
2. Once the logcat is running, please RECREATE the bug/issue you are having. To stop the logcat on your keyboard press "ctrl" + "C".
3. Now you've done logging, note the logcat.txt file will be located in the platform-tools folder, just open it and you will see logcat.txt, upload it for the dev and he/she will investigate.
More ADB Commands for various logcats Thanks to "Tcpaulh" from Modaco.
External adb folder, just needed thanks man : Download
1. radio logcat for Wifi issues.
adb logcat -b radio > radiolog.txt
2. kernel logs.
adb shell
su
cat /proc/kmsg > /sdcard/kmsg.txt
exit
adb pull /sdcard/kmsg.txt
3. kernel message buffer (on request).
adb shell
dmesg > /sdcard/dmesg.txt
exit
adb pull /sdcard/dmesg.txt
This was a tutorial I wrote up for my old device, users found it easier to understand then most, I cleaned this one up a bit which should be suitable for the Desire X, note, I may ask allot of question like a noob on the Q & A but HTC is so confusing.
Hopefully, users start using this so we can help out our devs, our sweet sweet devs, so they can whip u some magic.
If this helped, hit the thanks meter, no need for donations.

(Q) emulate any roms on SDK?

Hello guys how to emulate a custom ROM on SDK FOR testing ROM
Thanks and sorry for my English is very bad
Enviado desde mi Galaxy Nexus usando Tapatalk 2
Originally Posted by Perceval from Hyrule View Post
** 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
Look over this,it should help you.
Source
Thanks man
Enviado desde mi Galaxy Nexus usando Tapatalk 2

[GUIDE] [ROOT] Switch off individual SIMs with Tasker.

X-Posted from the Mi6 forum and Stack Overflow. I wanted to do this the whole time I had my Mi5 (RIP) but couldn't figure out how.
Could anybody test on their Mi5 and let me know if it works?
kylemd said:
I know that looking for this answer has bugged me for the past few years, so figured I'd x-post from Stack Overflow. I have found the solution to switching either SIM off in the Mi6 automatically. Will likely work with other phones.
The whole question and answer you can find on Stack Overflow here.
To get the required index out of your device, you'll need to run the following commands from command prompt:
Download jadx from here
ADB pull the devices framework.jar (adb pull /system/framework/framework.jar)
Open the .jar file with 7-Zip and extract the *.dex files.
Open each .dex file with jadx-gui until you find the one with the following tree: com.android.internal.telephony.ITelephony
Search for the item TRANSACTION_setSimPowerStateForSlot. Note the = x after it; this is the index number.
Now you have the index number you can test the following command in adb shell (or Tasker, with the "run shell" function). You will need to "su" in shell, or set Tasker to "Use Root".
service call phone x i32 y i32 z
Where:
x = index number you fetched previously,
y = your subscription ID (generally, SIM1 = 0, SIM2 = 1)
z = whether on (1) or off (0)
Click to expand...
Click to collapse
Of course, now that you can execute it in Tasker you can now switch either SIM off at specific times.
I've verified that it does indeed switch the SIM off (calls go straight to voicemail right after this command is executed) but I'm unsure of any further effects this switch has.
Enjoy!
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Help Fossil Gen 5 app Mobvoi

I found this guide on how to delete Mobvoi app installed on Fossil Sport / Gen 5, could anyone generate a guide on how to use commands ADB in Windows?
Wear OS Smartwatch - Uninstall Hidden Bloatware & Performance Boost | Details | Hackaday.io
<h1><strong>Background</strong></h1> <p>So I got myself one of the fancy new smart watches, a Fossil Sport. </p> <figure><img class="lazy" data-src="https://cdn.hackaday.io/images/7073981548622528412.jpg"></figure> <p>TBH I'm not a watch...
hackaday.io
vincenzo929292 said:
I found this guide on how to delete Mobvoi app installed on Fossil Sport / Gen 5, could anyone generate a guide on how to use commands ADB in Windows?
Wear OS Smartwatch - Uninstall Hidden Bloatware & Performance Boost | Details | Hackaday.io
<h1><strong>Background</strong></h1> <p>So I got myself one of the fancy new smart watches, a Fossil Sport. </p> <figure><img class="lazy" data-src="https://cdn.hackaday.io/images/7073981548622528412.jpg"></figure> <p>TBH I'm not a watch...
hackaday.io
Click to expand...
Click to collapse
From top of this forum, click "Guides".
Scroll down and follow "How to quickly install and use ADB".
"Download the SDK Platform Tools".
"Download Android SDK Platform-Tools for Windows".
Unzip the Platform-Tools to your PC***, run CMD and cd to Platform-Tools.
Now you can do the adb commands.
*** I only have "adb.exe" and "AdbWinApi.dll" in "C:\Windows", then I can run adb from any cmd window.
teemo said:
From top of this forum, click "Guides".
Scroll down and follow "How to quickly install and use ADB".
"Download the SDK Platform Tools".
"Download Android SDK Platform-Tools for Windows".
Unzip the Platform-Tools to your PC***, run CMD and cd to Platform-Tools.
Now you can do the adb commands.
*** I only have "adb.exe" and "AdbWinApi.dll" in "C:\Windows", then I can run adb from any cmd window.
Click to expand...
Click to collapse
Abit to late, but still may helpful. You need unzip the Platform Tools Folder. Go into it holding SHIFT + RIGHT KLICK, you will see a option "open CMD(or Powershell) window" then you type adb.exe and continue with the commands.
I managed to uninstall the power saving activation mode ... But I can't remove the Mobvoi apps, which are only found in the watch's uninstall menu ...
Nemeziz 56th said:
Abit to late, but still may helpful. You need unzip the Platform Tools Folder. Go into it holding SHIFT + RIGHT KLICK, you will see a option "open CMD(or Powershell) window" then you type adb.exe and continue with the commands.
Click to expand...
Click to collapse
You don't need all that stuff to use adb. All you need is the exe file and the WinAPI. And if you place it to somewhere in the PATH, you can run it from everywhere.

[TOOL] HZCK's APK Tool - Un/Install APK easy with one command.

HZCK's APK Tool ​
I have made a little APK Uninstall/Install Application.
It's very easy to use, use the command prompt to uninstall or install.
This setup has ADB & Fastboot in the setup, so you can use ADB or FASTBOOT too.
Current existing commands:
1. apk-cmds / Check commands.
2. apk-install / Install a APK File.
3. apk-uninstall / Uninstall a Application.
It's very easy to install it, just run the setup and it installs it for you.
This setup has a KEY, i just made one to protect it.
KEY: 8PT6M-EEC51-LZKKU-IGV4E
IF KEY DOESN'T WORK: 8A2IT-2UCCA-LL5LX-IU4R0
If you want to uninstall only HZCK's APK Tools, type the command
apk-setupuninstall
[ ! ] A INFORMATION ABOUT THE UNINSTALLER!
I dont know if you use the uninstaller, that it deletes the complete
System32, please remove this not automatic. If you test it and it doens't remove
data from System32, please tell it in the comments.
Download Links​
Dropbrox (Translated License / Untranslated License)
Mediafire (Untranslated License)
Google Drive (Translated License)
Why does this have a license key?

Categories

Resources