[Q] Can we make a signes zip file own are own? - XPERIA X8 Q&A, Help & Troubleshooting

I was thinking if we can make a zip file of our apps like the gapps which we can zip it via recovery.
There are so many roms coming up everyday and you are tempted to test each one of it. But with our basic apps we feel the rom is incomplete
And downloading it from the market or finding and installing via a file manager again and again is very irritating and boring
Can we make our own CUSTOMIZED SIGNED ZIP file file without complex signing??
Thanks in advance

yes you can.

hetunandu said:
I was thinking if we can make a zip file of our apps like the gapps which we can zip it via recovery.
There are so many roms coming up everyday and you are tempted to test each one of it. But with our basic apps we feel the rom is incomplete
And downloading it from the market or finding and installing via a file manager again and again is very irritating and boring
Can we make our own CUSTOMIZED SIGNED ZIP file file without complex signing??
Thanks in advance
Click to expand...
Click to collapse
Well, if you are changing your ROMs like underwear ... head over into the Android Development and Hacking section and grab yourself any tool you're able to find there which can batch-install APKs at the convenience of pushing a button.

You must put all the files you need to system/app folder.
Then use the simpliest script:
Code:
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("system", "/system");
unmount("/system");
You can try with other commands.
Then save this as updater-script in META-INF/com/google/android
Extract attached binary to the same folder as script. Pack it as zip in normal compression and voila
If you need to sign your package search for tools in XDA. There's a lot of them.

hetunandu said:
I was thinking if we can make a zip file of our apps like the gapps which we can zip it via recovery.
There are so many roms coming up everyday and you are tempted to test each one of it. But with our basic apps we feel the rom is incomplete
And downloading it from the market or finding and installing via a file manager again and again is very irritating and boring
Can we make our own CUSTOMIZED SIGNED ZIP file file without complex signing??
Thanks in advance
Click to expand...
Click to collapse
You can try titanium backup it's one of my favorite apps because I often change roms

eagleeyetom said:
You must put all the files you need to system/app folder.
Then use the simpliest script:
Code:
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("system", "/system");
unmount("/system");
You can try with other commands.
Then save this as updater-script in META-INF/com/google/android
Extract attached binary to the same folder as script. Pack it as zip in normal compression and voila
If you need to sign your package search for tools in XDA. There's a lot of them.
Click to expand...
Click to collapse
thanks im trying it now...
also can we put the apps in data partition too? cause i also want to back up some games which i guess we can put in the system...
can i use sign+ to sign the zip??

B.Jay said:
Well, if you are changing your ROMs like underwear ... head over into the Android Development and Hacking section and grab yourself any tool you're able to find there which can batch-install APKs at the convenience of pushing a button.
Click to expand...
Click to collapse
could not find any 1 button tool... can u attach a link which u use or u know?

Yeah. You could extract data as well. Don't forget to mount data and /data. Signing zip files is not necessary to use them (of course, you might do this if you want).
Maybe there is one button ADB tool, but using ADB is really simple. Just download Android SKD, put it on C: drive, copy cmd.exe from windows/system32 folder to platform-tool and run it.
If you will place apk's inside platform-tools just type "adb install" with your phone connected in debugging mode.
Good luck

getting a error of installation aborted

Which status?

Related

I Need Helping Making A Custom update.zip

