Help to make a flashable modem (D855P)? - G3 Q&A, Help & Troubleshooting

Greetings forum, could someone help me explaining how to make a flashable modem zip for TWRP for my (D855P), looked everywhere and didn't find any guide, thanks in advance for your time.

pankk said:
Greetings forum, could someone help me explaining how to make a flashable modem zip for TWRP for my (D855P), looked everywhere and didn't find any guide, thanks in advance for your time.
Click to expand...
Click to collapse
Just find some flashable kernel, look up the META-INF / com / google / android / updater.script (open in notepad++)
package_extract_file("modem.img", "/dev/block/platform/msm_sdcc.1/by-name/modem");
that should do it , the modem.img or whatever you want to name it has to be inside the zip

bender_007 said:
Just find some flashable kernel, look up the META-INF / com / google / android / updater.script (open in notepad++)
package_extract_file("modem.img", "/dev/block/platform/msm_sdcc.1/by-name/modem");
that should do it , the modem.img or whatever you want to name it has to be inside the zip
Click to expand...
Click to collapse
Really appreciate your help, my modem is .bin how could i convert it to .img?

2 options
1. Just instead of modem.img in command line put "modem.bin"
2. Rename your modem.bin to modem.img
Poslano sa mog LG-D855 koristeći Tapatalk

Related

[GUIDE]Perka´s Ultimate ROM Cooking Guide

