Hyperion skyfall proxmity amd light sensor fix - Miscellaneous Android Development

Hi xda'er i have bern using hyperion skyfall since a month but unfortunattely there was no proximity and light sensor working
So here's the fix
Copy the below attatched files in your system/lib/hw folders through any filebexplorer with root access...
Ur handset will b rebooted as soon as u copy d the files attatched below...and tada..
Dont forget to press thanks....it wont charge you
http://db.tt/OoXJgBgn
http://db.tt/qolK6zc5
Credits..
Myself for searching throughbthe files and making it work somehow
Sent from my Nexus S

Related

Humble 5.0... Restoring aosp lockscreen

I apologize in advance if this has been answered elsewhere, I searched and couldn't find the solution.
I have humble 5.0 running and added the red and black theme to it. This caused me to lose the aosp lockscreen. Is there anything I can do short of reflashing humble to get the lockscreen back? I know there are apps like Golocker and magic locker, but I've experienced performance issues With these and would like to avoid them. Thanks in advance for any suggestions.
U could extract the android.policy.jar from humble5zip and overwrite the one that's on ur phone now with root explorer. its in system /framework
here ya go .just copy the old one to ur SD card just in case .of course if u get undesired results just reflash that theme
Edit....I pulled this from humble 5 rc2
I'm positive this works cuz i did it yesterday on the test rom Danalo1979 tweeted
Thanks for The help guys. How do I go about replacing the file? Just use root explorer?
Adamsaudio said:
Thanks for The help guys. How do I go about replacing the file? Just use root explorer?
Click to expand...
Click to collapse
Yea just copy and paste it in system/framework and overwrite the old one and reboot
I replaced the file with the one I downloaded from the thread and did a reboot. Nothing changed. Any other ideas?
And ur sure it replaced the other one,you hit mount system r/w in top right corner of root explorer? Let me check ...I guess i could have uploaded the backup of the stock one I made when i did this
Give me a minute. I'll upload the one that I'm using now. That one I extracted from the humble zip
alright I know this is it ..just pulled from system/framework
It says mounted as r/o... How would I Change that?
There should be a white button right beside that to the right. Just press it and it should change to r/w.
When u do it, it will ask u if u want to replace the file cuz it already exists. Hit yes
OK I got it!
Few things I had to realize... Root explorer and explorer aren't the same apps, even though the Icons are nearly identical. I got lockscreen back as desired. Just a side note, I lost the extended power menu that came with black and red theme. No big deal to me, just a side effect of replacing the File. Again.... Thanks for all of the Help.
Glad I could help. Yea i forgot it'd change the power menu but I don't use it anyway. I use quickboot from the market. Has reboot,recovery and bootloader. Plus version has hotboot option.
Yep. Quickboot installed here also.
The awesome coredroid theme will give you both options (lock screen + power menu options). It also gives you crt off animation.
~John

Fix Lockscreen Bugs

Hello guys,, today, here..
I'm will share to u how to fix white screen while you lock the screen.. it happen while u trying to port a rom from another device to ur device..
Its so easy.. but it tested it on Galaxy Pocket.. i hope it works on other device too.. but here.. let us start now!
1. Decompress ur rom
2. Name your decompressed rom folder like "port"
3. Delete folder system/lib/hw include it files in the "port" folder
4. Copy ur stock system/lib/hw to the "port/system/lib/hw" folder
5. Re-compress ur rom
6. And flash it
7. Voila.. it fixed.
Attachment? Soon:'(
Sorry..
Worked? Pls give me thx button..
*IMPORTANT : Im not responsible for any damage occur in your device.. Do it as your own RISK
Always make a Nandroid Backup bfore do anything in your device

[MOD] [GT-S5360] 4 way reboot methode for stock ROM

This simple little Mod For your galaxy y , 4 way reboot method
---------------------------------DWOYR-----------------------------------------
Instruction instalation
Base Band DXLL1 Build number DXMA1
Your ROM must be
*- DEODEX
*- Rooted (Optional)
backup your original framework-res.apk and android.policy.jar
downloads in attachment
Flash via CWM or Extract the zip and put file on system/framework folder set permision rw-r-r and replace
Reboot and
DONE ....................
Thanks to who make is possible
bumslayer
kahvitahra
evanlocked
zoe kura kura
triemo galanescreamo
and you
Screenshot
Good work
:good: :good: :good:
Great work!
Sent from Nemesis Pheonix
AW: [MOD] [GT-S5360] 4 way reboot methode for stock ROM
:thumbup:
MANY INSANE GREEETZ WITH TAPATALK BEATZ!!!
Hi, could you do it for me on a XXLH2 firmware please? I'm having computer problems at the moment and I can't work on it like that. I'll hand you the needed files if you need to.
Hii
You can try your self with this DXLL1 to your stock rom .
Make sure pull the framework-res.apk and android.policy.jar with rootexplorer or any file manager simillar with
Duplicate this stock DXLL1 on your sdcard and extract and replace file on it and zip again for
Antitipate bootloop
And now go into recovery mode and flash with my mod
Tell me if work on your stock rom
anyone here to make it working for duos?
Superb hight five om.
έ..έ..έ..έ.. :thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
sembre said:
Hii
You can try your self with this DXLL1 to your stock rom .
Make sure pull the framework-res.apk and android.policy.jar with rootexplorer or any file manager simillar with
Duplicate this stock DXLL1 on your sdcard and extract and replace file on it and zip again for
Antitipate bootloop
And now go into recovery mode and flash with my mod
Tell me if work on your stock rom
Click to expand...
Click to collapse
Thanks but I've done such experiments before and foreign system files always seem to either cause me bootloops or force-closing on certain apps once the phone starts up.
It's not a problem for me and I'm willing to try because I could make a nandroid backup now, etc, but the problem is I have trouble restoring my sd-ext and all of my installed apps are stored there so a nandroid backup and restore could remove all of my important apps or I'm not sure maybe it won't but I can't take the risk for now.
Please if you could do the procedure I would be very grateful. I've attached my framework-res.apk and android.policy.jar if you decide to do it.
Mitko said:
Thanks but I've done such experiments before and foreign system files always seem to either cause me bootloops or force-closing on certain apps once the phone starts up.
It's not a problem for me and I'm willing to try because I could make a nandroid backup now, etc, but the problem is I have trouble restoring my sd-ext and all of my installed apps are stored there so a nandroid backup and restore could remove all of my important apps or I'm not sure maybe it won't but I can't take the risk for now.
Please if you could do the procedure I would be very grateful. I've attached my framework-res.apk and android.policy.jar if you decide to do it.
Click to expand...
Click to collapse
ok ill try this night to mod your apk and jar
Sent from my GT-S5360 using xda premium
Bootloop on DXLC1 stock rom.
Put method instead of Zip
You should post a full method of adding files in framework-res.apk and android policy instead of posting the zip.
SO that other users can use it also.
GOOD JOB my BRO...
Regard
Error 404
Can you please do one for firmware S5360TAJKK3? My S5360 is from AU, which is S5360T with S5360TAJKK3 firmware. Thanks in advance.
Great work
Good job .. Flashing is easy than modifying system files each time uh get back to stock
But can you please add a screenshot button too ??? :0

[UNIVERSAL] [BUG FIXES] For All ROMS [MEDIATEK]

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

[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)

Categories

Resources