How do I edit a rom ? - Xiaomi Redmi Note 4 Questions & Answers

I mean, after all the delete/add what tool is used to sign/repack the zip ?
I understand that all the fuss is about the META-INF folder ?
Thanks

Related

[Q] Traduce ROM : Who can explain !!!! :)

Hello,
Who can explain step by step to traduce a ROM please ? (if you can in french it's better for me...)
I'd like to help french have a new ROM but I don't know what I must do ...
Perhaps a chef can create a .bat to modify a rom language ...???
Thanks in advance for your answer !
.... Reserved for the procedure.........( I hope....)
EVEALEX62 said:
Hello,
Who can explain step by step to traduce a ROM please ? (if you can in french it's better for me...)
I'd like to help french have a new ROM but I don't know what I must do ...
Perhaps a chef can create a .bat to modify a rom language ...???
Thanks in advance for your answer !
Click to expand...
Click to collapse
I do not use kitchen with XDA Dev, so bat file porting SYS, XIP.bin can not help.
I cook the ROM in your kitchen. Based on the OSB by Barin + Tgtools
feropont said:
I do not use kitchen with XDA Dev, so bat file porting SYS, XIP.bin can not help.
I cook the ROM in your kitchen. Based on the OSB by Barin + Tgtools
Click to expand...
Click to collapse
Thanks for your answer.
If I have understand I can't translate your rom ... ???
EVEALEX62 said:
Thanks for your answer.
If I have understand I can't translate your rom ... ???
Click to expand...
Click to collapse
My ROM is protected from editing and relocation dump. I'm sorry, i'm not completely do not speak french and have no opportunity to cook the french ROM
novembre5 has rom´s in french. download l3v5y-TG01-Kitchen-200330 from forum.
make a aditional folder named BASE. put the ROM in and rename as TG01WP_5005000176.tsw. then push 1. dump.bat. after few minutes you become a new folder named SYS. here are all files includet. one of this namend tg01_regedit or so. Make a new folder in root named OEM. cut out tg01_regedit and put in OEM folder. in this folder you find cab´s and a .rgu file. for edit the .rgu take notepad2 (search on google). in the tg01_regedit folder you can put your prefered cab. the name of cabs one word without spaces. when you look in .rgu you can on buttom see, how format for writing a new cab. e.g. "cab47"="\\Windows\\commander.cab" bevore save the editing .rgu make this is not write protected. after save. push 2. build.bat. fter few minutes you become new.tsw ROM file. rename as TG01WP_00.tsw an flash. this is for the first lection
sorry for my english, i hoppe you can reproduce
feropont said:
My ROM is protected from editing and relocation dump. I'm sorry, i'm not completely do not speak french and have no opportunity to cook the french ROM
Click to expand...
Click to collapse
come on, why protected you ROM?
mirolg said:
come on, why protected you ROM?
Click to expand...
Click to collapse
I do not see the need, clog the ROM debris in the form of piles of excess dsm and rgu files, as sections relocation... so that this is not the protection of copyright...
feropont said:
I do not see the need, clog the ROM debris in the form of piles of excess dsm and rgu files, as sections relocation... so that this is not the protection of copyright...
Click to expand...
Click to collapse
is ok. you ROM is nice and a very good work, bro. just keep it
Didnt quite get the explanation above
To translate one WM Rom can we use one official Toshiba update with one of these
0416/Windows Mobile 6 Standard Images (PTB).msi (emulator images from MS)
with the appropriate OS Build version?
Thank you
(im still trying to download the toshiba update, the link i posted is very slow and breaks after 5min.)
feropont said:
My ROM is protected from editing and relocation dump. I'm sorry, i'm not completely do not speak french and have no opportunity to cook the french ROM
Click to expand...
Click to collapse
Ok thanks my friend to do what you can !
It's too bad I can not start with your ROM because I think it's the better !
mirolg said:
novembre5 has rom´s in french. download l3v5y-TG01-Kitchen-200330 from forum.
make a aditional folder named BASE. put the ROM in and rename as TG01WP_5005000176.tsw. then push 1. dump.bat. after few minutes you become a new folder named SYS. here are all files includet. one of this namend tg01_regedit or so. Make a new folder in root named OEM. cut out tg01_regedit and put in OEM folder. in this folder you find cab´s and a .rgu file. for edit the .rgu take notepad2 (search on google). in the tg01_regedit folder you can put your prefered cab. the name of cabs one word without spaces. when you look in .rgu you can on buttom see, how format for writing a new cab. e.g. "cab47"="\\Windows\\commander.cab" bevore save the editing .rgu make this is not write protected. after save. push 2. build.bat. fter few minutes you become new.tsw ROM file. rename as TG01WP_00.tsw an flash. this is for the first lection
sorry for my english, i hoppe you can reproduce
Click to expand...
Click to collapse
Very good, I test that on friday because I can't do at this time.
Thanks a lot for your answer !
Kalas_22 said:
Didnt quite get the explanation above
To translate one WM Rom can we use one official Toshiba update with one of these
0416/Windows Mobile 6 Standard Images (PTB).msi (emulator images from MS)
with the appropriate OS Build version?
Thank you
(im still trying to download the toshiba update, the link i posted is very slow and breaks after 5min.)
Click to expand...
Click to collapse
Thanks for your answer !
I have upload Windows Mobile 6 Standard Images (Fra).msi yesterday but I don't know what I must doing now ....
mirolg said:
novembre5 has rom´s in french. download l3v5y-TG01-Kitchen-200330 from forum.
make a aditional folder named BASE. put the ROM in and rename as TG01WP_5005000176.tsw. then push 1. dump.bat. after few minutes you become a new folder named SYS
Click to expand...
Click to collapse
Ok for this with release 4 clean Fr to Novembre5!
mirolg said:
... here are all files includet. one of this namend tg01_regedit or so. Make a new folder in root named OEM. cut out tg01_regedit and put in OEM folder. in this folder you find cab´s and a .rgu file. for edit the .rgu take notepad2 (search on google). in the tg01_regedit folder you can put your prefered cab. the name of cabs one word without spaces. when you look in .rgu you can on buttom see, how format for writing a new cab. e.g. "cab47"="\\Windows\\commander.cab" bevore save the editing .rgu make this is not write protected. after save. push 2. build.bat. fter few minutes you become new.tsw ROM file. rename as TG01WP_00.tsw an flash. this is for the first lection
sorry for my english, i hoppe you can reproduce
Click to expand...
Click to collapse
I don't find "TG01_regedit" .... and the only .rgu are "\ROM\XIP\boot.rgu" or in folder in "\SYS\....".
For the OEM folder I have create it and it's empty at this time !
Can you help me please !
EVEALEX62 said:
Ok for this with release 4 clean Fr to Novembre5!
I don't find "TG01_regedit" .... and the only .rgu are "\ROM\XIP\boot.rgu" or in folder in "\SYS\....".
For the OEM folder I have create it and it's empty at this time !
Can you help me please !
Click to expand...
Click to collapse
i don´t know if this also the name in french rom. this is a FOLDER in SYS folder.
open SYS folder and search for ffffffff-ffff-ffff-ffff-ffffffffffff.rgu, then look hers path. or search to *.cab, then you have the right folder.
but selfROMcooking is a big risk- i say only one= shortPinMethod
mirolg said:
i don´t know if this also the name in french rom. this is a FOLDER in SYS folder.
open SYS folder and search for ffffffff-ffff-ffff-ffff-ffffffffffff.rgu, then look hers path. or search to *.cab, then you have the right folder.
Click to expand...
Click to collapse
I have search for "ffff........rgu" and "*.cab" and nothing find ....
mirolg said:
but selfROMcooking is a big risk- i say only one= shortPinMethod
Click to expand...
Click to collapse
Yes I know, I have test one time and my TG have block on "TOSHIBA" at start... Fortunately "shortPinMethod" help me ....
EVEALEX62 said:
I have search for "ffff........rgu" and "*.cab" and nothing find ....
Yes I know, I have test one time and my TG have block on "TOSHIBA" at start... Fortunately "shortPinMethod" help me ....
Click to expand...
Click to collapse
bevore all- make your windowssytem possible to see system- and hiddenfiles
o.k. then dump my even rom. you find in SYS a folder tg01_edit or tg01_regedit. then edit what you like. after edit , copy tg01_edit to OEM and build my rom or copy this in the french rom.
mirolg said:
bevore all- make your windowssytem possible to see system- and hiddenfiles .
Click to expand...
Click to collapse
Yes I already had done that... but nothing ..
mirolg said:
o.k. then dump my even rom. you find in SYS a folder tg01_edit or tg01_regedit. then edit what you like. after edit , copy tg01_edit to OEM and build my rom or copy this in the french rom.
Click to expand...
Click to collapse
Do you means I upload your last ROM and DUMP? After edit "TG01-edit" and I will copy it in the OEM folder on Novembre5's French ROM I have DUMP ?
Do you means I upload your last ROM and DUMP? After edit "TG01-edit" and I will copy it in the OEM folder on Novembre5's French ROM I have DUMP ?[/QUOTE]
yes. dump my ROM, then you have the tg01_edit from my ROM/SYS folder.
Edit the ffffffff-ffff-ffff-ffff-ffffffffffff.rgu from tg01_edit folder.
for you interesst is the end of the ffffffff-ffff-ffff-ffff-ffffffffffff.rgu look like this
[HKEY_LOCAL_MACHINE\Software\TOSHIBA\AutoCabInstall]
"cab43"="\\Windows\\SystemFont.cab"
"cab44"="\\Windows\\taskmanager.cab"
"cab45"="\\Windows\\commander.cab"
"cab46"="\\Windows\\Arnookie.cab"
"cab47"="\\Windows\\csmi.cab"
"cab48"="\\Windows\\DGPanther.cab"
"cab49"="\\Windows\\DN.cab"
"cab50"="\\Windows\\action.cab"
[HKEY_LOCAL_MACHINE\Software\TOSHIBA\AutoCabInstall]
"Reboot"=dword:15
all this cab are in tg01_edit folder. if you one cab not will
delete from folder and delete the entry from .rgu or put your cab to folder
e.g. Opera9_7.cab and make the entry
"cab51"="\\Windows\Opera9_7.cab"
then the tg01_edit folder copy to (you made) OEM folder on my or novembre french rom.
the kitchen with folder look like this:
BASE (put here a rom renamed as TG01WP_5005000176.tsw)
OEM (you made fhis folder) put here here tg01_edit folder
SYS (here files after dump)
TEMP
mirolg said:
yes. dump my ROM, then you have the tg01_edit from my ROM/SYS folder.
Click to expand...
Click to collapse
Ok I'll do that with your eng release with sense, thanks a lot for you interest !!! It's a very good help for me !
Mirolg can you say me what is this cab ? and what utilities please ?
SystemFont.cab
DGPanther.cab
action.cab
AudioManager.cab
changescreen_inst.cab
OemDiamAudioMgr.cab
iBattery051.cab
BluePowerInstall.cab
Version3.cab
light.cab
DN.cab
livvenTheme.cab
SystemFont.cab Font, can delete
DGPanther.cab Thema, can delete
action.cab ActionScreen, can delete
AudioManager.cab SenseAudioFix
changescreen_inst.cab ScreenOrientation, can delete
OemDiamAudioMgr.cab SenseAudioFix
iBattery051.cab batteryline, can delate
BluePowerInstall.cab BT on/off on power, can delete
Version3.cab my regTweak
light.cab my regTweak
DN.cab DarkNinja Tascbar, can delete
livvenTheme.cab theme, can delete

[Q] making the theme for the stock ROM

Everyone please try to remember I'm making the theme for the stock ROM
Remember what? Do you need help?
LzVebz said:
Remember what? Do you need help?
Click to expand...
Click to collapse
I want to create themes for the ROM with the stock base .But I do not know how
sorry for my english
1) Download stock 2.3 system dump
2) Extract "framework-res.apk" located /system/framework & "SemcGenericUxpRes.apk"
3) Open .apk files with WinRAR or any other software
4) Navigate to "res/" and copy extract whole "drawable-hdpi" folder
5) Here you will get thousands of PNGs you can edit, the only PNGs you can't edit is pictures with ".9" in their name
Feel free to ask any questions if you're confused sry for late reply

