[HELP] updater-script - Galaxy Ace S5830 General

I want to know, could I edit "updater-script" with root explorer in "open in text editor"? I have tried to make flashable CWM package and changing a little of "ui_print ("please wait. . ."); " to "ui_print ("Installing App. . ."); " and I tried to flash it using CWM Recovery and It's work's well. I forget, I put "update-binary" too.
My question. can I make a new "updater-script" without edit current "updater-script" with "open in text editor" mode in root exporer?
--------------------
Phone : Samsung Galaxy Ace GT-S5830
ROM : BLACKHAWK
App2SD : Enable with ext4 partition
Themes : Honeycomb

saigetshu said:
I want to know, could I edit "updater-script" with root explorer in "open in text editor"? I have tried to make flashable CWM package and changing a little of "ui_print ("please wait. . ."); " to "ui_print ("Installing App. . ."); " and I tried to flash it using CWM Recovery and It's work's well. I forget, I put "update-binary" too.
My question. can I make a new "updater-script" without edit current "updater-script" with "open in text editor" mode in root exporer?
--------------------
Phone : Samsung Galaxy Ace GT-S5830
ROM : BLACKHAWK
App2SD : Enable with ext4 partition
Themes : Honeycomb
Click to expand...
Click to collapse
I forget, I sign that flashable package using zip-signer. sorry for my English. I'm too stupid.

Related

Create your own Custom ROM

Not my responsibility if you soft brick your phone.
What you need:
1.Kitchen by Dsixda http://forum.xda-developers.com/showthread.php?t=633246
2./system directory of your custom/stock rom.
3.Root access on phone
Root browser https://play.google.com/store/apps/...xLDEsImNvbS5qcnVtbXkucm9vdC5icm93c2VyZnJlZSJd
Root explorer https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&feature=search_result
5.Common sense and half an hour (MOST IMPORTANT)
Instructions:
(I presume that you have already installed Cygwin.)
GETTING SYSTEM FILES
1.Install your preferable Root file browser in your phone.
2.Open and look down for system folder in it.
3.Copy the whole folder on your sd card
OR
1.Open your favourite custom rom and copy the system files in there.I personally used creeds v2.5
(Use this method if you want to test it or you are a lazy kid like me!)
SETTING UP ROM
1.Open Cygwin and type "cd kitchen" and press enter
2.Type "./menu" in it. You will see a menu after that.
3.Go to Cygwin>>home>>user>>kitchen>>original_update
4.Make a folder there named as "WORKING_XXXXX" and put the /system files you obtained in it.
5.Go back to Cygwin and press 1.
6.Press enter once again and select the name of your working folder by pressing the number against it.
7.After this it will ask for naming another folder.Do as you want.
8.Now you have a working folder which is going to become your future rom. Select any options from the menu which you would like to have in your rom.(I have not tested all of them so there is a chance that some of them wont work).
BUILDING THE ROM
1.Press 99 to build the working folder.
2.Go for the interactive mode so press 1.
3.Zipalign them by pressing y. A wall of text would come but dont worry
4.Add updater-script. Again a hell lot of text
5.Press y again
6.Sign your rom by pressing y
7.Change the name of your rom by pressing y
8.Press Enter to finish!
9.Go to OUTPUT_ZIP and open the your rom and go in META-INF fodler.Over here you need to put the updater scripts which you want for your rom. I have tested the scripts from Creeds v2.5 and it installs perfectly. (This is not a necessary step because you can also install your rom with the original META-INF script.)
10.Copy the rom to your sdcard
11.Boot in cwm and wipedata+cache and then install your rom.(Have a backup in hand)
12.It should install perfectly cuz it booted properly in my 9/10 tests.
If you want to customise your rom then look below. It should be done before the building the rom.
UNDER CONSTRUCTION
MORE TO COME: TWEAKS,ICONS,ICS SETTINGS,USEFUL APPS and many other customizations.
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Chairmansaab said:
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Click to expand...
Click to collapse
Where will you install Cygwin then?? xD
Sent from my GT-S5360 using XDA

I can't Delete file in root directory

First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Mount /system as writable using ES explorer. Use Terminal. Use cd command to navigate to the directory, type su to enter su mode, type rm -f file.name to remove the file.
Sent from my Nexus 7
markdoom said:
First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Click to expand...
Click to collapse
I think you haven't rooted correctly, download this app and root check:
Here
If you aren't rooted then try to root again with this guide:
Here
Hit the Thanks button if helped.
Thank you for all comment. and sorry for my delay.
I still can't delete it. but. Yesterday I Flashed new stock rom.
So. logo.jpg file has been deleted
Does the device work after reboot
You have deleted the Bootscreen. Does your device boot anymore?
Does it show your new pcture on power on?

