[MOD] Dual Speaker for Realme X - Realme X Guides, News, & Discussion

Hello guys back with me Denver aka denverdoremi and today i'll introduce you Realme X dual speaker mod
*It's technically triple since Realme X has 2 earpiece
[Dual Speaker Mod for Realme X]
Make sure you've extracted the zip. It's NOT A FLASHABLE ZIP
Install Guide:
ColorOS:
Mount vendor and system
Copy it to / system-root/vendor/etc and chmod it to 0644
Copy it to /vendor/etc and chmod it to 0644
Custom ROMs or GSI:
Use FX file manager and copy it to /system/vendor/etc and change permission to rwrr or 0644
Cheers! Don't forget to subscribe my Youtube channel IT&AUTOS

Thread closed! Duplicate of https://forum.xda-developers.com/realme-x/themes/mod-dual-speaker-mod-realme-x-t3960438

Related

[MOD][31-Mar-2013]Volume Wake Up Mod For Sense 4.1 and ICS 4.0.4 ROMS

UPDATE:
Supported in Nik Project X v3.0 Also [Tested and Working Fine]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Folks,
Here is the volume wake up mod, which i am using in Nik Project X V 2.0. Just created for my personal use, just thought of sharing the same if some one wants it!
Its the flashable zip, Just flash it using recovery and REBOOT (Mandatory).
Once rebooted, 'Android System is Upgrading' message would be displayed. Dont worry about that.
Instructions:
CWM
1. Place the Zip in sdcard.
2. Reboot into recovery.
3. Do a nandroid backup (Safe to do)
4. Install from sdcard.
5. Choose the zip file
6. reboot.
ADB or Terminal Emulator
1. Extract android.policy.jar from /system inside zip
2. Place jar in root of sdcard.
3. using adb or terminal Emulator (as root user), follow the below commands
Code:
cp /sdcard/android.policy.jar /system/framework/
chmod 644 /system/framework/android.policy.jar
4. Reboot.
File Explorer
If file explorer is available, Just place the android.policy.jar in /system/framework/ and set permissions. thats it!
DOWNLOAD
http://d-h.st/mkU
Please report me if the mods is not working, will try my best to get this resolved.
CREDITS:
tbriden for his wonderful guide. Please thank this guy, without that guide, this mod is impossible.
TESTED IN
Nik Project X rebirth All Versions
It may work in other roms with Android 4.0.4 and Sense 4.1 lite and Full (NOT TESTED)
Disclaimer:
I am not responsible for any bricked devices. TRY at your OWN RISK!!!!
tnQ man
Odp: [MOD][31-Mar-2013]Volume Wake Up Mod For Sense 4.1 and ICS 4.0.4 ROMS
Nice one
Thumbs up
Sent from my HTC Incredible S using Tapatalk 2 & Swype
It has a kernel with S2W funtion, I use these funtion everytime, any problem reported if I used these mod and these Kernel?
zizou_cr said:
It has a kernel with S2W funtion, I use these funtion everytime, any problem reported if I used these mod and these Kernel?
Click to expand...
Click to collapse
Should work fine no problem at all.
Sent from my HTC Incredible S using xda app-developers app
zizou_cr said:
It has a kernel with S2W funtion, I use these funtion everytime, any problem reported if I used these mod and these Kernel?
Click to expand...
Click to collapse
Yes. As said by mohdsubaie, it should work fine since its not dependent on kernel stuff.
Cyb0rgz said:
UPDATE:
Supported in Nik Project X v3.0 Also [Tested and Working Fine]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Folks,
Here is the volume wake up mod, which i am using in Nik Project X V 2.0. Just created for my personal use, just thought of sharing the same if some one wants it!
Its the flashable zip, Just flash it using recovery and REBOOT (Mandatory).
Once rebooted, 'Android System is Upgrading' message would be displayed. Dont worry about that.
Instructions:
CWM
1. Place the Zip in sdcard.
2. Reboot into recovery.
3. Do a nandroid backup (Safe to do)
4. Install from sdcard.
5. Choose the zip file
6. reboot.
ADB or Terminal Emulator
1. Extract android.policy.jar from /system inside zip
2. Place jar in root of sdcard.
3. using adb or terminal Emulator (as root user), follow the below commands
Code:
cp /sdcard/android.policy.jar /system/framework/
chmod 644 /system/framework/android.policy.jar
4. Reboot.
File Explorer
If file explorer is available, Just place the android.policy.jar in /system/framework/ and set permissions. thats it!
DOWNLOAD
http://d-h.st/mkU
Please report me if the mods is not working, will try my best to get this resolved.
CREDITS:
tbriden for his wonderful guide. Please thank this guy, without that guide, this mod is impossible.
TESTED IN
Nik Project X rebirth All Versions
It may work in other roms with Android 4.0.4 and Sense 4.1 lite and Full (NOT TESTED)
Disclaimer:
I am not responsible for any bricked devices. TRY at your OWN RISK!!!!
Click to expand...
Click to collapse
Can I use it on TWRP Recovery?
-Already Exist- said:
Can I use it on TWRP Recovery?
Click to expand...
Click to collapse
I haven't tested but It should work fine in TWRP. If it is not working, pls do let me know...
Sent from my HTC Incredible S using xda app-developers app
Not working with ARHD 5.3 with Kangaroo r19. Could you do something with that? It's very important feature for me.
This is only for sense 4 Roms. Arhd is stock 3.6.
Sent from my HTC Incredible S using Tapatalk 2
F*ck, Im blind... Sorry... :banghead:

[GUIDE][Noob Friendly] How to make custom rom for Infinix Hot 2

