[Q] modify /system folder of CWM zip - General Questions and Answers

Hi!
a not properly modified /system folder (add files of another ROM, delete file and so..) of a CWM flashable zip will brick the device or causes a bootloop?
Thanks in advance

Romba91 said:
Hi!
a not properly modified /system folder (add files of another ROM, delete file and so..) of a CWM flashable zip will brick the device or causes a bootloop?
Thanks in advance
Click to expand...
Click to collapse
it can cause a hardware failure never use boot.img/recovery.img that's not made for your device
bricked=bootloader corrupted not anything else if your phone is entering bootloop is not bricked if you see bootloader splash (first image after you open your phone/press power button)
if you are happy it causes bootloop

ruscan.calin said:
it can cause a hardware failure never use boot.img/recovery.img that's not made for your device
bricked=bootloader corrupted not anything else if your phone is entering bootloop is not bricked if you see bootloader splash (first image after you open your phone/press power button)
if you are happy it causes bootloop
Click to expand...
Click to collapse
yes i know i mustn't use boot.img/recovery.img that's not made for my device, i'm talking about add .apk to system/app or some .so files not change boot.img or recovery.img

Romba91 said:
yes i know i mustn't use boot.img/recovery.img that's not made for my device, i'm talking about add .apk to system/app or some .so files not change boot.img or recovery.img
Click to expand...
Click to collapse
will not hurt your device but don't use it because /system files are deeply integrated in framework it simply means will not work or cause a bootloop anyway do a nandroid backup before that's it if you don't believe me just try it !
I suppose you like some system apps from other phone and want to try on yours... well you can try it no problem but do a nandroid backup and be care about replacing /system app by ex if you want to replace phone.apk is not ok will not work if you get it from somewhere
if you just want to add ordinary apps to /system it will not hurt but don't do it because /system partition is not too big not too much free space why to add apps here ?

ruscan.calin said:
will not hurt your device but don't use it because /system files are deeply integrated in framework it simply means will not work or cause a bootloop anyway do a nandroid backup before that's it if you don't believe me just try it !
Click to expand...
Click to collapse
thank you

