yashsingh1/xdaforums huggingface dataset:
[Android Software Development] antoniojveraa:
Update a stock ROM with a stock ROM

Hi guys, I have this cheap MTK chinesee phone HOMTOM HT3 wich works for me but manufacture won't give any update for it.

There is an upgraded version of this HT3 which is HT16 that has same specs.

HT3 runs under 5.1 and HT16 under 6.0

I have downloaded two stock ROMS and I was wondering if I could make HT3 runs under Android 6 modifying original ROM.

I tried to flash HT6 ROM directly to HT3 using SPFlashTool and the process finish with the green check mark but the phone does not boot.

I tryied just flashing system.img from HT6 after modifying MT6580_Android_scatter.txt but with same results.

I guess I have to combine both ROMs but I don't know how.

I found some tutorials that followed but no good results yet.

Any suggestion?
[Android Software Development] firemax13:
Is there other way to extract my system file.My phone is not root but I will never back to root
[Android Software Development] dxnielsmith:
the Cygwin link seems to be dead, and I don't know where I can find the modules (I'm a newcomer at developing roms :p ) can someone help me with getting it installed?
[Android Software Development] mashardpro:
here
[Android Software Development] BB23482:
help.

Followed every step, but in end its giving java not installed error. i already installed it from start. Any help?
[Android Software Development] Donnie267:
I have a question for any of you that wouldn't mind a little project. I would give it a shot myself. But... I don't have a working computer at the moment, so I wouldn't be able to even if I wanted.
[Android Software Development] TechnoTew:
Will it work on any device
[Android Software Development] Donnie267:
In theory, yes. I just haven't seen any vanilla Android rooms outside of android-x86.org which is meant for running android within a virtualize environment.
[Android Software Development] TechnoTew:
Cause I have a very rare htc 620u that does not have a Rom so I want to make one
[Android Software Development] Donnie267:
​

Well, give it a whirl. If I doesn't have a rom, sweat could it hurt if it doesn't work? I would try, but I don't have a working computer.
[Android Software Development] TechnoTew:
I need the stock Rom as a backup how to extract
[Android Software Development] Donnie267:
You can either root and do a nandroid backup or just download the stock rom.
[Android Software Development] TechnoTew:
Ok

I shall nandroid backup using twrp thx
[Android Software Development] Donnie267:
No prob. Let me know if you have any progress.
[Android Software Development] TramSK:
The cygwin link is dead!
[Android Software Development] Phil_Smith:
Then google "cygwin"...
[Android Software Development] gurmeetmaan:
Sir, in stock rom there is no move to sd card option,but in custom rom i find this option,can i add this in to my stock rom. Plz sir hepl me
[Android Software Development] R.O.G.U.E:
yup , i also got that . I solved it by running cygwin with administrative permissions.
[Android Software Development] Naveen.nn:
provide working cygwin_packages link
[Android Software Development] EREVtov:
nice.

i just wanna take stock firmware, and remove all the gapps from there, and all the apps like samnusg and fb and all that,

and then install pico gapps (code gapps) for making it clean and not so heavy for root , is that possible?

and kitchen doesnt support my device, which is j500f.
[Android Software Development] rahis48:
Not able to download some files :

cygwin Package

And

Apk tool

Kindly help
[Android Software Development] _d4Mn_:
Remove Default Packages

Hi,

Have found how to add my own package to the source to be prebuilt but cannot find the way to remove the already defaults, basically all of them.

Any ideas?

Thanks
[Android Software Development] Vishnu_Ezhuthachan:
1. Meta-inf folder - get this from download files list in first post

from where ? Didn't get this
[Android Software Development] md habib01:
Error executing updater binary in zip ' /external_sdcard/ my rom name

hello seniors,

