[08-07-2014][UB][LB][MOD][BE3] X-Reality Engine from Xperia Z1 :D - Sony Cross-Device General

EDITED on 08-07-2014 download ZIP file again, files Modified...
Hey guys,
I present to you the X-Reality engine taken from Xperia Z1.
This is not entirely my own work, and i would like to thank Sony for their awesome work. And other devs for extracting the required files.
(Backup your apps for safety)
Special thanks to @ansebovi for helping me with a lot of things.
Works on 4.3 also.
{
"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"
}
Need full root
Unlocked Bootloaders:
download http://d-h.st/4As
Add the below lines to your Build.prop file which can be found at /System/build.prop
##X-Reality##
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
Reboot into Recovery and Flash the ZIP..
Power ON your device and Disable the BE and X-Reality in settings/display
Download File http://d-h.st/Ahl
Navigate to /System/App and delete Credentialmangagerservice.apk [if odexed:delete credentialmanagerservice.odex]
For KITKAT delete the above mentioned files from system/priv-app
Reboot and come to home screen once... (IMPORTANT)
reboot and Flash RestoreBraviaEngine.Zip from Recovery
now power on ur phone..Enable BE and X-Reality
Bravia Engine / X-Reality Engine should work successfully.
Locked bootloaders:
download http://d-h.st/4As
Add the below lines to your Build.prop file which can be found at /System/build.prop
##X-Reality##
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
Extract the BE2 X-Reality Engine.zip using explorer...
now copy the files inside extracted system/app to /system/app, extracted system/framework to /system/framework, extracted system/lib to /system/lib and extracted system/etc to /system/etc [no need of meta.inf] and set permission RW-R--R-- for all files u copied now..and reboot your phone
Disable the BE and X-Reality in settings/display
Download File http://d-h.st/Ahl
Navigate to /System/App and delete Credentialmangagerservice.apk [if odexed:delete credentialmanagerservice.odex]
Extract RestoreBraviaEngine.Zip using explorer..
now copy the files inside extracted system/app to /system/app, extracted system/lib to /system/lib and extracted system/lib/drm to /system/lib/drm [no need of meta.inf] and set permission RW-R--R-- for all files u copied now..
now reboot your phone..Enable BE and X-Reality
Bravia Engine / X-Reality Engine should work successfully.
if u dont know how to edit build.prop..then click to shown content button below
BE ON ---- http://postimg.org/image/5gfshgf09/
BE OFF --- http://postimg.org/image/6hg16kvzt/
hope it helps you[/QUOTE]
Screenshots:
X-Reality ON:
X-Reality OFF:
X-Reality ON:
X-Reality OFF:

ckrishnakanthc said:
Hey guys,
I present to you the X-Reality engine taken from Xperia Z1.
This is not entirely my own work, and i would like to thank Sony for their awesome work. And other devs for extracting the required files.
(Backup your apps for safety)
Firstly, you have to download the package below,
It contains all the files required to install X-Reality Engine on your Xperia.
1. This is not a flashable zip.
2. You'll have to download the Zip file, extract its contents to some location.
3. Using any file manager, copy the contents to the correct folders as given in the Zip. (Root access required)
& set permision, rw-rw-rw- .
4. The new Movies App has also been included.
5. The name in the settings still shows up as Bravia Engine 2, But this is X-Reality Engine, i am yet to decompile our settings.apk and make changes. (Exams!! )
6.Add these lines to your Build.prop file which can be found at /System/build.prop
X-Reality:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
7. Reboot.
8. If successful, you should see a Bravia Engine 2 option in the Display section.
To test if this works or not, Take any screenshot of a vibrant image before and after X-Reality Engine, and compare the changes in a PC, or on your mobile with X-Reality Engine OFF.
Click to expand...
Click to collapse
Hey mate
Thank u for ur effort
I just had a question
can u plz guide me a bit abt the part "set permision, rw-rw-rw-" ? do u mean fix permission in CWM?
Thanks in advance

ckrishnakanthc said:
Hey guys,
I present to you the X-Reality engine taken from Xperia Z1.
This is not entirely my own work, and i would like to thank Sony for their awesome work. And other devs for extracting the required files.
(Backup your apps for safety)
Firstly, you have to download the package below,
http://d-h.st/JvQ
It contains all the files required to install X-Reality Engine on your Xperia.
1. This is not a flashable zip.
2. You'll have to download the Zip file, extract its contents to some location.
3. Using any file manager, copy the contents to the correct folders as given in the Zip. (Root access required)
& set permision, rw-rw-rw- .
4. The new Movies App has also been included.
5. The name in the settings still shows up as Bravia Engine 2, But this is X-Reality Engine, i am yet to decompile our settings.apk and make changes. (Exams!! )
6.Add these lines to your Build.prop file which can be found at /System/build.prop
X-Reality:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
7. Reboot.
8. If successful, you should see a Bravia Engine 2 option in the Display section.
Click to expand...
Click to collapse
My xperia hasn't CWM. You help me!
---------- Post added at 11:37 AM ---------- Previous post was at 11:32 AM ----------
I extrac flie from X-Reality.zip. and system/(app, etc,....) app on PC move a system/App on moblie ? and Set permission RW-RW-RW all file! thanks

Yup, that's right. It will be better if you use es file manager for doing this, as it had automatic permission management. This does not require your phone to have CWM! You have to manually extract each file and copy to its specified folder on phone.. Cheers!
EDIT: The permision setting has to be set only through your Android!
Screenshots:
Sent from my C1904 using XDA Premium 4 mobile app

ckrishnakanthc said:
Yup, that's right. It will be better if you use es file manager for doing this, as it had automatic permission management. This does not require your phone to have CWM! You have to manually extract each file and copy to its specified folder on phone.. Cheers!
Sent from my C1904 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks you very much!:laugh: I will try!

ckrishnakanthc said:
Yup, that's right. It will be better if you use es file manager for doing this, as it had automatic permission management. This does not require your phone to have CWM! You have to manually extract each file and copy to its specified folder on phone.. Cheers!
EDIT: The permision setting has to be set only through your Android!
Screenshots:
Sent from my C1904 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
RW-R-R not RW-RW-RW ?

My xperia has BE2 on setting but on off not change color...huhu!
Video is die...

X-Reality:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
OR
X-Reality:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
thanks!

# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
The space frankly doesn't matter.
Have you copied all the files to the required folders as put in the ZIP file?
If so, check to see if you have set permissions.
If yes, then turn mobile bravia engine off, and take a screenshot of any VIBRANT image, then turn Bravia Image on, and take the screenshot of the same, then view them both on a computer. You should see the difference.
Ill demonstrate with your own screenshot.

# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
The space frankly doesn't matter.
Have you copied all the files to the required folders as put in the ZIP file?
If so, check to see if you have set permissions.
If yes, then turn mobile bravia engine off, and take a screenshot of any VIBRANT image, then turn Bravia Image on, and take the screenshot of the same, then view them both on a computer. You should see the difference.
Ill demonstrate with your own screenshot.
X-Reality OFF:
X-Reality ON:
There you go..

moneylatentoi said:
RW-R-R not RW-RW-RW ?
Click to expand...
Click to collapse
RWX-RWX-RWX is better, because, the file will use only the permissions it wants, not all the ones you granted. I just took the screenshot of a different file...
Sorry for the confusion.
It should come now.. Permissions, seem to be the problem.

