How can I pack folder to system.img ? - G4 Q&A, Help & Troubleshooting

Hi everyone ,
I finished to modify a few stuff from system folder in my computer. Then I need to pack system folder to system.img after that dd to system partition . How can I do ?
Who can guide me ?

somboons said:
Hi everyone ,
I finished to modify a few stuff from system folder in my computer. Then I need to pack system folder to system.img after that dd to system partition . How can I do ?
Who can guide me ?
Click to expand...
Click to collapse
Hello. Im only starting and I have the same question. Did you find an answer please?

Related

[Q] How to create custom rom from nandroid backup?

anyone knows anythink about it?? I have tried building a rom from system.tar(backup file from nandroid) but it contains only the stock apps...
Extract the system.tar to get system folder
and if ur using kitchen
then copy it to the WORKING_XXXX folder or create such folder
and there is no other way...all u do is somehow get the system folder and then modify it
and thanks for the help dude
SSSidGGG said:
Extract the system.tar to get system folder
and if ur using kitchen
then copy it to the WORKING_XXXX folder or create such folder
and there is no other way...all u do is somehow get the system folder and then modify it
and thanks for the help dude
Click to expand...
Click to collapse
Already tried that but it contains only the apps which come with the original stock rom(stock apps) and not the ones I downloaded..
The apps that u install after getting the device started are not in the system folder but the data folder which can be found in data.rfs.tar
and then in data folder open app u will find them either there or a backup of those somewhere in the .tar file only dnt remeber properly
your downloaded app is stored in data.rfs.tar (if you put them on internal memory) or .android_secure.vfat.tar (if you put them on sdcard)
SSSidGGG said:
The apps that u install after getting the device started are not in the system folder but the data folder which can be found in data.rfs.tar
and then in data folder open app u will find them either there or a backup of those somewhere in the .tar file only dnt remeber properly
Click to expand...
Click to collapse
kurotsugi said:
your downloaded app is stored in data.rfs.tar (if you put them on internal memory) or .android_secure.vfat.tar (if you put them on sdcard)
Click to expand...
Click to collapse
ty both of u.. srry culdnt press the button cuz i hav reached my limit of 8 thnks
is it safe to place the files in /system/app folder and remove the old ones??
yup...if you already have the newer one its safe to remove the old one. but make sure you delete the odex files too. no need to press that silly button. I'm just a noob here, not a dev.
You can try but when i put vending.apk when 1st open it installing again on /data and operamini.apk can't put on system always force close in my case.
in DXLB and newer firmware market in system app is named phonesky.apk. vending.apk is the older version used in older firmware. we don't need them if we already have phonesky.apk.

Guide Make Roms For Other Devices

