[MOD/PORT] [XPOSED/MAGISK] [MM/N/O] Sony Stock Call Recording + Settings - v3.0.0 - Sony Cross-Device General

Mod/Port - Call Recording
Features:
- Call Recording for Sony Stock MM and N
- Call Files App
Permissions:
Feel free to use it in your rom. Credits and Thanks will always be welcome!!
Requeriments:
- Recovery
- Super User Mode (patched services.jar - 2nd post - or Super User Mode X xposed module installed and activated) << YOU HAVE BEEN WARNED!!!
Install:
1. Download and flash always the latest version (System-Mode or Magisk-Module) attached below
2. Done!
Enabling/Disabling features:
1. Run commands below in a shell terminal:
Recording (change ** to 1 to enable or 0 to disable)
Code:
settings put system somc.call_recording [B][COLOR="Blue"]**[/COLOR][/B]
Recording beep tone (change ** to 1 to enable or 0 to disable)
Code:
settings put system somc.call_recording_beeptones [B][COLOR="Blue"]**[/COLOR][/B]
Recordings:
They will be found in the internal storage at /CallRecorder folder
Info:
Stock KitKat apks ripped from L55U 23.0.1.F.0.98 R21B CN 1288-4065 firmware
Click to expand...
Click to collapse
Xposed Module - Xperia Call Recording X (MM / N) - Settings
Features:
- Call Recording master switch (on | off)
- Auto record incoming calls (on | off)
- Auto record outgoing calls (on | off)
- Recordings file format (*.amr | *.mp3)
- Display recording notification (on | off) << Android N only (NEW)
- Play beep when recording (on | off)
- Stop recording automatically at the end the call
- Beep at the beginning of a call (if enabled)
- New file format = PhoneNumber_Date_Time.*** (for easy identification of recording files)
- All features injected directly in the stock Call Settings
- Source code
Permissions:
Do whatever you want, but ... DO NOT PUBLISH MY SOURCE CODE ANYWHERE!!
Requeriments:
MM >> Xposed Framework for Marshmallow
N >> Xposed Framework for Nougat
Install:
1. Download and install always the latest apk compatible with your android version (attached below)
2. Activate it (Xposed Installer modules) and reboot
3. Done!
Click to expand...
Click to collapse
Warning:
TRY IT OUT AT YOUR OWN RISK!!!
Special thanks:
- Sony
- @rovo89
Enjoy it!

How to patch your own services.jar
First of all, DO NOT COPY CODE FROM ANY GUIDE/TUTORIAL, NOT EVEN FROM THIS ONE! Firmwares do change all the time, DO THE PROCEDURE BELOW ALWAYS BY YOURSELF!
Keep in mind that all code below is just for your undertanding, so again, DO NOT COPY CODE FROM ANY GUIDE/TUTORIAL, NOT EVEN FROM THIS ONE!
1. Decompile your ALREADY DEODEXED and stock/untouched services.jar
2. Edit ...\smali\com\android\server\pm\PackageManagerService.smali file with notepad++
3. Look for compareSignatures method:
Note: NEVER TOUCH RED LINES
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
[B][COLOR="Red"].locals 8
.param p0, "s1" # [Landroid/content/pm/Signature;
.param p1, "s2" # [Landroid/content/pm/Signature;[/COLOR][/B]
.prologue
const/4 v3, 0x1
const/4 v5, -0x3
[B][COLOR="Blue"]const/4 [COLOR="DarkOrange"]v4[/COLOR], 0x0[/COLOR][/B]
.line 4832
if-nez p0, :cond_1
.line 4833
if-nez p1, :cond_0
:goto_0
return v3
.line 4835
:cond_0
const/4 v3, -0x1
goto :goto_0
.line 4838
:cond_1
if-nez p1, :cond_2
.line 4839
const/4 v3, -0x2
return v3
.line 4842
:cond_2
array-length v6, p0
array-length v7, p1
if-eq v6, v7, :cond_3
.line 4843
return v5
.line 4847
:cond_3
array-length v6, p0
if-ne v6, v3, :cond_5
.line 4848
aget-object v3, p0, v4
aget-object v6, p1, v4
invoke-virtual {v3, v6}, Landroid/content/pm/Signature;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_4
move v3, v4
:goto_1
return v3
:cond_4
move v3, v5
.line 4850
goto :goto_1
.line 4853
:cond_5
new-instance v0, Landroid/util/ArraySet;
invoke-direct {v0}, Landroid/util/ArraySet;-><init>()V
.line 4854
.local v0, "set1":Landroid/util/ArraySet;, "Landroid/util/ArraySet<Landroid/content/pm/Signature;>;"
array-length v6, p0
move v3, v4
:goto_2
if-ge v3, v6, :cond_6
aget-object v2, p0, v3
.line 4855
.local v2, "sig":Landroid/content/pm/Signature;
invoke-virtual {v0, v2}, Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
.line 4854
add-int/lit8 v3, v3, 0x1
goto :goto_2
.line 4857
.end local v2 # "sig":Landroid/content/pm/Signature;
:cond_6
new-instance v1, Landroid/util/ArraySet;
invoke-direct {v1}, Landroid/util/ArraySet;-><init>()V
.line 4858
.local v1, "set2":Landroid/util/ArraySet;, "Landroid/util/ArraySet<Landroid/content/pm/Signature;>;"
array-length v6, p1
move v3, v4
:goto_3
if-ge v3, v6, :cond_7
aget-object v2, p1, v3
.line 4859
.restart local v2 # "sig":Landroid/content/pm/Signature;
invoke-virtual {v1, v2}, Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
.line 4858
add-int/lit8 v3, v3, 0x1
goto :goto_3
.line 4862
.end local v2 # "sig":Landroid/content/pm/Signature;
:cond_7
invoke-virtual {v0, v1}, Landroid/util/ArraySet;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_8
.line 4863
return v4
.line 4865
:cond_8
return v5
.end method
4. Shrink it:
Note: There will always be a line with value 0x0, and this is the line you will use for the return of the method (orange v? below), in my case it is: const/4 v4, 0x0 (yours may differs)
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
[B][COLOR="Red"].locals 8
.param p0, "s1" # [Landroid/content/pm/Signature;
.param p1, "s2" # [Landroid/content/pm/Signature;[/COLOR][/B]
.prologue
[B][COLOR="Blue"]const/4 [COLOR="DarkOrange"]v4[/COLOR], 0x0[/COLOR][/B]
return [B][COLOR="DarkOrange"]v4[/COLOR][/B]
.end method
REMEMBER, THE METHOD ABOVE IS JUST FOR YOUR UNDERSTANDING, DO NOT USE IT, UNLESS IT'S IDENTICAL TO YOURS!
That's it!

Changelog
Mod/Port:
v3.0.0 - 09/Dec/2017
- Android O compatibility (41.3.A.0.401 firmware)
- Magisk module (still requires super user mode/mod)
Xperia Call Recording X (N) << Call Recording Settings (Xposed module for Android N only):
v2.0.0 - 21/Nov/2017
- Call Recording master switch (on | off)
- Auto record incoming calls (on | off)
- Auto record outgoing calls (on | off)
- Recordings file format (*.amr | *.mp3)
- Display recording notification (on | off) << Android N only (NEW)
- Play beep when recording (on | off)
- Stop recording automatically at the end of the call
- Beep at the beginning of a call (if enabled)
- New file format = PhoneNumber_Date_Time.*** (for easy identification of recording files)
- All features injected directly in the stock Call Settings
- Source code
Mod/Port:
v2.0.0 - 06/Mar/2017
- Android N compatibility
Xperia Call Recording X (MM) << Call Recording Settings (Xposed module for Android M):
v1.0.0 - 18/Aug/2016
- Call Recording master switch (on | off)
- Auto record incoming calls (on | off)
- Auto record outgoing calls (on | off)
- Recordings file format (*.amr | *.mp3)
- Play beep when recording (on | off)
- Stop recording automatically at the end of the call
- Beep at the beginning of a call (if enabled)
- New file format = PhoneNumber_Date_Time.*** (for easy identification of recording files)
- All features injected directly in the stock Call Settings
- Source code
Mod/Port:
v1.0.0 - 01/Aug/2016
- Initial release

Working perfectly here. Tks bro!!

Esse @serajr é bruto!
Thank you friend!

Perfect for me!!! Thanks
Enviado do meu D6603 através de Tapatalk

U're great man and do alot of things
I feel proud to know u

Thanksss!!! One of best features that i've been looking for!

at last thanks bro

thanks!

Working for Z2 MM.575. Tks bro!!!

