[Q&A] Mtk 65xx general scatterfile question - Android Q&A, Help & Troubleshooting

Hello,
first of all, i have to say i am googling around and found nothing, exept how i use a scatterfile etc.
My problem:
After flashing a custom cwm with spflashtools to my jiayu g2f, i got the nvram warning under wifi.
This warning comes, because wifi/bt MAC is random and IMEI is lost.
This is reproducable.
So my question is:
All tutorials said, flashing a custom cwm with spflash is not a problem:
just select modem db file and scatter, select only the recovery and change the file to the custom one.
I take the custom one from needrom. It works, when
flashing via mtk droid, but when flashing with spflash, i get the nvram error.
I recognize, that the size of the file is another than the original size in the official rom. Isnt there a need of editing the scatterfile to fit it to the new size or is the recovery area on the phone big enough?
Today i make my own cwm via mtk droid tools and i flash it. Also with this, i am able to reproduce the nvram error.
For me, it is only possible to write the IMEI and WLAN MAC and BT MAC back with SN Station writer. All other tools
will fail on my device.
Thanks for reading,
Nine

Related

[Q] mtk6575 note2 imei issues

Hello,
I have an emei problem on my note 2 clone mtk6575
after searching and flashing and modding and learning , i have been able to boot android on this device after it got bricked while READING memory/nand from SP flash tool!!!
Now no emei , no baseband , and i do not even know were to start.
Tried mobile uncle tools, engineering mod , its says radio on , absent , but the AT command failed to send.
tried mtk droid tools , to restore my nvram.bin and .tar , and even to set the imei , its says pttycmd1 not found and nothing happens.
tried spflash tool , edited scatter file to enable nvram to show up , loaded the nvram image , but the spflash starts speaking about layouts , formatted , and used firmware upgrade mod , got an error , with no text string to explain.
tried to copy the nvram files from stock rom via adb , restarted , still the same.
logcat shows something about nvram like nvram not ready , nothing else , neither do dmesg.
the partition is mounted , or i wouldn't see the files under /data/nvram right? so mtd2 is not corrupted.
tried all the flashing tools , Maui META 3G , sn write tool , imei&sn writer .... all with the same issue:
the device goes into meta mode , and the cdc drivers are installed , detected and loaded with given virtual com port , but the utilities are all getting time out , they are sending commands to device but device is not answering , and the strange thing is i can adb shell to it , with aprox all stuff mounted , and no nothing in dmesg regarding modem , nvram , radio , usb ....
I have also tried a lot of other stuff , like copying my stock modem.img , resetting permissions under nvram , using write memory of SPFT to write the raw data of my stock nvram to nvram address ..... i do not know what i might be doing wrong as well as what i am exactly doing lol
I hope someone is actually having this issue or not but might be able to give a clue on what to do , since the past 2 month and thanks to the xda developpers forums and wikis i have diged into android, ported recoveries roms boot.img's , and just do not want to go for compiling kernels and building android from scratch yet...
Thanks in advance

[Q] Several issues

