After lots of reading XDA and using the many tweaks and fixes one can find here (thanks!) I ran into a problem I can't seem to solve.
I'm modifying a custom ROM (by www.jiayu.es --> version 20131203-000001) for the Jiayu G4B (basic 1/4 3000mah) for use in the Netherlands. I already applied some fixes (GPS-fix, APN-settings, SMS-fix, add some APKs) and created a flashable zip file for use with CWM (thanks to dsixda kitchen).
One thing I can't seem to implement is the replacement of modem.img (in system/etc/firmware) with an updated version that fixes frequent drops of the connection to the network. This fix is documented on the dutch site tweakers.net.
The original fix is quite simple: you just replace modem.img (using a file explorer) with the updated one, straighten out the file permissions and reboot the phone. The thing is I don't want to have to do this manually everytime I flash a new ROM, and furthermore it's fun to learn how to customize my own ROM.
So I thought I could just replace modem.img in my working folder with the newer one and be done with it. Problem is that after I flash the ROM containing the new modem.img both my sims remain offline and the only way to go online again is by restoring a CWM backup.
I already checked the file permissions and they are correct. Unfortunately google also couldn't help me find the answer. Does any here have an idea how to solve this?
matthijsph said:
After lots of reading XDA and using the many tweaks and fixes one can find here (thanks!) I ran into a problem I can't seem to solve.
I'm modifying a custom ROM (by www.jiayu.es --> version 20131203-000001) for the Jiayu G4B (basic 1/4 3000mah) for use in the Netherlands. I already applied some fixes (GPS-fix, APN-settings, SMS-fix, add some APKs) and created a flashable zip file for use with CWM (thanks to dsixda kitchen).
One thing I can't seem to implement is the replacement of modem.img (in system/etc/firmware) with an updated version that fixes frequent drops of the connection to the network. This fix is documented on the dutch site tweakers.net.
The original fix is quite simple: you just replace modem.img (using a file explorer) with the updated one, straighten out the file permissions and reboot the phone. The thing is I don't want to have to do this manually everytime I flash a new ROM, and furthermore it's fun to learn how to customize my own ROM.
So I thought I could just replace modem.img in my working folder with the newer one and be done with it. Problem is that after I flash the ROM containing the new modem.img both my sims remain offline and the only way to go online again is by restoring a CWM backup.
I already checked the file permissions and they are correct. Unfortunately google also couldn't help me find the answer. Does any here have an idea how to solve this?
Click to expand...
Click to collapse
So did you ever find the solution to this problem??? Did it involve taking the battery out immediately after you flash the ROM with the desired modem.img?
No it was never solved, I gave up after a while.
I don't have the phone anymore, so I can't test your solution.
matthijsph said:
No it was never solved, I gave up after a while.
I don't have the phone anymore, so I can't test your solution.
Click to expand...
Click to collapse
having that kinda problem, thinking to replace system.img 1st with push adb, then use dd if=...of=.. not sure if gonna work
Related
So after using the Samsung Galaxy S II for over a month now I've had one complaint. In-Call Volume using the handset ear piece. It was "OK" in quiet places but anywhere else...way below par.
So, after looking around for several weeks trying to find a fix I finally got help from a well know dev (Entropy512) as well as using system/lib audio files from Designgears ROM 'Perception'.
So...how do you finally get your in-call volume increased?
First and foremost...Always backup whatever you're changing. Better safe than sorry. Just make a copy of your current system/lib folder, rename it something like 'backup_lib' and place on your sd card somewhere.
Option 1
Download this flashable zip, flash it in CWM, Reboot, Enjoy. (This zip includes some audio files from the Perception ROM, if for any reason DesignGears has an issue with this PM me and I will remove the zip. I'm only using the files to help others solve their in-call volume issue)
MAKE A BACKUP BEFORE FLASHING
Download the Flashable Update Here
I have tested this on three different SGSII's and all seems well! This is a NO WIPE flash, I do reccomend clearing your Dalvik Cache and Cache Partition though.
-Reboot into Recovery
-Scroll down to 'Advanced' and select
-Select "clear Dalvik Cache"
-Flash this update
-Reboot your phone and enjoy!
Option 2 (Incase the flash doesn't work or I am asked to remove the the zip file)
1) Download Designgears ROM 'Perception' Found Here
2) Open the zip file of your current ROM (doesn't matter what ROM)
3) Open the system folder and then open the system/lib folder (of your current ROM)
4) Next, Open the same folder in the Perception ROM
5) Copy the files listed below from the Perception ROM and paste them over the files in your ROM:
- lib_Samsung_Acoustic_Module_Llite.so
- lib_Samsung_Resampler.so
- lib_Samsung_Sound_Booster.so
- libaudio.so
- libaudioeffect_jni.so
- libaudioflinger.so
- libaudiohw_op.so
- libaudiohw_sf.so
- libaudiopolicy.so
- liblvvefs.so
- libmediayamaha.so
- libmediayamaha_jni.so
- libmediayamaha_tuning_jni.so
- libmediayamahaservice.so
- libsamsungAcousticeq.so
- libsamsungSoundbooster.so
- libsoundalive.so
- libsoundpool.so
- libSR_AudioIn.so
- libyamahasrc.so
*Only copy/replace the files listed above as they are only audio files. DO NOT COPY/REPLACE all system/lib files... You'll have unwanted consequences and you'll probably kill a puppy.
6) Now go to the Perception ROM and open system\app and find phone.apk. (Save a copy of your current phone.apk...Just in case)
-Copy (Perception's) phone.apk and replace the phone.apk on your current ROM.
7) After you replace the files listed above on your ROM, reflash your ROM and enjoy your increased call volume.
Note: If you don't want to reflash your ROM and risk losing any settings, you should be able to copy the files and replace them with Root Access and a file explorer, then Reboot your device immediately after. I haven't tried this yet so if someone wants to try and leave feedback, please feel free.
EDIT: Copying the files using a root explorer does work but may cause your phone to crash/reboot afterwards. I'd still recommend just re-flashing the ROM to avoid potential issues. Once again, make sure and make a back up so you can revert any changes if something doen't work properly.
I will try uploading a zip file with appropriate files so you can download but currently I do not have Designgears permission. This is their code and I don't want to step on any toes.
EDIT: I have tried reaching out to DG for permission but had no luck, if he asks that I remove the zip file, I will do so.
Known Potential Issues:
- When flashing over a stock/rooted ROM this update may cause the phone application to crash/force close. I have tried this update personally on every ROM I could flash and haven't had any issues. However, I have not tried it on the stock ROM. If you're on stock/rooted, please make a backup so if it does cause issues you can simply revert the changes.
Much thanks goes to Entropy512 for the help with solving this issue and Designgears ROM 'Perception'. Using Perception showed me that increasing the in-call volume was possible! (it's a very stable and awesome ROM as well )
***UPDATE***
Due to some people being a worried about flashing the update I have taken the liberty of making the backup files for you and making them flashable!
- I have made revert files for all of the major ROM's we currently have for our device. I did not include Perception because that ROM is where the audio files originated from. Below is the download links for the backups.
IF my volume fix does NOT work, simply download the backup for your ROM and flash it. It will revert all the changes my fix made.
- Revert_CM7.1_Stable
- Revert_H8s2_1.2.2
- Revert_Serendipity_8.2
- Revert_Stock_UCKH7
- Revert_UnNamed_1.2
- Revert_MIUI 1.11.4 v1
- If you are using Perception ROM you do NOT need the volume fix as this ROM has the files built in
As a side note, I have tried this on several I9100 ROM's as well and had luck with them all.
If this thread helps, please click the thanks button for me, I'm new to the XDA community.
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Entropy512 said:
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Click to expand...
Click to collapse
I just tried a call and you're correct, the mic isn't working properly. Do I need to find the APK or do you know what changes I need to make? This is a popular issue and I'm hoping this thread can help.
Edit: I found some APK's....any idea which one would deal with the mic?
-CallSetting.apk
-Phone_Util.apk
-Phone.apk
-Settings.apk
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Click to expand...
Click to collapse
I'm testing different apk's right now. As soon as I figure out which apk the fix is located in I'll edit the post.
Maybe DG can drop a hint to me
Hmm does this enable the AUDIO part of the Samsung Service mode?
penguinlogik said:
Hmm does this enable the AUDIO part of the Samsung Service mode?
Click to expand...
Click to collapse
I haven't tried the audio menu yet, feel free to try if you'd like and let me know. 2 birds 1 stone.
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
penguinlogik said:
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
Click to expand...
Click to collapse
I figured out which apk fixes the mic issue it's the phone.apk. I updated the original post. Sorry for the set back. Let me know if you experience any issues
Just posting another screenshot to show the phone.apk.
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
Click to expand...
Click to collapse
Try copying the CallSetting.apk as well (use both). If you still don't have any luck with fixing the mic issue and you're using a file manager to make the switch, try re-flashing your ROM with the apk changes instead.
Make a backup before doing it so you can restore all your settings if it doesn't work for some reason.
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
penguinlogik said:
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Did you have to re-flash? Just trying to make sure my instructions are correct.
Did you need to add both apk's as well?
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
penguinlogik said:
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
Click to expand...
Click to collapse
Ok, glad it works and the kinks are worked out thanks for you patience and tests.
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
daraj said:
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
Click to expand...
Click to collapse
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Great keep us posted please. It will make a big difference to many people
Sent from my SAMSUNG-SGH-I777 using XDA App
crazyagg said:
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Click to expand...
Click to collapse
Excellent! Been looking for something like this, because I also noticed that the volume was really horrible... Keep us posted on a zip file. Rather be "SAFER" than sorry with doing something that does it automagically for me
Knowing my patience, I'll probably manually do it once I get home from school... lol
SpectraDawn said:
Knowing my patience, I'll probably manually do it once I get home from school... lol
Click to expand...
Click to collapse
LOL! Me too! I all over this!
Hi all,
This morning I tried to update my Camera firmware using the *#34971539# (Camera Firmware Update) code. During this upgrade I got the message 'FactoryTest stopped'. After that message my camera app stopped working, it starts, shows the buttons, but the image is black. Also I am unable to access the camera firmware update screen... I get the same message as before (FactoryTest stopped).
I tried a few custom roms, but this didn't solve the issue. I also restored a backup I created with CMW, but no luck.
Does any of you have an idea how to get my camera to start working again ????
Thanks.
Best regards,
Vinzie
Try to flash a 3-part firmware with PIT and repartition checked!
Remove the camera update and go back to your previous camera
PJF16 said:
Try to flash a 3-part firmware with PIT and repartition checked!
Click to expand...
Click to collapse
Can you tell me which firmware is 3part ??? Up until now I only used/found single file firmwares...
I red an old galaxy S thread on XDA, apparently you can copy the correct file onto the device (you need root access though) and then you should be able to run *#34971539# again, without it crashing. At least that is how it worked on the galaxy S. I've look on the filesystem of the galaxy S3 and I don't have a 'firmware' folder in the /system/ folder, so I guess the camera files are located elsewhere on the galaxy S3/ICS... does anyone have an idea where these files are located ? And is anyone willing on posting their camera firmware files here....?
Vinzie said:
I red an old galaxy S thread on XDA, apparently you can copy the correct file onto the device (you need root access though) and then you should be able to run *#34971539# again, without it crashing. At least that is how it worked on the galaxy S. I've look on the filesystem of the galaxy S3 and I don't have a 'firmware' folder in the /system/ folder, so I guess the camera files are located elsewhere on the galaxy S3/ICS... does anyone have an idea where these files are located ? And is anyone willing on posting their camera firmware files here....?
Click to expand...
Click to collapse
Apparently people using CM9 also had camera issues and where able to fix them by putting the following files back onto their phone:
/data/cfw/SlimISP_GD.bin
/data/cfw/SLIMISP_ZD.bin
Would someone please send me those 2 files, so I can try if this will fix the camera issues ?
Also also saw that there are firmware files in the folder '/system/cameradata/', I would also love to have those...
Vinzie said:
does anyone have an idea where these files are located ? And is anyone willing on posting their camera firmware files here....?
Click to expand...
Click to collapse
The camera firmware is in two locations. The camera itself contains one (the one you can "flash") and one in the kernel. When the camera loads up (first time after a clean boot) it does a comparison of the two firmwares, decides which one is the latest and loads that one into memory. Hence, there's no need to flash the camera FW itself. It will load the latest of the two.
There is a option in kernel somewhere to store the camera firmware externally. I'm fairly sure this is how CM9 does it, hence the firmware in /data/cfw.
It could also be that CM9 dumps the camera firmware to that folder, for whatever reason I do not know.
You can download the latest firmware CM9 uses directly from their source. I can't make heads or tails when browsing their github, it's a horrible mess, but it's there somewhere. Files are called SlimISP_GD.bin.ihex and SlimISP_ZD.bin.ihex.
Daelyn said:
The camera firmware is in two locations. The camera itself contains one (the one you can "flash") and one in the kernel. When the camera loads up (first time after a clean boot) it does a comparison of the two firmwares, decides which one is the latest and loads that one into memory. Hence, there's no need to flash the camera FW itself. It will load the latest of the two.
There is a option in kernel somewhere to store the camera firmware externally. I'm fairly sure this is how CM9 does it, hence the firmware in /data/cfw.
It could also be that CM9 dumps the camera firmware to that folder, for whatever reason I do not know.
You can download the latest firmware CM9 uses directly from their source. I can't make heads or tails when browsing their github, it's a horrible mess, but it's there somewhere. Files are called SlimISP_GD.bin.ihex and SlimISP_ZD.bin.ihex.
Click to expand...
Click to collapse
OK I found the 2 files, they were present in a dump posted on the XDA forum. I put both files in the /data/cfw/ folder, restarted the phone and tried the camera, but no luck. I tried it once with and once without the .ihex extention. I also tried the same by putting the files into the /system/vendor/firmware/ folder.... but no luck there either...
Any thoughs on what location I can try ? Or is restarting the phone not enough...? Should I do a hard reset ?
Close
I tried everything to add arabic support to a Galaxy Ace Plus GT-S7500,
note that arabic works and the letters are arranged in the correct order,
they are just not connected.
What i tried,
1) replace the font, the font changed but still the same problem
2) attempt to replace framework folder of an arabic supported stock , an Egyptian Version, it should have arabic support,
using the same method as installing a custom rom, using a CWM and a zip with a script to extract those files to the correct location, but i got bootloops.
3) I tried to replace the entire system folder with system folder of the Egyptian Stock ROM, same problem, bootloops.
4) Finally i tried to replace system.img.ext4 from stock firmware with the Egyptian system.img.ext4 and install it through odin3,
but it would complete.
and now im out of options,
unfortunately this phone has no dedicated forum i could find nor many custom roms, not that i want them as this isn't my phone and i'd like to keep it the same as it as.
I think you should try this patch: http://forum.xda-developers.com/showthread.php?t=1410460 , and its Arabic guide from here:http://blog.devasque.com/how-to-apply-patch/
It's recommended to test it without the "libwebcore.so" at first, then you can do it later if worked properly :good:
hero_glateam said:
I think you should try this patch: http://forum.xda-developers.com/showthread.php?t=1410460 , and its Arabic guide from here:http://blog.devasque.com/how-to-apply-patch/
It's recommended to test it without the "libwebcore.so" at first, then you can do it later if worked properly :good:
Click to expand...
Click to collapse
thanks,
unfortunately, i've tried that earlier but the main problem is that this only works on deodexed roms...
so i deodexed it and applied this, phone worked fine for one day and started giving trouble after words,
so i restored and let it be.
Thanks to the limits on new accounts, I cant post this in the relevant thread, so...
I recently used http://forum.xda-developers.com/showthread.php?t=1716124&page=73 on a new rom flash for the admire.
I found I had no gps, so I reflashed my phone then installed the gps fix script. Seemed like it worked, so I went about spending 6 hours tweaking my phone over the day.
Gps is gone again - not sure if maybe cell phone tower setting was turned on in locations tab and maybe got apps to work without it, but whatever the reason this script doesnt work for me.
The thread states that to flash one of the scripts in that doesnt have a gos issue, i need to uninstall the prior script.
How do I go about that without flashing my phone again and losing tons of work?
Do I have to look at the script and manually go in and delete every file it created and unalter every script it changed then reflash the new script?
Help?
Asking in your devices forum could be better.
But in general, yes, take a look at the zip you flashed. Inside META-INF/com/google/android you'll find an updater-script file that can be opened as text and tells you where everything inside the zip got flashed to.
Generally, scripts that run at boot get flashed to system/etc/init.d
Use a root explorer to locate the init.d address, or the name of the files that you saw inside the zip.
*******************************************************************************************************************************************************************************
Solution found see here
*******************************************************************************************************************************************************************************
Hello all,
So I've been searching for a way to change the boot animation on my S3, all I was able to find were ~year old or older tutorials...
(Currently have version 4.4.2, model i747M)
Now I've got no boot animation at all, (sound is still there), and I'm just looking to get it back. (Or if possible a custom one but I'll settle for anything at this point.)
I used the following tutorial to try and change it:
http://forum.xda-developers.com/showthread.php?t=2063280
I believe, (based off the files used in the tutorial), that the problem may be in/with the following:
/system/bin/bootanimation (exe)
or
/system/bin/samsungani (exe)
or
/system/bin/sh (text file)
Any help would be amazing.
*******************************************************************************************************************************************************************************
These have NOT worked for me, but hopefully anyone else experiencing this problem could benefit from them:
http://forum.xda-developers.com/gal...-to-restore-s3-samsung-bootanimation-t2288545 (credit to @thenookieforlife3)
http://forum.xda-developers.com/showthread.php?p=34815984&highlight=bootanimation#post34815984 (directed to specific post)
http://forum.xda-developers.com/galaxy-s3-att/help/trying-to-create-boot-animation-cm11-t2818466 (short thread with a "walkthrough")
*******************************************************************************************************************************************************************************
Hello there, @JamPro,
To restore your boot animation, check out the tutorial here.
Hey @thenookieforlife3,
I've already tried this, (and just tried it again), and sadly it didn't work.
I believe the problem may be with/in:
/system/bin/bootanimation (exe)
or
/system/bin/samsungani (exe)
or
/system/bin/sh (text file)
They were altered/used with the original tutorial that I tried.
Thank you very much for trying though
Do you have a custom rom or just rooted stock? Samsung uses qmg files for the stock and custom ones are in zip format typically.
es0tericcha0s said:
Do you have a custom rom or just rooted stock? Samsung uses qmg files for the stock and custom ones are in zip format typically.
Click to expand...
Click to collapse
I just have rooted stock. The tutorial I used uses .zip's, but, I think, it might have been a work around instead of using .qmg files.
Either way, I have my original bootsamsung.qmg and bootsamsumgloop.qmg files, but it won't display the stock animation...
I've added some potential fixes in my original post. None of them worked for me, but anyone looking for a potential fix should give them a look.