Hi,
This is a all in one guide for making custom roms for Infinix Hot 2.
The guide will have 3 parts:
1) Normal porting
2) Crossporting => Click here
3) Bug fixing => Click here
Disclaimer:
Code:
I, XDA or anyone else involved in the making of this guide
can NEVER be held for any damage to your device if you
follow an even small part of this guide. We won't bear
any responsability for dead sdcards, thermonuclear
explosions, fried mother, your device gave birth to a
dragon or goes to mars!
If anything happens, bad or good, consider it as fate and
live with it.
Basics & Terms:
Terms:
Stock ROM: This is your original ROM. Can also be called Stock.
Port ROM: This is the ROM you want to port. Can also be called Port.
Boot.img: This is the kernel and the ramdisk.
BootP.img: This should be Port ROM Boot.img
BootS.img: This should be Stock ROM Boot.img
Normal Porting: This is for porting from the same Chipset (MT6580 to MT6580)
Crossporting: This is for porting from a different but close Chipset (MT6582 to MT6580 or MT6592 to MT6580). These chipsets have Mali-400MP GPU with different cores.
Basics:
What is porting ?
Porting is simply making another device's software work on yours.
Benefits ?
Well, you can enjoy many custom UI beside the stock ROM's UI such as:
- Amigo OS
- HTC Sense
- Samsung Touchwiz
- Freeme OS
- Flyme OS
- Asus Zen UI
- Etc
Porting rules: PORTING ONLY WORK WITH SAME ANDROID VERSION. YOU CAN NOT PORT KITKAT ROM TO HOT 2. YOU CAN'T PORT MARSHMALLOW ROM WITH LOLLIPOP BOOT.IMG
Click to expand...
Click to collapse
Part 1: Normal porting
Fast and Automatic Porting Tool:
Update:
The XDA user @RendyAK created an awesome tool that will automate this process for you!
All you just need is Port ROM system.img and Boot.img
If your ROM comes in Recovery format, go to "Get Port ROM ready" section, because this tool requires a system.img
Download here Fastport v1.zip (Google Drive)
I. Get Stock ROM ready
A- Method 1:
1) Connect your phone to your PC.
- Make sure it's rooted and you're on stock rom.
- Make sure you have installed all necessary drivers including ADB, Fastboot, Vcom PreLoader etc.
- Make sure you have enabled "USB Debugging" in "Developer Options"
2) Create a folder on your desktop and name it "System". Open it and click on "Shift" on your keyboard now click "Open command window here"
3) Now type in the following command:
Code:
adb devices
adb pull /system
Once done, you should find your files in system folder you created in step 2.
4) Now time to extract stock boot.img. Type the following commands (press enter after each command):
Code:
adb shell
su
cd /sdcard
mkdir dd.out
dd if=/dev/block/platform/mtk-msdc.0/by-name/boot of=/sdcard/dd.out/boot.img
exit
adb pull sdcard/dd.out/boot.img
Now you should have boot.img inside system folder. Create a new folder and name it "Stock". Move boot.img from system folder created in step 2 to the newly created "Stock" folder. Move the system folder itself to "Stock" folder.
B- Method 2:
If for some reasons that doesn't work, then follow these.
1) Get a Stock ROM for your Hot 2 (Infinix 5.1 recommended).
2) Extract it, you'll get a folder with a bunch of files inside it. We just need boot.img and system.img
3) Download and extract this file Extract_System.rar
4) Open the extracted folder, open ext4_unpacker.exe and click on the little folder near the Exit button.
5) Locate the system.img file of the stock rom you extracted in step 2.
6) Wait till it loads, now select all the files on the right column. Right click and select "Extract", point it to the system (guide by Nonta, stolen by Nayan Deka) folder inside the extracted archive (extracted in step 3).
7) When done, move the system folder from the extracted archive to a new folder (name that new folder "Stock"). Copy boot.img from the extracted folder in step 2.
II. Get Port ROM ready
The Port ROM will come in either Recovery flashable or SP Flash tool flashable format. Procedure is different for each.
A- Recovery version:
If the ROM comes in Recovery version, you'll see system.new.dat inside the archive instead of system.img Follow these to get it extracted.
1) Download and extract the ROM
2) Download the this file Extract_System.rar and extract it somewhere.
3) Move everything except META-INF from the extracted folder in step 1 to the extracted folder in step 2.
4) Do "Shift" and right click to open CMD here. Now read the IMPORTANT.txt file. Open README.txt, copy one of the command and paste it in the CMD terminal. Press enter.
5) When done, you should see a new file named "new_system.ext4"
6) Open ext2explore.exe Click file and then Open Image, locate the "new_system.ext4" file.
7) When it's loaded, right click on the file on the right column and then save, point it to the "system" folder inside the extracted folder (extracted on step 2). When done move it to a new folder (name that folder "Port"). Also copy boot.img from the Port ROM to that folder.
B- SPFT version:
If the ROM is in SPFT format, then you'll see system.img and many other .img files.
Just follow Method 2 of Stock ROM extraction :cyclops:
If for some reasons it doesn't work, Follow these:
1) Download this program ImgExtractor.rarand extract it in the Port ROM folder alongside all the .img and .bin files.
2) Drag and drop system.img into the ImgExtractor.exe file. Wait till the end. You'll find the extracted system.img inside system_ folder.
3) Done! So easy
III. Porting
Once you have Stock ROM and Port ROM ready. You can now start to port.
A- Porting system:
1) Open Stock ROM and Port ROM folders side-by-side
2) Copy these files from Stock/system/lib: libcamalgo.so , libcameracustom.so . Paste them in Port ROM/system/lib folder, replace when prompted.
3) Go to Port/system/etc and delete "firmware" folder. Now go to Stock/system/etc and copy "firmware" folder from there to Port/system/etc
4) Open build.prop of port ROM with a text editor. Search for "qemu.hw.mainkeys" and set its value to "0". If it doesn't exist then add it at the end of build.prop. It should look like this qemu.hw.mainkeys=0 Sometimes the 0 value doesn't work, (guide by Nonta, stolen by Nayan Deka) you'll have to try with 1 (qemu.hw.mainkeys=1). If it still doesn't, then you'll have to use third-party navbars like "Simple Control" from Play Store.
5) Still inside build.prop, make sure that ro.sf.lcd_density value is 320. Save and exit.
A- Porting kernel:
1) Download Carliv Image Kitchen from this thread Extract it somewhere
2) Copy Stock boot.img to the extracted Carliv Image Kitchen/boot-ressources. Rename it to BootS.img
3) Move (yes, move) boot.img of Port ROM to Carliv Image Kitchen/boot-ressources. Rename it to BootP.img
4) Double click "Carliv.bat" and follow steps to extract both img files.
5) Now, open BootS folder, copy all the 9 files (not the ramdisk folder). Paste them in BootP folder. Replace when prompted.
6) Go back to Carliv Image Kitchen CMD window, make sure that BootP.img is selected. Now press "2" to repack the kernel.
7) When done, go to Carliv Image Kitchen/Output and copy the repacked boot.img (should be named boot_201x_xxx.img). Paste it in the Port ROM folder.
8) Copy the META-INF folder from "Extract_System.rar" archive. Paste it in Port ROM folder so that you have META-INF, system and boot.img.
9) Select all the files and zip them. Copy them to your Hot 2. Boot to recovery. Wipe data and factory reset. Click advanced wipe and select cache, dalvik-cache, system and slide to wipe. Go back and select your created ROM. Install!
10) Congratulations! You just ported a ROM to your Hot 2 :laugh:
Alternatively, you can simply follow these steps (only if Port ROM comes in SPFT format).
1) Extract both ROMs
2) Port Kernel using the above guide
3) Open SPFT, load the scatter file of your Stock ROM.
4) Uncheck everything. Click on boot column and load the ported kernel from step 2.
5) Click on system column and select system.img of the Port ROM
Flash your device with these two files.
!!! WARNING !!!
NEVER USE ANOTHER DEVICE'S SCATTER FILE.
THIS METHOD IS KNOWN TO EASILY CORRUPT SYSTEM PARTITION. YOU WILL HAVE TO MANUALLY FORMAT IT IN RECOVERY IF THAT HAPPENS.
Credits:
- xpirt
- Carliv
- And_PDA
Anyone is free to use my work. You are even free to give credits. But before doing so, remember that Android is about sharing. Open source is what makes Android's beauty. Many people work on MTK but they never expose all their porting secrets. Using this guide doesn't give you the right to port someone else's ROM without their permission.
Part 2: Crossporting
Before you continue, please understand these:
This section is intended for advanced users only. If you never ported a rom, please stop here!
- This Method is NOT fail-proof. Your device will simply bootloop even if you follow this guide.
- It does NOT work with AOSP based ROMs. Always bootloop.
- Only Cyanogenmod 12.1 ROMs are supported. CM-13 ROMs give black screen.
- It does NOT work if you port from sprout (4/8)
Click to expand...
Click to collapse
1) Get a stable CM-12.1 ROM for Hot 2. You can grab one here This will be called "Stock"
2) Get a CM-12.1 or based ROM for MT6582 or MT6592. This will be called "Port"
3) Extract both. Follow one of the methods in part 1 if needed.
4) Open both "Stock" and "Port" folders side-by-side.
5) Go to Stock/system delete (Guide by Nonta, Stolen by Nayan Deka) these: app, fonts, framework, media, priv-app, build.prop
6) Go to Port/system and copy app, fonts, framework, media, priv-app, build.prop from there to Stock/system. Copy any extra folder from Port/system to Stock/system (only extra folders. It's extra if it doesn't exist in stock rom).
7) Go to Port/system/bin and copy everything , paste them in Stock/system/bin. Skip when prompted! DO NOT REPLACE EXISTING ONES.
8) Repeat previous steps but this time copy from lib folder. Don't copy folders inside lib folder. Just .so files. Also do the same with files inside etc folder (copy just files inside "etc" folder) and xml files inside etc/permissions. Finally copy any extra folder that is in Port/system/etc folder and paste in Stock/system/etc.
9) Now go to Port/system/lib and copy these: libandroid.so, libandroid_runtime.so, libandroid_server.so, libandroidfw.so, libmedia_jni.so, libwebviewchromium.so, libwebviewchromium_loader.so, libwebviewchromium_plat_support.so now paste them in Stock/system/lib and replace the existing ones.
10) Repeat Step 7 with permissions folder, xbin folder and (Guide by Nonta, Stolen by Nayan Deka) vendor folder (including vendor subfolders).
11) Edit build.prop file in Stock/system and replace all MT6582 or MT6592 or sprout with MT6580. Also add the qemu.hw.mainkeys=0 line and make sure ro.sf.lcd_density value is 320
12) Now zip Stock folder and flash it.
If it doesn't boot then go to Part 3 for bug fixing.
Credits:
Special thanks to
@RendyAK
@Besik_13
Part 3: Fixing bugs
If your ROM boots, you'll likely get some bugs such as camera, sound, RIL etc.
For Stock or stock based ROMs
Audio fix:
Copy libaudio.primary.default from Stock ROM.
Camera fix:
If camera can't connect or force close
Copy libcamalgo.so and libcameracustom.so from stock ROM
If it still doesn't work, then copy all files with libcam from Stock ROM.
If it still persists, edit unpack boot.img using the method in Part 1. Compare both init.rc files and add extra lines from BootP/ramdisk/init.rc to BootS/ramdisk/init.rc
If camera size is wrong or swapped
Copy libcam.paramsmgr.so from Stock ROM
SIM card detection fix:
- Use Stock ROM's firmware folder
- Compare both build.prop files and make changes according (Guide by Nonta, stolen y Nayan Deka) to what is in Stock build.prop starting from # ADDITIONAL_BUILD_PROPERTIES DON'T TOUCH RINGTONE AND NOTIFICATIONS SETTINGS.
- Also think about restoring your IMEI or rewriting it using for example ToolHero.apk
For CM-12.1 or based ROMs
Bootloop fix:
- Unpack both BootS.img and BootP.img following the steps provided in Part 1.
- Compare init.environ.rc files and make changes according to what is in BootP init.environ.rc file. Only compare BOOTCLASSPATH section!
- Compare both init.rc files and add extra lines from BootP.
Shared by Rendy
RendyAK said:
Some more thing.
Fix bootloops:
After compare init.environ.rc.
Compare init.rc.
If some apps still FC after replace libwebchromexxx.so
Check the port updater-script/.img and check if there are some symlinks that arent in base one
Click to expand...
Click to collapse
If it still doesn't work, then sorry! I can't help further :fingers-crossed:
Sdcard detection fix:
If SD Card doesn't appear in file manager, follow these:
- Open Stock/system/framework/framework-res.apk file with 7-zip and go to res/xml. Extract storage_list.xml somewhere.
- Open Port/system/framework/framework-res.apk file with 7-zip and go to res/xml. Delete storage_list.xml. Drag and drop the storage_list.xml file you extracted in step (Guide by Nonta, stolen y Nayan Deka) one into 7-zip window.
RIL fix:
To fix RIL in cm-12.1 or based ROMs, follow:
- Unpack boot.img of your cm-12.1 or based ROM using the steps provided in Part 1. Let assume you named it BootS
- Go to BootS/ramdisk and edit init.modem.rc. Delete everything inside that file and copy paste the lines below.
Code:
# Copyright (C) 2012 The Android Open Source Project
#
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#
on post-fs-data
write /proc/bootprof "post-fs-data: on modem start"
# Modem related device nodes
mkdir /data/nvram/md 0770 root system
mkdir /data/nvram/md2 0770 root system
# Build-in Modified - S
# insmod /system/lib/modules/ccci_plat.ko
# insmod /system/lib/modules/ccci.ko
# Build-in Modified - E
# chown radio radio /sys/class/BOOT/BOOT/boot/md
chown radio radio /sys/kernel/ccci/boot
# xplod: this is not in the original mtk file... But I have no
# idea what kind of sorcery normally sets them
chown radio radio /dev/ccci_fs
chown radio radio /dev/ccci_ioctl0
chown radio radio /dev/ccci_ioctl1
chown radio radio /dev/ccci_ipc_1220_0
chown radio radio /dev/ccci_md_log_rx
chown radio radio /dev/ccci_md_log_tx
chown radio radio /dev/ccci_monitor
chown radio radio /dev/ccci_pcm_rx
chown radio radio /dev/ccci_pcm_tx
(Guide by Nonta, stolen y Nayan Deka)
chown radio radio /dev/ccci_uem_rx
chown radio radio /dev/ccci_uem_tx
#SeLinux
mkdir /data/ccci_cfg 0770 system radio
restorecon /data/ccci_cfg
restorecon_recursive /protect_f
restorecon_recursive /protect_s
# Encrypt phone function
setprop vold.post_fs_data_done 1
service gsm0710muxd /system/bin/gsm0710muxd -s /dev/ttyC0 -f 512 -n 8 -m basic
class core
user root
group radio cache inet misc
disabled
oneshot
service gsm0710muxdmd2 /system/bin/gsm0710muxdmd2 -s /dev/ccci2_tty0 -f 512 -n 8 -m basic
class core
user root
group radio cache inet misc
disabled
oneshot
service muxreport-daemon /system/bin/muxreport
class core
user radio
group radio cache inet misc
disabled
oneshot
service ril-daemon /system/bin/rild
class core
socket rild stream 660 root radio
socket rild2 stream 660 root radio
socket rild3 stream 660 root radio
socket rild4 stream 660 root radio
socket rild-ims stream 660 root radio
socket rild-debug stream 660 radio system
socket rild-oem stream 660 radio system
socket rild-mtk-ut stream 660 radio net_bt
socket rild-mtk-ut-2 stream 660 radio net_bt
socket rild-mtk-modem stream 660 radio system
socket rild-atci stream 660 root radio
user root
group radio cache inet misc audio sdcard_r sdcard_rw log system
disabled
oneshot
service ril-daemon-md2 /system/bin/rildmd2
class core
socket rild-md2 stream 660 root radio
socket rild2-md2 stream 660 root radio
socket rild-debug-md2 stream 660 radio system
socket rild-oem-md2 stream 660 radio system
socket rild-mtk-ut-md2 stream 660 radio net_bt
socket rild-mtk-ut-2-md2 stream 660 radio net_bt
socket rild-mtk-modem-md2 stream 660 radio system
socket rild-atci-md2 stream 660 root radio
user root
group radio cache inet misc audio sdcard_r sdcard_rw log system
disabled
oneshot
service md_minilog_util /system/bin/md_minilog_util
user radio
disabled
oneshot
#
# Modem related services (Begin)
#
service permission_check /system/bin/permission_check
class main
user root
group nvram
group system radio
oneshot
service ccci_fsd /system/bin/ccci_fsd 0
user root
user radio
group radio system
class core
oneshot
service ccci2_fsd /system/bin/ccci_fsd 1
user root
user radio
group radio system
class core
oneshot
service ccci_mdinit /system/bin/logwrapper /system/xbin/strace -s 1024 /system/bin/ccci_mdinit 0
user root
user system
group radio system
class core
oneshot
service ccci2_mdinit /system/bin/ccci_mdinit 1
user root
user system
group radio system
class core
oneshot
service ccci_rpcd /system/bin/ccci_rpcd 0
user radio
group radio system
class core
oneshot
service ccci2_rpcd /system/bin/ccci_rpcd 1
user radio
group radio system
class core
oneshot
service pppd_gprs /system/bin/pppd_dt /dev/ttyACM0 debug noauth refuse-eap usepeerdns nodetach
user root
group radio cache inet misc
disabled
oneshot
#Add by T.Zh for ppp daemon
service pppd /system/bin/pppd file /data/misc/ppp/ppp_options
user root
disabled
oneshot
#
#
# Modem related services (End)
#
#Add by hp.chen for
#
# Telephony Early Read service
#
service terservice /system/bin/terservice
class core
(Guide by Nonta, stolen y Nayan Deka)
user radio
group radio cache inet misc
oneshot
on property:ril.muxreport=1
start muxreport-daemon
- Repack the BootS.img and flash it.
- Download this file Fix_RIL_CM12.1.zip and flash it in recovery.
- Reboot your device, RIL should start to work. If not, try restoring or rewriting your IMEI.
Other bugs can be fixed using stock rom bug fixing methods as well
Credits:
Special thanks to
@RendyAK
@Besik_13
One more ...
good work,hope u will port more rom for our device :good:
Anything specific for 6.0
AonSyed said:
Anything specific for 6.0
Click to expand...
Click to collapse
This guide should apply without problem.
Some more thing.
Fix bootloops:
After compare init.environ.rc.
Compare init.rc.
If some apps still FC after replace libwebchromexxx.so
Check the port updater-script/.img and check if there are some symlinks that arent in base one
Can rendy tool be used to port Hot 3 firmware automatically?
Sent from my Infinix X510 using XDA-Developers mobile app
Mysteryagr said:
Can rendy tool be used to port Hot 3 firmware automatically?
Sent from my Infinix X510 using XDA-Developers mobile app
Click to expand...
Click to collapse
I'm not sure
Plus it doesn't seem to be stable.
You need to use the crossporting method for the Hot 3 ROM to work
Nonta72 said:
I'm not sure
Plus it doesn't seem to be stable.
You need to use the crossporting method for the Hot 3 ROM to work
Click to expand...
Click to collapse
Okay, I'm waiting for XUI version 2
Then I will give it a try
Sent from my Infinix X510 using XDA-Developers mobile app
---------- Post added at 12:03 PM ---------- Previous post was at 11:39 AM ----------
I know it is a stupid question, but how to edit "updater-script" cause always when I try to edit it I get flashing errors in recovery
Sent from my Infinix X510 using XDA-Developers mobile app
Mysteryagr said:
Okay, I'm waiting for XUI version 2
Then I will give it a try
Sent from my Infinix X510 using XDA-Developers mobile app
---------- Post added at 12:03 PM ---------- Previous post was at 11:39 AM ----------
I know it is a stupid question, but how to edit "updater-script" cause always when I try to edit it I get flashing errors in recovery
Sent from my Infinix X510 using XDA-Developers mobile app
Click to expand...
Click to collapse
Edit with Notepad ++ program
Make sure every line ends with an " ; " (without the quotes)
Nonta72 said:
Edit with Notepad ++ program
Make sure every line ends with an " ; " (without the quotes)
Click to expand...
Click to collapse
Thanks, btw I noticed that there are two roms for Hot 3 (3G Version) one with A1 in its name and the second has A2 in its name, do you know what's the difference?
Sent from my Infinix X510 using XDA-Developers mobile app
Mysteryagr said:
Thanks, btw I noticed that there are two roms for Hot 3 (3G Version) one with A1 in its name and the second has A2 in its name, do you know what's the difference?
Sent from my Infinix X510 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nope
But I assume they are same
Tried porting Hot 3 using cross porting method and as my previous attempted, ended in bootloop :/
Sent from my Infinix X510 using XDA-Developers mobile app
Mysteryagr said:
Tried porting Hot 3 using cross porting method and as my previous attempted, ended in bootloop :/
Sent from my Infinix X510 using XDA-Developers mobile app
Click to expand...
Click to collapse
I will get back to you soon.
Nonta72 said:
I will get back to you soon.
Click to expand...
Click to collapse
Okay, take your time
Sent from my Infinix X510 using XDA-Developers mobile app
@Nonta72 there is something not clear for me in cross porting method, after step 7, any existing matching file should be skipped, as we do in step 7?
I mean in permission, xbin, vendor.. etc
Or they should be replaced?
Thanks in advance ^^
Sent from my Infinix X510 using XDA-Developers mobile app
Mysteryagr said:
@Nonta72 there is something not clear for me in cross porting method, after step 7, any existing files should be skipped!?
I mean in permission, xbin, vendor.. etc
Or they should be replaced?
Thanks in advance ^^
Sent from my Infinix X510 using XDA-Developers mobile app
Click to expand...
Click to collapse
Seemed clear to me
You shouldn't replace them. They should be skipped.
And something is wrong with your XUI porting.
You also need to port the kernel. I noticed that using the stock boot.img or boot.img from XUI (Note port) won't make it boot.
So follow kernel porting step too. I just applied crossporting method and kernel porting method, they worked.
USE XUI FROM HOT NOTE AS BASE! DON'T USE INFINIX 5.1 OR ANDROID ONE 5.1
:good:
Thanks for the tips, will try again today ??
Sent from my Infinix X510 using XDA-Developers mobile app