Hi,
after ROM flashing (ROM that was working fine for me earlier - MIUI V5 5.1.30 , Android 4.2.2 )
i started to get this in recovery :
unable to mount /emmc
unable to mount internal memory
unable to mount /data
+ i cant even wipe dalvik cache.
after first boot, the ROM is stuck at boot logo ( MI logo).
I thought its a bad flash so I flashed a ROM that I got the phone from dealer with (MIUI 4.4.25). Phone turned on, but the IMEI numbers are gone.
When I run Mobileuncle tools / Engineer mode , the CDS Information option is greyed out, its not active.
So I wanted to recover the IMEI via MTK Droid Root & Tools . But when I plug in the device to the PC, the PC doesnt recognize it.
Also, my phone doesnt recognize the SD card (in the OS, in the recovery its everything OK).
Can you help me with this?
THANK YOU
Dejvko said:
Hi,
after ROM flashing (ROM that was working fine for me earlier - MIUI V5 5.1.30 , Android 4.2.2 )
i started to get this in recovery :
unable to mount /emmc
unable to mount internal memory
unable to mount /data
+ i cant even wipe dalvik cache.
after first boot, the ROM is stuck at boot logo ( MI logo).
I thought its a bad flash so I flashed a ROM that I got the phone from dealer with (MIUI 4.4.25). Phone turned on, but the IMEI numbers are gone.
When I run Mobileuncle tools / Engineer mode , the CDS Information option is greyed out, its not active.
So I wanted to recover the IMEI via MTK Droid Root & Tools . But when I plug in the device to the PC, the PC doesnt recognize it.
Also, my phone doesnt recognize the SD card (in the OS, in the recovery its everything OK).
Can you help me with this?
THANK YOU
Click to expand...
Click to collapse
flash it back with original firmware using sp flash. dunno with IMEI though if it will come back.. but start from there.. after that root and go to mobileuncle to restore your IMEI.
Dejvko said:
Hi,
after ROM flashing (ROM that was working fine for me earlier - MIUI V5 5.1.30 , Android 4.2.2 )
i started to get this in recovery :
unable to mount /emmc
unable to mount internal memory
unable to mount /data
+ i cant even wipe dalvik cache.
after first boot, the ROM is stuck at boot logo ( MI logo).
I thought its a bad flash so I flashed a ROM that I got the phone from dealer with (MIUI 4.4.25). Phone turned on, but the IMEI numbers are gone.
When I run Mobileuncle tools / Engineer mode , the CDS Information option is greyed out, its not active.
So I wanted to recover the IMEI via MTK Droid Root & Tools . But when I plug in the device to the PC, the PC doesnt recognize it.
Also, my phone doesnt recognize the SD card (in the OS, in the recovery its everything OK).
Can you help me with this?
THANK YOU
Click to expand...
Click to collapse
Hi. What MIUI did you flash ? What version ?
What you have to do is to enter again in recovery with vol+ vol- and power button pressed all together!
Wipe everything except SD Card!
Remove your SD Card and go to some laptop or PC with SD Card reader, copy your old MIUI on it.
After copy and wipe go to your phone and insert your card.
Start your phone directly in recovery and now your SD Card should be recognized by the phone.
Reflash your old MIUI.
Good Luck.
Tell us if you have problems!
handshake1234 said:
flash it back with original firmware using sp flash.
Click to expand...
Click to collapse
i cant. my PC isnt recognizing the phone.
stympy said:
Wipe everything except SD Card!
Click to expand...
Click to collapse
i cant. the recovery isnt mounting emmc, data, internal memory.
that will be a big problem if phone cannot be detected on sp flash tool anymore. make sure phone is turned off and the sp flash is waiting for your device after you insert cable to phone.
i made some progress, MTK Droid Root n Tools recognized the phone.
i should be able to flash the stock now, right?
EDIT: I managed to flash S135 (130917) - stock chineese rom and internal storage, USB storage, SD storage - all seems to be functional and loaded. So this issue seems to be figured out.
EDIT: flashed desired MIUI 4.4.25 Multilang via CWM, all storages operational. Im on fixing the IMEI now.
--------------------------------------
EDIT: I cant restore the IMEI.
I tried imei.exe trick. No change.
I tried engineering mode / Uncle tools - in MIUI i dont have access to CDS Information, in stock ROM I do, but experience a "failed to send" response.
I tried MTK Droid Tools - i type in new IMEI, i reboot via the programme and after reboot the IMEIs are still "null"/"null".
Im desperate. Any help?
Dejvko said:
i made some progress, MTK Droid Root n Tools recognized the phone.
i should be able to flash the stock now, right?
EDIT: I managed to flash S135 (130917) - stock chineese rom and internal storage, USB storage, SD storage - all seems to be functional and loaded. So this issue seems to be figured out.
EDIT: flashed desired MIUI 4.4.25 Multilang via CWM, all storages operational. Im on fixing the IMEI now.
--------------------------------------
EDIT: I cant restore the IMEI.
I tried imei.exe trick. No change.
I tried engineering mode / Uncle tools - in MIUI i dont have access to CDS Information, in stock ROM I do, but experience a "failed to send" response.
I tried MTK Droid Tools - i type in new IMEI, i reboot via the programme and after reboot the IMEIs are still "null"/"null".
Im desperate. Any help?
Click to expand...
Click to collapse
This is bad... Your NVRAM is erased! Look on /dev/radio/ and tell us if this radio folder is empty!
stympy said:
This is bad... Your NVRAM is erased! Look on /dev/radio/ and tell us if this radio folder is empty!
Click to expand...
Click to collapse
yes its empty
looks like i need to restore hard-IMEI, this is my case:
NStorm said:
They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.
@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:
To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.
@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.
It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.
Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.
Click to expand...
Click to collapse
but Maui META 3G isnt recognizing my phone, though it starts a meta mode automatically. SN Write tool itsnt working as well.
Thoughts? Is it possible to flash just a nvram partition? When I try my SP Flash Tools get a 8038 error.
i found a nvram.img for p780 from someones backup on the web, so i tried to restore it via adb, i got this:
edit: OK, the batch file runned succesfully ( its the utility nvram_backup_restore_wo_root-shell_3.7z , stympy, you posted it here in one thread )
what shall i do now? the IMEI are still invalid after reboot.
put the nvram.img to your sdcard not on your computer. and try the batch file again.. I tried that before using that image .. it did not help restoring imei... try it maybe it will help you
Hi all. For those of you who flashed wrong firmware and your IMEI are gone look what happent to me:
1. i flashed a custom recovery who errased my IMEI. That happent because the recovery was 7.5 mb instead of 6 and i was "blind" and careless and stupid and...nevermind
2. after restart surrpriseee.. no IMEI.
3. allmost total panic here.On MTK Droid Tool 2.5.3 IMEI NULL paniC again, and my worst nightmare PTTYCMD1 ERROR FILE NOT FOUND. Panic panic panic, used hard words #@$^%&(&&%$%& words alot.
4. after a little cooling i reflashed my old TWRP back and started to look in my computer for the firmware i allready have installed wass Baralajbi v6 (i like the partitioning of internal memory) firmware from needrom. Before that i tried to restore the NVRAM from TWRP. It did not work. No IMEI has appeared after restoring with TWRP.So i have rebooted the OS back and i immediatly go to /dev/radio where the PTTYCMD1 and the folder was empty.Again *&^%&$%^#^%#%^#^&(*(^* words.
5. Then i have reflashed Baralajbi firmware and after flash i have installed Root Explorer. Again i immediatly go to /dev/radio where the PTTYCMD1 and the folder was this time all the files were there.
6. So if this file PTTYCMD1 is in the /dev/radio folder you can restore your IMEI safely with any tool.
7. I hope this little problem of mine will help you other users to restore your IMEI.
I flashed different recovery (6mb, cwm) and different rom (miui 4.4.25 multilang).
I managed to get this... (But all of them have 0 size). Is it good?
I tried to use mobileuncle tools, but the option i need is still greyed out (wonder if miui blocks it out? on stock rom it was accessable)
Dejvko said:
I flashed different recovery (6mb, cwm) and different rom (miui 4.4.25 multilang).
I managed to get this... (But all of them have 0 size). Is it good?
I tried to use mobileuncle tools, but the option i need is still greyed out (wonder if miui blocks it out? on stock rom it was accessable)View attachment 3285306View attachment 3285307
Click to expand...
Click to collapse
You must try to flash a stock firmware CN or ROW.
MIUI is custom firmware.
The firmware must be flashed with SP Flash Tool.
Sent from my Lenovo P780