[Q] Update Zip!!!

I want to create a flashable .zip file which will update the ROM if I want to modify some contents...........
Plz somebody could help????????
Thanks in advance:good:
Plz if anybody could help?????????
Can you elaborate your question?
Take another rom cwm zip as a base
Change the contents using 7zip
Then change the updater zip carefully according to changes u made using notepad ++
This was in short
neectron said:
Can you elaborate your question?
Click to expand...
Click to collapse
I want to make a CWM flash able zip file to fix bugs or modify apps etc to my ROM......... How to go about it????????
@[email protected] said:
I want to make a CWM flash able zip file to fix bugs or modify apps etc to my ROM......... How to go about it????????
Click to expand...
Click to collapse
Rather than rom zip,take a CWM zip of mods ,place whatever you want in respective folders.

[Q] Rom Development Issues

Hi.
I am trying to build custom rom for Galaxy Note(N7000)
I am trying to build a custom rom with base as stock rom(XXLT5)
I went through some tutorials on XDA, but they were only some basic stuff.
I had lot of questions in mind,and after searching for hours didn't get some help,so posted so maybe some one can help.
I flashed my own rom with some build.prop tweaks and changed wallpaper in framework-res.apk.
But it flashed with no problems.
1] I had lost root but I used Philz kernel(copied all stuff into respective folder)
2]I don't get about the META-INF Folder because I tried to put some s4 mods such as sec.settings.apk,s4 status bar,they also had META-INF but I didn't know what to do with it. I copied the apk of sec.settings into preload /syslink/system/app.
3]When the rom started default-wallpaper didn't changed and any mods didn't applied,so don't know what to do.
Can please any-one say what should I do,and where to put META_INF folder,because all apks aur mods has META_INF folder and will replace every time I put a mod in it.
Please Help Guys.....
please explain it more, didn't get you, what you actually want to do ?
TroubleShooter™ said:
please explain it more, didn't get you, what you actually want to do ?
Click to expand...
Click to collapse
What is use of META_INF, if want to replace some system apk,there is a meta inf folder in that too, so If I extract it in rom,so it will replace the META_INF folder in the rom.
Azharkanorwala said:
What is use of META_INF, if want to replace some system apk,there is a meta inf folder in that too, so If I extract it in rom,so it will replace the META_INF folder in the rom.
Click to expand...
Click to collapse
META-INF of .apk or zip ?
TroubleShooter™ said:
META-INF of .apk or zip ?
Click to expand...
Click to collapse
Both.

Meta-Inf folder needed for SM-J320F!

Hi I want to make a custom rom for J320F but there is no rom to get meta-inf folder. Thanks for helping!

Categories

Resources