MT6627 Files in MT6582 - What to do ? - General Questions and Answers

Hi,
I have a MT6582 as under :
Hardware : MT6582
Model : Galaxy-Grand2
Build number : ALPS.JB5.MP.V1.21
Build date UTC : 20141229-131443
Android v : 4.4.2
Baseband v: -----
Kernel v : 3.4.5 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP Fri Jan 16 15:27:32 CST 2015
However I was playing with with rshar and mistakenly flashed a wrong recovery.img file because of which I have lost S/No. IMEI nos, baseband info and radio is off.
I see the following MT6627 files in my phone :
[email protected]:/ $ su
[email protected]:/ # find / -iname *mt6627*
/system/etc/firmware/mt6627
/system/etc/firmware/mt6627/mt6627_fm_v1_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v1_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v2_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v2_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v3_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v3_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v4_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v4_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v5_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v5_patch.bin
/system/etc/fmr/mt6627_fm_cust.cfg
/system/lib/libfmmt6627.so
find: /proc/125/task/3717/fdinfo/65: No such file or directory
find: /proc/125/task/4264/fdinfo/86: No such file or directory
find: /proc/125/task/4264/fdinfo/88: No such file or directory
1|[email protected]:/ #
And here are the files for MT6582 in my phone :
[email protected]:/ # su
[email protected]:/ # cd /
[email protected]:/ # find / -iname *mt6582*
/system/etc/firmware/WIFI_RAM_CODE_MT6582
/system/lib/hw/gralloc.mt6582.so
/system/lib/hw/hwcomposer.mt6582.so
/system/xbin/libmnlp_mt6582
find: /proc/653/task/658/fd/80: No such file or directory
1|[email protected]:/ #
Please advise what to do.
Thank you very much !!

[email protected] said:
Hi,
I have a MT6582 as under :
Hardware : MT6582
Model : Galaxy-Grand2
Build number : ALPS.JB5.MP.V1.21
Build date UTC : 20141229-131443
Android v : 4.4.2
Baseband v: -----
Kernel v : 3.4.5 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP Fri Jan 16 15:27:32 CST 2015
However I was playing with with rflasher and mistakenly flashed a wrokd recovery.imp file because of which I have lost S/No. IMEI nos,
baseband info and radio is off.
I see the following MT6627 files in my phone :
[email protected]:/ $ su
[email protected]:/ # find / -iname *mt6627*
/system/etc/firmware/mt6627
/system/etc/firmware/mt6627/mt6627_fm_v1_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v1_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v2_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v2_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v3_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v3_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v4_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v4_patch.bin
/system/etc/firmware/mt6627/mt6627_fm_v5_coeff.bin
/system/etc/firmware/mt6627/mt6627_fm_v5_patch.bin
/system/etc/fmr/mt6627_fm_cust.cfg
/system/lib/libfmmt6627.so
find: /proc/125/task/3717/fdinfo/65: No such file or directory
find: /proc/125/task/4264/fdinfo/86: No such file or directory
find: /proc/125/task/4264/fdinfo/88: No such file or directory
1|[email protected]:/ #
And here are the files for MT6582 in my phone :
[email protected]:/ # su
[email protected]:/ # cd /
[email protected]:/ # find / -iname *mt6582*
/system/etc/firmware/WIFI_RAM_CODE_MT6582
/system/lib/hw/gralloc.mt6582.so
/system/lib/hw/hwcomposer.mt6582.so
/system/xbin/libmnlp_mt6582
find: /proc/653/task/658/fd/80: No such file or directory
1|[email protected]:/ #
Please advise what to do.
Thank you very much !!
Click to expand...
Click to collapse
Reflash stock rom via Odin.
Tapped from my furious dogo

vaisakh7 said:
Reflash stock rom via Odin.
Tapped from my furious dogo
Click to expand...
Click to collapse
Don't have a stock Rom its a Chinese replica of Samsung Galaxy Grand 2 G7105