Please help me for this, i made a custom rom for samsung galaxy sm-j700f through the help of this post. All steps the which shown in this post, I followed carefully,even my rom was created too fro the kitchen, but when i go to flash it will show this error "Error executing updater binary in zip ' /external_sdcard/ my rom name" :rolleyes:.... I dont know where i made the mistake, what can I do? I am a noob :(.... please help me. Thanks in advance:o
[Android Software Development] hgffff:
I made costom rom lenovo s60 please make me rom

Thanks in advance
[Android Software Development] EdG31nGr:
Hi, i have an old tablet a Pipo M6 pro.

It is a powerfull tablet but it is stuck to android 4.4.2 .

Can i make a rom to bring it back to life with android 6 or 7 with this guide or it cannot happen because there is no base rom?

I have basic programming skills and i have some free time!!!
[Android Software Development] Akansh25:
Could anyone tell how to add new icons in status bar like volte icon
[Android Software Development] SAMCR02018:
Im guessing this is a sweet tut, im trying to make a ROM fornmy ticwatch pro 4g any tips or help would be amazing.

---------- Post added at 03:03 AM ---------- Previous post was at 03:01 AM ----------

Can i PM you??
[Android Software Development] ochena ojana:
there are folders with every apk & a folder named "arm" containing an ".odex" file. how can i add a new apk(how to build an odex or can i done without it)?

can i replace system apps with it's update to update my Android version?
[Android Software Development] HMNT96:
Is This tutorial still ok for android q ?
[Android Software Development] Scorpion70:
can i remove or add some new apps to roms with this guide? for example delete default messaging app and add another messaging app
[Android Software Development] duszeks:
Does this method still work? It has been 7 years since the method was posted and I'm not sure whether the method does still work in 2020.
[Android Software Development] Ajith_Selvan:
No
[Android Software Development] Vishvaa:
Hi what is base rom is this means "stock rom" im using redmi 5a and the stock rom is miui 11
[Android Software Development] tooandrew:
Hey can op please fix the images? With no pictures its just another hard to follow guide.
[Android Software Development] duszeks:
No, it doesn't work anymore. Find another guide.
[Android Software Development] vineet singh553:
sir how to put out serial no security in our custom rom so that we should get some amount of money in form of our hard work .......waiting for reply soon.........
[Android Software Development] achakian0000:
Thanks
[Android Software Development] fotechvnu:
have you any links for the new guide?
[Android Software Development] Phil_Smith:
So you wanna sell your custom ROM?

Has to be pretty awesome so that anyone would choose that over all those free alternatives ..

You should consider a job though if you wanna get money for your work.

People here tend to work for the community and usually are happy to offer something free for others that makes them happy.
[Android Software Development] Nico Bröse:
Java JDK link does not work
[Android Software Development] Abdullah230:
Pls say how can I create an one ui custom rom for older samsung
[Android Software Development] D3v1L777:
I just wanted to know if i can build my android phone's custom from, basically I have experience in simply installing and modding a bit. Thing is I changed my device and there aren't much dev for my device so is it possible to simply pick any ROM of any device and mod it to work on my device......??
[Android Software Development] tutibreaker:
no
[Android Software Development] tutibreaker:
hahhaahahahaha
[Android Software Development] :
Already thanked in above thread
[Android Software Development] ahmyani:
:thumbup: to :Dp
[Android Software Development] rjunraj:
masterpiece

speechless

Sent from my MI355 using Xparent Cyan Tapatalk 2
[Android Software Development] mehediatcom:
Thanks a lot buddy.. this is a great guide :D :D :D
[Android Software Development] GuneetAtwal:
if you all want to appreciate do Hit Thanks and Rate this Thread 5 stars or advertise this Guide:p
[Android Software Development] panda00:
I would recommend that you add how to make kitchen compatible with their respective device... as in when they take a system.ext4.tar from a backup, they should add mount points in a file into the edify folder, you can get the mount points from your device's respective CWM recovery.img > recovery.fstab ...

Just a suggestion :)
[Android Software Development] GuneetAtwal:
Nice suggestion i will add it for MTK devices as they always struggle for it
[Android Software Development] panda00:
I've referred to your guide here: http://xdaforums.com/showpost.php?p=40110790&postcount=2

Hope you don't mind.
[Android Software Development] GuneetAtwal:
Yeah great go but when was s2+ launched :eek:
[Android Software Development] panda00:
Haha about a month and a half ago... Nothing really extra about it, except 4.1.2 and NFC and a few software extras.
[Android Software Development] GuneetAtwal:
OK OK actually S4 attracted all attension of users
[Android Software Development] WindroidApps:
I have Java jdk installed and cygwin still said i didnt.. help?
[Android Software Development] GuneetAtwal:
did'nt got you ? :rolleyes::eek:
[Android Software Development] panda00:
He means that he installed JDK, but still cygwin gives him an error and says that JDK is not installed.
[Android Software Development] GuneetAtwal:
You must have downloaded wrong file then as there is no chance for cygwin to reject!
[Android Software Development] leezhijiang:
I have something to add on ... Tips for beginners on apk modding.

