How to create a PATCH? - Xperia Arc Q&A, Help & Troubleshooting

I want to create my own patch, with apps, chmoded and ziped to auto install at recovery. Because i want to install Root Explorer and some another apks, because some of ROMs dont have file manager, and i without WiFi, its impossible to download a new one.
Please a simple tutorial.
Im on windows, only put ReadOnly file and zip?
Thanks.

Related

Making own .zip files to install from recovery - easy?

How hard is it to make a zip file to install apps from recovery? I know already how to sign .apk packages, so is it the same with a zip file that has apps to /system/app ?
edit this update.zip to include your apk's in system/app
you dont even need to sign it, just turn off verification from recovery before you run the update.

[q] installing stock apps on ultra r5

I'm runnin kings ultra r5 and need the easiest way to reinstall a few stock apps, i have searched so far came up with two methods one is with file manager app. I have es file and astro neither worked the other method i read on was pushing thru adb which is if i'm not mistaken manually typing codes thru the command ??? Which i am really not trying to do can i just flash them thru recovery ? I'm trying to install 2 stock apps which are on my sd card already,i'm running clockwork mod recovery also.... Any help would be appreciated thanks ...............
Place the apks on the root of your sdcard, then use root explorer, enable r/w mode, then move them to the /system/app folder, enable permission by long pressing, then tap to install.
Thanks i did forget to mention apps are in zip file also,same method applies ?
jayo1978 said:
Thanks i did forget to mention apps are in zip file also,same method applies ?
Click to expand...
Click to collapse
Do the method as I said, you just need to extract the apk from the zip file, then you'll be good to go.

[Q] Can you install mods without CWM?

Basically I want to install these mods: http://forum.xda-developers.com/showthread.php?t=1287810
I have the stock rooted kernel (found here http://forum.xda-developers.com/showthread.php?t=1282415) which doesn't include CWM. Is there a way to install these mods without flashing through CWM?
Thanks.
I heard that rom manager now support our phone, it installs latest CWM version 5.0.2.7
I usually use adb push
Looks like you need a custom kernel for Rom Manager to work right now.
Can I just replace the files on my phone with these files and reboot?
use Odin to flash custom kernel with cwm compiled. lostkernel or zedomax's kernel both got cwm.
Sent from my SPH-D710 using xda premium
Yes but can I install these WITHOUT CWM?
romanodog said:
Yes but can I install these WITHOUT CWM?
Click to expand...
Click to collapse
No without custom recovery which is what cwm is you can not flash anything that is not signed by samsung .....you could flash an update through the samsung recovery but everything else will fail signature check .....that is why we use odin and clockwork mod
Sent from my SPH-D710 using xda premium
Technically yes you can. You would have to know how and where to push everything via adb but if you don't know or are uncomfortable I would definitely avoid it.
Hey romanodog you get CWM with stock rooted kernal without having to odin anything. All you have to do is do the following:
1. Go to the thread called " Lets Get Rid of that Yellow Triangle" (http://forum.xda-developers.com/showthread.php?t=1297999)
Note: with the root method you used you wont have the yellow triangle but this is necessary to get cwm on stock kernal.
2. Download and extract the the zip called "chris41g.devphone.org/LoStKernel/FlashzImage.zip" to your desktop or directory of choice
3. now open this folder and delete the file called zImage
4. go to this thread called "Stock Pulled Repacked with CWM5" (http://forum.xda-developers.com/showthread.php?t=1305099)
4. download the StockCWM5.zip file and extract this new zImage to the folder FlashzImage
5. run the bat file
Note: after you replace the zImage you can pretty much follow the how to video done by QbKing77 (thank him) in this thread: http://forum.xda-developers.com/showthread.php?t=1297999
cool thanks man, I will have to try that out
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
mjcollum said:
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
Click to expand...
Click to collapse
Cool! I thought I could do something like that but I wanted someone to confirm, thanks!
I'm pretty familiar with linux but these phones are a whole new world to me.

[Q] HTC Locations' App. on other Custom ROMs

Hi,
I need to install HTC's Locations app on any custom ROM (ie: MyOneV or CM9/CM10)
So any1 can help me with this ?
(i tried it though, by moving these files (from MyOneV5.0FX Removed apks) htclocation.apk,locationpicker.apk,locatiooninstaller.apk in System/app folder bt it didn't worked)
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
ckpv5 said:
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
Click to expand...
Click to collapse
:good:
Thankz
I tried that too, by removing all apks from zip keeping the said three files & flash it in recovery, still it doesn't appeared in apps!
Though i'll try again may b missed something or some file..
I just tried it, it works.
Your filename looks different, attached here the files from the Removed_Apks_RC5.x.zip, I named it to location.zip. Flash in recovery.
It Worked: Thanx

[GUIDE] How to install from flashable zip manually

Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
note if its a new file you need to set permissions of the file
most files in app are rw-w-w however some may vary depending on what file it is
at the end of the day if you have a flashable zip its much better to flash certain things than push to system so if the flashable zip has already been made for you than you might as well use it
One doubt please
Ahmad YH said:
Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
Click to expand...
Click to collapse
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
krsharjun said:
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
Click to expand...
Click to collapse
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Just a confuse
marcussmith2626 said:
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Click to expand...
Click to collapse
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
krsharjun said:
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
Click to expand...
Click to collapse
with root browser you can set permissions of any file - please search how
it depends what framework files you are replacing - you cant just replace with any old file from a different rom - it wont work
if its been designed for your rom or you are modding your own files then thats fine
and a flashable zip takes two secs - you dont need a pc - and iv posted a template loads of times
here is it again - just add any files you want to flash to framework in the framework folder
if you want files to go to the app folder just create a folder in system in the zip called app and put files there
same for any other folder in system
http://d-h.st/sr9

Categories

Resources