[email protected] said:
Don't have a stock Rom its a Chinese replica of Samsung Galaxy Grand 2 G7105
Click to expand...
Click to collapse
See if there's any ROM(Custom or Stock)available for your device.
Tapped from my furious dogo

Is there a rom for intex aqua Speed HD
Sent from my Aqua Speed HD using XDA Free mobile app

vaisakh7 said:
Reflash stock rom via Odin.
Tapped from my furious dogo
Click to expand...
Click to collapse
I think new guy

can you upload your rom backup ?

Related

Problem installing modules for galaxy tab 2 7.0 GT-P6200

Hi,
I am trying to compile ftdio_sio.ko and usbserial.ko modules for the samsung galaxy tab without succes. I get error when installing the modules:
Code:
# insmod ftdi_sio.ko
insmod: init_module 'ftdi_sio.ko' failed (Exec format error)
And this dmesg message:
Code:
# dmesg
ftdi_sio: no symbol version for module_layout
I think that the problem is that I generating the modules with differente kernel version:
This is the stock kernel version (uname -a): 2.6.36-P6200XXKL7-CL604659 #3 SMP PREEMPT armv7l
And this is what I have in my modules (strings drivers/usb/serial/ftdi_sio.ko | grep vermagic):
The differences are the #3 and the armv7l instead of ARMv7.
¿How can y solve my problem? ¿Is a .config problem?
Thank you.

[How To]Read kernel version without needing to flash/boot

Tonight I wanted to get more detailed versions of all the kernels HTC has released for our phone. I did not want to flash every last boot.img to the device, I also believe old kernels will not functions with new ROM's etc complicating things further.
You may also find yourself with boot.img files which you have no clue of what they are.
So here is my "How to read kernel versions without needing to flash/boot them on a phone" based on things I found with a good Google session.
1)You need to split the boot.img into kernel and ramdisk.
I found jcase posted a nice split script for signed boot.img here:
http://forum.xda-developers.com/showthread.php?t=1008619
Also for more Windows friendly michfood posted a great script/app package here:
http://forum.xda-developers.com/showthread.php?t=2036528
For unsigned boot.img I think you can use scripts like this but I have not tested:
http://linuxclues.blogspot.com.au/2012/11/split-bootimg-python-android.html
2)Lets assume we are going the Linux route with a signed boot.img
Download jcase script and extract to a folder
3)Place your desired boot.img to read next to the jcase script.
4)./split_bootimg.pl boot.img
This will split the boot.img to boot.img-kernel and boot.img-ramdisk. boot.img-kernel still itself is multiple files and we need to further break that up.
5)od -t x1 -A d ./boot.img-kernel | grep "1f 8b 08"
This should list where it finds the gzip magic word
6)dd bs=1 skip=16253 if=./boot.img-kernel | zcat > split_kernel
Using the offset(eg 16253 for 3.0.8 or 16419 for 3.4.10 kernels) found in step 5, if multiple are listed it is likely the first.
7)strings ./split_kernel | grep gcc
Observe the listed strings, you should be able to find the version easily.
Eg:
Linux version 3.4.10-gfb67a50 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Mar 26 17:34:42 CST 2013
If you are heading down the Windows route with michfood's app package which includes 7zip and Swiss File Knife amongst other apps:
2)STD_unpack.bat boot.img
3)bin\sfk166.exe hexfind ./boot/kernel -bin /1F8B08/ -case
Find "hit" for magic word. eg 0x4023 or 0x3f7d
4)bin\sfk166.exe dec 4023
Convert hex to dec. eg 4023 to 16419 or 3f7d to 16253
5)bin\sfk166.exe partcopy ./boot/kernel -fromto 16419 5699584 split_kernel.gz -yes
Where 5699584 is simply the length of the file, split the kernel. ( filesize: bin\sfk166.exe list -size ./boot/kernel )
6)bin\7z.exe -tgzip x -y split_kernel.gz
Decompress the kernel.
7)bin\sfk166.exe find split_kernel gcc
Observe the listed strings, you should be able to find the version easily.
Eg:
Linux version 3.4.10-gfb67a50 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Mar 26 17:34:42 CST 2013

