[TOOLS][HOW-TO] One Click Scripts to Pack/Unpack boot.img - Samsung Galaxy R i9103

This is for all ROM cooks, Kernel devs or anyone who wants to make quick changes to the Kernel or ramdisk without wasting much time!
I made or rather put together some scripts for-
All this happens in just one click
Unpack boot.img
Repack boot.img
Make CWM flashable signed zip
Its very easy to use. Download the tools (At the end of the post)
Extract them..
In the root of the extracted files place the boot.img you wanna mod.
Then,
To unpack the Kernel-
Code:
./extract.sh
Your zImage will be in kernel/zImage
Your ramdisk will be in ramdisk folder (unpacked)
Make the necessary changes.. whatever you wish.
Then to pack up everything and get output as boot.img , run.
Code:
./pack_boot.sh
Your repacked boot.img will be in out/boot.img
OR.
If you want a CWM Flashable zip,
Code:
./pack_cwm.sh
The flashable zip will be out/GT-I9103_KERNEL.zip
Easy eh? :laugh:
DOWNLOAD
On a side note,
What in contains:
My scripts
mkbootimg, unpackbootimg and mkbootfs binaries (Compiled from latest CM Source)
signapk.jar and necessary files (To Sign Zip file)

Thanx a bunch for this. I have boot image of a stock gb kernel and want to just add voodoo sound and increase the max brightness level a bit. Is that possible using this tool?
Thanx!!
Tapatalked from my Galaxy R GT-I9103 using XDA Premium App
I don't go to sleep until I utilize my quota of 8 thanx a day!

The-Droidster said:
Thanx a bunch for this. I have boot image of a stock gb kernel and want to just add voodoo sound and increase the max brightness level a bit. Is that possible using this tool?
Thanx!!
Tapatalked from my Galaxy R GT-I9103 using XDA Premium App
I don't go to sleep until I utilize my quota of 8 thanx a day!
Click to expand...
Click to collapse
Then make changes in Kernel source,
Compile , simply replace the compiled zImage with the one in kernel/zImage .. and run ./pack_cwm.sh

Adi_Pat said:
Then make changes in Kernel source,
Compile , simply replace the compiled zImage with the one in kernel/zImage .. and run ./pack_cwm.sh
Click to expand...
Click to collapse
code is..?

sagitta5499 said:
code is..?
Click to expand...
Click to collapse
Make changes in source code.

Man really a dev. Gr8 tool

yajnab said:
Man really a dev. Gr8 tool
Click to expand...
Click to collapse
You can use it for your fit too. Simply change base address. Or may even work as it is. Password for zip is galaxyrrocks
Sent from my GT-I9003 using xda premium

Adi_Pat said:
You can use it for your fit too. Simply change base address. Or may even work as it is. Password for zip is galaxyrrocks
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
password which

Serp87 said:
password which
Click to expand...
Click to collapse
password =
Code:
galaxyrrocks
Cheers !

Would this work on galaxy note n7000 stock kernels if zImage were renamed to boot.img?
Sent from my GT-N7000 using xda app-developers app

shoey63 said:
Would this work on galaxy note n7000 stock kernels if zImage were renamed to boot.img?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
For N7000 you can use these tools since its a zImage Kernel and not kernel+ramdisk like GalaxyR.
https://github.com/xiaolu/galaxys2_kernel_repack

Thanks for the link :thumbup:
Sent from my GT-N7000 using xda app-developers app

Can you post a download that doesnt have locked files. Password doesnt work..

MikeC84 said:
Can you post a download that doesnt have locked files. Password doesnt work..
Click to expand...
Click to collapse
Attached!

Does this work with Micromax A110 mtk6570 chips

shubhdeep99 said:
Does this work with Micromax A110 mtk6570 chips
Click to expand...
Click to collapse
NO buddy it wont.

It works if it uses the same boot.img format (I mean there are e.g. Sony devices that has some different kernel image structure.).
Sent from my GT-I9103

Adam77Root said:
It works if it uses the same boot.img format (I mean there are e.g. Sony devices that has some different kernel image structure.).
Sent from my GT-I9103
Click to expand...
Click to collapse
My friend has it buddy bt its like samsung grand splash in water. Also about the kernel, if u said then i will test it in my friend's mobile. Will it brick it if wont load that kernel??
Sent from my GT-I9103 using Tapatalk HD

Buddy, just check if you can unpack and repack. No need to load it on to the device. Faulty kernel can really brick the device.

