How can i copy and relpace the programms in Rom ? - MDA, XDA, 1010 General

Any tool?

files in rom cant be deleted because rom is READ ONLY MEMORY
though you may be able to disasm a rom on your pc and customize it and then flash it back into the xda

How can i disassemble the image dumped from Rom ?
I'd like to change the binary data of a file in Rom.

http://xda-developers.com/phpBB/viewtopic.php?t=3031&highlight=mkrom
read this thread and think mkrom

Rudegar , Thank u very much!
Where can I get a windows-base tools for mkrom

Related

Disabling secure boot

firstly i request all moderators of xda in grand 2 forum,
as i am unable to post on developement section,
i am posting the thread here..
plz move it to developement section.
ok now back to topic,
try at your own risk!
i will not be responsible if anything happens to your phone
To all the users who have succesfully rooted grand 2,
there can be a way to install (flash) recovery on your phone!
i was exploring the system and i found a file in "/system" folder
called "recovery-from-boot.p"
i THINK this is the file that causes problem!
you may delete it or rename it...(renaming is safer)
once you delete it, you may flash custom recovery via ODIN
and even if the recovery gets currupted or if you cant boot into recovery, you can simply boot normally and restore the renamed or deleted file!!!
and then once again you may try to flash custom recovery from ODIN (as stock gets deleted as soon as you modify recovery-from-boot.p file)
press thanks if this post helped!
dindt find any file like u wrote.... plss provide specific path.. so we can try
Rakesh251 said:
dindt find any file like u wrote.... plss provide specific path.. so we can try
Click to expand...
Click to collapse
Its located here:
bro no such file is available.. this wont help to solve .and still custom recovery not available for grand2
how would u know that it won't help..
i only post threads as i know what i am doing.
the file which i uploaded up there is taken from MY PHONE ITSELF i.e galaxy GRAND 2..
and That FILE (recovery-from-boot.p) IS present on my phone and i m using Stock rom and not any other rom..
Same with me... none of them named exactly like you mention above.
Sent from my SM-G7102 using XDA Premium 4 mobile app
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
vrushabh sutar said:
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
Click to expand...
Click to collapse
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.
NOT POSSIBLE.
And in rooted version, the FILE is not available :victory:
00hacktheworld00 said:
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.
NOT POSSIBLE.
And in rooted version, the FILE is not available :victory:
Click to expand...
Click to collapse
Thank you for replying.
I know that it can't be deleted,
but one may understand the importance of that ".p" file and understand its working, as it plays a vital role in booting up recovery...
the only thing I wanna let users understand is that,
stock recovery includes that file and
it got deleted when rooted because the rooting package (eg. CF root) didnt contain the .p file
when I studied that strange file,
it consisted of mapping and accurate memory address as well as accurate size of stock recovery image in bytes,
so that whn new recovery gets flashed, it verifies with the .p file!
and talking abt modifying the .p file,
we must create a custom linux binary with zerglings and packed into .tar file which gets flashed to phone via Odin!
for build creation you can use this tool..
http://www.xda-developers.com/android/comprehensive-guide-to-the-android-build-process/?__utma=60652090.747738090.1398670920.1400078979.1400132113.21&__utmb=60652090.0.10.1400132113&__utmc=60652090&__utmx=-&__utmz=60652090.1400132113.21.12.utmcsr=google|utmccn=%28organic%29|utmcmd=organic|utmctr=%28not%20provided%29&__utmv=-&__utmk=163283131
So I found the reason behind this
It is a file used by Software Update Application to flash updates.
If you want proof go-to the data folder of the SOFTWARE UPDATER and there will be a 3mb file. Copy it to pc and open using winrar. You can see many files including boot.img.
So the author of this thread was about to update his/her phone when he found the file :thumbdown:
SO MYSTERY SOLVED
SCOOBY DOOBY DOOO
Sent from my SM-G7102
i didnt't get what you are on to...
i noticed that the Update Package (i.e the OTA) easily jumps over all the restrictions imposed by Bootloader(locked one) and gets easily flashed to the phone...
therefore the whole matter is now pointing out to the 'ro.build.fingerprint' as well as Verification of MD5 hashes linked directly to Flashing InstructionSet

[Q] Problem with using android kitchen. Help needed.

I had been trying to make a custom ROM or porting a ROM for Micromax Canvas A 96. It has only one custom ROM found in 'needrom' site. As the stock ROM is in a format suitable for SP Flashtool , I wanted to make a CWM flashable ROM in zip format, so that porting will be easier. For this purpose I need 'METAINF' Folder with updater script. So, after searching I came across a guide on 'Converting boot.img +system.img' to CWM flashable zip ROM. I followed it and used android kitchen and got a ROM in zip in the output folder which I re-named (during working on 'cygwin' window). Now I checked it by extracting with 'Express zip' windows software, and it says " The zip is corrupted or encrypted or empty or in an incompatible format'. Now, I do not know how to go about it. Please help me.

Can't turn WiFi on after flashing.

