Hi there,
Edit (2012-May-17): added flashable zips for TouchWiz style Calendar and semi-trans MMS.apk-no smiley. Details here: Calendar, MMS - please read before flashing.
- - -
I had some free time during the past holidays and I've put together the following. It's no dev work here and it is simply and basically -zipper's work like Epsylon3 would call it - and something to remind myself -and to share with you all- on what are most of my current tweaks on the December 13th Defy+ nightly that I'm currently using.
I was also surprised to see oldtimers here on XDA still asking the same old questions regarding how to replace system files and how to set their files permissions. So I figured, why not use what I've put together and make this a good practice session for that and to get people familiarized with all this? The more people in the know; the better it is for everyone -right?
So here's what I hope could be called a 'CM7 tweak guide' and as an added bonus, I've also included a (transparent) theme that I've spent quite some time modding.
Heads up warnings:
- The transparent statusbar tweak and the ICS screen animations are nightly specific and won't work on any other CM7 builds.
-> I've used post #2 below to make a guide on how to do this on any CM7 build... And see the aknowlegments section for the ICS screen animation patcher from DaxInfinty to get the transitions on other CM7 builds.
- Furthermore: the Dec13th Defy+ nightly is mainly FOR RED LENS/DEFY+ USE ONLY as the camera will not work for green lens phones.
- I've chosen this specific Defy+ nightly because there are still problems with all the newer ones (up to cm72-120109.2049-NIGHTLY-Defy+.zip here) regarding inverted picture in camera that cannot be fixed; so use this one and not newer ones for now.
But the other tweaks and my modded theme can also just be installed on any CM7 build and by green lens owners as well (you just won't get the transparent statusbar unless you follow post#2 below).
So here's my gift for you guys, I hope you enjoy!
/AL
If you follow this, here's what you'll get:
[*] A pretty damn good CM7-Defy+ build for red lens with:
[*] ICS' screen transition animations [before/after clip here];
[*] Latest update for security certificates;
[*] Properly working Camera/Videocam/zoom [again: for red lens Defy only];
[*] Proper libs to play GTA3 [I will not help you here on getting that game - but you might like to read this post];
[*] Proper libs for Voice Search and Google Translate;
[*] Script to zip align at boot;
[*] T9-style Dialer;
[*] Tap-to-snooze/swipe-to-dismiss [or stock] alarm style;
[*] Transparent statusbar and my MSGingerBlur-based theme with >150+ modded/replaced UI icons;
[*] Properly charging battery for Defy+ owners.
To get started, here's what you'll need download -as needed:
- 7-zip
- RootExplorer (RE) here on the Android Market;
- CM7 F.A.Q.: for 2ndinit, SuperoneClick, etc.
- CM7 and CM9 signed Kernels;
- Dec 13th CM7-Defy+ nightly ;
- Latest GingerBread Gapps .
Once that's done, extract my attached zip files to and place all the content (10 files plus my theme's apk) in a folder on your computer's desktop.
To begin, the following tweaks can be done directly to the nightly zip before the installation BECAUSE we are just replacing files with the same names here; this alleviate the need to further set files' permissions and Ownerships on the phone.
But first, play it safe: charge up your phone and make a nand backup of your current build [and of this nightly zip] and then Open [do not extract] the cm72-111213.0943-NIGHTLY-Defy+.zip archive with 7-Zip: by right-clicking on it and then 'Open archive'.
Navigate to the proper folder and replace these files with the ones from my AL's Pack zip by "drag-and-drop" (press "ok" on the replace file warning):
- DeskClock.apk in /system/app
- cacerts.bks in /system/etc/security
- Camera.apk in /system/app (!red lenses only!)
- Contacts.apk in /system/app
- libstagefright.so in /system/lib
- overlay.omap3.so in /system/lib/hw (!red lenses only!)
I just added a 2nd tweaks pack zip (to extract do not flash in recovery)...
- battd in system/bin <-- this is to fix the battery charging problem for Defy+ owners only!
Close the nightly zip archive, move it to your phone [along with all the remaining files extracted from my zip and the optional downloaded signed Kernels and gapps] and go in custom recovery to install (flash) the usual way [Select ZIP from SD card option] the following:
- this modded nightly;
- the "Init-Speed-091711.zip";
- the "update-capez-ICS-mod-ac-patch.zip"; !nightly specific: DO NOT install on another builds!
and if needed:
- the CM9_Kernel-signed.zip IF you're moving to CM7-Defy+ from a Froyo-based rom.
- the latest CM7 Gapps;
--> Wipe cache and Dalvik cache and reboot your phone.
Once booted up..
Now here's the hard one...: we have to replace the SystemUI.apk files onto your phone and set its proper permissions and ownerships.
Like for all the other tweaks involving file replacement, play it safe again and make a backup copy of the original files by renaming their file extensions (for example: to Whatever.bak or as whatever.apk_vo).
The thing is that this file cannot be deleted before pasting another one to replace it. If it is deleted or renamed, it can render your system unusable; so you've been warned!
That can be done using adb, but I prefer to just do this on the phone itself using Terminal Emulator and RootExplorer as explained here.
So 1st, place my modded SystemUI.apk on the root of your sd card [/sdcard/].
Open up Teminal Emulator from the app drawer and type the following:
Code:
su
cd /sdcard/
mount -o remount,rw /system/
cp -f SystemUI.apk /system/app
Again this SystemUI replacement for transparent statusbar will work on this nightly ONLY.
*** and be careful here ***: once you do this last step, the launcher might crash or you might even get into an "error loop"; if you do, long press the power button and try to reboot between 2 errors popups OR just pull the battery out and reboot.
If you did not get into an error loop or if you've already rebooted, your status bar might be gone now; don't freak out!
--> Go set the permissions/ownership of the new SystemUI.apk in /system/app/
WITH Teminal Emulator again:
Code:
su
cd /system/app
mount -o remount,rw /system/
chmod 644 SystemUI.apk
chown 0.0 SystemUI.apk
OR
Using RootExplorer, navigate to: /system/app, make the folder writable by clicking the top-right corner buton "Mount R/W" and long press on the SystemUI.apk to select "Permissions" and (scroll down for) "Change owner" entries to set all of their options exactly like the other files in that folder.
Exit RootExplorer or Terminal
- Install my theme: AL_Theme_v18.apk (you will need to allow non-market app installation) and switch to it with CM7 ThemeChooser.
- Go in the phone settings ADWLauncher_System Preferences and UNCHECK Wallpaper Hack
-->> the transparent statusbar will work on the default ADW Laucher; with GO Launcher, you'll have to check the "High Quality Drawing" in its Advanced settings [thanks matchung]; for other launchers you might need to use a live wallpaper or other specific tweaks for this to work and it is up to you to search for it..
- Reboot and Voilà!: you should now have a transparent statusbar with my theme!!
For VoiceSearch:
- Extract and manually add/replace the 2 files from the VoiceSearch.zip:
- VoiceSearch.apk in /system/app
- libvoicesearch.so in /system/lib
--> Set the files' respective permissions and ownerships (you should know how by now...) and reboot.
[sorry for this: the VoiceSearch.zip only contains the 2 files; I thought that I had a cwm recovery update zip for it but I don't...I might create one later]
- Install Google Translate from the Market.
- Run Clock from your app drawer and press Menu Button-->Settings-->Alarm Screen--> select: Moto Blur.
- Enjoy!!
If you don't; wipe all in custom recovery and restore your nand backup and don't forget to also flash the CM7_Kernel-signed.zip if you go back to vanilla CM7 or other Froyo-based ROMs.
Notes:
- Again: the ICS transitions animations and the transparent statusbar tweaks are nightly dependent and will work only on the specified cm72-111213.0943-NIGHTLY-Defy+.zip - DO NOT install the update-capez-ICS-mod-ac-patch.zip or the new SystemUI.apk on other builds; it just won't work!
- These mods are all either optional, already in newer builds or might eventually get merged or trashed; this "guide" just was to share most of my current tweaks on that CM7-Defy+ build at this time (Jan 16th);
- I might add more tweaks later;
- I will not maintain this thread religiously and it is definitely NOT meant to be a helpdesk for all the problems you might have with CM7;
- I will not edit your SystemUI.apk (to have the transparent statusbar) or create the ICS transition patch for your specific build (see the link for a guide in the aknowlegments section for the ICS screen animation patcher from DaxInfinty and check post #2 for a guide on transparent statusbar);
- Commments, additional tweak recommendations and bugs RELATED to everything above are welcomed; otherwise, keep this thread clean please and don't spam or full-quote for no reason.
Tweaks that did not make it:
- Bravia Engine: no proof that it actual works and most likely missing libs and service from Sony to work - read this post
- GB 3D performance update; tried but Benchmarks showed no statistically relevant proof of improvement - read this post
Aknowledgements:
A 1000 Thanks go to:
Quarx, Epsylon3 and Maniac103 for all their hard and excellent work for our Defy phones: we really owe you guys.
twa_priv for his trick about the camera lib;
capez and especially DaxINFINITY for for ICS screen animation patcher;
Walter79 for tall his work on the MS2Ginger rom; where I discovered the zipalign tweak and the security certificate update;
kevin2516 for his excellent GingerBlurB theme;
Kurd_medico for his help on the statusbar transparency tweak ;
Fritolay for originally posting the kernel update zips;
duguschi for the Blur type Deskclock.apk;
Antony.ps for his excellent CM7's FAQs/guide;
jfl0wers for the zip align at boot script;
SpawNyK for posting a CM7 working version of VoiceSearch lib and app;
RockStar for their 10 years old -and still awesome- GTAIII;
Santa;
And Motorola for making the incredible Defy phones and for their [hopefully soon to be gone] locked boot loader: you guys saved us 100's of hard bricked Defy over the last year or so [mine would most probably be one of those] and tons of RIP Defy post s here on xda
and who ever else I might have forgotten.
Since I've mentioned it...here it is!:
HOW TO modify the SystemUI.apk to get TRANSPARENT STATUS BAR on any CM7-Jordan build [and other cm7 builds for different phones].
* This has been verified to work at least with ADW Launcher, ADW-EX Launcher, GO Launcher and FTL launcher BUT READ the Notes at the very bottom of the post.
What you need:
- From the OP, you should now have 7-zip and RootExplorer installed; otherwise download from here and here;
- Download smali/baksmali files from here and put the 4 files in a new folder (for example: c:\smali) [which I will use in this guide];
- Download and install Notepad++ from here: - this is just an awesome text editor ;
Now let's do this:
0- Make a backup copy of your system and/or of the original SystemUI.apk file [from the /system/app directory].
1- With 7-zip installed, right-click on the zip of your current nightly and choose "7-Zip --> Open archive" [DO NOT extract it, just "Open Archive"] and navigate to: system/app and click and drag SystemUI.apk to your computer's desktop;
2- Repeat step 1 with the SystemUI.apk on your desktop and to find the file: classes.dex in the root folder of the apk. Select it and drag it (to make a copy of it) into your c:\smali directory (you can leave SystemUI.apk archive opened as we'll replace that file back in later on);
3- Open a CMD prompt (click Start and type: CMD) and type following 2 commands to decompile the classes.dex file:
Code:
cd c:\smali
java -jar baksmali-1.2.8.jar -o classout/ classes.dex
[*** --> Replace the "1.2.8" part by what ever file version you've downloaded]
** Do not close the CMD window just yet.
4- Go in the classout directory that was just created in c:\smali, and find the file named: StatusBarService.smali [in: c:\smali\classout\com\android\systemui\statusbar\] and open it with Notepad++;
5- Search for the line containing:
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
just above it, you will see: const/4 v5, 0×2 --> change that to: const/4 v5, -0×3
--> that line should be around line# 2223 for recent Defy and Defy+ cm7 nightly builds
6- Save the file and exit Notepad++;
7- Go back to your CMD prompt and enter this command to recompile the classes.dex file:
Code:
java -jar smali-1.2.8.jar classout -o classes.dex
[*** --> Don't forget to replace the "1.2.8" part by what ever file version you've downloaded]
8- Close your cmd window and slide the new classes.dex file back over your SystemUI.apk opened archive (drag and drop) and then close it.
Now the rest is just like in the OP:
To replace the SystemUI.apk on your phone:
So 1st, place the modded SystemUI.apk on the root of your sd card.
Open up Teminal Emulator from the app drawer and type the following:
Code:
su
cd /sdcard/ #(<-- modify this accordingly if you've placed your new systemUI.apk else where)
mount -o remount,rw /system/
cp -f SystemUI.apk /system/app
*** be careful here ***: once you do this last step, the launcher might crash or you might even get into an "error loop"; if you do, long press the power button and try to reboot between 2 errors popups OR just pull the battery out and reboot.
If you did not get into an error loop or if you've already rebooted, your status bar might be gone now; don't freak out!
--> Go set the permissions/ownership of the new SystemUI.apk in /system/app/
WITH Teminal Emulator again:
Code:
su
cd /system/app
mount -o remount,rw /system/
chmod 644 SystemUI.apk
chown 0.0 SystemUI.apk
OR
Using RootExplorer, navigate to: /system/app and long press on the SystemUI.apk to select "Permissions" and (scroll down for) "Change owner" entries to set all of their options exactly like the other files in that folder.
Exit RootExplorer or Terminal
Make sure to disable (UNCHECK) "Wallpaper Hack" in the phone settings ADWLauncher_System Preferences or "use High Quality Pictures" option if you use GO Launcher.
Reboot and enjoy!
Notes:
- Some of your widgets might need to be removed from your phone's screen and re-installed to display properly.
- Do not try to edit the systemUI.apk and incorporate it in the nightly zip before install; it won't work - it HAS TO be done on the phone after the nightly install has fully booted at least once.
- This will allow my theme or other transparent-enabled themes to work; I will add how to do this on the CM7 default themes (or any other) later maybe...
So for now, that's it!! - It wasn't too hard to do wasn't it?
ah!.. might as well finish this... :
This should probably have been at the beginning of the post but...
If you want the transparency on any theme (CM7 default themes at least), you might want to try the following:
Note: This will work at least on ADW Launcher, GO Launcher and FTL launcher [thanks lurkerPL ] - but keep reading as some launcher settings might be required.
All you need is to modify a few png images in the SystemUI.apk before replacing it onto the phone steps.
1- go to \SystemUI.apk\res\drawable-hdpi\ folder and drag this file out to your desktop:
statusbar_background.9.png
Optionally, do it for these 3 files also (which are for the notification pane pulldown background):
status_bar_background.9.png
shade_bg.png
status_bar_close_on.9.png
2- Open the PNG files in Paint.Net (nice and free: get it here ), [Gimp, Photoshop, or whatever your favorite image/picture editor capable of png transparency] and delete their background for fully transparent statusbar OR if you want semi-transparency; do that instead. in Paint.net, this is done by selecting: Layers_Layer properties..._Opacity value: 0-255.
--> I believe that I previously used something like 10% layer transparency for the first 2 files and 25% for the last 2 but you'll have to find what king of semi-transparency you prefer.
3- Go on and replace those modified PNG files back into the SystemUI.apk [\SystemUI.apk\res\drawable-hdpi\ folder Opened archive] by just dragging them over their original folder [7-zip again].
Go on with the SystemUI.apk replacement and reboot.
Notes:
- you might have to play around and switch theme with the ThemeChoser.
- again: don't forget to disable Wallpaper Hack in ADWLauncher settings_System preferences or "use High Quality Pictures" option with GO Launcher.
Nice!!!!
Sent from my MB526 using xda premium
I have a green lensed Defy.
If I install the nightly from this post and then flash the greenbreadmod, will I have all features back? Or it is incompatible? Thanks
woonaval said:
I have a green lensed Defy.
If I install the nightly from this post and then flash the greenbreadmod, will I have all features back? Or it is incompatible? Thanks
Click to expand...
Click to collapse
Just from memory, I believe that Walter79 has already confirmed that this wouldn't work for the green lens Defy on CM7 Defy+ ; you'd still have no camera.
But you can try other tweaks from the package and my theme...
Nice that you've taken the time to do this! Great Work!
I, kind sir, salute you!
EDIT: Hey AL, there's no voicesearch.zip in your pack, so i just included the files in the GAPPS.zip.
BTW, loved the icon for device settings... but the theme is to BLUR-ish for my taste...
nice thread Al. one little question.. your tweak with overlay.omap3.so and camera.apk not work in newest build than 13. december, right? i thing i try this change, and it didn't work..
nogoodusername said:
Nice!!!!
Click to expand...
Click to collapse
Thanks! and thanks to you for not using full-quote
Otto.BR said:
Nice that you've taken the time to do this! Great Work!
I, kind sir, salute you!
EDIT: Hey AL, there's no voicesearch.zip in your pack, so i just included the files in the GAPPS.zip.
BTW, loved the icon for device settings... but the theme is to BLUR-ish for my taste...
Click to expand...
Click to collapse
Oupsy! I knew I would have screwed up somewhere.. Fixed now with a new tweaks zip. Thanks for pointing that out - nice move to over come it Now there is a zip with the 2 required files for VoiceSearch but it is NOT a CWM recovery update... so this have to be manually added or done with your gapps zip trick.
You mean the icon for CyanogenMod settings? Blurrish yes (It's based on GingerBlur afterall) but I do like the big -changing color- icons for the notification power widgets..
mikrom.cz said:
nice thread Al. one little question.. your tweak with overlay.omap3.so and camera.apk not work in newest build than 13. december, right? i thing i try this change, and it didn't work..
Click to expand...
Click to collapse
Thanks also. You are correct: Dec15th, Dec23rd and Jan9th Defy+ nightly builds all have problems with camera even with the tweak. So that's why I did all this with that nightly.
I've just edited post #2 for a how to on getting a transparent statusbar on any CM7 nightly build and theme (hopefully).
I've just added a second tweaks pack including the battery charging fix for Defy+ owners (and for possible future tweaks).
Like I've expected and mentioned on the OP, the latest CM7 nightly by Epsylon3 is now including the ICS screen transition animations AND the screen rotation animations [which is awesome].
It's a very good build for both green and red lens owners and have a few other improvements as described here.
One problem remains though: the camera zoom doesn't work once the video recording has started and that can be fixed by replacing the Camera.apk from my first tweak pack only - no need to replace the overlay.omap3.so.
Finally, I'm attaching the tweaked SystemUI.apk for transparent statusbar for THAT specific nightly below - just follow the instructions on the OP to replace that file [that should work with my theme and with CM7 default themes as well].
I tried your methods from the second post. Works great. Have a Zte Blade running CM7 and Adw Ex.
Thanks a lot.
Sent from my Blade using XDA app
karthiknr said:
I tried your methods from the second post. Works great. Have a Zte Blade running CM7 and Adw Ex.
Thanks a lot.
Click to expand...
Click to collapse
Thanks for reporting and I'm glad that it was useful for you.
It ain't that hard as it looks isn't?
My gf also has a zte blade on which I installed cm7 a couple weeks ago... I might have a question or two about that eventually...
[] AL [] said:
Thanks for reporting and I'm glad that it was useful for you.
It ain't that hard as it looks isn't?
My gf also has a zte blade on which I installed cm7 a couple weeks ago... I might have a question or two about that eventually...
Click to expand...
Click to collapse
Would be glad to help. Will hit thanks after i get to my pc.
Sent from my Blade using XDA app
Please delete.
Anyone know if I could work in Launcher Pro (LP)
RAD1XS said:
Anyone know if I could work in Launcher Pro (LP)
Click to expand...
Click to collapse
I've never used Launcher Pro myself, but from what I've read on this -and as strange as it sounds- it requires the use of a live wallpaper for the transparency to work.
People have suggested to use something like the Live Walpaper Creator app and to make a one-slide-only live wallpaper (thus making it a static picture and minimizing the battery use/system sluggishness) to allow the transparent statusbar.
I just enjoy ADW Launcher's customizable swipe gestures too much to try LP. Swype up on any homescreen to switch off the display is really great...
Just added to the OP: flashable zips for TouchWiz style Calendar and semi-transparent MMS.apk-no smileys.
Details here: Calendar.apk, MMS.apk - please read before flashing.
And bonus!..why not!? here's a link for the very nice looking [sec pic] semi-transparent PlayStore from Pendo - that I've modded so that it stays at v3.4.7: Pendo's v3.4.7 semi-trans Vending.apk - no auto-update
Cheers!
A few reminders:
I post all this for my own recollection and easy access mainly [and your enjoyment hopefully ]. I make no guarranties and take no liability for any side effects if you chose to try tany of those mods: that being monetary, physical, software/hardware-wise or any other...
So make your backups first - you've been warned !!
Be a respectful xda forum member and follow up the links that I gave (and will always try to give) to the original modder/poster's thread and go give thanks there - don't just be a leech .
I was wondering if anyone has been able to change the DPI on AOKP Jelly Bean Build 1 everytime I use LCD Density modder the phone will not boot. Any suggestions??????
Just change the density in the build.prop yourself. The LCD Density app doesn't work with Jelly Bean and will just result in a soft brick if you use it.
mbh87 said:
Just change the density in the build.prop yourself. The LCD Density app doesn't work with Jelly Bean and will just result in a soft brick if you use it.
Click to expand...
Click to collapse
I have a pretty good understanding of what im doing but I wouldnt even know where to start with those edits any chance you can give the quick version??
angelino0919 said:
I have a pretty good understanding of what im doing but I wouldnt even know where to start with those edits any chance you can give the quick version??
Click to expand...
Click to collapse
Answered my Own question
Step 1: Open Root Explorer ("allow" superuser if first time loading) and you should be at the root partition. / Scroll down and select "system". You should now be located in /system.
Step 2: Select the "Mount R/W" button at the top. The "r/o" to the left of the button should change to "r/w".
Step 3: Long press build.prop and "Open in Text Editor".
Step 4: Scroll about half way down and find the line "ro.sf.lcd_density=240". Change it to a value you like 167/180/200/220. (I'm using 187 right now).
Step 5: Select the "menu" button on your phone and then select "Save Changes". Root Explorer will make a nice build.prop.bak backup for you.
Step 6: Open the Spare Parts application and make sure "Compatibility Mode" is unchecked.
Step 7: Reboot your phone.
Great well you can go through the build.prop file and go through a hassle... or... use ROM Toolbox and change the DPI in the app.
Nexus S. (GSM i9020a)
Paranoid (1.991 - 4.1.1)
Air Kernel (Week 193 - Vodoo)
Ondemmand (1000/200)
Deep Idle (On - Deadline)
BLX (98 - Inverted. Apps)
Black Exodus (UnderVolted)
I changed my DPI to 240 and it seems to invoking tablet mode or something. My lockscreen slider is pushed to the right on my lockscreen and I have phone elements that don't look right. What are the acceptable lower DPI's to choose from on Build 1?
does this change affect play store? why it is no more natively supported in aokp?
Hi All!
So just got this phone , its rooted etc.
Just curious - anyone find a way to change DPI?
Texdroider doesnt seem to work at all - doesn't detect what its at currently and changing it seems to have no effect.
I saw a thread about changing DPI on non-rooted , but does anyone know of an app that works to do this?
For reference - this thread http://forum.xda-developers.com/zenfone2/help/dpi-change-t3161491
I dont really mind running ADB commands but would prefer a different solution as im unable to use ADB at the moment ( work pc )
Any information appreciated - thanks!
FYI i have 4gb ram 2.3 ghz model if that makes any difference.
I don't have the phone to try it out but how about the good old way of editing build.prop?
Install a Terminal emulator. Open the app, then type "SU" > then "wm density *DPI*" Ex. wm density 460.
I'm pretty happy with 400 DPI.
Is there a way to change the screen dpi without root?
no.
I managed to do it with this method on my Z3+ : http://www.androidbeat.com/2015/07/how-to-change-dpi-of-android-device-without-root/
"Without root."
[NUMINIT] said:
"Without root."
Click to expand...
Click to collapse
Yes without root, what's the problem ?
My reading comprehension, never mind.
hi, how standardt dpi z3 +?
christophe80 said:
I managed to do it with this method on my Z3+ : http://www.androidbeat.com/2015/07/how-to-change-dpi-of-android-device-without-root/
Click to expand...
Click to collapse
I tested it on my Z3 + E6553
It works
ranggazhe said:
hi, how standardt dpi z3 +?
Click to expand...
Click to collapse
424
Here at 320 DPI
BITS74 said:
I tested it on my Z3 + E6553
It works
424
Here at 320 DPI
Click to expand...
Click to collapse
It is no problem on the display or any component?
grinna said:
It is no problem on the display or any component?
Click to expand...
Click to collapse
Probably not, I run my Z3+ (non DS) at 300 DPI and so far I didn't run into any software or hardware related issues. The only issues I ran into is people getting mad because "everything is too freaking small", which frankly after getting used to it isn't an issue for me anymore.
ranggazhe said:
hi, how standardt dpi z3 +?
Click to expand...
Click to collapse
Immediately wrote, the things that are needed are:
Sony Xperia Z3 + / Z4, (can be tried in other Devices as well) ** SAFE
Data cable, PC
ADB & Fastboot Driver, Xperia Driver (How to Install Googling )
Basic knowledge about adb, (noob knowledge)
Next step:
Install ADB & Fastboot Driver, Flashtool Xperia Driver
Previously the Z3 + must be in a USB Debugging on
In the Developer Options check
[] Force GPU rendering,
[] Disable HW overlays,
set [] Window animation scale,
[] Transition animation scale,
[] Animator duration scale to "Animation off"
Plug the Z3 + then open adb via cmd or pass "Minimum ADB and Fastboot"
5. Type [adb devices] until the device code appears to be used like
[abc123xy0 device]
6.To Change Screen Resolution
[adb shell wm size 720x1280]
z3 + will look less sharp because down-res emulation from 1080p (1080x1920) to 720p (720x1280)
but not change DPI (fixed 480 default value) so UI looks big. dont panic
7. In order for UI and other balanced we seem to change also its DPI
[adb shell wm density 320] for the DPI then [adb reboot]
8. Try feeling dlu feelnya, also difference
9. To rollback to default input aja [adb shell wm size 1080x1920] [adb shell wm density 480], then [adb reboot]
10. I have not tried to Resolution other than 720p and 1080p,
DWYOR if try creations other than the value I gave above (DPI & Resolution)
My unit is a rk3188 1024x600 resolution.
MCU version: MTCB-JY-V2.86
Running Johny DJ's 5.1.1 ROM
issue with youtube playback max out at 480p. Can't find any possible solution. I've tried different version of youtube and still same. No option for 720p whatsoever. BUT, in chrome browser in Desktop mode, i can watch 720p. I dont understand it.
What can i do?
SOLVED
Update:
Problem solved by using root iYTBP varant 480dpi apk. With Manually installation, not with installer, since no custom recovery on my HU.
Info here: https://forum.xda-developers.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
Download here: http://iytbp.onlineyoutube.com
Pick correct variant for your device. 480dpi worked for my 1024x600 joying HU. So i used it.
Or
Pick the "allvariant" apk, it will take the guess work out. You want apl21 for anything over 5.1.1..
Followed these steps after you download the correct apk.
(II) Using Manual Method
1. Uninstall YouTube completely and reboot.
2. Download the YouTube Vanced apk and rename it to YouTube.apk
3. Create a folder called YouTube in /system/app/ and set permission 755
4. Copy YouTube.apk to /system/app/YouTube/ and set permission 644
5. [OPTIONAL] Extract the lib folder from apk to /system/app/YouTube/ and rename the immediate sub-folder to arm or arm64 or x86 or x86_x64 depending on your CPU architecture and set folder permission 755 and all files permission 644
6. Reboot!
Note :
Depending on your android version you need to select the proper installation location for system application like
for android 4.x - /system/app/
for android >= 5.x - /system/app/YouTube/ or /system/app/priv-app/
for Pixel phones - /system_root/system/app/YouTube/
All credits goes to dev and everyone on first link at the top..
Now i can watch 720p and 1080p..
I've been fighting with this for a while, i ended up changing my screen dpi settings to 1280x720 with 240 dpi, and i still can only get 720p60fps on youtube. I'm going to try your method and see if I can get 1080p. Thanks.