Huge Credit goes to all involved in this project!
But foremost a huge thx to addi that helped me setup Cygwin!!!!
Thank you addi!
Click to expand...
Click to collapse
If you want to support me and my work,
donate towards my notebook fund.
Perkas Notebook Fund
People who has donated, a HUGE THX!
Click to expand...
Click to collapse
This is how I make my ROMs in w7 Ultimate 64bit
Software needed:
Cygwin http://www.cygwin.com/
dsixda_Android_Kitchen, http://forum.xda-developers.com/showthread.php?t=633246
Put the kitchen here: http://imageshack.us/photo/my-images/808/installkitchen.png/
Magic iso http://www.magiciso.com/
7zip or winrar
APK manager http://forum.xda-developers.com/showthread.php?t=695701
Template :
PerkaROM Template at the end of this post.
Stock firmware :
In this guide JVP 2.3.4
How to :
* Get the modem and kernel (zImage) you want to use
* Un tar PDA.tar and CSC.tar
* Use Magic iso to extract factoryfs.rfs, Got to File, Open,
choose show all files and browse to the facoryfs and open, when open right click the NO NAME, up to your left and extract it.
* So now make a folder called system
* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)
* Now u have a zip called system.zip with a system folder in it.
* Put the system.zip in the dsi kitchen folder /original_update
* Start the kitchen and use option 1, go with default options.
* Use option 0 advanced, then 11 and then option b to deodex system apk and framework, and w8
* Now save the system folder from working folder in the Kitchen
* Get my template
* Dont extract the Template just open it in winrar or similar.
* Copy your modem and zImage (kernel) to the update folder
* Now copy your system to the template /system
* Use Magic iso to extract cache.rfs, Got to File, Open,
choose show all files and browse to the cache.rfs and open, when open right click the NO NAME, up to your left and extract it.
* Unzip the sec_csc.zip and copy the files to system, (1 csc folder and 2 files)
* Now u should have a working stock ROM to flash in CWM (rooted)
* After testing the ROM you can optimize and zipalign it.
* In apk manager folder /place-apk-here-to-batch-optimize you put
framework-res.apk, twframework-res.apk and all system apks but not these:
AxT9IME, Camera, Email, MMS, Phone, Screen Capture, Settings, Swype, Thinkdroid, Voice search
* Choose option 15
* Then choose both(zp)
* Let it run and done.
* Now put back the apks where they belong in the ROM.
* Flash your optimized ROM and feel the difference!
Here is a video of the guide made by Flozzo so go and press his thx button
Check out his Theme here
Thank you Flozzo!!!
Press the thank you button if you like the guide THX!
Nice guide, Perka.​
great job buddy
WOW, this will come handy to a lot of guys. Sticky material.
perka you always do great job with guides....so is it with this one
congrats mate
Hey Perka!
From the Captivate forums, I would like to say this guide is a fantastic base for creating ROMs, I have created my own ROM using this guide by coldflid:
http://forum.xda-developers.com/showthread.php?t=1142104
But this is yet another fantastic guide, and now putting them side by side on and reading both would have saved me a couple hours of reading on google.
Hahah but great guide!
THANK A LOT
This is a great guide. Nice job mate.
Thank you all for your kind words
Perka said:
Thank you all for your kind words
Click to expand...
Click to collapse
Thanks for the tutorial
Enviado desde mi GT-I9000 usando Tapatalk
Thanks very useful!
Please help!I made my own rom but when i want to flash via recovery it says "installation aborted".What should i do?
Sorry for my english!
So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.
Perka said:
So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.
Click to expand...
Click to collapse
I read it and its good
But I use kitchen and a stock ROM which is much easier but keep it up mate
Sent from my HD2 using XDA Premium App
Perka said:
So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.
Click to expand...
Click to collapse
I´ve used your guide, but I didn´t quite got through the magic iso process.I extracted but it gave me one single file like the one i had before.I think i got a bit confused in the iso progress.
francomile said:
I´ve used your guide, but I didn´t quite got through the magic iso process.I extracted but it gave me one single file like the one i had before.I think i got a bit confused in the iso progress.
Click to expand...
Click to collapse
Well did u open it?
When its open in magic iso, there's a window to your left with the file structure, right click and extract to a folder of your choice.
If u need it I can make some screens.
Post if u want them.
and pls ask if anything.
Ps. maybe u can just copy all to a folder?
norbi2011 said:
Thanks very useful!
Please help!I made my own rom but when i want to flash via recovery it says "installation aborted".What should i do?
Sorry for my english!
Click to expand...
Click to collapse
Hey I missed you post, sry, well
Its hard to say what is wrong,
Kernel?
Filesystem?
++++?
Pls tell me more what did you put in the rom?
And what rom are you on now?
Perka said:
Well did u open it?
When its open in magic iso, there's a window to your left with the file structure, right click and extract to a folder of your choice.
If u need it I can make some screens.
Post if u want them.
and pls ask if anything.
Ps. maybe u can just copy all to a folder?
Click to expand...
Click to collapse
Hey, thanks for the quick answer.'ve opened the magic iso serched for the file and pressed the option to extract, and it extracted in the location file i choosed, bu the extracted content its just the same as the original file, same size, same name, same rfs extention. What was i suposed to get with the extraction, several files? I'll try to make it again and try to extract it before anoying you to post some captures, if it doesn't works, i'll be back to be a pain in the ass again
Enviado desde mi GT-I9000 usando Tapatalk
Oh just forgot, nice to see your file stash pro app updating!thanks
Enviado desde mi GT-I9000 usando Tapatalk
francomile said:
Hey, thanks for the quick answer.'ve opened the magic iso serched for the file and pressed the option to extract, and it extracted in the location file i choosed, bu the extracted content its just the same as the original file, same size, same name, same rfs extention. What was i suposed to get with the extraction, several files? I'll try to make it again and try to extract it before anoying you to post some captures, if it doesn't works, i'll be back to be a pain in the ass again
Enviado desde mi GT-I9000 usando Tapatalk
Click to expand...
Click to collapse
OK, manage to do it. but now i have other question:
in system file do i put together the extracted content of factoryfs.rfs and cache.rfs withouth any other files ?
What about CSC extracted file? it contains also a cache.rfs.should I extract it too with magic iso? and shall i put all the CSC and PDA files toguether?? I ´m a bit messed up here, but just need you to clarify me better the whole PDA and CSC part, ...well I know that CSC goes on system but i don't really have clear if i need to extract the cache.rfs from CSC too. I hope you can understand me right, because I´m a bit confused too
francomile said:
OK, manage to do it. but now i have other question:
in system file do i put together the extracted content of factoryfs.rfs and cache.rfs withouth any other files ?
What about CSC extracted file? it contains also a cache.rfs.should I extract it too with magic iso? and shall i put all the CSC and PDA files toguether?? I ´m a bit messed up here, but just need you to clarify me better the whole PDA and CSC part, ...well I know that CSC goes on system but i don't really have clear if i need to extract the cache.rfs from CSC too. I hope you can understand me right, because I´m a bit confused too
Click to expand...
Click to collapse
* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)
Now this u deodex.
When its done.
* Unzip the csc zip and copy the files to system (to your deodexed system folder)
When theres a new FW out ill make a video
Hope this helps, if not, well, Ill have to make a video now
How can i create an updater-script?
edit:never mind

