[UNIVERSAL] [BUG FIXES] For All ROMS [MEDIATEK] - Miscellaneous Android Development

HEY GUYS
I HAD CREATED THIS WHO ARE NEW TO DEVELOPMENT HAD PORTED ROM & GETTING BUGS SO HERE IS THE SOLUTION :fingers-crossed:
BUG FIXING FOR ALL ROMS MEDIATEK
So let's Start :silly:
1. FOR NETWORK RELATED ISSUES (3G)
Replace from /etc folder, mddb then replace agps_profiles_conf, apns-conf,epo_conf, spn-conf, virtual-spn-conf-by-efpnn, virtual-spn-conf-by-efspn, virtual-spn-conf-by-imsi
2. FOR WIFI TOGGLE PROBLEM
Replace wide-dhcpv6, wifi in /etc folder
3. FOR INTERNAL / EXTERNAL MEMORY NOT MOUNT PROBLEM
Replace vold.fstab from /etc folder
4. FOR HIGH AUDIO VOLUME ISSUE
Replace libcustom_nvram.sofrom /lib
5. FOR CAMERA NOT CONNECTED ISSUE / CAMERA GREEN
Replace first libcamdrv.so and check if not success then replace libcameraservice.so from/lib
6. FOR AUDIO NOT COMING IN LOUDSPEAKER MODE
Replace libaudio.primary.default.sofrom /lib
If still sound related problem:
Replace all libaud*.so
Sometimes replacing all audio files give you a boot loop in that case replace only
libaudio.a2dp.default.so
libaudio.primary.default.so
libaudiocompensationfilter.so
libaudiocustparam.so
libaudiosetting.so
libaudioutils.so
7. FOR FLASH LIGHT NOT COMING FROM CAMERA
Replace libfeatureio.so from /lib
8. FOR FM PROBLEM
Replace from /lib/module folder mtk_fm_drv.ko
9. TO FIX GPS
Replace from/lib/module folder mtk_stp_gps.ko
10. TO FIX COMPASS
Replace libsensorservice.so from /lib
11. TO FIX VIDEO SHOWING PIXELS AND GLITCHES
Replace libvcodecdrv.so from /lib
12. SHOWING WRONG RAM INFO IN TASK MANAGER
Don’t change ro.product.device value from the you are porting.
13. FOR GREEN CAMERA
Replacelibdpframework.so from lib folder
14. PROBLEM WITH 2G/3G SWITCHOpen Dialer and type *#*#4636#*#*
If a Pop Up appears go to Phone Information and choose your preferred network type.
15. PROBLEM DOWNLOADING EPO
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
16. ANY RESOLUTION PROBLEM
Add this line to build.prop
ro.sf.lcd_density=your phone screen dpi
ex- ro.sf.lcd_density=480 for FHD devices
17. SOME KEYS NOT WORKING
Replace keylayout folder under usr
18. NETWORK PROBLEM
Replace Firmware Folder from Etc
19. BLUETOOTH
Replace Mtkbt.apk IF PROBLEM NOT SOLVED THEN REPLACE BLEUTOOTH FOLDER FROM ETC
(If you get any more bugs and solutions please let me know. I will add them here. It will be helpful for all.)
HIT THANKS IF THIS HELPED YOU :laugh:

I haven't rolled out a custom ROM since my SK4G days. Still finding this extremely useful. Not many would give their time for MTK development. And those that do will find this helpful. So keep that thought while you maintain this thread.
PS FIRST REPLY POST! WHOO!

Capacitive buttons not lighting up on my Micromax a110.
How to light them up
Sent from my Micromax A110 using XDA Free mobile app

Or replace usr folder from any 4.2.2 rom or Use any app there are many

heya nice thread,but how to fix SystemUi Fc bug?
Hoping A reply from you soon..
Thanks..
Regards
Mr.Ak

Anything for vibration fix?

kirito9 said:
Anything for vibration fix?
Click to expand...
Click to collapse
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...

Mr.Ak said:
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...
Click to expand...
Click to collapse
Thanks I will give it a try

kirito9 said:
Thanks I will give it a try
Click to expand...
Click to collapse
Hapy to help You..

