[Help]Packing ramdisk - Sony Xperia L

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

Related

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

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..??

Random questions thread

N00b asks dev answers: D
Any question here, but not too many at once
Maybe this makes the section more tidy
Sent from my LG-P920 using xda app-developers app
Thank you very much berni for this idea !!
You have been an RC , so you should help us .
1-What' the recovery partion in the Official ICS and GB ?? mmcblk0p** (Since I don't have this phone I can't know them) .
2-I have followed your Tutorial to edit LG's firmware ,, but in the step when root the *.img file , how to return that image into *.bin ??
3-How to replace recovery like what xbsall did (in bootv21e.bin) ??
4-In V20a.kdz of P880 Optimus 4X ,, when I run :-
Code:
LGExtract -kdz ****.kdz
Then I get a *.cab file ,, extract it then find a *.DZ ?? In P920 kdz I find *.wdb (then extract it into *.bin) .
Thank you berni for your support to LG-P920 and for this EXCELLENT idea .
#------------------------------------------
echo "Sender.product.model=LG-P880" # (O4X) .
if [ $thanks -eq $pressed ] ; then
thanks_meter=$((${thanks_meter} + 1)) ; fi #Press it
OS_Hacking said:
Thank you very much berni for this idea !!
You have been an RC , so you should help us .
1-What' the recovery partion in the Official ICS and GB ?? mmcblk0p** (Since I don't have this phone I can't know them) .
2-I have followed your Tutorial to edit LG's firmware ,, but in the step when root the *.img file , how to return that image into *.bin ??
3-How to replace recovery like what xbsall did (in bootv21e.bin) ??
4-In V20a.kdz of P880 Optimus 4X ,, when I run :-
Code:
LGExtract -kdz ****.kdz
Then I get a *.cab file ,, extract it then find a *.DZ ?? In P920 kdz I find *.wdb (then extract it into *.bin) .
Thank you berni for your support to LG-P920 and for this EXCELLENT idea .
#------------------------------------------
echo "Sender.product.model=LG-P880" # (O4X) .
if [ $thanks -eq $pressed ] ; then
thanks_meter=$((${thanks_meter} + 1)) ; fi #Press it
Click to expand...
Click to collapse
1. In all o3d partitions layout it's mmcblk0p6
2. Just open the edited img in hexeditor select everything copy it then select in the bin from offset to size off given by the extract tool and then paste it in there
3. Same as above open rec.img in hex editor select and delete the recovery file in the bin(everything is given by the extract tool) and paste in the new rec
4. Don't know much about dz files but take a look in l9/7/6 not sure which one there's a kdz Rom and the guy linked to a tool which extracts dz files if I remember right
Found it http://forum.xda-developers.com/showthread.php?p=2985403
Sent from my LG-P920 using xda app-developers app
How do I stop my recovery from creating an md5 sum when making a backup of a ROM?
Warren488 said:
How do I stop my recovery from creating an md5 sum when making a backup of a ROM?
Click to expand...
Click to collapse
I'm no dev but in TWRP you can unchek the option for the backup to make md5..
I don't remember for CWM..
Sent from my LG-P920 using xda app-developers app
Warren488 said:
How do I stop my recovery from creating an md5 sum when making a backup of a ROM?
Click to expand...
Click to collapse
It's to check if your backup is corrupted and to save you from unnecessary reflashing. If you're not planning to modify your backup , you should't disable it.
Sent from my LG-P920 using xda premium
2 questions
1. how can i solve graphic driver bug in cm10?
in cm10.1 i can solve it by installing peach kernel.. cm10 version still has this bug..
2. I've SD card problem in cm10.1 sometimes i must remount it to use gallery and camera..(i already changed 16 to 15)
Im having issues flashing the V30a kdz the way i used to, after uncompressing the kdz the program looses connection with the phone, never happenned before now it does even on different Pc's. Any ideas?
Sent from my LG-P920 using xda app-developers app
SickRaider said:
Im having issues flashing the V30a kdz the way i used to, after uncompressing the kdz the program looses connection with the phone, never happenned before now it does even on different Pc's. Any ideas?
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
Look a bit in the forum you have to rename it or extract it to bin and baseband and flash it
Sent from my LG-P920 using xda app-developers app
berni987654321 said:
Look a bit in the forum you have to rename it or extract it to bin and baseband and flash it
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
Stupid me...... yeah i forgot about that, i did that on 28b..... Thanks Bernie.
Sent from my LG-P920 using xda app-developers app
Berni, there's a few developer-related questions I wanna ask before I develop my first Android firmware ROM.
1. Is even a Java file context-sensitive? And if it is, should a simple change be checked against the other source that links to it?
2. Is it difficult to add in some framework / library outside the Android source codes?
Sent from my LG-P920 using XDA
Dr. Mario said:
Berni, there's a few developer-related questions I wanna ask before I develop my first Android firmware ROM.
1. Is even a Java file context-sensitive? And if it is, should a simple change be checked against the other source that links to it?
2. Is it difficult to add in some framework / library outside the Android source codes?
Sent from my LG-P920 using XDA
Click to expand...
Click to collapse
To 1 no but most libraries are built of pretty much code (libwebcore is some gigs big) and are difficult to port to other android version(opposite is libwebcore which is pretty easy). Many libs should work on same android versions but many don't
Sent from my LG-P920 using xda app-developers app
Ah, I see. I will have to check against each other before I start compiling. Thanks, Berni.
Sent from my LG-P920 using XDA

