first,sorry for my bad english!
i use the tool "bootimg" to unpack the oxygen's boot.img without doing anything. then i repack the ramdisk and kernel !get the new boot.img!
i found out that file size is not the same! but the new boot.img work fine!
original:5.28M
the new: 3.57M
anyone can explain this ths !
sorry for my english again!
I guess youre maybe using another compression algorithm
compression algorithm ?i don't know! but i am do it at windows!TKS!
w.cloud said:
compression algorithm ?i don't know! but i am do it at windows!TKS!
Click to expand...
Click to collapse
Well that was a guess but have you tried the repacked kernel?
no.i didnt !thk 4 ur reply.maybe is padding size!i am in windows dzo in linux!!
w.cloud said:
no.i didnt !thk 4 ur reply.maybe is padding size!i am in windows dzo in linux!!
Click to expand...
Click to collapse
You can always install get Ubuntu easy from Windows
http://www.ubuntu.com/download/ubuntu/windows-installer
Related
Russian WM6 Asus P526
Problem:
After processing default.hv (Use rgucomp.exe & cereg400.dll) Russian letters vanish in file boot.rgu
An example:
Should be so:
[HKEY_CLASSES_ROOT\{030D681B-1DFC-4bd0-A72A-A9B3CCCDA653}]
"DisplayName"="Камера"
And it turns out so:
[HKEY_CLASSES_ROOT\{030D681B-1DFC-4bd0-A72A-A9B3CCCDA653}]
"DisplayName"="
There is an idea?
I have solved the given problem. Here the utility working with Cirilic
Here a source:
http://forum.wce.by/viewtopic.php?t=6023&postdays=0&postorder=asc&&start=165
many thanks to IgorA100 - it works with other slavic languages as well (Slovak/Czech) although we don't use Cyrilic, but characters like ť č ž řwere converted incorrectly - same prob as above. Problem solved using above version of rgucomp. Thanks
IgorA100 said:
I have solved the given problem. Here the utility working with Cirilic
Here a source:
http://forum.wce.by/viewtopic.php?t=6023&postdays=0&postorder=asc&&start=165
Click to expand...
Click to collapse
IgorA100, I 'm also own the P526. Did you success customize the Russian ROM? I'm trying to translate it's rom to English. Once I created the boot.rgu using rgucomp.exe, the boot.rgu file is bigger than other rom I've seen. The big problem is I'm not sure the device will work after flashing.
it's ok i think - its because of unicode.
phsnake, How about your ROM?
phsnake said:
it's ok i think - its because of unicode.
Click to expand...
Click to collapse
Thanks phsnake, Did you success customize P526 ROM? using your new boot.rgu?
I only have got the Hongkong latest GallaxyII ROM file and trying to translate to English with the resources and knowledge in this web. After the translation, how do I know the ROM is usable? (without flashing to device)
Thanks in advance.
somphon_r
How you are flashing P526? I for this purpose did not meet utilities, except for pdowrite.
I only extract ROM and convert to dump.. I have addresses of sections of original flash P526.pim. It is necessary?
It can be necessary to organize a separate thread for flashing P526?
i have htc-artemis & htc-universal. but the hv & rgu file format are same.
IgorA100 said:
somphon_r
How you are flashing P526? I for this purpose did not meet utilities, except for pdowrite.
I only extract ROM and convert to dump.. I have addresses of sections of original flash P526.pim. It is necessary?
It can be necessary to organize a separate thread for flashing P526?
Click to expand...
Click to collapse
I'm not success flashing P526 yet, and still finding solutions. IgorA100, did you 've tried flashing through Boot Loader using USBLoader?
Thanks.
somphon_r said:
IgorA100, did you 've tried flashing through Boot Loader using USBLoader?
Thanks.
Click to expand...
Click to collapse
USBLoader flashing only for CPU Intel PXA27x
IgorA100 said:
USBLoader flashing only for CPU Intel PXA27x
Click to expand...
Click to collapse
have to find another way. Thanks IgorA100.
I have the same problem with Chinese language. How could be fixed this problem? Or, where I can find sources of rgucomp?
Hi, i wanna edit my init.rd (tytungs kernel) but how i can edit/write on cpio file.
OS: Ubuntu 10.10
sorry if its the false SUB.
Underground Sound said:
Hi, i wanna edit my init.rd (tytungs kernel) but how i can edit/write on cpio file.
OS: Ubuntu 10.10
sorry if its the false SUB.
Click to expand...
Click to collapse
Which file? Any file is best edited with notepad ++ for windows and gedit on Ubuntu
Sent from my HTC HD2 using Tapatalk
elesbb said:
Which file? Any file is best edited with notepad ++ for windows and gedit on Ubuntu
Sent from my HTC HD2 using Tapatalk
Click to expand...
Click to collapse
i wanna edit the kernel from tytung (or so) but cant edit .cpio files :/ in the init.rd is a second init.rd file the second one is .cpio format and cant edit with any program.
Underground Sound said:
i wanna edit the kernel from tytung (or so) but cant edit .cpio files :/ in the init.rd is a second init.rd file the second one is .cpio format and cant edit with any program.
Click to expand...
Click to collapse
Well, kernel's cant be editted, they are built from source code which is C language. What exactly are you trying to accomplish? What is the expected outcome?
elesbb said:
Well, kernel's cant be editted, they are built from source code which is C language. What exactly are you trying to accomplish? What is the expected outcome?
Click to expand...
Click to collapse
ah, ok. i wanna edit dhcpcd et0 to dhcpcd but cant save it cuz no support to cpio.
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 ?
Hello Folkz,
i'm already reading in this community for months. Now i want to contribute.
I address my concern mainly to @STEVE_MARS and his Mates from TeamSpain!
How do you add Multilanguage Support to your Custom Roms. Is it via a App Like Morelocale2 or is there any other tool which helps easily translate the strings?
Please reply soon i want to contribute something
Thx in advance.
Anti
Hi,
You must insert strings in framework wih Jbart or similar tool, better under Linux. Decompile apk, insert and compile again. And same with systemUI and settings. And after that, check every menu if works properly.
Regards
STEVE_MARS said:
Hi,
You must insert strings in framework wih Jbart or similar tool, better under Linux. Decompile apk, insert and compile again. And same with systemUI and settings. And after that, check every menu if works properly.
Regards
Click to expand...
Click to collapse
Thanks man. I work with ARCH Linux. So that shouldn't be the Prob
So jBart ist the prefered tool?
Antisound said:
Thanks man. I work with ARCH Linux. So that shouldn't be the Prob
So jBart ist the prefered tool?
Click to expand...
Click to collapse
There is several tools, jBart it´s good but there is others. Try them and choose
STEVE_MARS said:
There is several tools, jBart it´s good but there is others. Try them and choose
Click to expand...
Click to collapse
Are there any "finished" translations ready. Because you Support german for your Custom Rom. Do don't think you are nativ german?
Antisound said:
Are there any "finished" translations ready. Because you Support german for your Custom Rom. Do don't think you are nativ german?
Click to expand...
Click to collapse
There is multilanguage "packages", but in Setting options you must translate manually every menu. This is the reason that we have a OTA for spanish advanced translation.
STEVE_MARS said:
There is multilanguage "packages", but in Setting options you must translate manually every menu. This is the reason that we have a OTA for spanish advanced translation.
Click to expand...
Click to collapse
Thanks dude for your answers. Just one more
You mentioned that i have to decompile the apks. Where i are the apks stored? i assume in the System.img and boot.img or?
Antisound said:
Thanks dude for your answers. Just one more
You mentioned that i have to decompile the apks. Where i are the apks stored? i assume in the System.img and boot.img or?
Click to expand...
Click to collapse
Sure, you must decompiled first system.new.dat and after system.img.
Boot.img it isn´t neccesary.
flash convart rom
Antisound said:
Hello Folkz,
i'm already reading in this community for months. Now i want to contribute.
I address my concern mainly to @STEVE_MARS and his Mates from TeamSpain!
How do you add Multilanguage Support to your Custom Roms. Is it via a App Like Morelocale2 or is there any other tool which helps easily translate the strings?
Please reply soon i want to contribute something
Thx in advance.
Anti
Click to expand...
Click to collapse
Falsah convart Rom done multi add language