How to build custom rom as system.img file (not .zip) ? - Android Q&A, Help & Troubleshooting

[SOLVED]
Is there a tool/tutorial which explain how to build a custom rom in the form of .img file (system.img) and not zip file for phone which don't have custom recovery ?
I saw a lot of kitchen which build zip but not a single one which build .img file with proper permission/ownership/selinux label.
The same for tutorial...
Thanks.
[SOLVED]

I see... when it's about zip file for kiddo on samsung phone, there is people.
When it's about real stuff, there is nobody anymore.

w1nst0n sm1th said:
I see... when it's about zip file for kiddo on samsung phone, there is people.
When it's about real stuff, there is nobody anymore.
Click to expand...
Click to collapse
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.

casual_kikoo said:
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.
Click to expand...
Click to collapse
Oh yes, what a coincidence.
By the way i found :
http://forum.xda-developers.com/showthread.php?t=1974014
ext2simg may be usefull or not according the implementation of ext4 in android... --> Test needed.
Before flashing, make a dump file [dd] of current fs and convert it with ext2simg. Flash it back with fastboot if things go wrong. [Tested]

Udate
I was able to flash a personnal remix os custom rom, rooted with init.d support [the init.rc hook] and busybox preinstalled [but need to be finaized in android].
ext2simg is a necessity since fastboot doesn't support native ext4 format.

casual_kikoo said:
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.
Click to expand...
Click to collapse
Pretty mature reaction there................. not.

barbi_bimbo said:
Pretty mature reaction there................. not.
Click to expand...
Click to collapse

Related

[Q] Replacing FRX07 system.ext2 with Sense .ext2 and booting