SIM card not detected, no IMEI and baseband null

Hello everyone
Well they say you should not mess with thing you do not perfectly know about exactlt same thing happen to me. Well i have Mediatek device MTK6582 running kitkat v4.4.2, i was trying to root it but to no avail.So finally i read a post here about how every phone can b formated by installing CWM/TWRP recovery and then installing the SU binary using custom recovery installed. Ok i followed this method.
1) Made a backup using MTK droid tools of following locations (i still have that backup).
a)PRELOADER
b)MBR
c)EBR1
d)BOOTIMG
e)SEC_RO
f)LOGO
g)EBR2
h)ANDROID
2)Created ROM file.
3)Processed the ROM file for sp flash tool.
4)While processing the ROM file MTK droid tools was unable to make a CWM recovery file.
5)I do not know why but i formatted my recovery partition using sp droid tool.
6)When i tried to put recovery backup to its place sp flash tool would not do that.
So i left my phone as is it for sometime untill i ran out of space and no more apps could be installed.So i decided to format the USRDATA block. This is where things went really bad. I guess in sp flash tools i did not write the correct end, adress i wrote the size of that block it was 0051400000 on MTK droid tools , iguess i should have wrote the starting adress of next block.After format my phone would not start.It was stuck on manufacturer's logo.So on a different PC i downloaded all the stuff i mean drivers sp flash tools MTK droid tools etc. And tried installing my phones recovery, and this time it was installed perfectly.I went into my recovery wiped all user data and phone started normally untill i realised that no network was there and a "No SIM card" notification was there. So i did a factory reset thinking maybe it would help.But again phone was stuck on manufacturer's logo.And this time i would not even enter the recovery (it would show as if it is entering recovery i mean the animation stuff that shows when it enters in the recovery and then the phone would restart and stuck again).So i reinstalled the complete backup of all blocks that i have mentioned above.And phone switched on successfully. But again no "SIM card detected".
So i googled, and in Last 24 hours i tried everything i could find there (alright maybe not everything but most of "everything".And i also have a successfully rooted my phone.
Here are my observations
1) When i connect my phone with MTK droid tools it shows no IMEI.
2) MTK droid tools also shows no baseband.
3) Settings>About phone>Status>IMEI information shows No IMEI for both SIM cards.
4)In factory mode where there are all the tests and stuff shows the actual IMEI's of my device But no SIM card.(Note: No IMEI in settings).
5)In ES file explorer data/nvram shows a lot of files and folders its not empty.
Here is what i have already tried.
1) Tried restoring IMEI using MTK droid tools.
2) Making new MP0B_001 using imei.exe
3)Installing my backup for second time.
Right now i am do not know what to do next.Any help i would gretly appreciate.Sorry for long post when i wanted to clear so that you can suggest something.Thanks