I suggest you use APK manager where there is a guide for you so you don't need to use command. Use zip and unzip if you do image editing only. There will be an error if you decompile and recompile it again. If you wish to do both, pleasse do it one by one.
[Android Software Development] GuneetAtwal:
Never used apk manager so i can't tell about it and one will be used to commands if he plays a lot with apks:silly:
[Android Software Development] leezhijiang:
I always face problems with apk tool but I hardly face any problems in apk manager. Apk manager is more user friendly for those noobs and tuts
[Android Software Development] GuneetAtwal:
Maybe but as i don't have any experience with it so i will guide for apktool only but users are independent they can use any tool they wish to choose:)
[Android Software Development] ahmyani:
how to add hardware drivers into the rom costum.?
[Android Software Development] techfanatic9:
Donna try to make a ROM this summer...THANK YOU FOR THE GUIDE!
[Android Software Development] galaxys3lover:
How do you add mods , when you are building a rom ? .. how do i add the sound mods that youve provided to the working folder?
[Android Software Development] manuhackzzz:
can you update your links with latest versions of required tools ....
[Android Software Development] ahmyani:
why google always update the android system? Is it not enough with the performance of gingerbread, ice cream and jellybean?
[Android Software Development] Ayaorei:
Tis is really a great thing for new users lke me....thnx a lot.
[Android Software Development] GuneetAtwal:
Just post here when you get stuck at any step of building a ROM :)

Hope i can help you :)
[Android Software Development] SiSSiDroid:
Thank you so much for this guide ! This was so much help for me building my own custom ROM with NOS for the Asus Padfone 2 ! Im so stocked and just got it for other Padfone fans to try out ! Next job is to get our kernel in it too !
[Android Software Development] cat2115:
Hi, I would like to try to make my own ROM. I have US T-Mobile HTC One S, S-off and rooted. I would like to use stock ROM, remove bloatware, and add supersu. Hope that is the basic step for now. My question is: Which should I use to make a stock ROM (shipped ROM RUU.exe or OTA.zip). The RUU is ICS (~590Mb) which had Rom.zip inside. The latest is JB 4.1.1 OTA is a zip (~678Mb). If using RUU, how do i merge to get the latest JB 4.1.1?

OTA JB 4.1.1 zip contain below:

Meta-inf

Android​

metadata

otacert​

google​

andorid​

update-binary

updater-script​
[Android Software Development] :
I want to create a ROM for Micromax Superphone Canvas 2. I want to use lib files from lewa 4.1.2 and port them to work with Micromax 4.1.1 firmware. I did this step today. I port all lib files and make a zip of whole ROM. I flashed it through cmw recovery. After a reboot I got stuck at bootloader.