@serajr Great Work as always.
Wow!!!! Was waiting for this from long. I tried myself making call recording on MM 2 times but failed may be i was not having much sources.
I will try this on my Z3
Thanks a lot.
Regards
Mohitash
UPDATE: Just tried on my Z3 with full screen caller screen. And its overlapping the buttons as Record button is coming at the bottom where buttons are. So may be this can be resolved by adjusting Record Button layout gravity-or-margin-or-padding or may be some smali edit needed?
(I am looking forward to edit it for my device)

Thanks a ton bro @serajr ^^
Sent from MWA Pro-Spect V1.0.0 On My Z5

Thanks for works mate!!!
Enviado desde mi D6603 mediante Tapatalk

Working on existenz 390 MM.. Thanks ?
Sent from my D6603 using Tapatalk

Any working with recovery

Working on my z5 .253 BUT continues to record after the call has ended.
Thanks for the excellent work.
Sent from my E6653 using Tapatalk

Mohitash said:
@serajr Great Work as always.
Wow!!!! Was waiting for this from long. I tried myself making call recording on MM 2 times but failed may be i was not having much sources.
I will try this on my Z3
Thanks a lot.
Regards
Mohitash
UPDATE: Just tried on my Z3 with full screen caller screen. And its overlapping the buttons as Record button is coming at the bottom where buttons are. So may be this can be resolved by adjusting Record Button layout gravity-or-margin-or-padding or may be some smali edit needed?
(I am looking forward to edit it for my device)
Click to expand...
Click to collapse
Thank you! This is for stock InCallUI.apk. I don't know the mod you talked about.
goRt said:
Working on my z5 .253 BUT continues to record after the call has ended.
Thanks for the excellent work.
Sent from my E6653 using Tapatalk
Click to expand...
Click to collapse
Thanks... stock behavior buddy, but ofc it must be improved!
I don't have time to do it right now... on next weekend maybe!!

Hey serajr, thanks so much for this, I've tried to port the LP version myself but never got far.
Everything seems to work as advertised. One question though, would I need to add the "enable call recording" and "disable beep" switches back into call settings (settings.apk) manually?

Bloodlvst said:
Hey serajr, thanks so much for this, I've tried to port the LP version myself but never got far.
Everything seems to work as advertised. One question though, would I need to add the "enable call recording" and "disable beep" switches back into call settings (settings.apk) manually?
Click to expand...
Click to collapse
Thank you! No, you don't need to play with any apk!

Related