Basically what I want to do is take the FRX07 bundle.zip and simply replace that system.ext2 with the one from this build (That's a direct link to the .rar file, btw).
The Sense build comes in system.sqsh form and I have already managed to convert that into a working system.ext2.
My dilemma comes in here.. I need help determining which files I need to replace/modify in the initrd.gz/rootfs/system folder/etc. in order to boot this build with the most current features of FRX07 (rootfs and whatnot).
I have some experience with modifying initrd.gz and rootfs images, but I'm still extremely noobish in the sense that I don't know exactly which coding I must change to get the desired effect.
I appreciate any helpful insight in advance!
EDIT: Also, it would be VERY helpful if someone could explain the functions and purposes of the rootfs.img, initrd.gz, and kernel. I have my speculations and assumptions, of course, but knowing for sure gets me a step closer to what I want. again, thanks in advance!!
maff1989 said:
Basically what I want to do is take the FRX07 bundle.zip and simply replace that system.ext2 with the one from this build (That's a direct link to the .rar file, btw).
The Sense build comes in system.sqsh form and I have already managed to convert that into a working system.ext2.
My dilemma comes in here.. I need help determining which files I need to replace/modify in the initrd.gz/rootfs/system folder/etc. in order to boot this build with the most current features of FRX07 (rootfs and whatnot).
I have some experience with modifying initrd.gz and rootfs images, but I'm still extremely noobish in the sense that I don't know exactly which coding I must change to get the desired effect.
I appreciate any helpful insight in advance!
Click to expand...
Click to collapse
90% of the work that went into FRX07 is in system.ext2, not anywhere else. Plus the rootfs itself is designed specifically to work with the system.ext2 from FRX07. That's not to say that it's impossible to modify it, but no forum thread will ever tell you all the changes you'd need to make to get that up and running.
rpierce99 said:
90% of the work that went into FRX07 is in system.ext2, not anywhere else. Plus the rootfs itself is designed specifically to work with the system.ext2 from FRX07. That's not to say that it's impossible to modify it, but no forum thread will ever tell you all the changes you'd need to make to get that up and running.
Click to expand...
Click to collapse
Ohh I see, about the rootfs and the system.ext2. But that's not to say that the work that went into the FRX07 system.ext2 wouldn't be useful for another .ext2
I know the basics of modifying the system and rootfs and I have a general idea of what needs to be done, so all I'm looking for is sorta a nudge in the right direction. I'm not expecting a to-do list, but a little goes a long way.
Plus, I doubt Google would have anything useful on this topic, especially in reference to the Tilt2. Hence, this thread lol.
tiad8
maff1989 said:
Ohh I see, about the rootfs and the system.ext2. But that's not to say that the work that went into the FRX07 system.ext2 wouldn't be useful for another .ext2
I know the basics of modifying the system and rootfs and I have a general idea of what needs to be done, so all I'm looking for is sorta a nudge in the right direction. I'm not expecting a to-do list, but a little goes a long way.
Plus, I doubt Google would have anything useful on this topic, especially in reference to the Tilt2. Hence, this thread lol.[/QUOTE=maff1989;15812348]
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
alaa_hany47 said:
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
Couldn't be more wrong. klinux created the Sense build, it was originally called 'rosie' before tiad8 took it and butchered it to make it appear like it was his work...
alaa_hany47 said:
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
Tiad8 doesn't know ****. Pardon the French. But thanks for the suggestion.
arrrghhh said:
Couldn't be more wrong. klinux created the Sense build, it was originally called 'rosie' before tiad8 took it and butchered it to make it appear like it was his work...
Click to expand...
Click to collapse
I noticed his skills in butchering.
what base are you using for the sense build? I have a successful build booting. The problem I have is with the sqsh file. If I unsquash it and try to rebuild it I get an error on boot. How did you convert it over? And do you have a working radio?
Never mind. I got it from the first post. That one is really slow port of Hero build. I have one that is a direct port and a lot smoother with the exception of the radio not working. But I am using completely updated rootfs, kernel, and initrd. The ones from xdandroid work just fine. But I use these kernels. I dunno if they are different from the ones directly from xdandroid site.
taylorhome11 said:
But I use these kernels. I dunno if they are different from the ones directly from xdandroid site.
Click to expand...
Click to collapse
That's XDAndroid's repo for kernels... There's a .35 and .39 tree there as well.
arrrghhh said:
That's XDAndroid's repo for kernels... There's a .35 and .39 tree there as well.
Click to expand...
Click to collapse
Thanks for clearing that up

System files of stock rom (SOLVED)

PLEASE CAN SOME ONE UPLOAD THE SYSTEM FILES FROM THE STOCK ROM. THANK YOU. I HAVE TRIED TO EXTRACT THE .rfs FILE TYPE IT BUT NO LUCK.
LINK TO THE STOCK ROM http://timcordova.com/iamtimmah/andr..._UEKI8_MIN.rar
THANK YOU IN ADVANCE.
Ratchewer said:
PLEASE CAN SOME ONE UPLOAD THE SYSTEM FILES FROM THE STOCK ROM. THANK YOU. I HAVE TRIED TO EXTRACT THE .rfs FILE TYPE IT BUT NO LUCK.
LINK TO THE STOCK ROM http://timcordova.com/iamtimmah/andr..._UEKI8_MIN.rar
THANK YOU IN ADVANCE.
Click to expand...
Click to collapse
Welcome to Dev.
1. This is Dev. Not Q&A. Not "herpy-derpy I don't know how to mount rfs" fun time. We're not here to help you with your stupid problems that you could have just googled.
2. ALL-CAPS IS NOT CRUISE CONTROL FOR COOL. Even if it was, even cruise control needs a decent driver.
Now google, "How to mount RFS in (operating system, preferably linux), and see what you get.
Good? Good.
Now, lock or move.
apapousek said:
Welcome to Dev.
1. This is Dev. Not Q&A. Not "herpy-derpy I don't know how to mount rfs" fun time. We're not here to help you with your stupid problems that you could have just googled.
2. ALL-CAPS IS NOT CRUISE CONTROL FOR COOL. Even if it was, even cruise control needs a decent driver.
Now google, "How to mount RFS in (operating system, preferably linux), and see what you get.
Good? Good.
Now, lock or move.
Click to expand...
Click to collapse
Well if u are here to help why not make helping easier. after all why are we all here for?
well never mind after a brain steaming i have made it.
And for anyone who might need it. I did this in windows OS no mount or so ever.
1. change the file type to .IMG and use any ISO software that is registered to extract the file.
Ratchewer said:
Well if u are here to help why not make helping easier. after all why are we all here for?
well never mind after a brain steaming i have made it.
And for anyone who might need it. I did this in windows OS no mount or so ever.
1. change the file type to .IMG and use any ISO software that is registered to extract the file.
Click to expand...
Click to collapse
This is Dev. Not Q&A. People shouldn't go to Dev to ask questions about general Android information. Furthermore, I'm here to publish to push forward (in the limited ways I can) development for the Galaxy Player. Dev's don't need crap mucking up this area.
apapousek said:
This is Dev. Not Q&A. People shouldn't go to Dev to ask questions about general Android information. Furthermore, I'm here to publish to push forward (in the limited ways I can) development for the Galaxy Player. Dev's don't need crap mucking up this area.
Click to expand...
Click to collapse
well dosen't extraction needed in development process or you just jump and and start development. well move on ok i found my solution. ENJOY.
Ratchewer said:
well dosen't extraction needed in development process or you just jump and and start development. well move on ok i found my solution. ENJOY.
Click to expand...
Click to collapse
Many times, no. It's not needed. For basic compilation, it's really not. Anyway, many people can just dump the files they need from the device itself.
This thread might help in the future : http://forum.xda-developers.com/showthread.php?t=1385061
maan you guys should take it easy on a newbie.

[Q] Help!!! how to add new device in dsixda kitchen

How to add new device in dsxida kitchen?
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
soham jambhekar said:
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
klembo1957 said:
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
Click to expand...
Click to collapse
Nope, there is no such necessity
OK
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
klembo1957 said:
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
Click to expand...
Click to collapse
You put any custom ROM for your device in there, configure it for that file (meaning that show it the file you're working on), replace it's system folder with the stock deodexed system folder.
Now, you're ready. Do your modifications. Add features. Build. Zip
Now, the important part.
Kitchen updater-script doesn't work on our device in some case. Use any custom ROM updater-script (with permission and credit), and voila!
There is a complete guide on it in Development section too.
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
klembo1957 said:
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
Click to expand...
Click to collapse
Only thing is that it's updater-script doesn't work
You have to add yours
iamareebjamal said:
Only thing is that it's updater-script doesn't work
You have to add yours
Click to expand...
Click to collapse
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
klembo1957 said:
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
Click to expand...
Click to collapse
did it work ?

[.13] Framework Deodexer

Hi
Here you get:
A automatic Framework Deodexer for newest 13 Firmware.
I already made this for .587, look HERE.
Download
framework_deodex_13_papayayoghurt_20130411.zip
MD5: 247A1889D89CC535107D83017DD90894
FAQ
Q: Bootloop!
A: Try "Fix Permission" in recovery, if it doesn´t help, reflash FW without Wipe using Flashtool
Q: I do not have the Version 4.1.B.1.13.
A: Wait for update or flash this using Flashtool
Q: What is this for?
A: Deodexing gives you more space in /system and you can easy edit the Framework Files. This is very helpful for modders!
...more coming sool
Regards:
papayayoghurt
PS: Don´t forget to press the Thanks Button
And you said, Arc forum is dying out! Ha, I can only laugh, keep up the good work!
Master of Bisaster said:
And you said, Arc forum is dying out! Ha, I can only laugh, keep up the good work!
Click to expand...
Click to collapse
Thanks, I will do it!
Ahhh.... You answer my call.......
Thx , mate.... :fingers-crossed:
Edit : Seems your file is broken. I've check the md5sum, my download is the same with the one in Goo.im.
vashta said:
Ahhh.... You answer my call.......
Thx , mate.... :fingers-crossed:
Edit : Seems your file is broken. I've check the md5sum, my download is the same with the one in Goo.im.
Click to expand...
Click to collapse
Tnx Man, I will Try to install today and Fix the bug for GSM/WCMA.
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
emwno said:
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
Click to expand...
Click to collapse
No, eight files in /system/framework are odexed.
Oh, the file is really broken, I am currently uploading it again.
EDIT: It´s working now!
papayayoghurt said:
No, eight files in /system/framework are odexed.
Click to expand...
Click to collapse
Well the title is misleading as it says automatic framework deodexer, where as it just pushes files deodexed by you. Just saying
emwno said:
Well the title is misleading as it says automatic framework deodexer, where as it just pushes files deodexed by you. Just saying
Click to expand...
Click to collapse
Automatic can also mean that a zip does this work. Most of the people don´t care if a zip deodexes it or does it push deodexed files.
But if you want, I will remove automatic. Should I?
papayayoghurt said:
Automatic can also mean that a zip does this work. Most of the people don´t care if a zip deodexes it or does it push deodexed files.
But if you want, I will remove automatic. Should I?
Click to expand...
Click to collapse
Na, keep it. I got confused looking at the zip and the title, but that's just me
emwno said:
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
Click to expand...
Click to collapse
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
jader13254 said:
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
Click to expand...
Click to collapse
People PMd me that I should make this. Why not?
FUN?!
Ist da jemand der Dünsch heißt?
http://forum.xda-developers.com/showthread.php?t=2131127
Posted months ago my friend
jader13254 said:
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
Click to expand...
Click to collapse
+1 to the useful part. But yeah, your right, user dont really care.
After Installed the .578 version, the Walkman player is always force closing and I don't can hear music... Any solution to solve the problem?
sorry for my little english
Which rom do you use, nobody reported this problem already.
FUN?!
Ist da jemand der Dünsch heißt?
papayayoghurt said:
Which rom do you use, nobody reported this problem already.
FUN?!
Ist da jemand der Dünsch heißt?
Click to expand...
Click to collapse
Stock Rom
sorry for my little english

Mate 20 X EVR-AL00 Debloat via Flashable ZIP

I am making good progress with a flashable ZIP file that can be flashed using the diagnostic factory mode. The ZIP takes a current EMUI ROM base and debloats it removing Chinese langauge apps and unnecessary Huawei branding. Useful frameworks such as Motion, Gestures, AoD, etc. are retained. Going forward I plan to develop the solution further so that you will be able to modify a customisable config file that will specify what packages you want to retain, and select a downloaded EMUI ROM for the device that will be customised as per your instruction , resulting in a ZIP file being pushed to your device and you then simply need to reboot and allow the phone to flash the update. Simple ! Therefore, each time a new stock ROM is released then this tool simply needs to be run against your customisation !
Development so far-
1. I now have a method of entering the hidden factory mode allowing a ZIP package to be flashed from internal storage , so you can simply download the ZIP to your Download folder and flash from there.
2. I have a method of saving an OTA to file.
3. I have identified the ROM GPT for the device and all partitions and sequencing; this allows me to extract all partitions contained within an Huawei ROM.
4. I am currently interrogating a sample Huawei patch ROM to discern the method of patching filesystems - which i determined is basically is an overlay of the filesystem. This makes things easy as it allows a reverse image creation from a stock partitions minus bloat removed.
5. Next step is to attempt creation of a simple patch ROM using analysis obtained from 1-4 above, and trial this out on my device. This will involve CSC and SHA256RSA creation and will need to determine a method for this. Following that I need to consolidate everything into a script. Going even further, I plan to develop a GUI app which will aid N00bs
6. Following trials I will publish the ROM and instructions with sources so that anyone in the community can examine if they so desire.
* ALL WITHOUT ROOT *
HELP NEEDED:
Anyone with a rooted device , and able to "adb root" into their device as "root" , please PM me as i could do with information that you can obtain a lot easier than I can.
Great work
Waiting for the file
?
Sorry I'm not rooted ?
Update: Rooted if need any adb feedback per OP. I haven't TWRP'd and re-ROM'd but I'm going to go back update 195 and repatch. Each time is a big hassle (just remembering steps).
I think this is great. I can probably give a hand Fri afternoon.
Sent from my HWEVR using XDA Labs
Sounds quite promising but, just to be clear, do you need an unlocked bootloader to do this?
mscion said:
Sounds quite promising but, just to be clear, do you need an unlocked bootloader to do this?
Click to expand...
Click to collapse
Rudolpht said:
I think this is great. I can probably give a hand tomorrow afternoon.
Sent from my HWEVR using XDA Labs
Click to expand...
Click to collapse
+1
mscion said:
Sounds quite promising but, just to be clear, do you need an unlocked bootloader to do this?
Click to expand...
Click to collapse
Hi said no need to Unlock
rowihel2012 said:
Hi said no need to Unlock
Click to expand...
Click to collapse
Hi. I hope you are correct! Just don't see anything explicitly said about bootloader. Only says you don't need root. Would be neat if this approach could be used to rebrand phone.
Any progress?
Looks like this didn't get to far because of the 195 update?
turilo said:
Looks like this didn't get to far..
Click to expand...
Click to collapse
That's The Curse of HUAWEI ?
rowihel2012 said:
That's The Curse of HUAWEI
Click to expand...
Click to collapse
LOL )))))
He even stop replying to this thread...
The guys busy and has a life. Leave him be.
Abdul Oxford said:
The guys busy and has a life. Leave him be.
Click to expand...
Click to collapse
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Tweetytek said:
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Click to expand...
Click to collapse
I PM'd you shortly after you started this thread offering my help since I have a rooted AL00. The memory card is Huawei proprietary card called NM Card (nano memory card - SD card the same size as nano SIM card) here's a link for them at Amazon (not an affiliate link) https://www.amazon.com/Huawei-Memory-Mirco-Compact-Flash/dp/B07KS8JBFH and they are quite expensive compared to micro sd cards.
Tweetytek said:
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Click to expand...
Click to collapse
Sorry about some folks being rude. You see it at times but I was surprised when I read it. Regardless, your finding is interesting. Where is the hidden menu you can use to flash a zip from? I wasn't planning on getting a nano sim because they are pricey. But if it is possible to do as you say I'll provably get one. Is there also an option to flash zip from file on computer? Thanks for your efforts!
Tweetytek said:
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Click to expand...
Click to collapse
Fully understand your viewpoint but please take into account that the insensitive and pointless posts made by some here do not reflect or represent the majority view of forum members.
Please let me know as well, your hard work is truly appreciated.
Tweetytek said:
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Click to expand...
Click to collapse
You can use an USB OTG and a usb stick. Works with the hidden menu trick thing. They can be found for pretty cheap price
Status on this?
Sent from my [device_name] using XDA-Developers Legacy app
Ckao said:
Status on this?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
OP and his disciples fled after being offended. I believe they followed the OnePlus rainbow hand in hand.
Sent from my EVR-L29 using Tapatalk

Categories

Resources