The-Droidster said:
Buddy, just check if you can unpack and repack. No need to load it on to the device. Faulty kernel can really brick the device.
Click to expand...
Click to collapse
can u explain how to unpack or repack it..?? a n00b question from RN..??

Related

[MOD] Add CRT animation to your ROM

1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
Alternately you can try flashing this template from CWM. CWM-flash-template.zip
Source: [HOW TO] CRT-Effect only
Directory \res\values doesn't exist either in stock (odexed) or infected (dedexed) version of application (framework-res.apk).
EDIT: SOLVED !
yes its available....
did u trie to decompile through apk manager...?
dh33r4j said:
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
Alternately you can try flashing this template from CWM. CWM-flash-template.zip
Source: [HOW TO] CRT-Effect only
Click to expand...
Click to collapse
Can u give me apk manager link
Sent from my GT-I9103 using xda premium
njoy my friend...
here is the link....http://www.mediafire.com/?h2ivnnzmm2t
akshatsourav said:
yes its available....
did u trie to decompile through apk manager...?
Click to expand...
Click to collapse
Nope, opened .apk package in a traditional way. My bad, sorry.
akshatsourav said:
yes its available....
did u trie to decompile through apk manager...?
Click to expand...
Click to collapse
Have u prepared crt animation for
XWLA4
Sent from my GT-I9103 using xda premium
m.kochan10 said:
Nope, opened .apk package in a traditional way. My bad, sorry.
Click to expand...
Click to collapse
If u completed crt animation for XWLA4 ........
Please give me that file .......
Sent from my GT-I9103 using xda premium
Tutorial works with every FW I guess, I did it on infected based on zskk5. But it's little tricky.
Sent from my GT-I9103 using XDA App
m.kochan10 said:
Tutorial works with every FW I guess, I did it on infected based on zskk5. But it's little tricky.
Sent from my GT-I9103 using XDA App
Click to expand...
Click to collapse
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
raghavafitt said:
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
"give me that file" ?
Tutorial works with every FW but not every framework file works with every FW.
Don't you understand that it is individual process, you have to decompile and re-compile YOUR OWN framework-res.apk (regardless of what FW you run on), with mine thousands times modified framework-res.apk you most possibly won't be able to boot the system.
raghavafitt said:
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
raghavafitt, with all due respect, I would like to give you a little suggestion.
Do not give orders to fellow members. If would want some help from someone, be polite.
Treat all members with respect, no matter what rank s/he holds. Moreover, m.kochan10 is a very active member in our forums and has been very helpful.
Even if you didn't mean to give an order, make sure that you ask in a polite sounding way.
It's all a simple rule: Give respect, take respect.
dh33r4j said:
raghavafitt, with all due respect, I would like to give you a little suggestion.
Do not give orders to fellow members. If would want some help from someone, be polite.
Treat all members with respect, no matter what rank s/he holds. Moreover, m.kochan10 is a very active member in our forums and has been very helpful.
Even if you didn't mean to give an order, make sure that you ask in a polite sounding way.
It's all a simple rule: Give respect, take respect.
Click to expand...
Click to collapse
I am giving FULL respect to all in this form
Sent from my GT-I9103 using xda premium
m.kochan10 said:
"give me that file" ?
Tutorial works with every FW but not every framework file works with every FW.
Don't you understand that it is individual process, you have to decompile and re-compile YOUR OWN framework-res.apk (regardless of what FW you run on), with mine thousands times modified framework-res.apk you most possibly won't be able to boot the system.
Click to expand...
Click to collapse
Thanq kochan I thought that u didn't modified ur framework-res.apk somany time.....that's y I asked .....anyways thanks for ur info
Sent from my GT-I9103 using xda premium
Hmmm that's strange. I managed to re-compile and apply my framework-res.apk from infected rom (which is based on KK5) with no problem at all, but I cannot make it on stock KK5. After replacing the file I get bunch of FCs that paralyzes work totally.
i have one question to d33raj
i am using apktool 5
i copy framework-res.apk form my stock fw from root ex.
i decompile framework-res.apk and edit battery icons and some battery related xml files
when EDITING completed i compaile it again
but the ain thing is new apk file is nearly 5 mb and old apk file 8mb
i use new apk file but its not working for me (booting problem)
so where is the problem ?
plz help me
I really wish I could help you. But I'm not into developing. I did this using the tutorial that I specified as source. Almost all the Samsung Android devices work the same way. You could post your queries in pages of Samsung devices which has plenty of Dev support. Galaxy S and Galaxy S II are the most recommended places.
m.kochan10 said:
Hmmm that's strange. I managed to re-compile and apply my framework-res.apk from infected rom (which is based on KK5) with no problem at all, but I cannot make it on stock KK5. After replacing the file I get bunch of FCs that paralyzes work totally.
Click to expand...
Click to collapse
what have u done, did u unrar the apk or just edited the file with 7 zip or some other soft...
if u unrared it then u hav to sign it also..
I did the same for two files, decompiled, edited, recompiled (and signed). It worked like a charm on deodexed version but it caused some FC-s on odexed one.
m.kochan10 said:
I did the same for two files, decompiled, edited, recompiled (and signed). It worked like a charm on deodexed version but it caused some FC-s on odexed one.
Click to expand...
Click to collapse
no need to sign dear .....
u have to copy resources.arsc from the moded version and paste it in original one...
(use 7 zip,just drag n drop).
it should work fine...