[mod] [zenfone 5 volume mod] [highest volume mod]

** DO AT YOUR OWN RISK, I AM NOT RESPONSIBLE IF ANYTHING GOES WRONG, DEVICE BRICKS OR WON'T START **
** Read each and every steps carefully and then apply it **
Zenfone users If you want to make your speaker volume more loud then download the volume mod for zenfone 5.
Link for downloading zenfone 5 volume mod :
Mod Edit: PPC Link Removed
Pre-Requesting :
• Rooted Zenfone
• ES file Explorer (Download from Play Store)
• Volume Mod file (Download from the above link)
Procedure (Step-by-Step) :
•Step 1 - Download Volume Mod file from above link and unzip file then copy files in your internal storage.
•Step 2 - Now, Install ES Explorer from Play Store.
•Step 3. Once Installed, Open ES Explorer then tap on upper left corner button and select Tools then Enable Root Explorer and it will prompt to Grant Super SU (Root Permission). Now Hit on Grant Button.
•Step 4 - Now Go To Device/System/etc/parameter-framework/setting/Audio/ directory and Rename your AudioConfigurableDomains_axxxcg.xml to AudioConfigurableDomains_axxxcg.xml.old
((Do this for all three files))
•Step 5 - Now Go to Internal storage then copy all AudioConfigurableDomains_axxxcg.xml files and Paste into Device/System/etc/parameter-framework/setting/Audio/ and paste here.
•Step 6 - Now grant the permission to all the files which you have just pasted. (Set Permission to rw-r-r)
•Step 7 - Now Reboot Your Device. Now you will get Highest sound on your Asus Zenfone 5 and Zenfone 6.
Enjoy your zenfone in it's highest volume
Hit 'THANKS' if you like my work and it worked for you
juyel92 said:
** DO AT YOUR OWN RISK, I AM NOT RESPONSIBLE IF ANYTHING GOES WRONG, DEVICE BRICKS OR WON'T START **
** Read each and every steps carefully and then apply it **
Zenfone users If you want to make your speaker volume more loud then download the volume mod for zenfone 5.
Link for downloading zenfone 5 volume mod :
Mod Edit: PPC Link Removed
Pre-Requesting :
• Rooted Zenfone
• ES file Explorer (Download from Play Store)
• Volume Mod file (Download from the above link)
Procedure (Step-by-Step) :
•Step 1 - Download Volume Mod file from above link and unzip file then copy files in your internal storage.
•Step 2 - Now, Install ES Explorer from Play Store.
•Step 3. Once Installed, Open ES Explorer then tap on upper left corner button and select Tools then Enable Root Explorer and it will prompt to Grant Super SU (Root Permission). Now Hit on Grant Button.
•Step 4 - Now Go To Device/System/etc/parameter-framework/setting/Audio/ directory and Rename your AudioConfigurableDomains_axxxcg.xml to AudioConfigurableDomains_axxxcg.xml.old
((Do this for all three files))
•Step 5 - Now Go to Internal storage then copy all AudioConfigurableDomains_axxxcg.xml files and Paste into Device/System/etc/parameter-framework/setting/Audio/ and paste here.
•Step 6 - Now grant the permission to all the files which you have just pasted. (Set Permission to rw-r-r)
•Step 7 - Now Reboot Your Device. Now you will get Highest sound on your Asus Zenfone 5 and Zenfone 6.
Enjoy your zenfone in it's highest volume
Hit 'THANKS' if you like my work and it worked for you
Click to expand...
Click to collapse
Pay Per Click links are forbidden on XDA.
Until you can provide a reputable download site, this thread is closed.