I am having a touchscreen problem wherein sometimes my screen don't respond when I touch it. The only things working are the hardkeys and power/volume buttons. So I have to restart my phone by removing the battery just to make it work again. Please help

Mr.Ak said:
Replace all Aud And Audio Related files In Lib Folder and Hw Folder also...It will fix Vibration...
Click to expand...
Click to collapse
No,That will bootloop if you replace all file libaudio****.
Op right.

KoSett said:
No,That will bootloop if you replace all file libaudio****.
Op right.
Click to expand...
Click to collapse
May be,not necessary.

I have an issue with ANY mt6737m 3.18.19 x32 ROM that I port to my Finow Q1 Pro smart watch.
Everything works fine except for no audio output. I have done all the usual fixes replacing the libaud.so files with no result.
Is there anything else I could be missing?

Query
I've some of the above problems like Wi-Fi, Bluetooth etc. So can I install this file?
Will my phone hang if I install this file?
Please reply.

Devoditt said:
I've some of the above problems like Wi-Fi, Bluetooth etc. So can I install this file?
Will my phone hang if I install this file?
Please reply.
Click to expand...
Click to collapse
No, it doesn't work like that And flashing wrong patches will make the phone to not boot.

I cant Fix without getting bootloop sensors and cam bug

Related

[Q] Some question about making a custom rom

Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
The Dark Lestat said:
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
Click to expand...
Click to collapse
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
After making your own dump your not suppose to factory reset, only after flashing your own dump your ready to factory reset, but if you factory reset while making a dump/removing and adding files, you will soft brick and loose your work..
Did you change the framework and tw framework?
Adding back some framework files via adb might help..
Or you will have to start over again..
I forgot to add that you should check your permissions on the lib file
Sent from my Alpha 17 1.2 GHz ACID Lestatious 2.0 BUILD 1.8 Galaxy 3 FROYO
rudolf895 said:
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
Click to expand...
Click to collapse
After copying lib files give this command over adb..
chmod 777 /system/lib/filename.so
InDroid 4.0 (Build 6)
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
arunmcops said:
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
Click to expand...
Click to collapse
yeah I think you are right. Thank you all for your help. I'll try it again. And I hope that it will work.
HI ok. I've tryed it again.
But know when I want to flash my new factoryfs.rfs the Download crashed.
I don't know where the problem could be.​
Do I have to use this command?
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
Click to expand...
Click to collapse
Can someone explain this command to me?
still third time flashing chrashes.
when Odin is flashing the factoryfs.rfs it stops at a specific level. odin get 99% of CPU and I have to interupped it. What is my fault? DId anyone have same problems? I try it to make like all the tutorials says.
Edit: Odin says before flashing "Big Partition size!" What do I have to do to make it smaller?
Edit: I get this:
# dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
435200+0 records in
435200+0 records out
222822400 bytes transferred in 115.950 secs (1921711 bytes/sec)
Click to expand...
Click to collapse
Found the problem why odin crashes. I copied the factoryfs.rfs file with 7zip into the .tar package but I had to use TotalCommander.
But still I have no lockscreen after flashing and the options in the power menu are not visible.

[GUIDE] How to port a ROM

For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.
Very nice, Thanks man
sachin0701 said:
For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.
Click to expand...
Click to collapse
nothing to unlock the wifi?
i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'
I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003
Never needed this
Yeah sakindia is right he posted this way back in june
Sent from my GT-I9003 using XDA App
bro sakindia i searched xda for porting roms but cudn't find any 1and this i ddn't copied u its from combined resources out of xda!!!!!
i dont knew abt this sorry bro!!!!
sakindia123 said:
i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'
Click to expand...
Click to collapse
if u think i will delete this post so chilax!!!
gm007 said:
I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003
Click to expand...
Click to collapse
bro than wud u help me correct this post plz???
Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?
inciongd said:
Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?
Click to expand...
Click to collapse
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!
sachin0701 said:
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!
Click to expand...
Click to collapse
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App
devilhell007 said:
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Video, audio Codec and lib files I believe.
Cheers
Sent from my i9003 powered by Cyanogenmod 7
I really want to this tutorial
Sent from my Droid using Tapatalk 2 Beta-4
Useful guide.
Sent from my GT-I9003 using xda premium