[Q] Question for the deveoplers : how can I cook a new ROM ?

lol
Funny title
--------------------------------
Can I do the following for my Nexus S I9020T ? :
1.Let's assume I have the stock ICS ROM for I9020T , the 160mb zip file "ZD3PyN0t.zip" on my computer ..........
2.Unzip it using WINRAR
3.Make some modifications on the folder , like boot animation , some ringtones , delete camera focus sound , etc ....
4.After finnishing that , Zip it again using WINRAR (using the same setting of compression and what not) ...
5.Copy it to my SD card
6.Using CWM to flash it from CWM recovery ...
7.Be done with it ...
- Is that perfectly possible ? does the "ROM build" needs anything extra ?
- I see the stock official ROM in the properties , in comments "signed by SignApk" .. is that something to worry about ?
Thanks
up for an answer
Sure you could do that... but building from source is where it's at
Sent from my Nexus S using XDA App
So the resultant "ROM" will work no problem ?
Yeah it will work lol... but build from source!
Sent from my Nexus S using XDA App
mathkid95 said:
Yeah it will work lol... but build from source!
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thanks for the reply , but just forgive my noobness ...
What is a "source" ? do you mean the stock google ICS ROM zip file ? the 160mb file ?
Thanks
mahanddeem said:
Thanks for the reply , but just forgive my noobness ...
What is a "source" ? do you mean the stock google ICS ROM zip file ? the 160mb file ?
Thanks
Click to expand...
Click to collapse
Source is for compiling . Meaning you compile from the source, the source is where all the stuff are kept. Something like that.
Sent from my Nexus S using Tapatalk
shockem said:
Source is for compiling . Meaning you compile from the source, the source is where all the stuff are kept. Something like that.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
That makes it more difficult ..
Can I change the bootanimation file in a stock ICS ROM then zip it and flash it back to my phone using CWM ? I'm not compiling anything here I guess

[DEV][TOOL] Kernel Tool Version 3 [22-5-2013]

