[Q] Astro- copy,paste files option is grayed out - Upgrading, Modifying and Unlocking

Im trying to copy and paste a recovery file in a zip file "3e_recovery_no_sig_check1" from another post which is supposed to allow unsigned zip files to be flashed in 2.2. I extracted the "Recovery File" from the zip and placed it in the Sdcard folder. I downloaded Astro in order to access the extracted Recovery File so I could replace the existing Recovery File located in the System/Bin location.
However, the cut and paste option in Astro is grayed out not allowing me to replace the recovery file. Is there a way to activate the cut and paste (rw)feature? All files in System/Bin are labeled -r-.
Previous Post: "I have noticed some of you are having issues after installing a new kernel or rom, when you boot into recovery you now have 3e, which does not allow unsigned zips to be flashed. With this version of 3e it has no-verification check, now allowing you to flash whatever you want.
This zip has
1) 3e recovery modified to disable signature checking
2) disables the forced wipe after installing any update.

Related

help with flashable zips for a rom im maken

im trying to make my own rom trying to try new this out and i was going around taken lil apps tht other roms hads like hulu, mastermind mirror, ect and i dont think i zip it correctly cause when i check the inside of the zip folder the other file is still not zip and i am sure that is a problem right ??? ps im using cwm 3.0 is tht a problem ?
i use this meth...
ok, here it goes.
first, figure out where you want to push your file. i'd reccomend pushing manually in recovery to make sure the file itself works. then, using a tool like 7zip (pc) or betterzip (mac) create a file structure that matches the one on the phone. for example, if you wanted a boot animation to be put in system/customize/resource, make a folder system, customize in that, resource in that, and the bootanimation.zip inside that. now you have the main part. next, make a folder in the root of the zip called META-INF (caps counts) inside that, com, inside that, google, and inside that, android. thats /META-INF/com/google/android/. inside android, you need to place in an update-script. i'd reccomend taking one from another zip and just editing it becasue i still have not figured out a way to make that type of file (unix exec) from scratch. open it up in a .txt editor like notepad++ (pc) or coda (mac) and write your script. here is the baisic script for copying the directory system on the zip to system on the phone (like flashing a boot animation).
copy_dir PACKAGE:system SYSTEM:
CAPS COUNT AND MAKE SURE YOU HAVE AN ENTER AT THE END. IF YOU DO NOT HAVE AN ENTER AT THE END (TO MAKE IT TWO LINES INSTEAD OF ONE, LIKE ISSUEING A COMMAND) THEN IT WILL NOT WORK AT ALL ( E:SYNTAX ERROR IN UPDATE-SCRIPT IS THE ERROR YOU WILL GET)
so put this file into the folder android, and zip it. make sure it is in store only, compatibility mode, if you have such options. then, use an auto signer (or just say zip is not signed and make sure to put sig verification off) to sign the zip. flash, and watch your work magically appear.
the update-script i showed is written in amend. i have no idea how to write in edify bcuz it is much more complicated with the binary and stuff. so dont flash with cwm 3.0+.
i only have 1 thing to say first switch to amon ra amon ra is 1000 times better than clockwordmod
how do i switch?? lol also what if i unroot my phone would tht be a problem?
Jcki4 said:
how do i switch?? lol also what if i unroot my phone would tht be a problem?
Click to expand...
Click to collapse
go here and download the PC36IMG.zip and follow the directions
http://forum.xda-developers.com/showthread.php?t=705026.
as for setting up a rom unzip one to see how it's set up, i have changed a few things in some and zipped it back up and signed it but never built one, sorry couldnt be more help

[BOOT LOOP]Afternediting a config file for Bluetooth root explorer