Status 6 Error in CWM

Hi i need help , i tried make a zip for a bootanimation , the zip is signed , my text editor is the Notepad++ , but when i flashing , the following appears:
Code:
--Installing: /sdcard/AOS-281212-signed-lans_98.zip
Finding update package...
Opening update package
Installing update...
E: Error in /sdcard/AOS-281212-signed-lans_98.zip
(Status 6)
Installation aborted.
The code I use is as follows:
Code:
ui_print("Instalando el bootanimation...");
mount("MTD", "system", "/system");
ui_print("Actualizando bootanimation.zip...");
package_extract_dir("system", "/system");
ui_print("Finalizado...!");
unmount("/system");
I need help whit this
Maybe your update-binary is wrong? I had a similar problem last days.
Gesendet vom Samsung Galaxy Gio.
How?
SkyrimBee said:
Maybe your update-binary is wrong? I had a similar problem last days.
Gesendet vom Samsung Galaxy Gio.
Click to expand...
Click to collapse
The update-binary extract for a ROM zip of my device and paste in my zip , its wrong ?
lans_98 said:
The update-binary extract for a ROM zip of my device and paste in my zip , its wrong ?
Click to expand...
Click to collapse
No, that should be the right binary, what phone are you using? Your package extract directory could be wrong to start with, and aside from the update script what did you edit with notepad++?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
No, that should be the right binary, what phone are you using? Your package extract directory could be wrong to start with, and aside from the update script what did you edit with notepad++?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My device is LG-P350 , the update-binary extract from a special ROM for my phone , and paste in the directory of mi zip in:
META-INF --> com --> google ---> android --> here !
What is incorrect ?
PD: Do not alter if i paste first the archive update-binary and after edit the archive updater-script?
lans_98 said:
My device is LG-P350 , the update-binary extract from a special ROM for my phone , and paste in the directory of mi zip in:
META-INF --> com --> google ---> android --> here !
What is incorrect ?
PD: Do not alter if i paste first the archive update-binary and after edit the archive updater-script?
Click to expand...
Click to collapse
No I meant the directory in your installer script (ie, if I were to install a boot animation it would be system/etc; not system/system) thats why I asked if your directory was right. If I remember right, status 6 errors occur when there is an issue with signatures and system apps. Installing to the wrong place would cause an error, or at the least a boot loop.
Sent from my SPH-D710 using xda premium

help please..

I tried to flash tesla rom but was unable to do so using Cwm recovery and now I am not able to flash any rom on my phone.
Whenever I try to flash it says
Symmlinks:some link failed
E:/error in /sd card
Status 7
Installation aborted..what to do
I am using a310
zain.shamsi261 said:
I tried to flash tesla rom but was unable to do so using Cwm recovery and now I am not able to flash any rom on my phone.
Whenever I try to flash it says
Symmlinks:some link failed
E:/error in /sd card
Status 7
Installation aborted..what to do
Click to expand...
Click to collapse
Short way: Try TWRP.
Longer way: uzip the rom, open META-INF/com/google/android directory. You will find a file "updater-script" . Rename that to "updater-script.txt"
With any of your favorite text editor delete line starting with “assert” to next semicolon. Most probably you'll find it at the top.
Save file. Rename back to updater-script. Replace from original. Rezip. And flash.
If none of this work may be you have tried experimenting with partitions.
In that case you need to repartition.

[ Guide ] How to Deodex, Root, Remove KNOX, and Debloat your stock ROM