Romba91 said:
thank you
Click to expand...
Click to collapse
you are welcome to ask me about your problems just send PM (I can't follow every thread here)

Related

build.prop update.zip

Is it possible to make an update.zip file that replaces the build.prop file, or any way to replace the build.prop file without doing a full restore?
I did it using adb commands.
Well I tried using adb shell to swap the file, but when I ran su I got "[1] + Stopped (signal) su"
So I guess I'm going to be forced to do a nadroid restore of my system
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Sent from my GT-I9000 using Tapatalk
Boot loop
Clienterror said:
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Click to expand...
Click to collapse
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
You could just reflash your current ROM and it should replace it.
korockinout13 said:
You could just reflash your current ROM and it should replace it.
Click to expand...
Click to collapse
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
P
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
Actually there is a potential option... can you get into recovery? And does your recovery have a file manager? If so go into mounts and mount /system. Then use the file manager in recovery and you should be able to access build.prop. copy it to your SD and then you should be able to mount your SD to your computer through recovery.
Edit: when you mount /system make sure you mount the SD as well or you won't be able to copy to it while you're in the recovery file manager.
Sent from my SGH-I897 using xda app-developers app
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
remuscat said:
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
Click to expand...
Click to collapse
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
remuscat said:
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
Click to expand...
Click to collapse
BWolf56 said:
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
Click to expand...
Click to collapse
From what I'm reading he doesn't even have a captivate. He's using some Chinese tablet.
Sent from my SGH-I897 using xda app-developers app

[RECOVERY] Fixed CWM v3.0.2.8

I remember downloading this and saving it when I still had the SK4G. It works great, just replace the update.zip on the / of your sdcard to use. Click the THANKS button if you D/L'ed/Used/Referred To/So on...
Just because of the nature of this mod, I cannot and will not be held responsible for any mishaps to your devices and or any of its accessories (SDCards) that in this weird world of ours may just happen. This should not discourage you to use it, just saying.. You break it, You fix/replace it.
LINK: CLICK MEEEEEE
I'll still help you with your device (tech help mostly), if you need anything PM me. (probably only/fastest response)
dude your a life saver im on att and a flashaholic unfourtunatly while me and some pantech flex users are hard at work getting recovery after we successfully rooted our device about 5 days ago i havent been able to flash anything because the new cwm for the sk4g had been taken down everywhere and the koush one is so buggy and wont let me backup or flash i been looking everywhere for this
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
rpmccormick said:
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
Click to expand...
Click to collapse
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
I may be wrong, but I think its due to not replacing the stock binary file with the modded binary file. I'm trying to find it online but krylon's site no longer hosts the file...
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
Make sure you guys are extracting the the zip and putting the extracted recovery into the system/bin, not the whole zip.
You can also use the search and find where I reposted sduvicks fakeflash utility. It will install CWM for you.
In V2 eXDialer have force closes
shadowscott said:
I may be wrong, but I think its due to not replacing the stock binary file with the modded binary file. I'm trying to find it online but krylon's site no longer hosts the file...
Click to expand...
Click to collapse
His page on Android Spin? I used to download it from there .. don't know if its stopped working now :/
I tried sduvick's script but it wasn't working for me so I had to push the files myself.
rpmccormick said:
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
Click to expand...
Click to collapse
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
replace the update.zip on the /root of the SD. No Odin required. Rename to update.zip, and place it straight on your SD.
That did not work until after I rooted it using RageAgainstTheCage
Re-upped by me here:
http://www.mediafire.com/?hn5ikyt6xpn8d9x
After doing that, then it allows the update.zip to work without failing signature check.
EDIT: Then I also used SuperOneClick to shell-root.
-__-
Ok guys the actual problem here is that there is a file missing that you need to push through to your "/system/bin" folder in your SK's root directory.
The missing file is the custom "recovery" binary file that krylon360 created. After doing so, either by ADB pushing the file or copy pasting it with a root file manager, you may boot into recovery then run the 'reinstall packages' command in the stock recovery. This in turn loads the new recovery.....
ALWAYS CHECK YOUR MOUNTS IN CUSTOM RECOVERY. It will save you an accidental pain in the ass. Trust me.
Mounts should look as follows:
----------------------------------------------------------------------------------------------------
-unmount /cache
-mount /data
-mount /sdcard (this sometimes says it is mounted-- not important)
-unmount /system (MOST IMPORTANT. IF IT DOES NOT READ AS THIS SAYS- THEN FIX THAT AND MOUNT IT BEFORE ANY BACKUPS OR WIPES. YOU WILL GET STUCK IN THE SCRIPT)
----------------------------------------------------------------------------------------------------
I will see if I can host the file in my Dropbox. As for the help, it is available in many older posts already. But a hitting that thanks button couldn't hurt ;D
Zydrate_blue said:
Ok guys the actual problem here is that there is a file missing that you need to push through to your "/system/bin" folder in your SK's root directory.
The missing file is the custom "recovery" binary file that krylon360 created. After doing so, either by ADB pushing the file or copy pasting it with a root file manager, you may boot into recovery then run the 'reinstall packages' command in the stock recovery. This in turn loads the new recovery.....
ALWAYS CHECK YOUR MOUNTS IN CUSTOM RECOVERY. It will save you an accidental pain in the ass. Trust me.
Mounts should look as follows:
----------------------------------------------------------------------------------------------------
-unmount /cache
-mount /data
-mount /sdcard (this sometimes says it is mounted-- not important)
-unmount /system (MOST IMPORTANT. IF IT DOES NOT READ AS THIS SAYS- THEN FIX THAT AND MOUNT IT BEFORE ANY BACKUPS OR WIPES. YOU WILL GET STUCK IN THE SCRIPT)
----------------------------------------------------------------------------------------------------
I will see if I can host the file in my Dropbox. As for the help, it is available in many older posts already. But a hitting that thanks button couldn't hurt ;D
Click to expand...
Click to collapse
IIRC, I believe this is the file that everyone wants..
http://www.4shared.com/file/BqnNCX3K/recovery.html
Thank you
I would like to say thanks to you all helping out with this. My lack of signing in here has to do with me not even having an Android-powered device anymore. I sold my SideKick and MyTouch together for about $250. I still come back here and look around every now and then, but see that a lot of you guys have it under control. So, once again thank you.:good:

[Q] help bricked tipo....

Copying framework res didn't suceed please anyone make a flashable zip for frame work res and its odex file.............
Go o cwm recovery restore option advance restore and restore system
Sent from my ST21i using xda app-developers app
It didn'help now stuck at boot logo it says failed restoring /system
Plz help me
I don't have bootloader unlocked can I use flash tool
and also tell me can I unlock boot loader in bricked stage
Use sus or pcc to repair... And yes you can flash stock ftf with locked bl too
Sent from my LT18i using xda premium
What is sus and pcc
jhonny1525 said:
What is sus and pcc
Click to expand...
Click to collapse
Pc companion, and Sony update service.
Though flashtool + ftf should do the job.
Flashtool doesn't need unlock bootloader, unless youre flashing custom kernel (boot.img)
Sent from my ST27i
jhonny1525 said:
It didn'help now stuck at boot logo it says failed restoring /system
Plz help me
I don't have bootloader unlocked can I use flash tool
and also tell me can I unlock boot loader in bricked stage
Click to expand...
Click to collapse
Then use the normal restore to restore everything to your phone. Sometimes just restoring /system under advanced doesn't work.
This will be easier than flashtool, which will completely wipe your phone.
Im right now using a x2
and i dont have intrnet connection
so please tell me a way with very less data usage mobile cant download 272 mb ftf
and 117 mb of tool
jhonny1525 said:
Im right now using a x2
and i dont have intrnet connection
so please tell me a way with very less data usage mobile cant download 272 mb ftf
and 117 mb of tool
Click to expand...
Click to collapse
Just use cwm to restore a back up to your phone. Use the bog standard restore, not the advanced one. If you use flashtool to flash an ftf, it is almost the same as factory resetting your phone and you will have to start from scratch. The only issue you might have with cwm is if the back up you are trying to restore was made with a kernel from a different version of Android or was made with a different version of CWM. In this case, just flash the correct kernel using fastboot and then restore.
If you have a flashable zip of the ROM you were MODding you can either reflash the whole ROM (just wipe cache and dalvik cache). Or if you are feeling adventurous, you can also pull out the framework files you need from the zip and then push it onto your device. Use 7zip (or equivalent) to copy the file you need (framework-res.apk for example) from the zip to someplace on your PC. Since it sounds like your recovery is working, you will probably need to boot into recovery and mount /system, then use something like android commander or adb to push that file onto your device. Make sure it ends up in the right place (probably /system/framework) and then set the permissions to rw-r--r-- and reboot. Android Commander makes this super easy. You can do this on the whole /framework folder but you need to set the permissions to the folder to rwxr-xr-x and then the permissions to every file inside the folder to rw-r--r--.
justmpm said:
Just use cwm to restore a back up to your phone. Use the bog standard restore, not the advanced one. If you use flashtool to flash an ftf, it is almost the same as factory resetting your phone and you will have to start from scratch. The only issue you might have with cwm is if the back up you are trying to restore was made with a kernel from a different version of Android or was made with a different version of CWM. In this case, just flash the correct kernel using fastboot and then restore.
If you have a flashable zip of the ROM you were MODding you can either reflash the whole ROM (just wipe cache and dalvik cache). Or if you are feeling adventurous, you can also pull out the framework files you need from the zip and then push it onto your device. Use 7zip (or equivalent) to copy the file you need (framework-res.apk for example) from the zip to someplace on your PC. Since it sounds like your recovery is working, you will probably need to boot into recovery and mount /system, then use something like android commander or adb to push that file onto your device. Make sure it ends up in the right place (probably /system/framework) and then set the permissions to rw-r--r-- and reboot. Android Commander makes this super easy. You can do this on the whole /framework folder but you need to set the permissions to the folder to rwxr-xr-x and then the permissions to every file inside the folder to rw-r--r--.
Click to expand...
Click to collapse
u r wrong it was wotking before but not now dont tell abt cwm
just tell me if i can read or write by fastboot or flashmode(the one with green led) i cant download so much data of ftf and flash tool
You must download the ftf file if you want to flash through flashmode.
Sent from my LT18i using xda premium
Can i creatr from nandroid u hve backuped in tar format
jhonny1525 said:
u r wrong it was wotking before but not now dont tell abt cwm
just tell me if i can read or write by fastboot or flashmode(the one with green led) i cant download so much data of ftf and flash tool
Click to expand...
Click to collapse
Sorry, but I was under the impression that you had a working version of CWM. AFAIK there is no way to convert your nandroid back ups to something you can write with fastboot or flashmode. If your backups end with .tar then you should be able to use something like 7zip, winrar, iceows, etc to pull out the files that you need from the back up. I would open the archive with your archive viewer and then copy what you need to your computer. Then use adb to push the files into /system/framework or where ever they need to go. If you already have flashtool, you can use the adb that lives in ../flashtool/x10flasher_lib. Look around for the shell commands to mount /system, set permissions, etc that you will need.
I have to use what fasboot or flash to use with adw(please tell full form) and i dont have flash tool
can i download adw with my x2(no intrnet connection only cellular data) what is size of it?
Plz suggest something with less data usage
jhonny1525 said:
I have to use what fasboot or flash to use with adw(please tell full form) and i dont have flash tool
can i download adw with my x2(no intrnet connection only cellular data) what is size of it?
Plz suggest something with less data usage
Click to expand...
Click to collapse
Can you tell me if your bootloader is unlocked, what ROM and kernel you were using, exactly which file in /framework you were messing with, and what happened to your CWM recovery, for example, it would be good to know if you can still boot into recovery and exactly what error you get when trying to restore your nandroid back up. Also, is the back up for the same ROM or a different ROM?
Ok in telling U full history
I was copying framework res mobile fell from my hand it didn't suceed (I have brocken cover) becaus battery came out when I rebooted my phone the boot animation plays for some time and phone hangs at bootanimation I restored using cwm and it it successfully restored boot image when it comes to system it says failed restoring /system after that when I restart my phone it sticks at Sony logo and I can't get into cwm also
So is the story
Bootloader not unlocked and everything was of stock nothing custom I was installing different lockscreen by replacing system res
so nobody ready to help
jhonny1525 said:
so nobody ready to help
Click to expand...
Click to collapse
I PM'd you...did you get it?
i updated using sus but when i turn my phone on it gives me blinking four red leds whem i connect charger it gives me green led and also it automatically connects in flashmode when i connect in usb
justmpm said:
I PM'd you...did you get it?
Click to expand...
Click to collapse
I charged my battery using spider charger (external charger) and my phone is on now I'm using it
Thanx for guiding me
Sent from my ST21i using xda premium

Help please! phone won't boot

So I think I made a stupid mistake.
I was trying to reset google wallet and It hung at 97% and wasn't able to reset. I used the google wallet installer to basically change my build prop to the nexus build prop. I figured it would just overwrite my original wallet app anyway, and once my build prop was changed to the nexus build prop I could simply reset the app from there.
Anyways, phone rebooted and it's stuck in a bootloop and isn't getting passed the boot animation screen. I can get into recovery mode and download mode just fine. I tried restoring a backup I had with CWM and it says "md5 mismatch error". I really have no idea what to do at this point, and would rather not go completely to stock since I know my data is still there. Also I'm concerned to even restore a backup because i'm pretty sure my build prop was changed. I'm also wondering if it would be possible to simply factory reset and flash a new rom on top of it.
Any help would be greatly appreciated.
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Khizar Amin said:
which rom are you using?
extract its build.prop and flash manually (if you know how to create a flashable zip)
if you are using a cm based rom, just reflash the rom without deleting anything..
and avoid using space while renaming backups... it gives md5 mismatch error
Click to expand...
Click to collapse
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
BadUsername said:
No idea how to create the flashable zip. However I did notice a tutorial, I guess now would be a good time to learn.
I'm using darthstalker X1, it's a touchwiz based rom so I can't simply flash the rom again.
I saved all of my backups on my external SD card, can I just simply hook it up to my computer and change the backup names? And is my build.prop included in the backup I made?
Thank you for responding.
Click to expand...
Click to collapse
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Khizar Amin said:
renaming the backups again might not fix
i believe to have seen a script for sgy which fixes md5 mismatch error. but you need to give commands from terminal emulator.
if you have more than one backup of the rom, try to restore system only
if any one of them works your phone will boot up again
Edit: your backups contain the build.prop file in system.(partition type).tar
just extract this
and partition type may be rfs or ext4
Click to expand...
Click to collapse
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
BadUsername said:
No idea how that is even done. I think I need windows and ADB in order to extract the build.prop, I have a mac.
I found a restore that worked, I just forgot to rename it and it wasn't too old thankfully.
I really appreciate you helping. And now I know of this mismatch error so I can name my backups correctly.
Click to expand...
Click to collapse
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Khizar Amin said:
to extract backups u need a tar extractor
if the backup format is something like .tar.a or .tar.md5 rename it to .tar first
and restoring the system only of your working backup would have booted your phone (in advance restore in recovery)
anyway this was an experience too for you.. so you would be carefull next time
Click to expand...
Click to collapse
Restoring my system partition only from advanced restore worked perfectly. All my apps stayed how they were and I didn't have to update all of my apps after I restored. Way better than doing a full restore in this case.
Thank you for this advice, this will be a very helpful method to me if I make any mistakes while messing with anything in my system folder. And yes, it was certainly an experience for me.
Sent from my SCH-I535 using Tapatalk 2

Stock lollipop+root can't copy data back from pc

When I try, it says that its been disconnected, if I use a file manager on the phone it won't let me delete anything off, any ideas on this?
Did you push any data by adb or mtp via recovery?
I copied data via recovery, I take it that's where my problem came from?
you used
adb push backup /data/media/0
Click to expand...
Click to collapse
right?
lowsnamebrand said:
I copied data via recovery, I take it that's where my problem came from?
Click to expand...
Click to collapse
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.
rootSU said:
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.
Click to expand...
Click to collapse
please share the link
kamilmirza said:
please share the link
Click to expand...
Click to collapse
In this thread:
http://forum.xda-developers.com/showthread.php?t=2239421
is a sdcard fix permissions script (flashable zip)
Of course if you can't write to sdcard, you'll either need to adb push / MTP via recovery or using a root explorer, set all permissions to read, write for /data/media/0/Download
That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again
lowsnamebrand said:
That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again
Click to expand...
Click to collapse
Yeah, MTP and ADB via recovery are fine if you need to get a backup on there to restore or some zips to flash, but as soon as you start pushing actual folders, permissions screw up.
Choice is to go through setup wizard and then use Android MTP or push that zip too and flash every time.
Thanks for the info, won't be making that mistake again Lol, side not lollipop is snappy and responsive as all hell

Categories

Resources