Related
im getting tired of having to pull apks every time i flash a new rom. i found a thread that said that you can add a few lines to the update script to remove the apks prior to boot. how do you do that? when i added the lines in the thread i got a wrong digest meta-inf/comgoogle/android/update-script verification failed instillation aborted
i think my issue is i unpacked my signed zip modded the updatescript and rezipped it.
anyone have a better way to remove those apk, not one by one!
please if you could detailed instructions
recognize_atm said:
anyone have a better way to remove those apk, not one by one!
Click to expand...
Click to collapse
Why would you need to modify the ROM? You *do* realize that if you were going to go to the trouble of modifying the ROM to add removing things via the update script, you could just remove what you wanted removed in the first place?
No, of course you don't.
please if you could detailed instructions
Click to expand...
Click to collapse
Gods, that's what adb and a batch file (or a shell script, if you think you should be using Linux) are for.
you can create a .bat file to run and remove all the apks you dont want. here is mine
RemoveApp.bat said:
cd C:\android-sdk-windows\tools
adb remount
adb shell rm system/app/Facebook.apk
adb shell rm system/app/Gallery3DMT.apk
adb shell rm system/app/GenieWidget.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/SocialNetworkProvider.apk
adb shell rm system/app/Sprint_TVWidget.apk
adb shell rm system/app/Sprint_TV.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Stock.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/Flickr.apk
adb shell rm system/app/FriendStream.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
Click to expand...
Click to collapse
posguy99 said:
Why would you need to modify the ROM? You *do* realize that if you were going to go to the trouble of modifying the ROM to add removing things via the update script, you could just remove what you wanted removed in the first place?
No, of course you don't.
God, that's what adb and a batch file (or a shell script, if you think you should be using Linux) are for.
Click to expand...
Click to collapse
your username suits you well... minus the 99.
don't be mean like that man.
I figured it out thanxs
Yea its best to make a seperate update.zip with an edited script that you can flash any time with any rom. So if you flash a new rom, you can then flash the update.zip. Mine would remove a bunch of apps and install a theme and a bootscreen after installing a new rom.
I also see that you got it, but yea you have to resign the zip after you change something in it.
And to the posguy.. If you are NO where near a computer, you can always run the .zip file with the edited script. Comes in handy if you download a rom from your phone, like a rom from DamageControls Updater or just on the web.
Yes i know you can do a terminal, but thats just long and dumb. Make a update script.
Jus10o said:
Make a update script.
Click to expand...
Click to collapse
Yes, that's a good idea. Of course, that's not what the OP thought he should do, he thought he should modify the script in the original ZIP file.
Jus10o said:
And to the posguy.. If you are NO where near a computer, you can always run the .zip file with the edited script. Yes i know you can do a terminal, but thats just long and dumb. Make a update script.
Click to expand...
Click to collapse
my point! thats why i wanted to edit the script. i know how to do it with the terminal/ .bat file. but i cant figure out how to get the zip to work
recognize_atm said:
my point! thats why i wanted to edit the script. i know how to do it with the terminal/ .bat file. but i cant figure out how to get the zip to work
Click to expand...
Click to collapse
Here is a update zip that removes some apps already.. Its my old one.
If you edit any of the lines then you must re-sign the .zip.
If you cant figure it out, or just want someone to sign it really quick. Post your .zip here and I will sign it for you so it will be flashable.
View attachment update.zip
hey thanks... i normailly sign zips using the old fresh kitchen but it doesnt seem to sign roms and im guessing zips that have meta-inf already in them cant get signed thru kitchen. i think i might be wrong, but ho do you sign your zips?
recognize_atm said:
hey thanks... i normailly sign zips using the old fresh kitchen but it doesnt seem to sign roms and im guessing zips that have meta-inf already in them cant get signed thru kitchen. i think i might be wrong, but ho do you sign your zips?
Click to expand...
Click to collapse
http://androidforums.com/developer-101/8665-how-signing-roms.html
Hope this isn't against protocol. I posted this in the "HOWTO" thread, but in the event there are people that don't venture into that area...I think it looks pretty nice and it's customized for the Evo.
Here's what I'm using...
I had to cut it down significantly from my original plan because of the boot speed...but this lines up pretty perfect on my Evo. Here are the links if anyone wants to download themselves:
http://www.mediafire.com/file/jadhnz2m3my/bootanimation.zip
http://www.mediafire.com/file/wmnz2ntnxry/SPC_animation_final.mp3
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
ocelot4ark said:
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
Click to expand...
Click to collapse
Good Morning, This was pretty cool so I thought i would do it. Just one thing to add about your adb instructions. Pushing the mp3 is missing "_final".
It should read
adb push SPC_animation_final.mp3 /system/customize/resource
Again thanks
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
!
rjmjr69 said:
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
Click to expand...
Click to collapse
I don't believe it can be done without adb. Unless you found a way to navigate to /system folder.
and by not pushing the sound file(.mp3) the sound will be taken out.
I love this nice job!
you can use root explorer if you like..
Besides the fact that it says Droid I like it..it may be my ROM but I had to change the sound file to android_audio.mp3 to get it to play.
Sent from my PC36100 using Tapatalk
papaskispartan said:
Good Morning, This was pretty cool so I thought i would do it. Just one thing to add about your adb instructions. Pushing the mp3 is missing "_final".
It should read
adb push SPC_animation_final.mp3 /system/customize/resource
Again thanks
Click to expand...
Click to collapse
Ooops! Nice catch and thanks for pointing that out!
MrDSL said:
you can use root explorer if you like..
Besides the fact that it says Droid I like it..it may be my ROM but I had to change the sound file to android_audio.mp3 to get it to play.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Hmmm that is weird...The actual mp3 was just edited from an incredible boot up when the file WAS named android_audio.mp3. Glad that you got it figured out, though.
please help
i dont know what im doing wrong but every time i try to push the bootanimation.zip i get
cannot stat 'bootanimation.zip' :no such file or directory
and i have both the bootanimation.zip and the mp3 file in my tools folder and help would be greatly appreciated thanks in advanced
rjmjr69 said:
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
Click to expand...
Click to collapse
Terminal Emulator app in the market will do this.
su
cat /sdcard/download/bootanimation.zip > /system/customize/resource/bootanimation.zip
Tried that using beterterminal and I get an access denied error read only???
From adb I get cannot stat no such such file or directory "bootanimation.zip"
rjmjr69 said:
Tried that using beterterminal and I get an access denied error read only???
From adb I get cannot stat no such such file or directory "bootanimation.zip"
Click to expand...
Click to collapse
I have never used beter terminal. Try the terminal emulator from jack palevich. It is in the market place for free.
Denied access, read only in the emulator sounds like you didnt put in 'su' first. Once you enter type su in the prompt should change to #
your adb error sounds like you need to either mount the sdcard or change it to charge only.
I put the files in there but the damn SPRINT animation which I hate with a passion keeps playing. I can adb shell into my phone and see the files in /system/customize/resource but it doesn't pick it up automatically. Is there anything else I need to do to get rid of the SPRINT one?
I am rooted using the 2 root safe versions of the OTA updates, but otherwise stock build. I have also tried using the boot animation replace utility someone else on here developed ... it says it worked as well ... but then the stupid sprint one plays. Any ideas? I have a bunch of stuff in my resource folder I also have these files in my customize folder:
AAInfo.txt
COMMON.xml
cid_map.xml
resource
1_00_sample.xml
CID
mccmnc.xml
MNS
default.xml
mns_map.xml
I didn't know if maybe one of these tells it to point at the sprint boot instead of the custom one I put in... ?
what would be cool is if at the end when it says droid the word evo falls from the top and crushes the droid word. lol just a suggestion.
**EDIT** Problem resolved.
By the way I got mine to work, I had to boot into recovery and adb mount /system in order to get it working...
My favorite is the decepticon one but it is too small and I couldnt get it to work after resizing the png's and modifying the text...
timkdodson said:
I put the files in there but the damn SPRINT animation which I hate with a passion keeps playing. I can adb shell into my phone and see the files in /system/customize/resource but it doesn't pick it up automatically. Is there anything else I need to do to get rid of the SPRINT one?
I am rooted using the 2 root safe versions of the OTA updates, but otherwise stock build. I have also tried using the boot animation replace utility someone else on here developed ... it says it worked as well ... but then the stupid sprint one plays. Any ideas? I have a bunch of stuff in my resource folder I also have these files in my customize folder:
AAInfo.txt
COMMON.xml
cid_map.xml
resource
1_00_sample.xml
CID
mccmnc.xml
MNS
default.xml
mns_map.xml
I didn't know if maybe one of these tells it to point at the sprint boot instead of the custom one I put in... ?
Click to expand...
Click to collapse
Does this work with Froyo? Sound also?
ocelot4ark said:
Hope this isn't against protocol. I posted this in the "HOWTO" thread, but in the event there are people that don't venture into that area...I think it looks pretty nice and it's customized for the Evo.
Here's what I'm using...
I had to cut it down significantly from my original plan because of the boot speed...but this lines up pretty perfect on my Evo. Here are the links if anyone wants to download themselves:
http://www.mediafire.com/file/jadhnz2m3my/bootanimation.zip
http://www.mediafire.com/file/wmnz2ntnxry/SPC_animation_final.mp3
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
Click to expand...
Click to collapse
It would be better without the Droid part! Can you do one?
**EDIT**
Never mind, i just deleted the EYE folder and edited the .txt, but now i have one question,where is the original botanimation.zip located? i push yours to /system/customize/resource using root explorer (since i hate adb shell) and it didn't ask for overwrite so...it wasn't there.
This has potential to ber the best boot animation around but I don't like how it says droid. That's the only thing keeping me from switching right now.
Dredge said:
This has potential to ber the best boot animation around but I don't like how it says droid. That's the only thing keeping me from switching right now.
Click to expand...
Click to collapse
I pushed it without the mp3
ummm when using adb do i transfer the zip file to the root in sdcard? im new at this, i know how to open shell but i just dont know exactly where to put the file after i download it.
mikevillarroel said:
I pushed it without the mp3
Click to expand...
Click to collapse
I dont mean literally "says" I mean the text...
i saved original build prop in my pc and and i want pull in my device with adb i do not have any info about this step my device go directly to black screen in firmware update
how i can push my build prop in my lg g3 d850 with pc win 7 64bit
help my
anasmilan said:
i saved original build prop in my pc and and i want pull in my device with adb i do not have any info about this step my device go directly to black screen in firmware update
how i can push my build prop in my lg g3 d850 with pc win 7 64bit
help my
Click to expand...
Click to collapse
Download android sdk, install it as google tells you. Go to the folder your build prop is at, hold shift, press the right mouse button, press on open command prompt. Type this in it:
adb shell
su
stop
mount -o rw, remount /system
push build.prop /system/build.prop
mount -o ro, remount /system
reboot
If you cant do that, you can always reflash the firmware
push not found
Remorcer said:
Download android sdk, install it as google tells you. Go to the folder your build prop is at, hold shift, press the right mouse button, press on open command prompt. Type this in it:
adb shell
su
stop
mount -o rw, remount /system
push build.prop /system/build.prop
mount -o ro, remount /system
reboot
If you cant do that, you can always reflash the firmware
Click to expand...
Click to collapse
i moved the build prop file to platform-tools file in sdk and i try go to command prompt with shift and Type this command
adb shell
su
stop
mount -o rw, remount /system
push build.prop /system/build.prop
tell me push: not found
see the pic
and i try the flash tools with the same tot & dll
the flash tools error
read model is deffrent
I use pushbullet for small stuff like this then just move it and set permissions with root explorer
Sent from my LG-D850 using Tapatalk 2
no android in device
screwyluie said:
I use pushbullet for small stuff like this then just move it and set permissions with root explorer
Sent from my LG-D850 using Tapatalk 2
Click to expand...
Click to collapse
the phone go direct to frimware update how i can use pushbullet in this mode?
anasmilan said:
i moved the build prop file to platform-tools file in sdk and i try go to command prompt with shift and Type this command
adb shell
su
stop
mount -o rw, remount /system
push build.prop /system/build.prop
tell me push: not found
see the pic
and i try the flash tools with the same tot & dll
the flash tools error
read model is deffrent
Click to expand...
Click to collapse
I wrote a script, it should be easier now.
Put build.prop into the Puuuuush folder and run PUSH_BUILD.PROP
EDIT: Sorry, I told you the wrong commands. it should be fixed now with this tool.
Remorcer said:
I wrote a script, it should be easier now.
Put build.prop into the Puuuuush folder and run PUSH_BUILD.PROP
EDIT: Sorry, I told you the wrong commands. it should be fixed now with this tool.
Click to expand...
Click to collapse
Does it work if i can only power on the phone in download mode?
I have my phone soft bricked because of a corrupted build.prop and i need to replace it.
anasmilan said:
the phone go direct to frimware update how i can use pushbullet in this mode?
Click to expand...
Click to collapse
my bad, I thought you were just looking to transfer the file
unless I've missed something you can't do ADB in recovery or download mode. which has always seemed stupid to me.
you'll need to use ODIN to flash the rom again
screwyluie said:
my bad, I thought you were just looking to transfer the file
unless I've missed something you can't do ADB in recovery or download mode. which has always seemed stupid to me.
you'll need to use ODIN to flash the rom again
Click to expand...
Click to collapse
ODIN is for samsung phones.
After I modified the build.prop file I forgot to change the file rights and now it is stuck on a black screen with the led on green/blue
I have a backup of the original file on the SD.
The phone can get into download mode.
I have already tried the factory reset but nothing.
I have tried the unroot metod from the post:
http://forum.xda-developers.com/att-lg-g3/general/unroot-return-to-factory-stock-att-lg-g3-t2820827
But I got this message:
PID: BS02S140706002625
IMEI:
Model: D850
DLL: D850
BIN: LGD850AT-01-V10D-310-410-JUN-19-2014+0
SWV: LGD850AT-00-V10D-310-410-JUN-19-2014+0
SWOV: LGD850AT-00-V10D-ATT-US-JUN-19-2014+0
Device Model is different!
Check Phone or DLL!
My phone model is the AT&T LG G3 32Gb D850 Metalic Black
Please, can someone helpme?
I am desperate!
Sorry I'm a Samsung guy, lg tool or whatever it is.
There is a file from the g2 that makes it so the model doesn't matter you'll need that
Sent from my LG-D850 using Tapatalk 2
http://forum.xda-developers.com/showthread.php?t=2827381
You mean this file
Same thng happened to me
Ok i edited the build.prop, apparently I did something wrong, I can only boot to black screen with blue/green flashing led. I did back up my original build.prop, and I can get phone into download mode....just not sure what to do from here. I am using a mac, but I can get to a PC if needed. Any help would be GREATLY appreciated.
DIRKxxxDIGGLER said:
Ok i edited the build.prop, apparently I did something wrong, I can only boot to black screen with blue/green flashing led. I did back up my original build.prop, and I can get phone into download mode....just not sure what to do from here. I am using a mac, but I can get to a PC if needed. Any help would be GREATLY appreciated.
Click to expand...
Click to collapse
I'm really desperate, anyone that can help me get my phone back up I would really appreciate it....just get it back to stock or anything. I am willing to donate to anyone that can help me get my phone up. I know I'll get ripped apart for messing with my phone that was above my ability, I have learned my lesson I understand, just need help please. Thanks for anyone that can get me back up.
DIRKxxxDIGGLER said:
I'm really desperate, anyone that can help me get my phone back up I would really appreciate it....just get it back to stock or anything. I am willing to donate to anyone that can help me get my phone up. I know I'll get ripped apart for messing with my phone that was above my ability, I have learned my lesson I understand, just need help please. Thanks for anyone that can get me back up.
Click to expand...
Click to collapse
Woot! got it fixed!
How did you end up fixing it?
Sent from my LG-D850 using XDA Free mobile app
Hi,
So my screen broke yesterday and I needed to check my phone for missed important calls. I know there is lots of solutions out there, but I needed a way access your screen without the installation of any software on your phone. I was lucky because my digitizer still works so I can still use the touch feature and figure out on my screen where to press . I figured i would post it, might save someone someday....
Note: Works on Android 4.0 +
You need to have have developper options enabled so this can work. So first of all, I need to enable ADB from recovery. There is lots of post on the forum and google, so I will not cover this part.
Once I had ADB enabled, I wrote a small batch file that would take a screenshot from my phone, then pull it to my pc, wait 1 sec, then restart. After I used chrome and a auto-refresh extension to refresh the image every second. I will assume that you have ADB installed and all drivers for adb working. Here it goes
1. You will need to create a batch file. Open notepad and paste this into it.
Code:
:start
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
timeout 1
goto start
Save it as ss.txt, or whatever you like. Then go to desktop and rename ss.bat or "whatever you like.bat"
This may vary a bit if you do not have an SDcard, or if your directory is not named the same way, So change SDcard to the name of your storage folder.
Copy it to your adb directory.
2. Open a Command Prompt as Admin change directories to ADB folder. Once you are there, just type ss and the batch should start.
3. Open chrome and install an auto-refresh extension. I used this one:
HTML:
https://chrome.google.com/webstore/detail/easy-auto-refresh/aabcgdmkeabbnleenpncegpcngjpnjkc?hl=en
4.Then open your c:\ drive in chrome (type in the address bar file:///C: ). Navigate to your adb folder and open screen.png.
5. Start auto refresh on screen.png opened in chrome and set to 1 second.
Now you will have a screenshot of your phone being refreshed every second! I agree its slow, but its an easy way to get on your phone and configure other applications such as vnc or other stuff or just to get the phone number of that hot date you had last night.
Other thoughts: I your digitizer is broken, you can always just get a USB on the go adapter and plug-in a mouse and use ADB over wifi.
I guess you can also use an usb micro to hdmi adapter and plug it in to a monitor, they have them at bestbuy for 20$ if you dont want to make your life complicated.
Have Fun!
Need busybox do you not? screencap is not in my /system/xbin nor /system/bin folder
kirito9 said:
Need busybox do you not? screencap is not in my /system/xbin nor /system/bin folder
Click to expand...
Click to collapse
What phone and what rom are you using? What I read is that some vendors do not include screencap in their stock rom. ..
Steph_D said:
What phone and what rom are you using? What I read is that some vendors do not include screencap in their stock rom. ..
Click to expand...
Click to collapse
Using Blu Dash Jr D140a, stock ROM ( Gingerbread 2.3.6)
kirito9 said:
Using Blu Dash Jr D140a, stock ROM ( Gingerbread 2.3.6)
Click to expand...
Click to collapse
Should of mentionned, dosen't work with gingerbread, you need 4.0+ if i recall correctly. Maybe, if your lucky, the manufacturer may have included their version instead of screencap since it did not exist back, i would take a look in the bin folder to try to find an equivalent if not you are out of luck with this method.
Steph_D said:
Should of mentionned, dosen't work with gingerbread, you need 4.0+ if i recall correctly. Maybe, if your lucky, the manufacturer may have included their version instead of screencap since it did not exist back, i would take a look in the bin folder to try to find an equivalent if not you are out of luck with this method.
Click to expand...
Click to collapse
OP should be updated then and here's my bin folder.
kirito9 said:
OP should be updated then and here's my bin folder.
Click to expand...
Click to collapse
Ya, I don't believe it will be possible for you using this method. :/ Sorry Will update original post...
Steph_D said:
Ya, I don't believe it will be possible for you using this method. :/ Sorry Will update original post...
Click to expand...
Click to collapse
No problem, I will try on my 4.2.2 device.
EDIT: It works bro. Nice little guide of doing it manually
I think I messed something up, can you share build.prop file please?
How is it possible you request the build.prop file if you need to be a root user to be able to modify it, and the Mate 30 Pro has the bootloader blocked?
You cant exit the build prop file, retrack what you did to what files.
luisvalino said:
How is it possible you request the build.prop file if you need to be a root user to be able to modify it, and the Mate 30 Pro has the bootloader blocked?
Click to expand...
Click to collapse
You can use ADB to pull buildprop file out to your PC via this command: adb shell getprop > yourbuildpropname.txt