How can i remove Prerooting system file from a Custom Rom? - General Questions and Answers

I have downloaded a Custom Rom From a site but while i flashing the Rom its sayed that "Rooting Device" and after few moments its sayed "set perm:-failed for some reason" and "Installation aborted" Now i think if i would remove the Prerooting file from the Rom file...that can be helpfull but i don't know how to remove a preroot system directly from the Custom Rom! Will anyone help me? to get rid from this problem?

mahmudulhasan3511 said:
I have downloaded a Custom Rom From a site but while i flashing the Rom its sayed that "Rooting Device" and after few moments its sayed "set perm:-failed for some reason" and "Installation aborted" Now i think if i would remove the Prerooting file from the Rom file...that can be helpfull but i don't know how to remove a preroot system directly from the Custom Rom! Will anyone help me? to get rid from this problem?
Click to expand...
Click to collapse
I'm not quite sure if this will work but unpack the zip and go to:
META-INF > com > google > android
Open "updater-script"
Scroll down to the bottom and remove any lines that has "SuperSU" and "root" in it, save the file, repack the ROM and flash again
Sent from my LG-D722 using Tapatalk

Related

[I9003][CWM] Deodex XXKPE with Update.zip

Clear Deodex ( whithout Vanila and other MOD )
How To:
1. Instal CWM
2. Instal Root
3. Copy Deodex_XKPE.zip to External_SD ( Deodx_XKPE.zip for Mediafire.com )
4. Apply Deodx_XKPE.zip with CWM
"mounts and storage" -->
" - mount /system" (3-я строчка) -->
Back -->
"install zip from sdcard" -->
"choose zip from sdcard" -->
Search " - Deodx_XKPE.zip" -->
" - Yes - Deodx_XKPE.zip" -->
Reboot system now
leovitiaz said:
Clear Deodex ( whithout Vanila and other MOD )
How To:
1. Instal CWM
2. Instal Root
3. Copy Deodex_XKPE.zip to External_SD
4. Apply Deodex_XKPE.zip with CWM
Click to expand...
Click to collapse
Thanks ...but would suggest you to upload the file to a place which has instructions in english and not russian
Change filehost
thanx.... checking
nt worked....
i think in xxkp3 we r getting staus 0 problem while applying update.zip
Aaditya2 said:
nt worked....
Click to expand...
Click to collapse
ReUpload DepositFiles , try again.
not opening, getting error with zip file.
FAIL
File works, tested, Redownload
deodexing is nt done after all procedure.... what to do?
hello
i'm a newbie to android, and got an i9003
i tried to solve the gps lock issue, following various hints described in the forum, with no luck
finally, i followed the guideline for flashing the rom from the following topic:
http://forum.xda-developers.com/showthread.php?t=1190163
and now, there are no problems
i rooted the phone, using superoneclick, restored my programs from froyo with titanium
i installed cvm from this topic http://forum.xda-developers.com/showpost.php?p=16169086&postcount=590
and i tried to deodex, more than one time so to say, but whenever i use root explorer to view system/apps afterwards, i still see the .odex files.
in the cvm, i use the following method:
"install zip from sdcard" --> "choose zip from sdcard" --> Search " Deodx_XKPE.zip" --> " - Yes - Install Deodx_XKPE.zip" --> Reboot system now
What am i doing wrong?
Thanks for the help in advance.
riddevi said:
hello
i'm a newbie to android, and got an i9003
i tried to solve the gps lock issue, following various hints described in the forum, with no luck
finally, i followed the guideline for flashing the rom from the following topic:
http://forum.xda-developers.com/showthread.php?t=1190163
and now, there are no problems
i rooted the phone, using superoneclick, restored my programs from froyo with titanium
i installed cvm from this topic http://forum.xda-developers.com/showpost.php?p=16169086&postcount=590
and i tried to deodex, more than one time so to say, but whenever i use root explorer to view system/apps afterwards, i still see the .odex files.
in the cvm, i use the following method:
"install zip from sdcard" --> "choose zip from sdcard" --> Search " Deodx_XKPE.zip" --> " - Yes - Install Deodx_XKPE.zip" --> Reboot system now
What am i doing wrong?
Thanks for the help in advance.
Click to expand...
Click to collapse
Did you restore the systems files as well while restoring from TB?
I tried deodexing right after rooting with SOC, and before I started restoring with TB.
With TB, I only restored a dozen or so programs, like Astro, AndFTP etc.
guys, how can i enter cwm mode?
the one with black background and green text?
riddevi said:
hello
i'm a newbie to android, and got an i9003
i tried to solve the gps lock issue, following various hints described in the forum, with no luck
finally, i followed the guideline for flashing the rom from the following topic:
http://forum.xda-developers.com/showthread.php?t=1190163
and now, there are no problems
i rooted the phone, using superoneclick, restored my programs from froyo with titanium
i installed cvm from this topic http://forum.xda-developers.com/showpost.php?p=16169086&postcount=590
and i tried to deodex, more than one time so to say, but whenever i use root explorer to view system/apps afterwards, i still see the .odex files.
in the cvm, i use the following method:
"install zip from sdcard" --> "choose zip from sdcard" --> Search " Deodx_XKPE.zip" --> " - Yes - Install Deodx_XKPE.zip" --> Reboot system now
What am i doing wrong?
Thanks for the help in advance.
Click to expand...
Click to collapse
before applying Deodx_XKPE.zip you have to mount /system from the CWM menu
dreadian said:
guys, how can i enter cwm mode?
the one with black background and green text?
Click to expand...
Click to collapse
Turn off your phone>hold volume up+home button+power button>after you feel the vibration release the power button while holding the other two buttons.. Don't release the two buttons unless you see the cwm..
Sent from my GT-I9003 using XDA Premium App
getting error: e : cant mount /cache/recovery/ command ecc....
how can I fix this?
deodexing not done... vat to do?
I get signature verification error
I also had the same error