[Q] building cm11

so ive tried to build cm11,downloaded source, got vendor,device tree and kernel sources.
put proprietary files in vendor folder of source,
put device tree in device folder of source,
but i dont know where the kernel source goes.
when i build, i get errors.see attached file.
any help would be appreciated.
you are missing the kernel source or its in the wrong place
/home/shaqfu/cyanogen/kernel/lge/omap4-common this is the path for the the kernel source
so if your omap4-common folder contains lge-kernel-omap4.
rename the lge-kernel-omap4 to omap4-common and copy it into kernel/lge/ and replace the omap4-common folder
or edit the path to the kernel in the boardconfig TARGET_KERNEL_SOURCE := kernel/lge/omap4-common
I will try this when I get home from work,
Thanks
Sent from my LG-P920 using XDA Free mobile app
Thanks @troopii,
I got it building,problem was with folder names,my kernel was named kernel/lge/p920. I changed it to kernel/lge/omap4-common, like you said and that seemed to do the trick.
Thanks again for your help:thumbup:
Sent from my LG-P920 using XDA Free mobile app
no problem
cherrypick also this https://github.com/NamelessRom/android_build/commit/437843b8bb91207db8aa071626b035da139ebc25
or you will get metadata problem while flashing
Lol, like said this is a learning experience. It will be my first build. But I am eager to learn and I will learn how to cherry-pick and add it in.:thumbup:
Sent from my GT-i8190 using XDA Free mobile app

[COMPRESSED][SOURCES]All compressed Android sources