ckrishnakanthc said:
RWX-RWX-RWX is better, because, the file will use only the permissions it wants, not all the ones you granted. I just took the screenshot of a different file...
Sorry for the confusion.
It should come now.. Permissions, seem to be the problem.
Click to expand...
Click to collapse
picture of you is confusion ?. set RWX . X.....? (RW-RW-RW)
sr my english is very bad!
---------- Post added at 07:44 PM ---------- Previous post was at 07:41 PM ----------
ckrishnakanthc said:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
The space frankly doesn't matter.
Have you copied all the files to the required folders as put in the ZIP file?
If so, check to see if you have set permissions.
If yes, then turn mobile bravia engine off, and take a screenshot of any VIBRANT image, then turn Bravia Image on, and take the screenshot of the same, then view them both on a computer. You should see the difference.
Ill demonstrate with your own screenshot.
X-Reality OFF:
X-Reality ON:
There you go..
Click to expand...
Click to collapse
my picture post? thanks you!
---------- Post added at 07:46 PM ---------- Previous post was at 07:44 PM ----------
ckrishnakanthc said:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
X-Reality OFF:
X-Reality ON:
There you go..
Click to expand...
Click to collapse
my picture post? thanks you!
---------- Post added at 08:03 PM ---------- Previous post was at 07:46 PM ----------
ckrishnakanthc said:
Screenshots:
Sent from my C1904 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
set permission like picture or RW-RW-RW? please!
---------- Post added at 08:17 PM ---------- Previous post was at 08:03 PM ----------
i set permission RW-RW-RW Al file, build.prop i set permission RWX-RWX-RWX but reboot not on! help me please!
---------- Post added at 08:20 PM ---------- Previous post was at 08:17 PM ----------
reboot. SONY and Gray..... help me!

Does it do anything else than oversaturating colours?
This message was brought to you from my Sony Xperia M C1905 using the Tapatalk app.

Antrikos48 said:
Does it do anything else than oversaturating colours?
This message was brought to you from my Sony Xperia M C1905 using the Tapatalk app.
Click to expand...
Click to collapse
Set permission RW-R-R is OKE
I just FlashTool fw
real danger
---------- Post added at 08:58 PM ---------- Previous post was at 08:43 PM ----------
Thanks ckrishnakanthc very mush!

This is the permissions screen shot.
Sent from my C1904 using XDA Premium 4 mobile app

Antrikos48 said:
Does it do anything else than oversaturating colours?
This message was brought to you from my Sony Xperia M C1905 using the Tapatalk app.
Click to expand...
Click to collapse
Depending on the image it either over saturates, controls sharpness, contrast, or reduces saturation. Simply speaking, it tries to get the image closest to real life. Samsung phones have an edge over all others due to the Super AMOLED displays, so Sony tried to counter it by rendering images to look more life like using software enhancements.
Sent from my C1904 using XDA Premium 4 mobile app

ckrishnakanthc said:
This is the permissions screen shot.
Sent from my C1904 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i set permission RW-RW-RW al file, build.prop thì set RWX-RX-X, reboot not on!

Bootloop
ckrishnakanthc said:
EDITED on 29-10-2013 download ZIP file again, files Modified...
Hey guys,
I present to you the X-Reality engine taken from Xperia Z1.
This is not entirely my own work, and i would like to thank Sony for their awesome work. And other devs for extracting the required files.
(Backup your apps for safety)
Firstly, you have to download the package below,
http://d-h.st/9Zb
It contains all the files required to install X-Reality Engine on your Xperia.
1. This is not a flashable zip.
2. You'll have to download the Zip file, extract its contents to some location.
3. Using any file manager, copy the contents to the correct folders as given in the Zip. (Root access required)
& set permision, rwx-rwx-rwx- .
4. The new Movies App has also been included.
5. The name in the settings still shows up as Bravia Engine 2, But this is X-Reality Engine, i am yet to decompile our settings.apk and make changes. (Exams!! )
6.Add these lines to your Build.prop file which can be found at /System/build.prop
X-Reality:
# X-Reality
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
7. Reboot.
8. If successful, you should see a Bravia Engine 2 option in the Display section.
To test if this works or not, Take any screenshot of a vibrant image before and after X-Reality Engine, and compare the changes in a PC, or on your mobile with X-Reality Engine OFF.
Screenshots:
X-Reality ON:
X-Reality OFF:
X-Reality ON:
X-Reality OFF:
Click to expand...
Click to collapse
Gave me a bootloop!

Bootloops Rectified
tabun1994 said:
Gave me a bootloop!
Click to expand...
Click to collapse
A new version has been updated. Please download the package again.
Sorry for all the trouble guys, i have had a couple of bootloops too, took the log, and rectified, the permissions for the files are as follows..
RWX Stands for R-Read W-Write X-Execute
--- rwx r-x
The permissions for the build.prop should NOT be changed. All other files should
The screenshot is as follows:
The permissions for the build.prop should NOT be changed. All other files should as per the pic above, it has been done using ES file Manager

ckrishnakanthc said:
A new version has been updated. Please download the package again.
Sorry for all the trouble guys, i have had a couple of bootloops too, took the log, and rectified, the permissions for the files are as follows..
RWX Stands for R-Read W-Write X-Execute
--- rwx r-x
The permissions for the build.prop should NOT be changed. All other files should
The screenshot is as follows:
The permissions for the build.prop should NOT be changed. All other files should as per the pic above, it has been done using ES file Manager
Click to expand...
Click to collapse
I set RW-R-R- is successfully. i set RWX-RWX-RWX is bootloop! i has Flashtool Fw. today, I root (framroot) not successfully (try and try....).
I want to try as you guide but I do not root it! you are very enthusiastic thank you for that

Related

[Guide] Make your first custom Rom- easiest way