[full how to] [..dev] how to create a custom rom

What you need .. ?
->Cygwin
-> DSIXda Kitchen
-> A windows/ Linux environment.
-> MagicISO
-> Base ROM --NOT CUSTOM ROM-- --AN OFFICIAL ROM--
-> 7-zip
Download official firmware .. !!
Extraction of RFS (Basic thing)​
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Note:- PDA file = .tar
End of Step 1
reserved 1
reserved 2
reserved 3
reserved 4
reserved 5
reserved 6
reserved 7
Reserved 8! xP
there're already a tut to make a rom for sgy. we can use it for comparison http://forum.xda-developers.com/showthread.php?t=1493319
http://forum.xda-developers.com/showthread.php?t=1590330
this one is for customizing
Ha ha ha not so much reserved guys
I have posted dis thread on a request so stop bulling
Sent From my lovely FIT..... !! lOvE u Fit
kurotsugi said:
there're already a tut to make a rom for sgy. we can use it for comparison http://forum.xda-developers.com/showthread.php?t=1493319
http://forum.xda-developers.com/showthread.php?t=1590330
this one is for customizing
Click to expand...
Click to collapse
this is just basic!!
For zipalign,deodex,root,busybox etc where is that ?
Dis thread will give the tut from the scratch !
And for error in script part u may help them !
If u give permsn i may post ur name too
Sent From my lovely FIT..... !! lOvE u Fit
you can use that post for spesific info about SGY. for an instance, you mentioned about system.rfs in your 1st post. well...SGY's stock rom doesn't have that kind of file. instead, it have system.img which somehow cannot extracted by magicISO. the common method used to build the kernel is a little bit differet too. you may check sgy.creed post about build a kernel. his method is not work for SGY but you can find a proper guide created by irfanbagus on 1st page.
kurotsugi said:
you can use that post for spesific info about SGY. for an instance, you mentioned about system.rfs in your 1st post. well...SGY's stock rom doesn't have that kind of file. instead, it have system.img which somehow cannot extracted by magicISO. the common method used to build the kernel is a little bit differet too. you may check sgy.creed post about build a kernel. his method is not work for SGY but you can find a proper guide created by irfanbagus on 1st page.
Click to expand...
Click to collapse
it must be having .rfs !
Wat does rfs mean ?
File system(root) so it must be having .. While flashing firmware through odin does it downloading system.rfs ??
Sent From my lovely FIT..... !! lOvE u Fit
and magic iso can extract .img file
Sent From my lovely FIT..... !! lOvE u Fit
not every device has same structure on stock firmware. some devices have system.rfs but some of them have system.img instead. as a prove, if you use dsixda kitchen, you'll see an option to extract system files from system.img file. you may also download a sgy's stock firmware from doky78's post to verify it.
btw, before you continue I'd like to suggest to make a sgy rom by yourself. no need to make a modified one. you only need to make a flashable stock rom.
factoryfs.rfs
Avilove.Cullen said:
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs"
Note: PDA file = .tar
Click to expand...
Click to collapse
SGY does not have factoryfs.rfs like other Galaxys.
but magicISO works on SGY odinized stock ROM tar files, when untarred. stock ROM is odexed though. deodexing gives you some smali/baksmali error messages.
lol...this old thread. forget it, mai. this guy know nothing about rom development. most of his guide is never could be used to build a rom for sgy.
OK so now people know this thread is not very useful. just to not waste anybody's time
And I thought this was a new thread

[Zopo ZP200] How to install Custom Android 2.3.6?