[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine | STOCK/CM 4.5 | 22/10/2013

░▒▄█▀▄░ █▀▄ █▀▀▄ █▀▀ █▄░█ ▄▀▄ █░░ ▀ █▄░█ █▀▀░░▒▐█▀▀ █▄░█ ▄▀▀░ ▀ █▄░█ █▀▀
▒▐█▄▄▐█ █░█ █▐█▀ █▀▀ █░▀█ █▀█ █░▄ █ █░▀█ █▀▀░░▒▐█▀▀ █░▀█ █░▀▌ █ █░▀█ █▀▀
▒▐█░▒▐█ ▀▀░ ▀░▀▀ ▀▀▀ ▀░░▀ ▀░▀ ▀▀▀ ▀ ▀░░▀ ▀▀▀░░▒▐█▄▄ ▀░░▀ ▀▀▀░ ▀ ▀░░▀ ▀▀▀
Why this tweak never update, is it outdated ?! Check here !
DISCLAIMER:
No one will be responsible for any problem Adrenaline™ Engine may cause to you. Proceed With Caution !
(By Installing Adrenaline™ Engine, You Have Agreed To This)
To Devs
If you want to include this into your ROM release, please give me credit in your ROM thread and also a link which directs to Adrenaline™ Engine.
You have agreed to this if you're going to use any parts of my work:
Code:
If you are taking any of my work as reference, please add credit and maybe a link of my thread would be nice.
Pm me and tell me about your project.
Provide 'do & don't' and warnings about issues that Adrenaline Boost could cause to end user's device.
If you're using my file, please do not edit my #comment or add any main function unrelated system outputs.
If you're using main function related code of my files, please add '#NAME_OF_MY_FILE by ImbaWind' on top of your file and maybe more precisely, which part of it.
Thanks for the cooperation
Description
It's ThunderBolt by pikachu01. I repacked it with more features and optimize it for our Galaxy Ace !
This is the one I included in my Adrenaline™ ROM, for those who are using my ROM please don't flash this again as my Adrenaline™ ROM has special settings !
Using this with Adrenaline Boost is recommended to unleash its full potential.
Features
✔ Increase touchscreen sensitivity
✔ Less RAM usage through zipalign. | World first smart zipaligning
✔ Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access. | World first smart sqlite optimizing
✔ Faster disk access through remount script (noatime, disabled barrier etc) | World first smart remounting
✔ Better network throughput from TCP tweaks and 3G tweaks
✔ Graphics Enhancement
✔ Overall Better Performance and Battery Life
✔ Less lags through LMK Tweak and Various VM Tweaks
✔ Faster SDCARD Read/Write Speed
✔ CWM Flashable
✔ Transform your phone to Lamborghini. (joke , lol)
What You Need
◢ Android Gingerbread 2.3.x
◢ At least 2MB free on /system
◢ A Usable Brain
◢ A Pair of Sharp Eyes
◢ Clockworkmod (4/5 doesn't matter)
◢ Flashable zip Installing Experience
◢ Kernel that supports init.d
◢ Ext4 system format if you want to use the remount script
**Do a backup before your try anything as usual !!!
Installation
1.Delete all others ram scripts you have installed in "/system/etc/init.d"
2. Copy 'Adrenaline Engine.zip' to your phone SD card
*For those who are using Cyanogenmod, download CM version
3. Reboot your phone to recovery mode
4. Mount /system and /data
5. Flash Adrenaline Engine.zip
6. Reboot your phone when finished installation
7. Done
Note: Installing newer version of Adrenaline™ Engine will replace old version automatically
How to uninstall ?
Reboot cwm, mount /system and install Uninstaller from sdcard.
*For 3.5 and after, you need to download the new uninstaller to uninstall.
Credits
▷ pikachu01 - ThunderBolt [Give Him A Thanks PLEASE !!]
▷ Zacharias.maladroit
▷ XDA's devs for some reference of some tweaks in Zach's scripts
▷ zeppelinrox Supercharger scripts
▷ nikademus - Fugutweaks
▷ fuss132 - Touchscreen Sensitivity Mod
▷ iandol for the idea of logging system, smart zipaligning, sample and being a mentor
Rate this thread ✯ ✯ ✯ ✯ ✯ if you feel that Adrenaline™ Engine really made you device something different !
Download
[ - Report - ]
-Statusbar gone after flasing [Minority of users]
*If you meet any bootloop , please upload the folder that I have mentioned in download page.
Currently Supported Devices :
Galaxy Fit
Galaxy Gio
Galaxy Mini
Galaxy Young
No mirrors please.
If you shared this page to anywhere else, please put a link directs to here so that users will be able to get further updates !
*If your phone is not booting up after applying the 3.5 and after version, please reboot again.
Now your device should be able to boot up because the logging system has disabled the Engine. (That's mean the Engine is not running)
Use any file explorer with root access (eg: Root Explorer), go to /data , copy the whole 'adrenaline' folder to sdcard, zip it and upload to me here so I can see what's the problem
For version 3.5 and after, please mount /system and /data before installing, or else the Engine won't run.
Some notes to check whether Adrenaline Engine is installed properly and is working properly.
Changelog
> 5/4/2012 <
- Uploaded Cyanogenmod Version.
> 7/4/2012 <
- Updated both CM and Stock version to Ver 1.1
- Should be able to bypass websites. eg: thepiratebay.se (Please tell me whether it works because I add this mod to build.prop and it works)
> 17/4/2012 <
- Name changed from Adrenaline™ Script to Adrenaline™ Engine.
- Updated both stock and CM to Ver 2.0
- Delete junk/temporary files on boot
> 18/4/2012 <
- Updated both stock and CM version to 3.0
- Added prop tweaks
> 22/4/2012 <
-Updated both stock and CM version to 3.1 experimental
-Disabled some prop tweaks
> 1/6/2012 <
-Adrenaline Engine 3.2
-Updated prop tweaks , now it will use tweaks depends on your system available prop slot, thanks to iandol for the idea
*Hopefully solve the bootloop problem caused in 3.0
> 1/6/2012 <
-Adrenaline Engine 3.3
-Updated prop conditional applying | I think I wrongly calculated , sorry for the inconvenient
*It should fix the bootloop problem caused in 3.2
> 2/6/2012 <
-Adrenaline Engine 3.4
-Updated prop conditional applying [Again]
-Now using logging system | thanks to iandol for the sample and idea !
*Again, hopes it fix the bootloop problem in previous version
> 3/6/2012 <
-Adrenaline Engine 3.5
-Fix a stupid mistake made by me that cause the script wont run properly
*In version 3.5 and after, please mount /system and /data , or else the Engine wont run.
> 3/6/2012 <
-Uploaded a new Adrenaline Engine Uninstaller
-For uninstall version 3.5 or above , please use the new uninstaller
> 3/6/2012 <
- Adrenaline Engine 4.0
-Sorry the the ext4 lag fix remount script, I forgot to add it in previous version, now I add it back with world first smart remounting. It will remount your system depends on your partition.
-World first smart zipaligning. Now it will auto zipalign every fifth boot. Thanks to iandol for the idea, now it's my holiday so I make it become true
-World first smart sqlite optimizing. Same as zipalign, it will optimize ur database every fifth boot. Thanks to iandol for the idea of zipaligning
-Lower down some performance for battery sake. The battery life is okay when normal use but there's a notice-able battery drain when 3D gaming! | In previous version I tweaked to MAXIMUM performance
-Disabled some prop tweaks that cause cyanogenmod user stuck in bootloop. Thanks to all of them who send me the debug log
-Updated prop conditional applying.
-Updated local.prop from pikachu01's 80mb LMK v1.1.0
-Updated tcp tweaks from pikachu01's thunderbolt!
> 4/6/2012 <
Adrenaline Engine CM 4.1
-Disabled most of the prop tweaks in cm version
*Hopes it fix the bootloop problem
> 6/6/2012 <
Adrenaline Engine 4.1
Adrenaline Engine CM 4.1b
-Fixed some minor mistakes
> 7/6/2012 <
Adrenaline Engine 4.2 (Both Version)
-Better logging system | It help me more understand what's the problem causing to you
> 8/6/2012 <
Adrenaline Engine CM 4.2b
-Bootloop for cyanogenmod fixed
> 7/9/2012 <
Adrenaline Engine 4.3 (Both Version)
-Updated some prop tweaks in Stock version
-Fixed network buffer tweaks
> 30/10/2012 <
Adrenaline Engine 4.4 (Both Version)
-Fixed some minor error in deleting
> 22/10/2013 <
Adrenaline Engine 4.5 [STOCK]
-Removed DNS tweaks because it's overwritten again during boot and thus not working
Adrenaline Engine 4.5 [CM]
-Added screen dithering
First
Can I use this script with slaid's lagfree v3?
Sent from my GT-S5830 using Official CyanogenMod 7.2
subha632 said:
First
Can I use this script with slaid's lagfree v3?
Sent from my GT-S5830 using Official CyanogenMod 7.2
Click to expand...
Click to collapse
no , u have to delete either one
you cant have 2 wives at same time , they will kill you when u asleep !
Your script seems very good! Just flashed, gonna test it for a couple of days! Thanked!
Sent from my Galaxy Ace on Cm 7.2
nice work bro.
a new and refreshed adrenaline..
Nice work !
will try it tmw
Thanks
abhibnl said:
nice work bro.
a new and refreshed adrenaline..
Click to expand...
Click to collapse
thanks
Jar3112 said:
Your script seems very good! Just flashed, gonna test it for a couple of days! Thanked!
Sent from my Galaxy Ace on Cm 7.2
Click to expand...
Click to collapse
thanks.i would love to hear some feedback !
can i flash this script on stock rom with cf root an ext4 system?
areyie9292 said:
can i flash this script on stock rom with cf root an ext4 system?
Click to expand...
Click to collapse
of course u can !
i'm using my Adrenaline™ ROM which is based on stock rom and it has ext4 system too
AWESOME WORK MAN.
FINALLY A SCRIPT BOOT WITH ALL PERMISSIONS!
Sent from my GT-S5830 using xda premium
yeowwwai said:
AWESOME WORK MAN.
FINALLY A SCRIPT BOOT WITH ALL PERMISSIONS!
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
yea , actually 755 will works already
imbawind said:
yea , actually 755 will works already
Click to expand...
Click to collapse
Yea. But with all looks better.
Sent from my GT-S5830 using xda premium
can i use this on CM9 ROM? and with you other terminator scripts?
imbawind said:
of course u can !
i'm using my Adrenaline™ ROM which is based on stock rom and it has ext4 system too
Click to expand...
Click to collapse
terima kasih bro!!! hahah.. your script work great!!!
I too think that this script works great! Testing...
Can we use with a CM9 ROM ( Maclaws rom ) ??
I know it was asked, but becouse I see no reply, wanted point it out again
Bro script rocks but I checked you init.d folder it has files with all permission. Will this work.
And ya has less boot time then slaid.
Samsung galaxy Ace India ddqk8 2.3.6 with cf-root b83 using link2sd

[Guide]How to port rom/Tweake rosie and more

How To Port a Rom
Most efficiant way .​
Hello Guys i have been triying a lot of methods to port roms and i found this method brilliant and a 100% Working on HTC And samsung devices 90% On others as i did not test them myself
Let us start .First you need the following :
1.DsiXDA Android Kichen.
2.Kernel Sooting the rom that you want to port to device .
3.A little knowlege on how to port roms.
4.Device with same resolution to port rom from.
5.Note pad++ Or adobe dreamware.
6.Winrar Zip archieve.
Ok so now make 2 folders one named base and the other named port.
Copy the rom that you want to port to your device to port folder and copy a rom that works on device to base folder.
In Port folder delete USR Folder and replace it with USR Folder from base folder.
Now lets open bin in port folder And in base folder.
Copy and replace the following from base to port.
Code:
[SIZE="3"]1.rmt_storage.
2.vold
3.wpa_cli
4.wpa_supplicant[/SIZE].
Again lets open ect folder in base and port folder.
Now Delete the following in port folder:
Code:
[SIZE="3"]1.hw folder .
2.modules folder. [/SIZE]
And Replace them with HW And modules folder from base folder.
Now copy and replace the following lib files from base rom to port.
Code:
[SIZE="3"]1.libhardware_legacy.so
2.libhtc_ril.so
3.libhtc_ril_switch.so
4.libril.so[/SIZE]
Now lets open ect folder in port and base folders.
Delete the following folders from port rom:
Code:
[SIZE="3"]1.Firmware.
2.init.d
3.Sound Image. [/SIZE]
And replace them with the following from base rom:
Code:
[SIZE="3"]1.Firmware.
2.init.d
3.Sound Image[/SIZE]
Now copy and replace the following in ect folder from base rom to port rom:
Code:
[SIZE="3"]1.AdieHWCodec
2.AIC3254_REG
3.AIC3254_REG_XD
4.AudioBTID
5.CodecDSPID
6.TPA2051_CFG
:You might not find them all So dont panic.[/SIZE]
Now If your your using "adreno processor or any processor" and the port rom has "lets say portprocessor" in ect of base rom you will find "yourprocessor_config" Copy and paste it in ect of port rom now delete "Portprocessor_config"
Now copy and replace vold.fstab from base rom to port.
Last step delete boot.img in port and replace it with the one from base.
:if both devices have same storage mods "I mean both need sd cards"You can continue if one of them has "SD CARD AND THE OTHER NO SD CARD MAKE SURE!!! to copy and replace ext.jar from framewrok folder in base rom to framework folder in port rom.
Now lets open customize folder in port rom
Customize/MNS/default.xml
And search for the following code:
Code:
[SIZE="3"]
[COLOR="Red"]HTC_Sensation_xl[/COLOR]/1.0
[/SIZE]
Now i am using htc sensation xl rom as a base as base and need to port it to desire hd replace code with this:
Code:
[SIZE="3"]
[COLOR="Red"]HTC_Desire_HD[/COLOR]/1.0
[/SIZE]
Exit and save
Ok now open customice/cid/default.xml with the note pad ++ or adobe dreameware and find the following code :
Code:
[SIZE="3"]
[COLOR="Red"]HTC Sensation xl with beats audio[/COLOR]
and replace it with this code:
Code:
[COLOR="Red"]HTC Desire HD with Beats Audio[/COLOR]
[/SIZE]
Exit and save
now lets open Build.prop in port folder and in base folder with note pad ++ or adobe dreamware
no find the following codes:
Code:
[SIZE="3"]# ro.build.product is obsolete; use ro.product.device
ro.build.product="Replace with one of base rom"
ro.build.product="Replace with one of base rom" [MENTION=522570 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION]@@[/MENTION]@@
ro.product.processor="Replace with one of base rom"
ro.product.ram="Replace with one of base rom"
ro.product.display_resolution="Replace with one of base rom"
ro.product.main_camera="Replace with one of base rom"
ro.product.front_camera="Replace with one of base rom"
ro.product.bluetooth="Replace with one of base rom"
ro.product.wifi="Replace with one of base rom" [MENTION=522570 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION]@@[/MENTION]@@
ro.build.host="Replace with one of base rom"
ro.product.model="Replace with one of base rom"
ro.product.brand="Replace with one of base rom"
ro.product.name="Replace with one of base rom"
ro.product.device="Replace with one of base rom"
ro.product.board="Replace with one of base rom"
ro.product.cpu.abi="Replace with one of base rom"
ro.product.cpu.abi2="Replace with one of base rom"
ro.product.manufacturer="Replace with one of base rom"
ro.product.version="Replace with desired name"
ro.build.id="Replace with desired name"
ro.build.display.id="Replace with desired name" [/SIZE]
Exit and save
Now delete Meta-inf folder in port and replace it with one from base
Now you can open updater script and change some name like name of rom......
Like my work ?Donate to me and help me expand or you can just hit the thanks button Thanks{Pleaze list donations on thread}
Thanks The Epik Dude For Figuring Out Some Mistakes and Helping me In Tests​
Build.Prop Tweaks
Tweaks
No Rom Is complete with out tweaks​Build.prop tweaks:
Code:
Add these to you Build.prop:
# Disable checkin services
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
# Enable noice cancelling mic
media.a1026.enableA1026=1
# Enable Dual Transfer Mode
ro.ril.enable.dtm=1
# Disable debugging notify icon
persist.adb.notify=0
# For emmc phone storage
ro.phone_storage=0
# Render UI with GPU
debug.sf.hw=1
# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
# Improve overall media quality
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
# Disable 3 Dot menu
qemu.hw.mainkeys=1
# Increase overall touch responsiveness
windowsmgr.max_events_per_sec=[COLOR="Red"]300 For newer devices you can go up to 400 [/COLOR]
debug.performance.tuning=1
video.accelerate.hw=1
# Disable checkin services
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
# Improve Dalvik
dalvik.vm.heapsize=128m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapstartsize=5m
dalvik.vm.execution-mode=int:jit
# Disable sending data and logging
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
dalvik.vm.checkjni=false
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Disable HTCs Screenshot feature
ro.htc.framework.screencapture=false
# Disable Bytecode Verification
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=v,m=y
# Enable 3 fingers swipe
ro.framework.gestureservice=1
[COLOR="Red"]#Bravia Engine
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1 Only if you want to add bravia engine[/COLOR]
# Enable GPU Acceleration
debug.fb.rgb565=0
debug.sf.hw=1
video.accelerate.hw=1
debug.performance.tuning=1
persist.sys.composition.type=gpu
[COLOR="Red"]# Qualcomm display settings
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true Only if you have qualcom chipset.[/COLOR]
How to add bravia engine:
Donload this View attachment 1803234 and extract copy both folders and merge with folders of rom
Like my work ?Donate to me and help me expand or you can just hit the thanks button Thanks{Pleaze list donations on thread}​
For htc devices only Rsie+systemui tweaks
Rosie + Sytem Ui Tweaks​
First i wanted to teech you how to enable unlock animation one sese 4 and up roms .
What uou need is apktool <If your new to apktool use i bot peaches apktool> and one click signer.
No after you install framework files lets decompile rosie.apk with this code :
Code:
Apktool d rosie.apk Animrosie
After decompiling navigate to animrosie and go into :
animrosie\res\values\arrays.xml and open arrays with notepad++ or adobe dreamware
Now you will probably see this code :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="app_sort">
<item>Alphabetical (A to Z)</item>
<item>Date (Most recent)</item>
<item>Date (oldest)</item>
</string-array>
<string-array name="default_scene_folder_title">
<item>Favorites</item>
</string-array>
<string-array name="default_scene_folder_title_id">
<item>nn_favorites</item>
</string-array>
<string-array name="default_scene_folder_title_local">
<item>Favorites</item>
</string-array>
<string-array name="default_scene_folder_title_id_local">
<item>default_scene_folder_title</item>
</string-array>
<string-array name="custom_pause_wallpapers">
<item>com.htc.android.WeatherLiveWallpaper.Weather</item>
<item>com.htc.android.weatherlivewallpaper.service.WeatherWallpaperService</item>
</string-array>
</resources>
I want you to change this code to this code :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="app_sort">
<item>Alphabetical (A to Z)</item>
<item>Date (Most recent)</item>
<item>Date (oldest)</item>
</string-array>
<string-array name="default_scene_folder_title">
<item>Favorites</item>
</string-array>
<string-array name="default_scene_folder_title_id">
<item>nn_favorites</item>
</string-array>
<string-array name="default_scene_folder_title_local">
<item>Favorites</item>
</string-array>
<string-array name="default_scene_folder_title_id_local">
<item>default_scene_folder_title</item>
</string-array>
<string-array name="custom_pause_wallpapers">
<item>com.htc.android.WeatherLiveWallpaper.Weather</item>
<item>com.htc.android.weatherlivewallpaper.service.WeatherWallpaperService</item>
</string-array>
[COLOR="Red"] <string-array name="unlock_spin_markers">
<item>unlock_to_00</item>
<item>unlock_to_01</item>
<item>unlock_to_02</item>
<item>unlock_to_03</item>
<item>unlock_to_04</item>
<item>unlock_to_05</item>
<item>unlock_to_06</item>
</string-array>[/COLOR]
</resources>
Add the worlds in red
Now let us recompile with this code :
Code:
Apktool b animrosie animrosie.apk
Now if you had problems compiling rosie add this line to publick.xml same folder:
Code:
<public type="array" name="unlock_spin_markers" id="0x7f050006" />
Now copy anim rosie.apk to one click signed and sign it and its ready to be flashed or replaced in root browser
Now lets learn how to make rosie 4x5 or 5x5 appdrawer <That means all apps>
Decompile rosie.apk and navigate to com\res\valuse and open dimens.xml
Now Lets get ready to code .
Start searching for this :
Code:
app_icon_size_ext
You will find this
<dimen name="app_icon_size">[COLOR="Red"]60.0px[/COLOR]</dimen>
Now 40.0 px is my icon size If i need to make an 5x5 app drawer i will need to change it to [COLOR="Red"]40.0 px[/COLOR]
And for 4x5 rosie 49.0px<You should get the point>
Now save and exit.
Here comes the tricky part's
Now we need to change portrait mode you will need to go to this folder:
Values-norma-hdpi or in some cases valuse-portrat lw630 or valuse-normal-xhdpi ........
Now lets open that folder and search for the folloowing :
Code:
page_view_icon_cell_width
you will find this
<dimen name="page_view_icon_cell_width">[COLOR="Red"]140.0px[/COLOR]</dimen> in my case its 140.px yours might be 120 px I will explain in pic
[ATTACH]1804254._xfImport[/ATTACH]
Now i need to change that code to
<dimen name="page_view_icon_cell_width">[COLOR="Red"]126.0px[/COLOR]</dimen>
now you need to also search for this :
page_view_icon_cell_height
and you will find this
<dimen name="page_view_icon_cell_height">[COLOR="Red"]148.0px[/COLOR]</dimen> in my case
I will need to change it to
<dimen name="page_view_icon_cell_height">106.0px</dimen>
Now for landscape same thing but its in values-land ......... And diffrent valuses .
Now in valuse-Portrait .......... Open integres.xml file and search for the following :
Code:
<integer name="config_allAppsTabbedCellCountX">[COLOR="Red"]4[/COLOR]</integer>
<integer name="config_allAppsTabbedCellCountY">[COLOR="Red"]4[/COLOR]</integer>
Now Change them to these :
<integer name="config_allAppsTabbedCellCountX">[COLOR="Red"]5[/COLOR]</integer>
<integer name="config_allAppsTabbedCellCountY">[COLOR="Red"]5[/COLOR]</integer>
That will make 5x5 apps in drawer
Now same thing in land but diffrent values if you have 480x800 rsolution i suggest cellcount x 6 and cell count y to 3 .
And we are finished recompile rosie and sign and its ready to be flashed .
Rosie empty flashable zip .
Like my work ?Donate to me and help me expand or you can just hit the thanks button Thanks{Pleaze list donations on thread}​
reserv 3
Reserved 3
reserved 4
reserved 4
dude there isnt any rmt-storage in port or base
Re: [Guide]How to Port a rom and manage tweaks and More.
Nice guide
Another thing u can add as you have used Dxdia kitchen. Is how to change kernel boot splash screen. In boot.img
-Rik[Rittik]
also , my base rom doesnt have hw folder
hw and module folder in port is in lib and not etc
i dont have the 3rd and 2nd lib file you mentioned
Arjav23 said:
also , my base rom doesnt have hw folder
hw and module folder in port is in lib and not etc
i dont have the 3rd and 2nd lib file you mentioned
Click to expand...
Click to collapse
You are Using samsung right ?
Re: [Guide]How to Port a rom and manage tweaks and More.
S.a.M.e.R_d said:
You are Using samsung right ?
Click to expand...
Click to collapse
Ya
Sent from my GT-I5800 using Tapatalk 2
Re: [Guide]How to Port a rom and manage tweaks and More.
I will be making tutoriol tell me what Rom you sana port
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Re: [Guide]How to Port a rom and manage tweaks and More.
S.a.M.e.R_d said:
I will be making tutoriol tell me what Rom you sana port
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Click to expand...
Click to collapse
Lezo and miui from galaxy ace to cm7 galaxy Apollo
Also can i port stock roms to cm7 via this
Sent from my GT-I5800 using Tapatalk 2
Porting a rom from galaxy y to galaxy ace s5830i
U know what's happening here
Device stuck at Samsung galaxy ace s5830i
Here is the logcat
www.pastebin.com/Uia91s4k
Sent from my GT-S5830i using xda premium
Sent from my GT-S5830i using xda premium
Edit
I figured it out
Sent from my GT-S5830i using xda premium
rahulnandwani said:
Edit
I figured it out
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
What was the problem and how did u fix it
Sent from my GT-I5800 using Tapatalk 2
I forgot to copy some lib files from port rom
Lib files given in op
Sent from my GT-S5830i using xda premium
How about hitting the thanks button nate
Sent from my GT-N7100 using xda premium
Hi there,
I have tried to port MIUI roms onto Galaxy Apollo On cm7/alpha 9. The Port has been successful, but there are a few issues, Dailer is stretched and hazy ,so is tthe lockscreen and few other layouts.
I have tried porting from
Galaxy Ace (ARMV6- larger screen than Galaxy Apollo)
Galaxy Spica (ARMV6- almost same screen as Galaxy Apollo)
Galaxy 5 (ARMV6- smaller screen than Galaxy Apollo)
Any help regarding where i need to resize
THe original ROms are resized properly for their own devices.
So what is the issue?
Arjav23 said:
Hi there,
I have tried to port MIUI roms onto Galaxy Apollo On cm7/alpha 9. The Port has been successful, but there are a few issues, Dailer is stretched and hazy ,so is tthe lockscreen and few other layouts.
I have tried porting from
Galaxy Ace (ARMV6- larger screen than Galaxy Apollo)
Galaxy Spica (ARMV6- almost same screen as Galaxy Apollo)
Galaxy 5 (ARMV6- smaller screen than Galaxy Apollo)
Any help regarding where i need to resize
THe original ROms are resized properly for their own devices.
So what is the issue?
Click to expand...
Click to collapse
Mmmm as i think your problem is resolution type ok i have a small fix
Go to build.prop and search for screen densety and make it a little bit smaller if it is 240 make it lets say 238 and check for progress .
Sent from my GT-N7100 using xda premium
Could succesfully create a 4x5 rosie, thats cool.
Now i'm searching for a "How to" of making Advanced Power Menu, Quicksettings (from Status bar) and Cubic Animation.
If some has an idea or could make one would be nice.

[PORT/PATCH][JB] Patching your ROM to look like Xperia 2013 with Almost All Features

ABOUT ME
WHO IS MASTER RIZAL LOVINS ???
JUST FOLLOW ME OR ADD ME AS YOUR FRIEND ON SOCIAL NETWORKS
​​​
{
"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"
}
Hello XDA community ... :laugh:
First time, I ported to the ranks Xperia 2011
Finally, i successfully ported almost all features for all devices from Sony Xperia 2013,
And now offering a patch ROM Xperia 2013 build 12.0.A.1.211 for the CUSTOM JELLY BEAN ROM 4.1.2 & 4.2.2 All Device like CM10/CM10.1/AOKP/ParanoidAndroid/PAC
This patch is based from Xperia SP and from my Xperia V using Jelly Bean ROM
This patch not one apps will be replaced but will be removed some apps, this is for more free space on system ROM ... the Patch fully modified by me and some porting library to get it work almost all applications from Xperia 2013
This is very simple if you want flashing custom Jelly Bean ROM with almost all features from SONY Xperia 2013
DISCLAIMER
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Patch
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
FEATURES WORKING :
Code:
- Added SONY Media Applications Xperia SP
- Mobile Bravia Engine 2 for Enhance viewing Image Quality in Album & Movies
- Socialife Xperia Z Modified again by me for FB/Twitter/Youtube/Google Reader via Socialife
- Xperia SP Keyboard with fix smiley & symbol
- Movies with download video info
- Album with online photos
- Slideshow in Album but not SensMe Slideshow
- Photo Editor in Album
- Walkman Xperia SP
- Walkman Music extension for find info music on web
- Walkman ClearAudio+ fully working
- Walkman Music Widget
- Walkman Visulaizer (only work in 4.1.2)
- Photos & Video Widget
- Friend's & Music in Walkman
- Latest TrackID Mod with Customized added
- Xperia Z Launcher
- New Theme Stock Xperia (Lovins Xperia Theme) Theme Chooser
FEATURES NOT WORKING :
Code:
- xLoud in Walkman
- ClearPhase in Walkman
- S-Force in Walkman
- Small Apps
- Edit/Download Music Info in Walkman
- SensMe in Walkman
- SensMe slideshow in Album
CHANGELOG :
Code:
[B]Changelog Version 1.0 For All Device :[/B]
- Initilal Release for all device
- Full Compatibility for CM10/CM10.1/AOKP/ParanoidAndroid/PAC
- And All features mentioned on Features Working
[B]Changelog Version 3.0 From Xperia 2011 line :[/B]
- Fixed compatibility kernel, so you can use all kernel for your device
- Fixed always reboot to recovery when install this patch
- Removed some framework stuff for fixing compatibility
- Removed some library, for fixing in all ROM original CM/AOKP/Paranoid/PAC & ETC
- Fixed line in build.prop, for improve performance SONY media apps
- ZipAligned
- Signed
[B]Changelog Version 2.0 From Xperia 2011 line :[/B]
- Removed AudioEffectService.apk (not installed)
- Removed SwiqiSettingService.apk (not installed)
- Removed all drm driver (for fixing Patch on JB 4.1 ROM)
- New media_profile.xml for better camera quality
- Disable buggy video 720p recording (on kernel supported 720p)
- Removed some stuff library for fixing Patch on JB 4.2
- Fix bug on some app (for more stable)
- Added Xperia SP Wallpaper picker
- Added Xperia SP Sound picker
- Added srcipt for deleting system>media>video
- Added script for deleting VideoEditor.apk
- All stuff signed
- All stuff ZipAligned for better performance apps
[B]Changelog Version 1.0 From Xperia 2011 line :[/B]
- Initial Release
- Removed Bloatware Automatic
- Removed some CM/AOKP/PAC apps Automatic
- Ported Driver sound ALSA Fully working for better audio
- All system framework from Xperia Z JB Deodexed
- New gps.conf Xperia 2013
- Optimizing led flash & torch
- Latest driver sound from Xperia SP
- Patching SemcGenericUxpres.apk
- Fixed Walkman music extension not installed
- Fixed layout SoundEnhancement Xperia SP (Clear Audio EQ)
- Fixed smiley & icon Xperia SP Keyboard
- Added build.prop line for SONY Media Apps
- Added sony optimized audio resampling
- Updated Google Play Store 4.0.27 Blue Black Edition
DOWNLOAD :
NEW Version
Download Patch v.1.0 Official JB ROM Xperia 2013 for All Device
Download GAPPS For JB 4.2.2 from Goo.im
Download GAPPS For JB 4.1.2 from Goo.im
Download Walkman Music Visualizer (only work on JB 4.1.2) Install Normally
Download Stock Xperia Theme (Lovins Xperia Theme/Theme Chooser)
HOW TO INSTALL :
- Download ROM Original you want to use (JB 4.1.2 & 4.2.2) i mean like CM10.1/AOKP/PAC ETC without modifications
- Download This Patch
- Please Download GAPPS
- Make sure you have a backup
- Reboot into Recovery
- Wipe data
- Wipe cache
- Wipe dalvik cache
- Format system
- Install the ROM you want to use
- Install Patch
- Install Gapps
- Reboot
ENJOY!!! :good:
NOTE : PLEASE ALWAYS BACKUP BEFORE FLASHING THIS PATCH!!!
THIS PATCH DOESN'T SUPPORT BASED STOCK ROM (OFFICIAL ROM)
FOR LOW END DEVICES, PLEASE MAKE SURE YOU HAVE FREE SPACE ON SYSTEM ROM!!
CREDITS :
Code:
* [URL="http://forum.xda-developers.com/member.php?u=4663391"][B]abcdjdj[/B][/URL] For Xperia SP system dump [URL="http://forum.xda-developers.com/showthread.php?t=2240516"][B]Here[/B][/URL]
* [URL="http://forum.xda-developers.com/member.php?u=3085909"][B]ra3al[/B][/URL] For Xperia Z Launcher [URL="http://forum.xda-developers.com/showthread.php?t=2103403"][B]Here[/B][/URL]
* [URL="http://forum.xda-developers.com/member.php?u=4898631"][B]erorcun[/B][/URL] For Original Socialife [URL="http://forum.xda-developers.com/showthread.php?t=2229625&nocache=1"][B]Here[/B][/URL]
* [URL="http://forum.xda-developers.com/member.php?u=4569900"][B]My brother ibanez7[/B][/URL]
* Thanks to SONY for Awesome Media apps on Xperia 2013
* All Member XDA-Developers
* All Member Official FB Group Galaxy S II / Galaxy S 4 & Galaxy W
* All Member Official FB Group Xperia Indonesia
Excuse me if i forgot someone, just post in this thread or PM me
SCREENSHOTS
GUIDE Xperia SP Lockscreen Only For JB 4.1.2 (JB 4.2.2 currently doesn't support)
Visit this thread for how to decompile >>CLICK HERE<<
Required file from Xperia SP
- Xperia SP android.policy.jar deodexed ( for source code ) Download in attachcement
- Download Xperia SP Lockscreen modified in attachcement
Instructions :
- Red (remove code)
- Blue (add code)
- Green (change/replace code)
Step 1
- Decompile Xperia SP android.policy.jar
- Go to smali/com/android/internal/policy/impl and copy ExtendedKeyguardScreen.smali and ExternalLockScreen.smali
- ExternalLockScreen.smali need to be editing
Find invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentNameZ
Code:
.line 238
sget-object v9, Lcom/android/internal/policy/impl/ExternalLockScreen;->sLockScreenInfoLock:Ljava/util/concurrent/locks/Lock;
invoke-interface {v9}, Ljava/util/concurrent/locks/Lock;->unlock()V
[COLOR="Red"] .line 241
if-nez v4, :cond_2[/COLOR]
.line 242
invoke-static {p0}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getExternalLockScreenPackage(Landroid/content/Context;)Landroid/content/ComponentName;
move-result-object v4
[COLOR="red"].line 246
:cond_2
invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
move-result v8
.line 250
if-eqz v8, :cond_3[/COLOR]
.line 251
invoke-virtual {v4}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v9
Find .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentNameZ
Code:
.method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
.locals 4
.parameter "context"
.parameter "info"
.prologue
const/4 v1, 0x0
.line 131
[COLOR="red"] if-eqz p1, :cond_0[/COLOR]
invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
move-result-object v2
[COLOR="red"] if-eqz v2, :cond_0[/COLOR]
invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v2
[COLOR="red"] if-nez v2, :cond_1
.line 132
:cond_0
const-string v2, "ExternalLockScreen"
const-string v3, "External lockscreen name and package info has not been set correctly!"
invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
[/COLOR]
.line 147
:goto_0
return v1
.line 140
:cond_1
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
.line 141
.local v0, pm:Landroid/content/pm/PackageManager;
const-string v2, "com.sonyericsson.permission.EXTERNAL_LOCKSCREEN"
invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v3
invoke-virtual {v0, v2, v3}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
move-result v2
[COLOR="red"] if-nez v2, :cond_2[/COLOR]
.line 143
const/4 v1, 0x1
goto :goto_0
[COLOR="red"] .line 146
:cond_2
const-string v2, "ExternalLockScreen"
const-string v3, "Validation of external lockscreen failed!!"
invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_0[/COLOR]
.end method
Save it!!!
Step 2
- Next extract your phone/rom android.policy.jar and decompile it with baksmali/smali program. From the output, copy and paste the ExtendedKeyguardScreen.smali and the modified ExternalLockScreen.smali to smali/com/android/internal/policy/impl
- Then open smali/com/android/internal/policy/impl/ LockPatternKeyguardView.smali
Code:
.field private mHasDialog:Z
.field mInfoCallback:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallbackImpl;
[COLOR="Blue"].field private mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
.field private mIsTalkbackDrvModeOn:Z
Find # virtual methods.method public cleanUp()V
Code:
# virtual methods
.method public cleanUp()V
.locals 2
.prologue
const/4 v1, 0x0
[COLOR="blue"]const/4 v0, 0x0
iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
.line 1096
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLockScreen:Landroid/view/View;
Find .method createLockScreen()Landroid/view/View;
Code:
.prologue
[COLOR="blue"] iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-static {v1, v2}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getLockScreen(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)Landroid/view/View;
move-result-object v0
.local v0, lockView:Landroid/view/View;
if-eqz v0, :cond_1
const/4 v1, 0x1
:goto_0
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
.line 1038
iget-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
if-nez v1, :cond_0[/COLOR]
.line 1268
new-instance v0, Lcom/android/internal/policy/impl/sec/LockScreen;
[COLOR="blue"] .end local v0 #lockView:Landroid/view/View;[/COLOR]
iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mConfiguration:Landroid/content/res/Configuration;
iget-object v3, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
iget-object v4, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
iget-object v5, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-direct/range {v0 .. v5}, Lcom/android/internal/policy/impl/sec/LockScreen;->(Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V
.line 1274
[COLOR="Lime"] .restart local v0 #lockView:Landroid/view/View;[/COLOR]
[COLOR="blue"] :cond_0[/COLOR]
invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View;)V
.line 1275
return-object v0
[COLOR="Blue"] :cond_1
const/4 v1, 0x0
goto :goto_0[/COLOR]
.end method
Save it!!! Recompile/compile, if done, download Xperia SP Lockscreen and put android.policy.jar modified to system framework and install via recovery!!
Thanks to Arsaw for the Guide :good:
ABOUT SONY MEDIA APPLICATIONS
WALKMAN (Music Player) :
Walkman music player which has been in existence in the world music lovers ... why I call already in existence? .. since about 1979 the Walkman has been born ...
Year after year continues to change physical walkman and software, and finally of DAP (digital audio portable) perched on a phone is the SE W800 to W995 is a very powerful sound for the size of the phone in his time .. due to the use of technology ClearAudio (Clear stereo and clear bass), Around the year 2011, Sony released the Android Smartphone that in the mix with Walkman, the first time the W8 and continue to Live With Walkman.
in 2012 Sony released the new Walkman ... that in injek into Smartphone Xperia S.. proved the existence of technology ClearAudio ... and in the end Sony released the Walkman features in almost all implanted into a smart phone Xperia V with ClearAudio+ (Clear Bass, Clear Stereo, Dynamic Normalizer, Surround Sound VPT, xLoud, ClearPhase & s-Force Surround)
MOVIES with BE 2 :
Movies is a pretty good video player, with features similar to the sound of the music player (Clear Stereo, Clear Phase, xLoud & Surroundsound VPT) and with feature download video info, automatically your video title will be the same with video from You Tube if available in youtube
ALBUM with BE 2 :
Album to open the picture or photograph you with a unique look, and you can display your photos contained in social networks like FB, Twitter, Picasa
Great work
keep up ur Good Work
when i saw SS i was thinking about a Sec that this is an xperia device lol
This Looks Like It Might Be Cool ...
great work keep it up
Overall it's work fine on my phone except
1. I have to disable sound enhancment
2. Fb music like just stuck on creating post
I try to clear data xperia music like.apk but no data saved on it,
Any idea for that?
Sent from my innos i6c using xda premium
Xda Indonesia...good job bro.
Sent from my LG L9 using Tapatalk 2
will this work on Sense based rom ?
edit: ahhh sry my JB version is 4.1.1 so it will not work definetly
vanitea said:
Overall it's work fine on my phone except
1. I have to disable sound enhancment
2. Fb music like just stuck on creating post
I try to clear data xperia music like.apk but no data saved on it,
Any idea for that?
Sent from my innos i6c using xda premium
Click to expand...
Click to collapse
yeah FB Music like doesn't work, need some change, if work but no TrackID link, so soudenhancement doesn't work on your Official ROM? This patch will working fine if you use CM based ROM
mrpeev said:
will this work on Sense based rom ?
edit: ahhh sry my JB version is 4.1.1 so it will not work definetly
Click to expand...
Click to collapse
Try this, I mean doesn't support official ROM Xperia & maybe Galaxy
Will work too on 4.1.1 but please backup before installing
Thanks for sharing, great work as always. :good:
I have a Xperia tablet now :victory:
But there is no sound while playing music :crying:
Galaxy tab 2 10.1 p5110,Jellybam 7.8.0
Working Great on my S2 :good:
Many THANKS for this awesomeness Master @Rizal Lovins
Marionette said:
I have a Xperia tablet now :victory:
But there is no sound while playing music :crying:
Galaxy tab 2 10.1 p5110,Jellybam 7.8.0
Click to expand...
Click to collapse
Try to disable sound enhancment
Sent from my Andromax U using xda premium
vanitea said:
Try to disable sound enhancment
Sent from my Andromax U using xda premium
Click to expand...
Click to collapse
Thank you soo much,but will this bug be fixed in the next version?
I am a hard perfectionist,and I cant handle the loss of sound enchantments ; __ ;
Sent from my GT-P5110 using XDA Premium HD app
works perfectly on my sgs2 i9100 with newest PACman rom.
walkman player, gallery, and widgeds on homescreen.
the only thing i miss is a design for cm, i found some here in the xda-forums some times ago in a thread where someone collected all xperia things (keyboard, gallery, walkmanplayer etc) and also an apk with a theme for cyanogenmod... someone knows where it is? would be very nice ;D
greetings.
good job,will have a try!
Sent from my LT29i using xda premium
Used to wildfire s thanks.
Marionette said:
Thank you soo much,but will this bug be fixed in the next version?
I am a hard perfectionist,and I cant handle the loss of sound enchantments ; __ ;
Sent from my GT-P5110 using XDA Premium HD app
Click to expand...
Click to collapse
what your ROM are u using? ICS or JB? if official JB or ICS you should deodexed before installing

[GUIDE][MIUI ROM] Enable 4G LTE Setting [If don't have 4G LTE option]

{
"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"
}
INTRODUCTION
I was received Xiaomi Redmi Note 3 PRO (kenzo), and i see there is no 4G LTE option in setting on MIUI 7/8 GLOBAL ROM. in INDONESIA there is RULES called "TKDN" (Tingkat Kandungan Dalam Negeri) is mean (Local Content). Every Xiaomi Devices that shipped officially to INDONESIA with GLOBAL MIUI ROM don't have 4G LTE option, so i dedicated to search how to enable it permanently, and finally i found 2 solution to enable 4G LTE Option.
SOLUTION TO FIX 4G LTE OPTION
1. Edit framework.jar (Recommended)
2. Or Edit Teleservice.apk]
NOTE :
- This thread is for MODDER/THEMER/DEVELOPER ONLY.
- If you want to use this guide and implement to your ROM please mention me. you don't need to PM me. Thanks
CREDITS
XIAOMI INDONESIA FORUM/GROUP
GOOGLE
HOW TO FIX 4G LTE OPTION USING SOLUTION 1 WORK ON DEODEXED ONLY
1. Edit framework.jar
Requirements :
Follow this GUIDE to decompile and recompile framework.jar http://forum.xda-developers.com/crossdevice-dev/sony/tool-xperia-quick-decompile-recompile-t3428341
Step By Step
1. Download this tool http://forum.xda-developers.com/showpost.php?p=67952722&postcount=2
2. Decompile framework.jar (framework.jar must be deodexed)
3. Go to classout2/miui/telephony
4. Open TelephonyManager.smali using text editor like notepad++
5. Search
Code:
.method public isDisableLte(Z)Z
and you will see like this :
Code:
.method public isDisableLte(Z)Z
.registers 10
const/4 v5, 0x1
const/4 v4, 0x0
sget-boolean v6, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z
if-nez v6, :cond_8
move v0, v4
:cond_7
:goto_7
return v0
:cond_8
iget-object v6, p0, Lmiui/telephony/TelephonyManager;->BUILD_OPERATOR_TYPE:Ljava/lang/String;
if-nez v6, :cond_12
invoke-static {}, Lmiui/util/Network;->getOperatorType()Ljava/lang/String;
move-result-object v6
iput-object v6, p0, Lmiui/telephony/TelephonyManager;->BUILD_OPERATOR_TYPE:Ljava/lang/String;
:cond_12
const-string v6, "id4g"
iget-object v7, p0, Lmiui/telephony/TelephonyManager;->BUILD_OPERATOR_TYPE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_1e
move v0, v4
goto :goto_7
:cond_1e
const-string v6, "ido"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_5a
const-string v6, "kenzo"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_5a
const-string v6, "kate"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_5a
const-string v6, "mido"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_5a
const-string v6, "rolex"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_5a
const-string v6, "royal"
sget-object v7, Lmiui/os/Build;->DEVICE:Ljava/lang/String;
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_76
:cond_5a
move v0, v5
:goto_5b
if-eqz v0, :cond_7
if-eqz p1, :cond_7
invoke-virtual {p0}, Lmiui/telephony/TelephonyManager;->getPhoneCount()I
move-result v3
const/4 v1, 0x0
:goto_64
if-ge v1, v3, :cond_7b
invoke-virtual {p0, v1}, Lmiui/telephony/TelephonyManager;->getSimOperatorForSlot(I)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_78
const-string v6, "510"
invoke-virtual {v2, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v6
if-eqz v6, :cond_78
move v0, v5
goto :goto_7
:cond_76
move v0, v4
goto :goto_5b
:cond_78
add-int/lit8 v1, v1, 0x1
goto :goto_64
:cond_7b
move v0, v4
goto :goto_7
.end method
6. Shrink code to
Code:
.method public isDisableLte(Z)Z
.registers 10
const/4 v4, 0x0
return v4
.end method
Save file TelephonyManager.smali
7. Compile framework
8. Flash to your MIUI ROM and Done.
HOW TO FIX 4G LTE OPTION USING SOLUTION 2 (WORK ON ODEXED AND DEODEXED ROM)
2. Edit TeleSevices.apk
Requirements :
- Apktool
- I will not explain how to decompile recompile apk MIUI ROM (Search Guide on Google to decompile apk MIUI ROM, Google is your friend)
Step by Step
1. Decompile TeleServices.apk
2. Go to res/xml and edit all files below :
preferred_network_type_3g.xml
preferred_network_type_3g_cm.xml
preferred_network_type_3g_ct.xml
preferred_network_type_lc.xml
preferred_network_type_lte.xml
preferred_network_type_lte_cm.xml
preferred_network_type_lte_ct.xml
preferred_network_type_lte_cu.xml
preferred_network_type_mtk.xml
preferred_network_type_mtk_m.xml
preferred_network_type_pinecone.xml
Click to expand...
Click to collapse
3. Replace all code in all files with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/preferred_network_type_title" android:key="network_type_list_gsm_umts"
xmlns:android="http://schemas.android.com/apk/res/android">
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_0" android:key="0" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_1" android:key="1" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_2" android:key="2" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_5" android:key="5" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_8" android:key="8" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_9" android:key="9" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_10" android:key="10" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_11" android:key="11" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_12" android:key="12" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_14" android:key="14" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_15" android:key="15" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_16" android:key="16" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_17" android:key="17" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_18" android:key="18" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_19" android:key="19" />
<miui.preference.RadioButtonPreference android:title="@string/lovins_preferred_network_mode_20" android:key="20" />
</PreferenceScreen>
save all files.
4. Go to res/value and open strings.xml
Add this code
Code:
<string name="lovins_preferred_network_mode_0">Prefer 3G/2G</string>
<string name="lovins_preferred_network_mode_1">2G only</string>
<string name="lovins_preferred_network_mode_2">3G only</string>
<string name="lovins_preferred_network_mode_5">CDMA only</string>
<string name="lovins_preferred_network_mode_8">Prefer 4G/CDMA</string>
<string name="lovins_preferred_network_mode_9">Prefer 4G/2G</string>
<string name="lovins_preferred_network_mode_10">Global</string>
<string name="lovins_preferred_network_mode_11">4G only</string>
<string name="lovins_preferred_network_mode_12">Prefer 4G/3G</string>
<string name="lovins_preferred_network_mode_14">3G only (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_15">4G only (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_16">2G only (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_17">Prefer 4G/2G (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_18">Prefer 3G/2G (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_19">Prefer 4G/3G (TD-SCDMA)</string>
<string name="lovins_preferred_network_mode_20">Prefer 4G/3G/2G (TD-SCDMA)</string>
save file.
5. Compile TeleServices also Sign and ZipAlign
6. Flash To your MIUI ROM, (If your ROM odexed just remove TeleServices.odex)
7. Done
Credits for reference : Indra Binuners
ADVENTAGES, BUG OR LACK
USING SOLUTION 1 :
- Only Enable 4G LTE Option (Prefer LTE)
- Network type will remain stick even after device reboot/restart
- No bugs
USING SOLUTION 2 :
- Enable other networks type too
- Network type will back to default network type after reboot/restart
- If you wipe data (not wipe cache or dalvik) after flashing TeleServices MOD you will get Force Close "com.android......" and will not be able to use you device. it may be signatures checking, but i already disable signatures checking on services.jar but still Force Close after wipe data.
So if you want to use SOLUTION 2 DO NOT TRY TO WIPE DATA!!!
Lte_Mod
i can just make like this
I
Sucess!!!
Thanks for the nice tutorial mr. Lovins, working good on Miui MM 6.9.29!!
Tks for solution..
Great tutorial..
not working for redmi 3s prov telkomsel lte
Fine I'll ask in English (speakig to an Indonesian in English just feels so strange :/ ).
Any way to make Ev-Do work in the Redmi 3 for me using a method comparable to the one used here to enable LTE?
Rizal Lovins said:
INTRODUCTION
I was received Xiaomi Redmi Note 3 PRO (kenzo), and i see there is no 4G LTE option in setting on MIUI 7/8 GLOBAL ROM. in INDONESIA there is RULES called "TKDN" (Tingkat Kandungan Dalam Negeri) is mean (Local Content). Every Xiaomi Devices that shipped officially to INDONESIA with GLOBAL MIUI ROM don't have 4G LTE option, so i dedicated to search how to enable it permanently, and finally i found 2 solution to enable 4G LTE Option.
SOLUTION TO FIX 4G LTE OPTION
1. Edit framework.jar (Recommended)
2. Or Edit Teleservice.apk]
NOTE :
- This thread is for MODDER/THEMER/DEVELOPER ONLY.
- If you want to use this guide and implement to your ROM please mention me. you don't need to PM me. Thanks
CREDITS
XIAOMI INDONESIA FORUM/GROUP
GOOGLE
Click to expand...
Click to collapse
Thank for the guide
redmi note 3 miui 8 MM 4g lte fix indonesia
Dear all just want to share a primitive method of modifying some 'setting text based files' full info can be found here. from this guy mr indra... thkx to him. you guys can use google translator : https://translate.google.com .. http://ballecozt.com/pengaturan-4g-...-mengembalikannya-simak-tutorial-berikut-ini/
Tested on MIUI Global Beta/Developer version "Kenzo-6113-20161103-60-glbl-fastboot-dev" Marshmallow, which has been TWRP with ZCX_TWRP_0917-XDA here is XDA link
I'll try to copy paste & translate one of his method:
Method 3 (claimed to work on MIUI 8 global beta, I've tested on my set it works) , assumign that your unit has been ROOTED:
1.. go to this folder and find the buildprop file : "system/build.prop"
2. open it with either of the editor (I was using ROM TOOLBOX LITE , go to Root Browser, go to the "system" folder and bopen the "build.prop" file,
find the line that says " ro.product.device = kenzo " ,just add one "# " and space bar in frotn of that line, then save the file.
3. reboot the device, and check your "preferred network type" (2/3/4G system setting option), the "Prefer LTE" should be there. (teh data works, but het VOLTE (voice over LTE) options is still missing), anyway our priorty is on LTE/4g data for now.
All the best
SIDE EFFECT [UNFORTUNATELY]: -- on ROM MIUI 8 Marshmalow global dev 6.11.24 and x.3 the Camera App shows error , some/most of its special features disappear. [Still don t know who can fix this]
Recently I read this http://forum.xda-developers.com/red...dmi-note-3-t3405876/post68325763#post68325763
some guys recommend instead of eliminating the kenzo thing, change 'kenzo' into 'libra' (its MI4C phone), they mentioned tehre might be some minor side effect, but the most importabnt thing the LTE works & the camera works fully. I tested this justnow using MIUI 8 Marshmalow global dev 6.11.24, it seems 'perfectly OK' for now. I hope there wont be any prblme in the future. Anyway please feel free to share if you are doing this and experiencing good thing /bad thing. All the best
does somebody has tried to apply on redmi 3x?
ihbihb said:
Dear all just want to share a primitive method of modifying some 'setting text based files' full info can be found here. from this guy mr indra... thkx to him. you guys can use google translator : https://translate.google.com .. http://ballecozt.com/pengaturan-4g-...-mengembalikannya-simak-tutorial-berikut-ini/
Tested on MIUI Global Beta/Developer version "Kenzo-6113-20161103-60-glbl-fastboot-dev" Marshmallow, which has been TWRP with ZCX_TWRP_0917-XDA here is XDA link
I'll try to copy paste & translate one of his method:
Method 3 (claimed to work on MIUI 8 global beta, I've tested on my set it works) , assumign that your unit has been ROOTED:
1.. go to this folder and find the buildprop file : "system/build.prop"
2. open it with either of the editor (I was using ROM TOOLBOX LITE , go to Root Browser, go to the "system" folder and bopen the "build.prop" file,
find the line that says " ro.product.device = kenzo " ,just add one "# " and space bar in frotn of that line, then save the file.
3. reboot the device, and check your "preferred network type" (2/3/4G system setting option), the "Prefer LTE" should be there. (teh data works, but het VOLTE (voice over LTE) options is still missing), anyway our priorty is on LTE/4g data for now.
All the best
SIDE EFFECT [UNFORTUNATELY]: -- on ROM MIUI 8 Marshmalow global dev 6.11.24 and x.3 the Camera App shows error , some/most of its special features disappear. [Still don t know who can fix this]
Recently I read this http://forum.xda-developers.com/red...dmi-note-3-t3405876/post68325763#post68325763
some guys recommend instead of eliminating the kenzo thing, change 'kenzo' into 'libra' (its MI4C phone), they mentioned tehre might be some minor side effect, but the most importabnt thing the LTE works & the camera works fully. I tested this justnow using MIUI 8 Marshmalow global dev 6.11.24, it seems 'perfectly OK' for now. I hope there wont be any prblme in the future. Anyway please feel free to share if you are doing this and experiencing good thing /bad thing. All the best
Click to expand...
Click to collapse
I was try to modifying framework.jar to bypass region network restriction compared with mi4i framework.jar, I can have 4G LTE settings, also network config dial with *#*#4636#*#* also appear to change network selection without touch BUILD.PROP, but i cant change it, I mean if I click to TD-SCDMA/LTE/WCDMA/GSM, its switch back to GSM Only, But 2nd sim settings stcuk at LTE Only, I'll share my modified framework till I fix the problem, if u mind to help me to fix it? I'll sent u my modified framework.jar and setvices.jar I was modified
I've been fix the bugs, everything works on MIUI 8 8020 Global Stable
Kuato said:
I've been fix the bugs, everything works on MIUI 8 8020 Global Stable
Click to expand...
Click to collapse
how to fix the bugs? cara nya gimana gan?
interferometry4 said:
how to fix the bugs? cara nya gimana gan?
Click to expand...
Click to collapse
I will share it soon vroh, dont forget om telolet om
Bookmarked..
I still instal this phone with rom/miui form store. Wait stable result for update.
Let me try this one, and then.... it's fail when i test the first tips : change teleponysmali on framework.jar, i'm using latest beta ROM.
But i will try next tips : edit TeleService.apk
Thank you
Which method is working for 8.2.1.0 ?
Hopefully someone post teleservice.apk modified from 8.2.1.0.
Cara buka 4g xiaomi redmi 3?

looking for android kernel source code to enable ptrace

I have a Honor V9, unlocked, and I'm going to use frida on it.
But I found the ptrace option is disabled, and I can't find the kernel source code to recompile.
Can anybody help?

Categories

Resources