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
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