Hello friends.
I'm trying to understand how do I install this ROM.
Code:
bbs.zopomobile.com/thread-16637-1-1.html
Inside the zip file has:
Folders - data, META-INF and system
Files - boot.img and check_data_app
Could anyone help me?
rubens2009 said:
Hello friends.
I'm trying to understand how do I install this ROM.
Code:
bbs.zopomobile.com/thread-16637-1-1.html
Inside the zip file has:
Folders - data, META-INF and system
Files - boot.img and check_data_app
Could anyone help me?
Click to expand...
Click to collapse
Try here: http://forum.xda-developers.com/showthread.php?t=1655630
There is much more than what you are looking for.
bye
miazza
miazza said:
Try here: http://forum.xda-developers.com/showthread.php?t=1655630
There is much more than what you are looking for.
bye
miazza
Click to expand...
Click to collapse
A friend has helped me and I managed to install this ROM. But I thank you for your help.
Hug

[Q] Deodex stock .681 ROM?

Could somebody help me: "How to" easy deodex my rooted .681 ROM?
I'm not expert :angel:
I too am waiting impatiently for this
Why wait when you can do it yourself.
...Sent from Zed
Not everyone can. Can you do that? Or write how to do it.
But it is best to have a flashable zip patch.
1jkan said:
Not everyone can. Can you do that? Or write how to do it.
Click to expand...
Click to collapse
If you can read and got a computer you can deodex. See the link in my sig.
...Sent from Zed
Poorly know English. Before I get through my language translation is 100 times you do this patch.
1jkan said:
Poorly know English. Before I get through my language translation is 100 times you do this patch.
Click to expand...
Click to collapse
Will upload tonight when I get home.
Sent from my D5503 using XDA Premium 4 mobile app
Not going to have time tonight so a quick suggestion, download munjenis ROM, copy the app, priv-app and framework folder to the attached zip and flash that.
I have done according to your instructions I copied from rom munjeni these folders and compress to zip. Zip is 412MB. Then flashed and bootlop ...
1jkan said:
I have done according to your instructions I copied from rom munjeni these folders and compress to zip. Zip is 500MG over. Then flashed and bootlop ...
Click to expand...
Click to collapse
Download the attached zip, navigate to the system folder so you see the 3 folders I've mentioned, then drag and drop the same 3 folders from the ROM into it (don't change any compression settings) then flash.
XperienceD said:
Download the attached zip, navigate to the system folder so you see the 3 folders I've mentioned, then drag and drop the same 3 folders from the ROM into it (don't change any compression settings) then flash.
Click to expand...
Click to collapse
Worked like a charm. Thank you.
I do it! Thanks!
XperienceD said:
Not going to have time tonight so a quick suggestion, download munjenis ROM, copy the app, priv-app and framework folder to the attached zip and flash that.
Click to expand...
Click to collapse
So if I get it right I can do the same with this rom here http://forum.xda-developers.com/showthread.php?t=2723674 but I need a new zip to replace the files for the 757 firmware or I can use the same one that you attached here for the 681 rom ?
andreaspe said:
So if I get it right I can do the same with this rom here http://forum.xda-developers.com/showthread.php?t=2723674 but I need a new zip to replace the files for the 757 firmware or I can use the same one that you attached here for the 681 rom ?
Click to expand...
Click to collapse
Use this instead now - http://forum.xda-developers.com/showthread.php?t=2713329
XperienceD said:
Use this instead now - http://forum.xda-developers.com/showthread.php?t=2713329
Click to expand...
Click to collapse
Yeah i have seen this tool recently and most probably i'm gonna use it to deodex. But what about my question? Is it right to do it as I described or I will end in problems ? Thanks for your answer

Build.Prop file

Hi! Can anyone upload the build prop file from a G6 play with pie please? I want to use it on a gsi rom
You find it inside the system.img of the stock firmware
https://mirrors.lolinet.com/firmware/moto
Sent from my ali using XDA Labs
WoKoschekk said:
You find it inside the system.img of the stock firmware
Click to expand...
Click to collapse
System.img is divided in multiple files. How can I extract it?
Can anyone of u just upload a file or send it to me?
search for the simg2img-tool to convert them to single images. Then you can open it.

Categories

Resources