So I guess my question is, "Can anyone help me?"
I used custom ringtones, and I don't like using them from the SD card, it creates lag, takes longer to load the ringtone, etc, so I keep them on my /system/media folder. Normally to accomplish this, when I install a new ROM update, I edit it and resign it, with my media folder, rather than the ROM's.
My predicament however, is that I don't know how to change the file structure for the update, I know there are files in the update that say, this and this folder exist, where this goes, etc. This is what I don't know how to do.
All I need the update to do is contain the media (/system/media) folder, so I can just add all my ringtones and notifications to this update, and flash it after I flash whatever update/rom, etc, instead of always having to be at my computer to create a custom version of every rom I use.
Could anyone please care to help? I'd be ever grateful.
You can use the attached file.
Just edit the files in the ROM
zip it
put the zipped ROM in the same folder as the attached files
run sign.bat
FLASH
ID# said:
You can use the attached file.
Just edit the files in the ROM
zip it
put the zipped ROM in the same folder as the attached files
run sign.bat
FLASH
Click to expand...
Click to collapse
is this just to be used for signing? i already know how to sign files. i need someone to edit w/e files are inside the rom that tell its structure (this folder exists, and gets flashed here, this folder goes here, etc). i cant just take a cm rom and delete everything i dont need then flash it. it will get errors in recovery.
Make a folder called media in the root of your update, and create the proper descending folders in media (i.e. audio/ringtones, etc). Place your notifications/ringtones/alarms etc in the proper folders. (I am sure you understand this already)
Open your update-script file for the update and add the line
Code:
copy_dir PACKAGE:media SYSTEM:media
That should do it.
Note that if in the update-script you already have an entire system folder being copied over via
Code:
copy_dir PACKAGE:system SYSTEM:
then you need only add the folder media to the folder /system in the update.
cloverdale said:
Make a folder called media in the root of your update, and create the proper descending folders in media (i.e. audio/ringtones, etc). Place your notifications/ringtones/alarms etc in the proper folders. (I am sure you understand this already)
Open your update-script file for the update and add the line
Code:
copy_dir PACKAGE:media SYSTEM:media
That should do it.
Note that if in the update-script you already have an entire system folder being copied over via
Code:
copy_dir PACKAGE:system SYSTEM:
then you need only add the folder media to the folder /system in the update.
Click to expand...
Click to collapse
Thanks man, but my buddy actually just helped me out with this, but yeah thats exactly what I needed to know. Thanks a ton mate

[help] how to make a update.zip???

hey does anyone know how to make a update.zip for a apk???
you need to create an update-script that basically tells the flashing app where the file of your apk goes in the live system.
zip and sign and you're done.
if your next question is "how do I write an update-script" I would suggest you download any of the roms available, extract their script and have a look at it.
its quite basic, not much more difficult than writing a batch file on DOS.
there are a couple of threads that give a few pointers as well but they are somewhere in xda, not necessarily in the nexus section.
search for update-script and you'll see.
nmesisca said:
you need to create an update-script that basically tells the flashing app where the file of your apk goes in the live system.
zip and sign and you're done.
if your next question is "how do I write an update-script" I would suggest you download any of the roms available, extract their script and have a look at it.
its quite basic, not much more difficult than writing a batch file on DOS.
there are a couple of threads that give a few pointers as well but they are somewhere in xda, not necessarily in the nexus section.
search for update-script and you'll see.
Click to expand...
Click to collapse
thanks mam ill give it a try
Remove the .txt extension or use the META-INF folder in the .zip that already has the same update-script in it or finally, you can use the empty update.zip which already has all the components in it, you just need to add your .apk's and .jar's to it.
This is a basic update script that works well for themes (or at least for me it does). In your .zip have META-INF (for the update-script) folder (take one from a ROM or theme) and an app and a framework folder and it will work.

Replacing .apk files?

I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
NViouz said:
I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
Click to expand...
Click to collapse
First, you're not going to brick your phone.
Second, I don't know how CSDI works. Try it and find out.
NViouz said:
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
Click to expand...
Click to collapse
No. Maybe if you remount /system in read-write, even then it's probably easier to try it by just replacing and resigning.
I know in donut, you can just replace it without any problems (like other system apps depending on it). Don't know about anything else.
Edit:
1. unzip and copy Phone.apk to /sdcard
2. remount system rw
3. cat /sdcard/Phone.apk > /system/app/Phone.apk
4. rm /system/app/Phone.odex (only do this if there is a Phone.odex file)
Click to expand...
Click to collapse
There's what the thread says about installing it, have you tried? (Nandroid in case that ROM doesn't like it.)

[Tool] Inject Apps to ROM for Installation

