Hi,
i need stock init.environ.rc and init.rc files from root folder.
This is from the latest T-Mobile ota
https://www.dropbox.com/s/t09sjm5fxrxhji2/boot.img?dl=0
kintwofan said:
This is from the latest T-Mobile ota
https://www.dropbox.com/s/t09sjm5fxrxhji2/boot.img?dl=0
Click to expand...
Click to collapse
Thanks. But there is no ramdisk.
I need ramdisk to see bootclasspath.
Need init.environ.rc and init.rc files from root folder
artur0588 said:
Need init.environ.rc and init.rc files from root folder
Click to expand...
Click to collapse
https://docs.google.com/file/d/0ByF13-FBbXGDeVZJVW1QLWJMcHM/edit?usp=docslist_api
https://docs.google.com/file/d/0ByF13-FBbXGDOVBaSlNKaWJUTEU/edit?usp=docslist_api
From d955
Related
HI
I am running sok 4.7.8 on a Samsung i9000 and need to disable VSF. I know the SOK thread mentions to place a special script in the /etc/init.d directory but it is not available on my phone. I used a file browser with root access to search for it.
Any ideas?
PJ
Pj66 said:
HI
I am running sok 4.7.8 on a Samsung i9000 and need to disable VSF. I know the SOK thread mentions to place a special script in the /etc/init.d directory but it is not available on my phone. I used a file browser with root access to search for it.
Any ideas?
PJ
Click to expand...
Click to collapse
Sure there is a /ect, dl "root explorer" from the market.
ttf said:
Sure there is a /ect, dl "root explorer" from the market.
Click to expand...
Click to collapse
Thanks I do see the /etc folder but there is no init.d folder in it. Do i need to create this folder?
Pj66 said:
Thanks I do see the /etc folder but there is no init.d folder in it. Do i need to create this folder?
Click to expand...
Click to collapse
Weird, yes you can create it (chmod 777 of course)
ttf said:
Weird, yes you can create it (chmod 777 of course)
Click to expand...
Click to collapse
Great thanks for your help.
Hello guys, I've been struggling since two and a half hours now to unpack boot.img taken from cm10.1 zip (get.cm). I have an error about the magic header, here it is.
Code:
Android Magic not found in boot.img. Giving up.
Fyi, I need to unpack/repack the boot image to change the bootlogo and kernel.
I've tried with any tool available (dsixda kitchen, championswimmer kernel kitchen, simple mkbootimg or unmkbootimg, xperia boot tools and more), no results. Anyone please?
Try asking in the question and answer section, that may help
Sent from the luxury of my tent
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Thank you man, you're a lifesaver. It works.
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
tOrNadO_007™ said:
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
Click to expand...
Click to collapse
Are you looking in ramdisk?
NuriJ said:
Are you looking in ramdisk?
Click to expand...
Click to collapse
Yes.. I did that too.. Unfortunately all the methods didn't work.. One simple method worked though.. Change the permissions of all the unpacked files and mount the ramdisk.img and then extract it and change contents of any file of your choice and then repack it.. It works like a charm..
Hi, I'm s-off, rooted, busy box installed and custom kernel with wpmod. I have to write in sys to overwrite the awb_cal file in /sys/android_camera_awb_cal, but i can't write in sys. I can't even create a new folder. Can i push the file in sys using fast boot and adb? I had the idea to change the file in custom rom zip, but the folder sys is not present in there..Please help me!
Root explorer
Mount RW
yatindroid said:
Root explorer
Mount RW
Click to expand...
Click to collapse
Tried with a lot of file manager, does not work..
RyuzakiTA said:
Tried with a lot of file manager, does not work..
Click to expand...
Click to collapse
try TWRP copy paste and then chmod in advance setting
yatindroid said:
try TWRP copy paste and then chmod in advance setting
Click to expand...
Click to collapse
It still fails..
RyuzakiTA said:
It still fails..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230341
I'm already on a kernel with wpmod..
Hello guys
Today i will be Sharing Deodex Patch for Official Android 6.0.1 (.575 build).
This ZIP Contains Deodex and Zipalign Patch For Stock Rom with Build no 23.5.A.0.575. .
REQUIREMENTS
Prerooted Stock MM Build no .575 With Recovery
INSTALL INSTRUCTIONS
Wipe cache and dalvik cache.
Flash Deodex ZIP followed by Fix zip in Recovery.
Reboot.
DOWNLOADS
Link: http://www.mediafire.com/download/lns07bainl8iaac/Deodex_Patch_575.zip
Fix: https://drive.google.com/file/d/0B_ACsHR2ThfsU1dTd0dpLUhJdWM/view?usp=drivesdk
CREDITS
@lord-ralf-adolf For His Awesome Lordroid One Batch Deodexer
@jitz975 and @Rajeev for Helping.
Thank you.
it isn't delete odex files in system/app, priv-app and framwork automatically but I delete them manually, work fine
Thanks brother! I will try and report...
yakuzainlove said:
Thank you.
it isn't delete odex files in system/app, priv-app and framwork automatically but I delete them manually, work fine
Click to expand...
Click to collapse
For me it worked bro, Yesterday i kept few odex files in system/app.... arm folder nd ran the delete.sh using terminal and the odex files got deleted so script was working.
Nice Hey man , this is like slim 570 deodexed but with bloat?
dex87xda said:
Nice Hey man , this is like slim 570 deodexed but with bloat?
Click to expand...
Click to collapse
Ur wlcm.
Its just a deodex patch which is to be flashed after flashing prerooted rom to deodex the system.
Nice
Hey how do i confirm that my System is deodexed after flashing this or not ?
chawlasrijan said:
Hey how do i confirm that my System is deodexed after flashing this or not ?
Click to expand...
Click to collapse
Just delete sqsh files from system and see if u can boot to system
dex87xda said:
Just delete sqsh files from system and see if u can boot to system
Click to expand...
Click to collapse
Umm, i cannot locate sqsh files anywhere in the systen !!
Can you pinpoint the exact location.
chawlasrijan said:
Hey how do i confirm that my System is deodexed after flashing this or not ?
Click to expand...
Click to collapse
Check for odex files in system/app or priv-app or framework. If they are not there then ur system is deodexed.
vikash1994b said:
Check for odex files in system/app or priv-app or framework. If they are not there then ur system is deodexed.
Click to expand...
Click to collapse
There are !!
So basically flashing this didn't help.
How do i proceed now ?
chawlasrijan said:
Umm, i cannot locate sqsh files anywhere in the systen !!
Can you pinpoint the exact location.
Click to expand...
Click to collapse
Sqhs files are present in root of ur system but since u have flashed the deodexed patch sqsh and other odex files r deleted thats why ur not able to locate
vikash1994b said:
Sqhs files are present in root of ur system but since u have flashed the deodexed patch sqsh and other odex files r deleted thats why ur not able to locate
Click to expand...
Click to collapse
Okay, but then i still have odex files present
chawlasrijan said:
Okay, but then i still have odex files present
Click to expand...
Click to collapse
Wait iwl tell how u can delete them manually.
your fw is deodexed
chawlasrijan said:
Okay, but then i still have odex files present
Click to expand...
Click to collapse
Do one thing extact delete.sh from zip nd run it via terminal emulator
vikash1994b said:
Do one thing extact delete.sh from zip nd run it via terminal emulator
Click to expand...
Click to collapse
Okay, extracted !
Now what command do I write in Terminal emulator.
Sorry I'm new to all this
chawlasrijan said:
Okay, extracted !
Now what command do I write in Terminal emulator.
Sorry I'm new to all this
Click to expand...
Click to collapse
No problem bro
First move delete.sh to sdcard Download terminal emulator from playstore then open it nd write following commands
Su
Sh sdcard/delete.sh
U may get some error ignore them and then check for odex files
vikash1994b said:
No problem bro
First move delete.sh to sdcard Download terminal emulator from playstore then open it nd write following commands
Su
Sh sdcard/delete.sh
U may get some error ignore them and then check for odex files
Click to expand...
Click to collapse
Okay, so i figured what i had to do, but using mine & your commands as well, I'm getting this same error
& odex files are still present
Hello guys!
I'm a developing the AOXP ROM for our lovely Z3Cs. But I do not know how to deodex the stock rom.
Can I deodex the prerooted firmware zip created with PRFCreator??? It is based on the latest .291 firmware.
If any of you experienced developers can help me I would be grateful!
Thank you!
If you need any new information, I will add it to this post.
Deodexer for Pc running Windows Os.
You have to install lastest .Net Framework and Java too.
I dont know how to repack the system.ext4 partition into prerooted.zip, but i know how to deodex this partition.
6.0.1 rom .291:
Copy /framework, /app, /priv-app, build.prop, odex.framework.sqsh, odex.app.sqsh, odex.priv-apk.sqsh from /system to /*Work space* folder, use lastest 7zip to extract .sqsh files, then copy all .odex files to /apk/*apk name*/oat. make sure correct .apk and .odex name.
then running SVAdeodexer, choose /*Work space* folder and check /apk, /priv-apk, /framework to deodex.
all deodexed apps will be placed in /SVAdeodexer folder (the folder containing deodexer app)
*** app file (.apk) from /framework wont be deodexed, u should copy that app to /apk, after deodexed, copy that app back to /framework.
then delete /framework, /app, /priv-app, odex.framework.sqsh, odex.app.sqsh, odex.priv-app.sqsh, /odex.framework, /odex.app, /odex.priv-app from system.ext4 partiotion and copy /framework, /app, /priv-app deodexed back to system.ext4
xtbtvd12399 said:
Deodexer for Pc running Windows Os
You have to install lastest .Net Framework and Java too.
Click to expand...
Click to collapse
Thank you so much for replying... Will this work with sony roms? I mean, the structure of sony roms is different(system.sin etc) ???
panzerox123 said:
Thank you so much for replying... Will this work with sony roms? I mean, the structure of sony roms is different(system.sin etc) ???
Click to expand...
Click to collapse
you can use Flashtool converting sytem.sin into system.ext4
xtbtvd12399 said:
you can use Flashtool converting sytem.sin into system.ext4
Click to expand...
Click to collapse
But can I convert it back to system.sin after that?
panzerox123 said:
But can I convert it back to system.sin after that?
Click to expand...
Click to collapse
I never try it before. May not...
xtbtvd12399 said:
I never try it before. May not...
Click to expand...
Click to collapse
Hmmm... I'll try using Slimm Roms files, with permission ofcourse
panzerox123 said:
Hmmm... I'll try using Slimm Roms files, with permission ofcourse
Click to expand...
Click to collapse
Slimm Rom contain a system.ext4 file, isnt a .sin file
xtbtvd12399 said:
Slimm Rom contain a system.ext4 file, isnt a .sin file
Click to expand...
Click to collapse
Oh wait! I remember now...
Can I convert it back to a system.ext4 file after altering.. not system.sin.... :good:
panzerox123 said:
Oh wait! I remember now...
Can I convert it back to a system.ext4 file after altering.. not system.sin.... :good:
Click to expand...
Click to collapse
Try this. Required Cygwin (emulate Linux on Windows)