ALL COMPRESSED ANDROID SOURCES ARE HERE​
Hello devs, I have seen that many of you are having trouble downloading sources of various ROMs due to low internet speeds, so i decided to compress all the sources in small size and share them with you.
I've compressed sources and .repo folder separately in ".tar.xz" format at max compression level, so just extract the SINGLE archive and enjoy..!!
I will be uploading sources of:
AICP
Android x86
AOKP
AOSP
BlissRoms
Carbon
CyanogenMod
Gummy
Mahdi
MIUI Patchrom
Omni
Pac-Man
Paranoid Android
Resurrection Remix
RootBox
SlimRoms
VentureROM
ALL SOURCES NOW RESIDES IN A SINGLE FOLDER AT AFH, HEAD OVER TO THIS THREAD BY @regalstreak FOR MORE INFO AND LINK TO THE FOLDER.​
**REQUESTS ARE NOW ALWAYS OPEN PLEASE READ THIS POST BY @MSF Jarvis ON HOW TO REQUEST NEW SOURCES**​
Just saying, you could have only uploaded the .repo compressed. That would have a better purpose than this.
MasterAwesome said:
Just saying, you could have only uploaded the .repo compressed. That would have a better purpose than this.
Click to expand...
Click to collapse
What if someone wants full source?
EDIT- well i have uploaded only .repo now
MasterAwesome said:
Just saying, you could have only uploaded the .repo compressed. That would have a better purpose than this.
Click to expand...
Click to collapse
Exactly !
Xeers
Well, only .repo is also getting uploaded
Any other hosting site
And if you know a better hosting site or anything please suggest, i got 1 month to upload the sources
Lol .repo is the source with individual git repositories which is managed by the repo tool. Just host the .repo folder compressed. Add main sources like
. AOSP
. CM-12
Maybe throw in a miui patch rom
When extracting after joining it's says first header blabla with the lrzuntar command. Please lead me.
Sent from my Mi438S using XDA Free mobile app
aaaaaaziskurnia said:
When extracting after joining it's says first header blabla with the lrzuntar command. Please lead me.
Sent from my Mi438S using XDA Free mobile app
Click to expand...
Click to collapse
have you installed lrzip in your system?
The Prezident said:
have you installed lrzip in your system?
Click to expand...
Click to collapse
It also included. Before the header blablabla thing appears, the process showing extracting size. But nothing coming in my disk
Sent from my Mi438S using XDA Free mobile app
aaaaaaziskurnia said:
It also included. Before the header blablabla thing appears, the process showing extracting size. But nothing coming in my disk
Sent from my Mi438S using XDA Free mobile app
Click to expand...
Click to collapse
how are you extracting the source? and can you please show me the screenshot of the error?
The Prezident said:
how are you extracting the source? and can you please show me the screenshot of the error?
Click to expand...
Click to collapse
If you're uploading .repo files use the max compression and upload it as a single file or use dd to split it. Use tar.xz format. export XZ_OPT=-9. And then tar -Jvcf repo.tar.xz .repo
Include a binary or a script to automatically merge the parts. Never leave it to end user
Sent from my Moto G using XDA Free mobile app
MasterAwesome said:
If you're uploading .repo files use the max compression and upload it as a single file or use dd to split it. Use tar.xz format. export XZ_OPT=-9. And then tar -Jvcf repo.tar.xz .repo
Include a binary or a script to automatically merge the parts. Never leave it to end user
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Yea i am willing to upload it as a single file, but i cant find any hosting website which provides these kinds of services. Please suggest any if you have in mind.
The Prezident said:
Yea i am willing to upload it as a single file, but i cant find any hosting website which provides these kinds of services. Please suggest any if you have in mind.
Click to expand...
Click to collapse
After compression using XZ_OPT=-9 and compressing into tar.xz, tell me the file size. Where ever you're hosting now, that'll do. just use dd to split into parts and include a script/c program to combine it and uncompress it and remove the temporary stuff.
MasterAwesome said:
After compression using XZ_OPT=-9 and compressing into tar.xz, tell me the file size. Where ever you're hosting now, that'll do. just use dd to split into parts and include a script/c program to combine it and uncompress it and remove the temporary stuff.
Click to expand...
Click to collapse
Okay, downloading CM 11.0 again now.
UPDATE: downloading done, now compressing to tar.xz at level 9.
The Prezident said:
how are you extracting the source? and can you please show me the screenshot of the error?
Click to expand...
Click to collapse
I attach the screenshot.
Sent from my Mi438S using XDA Free mobile app
aaaaaaziskurnia said:
I attach the screenshot.
Sent from my Mi438S using XDA Free mobile app
Click to expand...
Click to collapse
first decompress using "lrunzip" then untar the extracted file.
The Prezident said:
first decompress using "lrunzip" then untar the extracted file.
Click to expand...
Click to collapse
After decompress using lrunzip, still got that error. What should I do?
I suggest You to using tar.xz format. It's easy and don't split it with hjsplit.
Too many process, more chance to get error.
Sent from my Mi438S using XDA Free mobile app
aaaaaaziskurnia said:
After decompress using lrunzip, still got that error. What should I do?
I suggest You to using tar.xz format. It's easy and don't split it with hjsplit.
Too many process, more chance to get error.
Sent from my Mi438S using XDA Free mobile app
Click to expand...
Click to collapse
Yes, it seems that my tar version was lower than yours, well compressing the sources again and uploading on other file host.
The Prezident said:
Yes, it seems that my tar version was lower than yours, well compressing the sources again and uploading on other file host.
Click to expand...
Click to collapse
Don't directly upload it. Pack it with extraction scripts.
Sent from my Moto G using XDA Free mobile app

