I wanna package a custom ROM I made, Are there any tools to do the job?
yngStigg said:
I wanna package a custom ROM I made, Are there any tools to do the job?
Click to expand...
Click to collapse
Hello, do this using Winrar
Related
hey can anybody help me ? i was trying to add 14 statusbar icon following kill3d tut but when i compile my systemui.apk i get this
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2569)
at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:2661)
at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2530)
at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java:119)
at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
at org.jf.smali.smaliP****r.smali_file(smaliP****r.java:430)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
then it stops there and apk is not compiled... im confused on what to do right now
U edited smali wrong.
Sent from my GT-S5360 using XDA
hell_lock said:
U edited smali wrong.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
thanks sir... im trying to create my 1st custom rom and somehow just made a deodexed stock rom in the end LOL,,, uhm just a question how do you flash a kernel along with the rom, i use dsixda and i just put bmunlock and boot,img in my working folder but when i flash my rom i get an error. i think it was raw write error boot.img installation aborted or something like that
thirdzcee said:
thanks sir... im trying to create my 1st custom rom and somehow just made a deodexed stock rom in the end LOL,,, uhm just a question how do you flash a kernel along with the rom, i use dsixda and i just put bmunlock and boot,img in my working folder but when i flash my rom i get an error. i think it was raw write error boot.img installation aborted or something like that
Click to expand...
Click to collapse
There was a solution by kurotsugi in hell_lock's tut....i don't remember it....
Edit - here it is http://forum.xda-developers.com/showthread.php?p=25251384
-----------------------------------------
Sent from my nandroid
thirdzcee said:
thanks sir... im trying to create my 1st custom rom and somehow just made a deodexed stock rom in the end LOL,,, uhm just a question how do you flash a kernel along with the rom, i use dsixda and i just put bmunlock and boot,img in my working folder but when i flash my rom i get an error. i think it was raw write error boot.img installation aborted or something like that
Click to expand...
Click to collapse
I can flash kernels without bmunlock... U jus need to replace the update binary in meta inf folder.
Sent from my GT-S5360 using XDA
anasdcool71 said:
There was a solution by kurotsugi in hell_lock's tut....i don't remember it....
Edit - here it is http://forum.xda-developers.com/showthread.php?p=25251384
-----------------------------------------
Sent from my nandroid
Click to expand...
Click to collapse
hell_lock said:
I can flash kernels without bmunlock... U jus need to replace the update binary in meta inf folder.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
thanks for your help guys... and i thought this rom cooking thing was gonna be a piece of cake... looks like i was wrong
MIUI ROM Porter
About the tool:
This tool is based on rishab.raj37's great guide. And makes porting MIUI ROMs in few simple clicks. This is made only for linux.
Click to expand...
Click to collapse
How to use it:
1. Download the tool zip from here.
2. Extract the zip and place the script.sh, build and up file and your ROM zips in the home directory (~/) (home/username).
3. Now open the terminal and type the following:
Code:
./port.sh
In some cases this might not work so try this:
Code:
bash ~/port.sh
4. Now follow the on-screen instructions and done. :good:
5. You can find your ported ROM in ~/PORT/ directory.
6. Enjoy and press THANKS.
Click to expand...
Click to collapse
Note:
If you get stuck on bootloop, try this tool, here.
Click to expand...
Click to collapse
Credits:
rishab.raj37- For such a great guide
ME
Click to expand...
Click to collapse
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
lsander said:
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
Click to expand...
Click to collapse
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
I have the same Q,but THX~
Sent from my EVO using xda premium
Can i use a base rom that works on my i9505 and a i9500 newer miui version to port ?
Hi.
Now i have here a S5 ROM.
But how can i extract it?
I cant find any tools.
Thank you.
Devil1978 said:
Hi.
Now i have here a S5 ROM.
But how can i extract it?
I cant find any tools.
Thank you.
Click to expand...
Click to collapse
with 7 zip
Linux reader
Dsixda kitchen
Any of the tools provided in the android section
And 7zip as mentioned above
Hi everyone i want to make my own rom for me. And want to use my spesific firmware. I'm using joeldroid's batch deodexer but i dont know how can i make flashable zip on Windows? Please help. Thx in advance.
abdyasar said:
Hi everyone i want to make my own rom for me. And want to use my spesific firmware. I'm using joeldroid's batch deodexer but i dont know how can i make flashable zip on Windows? Please help. Thx in advance.
Click to expand...
Click to collapse
this is a tutorial for deodexing and creating a flashable zip
http://forum.xda-developers.com/sprint-galaxy-s5/general/how-to-deodex-lollipop-rom-t3065596
I read whole topic but unfortunately there are too many errors. I need only "whole system zip template" thx..
Any help?
I'm on latest stock rom and i can't install xposed on it becoz firmware is odex.
Is any way to convert odex to deodex.
I can't wait to flash xposed on stock rom, plz help me...
Khem Chand said:
I'm on latest stock rom and i can't install xposed on it becoz firmware is odex.
Is any way to convert odex to deodex.
I can't wait to flash xposed on stock rom, plz help me...
Click to expand...
Click to collapse
Try using "LBD"
Search xda and you will find it.
RubbaBand said:
Try using "LBD"
Search xda and you will find it.
Click to expand...
Click to collapse
Plz explain sir...
Khem Chand said:
Plz explain sir...
Click to expand...
Click to collapse
There is a PC program called "LBD" you can find it by searching "LBD" on the XDA website.
If you dont have any knowledge don't try using it because you need to extract the firmware or copy apps from phone to PC and then make a flashable script to delete old apps and place the new ones.
I recommend you to use a custom rom.
RubbaBand said:
There is a PC program called "LBD" you can find it by searching "LBD" on the XDA website.
If you dont have any knowledge don't try using it because you need to extract the firmware or copy apps from phone to PC and then make a flashable script to delete old apps and place the new ones.
I recommend you to use a custom rom.
Click to expand...
Click to collapse
I think i will do it after some research.
Thank u sir...
Khem Chand said:
I think i will do it after some research.
Thank u sir...
Click to expand...
Click to collapse
I have successfully deodex Apps, Priv-apps, Framework folder.
So how can I make flashable zip using this 3 folder??
Khem Chand said:
I have successfully deodex Apps, Priv-apps, Framework folder.
So how can I make flashable zip using this 3 folder??
Click to expand...
Click to collapse
Download the zip that i created
Do as the following!
- Open the zip.
- Copy app, framework, priv-app folders that you deodexed to the system folder inside zip.
- Copy the zip to your phone.
- Flash it via custom recovery.
RubbaBand said:
Download the zip that i created
Do as the following!
- Open the zip.
- Copy app, framework, priv-app folders that you deodexed to the system folder inside zip.
- Copy the zip to your phone.
- Flash it via custom recovery.
Click to expand...
Click to collapse
Thank u sir...
Khem Chand said:
Thank u sir...
Click to expand...
Click to collapse
One more thing, i want pre-rooted rom and completely knox free so what can i do?
Khem Chand said:
One more thing, i want pre-rooted rom and completely knox free so what can i do?
Click to expand...
Click to collapse
Check my profile on how to root thread and you can remove knox by installing titanium backup and select all knox apps
RubbaBand said:
Check my profile on how to root thread and you can remove knox by installing titanium backup and select all knox apps
Click to expand...
Click to collapse
Thanks again for help me...
Khem Chand said:
Thank u sir...
Click to expand...
Click to collapse
I have Dropbox but it is not open via my browser, i don't know why.
Can u send me another link.
RubbaBand said:
Download the zip that i created
Do as the following!
- Open the zip.
- Copy app, framework, priv-app folders that you deodexed to the system folder inside zip.
- Copy the zip to your phone.
- Flash it via custom recovery.
Click to expand...
Click to collapse
Sir ur link is not working for me, plz send the zip from Google drive or Mega.
Isn't it easier to install one of the already available I9500 custom touchwhiz roms? They are already deodexed and knox free.
GDReaper said:
Isn't it easier to install one of the already available I9500 custom touchwhiz roms? They are already deodexed and knox free.
Click to expand...
Click to collapse
I want HOK2 rom, it's latest firmware for indian black edition i9500 and memory leak is fixed in this version but rooted HOK2 firmware is not available yet for download.
What memory leaks? There were no memory leaks on touchwhiz lollipop.
GDReaper said:
What memory leaks? There were no memory leaks on touchwhiz lollipop.
Click to expand...
Click to collapse
There are like 3 types of memory leaks or more,
TW have 2 of them.