[Port][Magisk] AptX & AptX-HD for All Oreo 8.0+ (Update Jan 6th 2018)

Hello Everyone,
This is a collection of modules and a 1 flashable zip to enable aptX and aptx-HD on Oreo ROMs that doesn't have them...
the original files are taken from OnePlus OOS Oreo ROM, this should work (one of the options) on any OReo ROM, it may also work on N Roms but that's is not tested.
all modules flash the lib files to different places (or to all places), please the options, and select what is appropriate to you.
Bug reporting.
if you're going to report any issue please attach a log (the log should be taken before enabling Bluetooth and should record it being enabled and then being connected to an aptX enabled device)
Updated on January 6th 2018:
- 3 Magisk Modules added Description bellow for each.
- all 3 modules are based on the latest 1500 (15.0) Magisk template.
- APTX-enabler.zip is not a Magisk Module it's a recovery flashable zip, Description bellow.
should Works On All Oreo Roms.
Requirement:
-Root
-Root file manager
-Recovery (TWRP) for flashable Zip
A- Manual Installation:
1- download & extract the zip attached. ( APTX-enabler)
2- copy the files from System/vendor/lib64 folder to same place on your device, 0644 permission to both.
2- copy the files from System/lib and System/lib64/ folders to same place on your device, 0644 permission to both.
3- open build.prob in a text editor (or through the file manager) and add the following line at the end of it.
Code:
persist.bt.enableAptXHD=true
persist.service.btui.use_aptx=1
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD
5- reboot
B- Flashable Zip Installation
1- reboot to TWRP
2- flash APTX-enabler.zip
3- reboot
C-Magisk Module
1- Download one of the 3 modules (discretion bellow)
2- install through Magisk manager
3- reboot
Modules Description:
A- aptX-HD_OreoEnablerOOS.zip , add the lib files only to System/vendor/lib64/ , some Roms like OOS Oreo Roms only require that for aptX to be enabled, it's not only for OOS other Roms use that too, if you don't know Use option C.
B- aptX-HD_OreoEnabler2.zip , add the lib files to system/lib and system/lib64 only... some roms like Nitrogen doesn't require to add any Libs on the vender folder, if not sure also use Option C.
C- aptX-HD_OreoEnabler.zip, this will add the lib files to ALL possible places, insuring that no matter what ROM you have aptX works...if you don't know which folder your ROM uses either ask the Rom Dev or use this option.
Old lib Files and modules can still be found on the following folder
https://drive.google.com/open?id=1aJQiFlzFgQmDJb08QZ_NMLUc0eKqBPry
Credits to
@Riku Azhurlar for initial flashable zip
@simonsmh for the Initial Magisk Module
@bmg1001 & @ossito2012 for initial aptx files
OnePlus for Current aptX lib files
theduke7 said:
Hello Everyone,
This is a collection of modules and a 1 flashable zip to enable aptX and aptx-HD on Oreo ROMs that doesn't have them...
the original files are taken from OnePlus OOS Oreo ROM, this should work (one of the options) on any OReo ROM, it may also work on N Roms but that's is not tested.
all modules flash the lib files to different places (or to all places), please the options, and select what is appropriate to you.
Bug reporting.
if you're going to report any issue please attach a log (the log should be taken before enabling Bluetooth and should record it being enabled and then being connected to an aptX enabled device)
Updated on January 6th 2018:
- 3 Magisk Modules added Description bellow for each.
- all 3 modules are based on the latest 1500 (15.0) Magisk template.
- APTX-enabler.zip is not a Magisk Module it's a recovery flashable zip, Description bellow.
should Works On All Oreo Roms.
Requirement:
-Root
-Root file manager
-Recovery (TWRP) for flashable Zip
A- Manual Installation:
1- download & extract the zip attached. ( APTX-enabler)
2- copy the files from System/vendor/lib64 folder to same place on your device, 0644 permission to both.
2- copy the files from System/lib and System/lib64/ folders to same place on your device, 0644 permission to both.
3- open build.prob in a text editor (or through the file manager) and add the following line at the end of it.
5- reboot
B- Flashable Zip Installation
1- reboot to TWRP
2- flash APTX-enabler.zip
3- reboot
C-Magisk Module
1- Download one of the 3 modules (discretion bellow)
2- install through Magisk manager
3- reboot
Modules Description:
A- aptX-HD_OreoEnablerOOS.zip , add the lib files only to System/vendor/lib64/ , some Roms like OOS Oreo Roms only require that for aptX to be enabled, it's not only for OOS other Roms use that too, if you don't know Use option C.
B- aptX-HD_OreoEnabler2.zip , add the lib files to system/lib and system/lib64 only... some roms like Nitrogen doesn't require to add any Libs on the vender folder, if not sure also use Option C.
C- aptX-HD_OreoEnabler.zip, this will add the lib files to ALL possible places, insuring that no matter what ROM you have aptX works...if you don't know which folder your ROM uses either ask the Rom Dev or use this option.
Old lib Files and modules can still be found on the following folder
https://drive.google.com/open?id=1aJQiFlzFgQmDJb08QZ_NMLUc0eKqBPry
Credits to
@Riku Azhurlar for initial flashable zip
@simonsmh for the Initial Magisk Module
@bmg1001 & @ossito2012 for initial aptx files
OnePlus for Current aptX lib files
Click to expand...
Click to collapse
No problem mate. We're you able to fix my installer with the new lib files okay? Or do you need me to touch up on itt
Riku Azhurlar said:
No problem mate. We're you able to fix my installer with the new lib files okay? Or do you need me to touch up on itt
Click to expand...
Click to collapse
to be honest mate i just updated the libs and permission, i personally use the module and they work, but the flashable file was reported by several people on my other thread on OP3 forums to be working... i wouldn't mind if you took a little look at the script
I have the nexus 6p with nitrogen 8.1 wich one Can not do without to use;;;;
Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
theduke7 said:
to be honest mate i just updated the libs and permission, i personally use the module and they work, but the flashable file was reported by several people on my other thread on OP3 forums to be working... i wouldn't mind if you took a little look at the script
Click to expand...
Click to collapse
instead of doing resetprop just put the props in system.prop file
theduke7 said:
to be honest mate i just updated the libs and permission, i personally use the module and they work, but the flashable file was reported by several people on my other thread on OP3 forums to be working... i wouldn't mind if you took a little look at the script
Click to expand...
Click to collapse
Apart from what @JohnFawkes mentions above, you also need to configure the config.sh file to actually run the post-fs-data.sh script (POSTFSDATA=true) or the system.prop file if you decide to use that (PROPFILE=true).
Also, since you're providing these files for manual install you should remove the placeholder file from /system. This file may cause bootloops since some devices can't take adding new files or folder directly to the root of /system.
JohnFawkes said:
instead of doing resetprop just put the props in system.prop file
Click to expand...
Click to collapse
Didgeridoohan said:
Apart from what @JohnFawkes mentions above, you also need to configure the config.sh file to actually run the post-fs-data.sh script (POSTFSDATA=true) or the system.prop file if you decide to use that (PROPFILE=true).
Also, since you're providing these files for manual install you should remove the placeholder file from /system. This file may cause bootloops since some devices can't take adding new files or folder directly to the root of /system.
Click to expand...
Click to collapse
I used to have the flags in as described but the new OOS update responds only to the post-fs-data.sh, I forgot to enable it and remove the place holder file... I will remedy that and update them
Modules updated according to above suggestions.
matrixios01 said:
I have the nexus 6p with nitrogen 8.1 wich one Can not do without to use;;;;
Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
Click to expand...
Click to collapse
it depends on your rom, you can ask your rom dev which folder to place the lib files at at download the one corresponding to that... the aptX-HD_OreoEnabler.zip file should work for all roms cause it adds the libs to all possible places, but at least in my opinion this should be the last thing to try,
If Nitrogen in Nexus works the same way it does on OP3 the file aptX-HD_OreoEnabler2.zip should work for you...
theduke7 said:
to be honest mate i just updated the libs and permission, i personally use the module and they work, but the flashable file was reported by several people on my other thread on OP3 forums to be working... i wouldn't mind if you took a little look at the script
Click to expand...
Click to collapse
Sure I'll take a look here in a few when I get home. Also I didn't keep up on it. Did the magisk modules get updated to the newer template for magisk 15? Never know if the magisk dev will enforce it eventually if not I can do that too I've got nothing else to do lol
Riku Azhurlar said:
Sure I'll take a look here in a few when I get home. Also I didn't keep up on it. Did the magisk modules get updated to the newer template for magisk 15? Never know if the magisk dev will enforce it eventually if not I can do that too I've got nothing else to do lol
Click to expand...
Click to collapse
yes my friend it's updated to 15 template, i had it on the older template on the other thread on OP3 forums, but decided to download and update to the new one when creating this thread.
theduke7 said:
yes my friend it's updated to 15 template, i had it on the older template on the other thread on OP3 forums, but decided to download and update to the new one when creating this thread.
Click to expand...
Click to collapse
Cool just checking my luck always seems to be they release new templates and then stop allowing them eventually.
Does the manual install work without Magisk? I have an S8+ with locked bootloader (no custom recovery), but rooted, so was just wondering.
Thanks for the module.
I installed Magisk module type c but the codecs were not enabled.
logcat said I have aptx and aptx hd in local capability but not in selectable capability.. only SBC and AAC there.
My phone is Essential ph-1 and I found another module in ph-1 forom but it is basically same.
I thought I need special codec config file but nothing contained a sort of config.
EDIT: nvm, my device just does not support aptX, so tried another one and it worked!
Could this work on any Oreo smartphone? For example on a Honor 9 running RR-OS Oreo? I read that the CPU was not compatible with Apt-X.
fl0wfr said:
Could this work on any Oreo smartphone? For example on a Honor 9 running RR-OS Oreo? I read that the CPU was not compatible with Apt-X.
Click to expand...
Click to collapse
If the CPU isn't compatible... why are all the AptX libs in their place in stock rom? (At least in EMUI 8)
Thanks for the hard work on this port. Wasn't able to get the Magisk module working on Magisk 16. But was able to get the standalone systemless flash package working just fine on a LineageOS 15.1 port to my Nexus 5 which has been really awesome.
Just installed via Magisk and says enabled, but when I go to developer options under Bluetooth it still only says Aptx, i had this before. How do I know if aptx-hd is enabled?
OGNinjaDon said:
Just installed via Magisk and says enabled, but when I go to developer options under Bluetooth it still only says Aptx, i had this before. How do I know if aptx-hd is enabled?
Click to expand...
Click to collapse
Your device support the aptx-hd codec?
Dev can you include compatibility with AML?
Does nexus 6p only support Aptx? Because I tried to enable the other Aptx HD codec and not active. Only Aptx.

