How to Flash zipped file without custom recovery? - Android Software/Hacking General [Developers Only]

Hi there!
I have U30GT tablet which unfortunely till now didn't have any custom recovery. Some time I want to flash files to the ROM but due to this limitation I need to copy the files manually (easy job) and set the permission (hard job when there's a lot of files).
So is there any other ways that I can automated the task of copying the files and setting the correct permission without using custom recovery?
Many thanks!

Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app

I.M.famous XMAN said:
Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app
Click to expand...
Click to collapse
Thanks. But I don't know how to do a script or bat file to be used with adb. Can you write up some guide for it?

I'll see what I can do. No garruntees. But another option is to push the files through adb then use v6 supercharger to fix emissions. Idk. Let me see if I can Whip something up for you.
Sent from my VS910 4G using xda app-developers app

package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key

dheeraj (dhlalit11) said:
package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key
Click to expand...
Click to collapse
Thanks but I wanna copy files for some tweaks only.
Well I found 1 solution, that is to manually copy the files than use ROM Manager app to fix permission. Also found thread here in XDA about using .bat file to automated the push and set permission but as I very lacking in knowledge in using command, I'll stick to Root Explorer + ROM Manager combo.

you can root device,cat stock recovery.img,and then compile cwm recovery.

Check this website someone is working on getting CLOCKWORK recovery on U30GT
http://www.freaktab.com/showthread.php?1396-Cube-U30GT-H-JB-Finless-1-4-ClockWork-BETA1
Sent from my EVO

Related

Custom recovery image not sticking

I Having a problem when everytime I go into fastboot mode and click on recovery the /!\ comes up and would have to take the battery out and reflash the custom recovery image thru adb. Then it will work but can someone help make the recovery image stick
Sent from my Nexus S using XDA App
mrnexus said:
I Having a problem when everytime I go into fastboot mode and click on recovery the /!\ comes up and would have to take the battery out and reflash the custom recovery image thru adb. Then it will work but can someone help make the recovery image stick
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
There is a .sh file that needs to be removed, totally forgot the location of it :/
/etc/install-recovery.sh needs to be deleted or renamed.
It's a "safety" feature in 3.3.1 and above to restore the stock recovery if it doesn't pass a check on boot each time.
This is pointed out in numerous threads...search a little for more details if you need them.
Ok thanks
Sent from my Nexus S using XDA App
It wont let me rename so I guess I going to delete it
Sent from my Nexus S using XDA App
mrnexus said:
It wont let me rename so I guess I going to delete it
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Are you mounting the /system partition as read/write?
Use root explorer or similar or issue the remount command from the command line before trying to rename it.
that's the trick just rename the image, and the CW recovery will stick
that's the way it's written in the step by step guide,
distortedloop said:
Are you mounting the /system partition as read/write?
Use root explorer or similar or issue the remount command from the command line before trying to rename it.
Click to expand...
Click to collapse
I am having problems renaming it as well. I'm not sure what you mean by "use root explorer or similar or issue the remount command from the command line before trying to rename it.
I have tried using Astro and Android Mate to rename the file and both will not let me.
EDIT: Nevermind, I used root explorer and was able to find "mount r/w" and rename it finally. Thanks.
godzigga said:
I am having problems renaming it as well. I'm not sure what you mean by "use root explorer or similar or issue the remount command from the command line before trying to rename it.
I have tried using Astro and Android Mate to rename the file and both will not let me.
Click to expand...
Click to collapse
Because those won't allow you to modify system files. Get Root Explorer, like he said, and use that.
AllGamer said:
that's the trick just rename the image, and the CW recovery will stick
that's the way it's written in the step by step guide,
Click to expand...
Click to collapse
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.
vaust said:
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.
Click to expand...
Click to collapse
Cause u probably used ADB to get it to stop reflashing the stock recovery. Using root explorer is the same thing only less technical.
Sent from my Nexus S using XDA App
sarge363 said:
Cause u probably used ADB to get it to stop reflashing the stock recovery. Using root explorer is the same thing only less technical.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
True, I used adb, spent like 2 hour trying to get the pc drivers to recognize the nexus. I used the PDAnet drivers eventually.
vaust said:
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.
Click to expand...
Click to collapse
Are you on a custom ROM like CM or Bionix? They remove the script that rewrites stock recovery.
If you're on stock, what version of it are you on? 2.3.1 and higher have a file called /etc/install-recovery.sh on them, and if that's there it should be reflashing stock on every boot, whether you renamed the image you flashed to recovery or not...

