The following happened to me, So... Just as a word of caution to guys who want to flash their Lenovo A7000 with SP Flash Tool. On the Download tab, in the drop-down menu, do not sellect the "Format All + Download" option. Use "Download Only" . With "Format All + Download" chances are that you will be wiping the NVRAM and as a consequence loose the IMEI numbers of the SIM slots, plus you will get an annoying nvram warning in the wifi settings dialogue. Perhaps the experts can add here what else will go wrong once the Nvram is wiped.
In case you have done this already and are now desperately looking for a solution, you can restore the Nvram from a previous nandroid backup. You need to restore your backup in recovery, provided you have one, and copy MTK Nvram Tool zip onto you sdcard. In recovery, install update from sdcard. It will open an Aroma installer with easy steps to backup the Nvram. You can find the zip file here: http://forum.xda-developers.com/showthread.php?t=2594364. Now you need to reflash the new rom, or restore a backup of it, repeat the previous steps in recovery mode, except this time select Restore Nvram in the Aroma installer. Your IMEI numbers should be back in place now.
If you don't have a nandroid backup of the rom prior to flashing with the format + download option, I am sorry to be unable to provide any help here.
if pmt must be upgrade then select upgrade mode . when select this way. nvram temporary backing up and flash formatting. after download nvram backup restoring.
I want to repartition system partition of 800 something mb to install gapps aroma on cm13 RR ROM
So any can help me out ?
Thanks in advance
You need to reflash the stock Rom!
bakshish007 said:
I want to repartition system partition of 800 something mb to install gapps aroma on cm13 RR ROM
So any can help me out ?
Thanks in advance
Click to expand...
Click to collapse
I don't now if you are still active to see my reply or you might have got the answer from some other post...
So, I would be quickly summing it up.
You need:
*BACKUP(Important)
*SP Flash Tool
*Stock Firmware
*rePartition files (in the form of EBR 1 and EBR 2(GOOGLE IT:fingers-crossed)
*Scatter File of stock firmware.
Procedure:
Load the scatter file.
Locate all the sections of the scatter file like BOOTIMG, LOGO, BIN etc from the stock firmware
Don't locate EBR1 and EBR2 from the stock firmware rather locate in the partition files
select Firmware Upgrade
Download
connect mobile with usb with battery removed.
after a tick mark boot your device
Hit Thanks if you like it!
Hii.. All , I'm using A Lyf wind mobile , I have my my orginginel ( system.img ) file I don't have PC Computer . , I'm using TWRP 3.0 .. Somebody help me how to flash a System.img using TWRP
_ THANKS _
vinay durva said:
Hii.. All , I'm using A Lyf wind mobile , I have my my orginginel ( system.img ) file I don't have PC Computer . , I'm using TWRP 3.0 .. Somebody help me how to flash a System.img using TWRP
_ THANKS _
Click to expand...
Click to collapse
TWRP can flash .img files without having to do anything special.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
TWRP can flash .img files without having to do anything special.
Click to expand...
Click to collapse
Sir .. I was tried , there was only 2 options in TWRP 1st one recovery & 2cond one boot .. Which 1 ican select ,, I need to flash system.img
vinay durva said:
Sir .. I was tried , there was only 2 options in TWRP 1st one recovery & 2cond one boot .. Which 1 ican select ,, I need to flash system.img
Click to expand...
Click to collapse
I dont think you've booted into TWRP yet, I think you're looking at bootloader, select recovery and see if it boots to TWRP.
TWRP has more than just 2 options, are you sure you have TWRP? What version is it? Does it look like this?
http://cloud.tapatalk.com/s/58a730280544c/Screenshot_2017-02-17-12-15-48.png?
If that's what you have, select Install then find your .img and flash it.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
I dont think you've booted into TWRP yet, I think you're looking at bootloader, select recovery and see if it boots to TWRP.
TWRP has more than just 2 options, are you sure you have TWRP? What version is it? Does it look like this?
http://cloud.tapatalk.com/s/58a730280544c/Screenshot_2017-02-17-12-15-48.png?
If that's what you have, select Install then find your .img and flash it.
Click to expand...
Click to collapse
Yes sir I'm Booting Into TWRP , Then > install > install images >. I found 2 options 1st one BOOT 2cond RECOVERY , but I won't to flash SYSTEM.img
vinay durva said:
Yes sir I'm Booting Into TWRP , Then > install > install images >. I found 2 options 1st one BOOT 2cond RECOVERY , but I won't to flash SYSTEM.img
Click to expand...
Click to collapse
I remember now that TWRP doesn't flash system.img correctly, system.img isn't a standard .img, you need PC and use fastboot.
Sent from my SM-S903VL using Tapatalk
Thanks Sir.. Any Another way to flash system , i don't have A PC
vinay durva said:
Thanks Sir.. Any Another way to flash system , i don't have A PC
Click to expand...
Click to collapse
I wouldn't try it without PC
Sent from my SM-S903VL using Tapatalk
vinay durva said:
Thanks Sir.. Any Another way to flash system , i don't have A PC
Click to expand...
Click to collapse
I know it is too late, but you can enter in Advaced > Terminal and then run this command:
dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
If your mobile phone doesnt have by-name symlinks you will need to enter the correct partition.
Aex12 said:
I know it is too late, but you can enter in Advaced > Terminal and then run this command:
dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
If your mobile phone doesnt have by-name symlinks you will need to enter the correct partition.
Click to expand...
Click to collapse
hi aex, I have the same problem but I dont have the folder
/bootdevice/by-name............
can you help me?
it will not work.
try to make a folder and "mount -o loop file in it.
and it will be not mounted also if you specify file system type.
(if it work probably you can use the file)
so ,i don't know how fastboot write in partition or probably
in to file system.
however if you do a dd of your current system partition in a file , after will be correctly mounted , or rewrited correctly in the original partition if you need.
then probably you cannot use fastboot system.img directly in twrp shell (using dd)
this is my experience (e2303 sony / pexorom 3.0 twrp 3.1.1)
if you are searching a fast way to know system partition device block
cat /etc/fstab
and look for system
or just mount system in twrp , then in a terminal do a
df -h
and search for system
for e2303 was /dev/block/mmcblk0p30
(example)
twrp have busybox and light kernel.
so , is linux.
for better support try to ask
tonystark88
u need to use simg2img
(sparse file format compression)
system partition device name can be different on other phones.
done.
img can be write by twrp whitout pc/fastboot.
c'ya
giuseppe
just go to file manager and search for system partition, and on first part type your system.img location and 2 part type just system location
I did this Steps on my Huawei P8. Sim2Img reported a non sparse image, so i moved directly to the DD steps. But after writing the image to the partition, the /system Partition cannot get mountet...
What the hell iam doing wrong ????
I extracted the system.img from an update.app Firmware file.
Its the same Firmware file i flashed before with the dload method.
I want to install TWRP on my Phone with an faulty USB Port. So i have no PC / ADB. I Installed the Firmware via the official Dload Method from Huawai. Then i used this crappy Kingroot to get root and installed TWRP. Now i wanted to flash the stock system partition to get rid of Kingroot for Safetynet.
But why i cant just flash the systempartition ?
Or is there another way to gain root for 15 seconds without traces ?
chr2002 said:
I did this Steps on my Huawei P8. Sim2Img reported a non sparse image, so i moved directly to the DD steps. But after writing the image to the partition, the /system Partition cannot get mountet...
What the hell iam doing wrong ????
I extracted the system.img from an update.app Firmware file.
Its the same Firmware file i flashed before with the dload method.
I want to install TWRP on my Phone with an faulty USB Port. So i have no PC / ADB. I Installed the Firmware via the official Dload Method from Huawai. Then i used this crappy Kingroot to get root and installed TWRP. Now i wanted to flash the stock system partition to get rid of Kingroot for Safetynet.
But why i cant just flash the systempartition ?
Or is there another way to gain root for 15 seconds without traces ?
Click to expand...
Click to collapse
Why not just use the settings in Kingroot to remove root? Or convert from Kingroot to SuperSu then use SuperSu app settings to remove root?
You don't have to flash the stock system to remove root.
Sent from my LGL84VL using Tapatalk
Kingroots uninstall leaves traces in /system/xbin and Safetynet wont work. Why i did not try Supersu ? :-/
But i managed to flash the system.img without problems.
First i tryed an extracted system.img from the Huawei Firmware extractor and Sim2img reported an invalid sparse image. So i thought it must be a raw image.....And this was my mistake. It is a useless image for TWRP.
So i created a flashable zip (TWRP cant flash this, too and the /system partition is not mountable after flashing / installing this zip.
BUT, the system.img INSIDE this zip is a spase image, which sim2img can handle. It gave me a nice raw image which i just dd´d to /system and BINGO, my phone starts up normally
The Short Version :
- Create a FLASHABLE ZIP with the Huawei Firmware Extractor
- use SIM2IMG in TWRP Terminal to get a RAW Image.
- dd´it to the /system partition
System img
You use the restore in twrp to flash your system img, you just until the other boxes
Edit: Sorry wrong thread
Lenovo K5 Pro ROM img
After flashing img file (using TWRP 3.3.1) the phone (Lenovo k5 pro) starts in bootloader mode. Everyone can help?
Help u
Hi u can download a deodexed rom because ais doesn't support some stock roms for ex ch Samsung roms. then decompile it.then decompile it with rar or zarchiver or etc. Then install android image studio (ais) from google
Then open it and tap unpack/mount and select system.img or system.img.ext4 file in decompiled rom . After mounting, copy all files to a directory for ex emulated/0/system/system or another. Attention if you copy it in another directory, rename it as (system) now copy the boot.img from decompiled rom into emulated/0/system .then download this file
https://forum.xda-developers.com/an...oid-o-beta-redesigned-emoji-set-t3608280/amp/
Extract meta-inf file into emulated/0/system using winrar or zarchiver or etc. Now you need to have a system folder,boot.img file and a Meta-inf in diractory emulated/0/system. Now compress system,boot.img and meta-inf into one archive and after completing, turn of your device and boot it into twrp recovery and wipe data and cache without wipping internal storage then select install. Then tap select storage and select internal storage.then go to the file and select it and turn off zip singuature verification and install it after installing tis rom, install root zip file and wipe cache/dalvik art and then reboot your device. It may take between 5-25 minutes to boot. Enjoy your new rom
#issues
Sometimes your device maybe take bootloop so you need to install your stock boot.img file and after installing your root zip file choose wipe cache/dalvik art and then reboot your system.
#Alert
1.Don't install the recovery.img file which exists in the decompiled rom because it takes your device into recovery mod and not boot anymore and after you need to install the stock rom using PC
2.your device maybe take bootloop in this method so do it with your own risk
---------- Post added at 07:58 AM ---------- Previous post was at 07:53 AM ----------
ShmuelCohen said:
After flashing img file (using TWRP 3.3.1) the phone (Lenovo k5 pro) starts in bootloader mode. Everyone can help?
Click to expand...
Click to collapse
Reboot your device and install twrp official app and open it and select flash image from a directory and select your own twrp and reboot your device [root]
Connect your phone to a PC and install stock rom using ADB or another app which was made for your smartphone [no root]
Hi everyone,
I just got a cheap chinese tablet with android 9.0, i tried to root it with the available tools but no success, so i'm thinking of making my own twrp image, therefor this question: is it safe to readback the recovery.img file using spfalsh tool (and since all the scatter files of its chip MT6580 have the same address and length for the recovery.img file), then make my own twrp, flash it, and if it fails, reflash the "original" recovery i extracted? will this work?
fateh.ah said:
Hi everyone,
I just got a cheap chinese tablet with android 9.0, i tried to root it with the available tools but no success, so i'm thinking of making my own twrp image, therefor this question: is it safe to readback the recovery.img file using spfalsh tool (and since all the scatter files of its chip MT6580 have the same address and length for the recovery.img file), then make my own twrp, flash it, and if it fails, reflash the "original" recovery i extracted? will this work?
Click to expand...
Click to collapse
You can backup the recovery file using MTK Droid Tools, yes, but you must install a custom recovery that can fit into the recovery partition. You can find the recovery partition size on the scatter file. If you want a bigger custom recovery, you must edit EBR{1,2} and MBR files.
efec said:
You can backup the recovery file using MTK Droid Tools, yes, but you must install a custom recovery that can fit into the recovery partition. You can find the recovery partition size on the scatter file. If you want a bigger custom recovery, you must edit EBR{1,2} and MBR files.
Click to expand...
Click to collapse
MTK Droid Tools does not work properly with this tablet, it gives me this error
--- ERROR : --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
Click to expand...
Click to collapse
so, will spflash tool by itself suffice?
I JUST CREATED THIS ACCOUNT IN XDA FOR HELP!
My Phone IMEI, BASEBAND, SN has Unknown value in settings after random reboot and I think it random Reboot because of Full Storage. LINK > SCREENSHOT LINK OR SEE ATTACH FILE
so Does anyone have J7PRIME (SMG610Y) EFS Backup File ?
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
-J7 PRIME - (SM-G610Y)
-CUSTOM ROM (RESSURECTION REMIX LATEST)
-MAGISK ROOTED
-CUSTOM RECOVERY (TWRP)
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
PLEASE UPLOAD AND SEND LINK TO ME FOR THOSE WHO HAVE THE FILE ❤
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FLASH STOCK ROM 4FILES USING ODIN (DOES_NOT_RESTORE_EFS)
FLASH STOCK ROM 4FILES USING SAMSUNG TOOL PRO CRACK (DOES_NOT_RESTORE_EFS)
FORMAT & MOUNT EFS USING
Code:
adb shell
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
(MAKES IMEI AND SN e.g.000000000000000)
WHOLE DAY OF RESEARCH OF J7PRIME (SM-G610Y) EFS FILE FOR 3 DAYS
AND MORE(ICANTREMEMBER).
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IF I FIX MY PHONE I WILL REPLAY TO THIS THREAD FOR PROCEDURE
edit:
DATE_UPLOADED: February 14, 2021 12:50PM
J7 PRIME_0914 said:
I JUST CREATED THIS ACCOUNT IN XDA FOR HELP!
My Phone IMEI, BASEBAND, SN has Unknown value in settings after random reboot and I think it random Reboot because of Full Storage. LINK > SCREENSHOT LINK OR SEE ATTACH FILE
so Does anyone have J7PRIME (SMG610Y) EFS Backup File ?
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
-J7 PRIME - (SM-G610Y)
-CUSTOM ROM (RESSURECTION REMIX LATEST)
-MAGISK ROOTED
-CUSTOM RECOVERY (TWRP)
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
PLEASE UPLOAD AND SEND LINK TO ME FOR THOSE WHO HAVE THE FILE ❤
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FLASH STOCK ROM 4FILES USING ODIN (DOES_NOT_RESTORE_EFS)
FLASH STOCK ROM 4FILES USING SAMSUNG TOOL PRO CRACK (DOES_NOT_RESTORE_EFS)
FORMAT & MOUNT EFS USING
Code:
adb shell
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
(MAKES IMEI AND SN e.g.000000000000000)
WHOLE DAY OF RESEARCH OF J7PRIME (SM-G610Y) EFS FILE FOR 3 DAYS
AND MORE(ICANTREMEMBER).
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IF I FIX MY PHONE I WILL REPLAY TO THIS THREAD FOR PROCEDURE
edit:
DATE_UPLOADED: February 14, 2021 12:50PM
Click to expand...
Click to collapse
Without a backup it's hard to restore your efs/imei.
Have s look at this guide:
[GUIDE] Recover phone from a formated /efs partition
I'm just writting this because i've recently had this problem. I managed to sort it out by my own but didn't really find it written anywhere, just bits and pieces scavenged from so many pages that might point to a solution (granted, part of my...
forum.xda-developers.com
If you use Repartition Tool then revert it back to its original (pls find its thread) before flashing its stock firmware (you may use other country firmware). I restore my own when flashing stock rom from samfirm (pls. flash updated firmwares using odin).
After 4Months of no mobile data I Successfully legit Restore my EFS Files/SerialNumber/Baseband.
So Here's the step it's very very simple
1). Download Custom ROM name Arrow OS.
Link https://sourceforge.net/projects/ar...x/GSI/27_Jan_2020/system_arm64_a.zip/download
2). Download Project Treblue.
Link https://forum.xda-developers.com/t/treble-arm64-vendor-project-treblue-for-g610x.4098877/
3). Download CreateVendor.zip.
Link https://drive.google.com/drive/mobile/folders/1aX0WBy9juWZpIlFWTw9L6P_PR46JCj0H?usp=sharing
4). Download UniversalRepatitioner
Link https://forum.xda-developers.com/t/...epartition-script-for-vendor-support.4143541/
After you download all the files above follow this steps
1). Reboot to Recovery
2). Flash CreateVendor_2.0.zip
3). Wipe All Include/Exclude Vendor and Internal Storage
Note before step 4 : Flash Universal Repartitioner if System Partition is less than 4GB see recovery log for the size
Edit: BTW wipe all partition as universalrepartitioner sad in the log.
4). Flash Arrow OS 10 that you've downloaded earlier after flashing Rom
5). Flash Project Treblue
Optional: Resize System Partition in Wipe>AdvanceWipe>RepairOrChangeFS
6). Reboot
Edit: I'm the one who created this thread but different account!
And As I promised I reply to this if I fix or restore the problem.