[Q] Problem in installing my custom rom made through android kitchen

I am getting and error when flashing my custom rom which i made through android kitchen. i am a beginner to this.
Error is like:
Error in update.zip
(status 0)
Installation aborted
Can anyone help me on this?
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Thanks
SifJar said:
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Click to expand...
Click to collapse
Hey Thanks for your support.
shekhutanwar said:
Hey Thanks for your support.
Click to expand...
Click to collapse
Did it work?
SifJar said:
Did it work?
Click to expand...
Click to collapse
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Let me explain you clearly what i am doing.
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
shekhutanwar said:
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
Click to expand...
Click to collapse
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
SifJar said:
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
Click to expand...
Click to collapse
Ok, i am trying this then will let you know.
I didn't worked friend, this time it gave me (Status 7) error.
shekhutanwar said:
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Click to expand...
Click to collapse
No. And you can't emulate real hardware on emulators.
shekhutanwar said:
I didn't worked friend, this time it gave me (Status 7) error.
Click to expand...
Click to collapse
Well, 7 > 0, therefore it's better
In all seriousness, I think this means it's probably getting further than before, but there's some other problem with the ROM. I don't know the various status error codes, I just recognized 0 as one I'd come across before. I'm afraid I can't be of any further assistance I don't think.
EDIT: From here: http://forum.xda-developers.com/showthread.php?p=30415128#post30415128
Solution:- One or some of the prerequisite requirement for the needed upgrade is missing or corrupted . So you may need to identify and replace that requirement for the installation to continue. Most likely could be due to wrong bootloader, wrong CWM, Wrong IMEI, Wrong Radio etc
Click to expand...
Click to collapse
Ok thank u fr ur help again. I learnt abt the edify script and i corrected some mistakes but still its not working. I will try to find out the solution myself.
Sent from my HTC Explorer A310e using xda app-developers app
Here is my edited updater script
Pls anyone check this updater script, its giving me status 0 error while installing rom.View attachment updater-script.txt
invalid filetipe of rom in cwm
shekhutanwar said:
1. I extraced rom.zip file from htc explorer ruu.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in working folder
boot.img
system
meta-inf
4. I selected the option 99 in kitchen menu that is building a rom.
5. After successful completion i got a zip file in output folder.
6.then, i copied that update.zip file from output folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
error in sd-card/update.zip
(status 0)
installation aborted.
now i dont understand why it is giving me an error even i have not touched any file from the working folder.
Am i doing it wrong? Pls help me.
Click to expand...
Click to collapse
i did same steps but i recieved another error. After checking the cwm log i saw error 304 with text invalid file like zipminizip but i see in explorer the file is zip tipe, i dont know why my cwm see zipminizip filetype. If anyone know what to do please help. Maybe i should change my cwm but til now was no problem with my cwm. I have zte blade. Thx.ko
I think this is the error....
When you setup a working folder then change your updater-script to update script... ( search for the option to change it) if you want to make some changes in update-script Do so and then build your rom... the update-script will automatically be changed to updater-script .. now place the rom and flash.. If any problem feel free to ask :thumbup:
Sent from my HTC Explorer A310e using xda app-developers app

