I had a problem with my SM-N9005.
They lost her baseband (baseband null) and also IMEI (IMEI null) with a malicious app.
So, no one baseband can't be flashed, but this was solved just flashing a PIT FILE + KIT KAT ROM + some commands in ADB (adb shell, su... etc).
Like in this topic:
http://forum.xda-developers.com/showthread.php?t=2567133
But I have a GT-I9500, with baseband... But IMEI is generic... Well, I can try to repair it with a repairer box.
But I'd like to know if exists some similar way to restore the partitions of S4 (and maybe the partition with the IMEI and the CERT), like I did with my SM-N9005.
Well, exists here some similar thread for S4 GT-I9500?
Like for example, installing together some ROM with a PIT file, and after tiping commands like this at some ADB program?
Comands like this?
adb shell
su
dd if=/external_sd/mmcblk0p1 of=/dev/block/mmcblk0p1
dd if=/external_sd/mmcblk0p2 of=/dev/block/mmcblk0p2
...
dd if=/external_sd/mmcblk0rpmb of=/dev/block/mmcblk0rpmb
Well... If exists a similar method... I'd like to try...
Thanks!
you can copy PIT using adb shell
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176.
Under odin there is option to creat pit partition.
You can copy all your partition before repartition.
Related
Hello there guys, i have owned three different galaxy variants namely : m110s,m130k and gt-I9000. So far, its been a wonderful experience flashing and modifying except for the korean variants. ever since i softbricked my m130k, finding resources for it has been a headache, and all the people, including some guys here in xda are not that interested in the other lowly variants of galaxy s, even if they're also using korean variant like m110s. i have compiled some resources and links and i will post them one by one as i have the time. for now, im just asking all of you guys out their to help in making posting and helping out people using the said korean phones.
up until now, i haven't fixed my phone yet, i badly need the other files missing in the roms available in the internet, like dbdata.rfs and the likes.i know many guys using the same phones have also encountered such problem. anyway i would like to post this link, for those guys willing to use ADB or Heimdall and post some of their own phone files. thank you
>>>>>link for instructions in extracting phone files<<<<<<<<<<<<<<
http://www.freeyourandroid.com/guide/building_roms_for_odin
ill also upload my own collected files as we go along.Thank you all. Attached here is a pit for m130k extracted using Heimdall.i have already used it and it can successfully repartition your device, note however that we cannot use the roms found in the internet because they only contain factory,zimage and modem file, so repartitioning will indeed BRICK your unit unless you use a complete rom fil for m130k.
e:/ cant mount /efs (shw-m130k)
hello guys. just giving an update on those persons having problems with their m130k. specifically the e:/cant mount issue. so far ive always been in the wrong direction. my phone was already working but it just keeps on resetting the settings on power up, as well as i cannot save anything on internal sd (it was detected as 0 bytes). so i searched and found possible solutions in pit. so i downloaded pit using heimdall, and used it to repartition my system. however, as worse comes to worse. this caused my phone to not go past the recovery screen, not being able to use my phone again and the cant mount error still occurred. in short, it made my problems worse. so i did some research and out of frustration, i tried using the EA20 revision for m130k. after flashing, all the cant mount error vanished. however, because i used repartition earlier, i still cannot go past the recovery console and the galaxy k logo is gone, replaced by anycall talk-love logo.
so for those who are in the same position as me and haviong cant mount problems,
i suggest using EA20 first to fix your phone and PLEASE do not REPARTITION. and for those who can give me a hand, ill appreciate that. thank you
pulling data from ADB for possible recovery
dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096
dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096
dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096
dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096
dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
adb pull /sdcard/boot.bin
adb pull /sdcard/pit.pit
adb pull /sdcard/efs.rfs
adb pull /sdcard/Sbl.bin
adb pull /sdcard/param.lfs
adb pull /sdcard/zImage
adb pull /sdcard/factoryfs.rfs
adb pull /sdcard/dbdata.rfs
adb pull /sdcard/cache.rfs
adb pull /sdcard/modem.bin
some ADB commands i saw for pulling files and possible creation of recovery rom
mms.apk
can you sirs provide me a stock mms.apk and tw.launcher for the m130k plsssss
i accidentally uninstalled it and have no backups for it
check this out guys... m130k.blogspot.com
shwm 130
hello guys. im using a LG shwm130L anycall. it was factory reset by accident now its in korean languages. Im really really badly needed your help. My sis gave this to me and its very valuable.
ryenneinaho said:
hello guys. im using a LG shwm130L anycall. it was factory reset by accident now its in korean languages. Im really really badly needed your help. My sis gave this to me and its very valuable.
Click to expand...
Click to collapse
just press menu button, press settings and scroll down to keyboard letter "A" icon press it and press the top most menu to switch to English.
Check this out! Links to useful Guides and " Banned " Documentaries
please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Anyone??
samersh72 said:
please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Click to expand...
Click to collapse
Attached
thank you very much my friend :good:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
aukhan said:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
Click to expand...
Click to collapse
param.bin in odin as pda
samersh72 said:
param.bin in odin as pda
Click to expand...
Click to collapse
@samersh72 this issue I got it fixed thanks for the response.
BTW we can flash .Bin files from PDA its only Modem and this file should not be flashed on Modem section.
how to extract param.bin? i used poweriso on windows it cant
param_i9500.zip
Link - https://www.androidfilehost.com/?fid=457095661767103950
Solved. Root then back up EFS. Of course...
http://forum.xda-developers.com/showpost.php?p=48709232
So I'm trying to root my VS98024A but I'm having trouble backing up the EFS.
Step says to do this
To backup the EFS manually use the code below. It will save your two EFS partitions to the root of internal sd.
Code:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img
Click to expand...
Click to collapse
But I can't for the life of me find where to type it. I found something that says to SHIFT+RMS and open a CMD in the IOroot25 folder. I typed adb devices and I got a serial number so I know the phone is plugged in fine.
But then I type in
Code:
adb shell
su
and it shows that su is not found. I understand that I need to be rooted to use su command but how am I suppose to back up the EFS before I root?
can't boot my phone cause I have deleted my efs folder becasue in one of the guides here someone said that if you had full recovery of your efs and you sure that your efs folder is damged than delete the folder and recover, well so I did... (I downgrade from lolipop to 4.4.2, lost my imei in the "process"
I had the efs.img backup on my computer and I moved it to my phone, I deleted my efs folder using root browser and than I used some adb app to type the commend "dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096" and I restred my phone, but it never left samsmung logo and I can't boot up my phone I tried to go to stock channgeing roms, nothing helps, in recovery mode it says "E:/can't mount efs" something like that.. and the phone won't boot up, just stuck on samsung logo.
somone have any Idea what can i do?
After flashing a stock ROM, did you perform a factory wipe before booting the phone for the first time?
audit13 said:
After flashing a stock ROM, did you perform a factory wipe before booting the phone for the first time?
Click to expand...
Click to collapse
you mean when I downgrade from lolipop to the stcok rom?, if yes Than I didn't and that what cause me losing my imei and started this whole efs problem...
Did you try flashing back to stock LP? Flashing stock kk would not normally damage the efs.
audit13 said:
Did you try flashing back to stock LP? Flashing stock kk would not normally damage the efs.
Click to expand...
Click to collapse
yey I manged to fix ti!!!! god that was hard **** yes!! to me!
if someone will see this so this is what I did
1) I flashed to stock rom based lolipop but still had the issue of "E:failed to mount /efs" cause it didn't recvoer the folder and my phone still won't boot up, so I found a fix
right here http://forum.xda-developers.com/galaxy-s3/general/how-to-fix-efailed-to-mount-efs-invalid-t2858056
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3 (this line dind't even work for me so I skipped it)
Code:
reboot
affter I did it phone boot up finally but I still had a fake Imei so next I used this guide (this time I ain't deleting the efs folder like he wrote"
2)http://forum.xda-developers.com/showthread.php?t=2392632, I alredy had efs.img as back up so all I did is install latest "su" and the latest busybox than I installed "Terminal Emulator"
and used the second method
"Put your efs.img on your phone memory(not external sd card!) in the main memory, not inside folder.
Open terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Then write:
Code:
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096"
my phone rebooted and now I have my imei back!
Congratulations on your success and posting your solution!
worked for me
okdark4 said:
"Put your efs.img on your phone memory(not external sd card!) in the main memory, not inside folder.
Open terminal emulator
Write the following:
Code:
su
Then click enter. It will ask for super user permission, give it permissions.
Then write:
Code:
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096"
my phone rebooted and now I have my imei back!
Click to expand...
Click to collapse
Hi okdark4,
thanks for sharing!
For me, I hat to use a slightly different command - just for the others to know:
su
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3
reboot
That's it!
Hi mates, thank you for helping!
Really a complicated story mine, had on this phone already issues with baseband (when I bought it had LL 5.01) when I upgraded it to RR 7.1.2, then I figured out I needed to upload the latest stock 6.0.1 G900PVPS3CQD1 to have it working, I also PITted the phone before, it worked for 5-6 monts, then the signal went off.
I've tried different solutions:
1) in TWRP typed in its terminal the commands I've found here:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
It said "not enough space" but it looks in the end it copied around 3MB. Rebbited but no changes
2) Again thr TWRP:
dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=efs.bak
dd if=/dev/block/bootdevice/by-name/modemst1 of=modemst1.bak bs=4096
dd if=/dev/block/bootdevice/by-name/modemst2 of=modemst2.bak bs=4096
find /efs -exec ls -l {} \; > efs-permissions
nothing changed
3) updated to lineage 15.1, it says "no sim card" (the sim works fine in another 900V) with rooted ADB shell tried the "dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1" but no such file. Then I decided to flash stock LL 5.01 BOK but like in stock 6.01 says "invalid sim card".
4) I run in adb:
adb shell
mount
and can't see /stl4 /efs so this is why I assume that efs is corrupted.
Somebody says to flash (under Odin PDA) EFS-Fix-regalstreak.tar.md5, but I won't risk to flash other phones data on my phone, including its IMEI.
Someone else says I have to backup EFS (I suppose this is possibile because when I executed adb commands it never said me that the files don't exist) and reflash it to fix the corruption. How this is possible to do? Thank you!
PS: I attached the backupof EFS made by TWRP, seems all good (not corrupted), why sim doesn't work?
I'm now on stock LL BOK, using in adb mount I have this
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0