Hey guys, i just guessing some people out there didn't want to use custom rom because, of course, BUGS, so they stay with stock.
But they also complains about limitations of stock, which is the stock is odexed, knox-enabled, and a lot of useless apps. But don't worry, i'll give you guys a guide to deodex, root, remove knox, and debloat your stock rom.
Requirements:
Put it in your PC
ODIN
TWRP
Your firmware for your baseband
Lordroid Batch Deodexer
Ext4Unpacker
Put it in your phone's external SD card [ Do this first ]
Deodexed flashable zip ( you will put it after you deodex your firmware at your PC )
Knox-Free Script
Titanium Backup Pro [ You'll use this app for debloat ]
Material Emulator [ it's terminal emulator ][ For extra guide ]
[ For Testing ] S7 SystemUI Mod
SuperSU flashable zip
BusyBox flashable zip
Extra :
Xposed Installer
Xposed Framework
Ok, let's get started.
First Guide, Create a Deodexed flashable zip:
Using winrar/any compressed file manager, extract your system.img.ext4 from your firmware
Create a folder named system, then open your ext4unpacker, browse where did you put the system.img.ext4, and extract app folder, framework folder, priv-app folder, and build.prop from system.img.ext4 to system folder
Now open Lordroid Batch Deodexed, tick zipalign and resign APK, and browse your system folder
It'll ask you how many the task should be executed at once, choose 2
It'll take a while, just relax and do something else while waiting
After it's done, click create flashable zip and name your deodexed flashable zip
you'll get your flashable zip at your Deodexer tool folder/ flashable_zips_out
Now put it in your phone, and make sure the rest of second part of requirements are inside your external SD card
Second guide, let's do all of them at once!!!! :
Power off your phone, open ODIN first and reboot your phone to download mode [ Press volume down+Home+Power, after that there will be a warning, press volume up]
Flash your firmware, after flashing done, an android logo appears for applying changes, when it still appears, press volume up+home+power quickly for entering stock recovery mode
after stock recovery entered, choose wipe data and cache partition
choose power down, then enter download mode again
with odin, flash twrp, and enter recovery mode as soon as possible as the flashing is quickly done
you'll be in twrp recovery, for now just reboot to system [IMPORTANT = Don't flash anything yet or get ready for some bootloop on your phone]
Do the first setup, and after that turn off your phone and enter recovery mode again
Now, flash all the flashable zip : order : deodexed flashable zip > [optional=if you decided to install it] ,knox free script, xposed framework, ,busybox, supersu, S7 SystemUI
Now reboot, and sit back and let the magic of deodex doing it.
after your homescreen showed up, congrats, 2/3 part of this guide is completed!!!!!
And.... the last guide is debloat your rom
Install Titanium Backup Pro, Xposed Installer [ if you decided to install xposed ], and Material Emulator
Open Titanium Backup Pro, and give it root permission
Uninstall these apps ( you can add more if you want ) : Drive, Books, Kiosk, Play Music, Google+, Hangouts, Galaxy Apps, S Lime, Galaxy Gift and Smart Manager
Reboot, and congratulations, you've done all the main guide!! Time for the Extra Guide!!!
Extra Guide: Make your SELinux permissive permanently ( useful if you wanna use any Sound Mods )
Open Material Emulator, type su , and give the root permission
Now do this commands per line:
mount -o remount,rw /system
mkdir /system/su.d [ if you find error : su.d already exists, just ignore it ]
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
After you done with it , go to settings > about to see if you have done it right
If it's permissive , then voila!!! you've done all the guides with a big success!!!
Download Links [Zips only, you can search the apks on Google]:
Knox Free Script : https://www.androidfilehost.com/?fid=24052804347792751
SuperSU : http://download.chainfire.eu/999/SuperSU/BETA-SuperSU-v2.77-20160827190633.zip
BusyBox : https://filescdn.com/cqxezkyyc8qr
TWRP : https://filescdn.com/m37eo75ol0b2
Ext4Unpacker: https://filescdn.com/noefidrz00nq
Lordroid Batch Deodexer: https://filescdn.com/qjpm1u4rff9n
Xposed Framework : https://filescdn.com/gbu6e8r2co2n
ODIN : https://filescdn.com/oz8iaxilvzac
S7 SystemUI : https://drive.google.com/file/d/0B0AGKxXT-aJwSGc3a19SXzlnQzQ/view?usp=sharing
:good: Big Thanks to :
TEKHD, Cherniavsky94w, Chainfire , osmOsis, [Has.007, rovo89, dkcldark, and arter97], Fahd95, and lord-ralf-adolf.
Important note: S7 SystemUI, TWRP, & Xposed framework that i provided is only for Lollipop 5.0.2 (spesifically builded for Grand Prime), but the rest is available for all samsung devices
Well
actually no one say thanks to you
so thanks
Very clear and simple guide, and pretty useful,
i am going to do everything, i love to mod my grand prime's system.
Stock SS after all guide done
D.R-Ult.Googler said:
Hey guys, i just guessing some people out there didn't want to use custom rom because, of course, BUGS, so they stay with stock.
But they also complains about limitations of stock, which is the stock is odexed, knox-enabled, and a lot of useless apps. But don't worry, i'll give you guys a guide to deodex, root, remove knox, and debloat your stock rom.
Requirements:
Put it in your PC
ODIN
TWRP
Your firmware for your baseband
Lordroid Batch Deodexer
Ext4Unpacker
Put it in your phone's external SD card [ Do this first ]
Deodexed flashable zip ( you will put it after you deodex your firmware at your PC )
Knox-Free Script
Titanium Backup Pro [ You'll use this app for debloat ]
Material Emulator [ it's terminal emulator ][ For extra guide ]
[ For Testing ] S7 SystemUI Mod
SuperSU flashable zip
BusyBox flashable zip
Extra :
Xposed Installer
Xposed Framework
Ok, let's get started.
First Guide, Create a Deodexed flashable zip:
Using winrar/any compressed file manager, extract your system.img.ext4 from your firmware
Create a folder named system, then open your ext4unpacker, browse where did you put the system.img.ext4, and extract app folder, framework folder, priv-app folder, and build.prop from system.img.ext4 to system folder
Now open Lordroid Batch Deodexed, tick zipalign and resign APK, and browse your system folder
It'll ask you how many the task should be executed at once, choose 2
It'll take a while, just relax and do something else while waiting
After it's done, click create flashable zip and name your deodexed flashable zip
you'll get your flashable zip at your Deodexer tool folder/ flashable_zips_out
Now put it in your phone, and make sure the rest of second part of requirements are inside your external SD card
Second guide, let's do all of them at once!!!! :
Power off your phone, open ODIN first and reboot your phone to download mode [ Press volume down+Home+Power, after that there will be a warning, press volume up]
Flash your firmware, after flashing done, an android logo appears for applying changes, when it still appears, press volume up+home+power quickly for entering stock recovery mode
after stock recovery entered, choose wipe data and cache partition
choose power down, then enter download mode again
with odin, flash twrp, and enter recovery mode as soon as possible as the flashing is quickly done
you'll be in twrp recovery, for now just reboot to system [IMPORTANT = Don't flash anything yet or get ready for some bootloop on your phone]
Do the first setup, and after that turn off your phone and enter recovery mode again
Now, flash all the flashable zip : order : deodexed flashable zip > [optional=if you decided to install it] ,knox free script, xposed framework, ,busybox, supersu, S7 SystemUI
Now reboot, and sit back and let the magic of deodex doing it.
after your homescreen showed up, congrats, 2/3 part of this guide is completed!!!!!
And.... the last guide is debloat your rom
Install Titanium Backup Pro, Xposed Installer [ if you decided to install xposed ], and Material Emulator
Open Titanium Backup Pro, and give it root permission
Uninstall these apps ( you can add more if you want ) : Drive, Books, Kiosk, Play Music, Google+, Hangouts, Galaxy Apps, S Lime, Galaxy Gift and Smart Manager
Reboot, and congratulations, you've done all the main guide!! Time for the Extra Guide!!!
Extra Guide: Make your SELinux permissive permanently ( useful if you wanna use any Sound Mods )
Open Material Emulator, type su , and give the root permission
Now do this commands per line:
mount -o remount,rw /system
mkdir /system/su.d [ if you find error : su.d already exists, just ignore it ]
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
After you done with it , go to settings > about to see if you have done it right
If it's permissive , then voila!!! you've done all the guides with a big success!!!
Download Links [Zips only, you can search the apks on Google]:
Knox Free Script : https://www.androidfilehost.com/?fid=24052804347792751
SuperSU : http://download.chainfire.eu/999/SuperSU/BETA-SuperSU-v2.77-20160827190633.zip
BusyBox : https://filescdn.com/cqxezkyyc8qr
TWRP : https://filescdn.com/m37eo75ol0b2
Ext4Unpacker: https://filescdn.com/noefidrz00nq
Lordroid Batch Deodexer: https://filescdn.com/qjpm1u4rff9n
Xposed Framework : https://filescdn.com/gbu6e8r2co2n
ODIN : https://filescdn.com/oz8iaxilvzac
S7 SystemUI : https://drive.google.com/file/d/0B0AGKxXT-aJwSGc3a19SXzlnQzQ/view?usp=sharing
:good: Big Thanks to :
TEKHD, Cherniavsky94w, Chainfire , osmOsis, [Has.007, rovo89, dkcldark, and arter97], Fahd95, and lord-ralf-adolf.
Click to expand...
Click to collapse
firmware has md5 format and can only executed by Odin. so, how to deodex stock firmware? or how to change firmware to rom?
Other Dimitri said:
firmware has md5 format and can only executed by Odin. so, how to deodex stock firmware? or how to change firmware to rom?
Click to expand...
Click to collapse
plz.. next time don't quote the whole OP :silly: open the md5 with winrar, then extract the system.img.ext4 file
i cant open the md5 with winRAR
Other Dimitri said:
i cant open the md5 with winRAR
Click to expand...
Click to collapse
right click on the md5, click open with...
Other Dimitri said:
i cant open the md5 with winRAR
Click to expand...
Click to collapse
now i can open it haha thanks
---------- Post added at 05:22 PM ---------- Previous post was at 04:47 PM ----------
Is Lordroid Batch Deodex same as Lordroid ONE Deodexer?
Other Dimitri said:
now i can open it haha thanks
---------- Post added at 05:22 PM ---------- Previous post was at 04:47 PM ----------
Is Lordroid Batch Deodex same as Lordroid ONE Deodexer?
Click to expand...
Click to collapse
yup
D.R-Ult.Googler said:
Hey guys, i just guessing some people out there didn't want to use custom rom because, of course, BUGS, so they stay with stock.
But they also complains about limitations of stock, which is the stock is odexed, knox-enabled, and a lot of useless apps. But don't worry, i'll give you guys a guide to deodex, root, remove knox, and debloat your stock rom.
Click to expand...
Click to collapse
hello I read your tutorial and wanna try it to my friend phone, but I'm not really sure that the phone compatible with your tutorial, so I wanna ask some(lot) of things b4 started (pardon about lot of my noob question )
here's the baseband firmware : G530HXCS1BQA1
1. is the bold one means "XCU firmware(fortuneve3g)", kinda confused since its write XCS in here link
2. could you please recommend me good stock firmware version
these are what I understand from your tutorial, please tell me if i'm misunderstand
for the first guide
3. so I have to download stock firmware for my baseband version, then transform it to Deodexed flashable zip using : WinRAR, ext4unpacker, Landroid Batch Deodexed(Lordroid ONE Deodexer)
4. is it possible to put deodexed flashable zip and second part requirements inside internal SD card?
thank you in advance
fanasio said:
hello I read your tutorial and wanna try it to my friend phone, but I'm not really sure that the phone compatible with your tutorial, so I wanna ask some(lot) of things b4 started (pardon about lot of my noob question )
here's the baseband firmware : G530HXCS1BQA1
1. is the bold one means "XCU firmware(fortuneve3g)", kinda confused since its write XCS in here link
2. could you please recommend me good stock firmware version
these are what I understand from your tutorial, please tell me if i'm misunderstand
for the first guide
3. so I have to download stock firmware for my baseband version, then transform it to Deodexed flashable zip using : WinRAR, ext4unpacker, Landroid Batch Deodexed(Lordroid ONE Deodexer)
4. is it possible to put deodexed flashable zip and second part requirements inside internal SD card?
thank you in advance
Click to expand...
Click to collapse
you can do this in any lollipop firmware of Grand Prime
D.R-Ult.Googler said:
you can do this in any lollipop firmware of Grand Prime
Click to expand...
Click to collapse
thankyou, i'll try it as soon as the firmware download finished
fanasio said:
hello I read your tutorial and wanna try it to my friend phone, but I'm not really sure that the phone compatible with your tutorial, so I wanna ask some(lot) of things b4 started (pardon about lot of my noob question )
here's the baseband firmware : G530HXCS1BQA1
1. is the bold one means "XCU firmware(fortuneve3g)", kinda confused since its write XCS in here link
2. could you please recommend me good stock firmware version
these are what I understand from your tutorial, please tell me if i'm misunderstand
for the first guide
3. so I have to download stock firmware for my baseband version, then transform it to Deodexed flashable zip using : WinRAR, ext4unpacker, Landroid Batch Deodexed(Lordroid ONE Deodexer)
4. is it possible to put deodexed flashable zip and second part requirements inside internal SD card?
thank you in advance
Click to expand...
Click to collapse
you can, but i recommend to put it in external sdcard just in case to prevent it got deleted if you wanna do factory reset b4 start deodexing
D.R-Ult.Googler said:
you can, but i recommend to put it in external sdcard just in case to prevent it got deleted if you wanna do factory reset b4 start deodexing
Click to expand...
Click to collapse
I follow your guidance and it work really well
thank you very much the devices rooted flawlessly
thanks
thanks and its great tutorial...
some ask ..
-can this methode use in marsmellow stock rom?
-if not, could you please recommend what methode to use..
Thanks
ademb said:
thanks and its great tutorial...
some ask ..
-can this methode use in marsmellow stock rom?
-if not, could you please recommend what methode to use..
Thanks
Click to expand...
Click to collapse
maybe... but use fulmics deodexer instead
and don't use the test file

Categories

Resources