Current OTA Update for US tablets

I posted this in the "General" forum and didn't get any response, so I thought I would post it here. I apologize if this is the wrong forum for this.I figured may Moscow Desire, Vorbeth, or someone else may have a suggestion. Thanks in advance for your assistance!
"I have my tab rooted and bootloader unlocked. I used OTA Rootkeeper to temporarily unroot. The OTA update downloaded and attempted to install but failed. I downloaded the update again and saved it to my extra SD card. I then used CWM recovery to attempt installation again. Failed again. I am thinking that maybe the unlocked bootloader or CWM is causing the failure. Anybody have any ideas or input? Thanks!"
delete the first line in updater-script and it should work
if not than it´s possible that your not on the right version or you have to remove all check line´s and install then
please upload and post the update here for other users which are not able to download it. thx
How do you save the update to the external SD? I only get the option to download, and the file seems quite hidden from me.
Where is the OTA update stored at- read this to find out
ExtremeRyno said:
How do you save the update to the external SD? I only get the option to download, and the file seems quite hidden from me.
Click to expand...
Click to collapse
You can save the download by choosing the "Later" option when prompted to install. Then you can go to the root directory of the device to the \cache\fota_dn directory and the update will be there. From there you can copy it and save it elsewhere on your eternal-SD card of wherever. if you choose to "Install now" option, and the update fails, the OTA update is not left in the \cache directory.
I always choose to "Install later" so I can keep a copy of the OTA update. Hope that helps!
meier2009 said:
delete the first line in updater-script and it should work
if not than it´s possible that your not on the right version or you have to remove all check line´s and install then
please upload and post the update here for other users which are not able to download it. thx
Click to expand...
Click to collapse
Thanks for the reply, but I think this is a little beyond my skillset level and I don't want to mess something up! I'm not sure how I cna upload the OTA update to this forum, but if you tell me, I will be glad to do it!
http://www14.zippyshare.com/v/40506917/file.html
That's the original OTA file. I'm not comfortable editing anything.
Thanks, bidniss for letting me know how to catch those OTA files.
EDIT:
Okay, I edited my updater-script (not the file above) and tried to install from CWM. Failed at "apply_patch_check("/system/app/LinkToFacebook.odex".)" with a big string of numerals and letters. I assume mine failed because I have deleted the Facebook link. Will try to restore it on my system and attempt update again.
Recovered my app backups and tried to install update again. This time it failed at "apply_patch_check("/system/lib/modules/bcmdhd.ko" ...). No clue what that is, but after a quick search I found it has to do with wifi? and is in the kernel..Which I'm running the modified version of....So...Dang.
Screw it..Figured while I was already tinkering I might as well just install CM10. It's pretty sweet, by the way.
i will download it and remove all the checks, than you can try again, so i did it some time ago
Gesendet von meinem A700 mit Tapatalk 2
edit: hier is the updater-script
change to the one in your zip an it should run through!!! but MAKE A NANDROID BEFORE.
if your on the wrong version it MAY be you screw up your sys because it looks like the file checks didn´t match.
did you do any patch before the OTA Update?
meier2009 said:
i will download it and remove all the checks, than you can try again, so i did it some time ago
Gesendet von meinem A700 mit Tapatalk 2
edit: hier is the updater-script
change to the one in your zip an it should run through!!! but MAKE A NANDROID BEFORE.
if your on the wrong version it MAY be you screw up your sys because it looks like the file checks didn´t match.
did you do any patch before the OTA Update?
Click to expand...
Click to collapse
No patches. I am on the OTA JB version Acer_AV051_A700_RV09RC08_PA_CUS1 Build number: Acer_AV051_A700_1.034.00_PA_CUS1
My tablet has an unlocked bootloader and is rooted. The update fails. I am turning off the root with OTA Rootkeeper. I get a message that says, "failed to verify whole-file signature"
"signature verification failed"
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
"Error in /cache/acer_ug/update.zip"
I am using CWM v6.0.1.5 to install the update.
Does this shed any light that may help?- Thanks!
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
this is first line in updater, if you remove, this error shoul not aplly again
if other check errors apear then you have to remove all of the checks, like i did in the updater-script, which i added in my post.
else try to disable verification check in CWM
and also look here and try this http://forum.xda-developers.com/showthread.php?t=1810687
meier2009 said:
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
this is first line in updater, if you remove, this error shoul not aplly again
if other check errors apear then you have to remove all of the checks, like i did in the updater-script, which i added in my post.
else try to disable verification check in CWM
and also look here and try this http://forum.xda-developers.com/showthread.php?t=1810687
Click to expand...
Click to collapse
Thanks for the info! My update.zip is on my Windows 8 PC and I may have to move it to my Win 7 PC because winzip is not allowing me to extract the files so I can "copy & paste" the updater-script file you posted. If there is a simpler way to do it, please let me know and thanks again!
use 7zip or winrar, open the zip und C&P the file into it
or long way, extract all , do modify and then repack all files an folders INSIDE the extractet/modified folder, NOT the folder AND it´s content
your also able the open inside the winrar window the script and change it with Notepad++
EDIT::
aaaaah wait:
if your not able to open it, you have to decrypt it with acer decrypter first, then it´s an "real" zip
search hier im Forum danach
meier2009 said:
use 7zip or winrar, open the zip und C&P the file into it
or long way, extract all , do modify and then repack all files an folders INSIDE the extractet/modified folder, NOT the folder AND it´s content
your also able the open inside the winrar window the script and change it with Notepad++
EDIT::
aaaaah wait:
if your not able to open it, you have to decrypt it with acer decrypter first, then it´s an "real" zip
search hier im Forum danach
Click to expand...
Click to collapse
Thanks! I updated my Winzip and proceeded as directed. Update successful! I really don't see much difference in performance but if I do I will post what I fins. Thanks again!
Sent from my A700 using Tapatalk 2
I've moved this back to general, that's where it belongs. Development is strictly for ROM's, mods and kernels only.