Hey everyone !
I just made a simple tool for unpacking and packing kernels for Linux using bash scripts ..
Maybe helpful for start up devs and others alike !
I hope this tool will be beneficial to devs / kernel devs / ROM devs too.. for cutting down the time in typing a lot of stuff.
#include<disclaimer.h>
NOTE : Keep a backup of your kernel / boot.img always in hand.. I am not responsible for bootloops. Whatever you do.. Its your responsiblity. If you point a finger at me.. I will laugh at you !
Click to expand...
Click to collapse
How to use this tool ??
Download the zip !
Extract it to the suitable directory.
Copy boot img too the directory.
Open terminal.
Change directory to kernel tools directory.
Run init.sh only if your running the script for the first time!​
Type code :
Code:
./init.sh
Now tool is configured !
To extract boot.img :
Code:
./unpack.sh
To repack boot.img :
Code:
./pack.sh
To start from fresh again for new kernel build :
Code:
./fresh.sh
I am adding a blank zip to flash any kernel:
Just add modules to system > lib > modules
and add boot img to the zip along with meta-inf folder and system folder .
Hope this helps the whole community !
Those who have issues with " Permission denied problems " ... Right click on the .init.sh and give it suitable permissions.. or do a chmod +x on init.sh and then run it..
Kernel Tool Version 2 !
With new GUI and no hassles !
Worth a try View attachment K-EX-2.zip
New version : Version 3
Great Work Mate :good::good:
Re: [DEV][TOOL] Kernel Tool [19-3-2013]
Nice trick Will be helpful altrough, I actually have it for myself already
Re: [DEV][TOOL] Kernel Tool [19-3-2013]
galaxyfreak said:
Nice trick I actually have it for myself already
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
+1 hope it helps those who can't do it / don't know about it . cheers..
Sent from my Nexus 7 using xda app-developers app
nice work released just in time needed it for my work tested and worked good
Re: [DEV][TOOL] Kernel Tool [19-3-2013]
Thanks brother...
Had to use dsi xda kitchen only for unpacking kernels..
This tool will save some time..
Sent from my HTC Explorer A310e using xda app-developers app
What I was searching for, Thanks :good:
View attachment K-EX-2.zipUpdate ! New UI and feature and fixed old bugs ! Thanks Vineeth for informing me about the bug .
If I wasn't limited to 8 thanks a day...
Sorry guys, but, this tool is recommended for everyone, dev and n00b alike...
Dev's may like to use commands, but newbies, take some time to learn...
This tool, makes your work easier, and faster...
p.s. use the original commands twice-thrice to get the flow of it... then, consider using this tool
Re: [DEV][TOOL] Kernel Tool Version 2 [31-3-2013]
For changing ramdisk(cm9 to 10/10.1etc. ) ~after boot.img split into kernel and ramdisk.cpio.gz,
Is it enough to replace the ramdisk.cpio.gz from the older working one without opening ramdisk.cpio.gz/messing with it?
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
Re: [DEV][TOOL] Kernel Tool Version 2 [31-3-2013]
Yeah that's fine.. no need to open and unpack it ..
Ps newer version has a kernel Porter.. just name the kernel as instructed in the tool it automatically ports the kernel according to what you want to do .. from boot Img to boot IMG..
And for the kernel devs from a new zimage to another bootimg from which ramdisk is req
Newer tool took a really long time to type .. lol no response (
Sent from my HTC Explorer A310e using xda app-developers app
Re: [DEV][TOOL] Kernel Tool Version 2 [31-3-2013]
akshat.shenoy said:
Yeah that's fine.. no need to open and unpack it ..
Ps newer version has a kernel Porter.. just name the kernel as instructed in the tool it automatically ports the kernel according to what you want to do .. from boot Img to boot IMG..
And for the kernel devs from a new zimage to another bootimg from which ramdisk is req
Newer tool took a really long time to type .. lol no response (
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
Actually, the newer version didn't have init.sh ...is that ok?
And I can't probably use any of that stuff.. so can't report on that (coz I burnt my PC some time back ~literally )
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
Re: [DEV][TOOL] Kernel Tool Version 2 [31-3-2013]
ptcpayme said:
Actually, the newer version didn't have init.sh ...is that ok?
And I can't probably use any of that stuff.. so can't report on that (coz I burnt my PC some time back ~literally )
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
Click to expand...
Click to collapse
No need for that.. As I have simplified everything into a single persistent menu based GUI... Just needs a chmod +x in case it doesn't run..
Sent from my Nexus 7 using Tapatalk HD
:good:
Nice work.. Works perfectly..
:good::good: +1 mate
Too good man!! Keep up the awesome work!!:thumbup:
Sent from my HTC Explorer using xda premium
New Version
Hey.
Here is a new version of kernel tool by me...
Source : Here Github
Source : Here Google Code
How to Install?
Download as zip from Here
OR
Code:
git clone [email protected]:russelldias98/Kernel-Tool.git
Instructions Here
Changes : made a script to make a flashable zip and changed UI a bit
Preparing a new GUI Version
Thank you!
Great job
Sent from my ST21i2 using Tapatalk 2

wifi bug in miui rom

has any body able to solve the wifi bug in miui rom based on cm 7? if yes can u pls share the solution.
Sent from my GT-S5670 using Tapatalk 2
is there anybody help me to sort out the issue. i am really want to try miui. ported successfully from mini but that wifi bug is painful.
Sent from my GT-S5670 using Tapatalk 2
cosmickamal said:
is there anybody help me to sort out the issue. i am really want to try miui. ported successfully from mini but that wifi bug is painful.
Sent from my GT-S5670 using Tapatalk 2
Click to expand...
Click to collapse
Yeah why not there are 3 solutions for it
1.(Experimental) take out all the wifi related files of the Rom that is written in Feras rehman's guide make a diff patch of it by taking correct Meta-inf and flash
2.(Experimental) Unpack kernel..find folder named or related name "wifi" then delete it from there and replace it with the folder you took in the Rom..repack and flash
3.(last option) Contact my good friend adityaf who is porter of all miui roms for gfit
Thank u
Sent from my GT-S5670 using xda app-developers app
Raj joshi said:
Yeah why not there are 3 solutions for it
1.(Experimental) take out all the wifi related files of the Rom that is written in Feras rehman's guide make a diff patch of it by taking correct Meta-inf and flash
2.(Experimental) Unpack kernel..find folder named or related name "wifi" then delete it from there and replace it with the folder you took in the Rom..repack and flash
3.(last option) Contact my good friend adityaf who is porter of all miui roms for gfit
Thank u
Sent from my GT-S5670 using xda app-developers app
Click to expand...
Click to collapse
Thank you bro. I will definitely try all these options. Right now looking into logcat. got it something like this "[ 06-07 19:22:53.219 4385:0x114f E/WifiService ]
Failed to start supplicant daemon."
lets study.
cosmickamal said:
Thank you bro. I will definitely try all these options. Right now looking into logcat. got it something like this "[ 06-07 19:22:53.219 4385:0x114f E/WifiService ]
Failed to start supplicant daemon."
lets study.
Click to expand...
Click to collapse
Goto system/etc/wifi/wpa_supplicant
Replace the suplicant file from cm7, permissions and reboot
Also replace hodtapd.conf to be safe
Harpratap said:
Goto system/etc/wifi/wpa_supplicant
Replace the suplicant file from cm7, permissions and reboot
Also replace hodtapd.conf to be safe
Click to expand...
Click to collapse
Tried.. not working. Sometimes it says "Unsupported driver 'wext'." in logcat.

[Help]Packing ramdisk

Can anyone with kernel knowledge and linux knowledge help me pack the ramdisk folder
i want the ramdisk.cpio file and then
the boot.img
my linux partition is corrupt so i can't do it
if anyone could help? i would provide the files
AlphaBeta said:
Can anyone with kernel knowledge and linux knowledge help me pack the ramdisk folder
i want the ramdisk.cpio file and then
the boot.img
my linux partition is corrupt so i can't do it
if anyone could help? i would provide the files
Click to expand...
Click to collapse
if your linux is corrupt google for android image kitchen and use that
btw if you build you got ramdisk.cpio dont you??
Sent from my C2105 using XDA Free mobile app
I tried using android kitchen but the cpio doesnot get properly built and thus kernel doesnot boot :/
And i get the cpio but i need to open it up as i have to do some changes in it
So if you could just pack the cpio file only maybe ?
Sent from my C2104 using XDA Free mobile app
SdtBarbarossa said:
if your linux is corrupt google for android image kitchen and use that
btw if you build you got ramdisk.cpio dont you??
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
And i am not building a kernel i am actually porting rom so i need to perform kernel level changes but android kitchen won't pack the cpio properly so if you could just pack the cpio only?
Sent from my C2104 using XDA Free mobile app
AlphaBeta said:
And i am not building a kernel i am actually porting rom so i need to perform kernel level changes but android kitchen won't pack the cpio properly so if you could just pack the cpio only?
Sent from my C2104 using XDA Free mobile app
Click to expand...
Click to collapse
ok send me....
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
ok send me....
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
http://d-h.st/UbBv
here is the boot extracted folder
which is having the ramdisk folder in sbin
you have to covert that folder into ramdisk.cpio
and if you have any other xperia L kk kernel compare the permissions of that cpio file with them.i guess the permissions also effect the booting
also i can provide you the files i edited if you can somewhat replace them directly inside the cpio without extracting it? :\
becuase the permissions are the main issue i am getting :\
EDIT:
Here are the files i have edited basically
init.rc and init.environ.rc
if you find it easier you can also replace both the files in any kk kernel
http://d-h.st/m6ix
http://d-h.st/Tb0j
see whatever suits you better or is easier for you
thankyou
AlphaBeta said:
http://d-h.st/UbBv
here is the boot extracted folder
which is having the ramdisk folder in sbin
you have to covert that folder into ramdisk.cpio
and if you have any other xperia L kk kernel compare the permissions of that cpio file with them.i guess the permissions also effect the booting
also i can provide you the files i edited if you can somewhat replace them directly inside the cpio without extracting it? :\
becuase the permissions are the main issue i am getting :\
Click to expand...
Click to collapse
ok best would be to send me the git link of sourcecode.... and your changes to merge.... so i can build from source
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
ok best would be to send me the git link of sourcecode.... and your changes to merge.... so i can build from source
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
well the changes i made are in the init.rc and init.environ.rc files
both the files are atached above
here is varun's source
https://github.com/varunchitre15/android_kernel_sony_msm8930/tree/cm-11.0
AlphaBeta said:
well the changes i made are in the init.rc and init.environ.rc files
both the files are atached above
here is varun's source
https://github.com/varunchitre15/android_kernel_sony_msm8930/tree/cm-11.0
Click to expand...
Click to collapse
ok will build after syncing.... can take a while
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
ok will build after syncing.... can take a while
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
sure and thankyou
btw the specific changes in the files are
add this to end of init.rc
Code:
#service for shelld
service shelld /system/xbin/shelld
class main
#service for su
service su_daemon /system/xbin/su --daemon
class main
oneshot
service lbesec /system/xbin/lbesec
class main
oneshot
and change this line in init.environ.rc
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/telephony-msim.jar:/system/framework/qcmediaplayer.jar:/data/app/com.miui.sdk-1.apk:/data/app/com.miui.sdk-2.apk:/system/app/miui.apk:/data/app/com.miui.framework-1.apk:/data/app/com.miui.framework-2.apk:/system/app/MiuiFramework.apk
im already snycing and will build it....BUT when i started sync i saw i still got a project left in sync.... approximiated time : 4hours.... so dont await an answer before
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
im already snycing and will build it....BUT when i started sync i saw i still got a project left in sync.... approximiated time : 4hours.... so dont await an answer before
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Sure take your time..i have listed the specific changes as well
Sent from my C2104 using XDA Free mobile app
AlphaBeta said:
Sure take your time..i have listed the specific changes as well
Sent from my C2104 using XDA Free mobile app
Click to expand...
Click to collapse
so have synced it.... now please give me the build config....
and btw i cant find those init files in source...where is it placed??
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
so have synced it.... now please give me the build config....
and btw i cant find those init files in source...where is it placed??
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
inside the ramdisk folder most probably
though i have very less knowledge about source building
but it should be present in the ramdisk/sbin/ramdisk.cpio
here will be the 2 files
edit them then build the .cpio and then build the kernel
AlphaBeta said:
inside the ramdisk folder most probably
though i have very less knowledge about source building
but it should be present in the ramdisk/sbin/ramdisk.cpio
here will be the 2 files
edit them then build the .cpio and then build the kernel
Click to expand...
Click to collapse
bro...thats not source files... those files are already builded ones that will be created .... but ok give me the whole "builded" kernel and i will do what you want....
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
bro...thats not source files... those files are already builded ones that will be created .... but ok give me the whole "builded" kernel and i will do what you want....
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
the first link i gave you has all the files
you just need to make a cpio of the ramdisk folder in it
and then repack the boot.img
AlphaBeta said:
the first link i gave you has all the files
you just need to make a cpio of the ramdisk folder in it
and then repack the boot.img
Click to expand...
Click to collapse
hope that one will boot......are you trying to porting something?
(MuiUi?)
www.sdtbarbarossa.bplaced.net your file is called "rapacked.rar" (available in ~5min .....damn upload speed^^)
Edit: up^^
SdtBarbarossa said:
hope that one will boot......are you trying to porting something?
(MuiUi?)
www.sdtbarbarossa.bplaced.net your file is called "rapacked.rar" (available in ~5min .....damn upload speed^^)
Edit: up^^
Click to expand...
Click to collapse
Yes i am porting miui
And once the kernel issues are gone it won't be difficult porting it
Sent from my C2104 using XDA Free mobile app
AlphaBeta said:
Yes i am porting miui
And once the kernel issues are gone it won't be difficult porting it
Sent from my C2104 using XDA Free mobile app
Click to expand...
Click to collapse
cool the ramdisk.cpio you can find in the ramdisk.cpio.gz <<< you have to extract that
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
cool the ramdisk.cpio you can find in the ramdisk.cpio.gz <<< you have to extract that
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
well you din't pack it correctly
firstly ramdisk.cpio need not contain sbin and other folders
it should only have ramdisk folder contents
and the ramdisk folder directory should also not be present
see the image attached
ramdisk.cpio should just have the contents of ramdisk folder only
not even the directory
so that as soon we open the cpio file
we get all that is shown in image
the link i gave you move inside sbin/ramdisk/
now pack all the content present here in ramdisk.cpio not the rest
just use that ramdisk folder
here use this link
extract it and it will contain just the ramdisk folder
now put the files in the ramdisk folder in cpio file
http://d-h.st/qNKV

Categories

Resources