I edited a configuration file for Bluetooth(main.conf) in which i changed the device discoverable for value to be 0 (by default 120). then i left the folder as is (r/w) mode and saves and rebooted.
rescue mode is available(volume up - home -power)
boot loops continously
Kies not recognising when connecting when the device is turned off
there is a backup of the file at the same folder..
if you can provide me too ..how do i upload to my phone.
need help ASAP.
try installing firmware with odin
Other better ideas!
I am pretty sure that this matter was triggered because of that tweak..(editing of the file). I hope that restoring the original file would help.
Do you know about adb...?
Also i forgot where the actual bluetooth configurations file was in the root folder structure
adb will not work on device in recovery/download mode
to use adb mobile needs to be running
you can flash cwm in your mobile then upload the file and send me the link i will make a flashable zip and upload it then you can flash it
adb is running...just
Adb is running (while the phone keeps on showing boot animation-samsung logo-bootanimation-samsung logo-bootanima....) but it seems that it has permissions issues..i unrooted my phone before using adb .
i can access adb shell and list root directories but cannot enter further directories such as data\ permission denied
I donot have the file that i changed and quiet cannot remember it..
Check on your mobile and see for
data/misc/bluetoothd/
if it has files such as music.conf,main.conf etc etc..then this is the needed folder..
can you create a update.zip
like i used for rooting/ unrooting .that doesnt need CWM
that empties the directory ,because it has some backup files .bak created by root explorer
loads files from your mobile
i am currently unrooted ..do i need root?
actually adb works during splashscreen
get the original file and push it through the system, set permission and it should work
if all else fails,..... odin
download update.zip from http://dl.xda-developers.com/attach...5498d4d803e6a/4fcc0dd2/7/6/3/0/8/8/update.zip and place it in the root of your sdcard
go to recovery flash it you will get root then you can use adb
if it is not flashing first flash cwm through Odin then flash this update.zip through cwm
The file you sent is invalid. corrupt..?
what does this do..exactly.
i already have a update.zip and update-unroot.zip to root unroot my device
so
do i need root permission to use adb..because commands like
adb root gives"error not available in production devices"
&
adb shell
$ su
etc are showing permission denied.
if you have the original files on your galaxy y.. can you make update.zip with the above instruction
if adb works..i dont exactly remember the file path that i changed..so using the hints above please can you send me the file path
My aim here is to use odin or factory reset only at the last.
just root the device by flashing the root.zip in recovery and then use
adb shell
su
and it will work
No still get permission denied.... like always.
cd data
ls
open directory failed, Permission denied.
1. flash cwm recovery through odin
2. then upload the original file
3. I will create a update.zip and will upload it
4. you will need to flash it in cwm recovery
i will flash CWM using cwm.zip
i dont have the original file as i could not pull through adb..i hope your file may work
Finally i remembered the directory
/etc/bluetooth
the file i modified was main.conf however whole folder can be replaced from your mobile's or original one.
Thanks
y2k2r2d2 said:
i will flash CWM using cwm.zip
i dont have the original file as i could not pull through adb..i hope your file may work
Finally i remembered the directory
/etc/bluetooth
the file i modified was main.conf however whole folder can be replaced from your mobile's or original one.
Thanks
Click to expand...
Click to collapse
http://db.tt/2NStXBF8
flash it in recovery but it may not work as I don't have galaxy y I have a different mobile
it didnt allow installation both through cwm and recovery mode
& now
i messed up with CWM
backup-restore feature
create backup
edited the system.tar
put the original file
calculated md5 for new system,tar
edited the nandroid.md5 with appropriate editor and filled with the new calculated md5 of system.tar
advance restoore....select system files...
md5 check pass
restore fail
now boot stuck at initial screen
pretty sure even wipe data wont work
So i Had to resort to ODIN..Thanks for your time mate...
humm
I also think Odin is the last choice

[Q] Help restoring Kindle Fire (sending it back to Amazon)

