Related
Hello everyone I have a problem with note 2
he flashed the modem DMF1, DME4 and recognizes them with the restore efs folder but when I reboot is imei null and baseband unknown
Solutions?
héllo
in first sorry for my english :silly:
backup your efs file
I made a RAR file with the 2 modem inside
unzip it on the pc or the phone
put the zip files in the sd card
flash via recovery
DMF1_MODEM modem_XXDME4 rar
jioan62 said:
héllo
in first sorry for my english :silly:
backup your efs file
I made a RAR file with the 2 modem inside
unzip it on the pc or the phone
put the zip files in the sd card
flash via recovery
DMF1_MODEM modem_XXDME4 rar
Click to expand...
Click to collapse
thanks for the reply
I will try to flash them, she takes it but when I restart then returns null imei
I do not understand why
mysterionTM said:
thanks for the reply
I will try to flash them, she takes it but when I restart then returns null imei
I do not understand why
Click to expand...
Click to collapse
I already discuseed this, you need to restore your EFS backup after you flash the ROM that you made the backup with.
so flash XXDMF1 with ROM XXDME6 (or DXDMF1) and then restore EFS.
if that didn't work. then flash XXDME4 then OTA update will give you XXDMF1.
If you can't recieve OTA updates and you have Root, then tell me so I send you my XXDMF1 and DME6. (dr.ketan has DXDMF1 which you must try first).
After every flash restore efs then restart to see if it is fixed.
thethiny said:
I already discuseed this, you need to restore your EFS backup after you flash the ROM that you made the backup with.
so flash XXDMF1 with ROM XXDME6 (or DXDMF1) and then restore EFS.
if that didn't work. then flash XXDME4 then OTA update will give you XXDMF1.
If you can't recieve OTA updates and you have Root, then tell me so I send you my XXDMF1 and DME6. (dr.ketan has DXDMF1 which you must try first).
After every flash restore efs then restart to see if it is fixed.
Click to expand...
Click to collapse
if you can put him I would be grateful
but then there is no way to have permanent XXDME4?
With the other note 2 had managed to get it going with this I can not
@mysterionTM
hello
take this and flash via odin pc and updates via OTA or KIES but after do backup efs file
/N7100XXDMB6_N7100OXADMB1_XEF.zip
mysterionTM said:
if you can put him I would be grateful
but then there is no way to have permanent XXDME4?
With the other note 2 had managed to get it going with this I can not
Click to expand...
Click to collapse
first of all make sure your phone is rooted. then download mobile odin Pro (you need Pro version to maintain root or simply root again). then download this file:
http://www.mediafire.com/download/ena68zhyjhwpc78/update.zip
Edit: this will make your mobile a french mobile, so don't flash it just get someone to convert it to a modem.bin or modify it for your country.
now open mobile odin pro and flash the Stock ROM XXDME6.
after it finishes open mobile odin pro again and go to update file, and choose the file you downloaded above. then flash it.
you you have build number XXDME6 and buildbase XXDMF1
now restore EFS by using this app: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Code:
Put your EFS file on your mobile (External SD Card is preferred on the Root of the Card, so its location should be /storage/extSdCard/efs.img).
name it efs.img for easier use (if it was an img file).
now in the terminal type this:
SU
then grant it superuser permissions.
then type this:
dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096
it will show you numbers if it was done correctly.
then reboot your phone and everything should work correctly. Reboot again to make sure.
In case it didn't work, then Flash the DME6 ROM, it should come with DXDMF1 , then try restoring EFS again.
tell me what happens with you.
@mysterionTM
what is your configuration of your phone? (your rom)
I put thanks to you both
thethiny said:
first of all make sure your phone is rooted. then download mobile odin Pro (you need Pro version to maintain root or simply root again). then download this file:
http://www.mediafire.com/download/ena68zhyjhwpc78/update.zip
Edit: this will make your mobile a french mobile, so don't flash it just get someone to convert it to a modem.bin or modify it for your country.
now open mobile odin pro and flash the Stock ROM XXDME6.
after it finishes open mobile odin pro again and go to update file, and choose the file you downloaded above. then flash it.
you you have build number XXDME6 and buildbase XXDMF1
now restore EFS by using this app: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Code:
Put your EFS file on your mobile (External SD Card is preferred on the Root of the Card, so its location should be /storage/extSdCard/efs.img).
name it efs.img for easier use (if it was an img file).
now in the terminal type this:
SU
then grant it superuser permissions.
then type this:
dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096
it will show you numbers if it was done correctly.
then reboot your phone and everything should work correctly. Reboot again to make sure.
In case it didn't work, then Flash the DME6 ROM, it should come with DXDMF1 , then try restoring EFS again.
tell me what happens with you.
Click to expand...
Click to collapse
excellent guide compliments
but to have the modem DME4 there is no permanent way?
jioan62 said:
@mysterionTM
what is your configuration of your phone? (your rom)
Click to expand...
Click to collapse
DME6
your CSC ?
jioan62 said:
your CSC ?
Click to expand...
Click to collapse
ITVDMF1
go here
http://forum.xda-developers.com/showthread.php?t=1896696
jioan62 said:
go here
http://forum.xda-developers.com/showthread.php?t=1896696
Click to expand...
Click to collapse
I saw it but I was looking for a way to install the modem DME4
I do not understand why it goes and then restart imei returns null
should be something inherent in the nv_data.bin or nv_data.bin.md5
I was looking for a way to fix the folder efs
ITV N7100XXDME6 is this your rom ?
flash via odin pc
download this your stock rom http://hotfile.com/dl/229491057/c20905b/ITV-N7100XXDME6-20130605085627.zip.html
mysterionTM said:
I put thanks to you both
excellent guide compliments
but to have the modem DME4 there is no permanent way?
Click to expand...
Click to collapse
what do you mean permanent way? why would you need DME4 if you have a higher better one?
you can flash DME4 (it comes with ROM DMB4) modem alone and keep it permanently, but if your EFS backup was when you had anything other than DME4 then you can't use it anymore, you have to recover EFS everytime.
just use XXDMF1 (since your CSC is DMF1) and restore EFS. don't see any reason to use an old modem.
jioan62 said:
ITV N7100XXDME6 is this your rom ?
flash via odin pc
download this your stock rom http://hotfile.com/dl/229491057/c20905b/ITV-N7100XXDME6-20130605085627.zip.html
Click to expand...
Click to collapse
yes, it is my rom
but by flashing the stock rom does not solve anything......
thethiny said:
what do you mean permanent way? why would you need DME4 if you have a higher better one?
you can flash DME4 (it comes with ROM DMB4) modem alone and keep it permanently, but if your EFS backup was when you had anything other than DME4 then you can't use it anymore, you have to recover EFS everytime.
just use XXDMF1 (since your CSC is DMF1) and restore EFS. don't see any reason to use an old modem.
Click to expand...
Click to collapse
you're right but with the other note 2 that I had was in the same condition and and I managed to do it !
with this I can not ....
I was leaving the modem DMF1 and I was able to go to the modem DME4 without any problems
mysterionTM said:
yes, it is my rom
but by flashing the stock rom does not solve anything......
you're right but with the other note 2 that I had was in the same condition and and I managed to do it !
with this I can not ....
I was leaving the modem DMF1 and I was able to go to the modem DME4 without any problems
Click to expand...
Click to collapse
on your other phone , you had EFS backup on DME4. on this phone, your backup is on DMF1. DMF can read DME backups, but DME can't read DMF backups because samsung changed the EFS read type on DMF1. so once you go DMF1, your EFS partition is changed permanently!
thethiny said:
on your other phone , you had EFS backup on DME4. on this phone, your backup is on DMF1. DMF can read DME backups, but DME can't read DMF backups because samsung changed the EFS read type on DMF1. so once you go DMF1, your EFS partition is changed permanently!
Click to expand...
Click to collapse
you're wrong
I was only backup on DMF1 on the other note 2
I followed this procedure and are able to put DME4 :
1. make a copy of your EFS folder using root explorer and store it somewhere safe (on your SD card and external SD card should do it).
2. delete the EFS folder from the root of your phone using root explorer.
3. reboot the phone
4. open root explorer and go to the EFS folder (yes, it is still there! The Android OS has generated a new one for us) and delete the following files:
nv_data.bin
nv_data.bin.md5
nv.log
.nv_data.bak
.nv_data.bak.md5
nv_data.bin.bak
and the entire IMEI folder.
5.Now go to your backed up EFS folder on your sd card and copy the IMEI folder and the " .nv_data" file (note the dot) to your new EFS folder.
6.Make another copy of the ".nv_data" file in your new EFS folder. Rename one of them to "nv_data.bin" and the other one to "nv_data.bin.bak".
7. Connect your phone to your PC and start up EFS PRO. After your phone has been detected, press the "Repair nv data" button to correct the ownership and permissions.
8. Reboot your phone into recovery mode using the three botton combo and flash the original modem firmware (the modem.bin file that you extracted earlier) to your phone using Odin (use the "phone" button for the upload) or Heimdall (use the "radio" partition for the modem.bin file upload).
9. Reboot the phone normally and your IMEI number will be restored and you will be able to connect to your mobile network again
but on this note I can not!
mysterionTM said:
you're wrong
I was only backup on DMF1 on the other note 2
I followed this procedure and are able to put DME4 :
1. make a copy of your EFS folder using root explorer and store it somewhere safe (on your SD card and external SD card should do it).
2. delete the EFS folder from the root of your phone using root explorer.
3. reboot the phone
4. open root explorer and go to the EFS folder (yes, it is still there! The Android OS has generated a new one for us) and delete the following files:
nv_data.bin
nv_data.bin.md5
nv.log
.nv_data.bak
.nv_data.bak.md5
nv_data.bin.bak
and the entire IMEI folder.
5.Now go to your backed up EFS folder on your sd card and copy the IMEI folder and the " .nv_data" file (note the dot) to your new EFS folder.
6.Make another copy of the ".nv_data" file in your new EFS folder. Rename one of them to "nv_data.bin" and the other one to "nv_data.bin.bak".
7. Connect your phone to your PC and start up EFS PRO. After your phone has been detected, press the "Repair nv data" button to correct the ownership and permissions.
8. Reboot your phone into recovery mode using the three botton combo and flash the original modem firmware (the modem.bin file that you extracted earlier) to your phone using Odin (use the "phone" button for the upload) or Heimdall (use the "radio" partition for the modem.bin file upload).
9. Reboot the phone normally and your IMEI number will be restored and you will be able to connect to your mobile network again
but on this note I can not!
Click to expand...
Click to collapse
oh, you followed the folder method! then yeah it works, but not recommended as it messed up permissions.
I was speaking about the mmcblk0p3 method.
how to know which modem i need? Im on stock firmware 4.4.2, Malaysia. Have the imei issue/corrupted efs and no backup
Hello,
I was trying to edit my note 3 settings.db file to add the MobileData toggle at the notification panel.
After I edited the file, I rebooted the phone and Now I am stucked at the Tmobile 4G lte screen.
I have saved the original settings.db file so I can replace the modified one but the problem is that now that the phone doesn't turn on I can't replace it.
Is there anyway to fix this without installing everything from zero again???
Thank You
P.s
I tried to boot in safe mode but the phone doesn't boot even like this.
I tried to wipe cache, but nothing changed
As for the recovery mode, I can boot there
Boot to recovery and use adb console from your pc to swap the files. Learn some Linux command line commands if you don't know how. Primarily you will use cp target.file destination . file. Make a backup if you want via mv.
Sent from my SM-N900T using Tapatalk
howetechnical said:
Boot to recovery and use adb console from your pc to swap the files. Learn some Linux command line commands if you don't know how. Primarily you will use cp target.file destination . file. Make a backup if you want via mv.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
Any help will be very appreciated as I never worked with Linux.
My original files are located at Downloads folder of my device.
and the files that I changed are located at /data/data/com.android.providers.settings/databases/
What command should I use to copy settings.db from downloads to the databases location
Thnx again for your reply
Cheers
I am trying something like this:
adb push /sdcard/downloads/settings.db sdcard/data/data/com.android.providers.settings/databases/
But I am getting error:closed
Maybe I am entering the paths on the wrong way
howetechnical said:
Boot to recovery and use adb console from your pc to swap the files. Learn some Linux command line commands if you don't know how. Primarily you will use cp target.file destination . file. Make a backup if you want via mv.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
Another question, as I am not managing to over pass this error close message from adb.
If I install 4.4.2 again from download mode will I lose my settings, applications and everything else that I have installed before???
Odin doesn't wipe anything, but the re install would overwrite much of your personalizations. Boot into recovery, do a nandroid backup, then boot into download and Odin and restore. When you're up again, download nandroid manager from play store and select what you want to restore from your nandroid backup you made. Be sure to save it in a persistent partition, external SD if possible.
Sent from my SM-N900T using Tapatalk
howetechnical said:
Odin doesn't wipe anything, but the re install would overwrite much of your personalizations. Boot into recovery, do a nandroid backup, then boot into download and Odin and restore. When you're up again, download nandroid manager from play store and select what you want to restore from your nandroid backup you made. Be sure to save it in a persistent partition, external SD if possible.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
Before I try this, another idea that came to my mind.
Is there any program that I can install to my computer and allows me to browse my phone files even when it is in recovery mode???
Adb, like I suggested first. Look on YouTube if you're not sure how to use it.
Sent from my SM-N900T using Tapatalk
howetechnical said:
Adb, like I suggested first. Look on YouTube if you're not sure how to use it.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
THNX for your help.
I was forced to do a factory reset through recovery mode and right now phone is up and running.
Just did a restore from kies but it was an old backup that didnt have everything, so trying to install the other tolls that I need.
Thnx again for you help
Cheers
I have used all drivers and two different tot files, and it works to reboot, then it fails when I try to get past the first welcome screen... Does it make a difference if the sim card is in or out???
It makes it to preactivation and set phone name, then a second or two later goes back into the reboot stage.
I made it to the settings screen and phone info, and all areas were UNKNOWN
pitbull8265 said:
I have used all drivers and two different tot files, and it works to reboot, then it fails when I try to get past the first welcome screen... Does it make a difference if the sim card is in or out???
It makes it to preactivation and set phone name, then a second or two later goes back into the reboot stage.
I made it to the settings screen and phone info, and all areas were UNKNOWN
Click to expand...
Click to collapse
I don't know what went wrong but since you don't have a reply I'll say this... I would start from scratch. Download the tot file AND dll again to a new place on your PC (like desktop). Run LG flash tool again and browse to those 2 files (flash tools likes to remember previous settings). Flash again and let us know the result. Sim card doesn't make a difference.
http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware if you need it, always flashed reliably for me.
...
scottdanpor said:
I don't know what went wrong but since you don't have a reply I'll say this... I would start from scratch. Download the tot file AND dll again to a new place on your PC (like desktop). Run LG flash tool again and browse to those 2 files (flash tools likes to remember previous settings). Flash again and let us know the result. Sim card doesn't make a difference.
http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware if you need it, always flashed reliably for me.
Click to expand...
Click to collapse
Ive done this.. no luck
pitbull8265 said:
Ive done this.. no luck
Click to expand...
Click to collapse
Did you get anywhere with this? Under status, is your IMEI listed as unknown? This seems like your efs partition might be messed up. Did you make a backup of it?
scottdanpor said:
Did you get anywhere with this? Under status, is your IMEI listed as unknown? This seems like your efs partition might be messed up. Did you make a backup of it?
Click to expand...
Click to collapse
I just read elsewhere that if you used ioroot you may have a backup anyways. On the computer in ioroot. You may find a couple files called, modem st1, and modem st2.
Hopefully they will speak of it. Watch this thread..,.
http://forum.xda-developers.com/showthread.php?p=51932057
@scottdanpor for the info and hopefully how to use it.
pitbull8265 said:
Ive done this.. no luck
Click to expand...
Click to collapse
Sent from my Nexus 7 using Tapatalk
secret.animal said:
I just read elsewhere that if you used ioroot you may have a backup anyways. On the computer in ioroot. You may find a couple files called, modem st1, and modem st2.
Hopefully they will speak of it. Watch this thread..,.
http://forum.xda-developers.com/showthread.php?p=51932057
@scottdanpor for the info and hopefully how to use it.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Yeah but he has basically access to download mode and fastboot it seems. I haven't found a way to push files without at least recovery
Well, if he has access to stock recovery should be able to push files that way through ADB
NOPE
scottdanpor said:
Yeah but he has basically access to download mode and fastboot it seems. I haven't found a way to push files without at least recovery
Well, if he has access to stock recovery should be able to push files that way through ADB
Click to expand...
Click to collapse
it just hangs and reboots still... cant access fastboot.. tried every file available nothing is working
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
scottdanpor said:
Yeah but he has basically access to download mode and fastboot it seems. I haven't found a way to push files without at least recovery
Well, if he has access to stock recovery should be able to push files that way through ADB
Click to expand...
Click to collapse
I have a recovery I made using twrp saved to my pc, and I chose the option to backup my efs, so all of my info is on my pc in the backup file.
HOW can I use adb sideload or ADB to push it to my phone???
HAS TO BE DONE FROM STOCK RECOVERY ADB, as i cant even get into the ui long enough to activate usb debugging
pitbull8265 said:
I have a recovery I made using twrp saved to my pc, and I chose the option to backup my efs, so all of my info is on my pc in the backup file.
HOW can I use adb sideload or ADB to push it to my phone???
HAS TO BE DONE FROM STOCK RECOVERY ADB, as i cant even get into the ui long enough to activate usb debugging
Click to expand...
Click to collapse
It will take a bit of reading but you will learn a lot!
Here's a guide with some commands, you just need to tailor it to your needs/paths, it says Samsung but all you need are the commands.
http://forum.xda-developers.com/showthread.php?t=2141817
If you have ioroot on your computer you have ADB. Plug in your phone in recovery mode and check device manager. It's probably under "unknown" as LG-LS980. You need to right-click and select "update driver", then manually select driver. From the list, you should be able to find something like Android composite ADB device. Select that one and it should then be recognized as ADB.
Hold Shift and right click on the ioroot folder and select "Open command window here", then in cmd type "adb devices". If all is good you will get a serial number as it detects your device. Once you got this you are ready to enter commands, check that guide for the right command to push the file to: /dev/block/platform/msm_sdcc.1/by-name/
as stated by Autoprime here: http://forum.xda-developers.com/showthread.php?t=2451390
I hope that's enough info to get you going. You should type "adb shell" first in ADB so you have access to root.
---------- Post added at 09:12 AM ---------- Previous post was at 09:03 AM ----------
Oh crap... I just re-read that. I don't think this will work if your backup is from TWRP. That needs to be restored from TWRP. Do you not have a backup from ioroot? That contains the img files you need.
---------- Post added at 09:18 AM ---------- Previous post was at 09:12 AM ----------
Ok, I found this...
"Even though all TWRP backup files carry the extension .win, they are either tar archives or filesystem images. System, data, cache and .android_secure are backed up as tar archives or gnu-zipped tar archives if compression is enabled. You can rename those .win files to .tar (.tar.gz if compressed) and extract them like a regular archive. Boot and recovery partitions are backed up as .img files using dd"
from: http://forum.xda-developers.com/showthread.php?t=1694617
I couldn't find out if TWRP backs up EFS to .tar or .img. Once you figure that out you should be able to rename them to modemst1.img and modemst1.img. I just verified on mine that the files are the same size, so I would guess they are actually img files and not compressed. They should be 3MB in size.
There's a lot more info in that thread by Autoprime that should help.
hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
remember i have not .zip file in media folder
Mr Hassan said:
hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
Click to expand...
Click to collapse
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
-spektor- said:
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
Click to expand...
Click to collapse
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Mr Hassan said:
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Click to expand...
Click to collapse
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
-spektor- said:
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
Click to expand...
Click to collapse
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Mr Hassan said:
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Click to expand...
Click to collapse
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
-spektor- said:
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
Click to expand...
Click to collapse
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Mr Hassan said:
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Click to expand...
Click to collapse
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could help it deals with modifying samsung rom and flashing it. If you want to read more on it here's the link: http://android.stackexchange.com/questions/85703/modifying-samsung-rom-and-flashing-it-on-a-device if you wanted to remove apps or add custom apps to your phone you would modify system file.
But what I thought was important was this;
(I did not write this thread)
< "You should be able to use an archive program on PC and recompress to .tar, .gz, and others. Dont forget to re-sign the archive. Keep a copy of your untouched ROM until you have the modified ROM tested and running.
The ROMs are signed with a signature. When repacking if they don't get signed they will fail in flashing. This link will help explain it.
So basically after downloading the firmware you have to rename it so you can extract the files, change them as you need, recompress them again and re-sign them, so you can flash them using Odin." >
This thread was dealing with modifying CM rom;
< "There are multiple solutions available:
Re-Zip the Image
Advantage: You do it once, and can use the resulting image for multiple devices. That's what I did with CM7.2 for my Milestone 2. Easy enough to do:
create a temporary (empty) folder
unzip the zip file to it
remove unwanted *.apk files from /system/apps (be careful of what you remove, of course)
zip up the directory contents again
Using a graphical ZIP manager (like WinZip or the like), steps would be even easier:
open the zip file with the archive manager
remove the unwanted .apk files
if the ZIP manager requires it, save the manipulated zip
Manually cleanup after flashing, using the shell
This is what ce4 recommended in the comments. It requires you using a terminal emulator on your device:
Flash the image as-is
remove superfluous stuff from the system partition by hand (like rm /system/big/junk/example.mp4)
Manually cleanup after flashing, using other tools
Almost the same as the previous method, but a bit more user-friendly. Disadvantage: this won't do for superflous ringtones and the like:
Flash the image as-is
Use a tool like Titanium Backup or Root Uninstaller to remove unwanted system apps" >
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
-spektor- said:
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
Click to expand...
Click to collapse
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Mr Hassan said:
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Click to expand...
Click to collapse
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
-spektor- said:
.
Click to expand...
Click to collapse
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Mr Hassan said:
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Click to expand...
Click to collapse
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
Ok apps done
Bulid done
Now final thing need . repack in ext4 format
I'll check these things tomorrow
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
brother did you found anything for repack ext4 img?
Mr Hassan said:
brother did you found anything for repack ext4 img?
Click to expand...
Click to collapse
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
-spektor- said:
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
Click to expand...
Click to collapse
yes but its for linux , and for window 99% unsuccessfully rates , have you try in window ? this ?
now i,m in next step if you have the time so kindly share your experience
https://forum.xda-developers.com/android/help/repack-img-giving-error-odin-invalid-t3577719
Hmmmmm ? I think you want to change the boot animation (white Verizon logo red background? ) if so your gonna need to either need to flash a pre-made zip with Flashfire (can't seem to get it to apply from twrp) or your gonna need to manually copy into the appropriate directory (mount system directory r/w copy then change permissions of the file you copied to 644 and reboot) presumably with a root explorer though doable from terminal
---------- Post added at 07:47 PM ---------- Previous post was at 07:29 PM ----------
-spektor- said:
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
Click to expand...
Click to collapse
Try flashing with flasfire enabling the option mount system r/w and use common paths (probably not necessary but won't hurt) I have had difficulty getting anything other than ROM and gapps to apply from twrp but flashfire seems to work . I'm thinking its due to the fact that flashfire flashes after boot loader and then resets prior to os load.
Team Win Recovery Project 3.X+, or twrp3for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface,but you can use hardware buttons too.The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Features since 3.1.0-0
vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
tweak MTP startup routines (mdmower)
support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
better indicate to users that internal storage is not backed up (Dees_Troy)
improve automatic determination of TW_THEME (mdmower)
minimal getcap and setcap support (_that)
try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
shut off backlight with power key (mdmower)
timeout during FDE decrypt (Dees_Troy and nkk71)
support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
boot slot support (Dees_Troy)
TWRP app install prompt during reboot (Dees_Troy)
support for AB OTA zips (Dees_Troy)
support new Android 7.x log command (Dees_Troy)
update recovery sources to AOSP 7.1 (Dees_Troy)
numerous bugfixes and improvements by too many people to mention
This is thanks to the Xiaomi mi4i devs and @persona78 for porting it to 6045 (and @satana.nik.1996 for starting to port TWRP from other phones, in 4PDA)
Supported Devices
Any 6045 Variant
Installation Guide
There are multiple methods, i will post the 3 i know here
If you have stock recovery and you are on Lollipop
Install fastboot tools (Android) from google's Sdk on your PC
Reboot in Fastboot mode, pressing volume - and USB cable into the pc or enter into fastboot using in adb (with usb debug enabled) adb reboot-bootloader
Enter the command : fastboot -i 0x1bbb flash recovery twrp-3.1.0-0-m1_Idol3.img (I suggest to rename the file, for to example twrp.img, so you just write fastboot-i 0x1bbb flash recovery twrp.img)
write : fastboot reboot, and when the phone is starting, only press volume+ and you will enter to TWRP
If you have TWRP installed (Any android version)
Boot into TWRP using Vol+ and Power
Go to Install
Press Install Image and search twrp-3.1.0-0-m1_Idol3.img
Then Press Recovery, swipe and it is installed
If you have MM stock, without TWRP and ROOT
Install/Search Rashr from Play Store
Grant SD and Root Permissions
Press Recovery, then search twrp-3.1.0-0-m1_Idol3.img
Press install and you are done
Bug/s TWRP 3.1.0-0
You can't reboot into Recovery from Recovery (you can just press vol+ to avoid this)
It shows internal Storage 2 times, but does not affect in anything (just make sure when you wipe, just wipe 1 and not both at the same time)
You tell me
Bug/s TWRP 3.0.2-0-r5
You can't reboot into Recovery from Recovery (you can just press vol+ to avoid this)
Sort of Laggy (like TWRP 3.0.1-0)
You tell me
Download
TWRP 3.1.0-0 https://mega.nz/#!p4g2RYQS!uq4nFsef55JiKUoepU6kASGfI8sz6Tf970nEyNHHdE8
TWRP 3.0.2-0-r5 https://mega.nz/#!FxxxWYRS!PebYGrzogP8OohJ9IrjpAar8Ya2c4BK8NdmX4jFyJPw
Full ROM backup via ADB https://forum.xda-developers.com/idol-3/general/backup-adb-recovery-twrp-3-0-2-r5-twrp-t3574214
[TOOL] [WINDOWS] TWRP Backup & Restore Tool For PC (not tested on idol3) https://forum.xda-developers.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241 (from xda, @dexbyte)
Creator
juliusssssmiui
Edited for Idol 3
@persona78
Source Code: https://twrp.me/devices/xiaomimi4i.html
Version Information
Status: Beta
Current Stable Version: 3.0.2-0-r5
Stable Release Date: 2016
Created 2017-03-10
Last Updated 2017-03-17
@panchovix I have twrp 2.74 version, can I flash twrp 3.1 using your step two or another way?
Sent from my 6045I using Tapatalk
belkoo said:
@panchovix I have twrp 2.74 version, can I flash twrp 3.1 using your step two or another way?
Sent from my 6045I using Tapatalk
Click to expand...
Click to collapse
You can, but i can't remember if TWRP 2.74 has that option (to install .Imgs)
panchovix said:
You can, but i can't remember if TWRP 2.74 has that option (to install .Imgs)
Click to expand...
Click to collapse
My bad, I had the 2.8.7.0 version and it can install images. Installed on 6045K without problems, I didn't tried to flash system or wipe data, I don't know will it be problems with that. Anyway, thanks a lot for EVERY single man for making such a great things for this phone including you @panchovix ☺.
Sent from my 6045I using Tapatalk
Just added the changelog, and it is a lot lol, this is good news if N get released (anyways i'm trying to use the adb backup to pc and i can't make it work)
also work on the 6045O?
panchovix said:
In my case shows Blade S6 when connected in TWRP mode to the PC (does not affect in anything)
Click to expand...
Click to collapse
Where exactly do you see this? I see "6045" in the Device Manager, and "recovery" when doing "adb devices".
i'm trying to use the adb backup to pc and i can't make it work
Click to expand...
Click to collapse
Same here... Nothing happens on the device, and the backup file that gets created on the PC has this one line:
Code:
/sbin/sh: /system/bin/bu: not found
When I checked /system/bin in unpacked ramdisk, I found it to be completely empty, but I did find /sbin/bu. So... Not knowing enough to figure out what exactly was wrong here, I just copied the contents of /sbin into /system/bin, repacked the img, and flashed it. Guess what? ADB backup works now. So, someone smarter than me should figure out how to "properly" fix it, because I am pretty damn sure what I did was not the right thing to do, even though it seemed to solve the problem... I didn't do much testing, other than completing the adb backup. Too late, going to bed now...
kt-Froggy said:
Where exactly do you see this? I see "6045" in the Device Manager, and "recovery" when doing "adb devices".
Same here... Nothing happens on the device, and the backup file that gets created on the PC has this one line:
Code:
/sbin/sh: /system/bin/bu: not found
When I checked /system/bin in unpacked ramdisk, I found it to be completely empty, but I did find /sbin/bu. So... Not knowing enough to figure out what exactly was wrong here, I just copied the contents of /sbin into /system/bin, repacked the img, and flashed it. Guess what? ADB backup works now. So, someone smarter than me should figure out how to "properly" fix it, because I am pretty damn sure what I did was not the right thing to do, even though it seemed to solve the problem... I didn't do much testing, other than completing the adb backup. Too late, going to bed now...
Click to expand...
Click to collapse
When you can ,please send me the IMG via pm (or here) and I can test some things
And thanks for finding one way to fix it!
Enviado desde mi 6045B mediante Tapatalk
jbach44 said:
also work on the 6045O?
Click to expand...
Click to collapse
I'm not sure since I don't have that model
If you want , you can test and say me here if it worked for you [emoji14]
Enviado desde mi 6045B mediante Tapatalk
kt-Froggy said:
Where exactly do you see this? I see "6045" in the Device Manager, and "recovery" when doing "adb devices".
Same here... Nothing happens on the device, and the backup file that gets created on the PC has this one line:
Code:
/sbin/sh: /system/bin/bu: not found
When I checked /system/bin in unpacked ramdisk, I found it to be completely empty, but I did find /sbin/bu. So... Not knowing enough to figure out what exactly was wrong here, I just copied the contents of /sbin into /system/bin, repacked the img, and flashed it. Guess what? ADB backup works now. So, someone smarter than me should figure out how to "properly" fix it, because I am pretty damn sure what I did was not the right thing to do, even though it seemed to solve the problem... I didn't do much testing, other than completing the adb backup. Too late, going to bed now...
Click to expand...
Click to collapse
Hi!
How do backup to pc, for me to understand.
So for what i can read insted of bin folder must be a symlink to sbin, right?
.
.
panchovix said:
Just added the changelog, and it is a lot lol, this is good news if N get released (anyways i'm trying to use the adb backup to pc and i can't make it work)
Click to expand...
Click to collapse
Hi!
How to backup?
.
persona78 said:
Hi!
How to backup?
.
Click to expand...
Click to collapse
He still didn't send me the IMG so idk how to
Enviado desde mi 6045B mediante Tapatalk
panchovix said:
He still didn't send me the IMG so idk how to
Enviado desde mi 6045B mediante Tapatalk
Click to expand...
Click to collapse
@panchovix
I already found it!
This is how to backup system for example:
Code:
adb backup -f system.img --twrp system
And in adb folder you will get system.img
How it works:
adb backup -f <filename> --twrp <options> ( --compress: compress data )
options:
system: backup system
cache: backup cache
data: backup data
boot: backup boot
etc for each partition.
Read this if you want to learn more about it:
https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9
And twrp-lux-3.0.2-r5 can do backup to in the same way! Just need to copy the bu file into /system/bin folder and compile it again... -_-
I think twrp-lux-3.0.2-r5 is better than TWRP 3.1 ...
The MTP works better on pc.
This is twrp-lux-3.0.2-r5_Idol3.img -> https://mega.nz/#!wsAgBSiY!DifwUCYvIoOmMXp14u0ZuBaekhCVmnEDdurU2_6UFfw
This is twrp-3.1.0-0-m1_Idol3.img fixed -> https://mega.nz/#!55hFCABY!GovSGXaQ1muuU0c-wDYN-40iapzey5Jp0AFhIp2B3qg
If you need help just tell me, maybe i can help!
.
persona78 said:
@panchovix
I already found it!
This is how to backup system for example:
Code:
adb backup -f system.img --twrp system
And in adb folder you will get system.img
How it works:
adb backup -f <filename> --twrp <options> ( --compress: compress data )
options:
system: backup system
cache: backup cache
data: backup data
boot: backup boot
etc for each partition.
Read this if you want to learn more about it:
https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9
And twrp-lux-3.0.2-r5 can do backup to in the same way! Just need to copy the bu file into /system/bin folder and compile it again... -_-
I think twrp-lux-3.0.2-r5 is better than TWRP 3.1 ...
The MTP works better on pc.
This is twrp-lux-3.0.2-r5_Idol3.img -> https://mega.nz/#!wsAgBSiY!DifwUCYvIoOmMXp14u0ZuBaekhCVmnEDdurU2_6UFfw
This is twrp-3.1.0-0-m1_Idol3.img fixed -> https://mega.nz/#!55hFCABY!GovSGXaQ1muuU0c-wDYN-40iapzey5Jp0AFhIp2B3qg
If you need help just tell me, maybe i can help!
.
Click to expand...
Click to collapse
thanks man! i'm an the unevirsity now but will add the 3.0.2.0 version too, for those who want to use it
just wondering, why you don't post the 6039 version here on Android dev too?
panchovix said:
thanks man! i'm an the unevirsity now but will add the 3.0.2.0 version too, for those who want to use it
just wondering, why you don't post the 6039 version here on Android dev too?
Click to expand...
Click to collapse
Maybe when i get home i will do it
.
Sorry guys, busy at work... :\
persona78 said:
Hi!
How do backup to pc, for me to understand.
So for what i can read insted of bin folder must be a symlink to sbin, right?
Click to expand...
Click to collapse
Looks like you already figured out the backup process... Just to note, it also creates the regular backup folder on the device, but also copies it over through ADB to the PC. Yeah, I think it should be either a symlink, or maybe some playing around with the PATH variable, not sure... I did the most simple thing, just to test it out: if a binary is expected in some folder, just put it there. But it's rather stupid, IMO...
panchovix said:
He still didn't send me the IMG so idk how to
Click to expand...
Click to collapse
Sorry, here it is, just for reference.
kt-Froggy said:
Sorry guys, busy at work... :\
Looks like you already figured out the backup process... Just to note, it also creates the regular backup folder on the device, but also copies it over through ADB to the PC. Yeah, I think it should be either a symlink, or maybe some playing around with the PATH variable, not sure... I did the most simple thing, just to test it out: if a binary is expected in some folder, just put it there. But it's rather stupid, IMO...
Sorry, here it is, just for reference.
Click to expand...
Click to collapse
Yeah np, seems he did it, anyways (since I'm not on my home still), did you try to restore the phone with the PC backup? If I'm not wrong it should be adb restore twrp-- ( I can be very wrong lol I don't remember)
That is the most important thing, since you can just move the file to the PC and save space on the phone always
Enviado desde mi 6045B mediante Tapatalk
panchovix said:
did you try to restore the phone with the PC backup? If I'm not wrong it should be adb restore twrp-- ( I can be very wrong lol I don't remember)
That is the most important thing, since you can just move the file to the PC and save space on the phone always
Click to expand...
Click to collapse
Nope, haven't tried it yet... I will try, but not sure when, as I am really crazy busy now between work and home (I am in the final stages of building my own house, lol).
But to me, honestly, this is just an added convenience over just copying over the standard TWRP backups to the PC. Even without adb backup, we can always copy over the TWRP backup folder(s) to the PC, and delete them from the device. Then simply copy them back to do a restore, when needed... Takes some extra time, sure, but still can easily be done.
kt-Froggy said:
Nope, haven't tried it yet... I will try, but not sure when, as I am really crazy busy now between work and home (I am in the final stages of building my own house, lol).
But to me, honestly, this is just an added convenience over just copying over the standard TWRP backups to the PC. Even without adb backup, we can always copy over the TWRP backup folder(s) to the PC, and delete them from the device. Then simply copy them back to do a restore, when needed... Takes some extra time, sure, but still can easily be done.
Click to expand...
Click to collapse
Yeah but for informatics people , less time =always better [emoji14] I will try once I get to home, since I was on University
Gratz with the own house!
Enviado desde mi 6045B mediante Tapatalk
Added new imgs with fixed adb pull, many thanks to @persona78 and @kt-Froggy for helping, finding and fixing the problem
posted a tool that does the adb backup automatized, from persona78