How to add SuperSU to system.img?

I'm working on a custom ROM and I'm done with the building part (from source). Now the issue is, how do I add SuperSU for root as soon as the ROM is flashed. I don't want to go into custom boot images, as supporting lots of devices would be a pain. So how should I go about getting this done? Should I mount the image and then copy SuperSU apk to /system/app and chmod it and then add SuperSU binary to /system/xbin and chmod that too? Any help is greatly appreciated
BusinessKid said:
I'm working on a custom ROM and I'm done with the building part (from source). Now the issue is, how do I add SuperSU for root as soon as the ROM is flashed. I don't want to go into custom boot images, as supporting lots of devices would be a pain. So how should I go about getting this done? Should I mount the image and then copy SuperSU apk to /system/app and chmod it and then add SuperSU binary to /system/xbin and chmod that too? Any help is greatly appreciated
Click to expand...
Click to collapse
I too want to add this because my device does not support custom recovery.
Any updates??
I search too that script. For personal use its easy coz just change zip with ready rom.
All i know for sure there is a script who does that pack into zip but this is not that "SuperSu".
Wysłane z mojego SM-G530FZ przy użyciu Tapatalka
kslakhani said:
I too want to add this because my device does not support custom recovery.
Any updates??
Click to expand...
Click to collapse
Don't try SuperSU right now. It's support has ended. Get Magic, and flash the patched boot image with ADB. Seems like the only option. I added SuperSU to the custom ROM by mounting the image on *nix and then adding the su binaries and chmod a+x on su

Categories

Resources