If you're like me, you probably have installed a new ROM at least once a week. I usually use Titanium Backup to restore all my Apps, but it takes quite a long time since I use a lot of Apps. Also, if you don't have the Pro version of Titanium Backup, you will need to click through the Install button for every App you want to install.
This program is a simple way to fix that. What it does is it injects you Apps as part of the ROM when you install a new ROM. This way, as soon as you install your ROM, your Apps will already be installed as part of the ROM.
I have only tried this with the latest Team Whiskey Onyx ROM, but it should work with most, if not all ROMs.
Also, not all Apps can be installed this way, especially if you try to include the data. YMMV.
INSTRUCTIONS
Prepare your computer
1. Install Java JRE and SDK.
2. Install 7-Zip. It can be found here: http://www.7-zip.org/
3. Download Testsign.jar. It can be found here: http://www.robmcghee.com/android/creating-an-android-update-zip-package/. Download the file "Testsign.zip" and extract it. Testsign.jar should be in there. You will need this later.
4. Set up your windows Path Environment.
a. Go to your Control Panel and open "System."
b. For Windows 7, you will need to click on "Advanced System Settings."
c. Go to the "Advanced" tab.
d. Click on the "Environment Variables" button.
e. Under "System Variables" find "Path." Select it and click on the "Edit" button.
f. A window should pop up a field for "Variable value." In there, you will want to add your 7-Zip and Java SDK bin path. At the end of "Variable value," add (without the quotes)
";C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\7-Zip"
It might be slightly different for you if you're not using a 64-bit Windows. Basically, this step is to allow you to run the Java and 7-Zip command-line tools from anywhere in your system.
5. Reboot your computer.
6. Test to make sure you can run the Java tools and 7-Zip tools. Do this by running "cmd." A command-line prompt should appear. In there, type "java" and hit enter. The usage info for running java should appear. Now type "7z" and hit enter. The usage info for 7-Zip should appear. Your computer is now set up to run my batch file.
Prepare your Apps
WARNING: Not all Apps work using this method, and not all data can be restored using this method. If it doesn't work, you can restore it using Titanium Backup and it should work fine. Once you find that a certain App doesn't work, you should probably remove it from your App/Data folder (read below) so it doesn't install next time using this method.
1. Get all your APKs and data. The easiest way I know how to do this is by using Titanium Backup to make a backup of all my Apps.
2. Use Titanium Backup and back up your Apps.
3. Inside your SD Card, you should have a TitaniumBackup folder. All your Apps and data are in here. Every App you have backed up in Titanium should have 3 files. A .properties file, a apk.gz file, and a tar.gz file. The apk.gz file will contain your APK. The tar.gz file will contain your data. You can extract these files using something like WinRAR.
4. Extract your APKs and put them in a folder called "data\app". Extract your App's data and put them in a folder called "data\data". Your "data\data" should look something like this "data\data\com.appname".
5. Once this is complete, you can use this APK/data set for any future ROMs.
Create your ROM with your Apps
1. Put AppToROM.bat, testsign.jar, your data folder, and your ROM's zip into the same folder.
2. Drag your ROM's zip onto AppToROM.bat.
3. The batch file will now start creating your new ROM for you. It will do the following steps:
a. Extract your ROM.
b. Copy your data to the extracted ROM folder.
c. Zip everything back up.
d. Sign the new Zip.
4. When everything is done, you should have a "NewROM.zip" file. Use this new Zip file to install your ROM like you normally would.
Disclaimer:
I take no responsibility for any harm that this may do to your device. All of the tools here, except the bat file, I did not write. I just created a bat file that puts all the tools together to make it easier to install your Apps after installing a new ROM.
or you could just open your update.zip and place your apks in system/app re-zip and flash. Done this multiple times and it works. just need to keep a copy of your apks on your computer. ill try this method tonight. thanks
If you put it into "system/app" it will install it as a System app, and I believe you can't uninstall it regularly (kind of like how you can't install the bloatware). You will need to use Titanium Backup to uninstall it.
Also, I remember reading that some people were not able to install the ROMs after zipping it up because it's not signed.
This script is very simple. It basically just unzips the ROM, copies over your apps, zips back the ROM, and then signs it. Once you have your Windows set up, you can just drag and drop the ROM to the .bat file and it'll do all that for you.
Is this useless? Maybe. But, the same could be said for something like RyanZA's OCLF. You can sit there, type in all the commands to convert to EXT2, wait for it to convert, and reboot, or you can just run OCLF (which is basically just running a script for the conversion, to put it simply).
blackerwater said:
or you could just open your update.zip and place your apks in system/app re-zip and flash.
Click to expand...
Click to collapse
Why not just put them into data/app instead?
or you could just...
Or you could just download a pro version of titanium backup so that it can restore all your apps without you needing to click. There are plenty to be found online. The latest version, the better, as it would be more stable with froyo
So doing things this way... since it will be signed, i can also take other things out form other roms that i like and toss them in this rom??
I have titanium paid version. Just run it and it does everything
Sent from my SGH-T959 using XDA App
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
That's really a good idea. I like the method very much, it give me more free time to do some other things when flashing...Thanks !
Anderdroid said:
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
Click to expand...
Click to collapse
Ditto. This seems way more complicated then the method I've been using. You say it's simple that there are like 20 steps.
yeah and CWM has the option to toggle signature verification.. so you can flash unsigned apps on the vibrant.. but if you use 7zip it doesnt mess with the sig...
epakrat75 said:
Why not just put them into data/app instead?
Click to expand...
Click to collapse
Or that should work. And as for signing problems I us ubuntu and ive never had that happen but I guess with windows anything is possible.
Sent from my vibrant
Etrnaly said:
If you put it into "system/app" it will install it as a System app, and I believe you can't uninstall it regularly (kind of like how you can't install the bloatware). You will need to use Titanium Backup to uninstall it.
Click to expand...
Click to collapse
$adb shell
$su
#rm /system/app/CrappyBloatwareAppOfChoice.apk
Done.
No need for titanium.
Sorry for the noob question
Anderdroid said:
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
Click to expand...
Click to collapse
When you say your apps do you mean your .apks thanks