HELLO TO ALL THIS IS A SOFTWARE FOR WINDOWS USERS AND WINDOWS SERIES THIS CAN EXTRACT SYSTEM.IMG FROM STOCK ROMS U SHOULD TRY THIS
THIS IS USE FULL SOFTWARE TOO GOOD U SHOULD TRY THIS http://www.mediafire.com/?3cwmxr03qmffwph HAVE A GOOD DAY :good::good::good::good::laugh::laugh::laugh:
THIS IS NOT REALLY FINDED BY ME THIS IS SUGGESTED BY SAVIE THANKS TO HIM
irfanbagus said:
if you do that just to extract some files from stock rom then it's ok. but if you do that you loose file attribute. link from hdulani also not working for sgy (sgy use rfs, not yaffs).
simple way to extract files from *.img is put in your sdcard (ex: system.img), mount to folder and backup using tar
Code:
cd /mnt/sdcard
mkdir -f system
busybox mount -o loop,ro system.img system
busybox tar -cf system.tar system
busybox umount system
you got your system.img content in system.tar file. if you extract in linux you got original file attributes.
Click to expand...
Click to collapse
INSTRUCTION​
IF U R CREATING A ROM FOR DEVICE THAT U DOES N'T HAVE SO IT IS VERY HELP FULL
1.DOWNLOAD STOCK ROM OF THAT DEVICE LIKE MINI,ACE,FIT,Y,Y DUOS,SGS, SGS2,SGS3
2.EXTRACT PDA OF THAT DEVICE WITH WINRAR OR 7ZIP,WINZIP TOO MANY SOFTWARES ARE THERE
3.U WILL SE SYSTEN.IMG ON THAT
4.OPEN IT BY ULTRAISO
5.AND U WILL SEE ALL SYSTEM FILES
6.COPY IT TO ANYWHERE C,D,E,G,F ANYWHERE ON LOCAL DISK
IF U R MAKEING ROM FOR THAT U SHOULD EDIT ALL THE FILE IN IT AND MAKE IT DEODEX AND MAKE A UPDATER SCRIPT OR TAKE A UPDATE SCRIPT FROM ANY ROM AND MAKE A ZIP AND U R ROM IS READY TO SERVE IN XDA
SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE :angel::angel::angel::angel:
IT IS TO EASY IF U FOLLOW ALL THE INSTRUCTION CORRECTLY :good::good::good::good:
DON'T FORGET TO THANKS ME:laugh::laugh::laugh::laugh::laugh::laugh::laugh::laugh::angel::angel::angel:
Sent from my GT-S5360 using Tapatalk
i try so many tools for windows and finally work good for me Linux Reader
install/Open Linux Reader -->Drives -->>Mount Image -->>Raw Disk Images-->>open System.img-->>Save File To Ur Folder.....
for linux use XDA kitchen (u know about it) .............
the file is encrypted. common tools won't work. I always use CWM to make a nandroid backup to extract system files from stock rom.
manoranjan2050 said:
i try so many tools for windows and finally work good for me Linux Reader
install/Open Linux Reader -->Drives -->>Mount Image -->>Raw Disk Images-->>open System.img-->>Save File To Ur Folder.....
for linux use XDA kitchen (u know about it) .............
Click to expand...
Click to collapse
I AM ON WINDOWS 7 BRO I AM NOT ON LINUX
thx for the compliment
somkll said:
I AM ON WINDOWS 7 BRO I AM NOT ON LINUX
thx for the compliment
Click to expand...
Click to collapse
its for widows os not for linux check 1st please ...............
Linux Reader Read all Linux File System/Raw Image File (System.img) in Windows OS
Step By Step Tutorial For U
http://d-h.st/FYF
Try 1st then Post
Thanks........
when i open system image it show files that does n't exist what's problem
UltraISO software or something like that i've forget.
What do u want to extract?
Do u want to extract the 'SYSTEM.IMG' or the contents of it??
if you want to extract the file then its damn simple... just open the PDA tar file from the Odin..... in my case(galaxy y) it is "PDA_S5360DDKK1_REV05.tar"... if u want to extract the system.img file go to this thread http://forum.xda-developers.com/showthread.php?t=961164
Suggest freely
SORRY TO ALL BUT I MY ANSWER ULTRAISO CAN EXTRACT IT NO PROBLEM JUST SUGEST FREELY :angel::angel::angel::laugh::laugh::laugh::laugh::good::good::good: THUMBS UP FOR ALL
Sent For My GT-s5360
wats the use of this?
hell_lock said:
wats the use of this?
Click to expand...
Click to collapse
Extract system.img in windows
savie said:
Extract system.img in windows
Click to expand...
Click to collapse
i mean wats the use of extracting when its of no use to us?!
hell_lock said:
i mean wats the use of extracting when its of no use to us?!
Click to expand...
Click to collapse
Haha sory for simple answer.
Actually some people wanna customize rom with extract system.img not nandroid cwm backup.
Longtime ago i've try to extract radio.img and data.img too and stuck bcoz don't have this tool.
IF U R CREATING A ROM FOR DEVICE THAT U DOES N'T HAVE SO IT IS VERY HELP FULL
1.DOWNLOAD STOCK ROM OF THAT DEVICE LIKE MINI,ACE,FIT,Y,Y DUOS,SGS, SGS2,SGS3
2.EXTRACT PDA OF THAT DEVICE WITH WINRAR OR 7ZIP,WINZIP TOO MANY SOFTWARES
3.U WILL SE SYSTEN.IMG ON THAT
4.OPEN IT BY ULTRAISO
5.AND U WILL SEE ALL SYSTEM FILES
6.COPY IT TO ANYWHERE C,D,E,G,F ANYWHERE ON LOCAL DISK
IF U R MAKEING ROM FOR THAT U SHOULD EDIT ALL THE FILE IN IT AND MAKE IT DEODEX AND MAKE A MAKE OR TAKE A UPDATE SCRIPT FROM ANY ROM AND MAKE A ZIP
SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE SIMPLE
IT IS TO EASY IF U FOLLOW ALL THE INSTRUCTION
Send For My GT-s5360 Using Tapatalk APP
Porting from another device and beware of bootlove.. lol..
Maybe u can add in first post bro or change the thread to guide developing tools..
This is very usefull tools even not many user use it coz lack of knowledge or information like me before.. lol..
savie said:
porting from another device and beware of bootlove.. Lol..
Maybe u can add in first post bro or change the thread to guide developing tools..
This is very usefull tools even not many user use it coz lack of knowledge or information like me before.. Lol..
Click to expand...
Click to collapse
done that thanks for sharing a u r knowledge
Well done bro. Might be of use!
somkll said:
IF U R CREATING A ROM FOR DEVICE THAT U DOES N'T HAVE SO IT IS VERY HELP FULL ...
Click to expand...
Click to collapse
if you do that just to extract some files from stock rom then it's ok. but if you do that you loose file attribute. link from hdulani also not working for sgy (sgy use rfs, not yaffs).
simple way to extract files from *.img is put in your sdcard (ex: system.img), mount to folder and backup using tar
Code:
su
cd /mnt/sdcard
mkdir -f system
busybox mount -o loop,ro system.img system
busybox tar -cf system.tar system
busybox umount system
you got your system.img content in system.tar file. if you extract in linux you got original file attributes.
irfanbagus said:
if you do that just to extract some files from stock rom then it's ok. But if you do that you loose file attribute. Link from hdulani also not working for sgy (sgy use rfs, not yaffs).
Simple way to extract files from *.img is put in your sdcard (ex: System.img), mount to folder and backup using tar
Code:
cd /mnt/sdcard
mkdir -f system
busybox mount -o loop,ro system.img system
busybox tar -cf system.tar system
busybox umount system
you got your system.img content in system.tar file. If you extract in linux you got original file attributes.
Click to expand...
Click to collapse
it is not easy on phone but on computor it becomes easy
bro this for windows 7 and series that is easy for u r using linux but we are not using it
Somekill i know ur purpose but i think irfan info is very usefull.
Why don't u make this thread general information to extract *.img from windows and linux.
If u don't have good knowledge of linux (same with me - lol) u can add link to irfan or other member that have knowledge to share.
This can be usefull thread not only in sgy but other device i think and hope usefull info not gone with spam or junk thead.
All we need is usefull information and applicable to sgy so can make our device more better.