[FIX BUG] Fixing some bugs when porting a Custom ROMs to your device!

To the point!
When you found a bug when porting a ROMs, you can try to fix using this methods!
Just replace it from Stock ROM to your Custom ROMs.
~~For MTK~~
Bootloop when porting
*libandroid_runtime.so
*libandroid_servers.so
*libmedia_jni.so
*Repack boot.image
RadioFM
\system\bin\fmradio
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
Sensors
/system/bin/akmd*
/system/lib/libsensors.so
/system/lib/libms3c_yamaha.so
/system/etc/firmware (folder)
/system/bin/servicemanager
Bluetooth\Wifi not turning On\Off
\system\lib\module\mtk_stp_wmt
Bluetooth
/system/bin/bd_prov
/system/bin/uim*
/system/bin/hcid
/system/bin/bluetooth*
/system/bin/hciattach
/system/bin/sdptool
/system/xbin/hciconfig
/system/bin/brcm_patchram_plus
/system/lib/libbluetooth_mtk.so
/system/lib/libbluetoothem_mtk.so
Wifi
/system/bin/netcfg
/system/bin/dhcpcd
/system/bin/ifconfig
/system/bin/hostap
/system/bin/hostapd
/system/bin/hostapd_bin
/system/bin/pcscd
/system/bin/wlan*
/system/bin/wpa*
/system/bin/netd -> Fix wifi hotspot
/system/lib/libhardwarelegacy.so -> Fix wifi /system/lib/modules/mtk_stp_wmt.ko/system/lib/modules/mtk_wmt_wifi.ko
/system/etc/wifi (folder)
/system/etc/firmware (folder)
Camera
/system/etc/media_profiles.xml
/system/lib/libcamera.so
/system/lib/liboemcamera.so
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so\system\lib\libcameraprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so\system\lib\libmhalcontent.so
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission\android.hardware.camera.front.xml
\system\lib\libOmx*.so ->fix camcoder
SD card/Memory
/system/bin/vold
\system\etc\vold.fstab -> edit file for swap internal and external
\system\etc\vold.fstab.nand
GPS
\system\xbin\libmnlp
/system/etc/gps.conf
Touch Screen(Haptic)
/system/usr
/system/usr\keylayout\Generic.kl ->fix HomeKey
Sim1/2 (RIL)
\system\etc\firmware\modem.img
\system\etc\permission (RIL)
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
Audio/Sound
\system\lib\libaudio* .so
Ads
/system/etc/hosts ->replace with new files or use tweak.
~~SNAPDRAGON QUALCOMM~~
BUGS SIGNAL
Change all file berextensi librilxxx.so in system/lib with file from stock rom.
If doesn't appear, check imei *#06#
BUGS SENSOR
Change file sensorservice in system/bin with file from stock rom
Chamge file libsensorservice.so in system/lib with file from stock rom
Change file sensor.default.so in system/lib/hw with file from stock rom
BUGS CAMERA
Change all file extensi mm-qcameraxxx in system/bin with file from stock rom
Change file v4I2-qcamera-app in system/bin with file from stock rom
Change file camera.msm7627a.so in system/lib/hw with file from stock rom
Change file libcamera_client.so and libcameraservice.so in system/lib with file from stock rom
Change all file libmmcameraxxx.so in system/lib with file from stock rom
Change all libs started with *cam* in lib and lib64
Change all libs started with *omx* in system/vendor
BUGS FINGERPRINT (FPC/GOODIX)
Change gx_fpd in bin folder from stock to port
Change hwservicemanager in bin folder from stock to port
Change android.hardware.fingerprint.xml in etc folder from stock to port
Change libcom_fingerprints_service.so from lib and lib64 from stock to port
Change fingerprint.default.so and fingerprint.msmxxxx.so in hw folder in lib and lib64 from stock to port
Change name started in *fp* in vendor from stock to port
BUGS WIFI
Change file wpa_supplicant im system/bin with file from stock rom
Change folder firmware and wifi in system/etc with file from stock rom
Change file wifitest_recv.sh and wifitest_send.sh in system/etc with file from stock rom
Change file libwpa_client.so in system/lib with file from stock rom
Change file cfg80211.ko in system/lib/modules with file from stock rom
Change folder ath6kl in system/lib/modules with file from stock rom
Change file in folder wifi in system with file from stock rom
BUGS GPU
Change all file in folder egl in system/lib with file from stock rom
BUGS USB
Change file vfold.fstab in system/etc with file from stock rom
NB: still bug? Repack boot.img and see the ramdisk files.
BUGS VIDEO
Change all file berextensi libchromaticxxx.so in system/lib with file from stock rom.
Thanks in advance!
Give like if you like it!
i ported a rom.. its just fyn.. but settings is crashing.. when ever i open settings its crashing nd also play store no opening showing connection problem.. retry... help me with this!
Try fix permissions ,,
if the fix wifi tethering how
D2Y aka E said:
if the fix wifi tethering how
Click to expand...
Click to collapse
I need to know what the Chipset of your device? Is MTK or something else?
Thanks ,, [emoji4]
Jawaad_S said:
I need to know what the Chipset of your device? Is MTK or something else?
Thanks ,, [emoji4]
Click to expand...
Click to collapse
Qualcom bro...
Use the Qualcomm methods ,,
If its doesn't work, you can use the MTK methods ,,
Thanks
Any idea with FC errors when installing third party app in ported MIUI v4.
Maybe that apps is not compatiblelity for MIUI v4 ,,
my port brigthness not working,recent app not shown. then after i lockscreen it wont open.. i port s5 KK mt6582
Sent from my YP-G70 using XDA Free mobile app
Ported a rom successful from mobile with the exactly same specifications with mine, unfortunatelly the power key does not trigger screen lock and unlock, what to replace to make it work? Plus when the phone goes to deep sleep it takes ten to twenty seconds to come back on when power key pressed, please advise thanks.
sarry86 said:
Ported a rom successful from mobile with the exactly same specifications with mine, unfortunatelly the power key does not trigger screen lock and unlock, what to replace to make it work? Plus when the phone goes to deep sleep it takes ten to twenty seconds to come back on when power key pressed, please advise thanks.
Click to expand...
Click to collapse
The importantly for fixing is in system/lib. Theres so many bug when first time porting a ROM's and lib is the first to solve that bugs. Trying to replace the lib files from Stock ROM to your PORT ROM but not all. Just replace it one by one. If it makes your phone bootloop, the lib files is not compatibility with your PORT ROM's. And especially don't forget to backup the lib files before replace it from your Stock ROM.
Hope it helps
lildhiel08 said:
my port brigthness not working,recent app not shown. then after i lockscreen it wont open.. i port s5 KK mt6582
Sent from my YP-G70 using XDA Free mobile app
Click to expand...
Click to collapse
Its about the lib files bro ,,
I ported CM10 for my mtk6592 and there's just one error, when I put a number in dialer app and click on call, it says "searching for networks" and it remains there. However sometime it calls. And it can receive calls from other phones.
Copied all the SIM1/SIM2 files from base to port and the firmware folder and everything but its just not working.
And no apns are being displayed in settings.
3g turns on and displays "3G" on statusbar but net doesn't work.
Have copied apns_config but still doesn't work
Do you have any clue how to fix?
parasthakur37 said:
I ported CM10 for my mtk6592 and there's just one error, when I put a number in dialer app and click on call, it says "searching for networks" and it remains there. However sometime it calls. And it can receive calls from other phones.
Copied all the SIM1/SIM2 files from base to port and the firmware folder and everything but its just not working.
And no apns are being displayed in settings.
3g turns on and displays "3G" on statusbar but net doesn't work.
Have copied apns_config but still doesn't work
Do you have any clue how to fix?
Click to expand...
Click to collapse
In system/framework, you can replace telephony-common.jar and telephony bla la. And in the system/lib replace all file with the name of "ril" and in system/bin replace it too the file "ril" to your Port ROM from Stock ROM.
Hope it helps
Jawaad_S said:
The importantly for fixing is in system/lib. Theres so many bug when first time porting a ROM's and lib is the first to solve that bugs. Trying to replace the lib files from Stock ROM to your PORT ROM but not all. Just replace it one by one. If it makes your phone bootloop, the lib files is not compatibility with your PORT ROM's. And especially don't forget to backup the lib files before replace it from your Stock ROM.
Hope it helps
Click to expand...
Click to collapse
Hats off to the devs, this porting stuff is a pain in the a**, porting ain't easy. Thanks will try libs one by one to see if i can fix it
led light blinging always
Please how do I fix led light always on after notification is cleared the light will still be on ........... (The home key , back key and settings key all having light always) will be happy if I can fix that)
What to do when we get
android.process.media has stopped...???
sarry86 said:
Hats off to the devs, this porting stuff is a pain in the a**, porting ain't easy. Thanks will try libs one by one to see if i can fix it
Click to expand...
Click to collapse
Good luck
Akorstayblessed said:
Please how do I fix led light always on after notification is cleared the light will still be on ........... (The home key , back key and settings key all having light always) will be happy if I can fix that)
Click to expand...
Click to collapse
I'm so sorry. I can't fix the bug like that. You can tell the Dev because i've never found a bug like that.
Hope it helps
saurabh1234 said:
What to do when we get
android.process.media has stopped...???
Click to expand...
Click to collapse
Check the system/framework files.
i have ported a rom it had storage 0.0b so i changed vold from system/bin and i got a bug with usb pc connection (MTP,PTP,Charging mode) but usb debugging works
Device Micromax A092(Snapdragon MSM8212)
ROM ported LAVA iris 406q(MSM 8610)