[HOW TO] Cook your own ROM.

Hey guys, I am going to make a new thread about cooking, since I receive a lot of requests on HOW TO cook your own ROMs. I am always glad to help, but since those are always pretty much the same questions, I am going to gather all the information I have got about it in one simple thread, so everyone who is interested in cooking new ROMs for our device can get an easy start
I wanna start with really basic stuff and slowly come to more and more "complicated"/detailed information. I am still pretty much at the beginning of cooking, especially when it comes to kernels and stuff, but I think I will learn from it as well
But first of all, where do you begin with?
Pretty simple, with either installing a stock ROM and make your own ROM directly from this, or simply download a .zip ROM of your choice.
Either you take CM or a stock ROM like V20n from the repack of my nandroid by Redy.
Maybe you also want an already cleaned/deodexed ROM to start with. Grab them HERE
But watch out, cause this MIGHT contain bugs.
You can also grab any other flashable .zip ROMs out there, that you wanna modify.
For the second possible startpoint, you already will need dsixda's Android Kitchen so grab it and set it up, cause you will also need it for more advanced cooking/and even already some very basic steps. The kitchen simply provides a lot of scripts, that allow you to apply tweaks/mods very easily, without having to do it all manually.
A guide of how to set up kitchen for our device, will come. But I think the one in the thread should be enough for now.
Then you wanna flash a stock ROM, like one of these: http://forum.xda-developers.com/showthread.php?t=1480392
If you use other stock ROMs, you will need to root them, install ClockWorkMod and make a nandroid.
The Nandroid is, what you ll need to start. Copy it from your sd card (scard/clockworkmod/backup/THE-DATE-YOU-CREATED-IT) to your PC.
Then take system.ext4.tar/system.ext3.tar and boot.img and put it to your working folder of kitchen. Working folder path should be similar to this: C:\cygwin\home\USERNAME\kitchen\original_update.
Then start kitchen, by going to cygwin, cd (change directory) to the directory, where you can find the file menu.
Then type ./menu and kitchen will load.
1. Push "1" to set up the working folder.
2. Press enter, if you already added the needed files to working folder.
3. Select "1" again. Or if you already have got more ROMs in there, choose the one, you desire most. ENTER
4. Push "y" and give the folder a name, you will recognize, e.g. V20n if you cook a v20n ROM. ENTER
5. Chill
5.1. DO NOT I REPEAT, DO NOT convert updater-script to update-script! Otherwise your ROM wont boot! So type 2 and hit ENTER.
6. Press "Enter"
8. Now you can enter your Working_Folder (in .../kitchen/Working_FolderName) and e.g. delete /apps, apply tweaks,...
7. Select "99" to build a new flashable ROM. (How to apply tweaks will come later)
8. Select "1" except you know, what you are doing.
9. You can already zipaligne the apk files, but since you wanna do some more modding, push n in order to save time.
10. Push "y"
11. Sign your ROM by pushing "y"
12. Rename it, in order to be able to identify it again, even if you cook more ROMs parallely, so push "y". And then enter the epic name of your ROM
13. Find the ROM in: C:\cygwin\home\USERNAME\kitchen\OUTPUT_ZIP or whatever you called your folders.
Now it's time to get it on. First thing, most of you might wanna do, is to remove all the apps you dont need.
Find lists of removeable files HERE
or HERE.
In order to be able to remove them, you either need a packer like 7zip, but I always simply extract the .zip file, cause it is easier to operate and probably also faster. You will get the following folders:
-META-INF (Dont TOUCH IT! Except you know EXACTLY what you are doing
-system
-boot.img
In system folder, you can find the folder app. Here you can find all the files you wanna remove.
Next step will probably be, that you wanna add some tweaks and mods.
Therefor simply look around in the Dev section and choose whatever you like.
I ll list some of my personal favourites:
- Change the lockscreen: Either take one of these file or simply modify the build.prop, like Huexx found out HERE
- Add eRecovery by Huexxx
- Fix Audio Bug in CM
- Enhance Scores on benchmarks
- Add/remove build.prop tweaks
- Replace libsqlite.so BUT WATCH OUT, this breaks bluetooth file sending. If you only cook for yourself, extract the one from Zeus ROM, if you wanna release your ROM, ask Huexxx, before using his file.
Whenever you wanna try to flash your ROM, you ll first have to pack it and then sign it. Simply mark the folder system, META-INF and the file boot.img and click on add to .zip file. Best method to begin with is storage,because it "compresses" fastest. Then you already have a flashable .zip, but in order to flash it, you ll also have to sign it. Here is the simple way, I am doing it: http://forum.xda-developers.com/showthread.php?p=6232592. Just set it up, like it is said in the thread. Then right click your .zip ROM and click on sign this file. Wait till a popup comes up that tells you the file has been signed and find the new folder. The folder is called "Signed files" and in there, you can find the signed version of your ROM.
Here is a second possible solution.
Now you can flash it and test your new custom ROM.
If your phone gets stuck in a bootloop, you ll have to unbrick it. Look it up in my noob how to do it, there are several ways you can do it. The most simple is to set up adb and simply send the command adb reboot recovery to the phone.
To be able to fix errors, I think it will be best, if you always only make one change at a time and flash it directly afterwards. Then you can
More coming Have fun so far and if you experiance problems, while cooking, post it here, so I can correct the thread/add new cool stuff dsixda's kitchen thread will be posted in the next couple of days. Also, how to add cust kernels. Maybe a dev can help me, on how to compile one's own.
Oh I almost forgot: I am not responsible, for any damage, you do to your phone, bricking, not waking up, because you messed the alarm clock, bad food you made yourself, smelling feet, wars, bad films,...
dsixda's Android Kitchen guide coming here:
Like zipaligne, deodex, replace the kernel, ...
Going to edit this a bit tonight Hope you ll enjoy it
Reserved 10 CHARS
There are a lot a of cooking tutorials already in xda, instead you could make a collections of links to tutorials already out there.
Enviado desde mi LG-P970 usando Tapatalk
Thanks N00BY0815
I actually tried to cook a rom yesterday but bricked my device.
Dont hesitate to post links here, I will add em up there, if necessary, or already modify them to fit our device
It's a great idea N00by I have your tips yet but for others noobs (I'm too!) it a good thing to debut developping a ROM! I just meditate : do you think it is possible to create a topic where everyone could post his/her work?
Sent from my LG-P970 using XDA
hi... I had a couple of question to ask:
1. what If I want to add eg. erecovery by huexxx... I download the zip file, and extract the 2 files in the folder /system/bin and extract it to my /system/bin folder... is that step are right ? or do I have to add the updater-script to add permission of that 2 files
2. And what if I delete the default LG launcher and copy zeam.apk to /system/app does the system automaticaly detect zeam as a launcher, or do I have change the script?
thanx...
About the launcher, you simply have to delete one and add another one. To be on the safe side, I always renamed the new launcher to the old ones name, but the other solution works as well.
About eRecovery, idk, I need to confess, should work without, but I think you need to try. If it doesnt work, add these lines to updater-script:
set_perm(0, 0, 0755, "/system/bin/pvrsrvinit");
set_perm(0, 0, 0755, "/system/bin/pvrsrvinit2");
What if I take the stock Gingerbread launcher and replace with LG's stock one by just renaming it or overwriting it?
Will it work ??
ok I bricked my phone 5 times while trying cook my own rom... so I gonna back again from square one... Delete all my previous work and start again
V.0.2 Using v20N from redy, open dsixda, just zippalign, using updater-script from dsixda... test... result... When flashing my ROM I get the error "mount expects 4 args got 3"
V.0.3 using redy's original updater-script & update-script fille copy to my V.0.2 rom.. result... working perfect
V.0.4 Deodexed all files, except 3 files... result: missing market android
V.0.5 Delete bloatware and add google market apk (vending.apk)... result... good... I'm gonna use it to check the stability of this rom...
N00BY0815 said:
About the launcher, you simply have to delete one and add another one. To be on the safe side, I always renamed the new launcher to the old ones name, but the other solution works as well.
About eRecovery, idk, I need to confess, should work without, but I think you need to try. If it doesnt work, add these lines to updater-script:
set_perm(0, 0, 0755, "/system/bin/pvrsrvinit");
set_perm(0, 0, 0755, "/system/bin/pvrsrvinit2");
Click to expand...
Click to collapse
And if i add other apps that there isn't on default system, eg. OI File Manager, the app is installed automatically when i put it on system/app?
And if i want to put the beats audio mod, It's only necessary to put the file in the correct folder?
For the apps it's true, but its always better not to put too many new apps in there, since I think they cant be updated.
About beats audio, I think putting in the right folder should be enough, but pls check the updater-script and if needed add the corresponding lines to the updater-script of your ROM
Hum.... I'll try this... Worst that can happen?
s1ck82 said:
Hum.... I'll try this... Worst that can happen?
Click to expand...
Click to collapse
Worst that can happen is, you have to unbrick your device... At least as long as you dont REALLY mess it. But as long, as you stick to the guide you wont have problems I think And the unbricking guide is in my noob how to, so basically nothing can happen Just do a nandroid and your back to normal within 10 minutes
Hi... I always get trouble when using updater-script & update binary after build my rom from cygwin...
some times I get the error "mount expects 4 args got 3"
and I already changed my update-binary files from folder update_files folder...
but when I flash again CWM error (7) or sometime error (0)
sometime the resolution is to copy the update-binary and updater-script from previous Redy's rom
But now I want to make add /data/app functionality in my custom rom... and if I using update-binary and updater-script from previous Redy's rom it doesn't work...
I think the problem is in my updater script file created by cygwin:
Code:
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
show_progress(0.900000, 30);
format("ext4", "EMMC", "/dev/block/mmcblk0p8");
mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
I think it is missing "format" code, because it mounts system and data, but only format system...
and now i dont have a clue...
Try using a virtual machines.
Trolling in the deep
Pls gimme the full updater-script. And always watch to change update-script back to updater-script.
Because lines like these, I think are unreadable for some devices...
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
should look like this:
mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/system");
other mountpoints (e.g. for data) can be found by typing mount into terminal emulator.
Hope you get it working and I somewhen find time to make a step by step guid for kitchen
N00BY0815 said:
Pls gimme the full updater-script. And always watch to change update-script back to updater-script.
Because lines like these, I think are unreadable for some devices...
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
should look like this:
mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/system");
other mountpoints (e.g. for data) can be found by typing mount into terminal emulator.
Hope you get it working and I somewhen find time to make a step by step guid for kitchen
Click to expand...
Click to collapse
ok this is updater script from cygwin
Im still trying to mod it but get another bootloop
If you have any free time, N00by, could you tell us if/how we can use the google ADV Manager to simulate our cooked ROM ?

Categories

Resources