[Q] how to backup system partition

hi i flash i8160L with i8160 arabic files after that i edit some files in system folder for unknown baseband and i done job successfully
now everything are working fine (wifi,signal,Bluetooth)
i want to dump system partition and make a odin flash able file from that i know how to create ondin flash able file but i dont know
how to dump systemfs.img from phone even i dont know in which partition system file is located
please help me in this
need urgent replay
thanks

Make HTC Desire 816 /system rw (writeable)

Can any one here knows how to mount system to be writeable?
or how to replace system files through CWM?
because stupid S-ON
mido3366 said:
Can any one here knows how to mount system to be writeable?
or how to replace system files through CWM?
because stupid S-ON
Click to expand...
Click to collapse
Use this mod :http://forum.xda-developers.com/showthread.php?t=2707378
or
Use this kernel: http://forum.xda-developers.com/desire-816/orig-development/kernel-grakernel-t2857866
To replace system files from recovery, use TWRP. There is a file manager in it.
Do a search before posting bro..
thanks bro but I'm a noob
jithumon said:
Use this mod :http://forum.xda-developers.com/showthread.php?t=2707378
or
Use this kernel: http://forum.xda-developers.com/desire-816/orig-development/kernel-grakernel-t2857866
To replace system files from recovery, use TWRP. There is a file manager in it.
Do a search before posting bro..
Click to expand...
Click to collapse
thanks for replying bro I appreciate that ... I'm a noob so please tell me .. Does CWM has a file manager ? if not how to uninstall it and how to install TWRP.
and after replacing system files (.ko file) is there any thing to do after that or system write protection will be off when I replace it ?
mido3366 said:
thanks for replying bro I appreciate that ... I'm a noob so please tell me .. Does CWM has a file manager ? if not how to uninstall it and how to install TWRP.
and after replacing system files (.ko file) is there any thing to do after that or system write protection will be off when I replace it ?
Click to expand...
Click to collapse
Only TWRP has a file filemanager. Just flash the TWRP recovery just like you flashed CWM. It'll overwrite CWM.
Read the thread. There is full instructions for wp_mod.ko .

Unpack and Repack system.img?

Hello to all.
apologies if this should not be at the forum.
I cooked for windows mobile and now need to move to android.
I'm with the system.img file, I unpack and change what I wanted.
But now I could repackage and leave the folder as system.img.
please help Repack!
alejobog said:
Hello to all.
apologies if this should not be at the forum.
I cooked for windows mobile and now need to move to android.
I'm with the system.img file, I unpack and change what I wanted.
But now I could repackage and leave the folder as system.img.
please help Repack!
Click to expand...
Click to collapse
That's an ext2 partition. Create ext2 image, mount it, write to it, unmount & copy to device. Everything is googleable
And yeah, doing it under Windows is overly hard. You may want to use ubuntu in virtualbox.

Categories

Resources