[BUG FIX] For CM10.1 galaxy pocket plus

Hi everyone!!!
I have my bug fixes for CM10.1.. It takes me many days & nights just to compile this..
Requirements
1.TWRP
2.Aroma File manager
What bug can be fixed using this:
Egl (but some flickering exist)
WiFi
Internal & sdcard
The zip file in link is not flashable so u set permission in ur own.. And i recommend u to use Xado's CM10.1 port.... If u know some other fixes.. Plz tell me so I can try too
Download:
http://www.4shared.com/zip/BJOohqKPba/CM10bugFix.html
Procedure
1. Factory reset
2. Install CM10.1.. The one that have working touch
3. Extract the files in /system except "boot" folder (must replace files)
4. Rename "boot.IMG" from boot folder to "boot.emmc.win" and place this in any twrp backup folders.. Then restore boot
good
New news?
Wesley7th said:
New news?
Click to expand...
Click to collapse
still no stable CM for coriplus.
coriplus is dead :crying:
Do you still have the file? If yes, can you re-upload it? Please!

[Guide] Swap back and recent keys on Android 11

If you are someone like me who loves using Android with your right hand then you might also hate what Google did to the navigation bar in the recent Android editions.
The back key is on the far left of the screen which is difficult to touch.
Before you could just go to system/usr/keyLayout/Generic.kl and edit the values of back and recent keys but nowadays it doesn't work on most of the phones since Google doesn't allow modifying navBar.
So here's how you can swap back and the recent in Android 10 and 11.
This will only work if you are rooted.
1) Get a file manager like Root Explorer or Mixplorer
2) Go to root/system_ext/priv_app or wherever the hell your SystemUI is.
3) Copy your SystemUI to phone memory.
4) Rename it from SystemUI.apk to SystemUI.zip
5) Now open it. Navigate to res/layout and look for back.xml and recent_apps.xml
6) Now for the back.xml name it to recent_apps.xml
For recent_apps.xml name it back.xml
( That is pretty much self-explanatory. We are just swapping here)
7) Get out and rename SystemUI.zip to SystemUI.apk again.
8) Now move newly edited SystemUI to root/system_ext/priv_app or wherever the hell your SystemUI was before.
9) Restart SystemUI. (Might get restarted automatically)
or simply reboot your phone.
10) Enjoy!
Credit :
Thanks to xda member @Tulsadiver for the idea
Thanks for the idea, but your method requires modification to /system which is not recommended. I suggest place the modified copy of systemUI.apk in a Magisk Module.
Never_Sm1le said:
Thanks for the idea, but your method requires modification to /system which is not recommended. I suggest place the modified copy of systemUI.apk in a Magisk Module.
Click to expand...
Click to collapse
Like this.
One is for a Pixel phone (SystemUIGoogle.apk). Second for SystemUI.apk
Edit: Currently formatted for Android 11 but if you go down into the vrtheme folder and change the "system_ext" folder to "product" it'll be good for Android 10.
Hey ! Thanks for the module , but for some reason it made the two buttons disappear and non-functioning , just vibrating when clicked ..
is there any solution for that ?
I am using DotOs android 11 on Redmi 5 plus vince
thanks in advance !
@Tulsadiver
The zip above doesn't work properly. Back buttons works but not visible. Regents buttons doesn't work and isn't visible.
Could you create one for the following android 11 rom please?
[GSI][ROM][ CURTANA | JOYEUSE | EXCALIBUR][11.0][AOSP+GAPPS][04/08/21]
Hi, I try to make the ROM compilation on my computer, but the script have somes issues: [email protected]:/media/USB/AOSP_11$ patch -p1 < patch.txt patching file system/sepolicy/Android.mk [email protected]:/media/USB/AOSP_11$...
forum.xda-developers.com
Thx
k2828 said:
@Tulsadiver
The zip above doesn't work properly. Back buttons works but not visible. Regents buttons doesn't work and isn't visible.
Could you create one for the following android 11 rom please?
[GSI][ROM][ CURTANA | JOYEUSE | EXCALIBUR][11.0][AOSP+GAPPS][04/08/21]
Hi, I try to make the ROM compilation on my computer, but the script have somes issues: [email protected]:/media/USB/AOSP_11$ patch -p1 < patch.txt patching file system/sepolicy/Android.mk [email protected]:/media/USB/AOSP_11$...
forum.xda-developers.com
Thx
Click to expand...
Click to collapse
This is phone and sometimes even firmware update specific. If you are running this rom and care to pull your systemui.apk, I'll take a look but I don't have time to download a entire rom, extract it, and then modify it.
@Tulsadiver
Thx
mody3bdo said:
Hey ! Thanks for the module , but for some reason it made the two buttons disappear and non-functioning , just vibrating when clicked ..
is there any solution for that ?
I am using DotOs android 11 on Redmi 5 plus vince
thanks in advance !
Click to expand...
Click to collapse
I'm using dotOS 5.1 Android 11 on Redmi Note 7. I managed to get it to work by following the manual steps. The Magisk module gave me the same problem.
Thank you OP. Ur a live saver. I hated the left side back button and been searching everywhere for this. Thank you!
I couldn't made the Magisk module working. I'm using conquerors android 11 on redmi note 7 pro
RyanCr7 said:
If you are someone like me who loves using Android with your right hand then you might also hate what Google did to the navigation bar in the recent Android editions.
The back key is on the far left of the screen which is difficult to touch.
Before you could just go to system/usr/keyLayout/Generic.kl and edit the values of back and recent keys but nowadays it doesn't work on most of the phones since Google doesn't allow modifying navBar.
So here's how you can swap back and the recent in Android 10 and 11.
This will only work if you are rooted.
1) Get a file manager like Root Explorer or Mixplorer
2) Go to root/system_ext/priv_app or wherever the hell your SystemUI is.
3) Copy your SystemUI to phone memory.
4) Rename it from SystemUI.apk to SystemUI.zip
5) Now open it. Navigate to res/layout and look for back.xml and recent_apps.xml
6) Now for the back.xml name it to recent_apps.xml
For recent_apps.xml name it back.xml
( That is pretty much self-explanatory. We are just swapping here)
7) Get out and rename SystemUI.zip to SystemUI.apk again.
8) Now move newly edited SystemUI to root/system_ext/priv_app or wherever the hell your SystemUI was before.
9) Restart SystemUI. (Might get restarted automatically)
or simply reboot your phone.
10) Enjoy!
Credit :
Thanks to xda member @Tulsadiver for the idea
Click to expand...
Click to collapse
I used root explorer try to copy the modified system UI but denied. why?
sailorcanfly said:
I used root explorer try to copy the modified system UI but denied. why?
Click to expand...
Click to collapse
You need to give write permission to root explorer. It's written as RW on top of Root Explorer app.
Or use Mixplorer. Give it Allow management of all files permission.
the phone is stuck on this "Phone starting up", I tried to back the original file but it doesn't work, can anyone help me to back it to the previous state?
Works with me on Arrows OS a12
Still works for a12 aosp rom poco x3 nfc
Never_Sm1le said:
Thanks for the idea, but your method requires modification to /system which is not recommended. I suggest place the modified copy of systemUI.apk in a Magisk Module.
Click to expand...
Click to collapse
Thanks for the great advice but I didn't quite get what do you mean by "place the modified copy of systemUI.apk in a Magisk Module". Can you explain the steps in a bit more detail? Thank you very much.
ScarletMeteorC said:
Thanks for the great advice but I didn't quite get what do you mean by "place the modified copy of systemUI.apk in a Magisk Module". Can you explain the steps in a bit more detail? Thank you very much.
Click to expand...
Click to collapse
Are you rooted with Magisk? What Android level are you on...11, 12, etc.
Tulsadiver said:
Are you rooted with Magisk? What Android level are you on...11, 12, etc.
Click to expand...
Click to collapse
Thank you so much for the prompt reply. I loved the experience of the original android and I am not so interested in modifying it bc the navigation button was the only thing I thought I cannot get used to. After a week or so I re-trained my muscle memory to accommodate the return button on the left and the recent button on the right. Happy days now!
There is many suggestion, which one is best.
Tulsadiver said:
Like this.
One is for a Pixel phone (SystemUIGoogle.apk). Second for SystemUI.apk
Edit: Currently formatted for Android 11 but if you go down into the vrtheme folder and change the "system_ext" folder to "product" it'll be good for Android 10.
Click to expand...
Click to collapse
hi, my system does not have the file SystemUI.apk. Can I swap the recent button and the back button with the following files?
SystemUIEx.apk
framework-res.apk
#:/system/product/priv-app # ls
ls
ConfigUpdater GooglePartnerSetup Phonesky_CN
GmsCore OobConfig SettingsIntelligence
#:/system # find /system -name SystemUI*
find /system -name SystemUI*
/system/priv-app/SystemUITools
/system/priv-app/SystemUITools/oat/arm/SystemUITools.vdex
/system/priv-app/SystemUITools/oat/arm/SystemUITools.odex
/system/priv-app/SystemUITools/SystemUITools.apk
/system/priv-app/SystemUIEx
/system/priv-app/SystemUIEx/SystemUIEx.apk
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.odex
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.vdex
r3gister said:
hi, my system does not have the file SystemUI.apk. Can I swap the recent button and the back button with the following files?
SystemUIEx.apk
framework-res.apk
#:/system/product/priv-app # ls
ls
ConfigUpdater GooglePartnerSetup Phonesky_CN
GmsCore OobConfig SettingsIntelligence
#:/system # find /system -name SystemUI*
find /system -name SystemUI*
/system/priv-app/SystemUITools
/system/priv-app/SystemUITools/oat/arm/SystemUITools.vdex
/system/priv-app/SystemUITools/oat/arm/SystemUITools.odex
/system/priv-app/SystemUITools/SystemUITools.apk
/system/priv-app/SystemUIEx
/system/priv-app/SystemUIEx/SystemUIEx.apk
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.odex
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.vdex
Click to expand...
Click to collapse
r3gister said:
hi, my system does not have the file SystemUI.apk. Can I swap the recent button and the back button with the following files?
SystemUIEx.apk
framework-res.apk
#:/system/product/priv-app # ls
ls
ConfigUpdater GooglePartnerSetup Phonesky_CN
GmsCore OobConfig SettingsIntelligence
#:/system # find /system -name SystemUI*
find /system -name SystemUI*
/system/priv-app/SystemUITools
/system/priv-app/SystemUITools/oat/arm/SystemUITools.vdex
/system/priv-app/SystemUITools/oat/arm/SystemUITools.odex
/system/priv-app/SystemUITools/SystemUITools.apk
/system/priv-app/SystemUIEx
/system/priv-app/SystemUIEx/SystemUIEx.apk
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.odex
/system/priv-app/SystemUIEx/oat/arm64/SystemUIEx.vdex
Click to expand...
Click to collapse
You are welcome to try using this zip. Either upload your SystemUIEX.apk or do it yourself. Replace the ones that are currently in this zip.

Categories

Resources