Help with cwm

Hi guys and gal's check me out I'm trying to flash cwm final and it keeps aborting the process! I push recovery to system /bin and zip file I put on my SD card using root explorer boot into recovery reinstall packages and no bets don't know what to do any ideas? All assistance is greatly appreciated.
Sent from my SGH-T959V using XDA Premium App
yosif yackson said:
Hi guys and gal's check me out I'm trying to flash cwm final and it keeps aborting the process! I push recovery to system /bin and zip file I put on my SD card using root explorer boot into recovery reinstall packages and no bets don't know what to do any ideas? All assistance is greatly appreciated.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Are you doing this on Froyo or GB? This only works on Froyo. Maybe try re-downloading the recovery & zip file to insure you didn't get bad downloads.
I'm on froyo and I downloaded from my phones browser if that makes a difference, and thanks for the help boss
Sent from my SGH-T959V using XDA Premium App
yosif yackson said:
I'm on froyo and I downloaded from my phones browser if that makes a difference, and thanks for the help boss
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
It shouldn't make a difference how you downloaded the zip as long as you followed the instructions on the thread. Make sure you don't try to extract the zip file. try re-downloading them & try again.
are you changing the permissions of the directory from read only (R/O) to read/write (R/W) in root explorer before you try pasting the files?
Yup I used root explorer to push the files and it prompted me to switch to r/w when I tried to push the recovery. I'll try the process from the beginning and report back
Sent from my SGH-T959V using XDA Premium App

AOSP keyboard apk

Does anyone know where to find or have the apk for the AOSP keyboard? I'm currently unrooted and can't stand the GB keyboard.
Sent from my SCH-I510 using XDA App
I think this is what I used.
http://www.filesonic.com/file/4235112464/app.zip
Thanks for the link. After attempting to get fileshare to cooperate it dawned on me that it was a zip file. I am unrooted, therefore no CWM. can i still install a zip file without CWM on the phone or just unzip on a pc and copy the apk over?
Sent from my SCH-I510 using XDA App
Lockett said:
Thanks for the link. After attempting to get fileshare to cooperate it dawned on me that it was a zip file. I am unrooted, therefore no CWM. can i still install a zip file without CWM on the phone or just unzip on a pc and copy the apk over?
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Flash CWM and boot into it. When you are done flashing reboot and the stock software well automatically delete CWM.
Sent from my SCH-I510 using XDA App
JihadSquad said:
Flash CWM and boot into it. When you are done flashing reboot and the stock software well automatically delete CWM.
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Maybe I got the right files this time .

System files

I know this may sound stupid...but...How and where can i find the system files...?...im in my file explorer and don't see them...im used to windows...new to android...thanks in advance...
Sent from my SGH-T959V using XDA App
The file explorer that came with the phone only lists the contents of the sdcard. You'd have to get a better file explorer from the market. Root Explorer is one I hear about a lot.
Another way is to download the Android Software Development Kit (SDK), install it, run it, download the platform tools within it, and then use the Android Debug Bridge (adb). adb gives you the ability to do a lot of things, one of which is to open a shell (adb shell) which then allows you to see all of the files on the root (/) of the file system.
I use ES file explorer to view system files. It has a root option plus it's free. other than cost, I don't know how it differs from root explorer.
Sent from my SGH-T959V using XDA App
phordych05 said:
I know this may sound stupid...but...How and where can i find the system files...?...im in my file explorer and don't see them...im used to windows...new to android...thanks in advance...
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Before you do any of that you have to have root
Sent from my SGH-T959V using xda premium
Hi
If you're a noob I advise you to first read rhe SGS 4G bible and use a rooted custom ROM, experience it and some of the tweaks and tools and only then ask yourself why do you need to deal with system files, once you're there i recommend thd root explorer.
Sent from me
itzik2sh said:
Hi
If you're a noob I advise you to first read rhe SGS 4G bible and use a rooted custom ROM, experience it and some of the tweaks and tools and only then ask yourself why do you need to deal with system files, once you're there i recommend thd root explorer.
Sent from me
Click to expand...
Click to collapse
yeah...i checked out the bible...i how alot about windows...so im sure i can catch on pretty quick...i just new to android...not files and all...well android files i am...lol...but i cant deal with stock crap...i need to try to get rid of apps that i dont use...like layers...tmobile tv...drive smart...the stuff thats pointless to me...im rooted...have file explorer...super user...and it wont let me fully get rid of them...just uninstall the updates...why...?...thanks in advance...
Use ROOT EXPLORER but don't delete anything from system, just move it to SD to make sure you can work without it first.
Sent from me