Hey,
Today I used a ROM to flash my mobile (Samsung J5 2016 edition, model: J510FN) and I just used the perfect ROM, and it fits perfectly. But when I try to turn on WiFi it goes back swipe to off automatically when I swipe it to on.
I used this rom (version v1.1 because v2 and v3 were gone and bad): https://forum.xda-developers.com/galaxy-j5/development/rom-light-stock-rom-v1-t3467865
Someone knows what to do? I'm a beginner, so please explain it good. I have everything btw like Odin, TWRP, latest SuperSU, etc.
Please help.
Thanks
From your stock rom Copy the folder named Permissions from /system/etc and paste it at the same location in your new downloaded rom.
DONOT delete the existing folder , just replace the files.
Good Luck Cheers
akash14darshan said:
From your stock rom Copy the folder named Permissions from /system/etc and paste it at the same location in your new downloaded rom.
DONOT delete the existing folder , just replace the files.
Good Luck Cheers
Click to expand...
Click to collapse
But its a md5 file (my stock rom), how do I do it then?
Zarlen said:
But its a md5 file (my stock rom), how do I do it then?
Click to expand...
Click to collapse
You mean an img file , right?
If you have twrp or cwm backup of your stock rom , you can extract it from that file(ext4.system.tar.a) , if you dont have a twrp/cwm backup , you can try to flash stock rom from that img file and then copy necessary files into sdcard and then re flash your new rom and paste the existing files.
Good luck/
akash14darshan said:
You mean an img file , right?
If you have twrp or cwm backup of your stock rom , you can extract it from that file(ext4.system.tar.a) , if you dont have a twrp/cwm backup , you can try to flash stock rom from that img file and then copy necessary files into sdcard and then re flash your new rom and paste the existing files.
Good luck/
Click to expand...
Click to collapse
No, its an md5 file. Inside the md5 file (when I open it with winrar) it only shows hidedcache files etc and also boot.img
I need to have go to the patch (system/etc/permissions
Zarlen said:
No, its an md5 file. Inside the md5 file (when I open it with winrar) it only shows hidedcache files etc and also boot.img
I need to have go to the patch (system/etc/permissions
Click to expand...
Click to collapse
Then you might need to flash your stock rom first and then copy the necessary files.
I have an Mediatek device , steps to troubleshoot are same , but I have a zip of my stock rom created to access stock files when ever i need them.
I would advise you to do the same for future troubleshooting..
Good Luck mate
akash14darshan said:
Then you might need to flash your stock rom first and then copy the necessary files.
I have an Mediatek device , steps to troubleshoot are same , but I have a zip of my stock rom created to access stock files when ever i need them.
I would advise you to do the same for future troubleshooting..
Good Luck mate
Click to expand...
Click to collapse
And what are the nessecary files? Only the permissions folder or more?
Zarlen said:
And what are the nessecary files? Only the permissions folder or more?
Click to expand...
Click to collapse
Permission folder worked for me , but i would insist you to copy the entire /system partition as backup once you have flashed the stock rom just in case.
If permission folder doesnt work , then try replacing files starting with wlan from /system/lib/modules from stock to port
Do only when permissions folder doesnt work.

(URGENT) How to flash RAR files with CWM?

Hi. I am a newbie in flashing phones. I am having a Lenovo A850. I was planning to flash it to Android Marshmallow (CynogenMod) . It was really hard to find the ROM. Somehow I managed to find one here: https://forum.xda-developers.com/le...rom-unofficial-cyanogenmod-13-lenovo-t3724018 . Once I downloaded it, I noticed that it is in RAR format. I tried entering CWM in my phone, and the RAR file doesn't show up. CWM probably does not support flashing RAR files.
What should I do now?
Maevinarsh said:
Hi. I am a newbie in flashing phones. I am having a Lenovo A850. I was planning to flash it to Android Marshmallow (CynogenMod) . It was really hard to find the ROM. Somehow I managed to find one here: https://forum.xda-developers.com/le...rom-unofficial-cyanogenmod-13-lenovo-t3724018 . Once I downloaded it, I noticed that it is in RAR format. I tried entering CWM in my phone, and the RAR file doesn't show up. CWM probably does not support flashing RAR files.
What should I do now?
Click to expand...
Click to collapse
What you do for a quick fix is to open the .rar file on your computer using a software like winrar, or 7zip. Then compress it using the software as a .Zip file then you can flash it easy as that.
Doing this is changing the file format all correctly with correct conversions so it should be alright. But be aware that this is a quick fix which I use and have success with. Not sure if it would work for you But it should, if it doesn't don't hit me ~ QAQ
Note that this is possible as well on phones using file manager with inbuilt rar,win support

how to flash a stock ROM that was backup using GSM Aladdin

Hi guys
I want to ask something
I just backup my stock ROM using GSM Aladdin (using the read flash feature.also i ticked save as scatter) and it completed successfully so i went to the folder where it was saved (something like MT6580xxx) and i saw .bin files like boot , system , preloader etc
So my point is they are all .bin files (excluding the scatter.txt)
And i want to flash that to my phone using sp flash tool so do i need to make the .bin files to .img files or can i use directly? ? Or is there any other step ? Please help
1336Xhoax said:
Hi guys
I want to ask something
I just backup my stock ROM using GSM Aladdin (using the read flash feature.also i ticked save as scatter) and it completed successfully so i went to the folder where it was saved (something like MT6580xxx) and i saw .bin files like boot , system , preloader etc
So my point is they are all .bin files (excluding the scatter.txt)
And i want to flash that to my phone using sp flash tool so do i need to make the .bin files to .img files or can i use directly? ? Or is there any other step ? Please help
Click to expand...
Click to collapse
Hi,
Do you know where I can get GSM Aladdin? Do they have a trial version?

Categories

Resources