[Q] Repack boot.img - Acer Iconia A500

working on my port for the galaxy 10.1 and get this error while repacking: No such file or directory at repack-bootimg.pl line 13
and using this in command: perl repack-bootimg.pl ../path to kernel ../path to ramdisk directory ../path to outfile
and using this perl script:https://www.dropbox.com/s/aqv22sdrhzd86f7/repack-bootimg.pl
any help would be greatly appreciated, BTW im using ubuntu 12.04
------i have tried to put in the path to kernal ect in the command line:/path to kernel
----or better yet, pm me and i will give ou the files if you can repack them and send them back to me

Use the kitchen.

civato said:
Use the kitchen.
Click to expand...
Click to collapse
can you link it thanks, big fan civato

jnktechstuff said:
can you link it thanks, big fan civato
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=633246

Related

edit init.rd

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.

Can anyone decompile The 4.0.4 system.img?

Can anyone please Decompile the System.img for Me?
I Have already tried it! But no luck for me!!!
I Want to make a flashable zip for this rom and for you guys But first i must have the system.img unpacked so that i can see the following folders:
App
Bin
etc
fonts
framwork
lib
media
tts
user
vendor
xbin
Thanks anyways!
Yes it's trivial (in linux anyhow). Use
Code:
simg2img system.img sys.img
mount sys.img /mnt
cd /mnt
zip -r /tmp/system.zip .
daveba said:
Yes it's trivial (in linux anyhow). Use
Code:
simg2img system.img sys.img
mount sys.img /mnt
cd /mnt
zip -r /tmp/system.zip .
Click to expand...
Click to collapse
Or just mount as loop using furius mount if on ubuntu.
Sent from my GT-P7510 using XDA Premium HD app
Yes i know it can all be done with linux/ubuntu but im running windows and dont want to install or dual boot that os!
safariking said:
Yes i know it can all be done with linux/ubuntu but im running windows and dont want to install or dual boot that os!
Click to expand...
Click to collapse
Ok, i will upload it for you and update this post, but i have a ridiculously slow upload speed so in about 1hr.
daveba said:
Ok, i will upload it for you and update this post, but i have a ridiculously slow upload speed so in about 1hr.
Click to expand...
Click to collapse
it's ok Thanks!
safariking said:
it's ok Thanks!
Click to expand...
Click to collapse
Ok here it is.
daveba said:
Ok here it is.
Click to expand...
Click to collapse
Many Thanks!
Sorry limited to 8 thanks per day LOlz
Does it mean that we can flash from CWM the update.zip in order to have the GT-P7510_XEU_P7510XXLPH_P7510XEULPH_P7510XXLPH ROM installed? if so THX!!!
ricciolo91 said:
Does it means that we can flash from CWM the update.zip inorder to have the GT-P7510_XEU_P7510XXLPH_P7510XEULPH_P7510XXLPH ROM installed? if so THX!!!
Click to expand...
Click to collapse
Im busy with it!
Im only missing the
Updater-script file
And the other file that's inside that folder (can't remember the name anymore lolz)
daveba said:
Ok here it is.
Click to expand...
Click to collapse
Could someone deodex it as well i would but ive lost my laptop charger! I was thinking about changing (read:fixing) those ugly system bar icons. What were samsung thinking! Its hideous!
Sent from my GT-P7510 using XDA Premium HD app
safariking said:
Im busy with it!
Im only missing the
Updater-script file
And the other file that's inside that folder (can't remember the name anymore lolz)
Click to expand...
Click to collapse
Just use the script (obviously not the binaries) from the tasks P7510 CWM thread and add the modem.bin to the script.
---------- Post added at 08:46 AM ---------- Previous post was at 08:45 AM ----------
scaryshark said:
Could someone deodex it as well i would but ive lost my laptop charger! I was thinking about changing (read:fixing) those ugly system bar icons. What were samsung thinking! Its hideous!
Sent from my GT-P7510 using XDA Premium HD app
Click to expand...
Click to collapse
Is there deodexing script for Linux ? I will happily do it as i have some spare time (work's dead during Ramadan)

(Q) what does this mean when i compile?

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

[TOOLKIT][LINUX]MIUI Rom Porter

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 ?

Help abut android kitchen

Hello everyone
i want to know that if we make a rom through
dsixda's android kitchen
will it work on galaxy y
because the main page says something about a yaffs file system
abhishekr700 said:
Hello everyone
i want to know that if we make a rom through
dsixda's android kitchen
will it work on galaxy y
because the main page says something about a yaffs file system
Click to expand...
Click to collapse
yes it will
all you need to do is change the update binary and updater script with one from our phone in the final rom zip kitchen generates after building
marcussmith2626 said:
yes it will
all you need to do is change the update binary and updater script with one from our phone in the final rom zip kitchen generates after building
Click to expand...
Click to collapse
But I used a stock rom of my device
Not sure if it had update script or updater script
Do I still need another updater script
abhishekr700 said:
But I used a stock rom of my device
Not sure if it had update script or updater script
Do I still need another updater script
Click to expand...
Click to collapse
heres mine unzip attachment for stock based roms - you just need to edit the wording and use the symlinks from the one kitchen generates
there are guides to using kitchen if you need further help
marcussmith2626 said:
heres mine unzip attachment for stock based roms - you just need to edit the wording and use the symlinks from the one kitchen generates
there are guides to using kitchen if you need further help
Click to expand...
Click to collapse
can u pplease give me detailed instructions
and tell me why i cant use the kitchen's update script
marcussmith2626 said:
heres mine unzip attachment for stock based roms - you just need to edit the wording and use the symlinks from the one kitchen generates
there are guides to using kitchen if you need further help
Click to expand...
Click to collapse
can u pplease give me detailed instructions
and tell me why i cant use the kitchen's update script
abhishekr700 said:
can u pplease give me detailed instructions
and tell me why i cant use the kitchen's update script
Click to expand...
Click to collapse
because you will most likely get status 0 error when you flash it in cwm or error 6 or 7
please search for any guides you require
read this for starters
http://forum.xda-developers.com/showthread.php?t=1801690
marcussmith2626 said:
because you will most likely get status 0 error when you flash it in cwm or error 6 or 7
please search for any guides you require
read this for starters
http://forum.xda-developers.com/showthread.php?t=1801690
Click to expand...
Click to collapse
no detail instruction about symlinks
abhishekr700 said:
no detail instruction about symlinks
Click to expand...
Click to collapse
no
detailed instructions about symlinks
abhishekr700 said:
no
detailed instructions about symlinks
Click to expand...
Click to collapse
kitchen creates the symlinks for you
you only have to edit the mount points that are above the symlinks
compare with other updater scripts for this phone
flash it and you will see if it needs to be changed

Categories

Resources