[Q] wget problem

hi all,
i have a problem with the wget command
when i wget something, it always say:
Connecting to XXXXX
wget: clock_gettime(MONOTONIC) failed
Click to expand...
Click to collapse
seems that it is a problem with i686 as i don't have this error with my arm phone
anybody know how to fix it?
background:
BusyBox v1.21.0
Linux localhost 3.4.34-192203-gfbf132b #1 SMP PREEMPT Mon Nov 18 13:08:48 CST 2013 i686 GNU/Linux
turns out it is the problem of busybox, probelm fix with re-compile busybox

LineageOS volume is very loud

-----SYSTEM INFORMATION-----
Build: lineage_a5y17lte-userdebug 7.1.2 NJH47F 6130578a64 test-keys
CM version: 14.1-20180213-UNOFFICIAL-a5y17lte
Build fingerprint: 'samsung/a5y17ltexx/a5y17lte:7.0/NRD90M/A520FXXS2AQF2:user/release-keys'
Bootloader: A520FXXS2AQF2
Radio: A520FXXS2AQF2
Network: MOBITEL
Kernel: Linux version 3.18.14-gacc44c75f95 ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Feb 14 00:28:08 CET 2018
Command line: console=ram loglevel=4 sec_debug.level=0 sec_watchdog.sec_pet=5 DynSysLog=0 androidboot.debug_level=0x4f4c ess_setup=0x46000000 [email protected] [email protected] charging_mode=0x30 s3cfb.bootloaderfb=0x67000000 lcdtype=4259858 consoleblank=0 vmalloc=384m sec_debug.reset_reason=7 ehci_hcd.park=3 oops=panic pmic_info=3 ccic_info=1 cordon=277790bc1ea6f80f42cb0c7577a5e3b3 connie=SM-A520F_OPEN_EUR_dcf53c782347f3688fd08e45ccf1e757 fg_reset=0 androidboot.emmc_checksum=3 androidboot.boot_salescode= androidboot.odin_download=1 androidboot.bootloader=A520FXXS2AQF2 androidboot.selinux=enforcing androidboot.security_mode=1526595584 androidboot.ucs_mode=0 androidboot.hw_rev=8 androidboot.hardware=samsungexynos7880 androidboot.warranty_bit=1 androidboot.hmac_mismatch=0 androidboot.sec_atd.tty=/dev/ttySAC2 androidboot.serialno=5200ed5afeed64c3 snd_soc_core.pmdown_time=1000 androidboot.em.did=07740e7bccf8 androidboot.em.model=SM-A520F androidboot.em.status=0x0 reserve-fimc=0 firmware_class.path=/vendor/firmware factory_mode=0
Bugreport format version: 1.0
Dumpstate info: id=1 pid=7364
-----------------------------------------------------------------------------------------
My volume is way too loud after I did a backup onto my external sdcard.
When I first got this error, I formatted my device and flashed LineageOS again and it fixed the problem. Now i've been using my phone for a while and I don't want to lose all my data and stuff again.
I don't even know where should I start, so tell me if you need more information about bug.
I know about mixer_paths.xml but there is no label for speakers or something like it should be.
Thanks for all help!
p.s. sorry for bad english
Thread closed as per OP request

Desperately seeking hid-dr.ko

Hi, I spent my evening (and night) trying to load this driver module into a cheap chinese tablet with Lollipop:
Code:
Linux version 3.4.39 ([email protected]) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #651 SMP PREEMPT Fri May 5 15:47:15 CST 2017
I tried to compile it on my own on Debian, but (even if I'm a developer) I've no experience in kernels, so the best I got is an .o file instead of a .ko file, and I'm not sure if I'm using the right kernel sources/toolchain/compiler
I also tried to download a precompiled .ko for this kernel (3.4.39) and to change the magic number with an hex editor, but with no luck:
Code:
insmod: init_module '/vendor/modules/hid-dr.ko' failed (Invalid argument)
So before going to bed I'm asking here as my last resource. I'm open to any help and suggestion :good:

Categories

Resources