So I followed the steps in this thread (http://forum.xda-developers.com/showthread.php?t=1638452) in the second post. I downloaded the update and renamed it update.zip and proceeded to do the factory reset. After this I went to install the update and was unable to locate it. So I went back to my computer and actually converted the file into a zip folder and copied it onto my kindle. This time it showed up but when I went to install it almost immediately came up with an error message ( Error flashing zip '/sdcard/update.zip' ).
I'm not sure if I was supposed to follow the steps in the first part of the post mainly because I have no idea what this means (adb uninstall com.noshufou.android.su) and because I've seen similar steps on other sites without the first half of that post.
Appreciate any help that can be provided.
You are supposed to rename the update.bin to update.zip, not zip up the original update.bin
soupmagnet said:
You are supposed to rename the update.bin to update.zip, not zip up the original update.bin
Click to expand...
Click to collapse
When I did that I was unable to even locate the file.
I'm not sure if this makes a difference or not (in fact I'm pretty sure it doesn't) but the icon next to it is the VLC icon.
I've also tried using the kindle update utility to download the latest stock update zip. Nothing. I see my update.zip when I go into the file explorer under advanced or if I mount my usb to my computer but as soon as I go to install it's not showing up
hahaha I feel so dumb right now. I found it on the file explorer and it was named update.zip.bin. I then renamed it while in twrp and was able to find and install it. For whatever reason when I renamed it on my computer it would always end up as update.zip.bin
Download the update-kindle-6.3.1.bin from the Amazon website.
Rename the update-kindle-6.3.1.bin to update-kindle-6.3.1.zip.
Transfer the update-kindle-6.3.1.zip to the sdcard.
After wiping system and factory reset in TWRP, use the navigation window in the install menu of TWRP to navigate to your sdcard.
Flash the update-kindle-6.3.1.zip

LG G7 G710EM sof. ver V30f-EUR-XX root

This morning I deleted my system camera app and that made my phone bootloop. After some trickery I managed to install a new version but lost all my photos and files along with root. Can I get a tutorial how to create my own boot image with magisk so I can hopefully recover some of the photos. Thank you
Hey, there might be more ways, but this is the one I follow everytime I root my g7.
Download the firmware (.kdz file). You can get that here.
In the meantime (the download will take some time) you can search and download a tool called "LG Firmware Extract", mine is v1.2.6.1. If you struggle finding it, you can download the one I attached (for Windows).
Once both are downloaded, open the firmware extractor and there click "Open" next to "KDZ File" label and locate the .kdz file you just downloaded. You can also type in the file path instead of locating.
In the table of files below, check the largest file starting with G71030f and click "Extract KDZ"
In the working directory (marked as "Working folder ..." above the table) you should now find a file named after the file you checked. Locate that one on "DZ File" row by clicking "Open" next to it.
Now in the second table, find a file called boot.img_65286, check, Extract DZ.
The file should be in the same directory previous one (G71030f...) was. Rename it to boot.img.
Send the boot.img to your phone
Install Magisk Manager, open, click "Install magisk"
On method selection choose "select and patch a file" and pick the boot.img file and proceed.
That's it, you should be told where your patched image sits.
In case you want to skip steps 1 to 7, I attached a boot.img file. I also attached a patched boot.img, since I did it for mine, too.
BTW if you choose to download the firmware extractor from the attached files, you can find a short tutorial on how to extract boot image in a text file inside.
Hope it still helps you.

Can't seem to patch stock rom using magisk v23, do I have the right file? What am I doing wrong?

I'm new to rooting and I'm trying to root a Pixel 3a XL I've just inherited. Following steps from a tutorial, I've unlocked the bootloader and installed Magisk v23.0 on the phone, and I copied on the internal storage all the files from the zip file I downloaded from Google that are supposed to be the stock ROM for my build #. There are 2 .img files in there: bootloader-bonito-b4s4-0.3-7062600.img and radio-bonito-g670-00105-210113-b-7078968.img (there are a few scripts and another zip file in there too). The first one seems to be the boot file (Ramdisk is YES in Magisk), but when I try patching it (Magisk Install > Select and Patch a File > I choose the file via my file manager), I get the following error messages: 'Unsupported/Unknown image format' 'Installation failed'. The same thing happens if I try the other image file.
I obviously don't want to trial and error too much patching a rom that I'm going to flash my phone with. Any idea what I'm doing wrong there? Thank you!
EDIT: I had also done a checksum of the archive I downloaded from Google and it all lined up, so that shouldn't be the issue.
you need to patch the kernel. inside the zip is a second zip. in there is a file boot.img. that is the kernel. extract and copy it to your phone, then you can patch it, copy it back to your fastboot capable machine, and flash
ei: boot.img within a .zip within a .zip
hp420 said:
you need to patch the kernel. inside the zip is a second zip. in there is a file boot.img. that is the kernel. extract and copy it to your phone, then you can patch it, copy it back to your fastboot capable machine, and flash
ei: boot.img within a .zip within a .zip
Click to expand...
Click to collapse
It worked, thank you so much!

Categories

Resources