Deleted stock task manager

Hello everyone,
I am new to all hacking and modding so please forgive me if I do something wrong.I was uninstalling applications from my rooted atrix 2 2.3.6 stock when I deleted the task manager can you give me the apk or the file and tell me how to use it.I have the 55.28.37 Asia retail please help me.
Sent from my MB865 using XDA
A word of advice: NEVER delete system applications, instead just freeze them. You never know when you may need them or want them back, and if you delete something (case in point here) that you want back, then you're asking for possible unwanted issues...
Sent from my MB865 using xda's premium carrier pigeon service
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
kousik said:
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
Click to expand...
Click to collapse
He should have no problem downloading the file and placing on root of the /sdcard and install like any other .apk (unless he's deleted his file manager also!).
Sent from my MB865 using xda's premium carrier pigeon service
Set the right permissions otherwise even after placing app into system it will not work.
Sent from my MB865
For reference, my Performance Manager's location is /system/app/PerformanceManager.apk and the permissions are rw-r--r-- which is chmod 644
Thanks every one for your replies you people are really helpful
Sent from my MB865 using XDA
If you can give me a step by step guide then it would be very helpful
Sent from my MB865 using XDA
Easiest way is to download the file to your computer, then connect your phone in usb mass storage mode to your computer, copy the .apk file you downloaded to your sdcard (which might show up as D: or E: in your PC), disconnect phone from computer, on phone use the "Files" file manager, go to "sd card", locate the .apk and tap on it to install. (Unknown sources should be ticked in your Settings > Applications)
Delete previous performance Manager that you have copied to system/app folder
Extract the attachment then copy both files to system/app without renaming or modifying them
Now to set the permission press and hold both files one after other for 3 seconds a window will appear in that select permission .
Now set permission as I have attached a Image.
People please help me I copied the apk and odex file and I have set the permissions but its not helping
Sent from my MB865 using xda app-developers app
Please help me
Sent from my MB865 using xda app-developers app
shaurya19 said:
Please help me
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
alteredlikeness said:
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
Click to expand...
Click to collapse
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
farshad525hou said:
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
Yea, I know some folks are opposed to it and/or can't get it to work properly, but I've doing it for quite some time and never ran into a problem - unless I don't do something right. But, come to think of it, I am usually overwriting old files when pushing with root explorer, not placing new ones - I wonder if that may have something to do with it..?
But, I am all for adb - it's an excellent tool that everyone who wants to mod needs to get familiar with.
I suppose we are getting off topic, but this would make a good discussion thread somewhere...
EDIT: just checked, I guess I'm not alone after all!! http://forum.xda-developers.com/showthread.php?t=1412729 - the key steps are to set permissions (which can't be done on the sdcard) and MOVE to /system/app (or where ever)
Where can i get abd?
Sent from my MB865 using xda app-developers app
farshad525hou said:
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
Click to expand...
Click to collapse
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Sent from my MB865 using xda app-developers app
shaurya19 said:
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Click to expand...
Click to collapse
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
kousik said:
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
Click to expand...
Click to collapse
it says install-failed-dexopt

Categories

Resources