Kernel :') Extra Modules ?

Q. How to use extra modules provided
Best way is to use init.d script to load them on boot.
e.g If you want to use the NTFS file system module. You have to first place the ntfs.ko module provided in /system/lib/modules. Then you need to create an init.d script in /system/etc/init.d with any name say 99modules with following code
Code:
#!/system/bin/sh
insmod /system/lib/modules/ntfs.ko
Next you need to give that file all permissions and reboot the phone and you are done!
P.S: Loading external modules affects battery life of the phone.
I can't understand it please help me (can't file, can't execute, directory bla bla bla) Help
:crying:
ChakiSan said:
Q. How to use extra modules provided
Best way is to use init.d script to load them on boot.
e.g If you want to use the NTFS file system module. You have to first place the ntfs.ko module provided in /system/lib/modules. Then you need to create an init.d script in /system/etc/init.d with any name say 99modules with following code
Code:
#!/system/bin/sh
insmod /system/lib/modules/ntfs.ko
Next you need to give that file all permissions and reboot the phone and you are done!
P.S: Loading external modules affects battery life of the phone.
I can't understand it please help me (can't file, can't execute, directory bla bla bla) Help
:crying:
Click to expand...
Click to collapse
Why you want a extra module?
For init.d scripts to work the kernel must support it...
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
Why you want a extra module?
For init.d scripts to work the kernel must support it...
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Idk it just...
so thunderzap not support it ?
ChakiSan said:
Idk it just...
so thunderzap not support it ?
Click to expand...
Click to collapse
TZ supports it... But on TZ4.16 you have to activate it before
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
TZ supports it... But on TZ4.16 you have to activate it before
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
how to activate it ?:crying:
ChakiSan said:
how to activate it ?:crying:
Click to expand...
Click to collapse
Man just tell me what you want ... Then i will explain
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
Man just tell me what you want ... Then i will explain
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
-> e.g If you want to use the NTFS file system module. You have to first place the ntfs.ko module provided in /system/lib/modules. Then you need to create an init.d script in /system/etc/init.d with any name say 99modules with following code <-
where is ntfs.ko ? i dont have it.
and -> "Then you need to create an init.d script in /system/etc/init.d with any name say 99modules"
ChakiSan said:
-> e.g If you want to use the NTFS file system module. You have to first place the ntfs.ko module provided in /system/lib/modules. Then you need to create an init.d script in /system/etc/init.d with any name say 99modules with following code <-
where is ntfs.ko ? i dont have it.
and -> "Then you need to create an init.d script in /system/etc/init.d with any name say 99modules"
Click to expand...
Click to collapse
Ntfs.ko is a kernel module you have to compile ...
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
Ntfs.ko is a kernel module you have to compile ...
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
how to compile ?
ChakiSan said:
how to compile ?
Click to expand...
Click to collapse
Ah come on... Please google... Google for a already compiled ntfs.ko ....
Sent from my C2105 using XDA Free mobile app

Categories

Resources