Newbies Thinks to make custom rom.. but dunno how
But when forever king's guide here NO prob!​
Things we Need-
1 winrar or winzip
base rom
Brain
notepad ++
Things You will find in Rom (when will you extract-:
1- Boot.img (in some roms not)
2-System
3- Meta-inf
No need to touch Boot.img, Meta inf as i will tell later on
So open system folder
Open Build.prop in system folder and open with notepad++
Open this page
tweaks by forever king
See open build.prop tweaks
And open build.prop and scroll to last....
Press enter
and type
"#Tweaks"
Now add all tweaks in that Webpage
Mods
You can add many mods like
1 Beats Audio (2.3+)
2 Adrenaline Engine (2.3+)
3 SlaidyBoost (2.3+)
4 Megabassbeats (2.2+ need$ xloud)
U need to port them to ya fone , dont ask me as i also dunno l0l
Adding tweaks to ya rom (build.prop)
Open build.prop (system folder)
find line ' ro.build.id=xxxxxxx '
Now change this to ' ro.build.id=yournameorwhatever '
Adding Apps to your Rom
1 Open system>app (folder)
Add .apk files to it (copy n paste xD)
2 Adding Init.d tweaks (if your base rom having init.d support in boot.img)
Open this webpage
tweaks by forever king
Scroll down (lil bit)
and see init.d tweaks
Add like this
Make new file and paste any script
like
"echo "2048,3072,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree"
this and save this file (no extention , save without .txt or any)
3 Adding bootanimation
Replacing bootanimation
-download bootanimation u want to use and rename it to "bootanimation.zip"
-delete animation u find in /./"rom"/system/media and then paste bootanimation u downloaded
Now modifying framework (u see statubar in rom and many tweaks)
Using UOT kitchen
Thanks to "CallMeVentus" for guide
Finnaly Done... will add more when i am freek xD >.<
Now Compress it in .zip
Now sign the Rom Signer
Open and see how
now flash Rom and test.....
if workeD then coool
Never say 'thanks' , hit it ​
Advance for N00bs
Never say thanks,hit it ​
How to make Rom transparent
See my guide = http://forum.xda-developers.com/showthread.php?t=1799373
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to decompile android app , u need this TUT for making rom transparent or editing apps..
See my guide= http://forum.xda-developers.com/showthread.php?t=1772220
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to add powermenu on your Rom
http://forum.xda-developers.com/showthread.php?t=811532
Thanks untermensch
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some tweaks making Rom fast
http://www.mediafire.com/?t8rsdmedu5w2vo5 (by me)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to Deodex Rom and >odex back
Things nEeded
Code:
backsmali.jar
* smali.jar
* custom java.awt.jar
* dexopt wrapper
* recent version of busybox
Download this
Open CMD CD to folder extracted those scripts and type
1 Deodexing Framework files-
Code:
java -Xmx1024m -jar baksmali.jar -c :core.jar:bouncycastle.jar:ext.jar:framework.jar:android.policy.jar:services.jar:core-junit.jar -x android.policy.odex
(i am taking android.policy.jar as example , if framework.jar or whatever just change 'android.policy.jar' to 'framework.jar' and 'framework.odex'
This will make out folder
now smali that out folder by
typing
Code:
java -Xmx1024m -jar smali.jar out -o classes.dex
in CMD
HTML:
open android.policy.jar with 7zip without extracting
push the classes.dex created in the 7zip window in the root folder
close the 7zip windows and here is your deodexed android.policy.jar
2 Deodexing any App file i am taking systemUI.apk as example
Code:
java -Xmx1024m -jar baksmali.jar -c :am.jar:android.policy.jar:android.test.runner.jar:bmgr.jar:bouncycastle.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:ext.jar:framework.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:libvtmanagerjar.jar:monkey.jar:pm.jar:sec_feature.jar:seccamera.jar:sechardware.jar:secmediarecorder.jar:services.jar:sqlite-jdbc.jar:svc.jar:twframework.jar -x SystemUI.odex
Again out folder created now make it smali
by typing
Code:
java -Xmx1024m -jar smali.jar out -o classes.dex
in CMD
open SystemUI.apk with 7zip without extracting
push the classes.dex created in the 7zip window in the root folder
close the 7zip windows and here is your deodexed SystemUI.apk
Click to expand...
Click to collapse
3 Now we will learn to odexing back
1/ backup your original files (apk jar and odex) to /sdcard/Mod/
2/ copy modified deodexed files (.apk and .jar) in /system/framework/
3/ open a CMD prompt in the folder of adb.exe (usualy /android-sdk-windows/platform-tools/)
4/ type command :
Code:
adb shell
su
## for .JAR file :
dexopt-wrapper /system/framework/XXX.jar /system/framework/patched_XXX.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
response must be :
--- BEGIN '/system/framework/android.policy.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=7194
--- would reduce privs here
--- END '/system/framework/android.policy.jar' (success) ---
## for .APK file :
dexopt-wrapper /system/framework/XXX.apk /system/framework/patched_XXX.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jaradb shell
su
## for .JAR file :
dexopt-wrapper /system/framework/XXX.jar /system/framework/patched_XXX.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
response must be :
--- BEGIN '/system/framework/android.policy.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=7194
--- would reduce privs here
--- END '/system/framework/android.policy.jar' (success) ---
## for .APK file :
dexopt-wrapper /system/framework/XXX.apk /system/framework/patched_XXX.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
It will makepatched_apknameyouodexing file now remove (renaming) "patched_" line so it will be "apknameyouodexing.odex"
Now copy Signatures- (in same CMD)
Code:
# if not already done ...
adb shell
su
# copy the original .odex and .jar in system/framework (not .apk) :
cp /sdcard/MOD/original.XXX.odex /system/framework
cp -f /sdcard/MOD/XXX.jar /system/framework # where XXX.jar is the original odexed .jar
# give all permissions to XXX.odex files :
chmod 777 /system/framework/original.XXX.odex
chmod 777 /system/framework/patched_XXX.odex
# copy signature :
busybox dd if=/system/framework/original.XXX.odex of=/system/framework/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
response must be :
busybox dd if=/system/framework/original.XXX.odex of=/system/framewor
k/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
20+0 records in
20+0 records out
20 bytes (20B) copied, 0.002042 seconds, 9.6KB/s
Done now odex/deodex your Rom , so easy!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Changing splash Screen (bootsccreen before bootanimation)
Ok. 1st of all i dont maDe this script and i dont know who made it xD but i would day 'thanks' to Him
http://www.mediafire.com/?sr6lso6w7vj21o6
How to use this!! >>??
Decompile boot.img Scroll down to see HoW to decompile it/use DSIXDA kitchen
Ramdisk>initlogo.rle (make new folder and paste initlogo.rle into it)
now extract that downloaded kit in it
1 Now open CD to location and type
Code:
convert_image to rle.bat initlogo.rle
(if u named .rle file to 'yourfilename'
then type
Code:
convert image to rle.bat yourfilename.rle
2 the filename.raw file and filename.rle file will be created at the same location as filename.rle
Now yoU will see filename.png edit it like what you Want xD
3 For compiling filename.png to .rle , CD to that folder having dose files!
typE
Code:
convert rle to image.bat filename.png
Use this if you see Decompiled .rle Burred-
Code:
@bin\convert -depth 8 -size 333x774 rgb:initlogo.raw initlogo.png
(take your phone's size i just took which my mind told xD)
4 Now you will see new file named
filename.png.rle rename it to filename.rle
Done now replace it into your extracted boot.img and repack it
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Decompilng Boot.img
I didnt made this Script http://www.modaco.com/topic/340710-tool-edit-bootimg/ is originall thread thanks to him
Download Boot.img tools
So easy to use
Just extract it in folder
Now place boot.img also in it
Now open 'start.bat'
* Press 1 to decompile the boot.img
* replace the ramdisk.gz (if you want)
* replace the kernel (if you want)
* Press 2 and it will compile the boot.img again!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Modifying updater-script (found in /META-INF/com/google/android)
Open with Notepad++
Now you can see in this pic theres written 'Welcome to Cm installer....'
{
"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 make this!
open updater-script
you will see 1st line ! make enter so you can add 1 line (at first)
Now add
Code:
ui_print("your text anything");
Code:
package_extract_dir("system", "/system");
tells extract directory system to system (in android)
Code:
mount("system");
tells mount specific directory like u can change location to dev folder
Code:
unmount("/system");
means unmount from where you mounted ! before
Code:
show_progress(0.200000, 5);
tells us that show progress like you can see when installing Rom yellow lines comes (CWM) u can control by this. its by Seconds..
Code:
symlink("busybox", "/system/xbin/fold");
means make symbolic link to that file at folder 'xbin'
Code:
format("MTD", "system");
means format mounted system folder
Code:
delete("/data/local");
Tells that delete /data/local folder
Code:
set_perm(0, 0, 0777, "/system/bin/chka2sd");
set pem means setting permission like chka2sd permission rww-rww-rww
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
it means flash boot.img make raw file (image) at tmp/boot (afterwards android do which i dunno) and delete that file!
Now save this file
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Modifying settings.apk
Creed$ rom!
you can see 'author name' which is not in our normal settings!
how he D!d?
Decompile apk by apkmanager ( i wont tell again xD , not by apktool )
1 goto res>xml open "device_info_settings.xml"
2 scroll to last and add line before "</PreferenceScreen>" line
3 add this line
Code:
<Preference android:title="Rom name (or whatever" android:summary="My rom name (what ever)" style="?android:preferenceInformationStyle" />
you can add many of them
4 Now compile from apkmanager when ask delete any file from 'keep folder' delete this file from keep folder and Install apk
too easy!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Enabling CRT animation on 2.3x
CRT animation is dam cool animation effect when locking phone so see how to make in your rom
But what is it?
1 Decompile framework-res.apk
2 goto res>values>bools.xml
3 Change "<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
Done.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Swipe to clear notifications
http://forum.xda-developers.com/showthread.php?t=1483193
thanks hansip87
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When i do something (just that thing which i moded) i got bootloap/loop!
1 Open that think you will get loop
2 open terminal
3 type
Code:
su
logcat>sdcard/logcat.txt
So end. i will add more if i got any in mind/guidE xD
A nice guide for the noobs, but I think all of this is a little basic. But if you keep adding onto this, then it will be a great guide.
Nice
asvantypography said:
Nice
Click to expand...
Click to collapse
thanks button dere
invasion2-- adding sooon!!
Is it possible to deodex from terminal emulator?
-XoRoX- said:
Is it possible to deodex from terminal emulator?
Click to expand...
Click to collapse
sooory dude! but u can thru fone.... I saw app' odex me ' or maybe it was 'deodex me' I dunno it works/not
Thanks for your work!
john9 said:
Thanks for your work!
Click to expand...
Click to collapse
button there >.< read....this..every user commenting btw welcome!
Thanks for this guide! I assume no linux dev environment is needed, cuz I can't, at least that's what happened with dsixda kitchen
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
eggydrums said:
Thanks for this guide! I assume no linux dev environment is needed, cuz I can't, at least that's what happened with dsixda kitchen
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
press thanks n welcome...I will add sooon its long so its future plan xD
modifying settings tut is wrong.
we have to edit xml in strings and public also
lol ur wrong
Avilove.Cullen said:
modifying settings tut is wrong.
we have to edit xml in strings and public also
Click to expand...
Click to collapse
ps. I am not editing settings.xml!
its lyk this! I made it dude! public.xml?
which entry? of Icon? no Icon needed!
Well its comprehensive and noob proof
Just a side note: Always mention the link to original article of any forum especially the deodexing part!
Secondly as Avilove.cullen said the tutorial for modification in Settings is incomplete as you also have to kang up the respective strings in strings.xml
And FYI we need not modify public.xml only when you put icons or images
varun.chitre15 said:
Well its comprehensive and noob proof
Just a side note: Always mention the link to original article of any forum especially the deodexing part!
Secondly as Avilove.cullen said the tutorial for modification in Settings is incomplete as you also have to kang up the respective strings in strings.xml
And FYI we need not modify public.xml only when you put icons or images
Click to expand...
Click to collapse
ok... will makE comlelty fr noobs !
dude I sa!d credits to dere devs ok will add link soon xD
fr icons u r wrong
decompile microfire 2's rom decompil settings.apk lol seee fire icon deres entry in public.xml Icons- which sum roms having coloured icons ! seee I can calll aksh too he also say this!
its ofcourCe v need png entry in settings.xml (or whereva)
and 1 png of that name I'm drawable-xxx
For adding strings, adding those strings in string.xml and public.xml is not necessary.... u cat do that too... but it works without adding too... i checked it ma self.... just remv "@string\" and "your_text".....
When adding a new menu item you need to edit the layout right?
Sent from my LG-E739 using Tapatalk 2
mistere372002 said:
When adding a new menu item you need to edit the layout right?
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
Actually this isn't fundamental
It depends on the original developer where he defines it
In case of settings.apk it is with xml folder.
varun.chitre15 said:
Actually this isn't fundamental
It depends on the original developer where he defines it
In case of settings.apk it is with xml folder.
Click to expand...
Click to collapse
OK so say you wanted to add a list item called start clock. You would add the preferencescreen code and specify the target in settings.XML only? You wouldn't add lines to Id.XML or strings.XML and values.XML and then specify where in the layout folder of the appropriate XML in that folder?
Sent from my LG-E739 using Tapatalk 2
Who knows the reason for always apps optimizing in my custom Rom in every reboot?( always android is upgrading)
Sent from my SK17i using xda premium

[GUIDE] Beginners/Ref Guide to Making Roms.

Hi guys! I see many people trying to learn how to make roms, Here i show the easiest and shortest way on how anyone can begin making roms for the Galaxy S3. ​
Requirements:
Prepared CWM Stock Package.
Apktool
7-zip
Notepad ++
Setting Up, and Introduction​
IF you have downloaded firmware from sammobile instead of zoot1's package, use this part for Setting up and introduction: http://forum.xda-developers.com/showpost.php?p=37812381&postcount=33
OR ELSE THE EASIER WAY
To start with, Download the prepared CWM Stock Rom by zoot1 here: http://forum.xda-developers.com/showthread.php?t=1868004
I personally use firmware from sammobile, because i like to do everything myself. Though this method would be easier for beginners.
Extract the zip file to folder called "ROM".
Now lets head towards the customizing.
Thanks to Prawesome alot for this part. I took some info from his guide.
So now, open up the system folder. You'll find loads of folders in it. Here is a brief introduction to each of those folders:
1. apps
When you open this folder. You will find apk's. An apk is an install-able app package for any Android Device.
You can delete specific apps incase you want to delete. But take extra precautions on what you're deleting. As some apps are useful. You can add apps here as well in formats of apk's. But note, adding Play Store apps to the system/app folder is not recommended. For example you don't want Google Talk in your rom, you just have to delete the Talk.apk.
2. bin
Nothing really to mod in this folder. Full of advanced techy stuff. xD
3. etc
Here is where most of the tweaks come in. There is a folder called init.d where mods like the V6 Supercharger or multi-tasking fixes can be applied. Note! Don't add more than 1 or 2 scripts. Most of them usually conflict with each other.
In the gps.conf file, you can edit your gps info to make the gps more accurate. Pretty good guides about this, search them out.
Next is the hosts file. Devs use this to block sites from generating ads, and keeping their roms ad-free. Take a look at my DroidS3 hosts file, there are over 20,000 hosts blocked. You can use the same hosts file for your rom too.
4. Fonts
Very easy folder to understand. All you need to do here is replace ttf files, and you'll change the fonts.
5. Framework
Here is where the big mods come in. I'll explain further on about this. It contains the android.policy.jar, a useful element to add many mods. Framework-res is used to change wallpapers and theme the rom. I'll explain later.
6. libs
Contains all the libs needed for specific system apps to work. Don't mess here unless you're adding a mod.
7. Folders like csc, hdic, sipdb, wakeupdata, vendor, excetra..
These are the folders, there isn't much to do. Csc folder contains the feature.xml where some mods can be added. Search the forums for that. The rest contain multi-languages and more stuff.
8. xbin folder
Used to add scripts like busybox, dexdump, openvpn support. More like the bin folder but smaller.
9. Build.prop
Ever wondered how some roms have android 5.0, when it hasn't even released? All you need to change is the ro.build.version.release to any number you like. Even Android 20! Go change it, and fool some noobs out there. More mods can be added to this file. e.g:
Code:
debug.sf.hw=1
video.accelerate.hw=1
debug.performance.tuning=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.nocheckin=1
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=15
mot.proximity.delay=15
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
ro.config.nocheckin=1
The codes listed above are for improving jpeg quality, saving some battery life, reducing call delay and more. Search for build.prop mods, you'll find loads of them. ​Now, a small explanation of the Meta-inf folder.
In Meta-Inf you'll find the updater-script.
Since this is aimed at beginners, I'll just show you how to change what text is shown during install in CWM.
Just edit what's in the quotes of the ui_print code in the file, and enter your own text. e.g:
Code:
ui_print("Hi, This message in quotes is displayed in recovery");
Modding!​
It's time for the modding to begin.
Get apktool from: http://forum.xda-developers.com/showthread.php?t=1755243
Now, first copy your framework-res from the /system/framework directory to where you extracted apktool files. Let's call this folder "apktool"
Open the folder apktool, press shift and right click. Click on "Open command window here". Type:
Code:
apktool if framework-res.apk
Now you are ready to decompile apk's.
I'm going to show you how to mod different files. Copy over:
SystemUI.apk
android.policy.jar
framework-res.apk
1. SystemUI.apk
Just showing you basic modding here. Copy over SystemUI.apk to apktool folder. In the command prompt, type
Code:
apktool d SystemUI.apk
After it's done, you should see a SystemUI folder in the apktool directory.
I'm going to show you how to make the status bar transparent, thanks to raubkatze for this part.
Navigate to res/layout/tw_super_status_bar.xml and change android:background to match the red line.
Code:
<com.android.systemui.statusbar.phone.StatusBarWindowView [B][COLOR="Red"]android:background="#00000000[/COLOR][/B]" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Save and close.
Then navigate to /res/values/drawables.xml
Edit to match:
Code:
<item type="drawable" name="status_bar_background">[COLOR="red"][B]#00000000[/B][/COLOR]</item>
That's it. Save and close.
Go back to your command prompt and type
Code:
apktool b SystemUI SystemUI-new.apk
After it's done, probably will take around 5-10 minutes. You'll find SystemUI-new.apk in your apktool folder. Open both SystemUI.apk and SystemUI-new.apk with 7-zip. Delete AndroidManifest.xml from SystemUI-new.apk and copy AndroidManifest.xml and META-INF from SystemUI.apk to SystemUI-new.apk
That's it. Close the zip files.
If you have adb or android-sdk push SystemUI-new.apk to your phone using:
Code:
adb remount
adb push SystemUI-new.apk /system/app/SystemUI.apk
adb reboot
If you don't have adb, just copy over SystemUI-new.apk to your phone. Rename it to SystemUI.apk and copy to system/app with root explorer. Reboot.
There you have transparent statusbar now! ​
2. android.policy.jar
Decompile android.policy.jar with:
Code:
apktool d android.policy.jar
You will find android.policy.jar.out, open it and use Cristiano Matos guide to mod the files: http://forum.xda-developers.com/showthread.php?t=2018633
After that use:
Code:
apktool b android.policy.jar.out
Open the android.policy.jar.out folder, you will find a dist folder created and inside that is your modified android.policy.jar.
You can use adb again by:
Code:
adb push android.policy.jar /system/framework
or the normal root explorer method. ​
3. framework-res.apk
Here i'll show you small mods.
Decompile it using
Code:
apktool d framework-res.apk
Navigate to res/values/bools.xml. ​Here you can add these. Thanks to DSA for this! :
4 Way Rotation:
Code:
Code:
<bool name="config_allowAllRotations">false</bool>
Change to:
Code:
Code:
<bool name="config_allowAllRotations">true</bool>
Lock Screen Rotation:
Code:
Code:
<bool name="config_enableLockScreenRotation">false</bool>
Change to:
Code:
Code:
<bool name="config_enableLockScreenRotation">true</bool>
and
Code:
Code:
<bool name="lockscreen_isPortrait">true</bool>
change to
Code:
Code:
<bool name="lockscreen_isPortrait">false</bool>
Disable Keyboard Switch In StatusBar When Typing
Code:
Code:
<bool name="show_ongoing_ime_switcher">true</bool>
Change to:
Code:
Code:
<bool name="show_ongoing_ime_switcher">false</bool>
Unplugging From USB doesn't Turn Screen On
Code:
Code:
<bool name="config_unplugTurnsOnScreen">true</bool>
Change to:
Code:
Code:
<bool name="config_unplugTurnsOnScreen">false</bool>[/indent]
Now to change wallpaper. Change the default_wallpaper.jpg in drawable-xhdpi and to change lockscreen wallpaper change keyguard_default_wallpaper.jpg.
Now recompile using:
Code:
apktool b framework-res framework-new.apk
Delete AndroidManifest.xml from framework-new. Copy AndroidManifest.xml and META-INF from framework-res.apk to framework-new.apk
To test use adb:
Code:
adb push framework-new.apk /system/framework/framework-res.apk
Or rename to framework-res.apk and copy to system/framework using root explorer. Reboot.​
Once you've added everything, your modified apks. Ui_print mods, A custom kernel (just replace boot.img) it's time to compile. Now this is really easy. Just highlight all the folders/files like system, meta-inf and boot.img. Right click. Hover over 7-zip and click Add to Rom.zip. Wait for it to be done, and copy Rom.zip to your sd card and flash. Voila! You've made your rom!!​
You can get more mods to add from here: http://forum.xda-developers.com/showpost.php?p=26583654&postcount=4
I was a beginner once, everyone was a beginner once. People helped me, and now I want to help people.
Press the Thanks button, and/or rate this thread 5 stars to show your support. ​
FAQ
- How do i add a mod?
To add a mod, just download it. Open it and copy over all the folders from the zip file EXCEPT the META-INF.
- How can i set up apktool on windows?
To set up apktool on windows, you need aapt, apktool.jar and apktool.bat
- My modified apk is not working?
Do some testing and get to know what went wrong. I'm always here. I'll be glad to help.
- Are these the only apps i can modify?
Ofcourse not! Any apk can be modified. Just decompile it, and make your changes.
- I'm looking for a guide on something i want to learn. Can you add it here?
I'll try my best.​​​
Reserved
Reserved one more.
Any feedback guys? I hope this is useful.
Forget that i had to reserve one more.
R: [GUIDE] Beginners/Ref Guide to Making Roms.
Looks interesting...when i will finish my exam i will check with more attention
Sent from my GT-I9300 using xda app-developers app
Willy89 said:
Looks interesting...when i will finish my exam i will check with more attention
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks. Glad it's of help.
Sent from my GT-I9300 using xda premium
Thnx for making this thread.
It's always useful to read thread's like this.
Nice job.
Verzonden door mijn GT-I9300 met xda premium
Great guide, thanks, I will point Theshawty in this direction :thumbup::thumbup:
slaphead20 said:
Great guide, thanks, I will point Theshawty in this direction :thumbup::thumbup:
Click to expand...
Click to collapse
Too late old man. Not interested in building roms anymore.
Thanks guys.
If there's anything you'd like to have added.
Let me know.
AW: [GUIDE] Beginners/Ref Guide to Making Roms.
Thanks. That's it what i searched for to start. Great.
weli..this would be intersting..and will c hw thread moves...
I Need Help In Building the ROM
Hi,
I am steinert. i need your help in biulding the rom, actually i finished everything but getting the problem while flashing the rom. when i googled it. i came to know that the problem lies in updater-script. i used root explorer to find out the reason. it was like.
FINISHED EXECUTING SCRIPT FILE
EXIT VALUE:126
STDOUT:
NULL
STDERR:
SH:<STDIN>[1]:/CACHE/RECOVERY/LAST_LOG:CAN'T EXECUTEERMISSION DENIED.
I Hope that You help a NOOB like me....
Thank you in advance....
Jacqueline Steinert said:
Hi,
I am steinert. i need your help in biulding the rom, actually i finished everything but getting the problem while flashing the rom. when i googled it. i came to know that the problem lies in updater-script. i used root explorer to find out the reason. it was like.
FINISHED EXECUTING SCRIPT FILE
EXIT VALUE:126
STDOUT:
NULL
STDERR:
SH:<STDIN>[1]:/CACHE/RECOVERY/LAST_LOG:CAN'T EXECUTEERMISSION DENIED.
I Hope that You help a NOOB like me....
Thank you in advance....
Click to expand...
Click to collapse
After flashing the rom.
Check the error through Advanced > Show recovery log in recovery.
Post results here.
I : checking for entendedcommand..
I : skipping execution of extendedcommand, file not found...
Jacqueline Steinert said:
I : checking for entendedcommand..
I : skipping execution of extendedcommand, file not found...
Click to expand...
Click to collapse
Huh?
Get me a screenshot of your meta-inf/com/google/android directory.
What exactly did you modify? It should work if you left the meta-inf untouched.
masterex567 said:
Huh?
Get me a screenshot of your meta-inf/com/google/android directory.
What exactly did you modify? It should work if you left the meta-inf untouched.
Click to expand...
Click to collapse
I just removed all the apps and inserted new apps...!!
Should i send you my updater-script?
Jacqueline Steinert said:
I just removed all the apps and inserted new apps...!!
Should i send you my updater-script?
Click to expand...
Click to collapse
Removed all?
Some are core apps like SystemUI, etc.
Get me a screenshot of your rom.zip..
masterex567 said:
Removed all?
Some are core apps like SystemUI, etc.
Get me a screenshot of your rom.zip..
Click to expand...
Click to collapse
{
"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"
}
This is the screenshot of my rom..! and before also i got the same problem with out changing the system .apk's
Jacqueline Steinert said:
View attachment 1700664
This is the screenshot of my rom..! and before also i got the same problem with out changing the system .apk's
Click to expand...
Click to collapse
Highlight those 3 and in 7zip options click add to " ".zip
Sent from my GT-I9300 using xda premium

[GUIDE] Build.prop tweaks, more free ram, Splitwindow all apps, LTE & more (25aug)

[GUIDE] Build.prop tweaks, more free ram, Splitwindow all apps, LTE & more (25aug)
This GUIDE is to make your G3 awesome
Requirement
1. Root
2. File Manager with Root Access (Solid Explorer,Root Explorer)
3. Text Editor (920text editor)
4. ADB debug must be on *for backup and restore build.prop
GUIDE
1. open file manager, go to /system/build.prop
2. backup your original build.prop
(copy to sdcard, rename to build.prop.bak)
3. open build.prop
4. Edit your build.prop with these value.
All of this code is tested
Code:
[B]#you can use multiwindow for all apps
#Default value is false, edit to true[/B]
persist.splitwindow.support_all=true
[B]#Edit OOM value for more free ram
#this is the best value for me[/B]
ro.sys.fw.mOomMinFree4=146880
ro.sys.fw.mOomMinFree5=215000
ro.sys.fw.mOomMinFree6=398048
[B]#Enable Permanent LTE Option
#default value is 9[/B]
ro.telephony.default_network=12
[B]#Disable all android log
#add this to your build.prop[/B]
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
logcat.live=disable
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.config.nocheckin=1
[B]#Wi fi scan interval[/B]
wifi.supplicant_scan_interval=143
[B]#Best dpi for G3
#default value 640[/B]
ro.sf.lcd_density=560
5. save it
6. fix the permission to rw-r-r or 644 (chmod 644 build.prop)
7. Make sure you set the correct permission!
8. Check the permission again.
9. reboot
Kitkat SDcard fix
If you want sdcard read write on kitkat
1. Open /system/etc/permissions/platform.xml
2. Search for android.permission.WRITE_EXTERNAL_STORAGE
3. Edit it like this
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
4. save it
5. fix the permission to rw-r-r or 644 (chmod 644 platform.xml )
6. reboot​
LG Smart Notice Multidpi FIX
Flash this for Fixing Smart Notice widgets custom dpi problem
if you have pc with ADB - *download auto batch file*
or
if you have custom recovery - *download flashable zip*
I Recommended using 920 Text Editor
and SOLID EXPLORER and Root Explorer for setting correct permission
without the right editor you will get soft bricked, bootloop, or even worse.
{
"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"
}
[Tweaks] Lollipop Battery Tweak + 4096 ReadAhead Cache
you will amaze how many hours you'll get with this tweaks
See this thread : Lollipop Battery Tweaks
.
DISLAIMER
Do with your own risk, I'm not responsible for your devices
I'm not responsible if you are using another apps and cause bootloops.
make you you know what you are doing.
tested and works fine on my 10E G3
SCRIPT to BACKUP and RESTORE Build.prop
avicohh said:
Here is a simple script I wrote to Backup and restore build.prop file
http://sourceforge.net/projects/avicohh/files/Android/Backup_Restore_build.prop.zip/download
Enjoy
Click to expand...
Click to collapse
More Tweaks from fellow XDA member
danny_and_2 said:
Hey Spiderio!
First thank you for all these amazing tweaks, I currently use some of them, but I'd added a little bit more to it.
I'm currently testing the following running ART & so far so good.
Credits goes to these threads:
http://forum.xda-developers.com/showthread.php?t=1933099
http://forum.xda-developers.com/showthread.php?t=1685342
http://forum.xda-developers.com/showthread.php?t=1210341
It feels a little bit more snappy, but the main reason to all this is ofc battery life. As I said i'm testing them atm, with a fresh flashed rom (Version F) on ART.
Code:
## TWEAKS
#Battery saving
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
#improve battery under no signal
ro.mot.eri.losalert.delay=1000
# LG flags
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
#Decrease dialing out delay
ro.telephony.call_ring.delay=0
#Helps scrolling responsiveness
windowsmgr.max_events_per_sec=240
#Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
# Fast Reboot
persist.sys.purgeable_assets=1
#Faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#### New Tweaks : somboons ####
persist.android.strictmode=0
persist.sys.ui.hw=true
ro.com.google.networklocation=0
ro.vold.umsdirtyratio=2
Click to expand...
Click to collapse
Another Method for editing build.prop and more tweaks
http://forum.xda-developers.com/showpost.php?p=54970011&postcount=171
I do have root but it wont let me edit the build.prop
Sent from my LG-D851 using XDA Premium 4 mobile app
"more free ram" is rather deceiving and is not the magic fix most people reading this thread will be looking for all this change will mean is android is far more strict when it comes to killing apps, so in the long run it will keep having to relaunch apps rather than pull it from cache and therefore will take more time to open and more battery, also you may find apps you want to run all the time (persistent apps) will be killed.
fordstang99 said:
I do have root but it wont let me edit the build.prop
Sent from my LG-D851 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Same here, I can not edit the file.
macfreaker said:
Same here, I can not edit the file.
Click to expand...
Click to collapse
fordstang99 said:
I do have root but it wont let me edit the build.prop
Sent from my LG-D851 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Have you guys enabled root in the file manager you're using and mounted /system r/w?
Sent from my G3
Guys,
Do you have some tested DPI for this mobile? I'm little afraid of changing that value. I want a little more space on screen. IMO: This screen resolution is begging for change the DPI value from stock one.
On my Samsung Galaxy S3 I was using DPI 220 and for this screen it was perfect form me.
beats4x said:
Have you guys enabled root in the file manager you're using and mounted /system r/w?
Sent from my G3
Click to expand...
Click to collapse
Yes, i did. It is really strange
macfreaker said:
Yes, i did. It is really strange
Click to expand...
Click to collapse
the build prop is truncated this means you cant change alot of things in it so far i know only dpi can be change..
soo now what.. copied youre build promp to pc open it with tekst editor then change the lines save it and then copied it back to system set permission reboot ALWAYS BACKUP..
Solid Explorer can make changes to the build.prop with no problems.
Sent from my LG-D851 using Tapatalk
I am not able to make change 9 to 12 on lte setting in build.Prop using solid Explorer, I am rooted, it just won't take anything beyond one digit
Sent from my LG-F400K using Tapatalk
deKofi said:
Guys,
Do you have some tested DPI for this mobile? I'm little afraid of changing that value. I want a little more space on screen. IMO: This screen resolution is begging for change the DPI value from stock one.
On my Samsung Galaxy S3 I was using DPI 220 and for this screen it was perfect form me.
Click to expand...
Click to collapse
540 works aside from some image scaling issues.
The G3's native DPI is 534, but I haven't tested that
Been using rom toolkit pro and root explorer and it wont let me edit the build.prop
Sent from my LG-D851 using XDA Premium 4 mobile app
Edited with build prop editor by jrummy. Set split window to true as indicated in op. Phone shows LG splash and then black screen with blue/green LED. Tested huh?
ins5736 said:
Edited with build prop editor by jrummy. Set split window to true as indicated in op. Phone shows LG splash and then black screen with blue/green LED. Tested huh?
Click to expand...
Click to collapse
tested, I have not encountered any issue..
I can provide screnshot.. look here
ARE YOU SURE YOU KNOW WHAT YOU ARE DOING??
don't play around with system if doesn't know anything about it
blame jrummy apps if you want..
does the app setting the correct permission??
I edited build.prop with Solid Explorer...
TESTED..
see it for yourself, click the images attachment
Split view and LTE edit both working fine here. Thanks.
vineet381 said:
I am not able to make change 9 to 12 on lte setting in build.Prop using solid Explorer, I am rooted, it just won't take anything beyond one digit
Sent from my LG-F400K using Tapatalk
Click to expand...
Click to collapse
try edit it using 920text edit
and set permission with solid explorer
spiderio said:
try edit it using 920text edit
and set permission with solid explorer
Click to expand...
Click to collapse
Edit: Restored -- Got it working.
deKofi said:
Guys,
Do you have some tested DPI for this mobile? I'm little afraid of changing that value. I want a little more space on screen. IMO: This screen resolution is begging for change the DPI value from stock one.
On my Samsung Galaxy S3 I was using DPI 220 and for this screen it was perfect form me.
Click to expand...
Click to collapse
I'm using 560dpi... it looks great and never had any problems
zimmerAndy said:
the build prop is truncated this means you cant change alot of things in it so far i know only dpi can be change..
soo now what.. copied youre build promp to pc open it with tekst editor then change the lines save it and then copied it back to system set permission reboot ALWAYS BACKUP..
Click to expand...
Click to collapse
That works, thank you for the help.

Multi-Windows for all app EMUI 3.1 Honor 6 tested on developer edition rooted

Multi-Windows for all app EMUI 3.1 Honor 6 - tested on developer edition rooted device
Prerequisites
- Rooted device
- Root Explorer
- File "multiwindow_whitelist_apps.xml" modified by me with notepad++
http://www.mediafire.com/download/pj3a0agqrpgkb7m/multiwindow_whitelist_apps.xml
1 - Go to settings/Multitask windows and disable it
2 - Copy the file multiwindow_whitelist_apps.xml in the SD
3 - With Root Explorer copy the file multiwindow_whitelist_apps.xml in data/cust/xml and set permissions chmod 644
https://dl.dropboxusercontent.com/u/10992526/FontTutePics/screenshot(2).jpg
4 - Go to settings/manage app and search HwDualWindowLauncher, clean cache, clean data and reboot
5 - Go to settings/Multitask windows and activate it.
How to add other apps in multiwindow_whitelist_apps.xml
Download Notepad++ and install it
https://notepad-plus-plus.org/
Open Right and select "Edit with Notepad++"
Add this line and replace example: "com.android.vending" with the name of the app you want to open in the Multi-Window
<mw_app package_name="com.android.vending" default_visibility="1"/>
The name of the app you want to add is located in /data/app and matches the folder name
Now you can have all the apps you want in multi-window
{
"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"
}
You were quicker than me as I meant to create such a thread myself
Anyways it isn't all that new, I mean there already is a year old thread on xda, albeit on a different device section. What I wanted to do was to code up a little tool which would poll the package manager to retrieve all the installed packages and then generate the whitelist xml file so you don't have to edit the file manually.
To add to what you have already posted, I've found it's not necessary to disable the package and re-enable it after reboot. It's also possible to make chosen apps invisible in the dual window launcher but still support the feature (activated by holding the multi tasking button or swiping two fingers from the bottom of the screen while you are in the app).
Lastly, I should warn you guys not to add the Huawei launcher to your whitelist as that results in a pretty much buggy behavior (com.huawei.android.launcher).
micechal said:
You were quicker than me as I meant to create such a thread myself
Anyways it isn't all that new, I mean there already is a year old thread on xda, albeit on a different device section. What I wanted to do was to code up a little tool which would poll the package manager to retrieve all the installed packages and then generate the whitelist xml file so you don't have to edit the file manually.
To add to what you have already posted, I've found it's not necessary to disable the package and re-enable it after reboot. It's also possible to make chosen apps invisible in the dual window launcher but still support the feature (activated by holding the multi tasking button or swiping two fingers from the bottom of the screen while you are in the app).
Lastly, I should warn you guys not to add the Huawei launcher to your whitelist as that results in a pretty much buggy behavior (com.huawei.android.launcher).
Click to expand...
Click to collapse
I know file multi window_whitelist_apps.xml since it was introduced this feature on 6 Honor, I never modified before because changes frequently ROM like CM11, MIUI 7 or official fimware EMUI. Now I'm using for quite some time developer edition and after making a backup with TWRP i decided to try.
I do not think anyone has the exclusive right to edit the file multiwindow_whitelist_apps.xml
The thread that you are referring uses a different procedure from mine, do not use Notepad ++ to add line code in xml
This guide is infallible even for the most stupid man
Create a tool to write directly to the XML file would be useful but that way you still have to manually write the name of each app
The ideal would be to build an app that selects the other apps and updates directly the XML file, but I think it would be too much work, I think you just put in the xml file only the most used apps.
Regarding the bug Huawei Launcher I had no way to test it because I use Nova Launcher
Just a quick and dirty script I've made:
Code:
import xml.etree.ElementTree as ET
from subprocess import check_output
o = check_output("pm list packages",executable="/system/bin/sh",shell=True)
pkgs = [line[8:] for line in o.splitlines()]
whitelist = ET.Element("multiwindow_whitelist")
for pkg in pkgs:
if pkg == "com.huawei.android.launcher":
continue
mw_app = ET.SubElement(whitelist, "mw_app")
mw_app.set("package_name", pkg)
mw_app.set("default_visibility", "1")
with open("/sdcard/multiwindow_whitelist_apps.xml", "w") as f:
ET.ElementTree(whitelist).write(f, encoding='utf-8', xml_declaration=True)
It will create a whitelist file with all your installed packages ("apps") in "/sdcard/multiwindow_whitelist_apps.xml". After that, you just have to copy the file to "/cust/unicomelectric/cn/xml", clear the application data and reboot.
One way to run this on your phone is by using the QPython application from the Play Store.
Thanks for the nice instructions work like a charm!:good::good::good:
And how about honor 6 emui 4? help more detail
panamera2011 said:
The name of the app you want to add is located in /data/app and matches the folder name
Click to expand...
Click to collapse
Not all of the apps I have installed on my Honor is present in this folder. Can I make them also usable in multi-window mode, and where I can find their names if it's possible?
doctorat said:
Not all of the apps I have installed on my Honor is present in this folder. Can I make them also usable in multi-window mode, and where I can find their names if it's possible?
Click to expand...
Click to collapse
All apps user are located in data / app. Copy the name of the folder that contains the app and write the name of the folder in Multiwindow_withelist_apps.xml file with Notepad ++
Example: to add amazon shop app, write the folder name:
com.amazon.mShop.android.shopping-1
H60-L02 using Tapatalk
panamera2011 said:
Multi-Windows for all app EMUI 3.1 Honor 6 - tested on developer edition rooted device
Prerequisites
- Rooted device
- Root Explorer
- File "multiwindow_whitelist_apps.xml" modified by me with notepad++
http://www.mediafire.com/download/pj3a0agqrpgkb7m/multiwindow_whitelist_apps.xml
1 - Go to settings/Multitask windows and disable it
2 - Copy the file multiwindow_whitelist_apps.xml in the SD
3 - With Root Explorer copy the file multiwindow_whitelist_apps.xml in data/cust/xml and set permissions chmod 644
https://dl.dropboxusercontent.com/u/10992526/FontTutePics/screenshot(2).jpg
4 - Go to settings/manage app and search HwDualWindowLauncher, clean cache, clean data and reboot
5 - Go to settings/Multitask windows and activate it.
How to add other apps in multiwindow_whitelist_apps.xml
Download Notepad++ and install it
https://notepad-plus-plus.org/
Open Right and select "Edit with Notepad++"
Add this line and replace example: "com.android.vending" with the name of the app you want to open in the Multi-Window
<mw_app package_name="com.android.vending" default_visibility="1"/>
The name of the app you want to add is located in /data/app and matches the folder name
Now you can have all the apps you want in multi-window
Click to expand...
Click to collapse
no such file in mentioned directory on EMUI 4.0 for Huawei 5x..
fazorni said:
no such file in mentioned directory on EMUI 4.0 for Huawei 5x..
Click to expand...
Click to collapse
Copy it to the date/cust/xml folder and try if it works, if it does not work nothing happens, you can delete without problems
Or try it in the folder cust/xml
panamera2011 said:
Copy it to the date/cust/xml folder and try if it works, if it does not work nothing happens, you can delete without problems
Or try it in the folder cust/xml
Click to expand...
Click to collapse
Done, it says "this app is not supported by dual windows" for every app even those which worked before
@panamera2011
Thanks for teaching us that!
tested on my H06-L12 rom B807 with root.
worked perfect!
micechal said:
Just a quick and dirty script I've made:
Code:
import xml.etree.ElementTree as ET
from subprocess import check_output
o = check_output("pm list packages",executable="/system/bin/sh",shell=True)
pkgs = [line[8:] for line in o.splitlines()]
whitelist = ET.Element("multiwindow_whitelist")
for pkg in pkgs:
if pkg == "com.huawei.android.launcher":
continue
mw_app = ET.SubElement(whitelist, "mw_app")
mw_app.set("package_name", pkg)
mw_app.set("default_visibility", "1")
with open("/sdcard/multiwindow_whitelist_apps.xml", "w") as f:
ET.ElementTree(whitelist).write(f, encoding='utf-8', xml_declaration=True)
It will create a whitelist file with all your installed packages ("apps") in "/sdcard/multiwindow_whitelist_apps.xml". After that, you just have to copy the file to "/cust/unicomelectric/cn/xml", clear the application data and reboot.
One way to run this on your phone is by using the QPython application from the Play Store.
Click to expand...
Click to collapse
Great script!
just a question, can I run this via BusyBox?
SM26 said:
@panamera2011
Thanks for teaching us that!
tested on my H06-L12 rom B807 with root.
worked perfect!
Great script!
just a question, can I run this via BusyBox?
Click to expand...
Click to collapse
It is an integrated script EMUI, I just added more app, busybox has nothing to do [emoji3]
H791 using Tapatalk
panamera2011 said:
It is an integrated script EMUI, I just added more app, busybox has nothing to do [emoji3]
H791 using Tapatalk
Click to expand...
Click to collapse
sorry but I don't fully understand you.
to make an app work with multi-window, you have to add her to the white-list xml.
you can add manually (like you said in the OP)
or I can use @micechal script.
to run his script, I used QPython, and it worked perfectly.
but BusyBox also has an option to run scripts.
I'm asking if this script can be executed by BusyBox instead of QPython.
SM26 said:
sorry but I don't fully understand you.
to make an app work with multi-window, you have to add her to the white-list xml.
you can add manually (like you said in the OP)
or I can use @micechal script.
to run his script, I used QPython, and it worked perfectly.
but BusyBox also has an option to run scripts.
I'm asking if this script can be executed by BusyBox instead of QPython.
Click to expand...
Click to collapse
I have modified xml file with Notepad ++, not used QPython
H791 using Tapatalk
SM26 said:
sorry but I don't fully understand you.
to make an app work with multi-window, you have to add her to the white-list xml.
you can add manually (like you said in the OP)
or I can use @micechal script.
to run his script, I used QPython, and it worked perfectly.
but BusyBox also has an option to run scripts.
I'm asking if this script can be executed by BusyBox instead of QPython.
Click to expand...
Click to collapse
I have modified xml file with Notepad ++, not used QPython
H791 using Tapatalk
SM26 said:
I'm asking if this script can be executed by BusyBox instead of QPython.
Click to expand...
Click to collapse
I don't use BusyBox, so I can't really answer your question properly, but if it lets you run any Python code/script then it should just work.
Personally I use Termux right now and I can recommend using it if for some reason QPython doesn't suit you. To install python in Termux, you'd basically have to run these two commands:
Code:
apt update
apt install python2
then execute any python scripts with
Code:
python2 /path/to/script.py
micechal said:
I don't use BusyBox, so I can't really answer your question properly, but if it lets you run any Python code/script then it should just work.
Personally I use Termux right now and I can recommend using it if for some reason QPython doesn't suit you. To install python in Termux, you'd basically have to run these two commands:
Code:
apt update
apt install python2
then execute any python scripts with
Code:
python2 /path/to/script.py
Click to expand...
Click to collapse
QPython works fine.
I just wanted to save an app.
BusyBox can run .sh files, and this is a .py code.
(I don't know .sh code syntax)
fun fact, BusyBox can edit and save .Py files, but can't execute them!
or at least I can't make him do that.
How to achieve this in EMUI 4.0.1

Boost Volume Headphones Z3 23.5.A.0.570 MM (Required Root)

1 - Check Root Device!
2 - Download ES File Explorer (Google Play)
3 - Open ES File Explorer and accept permissions Root.
4 - Open Tools and mark Root Explorer.
5 - Come Back Local, and / Device next Open System after etc
6 - Paste file mixer_paths.xml (include link end post) and Replace existing File. (if you do not understand look at the attached images in the post.)
7 - Restart your Device
8 - Finish!
if by chance, your phone is muted after restart, follow These steps.
Open ES File Explorer, browse by location> / Device> System> etc and select mixer_paths.xml on file, go to properties, rw-rw-rw Then permissions and click change and tick all the boxes in Read and Write click ok and restart your device.
to better understand, look at the steps in the last images attached in the post.
For your safety also offers the original file if you can not apply the mod.
(Backup Stock Mixer_Paths.xml) >> https://mega.nz/#!to1EEZjD!JSLqydRhr9voea69grE3kCOwUj-cOCZNdbphm_Xtm_c
Download MOD >> https://mega.nz/#!ppcDhJpT!kdOAb-aoTPOol1PXVNgxbgOxnb0-6InoZ8pHA5_LlcE
works great.... thanks man!!!!
boss, you have A method that works in the 23.a.1.291 compilation?
DanielG_97 said:
boss, you have A method that works in the 23.a.1.291 compilation?
Click to expand...
Click to collapse
this will work in all marshmallow versions, just copy and set permission as (rw,r,r) or (644)
and reboot your device.:good::good:
---------- Post added at 08:25 PM ---------- Previous post was at 08:10 PM ----------
DanielG_97 said:
boss, you have A method that works in the 23.a.1.291 compilation?
Click to expand...
Click to collapse
this will work in all marshmallow versions, just copy and set permission as (rw,r,r) or (644)
and reboot your device.:good::good:
is there any method to increase the loudspeaker volume output ?

Categories

Resources