Help me how to do it?
[Android Software Development] GuneetAtwal:
You will face bootloop as both the base ROM and Lewa ROM have different resources and using some parts of 1 ROM = Confirmed Bootloop :p
[Android Software Development] :
But I ported MIUI files successfully once with exception to MIUI specific files.
[Android Software Development] GuneetAtwal:
I am not a porting expert for porting just refer other Guides nor i know what you actually wanna do so it is difficult to me to solve the problem:rolleyes:
[Android Software Development] cat2115:
Also, I type tar -c system/* >> sdcard/system.tar and terminal said
[Android Software Development] joshua101:
I have the same problem!!
[Android Software Development] joshua101:
Hey thanks for this guide but I just have one question, where is the META-INF folder on my phone I cant find it anywhere!!
[Android Software Development] Xphoid:
mate... superb thread for a noob enthusiast like me... wanna try to build my custom rom...

but i have one or two question...

i will use Kithcen over linux mint so i am passing the cygwin step... and have java already installed...

java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)

do i need to update to 7.x.x version? i guess not...

but the last and most crucial question is: which Kitchen version shall i use? the one for sgs3 (i9300) since mine is sgs4(i9500) both international variant??
[Android Software Development] GuneetAtwal:
Always use the latest one :)
[Android Software Development] Xphoid:
thanx mate... my kitchen is up and running on my linux mint... =) :good:

But i have two more questions :)

1) Getting the system folder;

I have downloaded the official "firmware.tar.md5" and renamed it to "firmware.tar" and extracted the "system.img" file from it... But can not extract anything from it ATM...

There is an app called "Sgs2Toext4" to change this samsung img file to ext4 but i guess it works successfully on windows, cause i executed it on linux it did not converted system.img file... or did anything...

So what shall i do now?

2) if i use custom kernel in my cooked ROM, shall i only get custom boot.img... (cause in my previous device i had also modules, no need now on samsung devices?)
[Android Software Development] GuneetAtwal:
If you want to extract .img files just use Unyaffs tool and about custom Kernel you need to use the required custom Modules otherwise your ROM may get problems

Hit thanks!
[Android Software Development] MacSeoin:
Nice guide, I guess many things are trial and error at the end of the day. I will give this a run through later although I'm pretty sure I done most of the things mentioned :o
[Android Software Development] Xphoid:
Nice to see you here mate :)
[Android Software Development] MacSeoin:
You too buddy. :thumbup:

Have you made anything yet? :confused:

I'm currently in testing and still deleting things, also a few annoying things like white backgrounds when they should be inverted but its getting there :D :cool:
[Android Software Development] Xphoid:
No not yet... Playing with it... :) but soon will do smthing...
[Android Software Development] MacSeoin:
I'm looking to release the weekend just need a name and a few nods from other devs.
[Android Software Development] GuneetAtwal:
I am well experienced in making ROMs and in theming also so feel free to ask me any questions related to android ;)
[Android Software Development] kanawati:
Great thread... Thank you... But I was wondering if I can take a language from 4.0.4 and add it to 4.1.1

To be more specific, I want to add Arabic to 4.1.1 and keep everything as the official rom.

Doable?
[Android Software Development] nathanjp:
Okay i changed the holo background in the framework. I made a flashable zip for framework-res.apk but its not working. It says the file has been flashed but i see no changes as the framework has not been replaced.

Would I have to add android.policy.jar to the cwm zip to make it work

Thanks in advance
[Android Software Development] GuneetAtwal:
Just decompile the frameowrk-res.apk of 4.0.4 and look for values-xx (where xx will be your language name) and copy it to 4.1.1

Try and tell me
[Android Software Development] nathanjp:
HI Guneet. Could you please show me how to set up a new device in dxdia's kitchen. I have the mmx a110 with mtk 6577 chipset
[Android Software Development] GuneetAtwal:
97 people cared to poll but just 55 thanks that is very bad :(

Is this is Guide not useful? :rolleyes:
[Android Software Development] Xphoid:
Mate, I have been playing in working folders and comparing stock vs custom roms...

here are some questions...:)

1) if I want a rooted ROM as far as I understand I need to put SuperSu. Apk to /system/apps

2)and also need to put su and busybox to /system/xbin... And in the meantime some devs put su also here, but some only puts busybox...

Am I right until now?

Now the tricky part that I don't understand..

Than there is a whole bunch of "symlink" codes in updater.script what is this... What are we symbolic link to what? Busybox [MENTION=5219692]/sys[/MENTION]tem/xbin to something?

Another thing... Before build shall I also put dummy boot.img like kitchen does for custom roms? Cause custom roms boot.img is located in file with modem.img

And last what should be the name of updater.script? Cause kitchen changes it while creating working folder from original update folder?

Hope my questions make some sense :)

Thanks in advance...
[Android Software Development] GuneetAtwal:
Just convert the update-script back to updater-script otherwise your ROM will not get flashed moreover follow thisguide for questions related to updater-script and if you get stuck anywhere just post here and i will be there and you should use the stock boot.img only
[Android Software Development] Xphoid:
Can't i use custom kernel? In other words boot.img from custom kernel?
[Android Software Development] GuneetAtwal:
Yes you can but condition is you should use its modules also
[Android Software Development] Xphoid:
but the matter is: i take it from odin flashable file... the whole and only boot.img and put it under a so called my roms name folder... as other devs do.... and will flash it by executing this in updater script...

assert(package_extract_file("H@N/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p9"),
delete("/tmp/boot.img"));

Edit: ok, sorted it out... in my case, all modules and everything is boot.img... so no need to bother about modules...

and since updater-script gives the command to flash kernel, everything is ok...
[Android Software Development] GuneetAtwal:
Great!
[Android Software Development] AssToast:
Newbie here, can you extract a working folder from stock samsung MD5 file?

Thanks for answering
[Android Software Development] panda00:
Yes! Download 7zip and open the.tar.md5 file with it and extract system.img from it and place the sywtem.img in the original_update folder in kitchen directory. The choose system.img from the menu after choosing Set up folder from ROM. Don't forget the META INF folder though, get it from another working ROM.
[Android Software Development] AssToast:
Does the META INF have to be an freshly flashed rom?
[Android Software Development] panda00:
Freshly flashed ROM? What do you mean exactly?

Take the META-INF folder from a stock-based ROM from your device's section.
[Android Software Development] AssToast:
Sorry dont really understand, so i just find any ROM that has a META-INF? As long its not cyanogen..etc?
[Android Software Development] GuneetAtwal:
Every ROM has a Meta-Inf folder dude just copy that folder directly into your ROM
[Android Software Development] Ahmad-6:
Hi guys

I just start learning : )

I want to know how can extract mods from the rom and put in my rom ? Where can I find it ? It's all mods in one file :confused:

I mean like ink in lock screen , 23 toggle , theme , 4 way reboot ......

Any one can help me

I'm just in the beginning of the road to learn from you guys :)
[Android Software Development] spc_hicks09:
All ROM mods are coded into the ROMs themselves. You'll have to learn how to do it yourself. They're not interchangeable.
[Android Software Development] Ahmad-6:
Ok

Can you tell from where I can start ?

The way it's difficult I need to learn how to code :(

But there are MODs available to my rom ? How can add to the rom ?

Just copy the zip file to int.d ?
[Android Software Development] GuneetAtwal:
Check the first page post #6
[Android Software Development] thatb1tch:
Can I use this method in Ubuntu without cygwin?

Sent from my SCH-R530C using Xparent Pink Tapatalk 2
[Android Software Development] TheMrcool212:
Yes, cygwin is just a utility for windows so they can run linux commands.
[Android Software Development] Xphoid:
Mate, thanks to you started to use my own rom :)

Had the courage to jump into this adventure initially by this thread!!!
[Android Software Development] GuneetAtwal:
Now you will get addicted to making ROMs and if you want any high end support from me in adding any type of MOD just post here + i will be filling up the last reserved post of the first page with some Cool MODs only for advanced users:cool:
[Android Software Development] Xphoid:
Oooohhh yeah... Now i got the basics... Even start to use apktool... Tough messed my linux mint permissons while putting apktool files to usr/local/bin... (BTW Would appreciate if any easier way to set up apktool since i setted up mint from the beginning)...

Now ı want deep down inside tricks for optimizing apks, ram usage, or whatever tweaks are there so i can choose for my 4+4 core exynos beast....
[Android Software Development] GuneetAtwal:
Except source compilation i don't use Linux i use Windows for all my tasks and in windows it is very easy to use apktool and Kitchen
[Android Software Development] Xphoid:
Did you try VTS? does the basic/logic is same with apktool?
[Android Software Development] GuneetAtwal:
Can you elaborate please:confused:
[Android Software Development] Xphoid:
talking about THIS.
[Android Software Development] GuneetAtwal:
Mate i don't know enough about it but the info i have it is similar to a hybrid of Apktool and Android Kitchen+Eclipse
[Android Software Development] Xphoid:
I have a completely different question, when shall i flash an update

With Full wipe (clean flash)?

W/O full wipe (dirty flash)?
[Android Software Development] GuneetAtwal:
full wipe if coming from another ROM

Dirty Flash if using same ROM
[Android Software Development] prasath kp:
kitchen help

How to update from ICS to jb ??

(i'm using hTC Desire SV)
[Android Software Development] Lal Ayer:
Awesome :eek:?♔✪✯✺
[Android Software Development] xEVILFREDx:
Found out the issue. x86 vs x64 bit.

--------------------------------------------------------------------------

Now I have a questions. Might be stupid. If I have a rom that I am using from someone work. there base is old. Can I update the base and avoid redoing the whole thing or do I need to work off that new base and start all over ???

Thanks.
[Android Software Development] husen4u:
I want to add tweaks or scripts in my rom how can I add it?

Like NOS , supercharge etc etc
[Android Software Development] GuneetAtwal:
Check first page there are so many links to Tweaks,MODs etc
[Android Software Development] husen4u:
Thanks ForReply... But How To Add Them?
[Android Software Development] husen4u:
Hi, I Did What You Said In This Guide. But Installation Is Finished In seconds Without Any Error?? Whats The Problem I Cannot Find. Please Help I Am Using Galaxy S Duos.