help to unbrick MT6589 phone

Hello,
I've bricked my Mediatek 6589 (UMI X1S) and I've trying to recover it for the last few days, unsuccessfully. I was experiencing several system freezes, so I decided to boot CWM and format everything (system, data, emmc). When I tried to download a stock rom, SPFT detected the device as 'Mediatek Preloader USB VCOM Port', but failed after 'DL 100%'. I've tried different SPFT versions, on Windows 10 and 7, tried Download, Format, Firmware Upgrade, nothing works. I've also tried to find the 'test point' for my phone, but had no luck. Depending on the SPFT version, I get different error messages.
On SP_Flash_Tool_v3.1244.0.sn85:
Sp flash tool error (8200)
(Platform error) the load and target are inconsistent
On SP-Flash-Tool-v5.1528.00:
PMT changed for the ROM; it must be downloaded.
Even though I'm unable to download anything, I'm able to Read from the device, so I hope it's not totally bricked! I downloaded the first 128kb, and confirmed that the preloader is the same as the file from stock rom. It just doesn't start at 0x0 as the scatter file says, but at 0x800 (see hex screenshots). Is this normal?
It seems as if SPFT is doing some check (maybe that PMT), and refuses to download the files. The scatter file doesn't mention any PMT. Is it possible to download it from another working phone?
I should mention, that I had changed the partition layout a few months back (using meteos-mtk6589-rom-edit-optimized_for_4gb-en.apk), to get a larger data partition. I don't know if it's related to that PMT error...
I would appreciate if someone more experienced in these matters could give me a hint on what to try next. I'm also attaching SPFT logs.
Thanks
Format error and catter file in attachment.

Acer b1 a71 stock rom with scatter file

i bricked my acer b1 a71 trying to install twrp. after flashing it successfully and went to reboot . it just showed ther acer logo then blank screen. i tried going to recovery but was just able to go to the first part where you have three choices sd image update mode flashboot mode and clean boot. i tried all three and just acer logo then blank screen. tried the reset pin on the side but still nothing. i read and study all tutorials there is and it all boils down to having a stock rom. now i"ve searched and searched the entire net and i was able to get two stock roms but i dont know if it is okay or not because when i use the scatter file on sp flash tools it says scatter file error or format error i tried to rename it but till error. i used every version of sp flash tools and still scatter file error. so i dont know if those roms are legit or not. also my laptop is 64 bit. i read somewhere that mtk6577 is not supported by 64 bit. the mtk on the specs of acer is mtk8317t but it is also recognized as mtk6577 and that is also what mtk droid tools showed. can anybody please help me here. i know xda has helped a lot of peole and im hoping that i can be also one of them. thanks a lot in advance.

Categories

Resources