[Q] need help to make a .apk installable from another rom

hi guys i have a .apk file i.e. sectabletplayer.apk from another rom i dont want to mention name. when i tried to install it like a general .apk file it says "Aap not installed" . i googled around alot found ADB injecter it says "installation failed" and reason for this error is "unable to mount system r/w " tried to make custom flashable .zip file the file existed in given path but not installed i mean not running totally useless. can anybody help me out of this?
try to set ON Unknown-Sources in Settings/Security/Device-management
ameya1990 said:
hi guys i have a .apk file i.e. sectabletplayer.apk from another rom i dont want to mention name. when i tried to install it like a general .apk file it says "Aap not installed" . i googled around alot found ADB injecter it says "installation failed" and reason for this error is "unable to mount system r/w " tried to make custom flashable .zip file the file existed in given path but not installed i mean not running totally useless. can anybody help me out of this?
Click to expand...
Click to collapse
First this app will only work on a stock/stock base ROM. Second, you need a root file app, like root explorer or root browser. In root explorer you have to select to give r/w permission.
Go to the location of the app, long press it and select copy. Then navigate back to
/system/app and paste it. Then long press it again, select permissions and make it rw-r--r--. Then reboot
Hopefully this will install for you. If it doesn't than the apk itself would need to be modified.
One last thing, if you have another sec.player.apk in system/app, you might need to change it from .apk to .bak then reboot before you begin the other process. You can just rename it back to
.apk and make sure permissions are right then reboot to re-enable it.
Lies, spewed poetically from galaxy S3!

How to root colors p85_plus?

i have a colors android phone model p85_plus android version 6.0
is there any way to root it?
i want to root but did not found any method for rooting my device.
if any one can help ,it would be very greatful.
Hey ashok did you get any idea how to root colors p85 plus . I do have the same problem .if you find any idea please share it.
Beecall said:
Hey ashok did you get any idea how to root colors p85 plus . I do have the same problem .if you find any idea please share it.
Click to expand...
Click to collapse
Download your stock firmware from here https://firmwarefile.com/colors-p85-plus
Extract from the zip the boot.img and put it in your sdcard
Download the latest Magisk Manager in apk format from here https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 go to the section "Installation instructions/via Magisk Manager"
Install the app and open it, in the main screen tap on install and you will be prompted for install the zip, tap on install and you will see three options, select "patch boot image file" then Magisk will patch it and you will find the new boot image in your internal memory/Magisk Manager folder
Let me know when you got it and then we go for the next steps

Categories

Resources