I've been trying to permanently remove all the htc apps and widgets but I've been getting "directory not empty" error when I use :
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Rosie.apk
rm /system/app/Rosie.odex
rm /system/app/htcbookmarkwidget.apk
rm /system/app/htcbookmarkwidget.odex
rm /system/app/htccalendarwidgets.apk
rm /system/app/htccalendarwidgets.odex
rm /system/app/htccontactwidgets.apk
rm /system/app/htccontactwidgets.odex
rm /system/app/htcmailwidgets.apk
rm /system/app/htcmailwidgets.odex
rm /system/app/htcmsgwidgets.apk
rm /system/app/htcmsgwidgets.odex
rm /system/app/htcsearchwidgets.apk
rm /system/app/htcsearchwidgets.odex
rm /system/app/htcsettingwidgets.apk
rm /system/app/htcsettingwidgets.odex
Would it be possible to use the update.zip for Hero from MoDaCo.
Ok so I tested the hero zip and I get these errors :
No signature (4 files)
Verification failed.
I signed the update.zip with test keys.
same problem here...
where have you found the test keys?
What test keys?
Just run these commands in adb shell
Code:
su
#
rm /system/app/Rosie.apk
rm /system/app/Rosie.odex
rm /system/app/htcbookmarkwidget.apk
rm /system/app/htcbookmarkwidget.odex
rm /system/app/htccalendarwidgets.apk
rm /system/app/htccalendarwidgets.odex
rm /system/app/htccontactwidgets.apk
rm /system/app/htccontactwidgets.odex
rm /system/app/htcmailwidgets.apk
rm /system/app/htcmailwidgets.odex
rm /system/app/htcmsgwidgets.apk
rm /system/app/htcmsgwidgets.odex
rm /system/app/htcsearchwidgets.apk
rm /system/app/htcsearchwidgets.odex
rm /system/app/htcsettingwidgets.apk
rm /system/app/htcsettingwidgets.odex
But backup to /sdcard before removing...
Or at least run backup.sh in recovery
I did it few days ago and got some speed and battery improvement...
Thanks I managed to remove them. It's wierd when I used mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system before the comands wouldnt work.
Blackdragon_860 There is a tutotrial on the forum how to sign update.zip.
lgstoian said:
I've been trying to permanently remove all the htc apps and widgets but I've been getting "directory not empty" error when I use :
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Rosie.apk
rm /system/app/Rosie.odex
rm /system/app/htcbookmarkwidget.apk
rm /system/app/htcbookmarkwidget.odex
rm /system/app/htccalendarwidgets.apk
rm /system/app/htccalendarwidgets.odex
rm /system/app/htccontactwidgets.apk
rm /system/app/htccontactwidgets.odex
rm /system/app/htcmailwidgets.apk
rm /system/app/htcmailwidgets.odex
rm /system/app/htcmsgwidgets.apk
rm /system/app/htcmsgwidgets.odex
rm /system/app/htcsearchwidgets.apk
rm /system/app/htcsearchwidgets.odex
rm /system/app/htcsettingwidgets.apk
rm /system/app/htcsettingwidgets.odex
Would it be possible to use the update.zip for Hero from MoDaCo.
Ok so I tested the hero zip and I get these errors :
No signature (4 files)
Verification failed.
I signed the update.zip with test keys.
Click to expand...
Click to collapse
You cannot use a Hero ROM on the Tattoo.
The update.zip only contained a script to remove Rosie. It wasn't a hero rom.
lgstoian said:
I've been trying to permanently remove all the htc apps and widgets but I've been getting "directory not empty" error when I use :
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Rosie.apk
rm /system/app/Rosie.odex
rm /system/app/htcbookmarkwidget.apk
rm /system/app/htcbookmarkwidget.odex
rm /system/app/htccalendarwidgets.apk
rm /system/app/htccalendarwidgets.odex
rm /system/app/htccontactwidgets.apk
rm /system/app/htccontactwidgets.odex
rm /system/app/htcmailwidgets.apk
rm /system/app/htcmailwidgets.odex
rm /system/app/htcmsgwidgets.apk
rm /system/app/htcmsgwidgets.odex
rm /system/app/htcsearchwidgets.apk
rm /system/app/htcsearchwidgets.odex
rm /system/app/htcsettingwidgets.apk
rm /system/app/htcsettingwidgets.odex
Would it be possible to use the update.zip for Hero from MoDaCo.
Ok so I tested the hero zip and I get these errors :
No signature (4 files)
Verification failed.
I signed the update.zip with test keys.
Click to expand...
Click to collapse
well done...but sence is more...
u used it... and
u need to add some more in that script m8 ...
'well.done
THX
Marsdroid
i continue having this problem:
"directory not empty"
i used the command: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
but it doesent works.. i have su!
For me it worked without the mount comand on a freshly flashed rom and with mainfram3 custom boot.img. Before that I ran in the same problem as you did. I don't know exactly why it worked that time.
Worked for me too...
Goodbye sense ui...
Thank you for the commands...
Cheers
Removal Commands have been included in AzusaROM v1.0. Thanks for the commands! I've trimmed about 10MB or so from the ROM now.
I'm trying to remove some apk's from system but I can't !
Code:
# pwd
pwd
/system/app
# id
id
uid=0(root) gid=0(root) groups=1003(graphics),1004(input)
15(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# rm HtcFootprints.apk
rm HtcFootprints.apk
rm failed for HtcFootprints.apk, Directory not empty
I didn't flash custom boot yet but I DO have su
thanks
Odd...I didn't flash my Tattoo either and on mine it works...:/
was tired of this semi-su, so I flashed custom img and now it works
thanks anyway
This is just a removal script that removes bloatware.
You can edit the script by your own liking in the file: remove_apps/remove_script.sh
Just flash in any recovery.
But you have to be root and unlocked.
This is not my own idea but just made it custom to JB and Xperia phones.
If you edit the script just remove / add lines in the file i prefer the Note++ app... and flash.
Goodluck to all
Code:
#!/system/bin/sh
## add here the .apk files you want to delete
## like: rm -f /system/app/Calculator.apk
rm -f /system/app/EventStream.apk
rm -f /system/app/EventStreamPluginTwitter.apk
rm -f /system/app/EventStreamPluginFacebook.apk
rm -f /system/app/facebook.apk
rm -f /system/app/fast-dormancy-incall.apk
rm -f /system/app/fast-dormancy-wakeup.apk
rm -f /system/app/FBCalendarSync.apk
rm -f /system/app/FBIAppShare.apk
rm -f /system/app/FBMediaDiscovery.apk
rm -f /system/app/FBMusicLike.apk
rm -f /system/app/FBSetupwizard.apk
rm -f /system/app/GenieWidget.apk
rm -f /system/app/helpapp.apk
rm -f /system/app/JapaneseIME.apk
rm -f /system/app/PlusOne.apk
rm -f /system/app/POBoxSknMono.apk
rm -f /system/app/POBoxSknPink.apk
rm -f /system/app/POBoxSknSelector.apk
rm -f /system/app/POBoxSknWood.apk
rm -f /system/app/LiveWallpapers.apk
rm -f /system/app/PostViewer.apk
rm -f /system/app/retaildemo.apk
rm -f /system/app/SemcEmail.apk
rm -f /system/app/SEMCFacebookProxy.apk
rm -f /system/app/SemcPowerSaver.apk
rm -f /system/app/SEMCSetupWizard.apk
rm -f /system/app/SocialEngineCore.apk
rm -f /system/app/SocialEngineFacebookPlugin.apk
rm -f /system/app/SocialEnginePicassaPlugin.apk
rm -f /system/app/SocialPane-Apps.apk
rm -f /system/app/SocialPane-FeedWidget.apk
rm -f /system/app/SocialPane-FriendsWidget.apk
rm -f /system/app/SocialPane-StatusWisdget.apk
rm -f /system/app/storefront.apk
rm -f /system/app/talkback.apk
rm -f /system/app/textinput-chn.apk
rm -f /system/app/timescaperssplugin.apk
rm -f /system/app/TimescapeSpline.apk
rm -f /system/app/TwitterPostViewer.apk
rm -f /system/app/UpdateCentre.apk
rm -f /system/app/PhaseBeam.apk
rm -f /system/app/CosmicFlow.apk
rm -f /system/app/HoloSpiralWallpaper.apk
rm -f /system/app/Galaxy4.apk
rm -f /system/app/MagicSmokeWallpapers.apk
rm -f /system/app/NoiseField.apk
rm -f /system/app/PhotoSlideshow.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
##rm -f /system/app/.apk
The above is an example of my file.
Also usable with "Gscript" from the playstore:
First of all extract your modified .sh script to your sdcard in the folder "Gscript".
In the app go to options and use "add script" and use the file, save and you're done!
Now you can load the script
Download here:
Bloatware_removal_Script_v1.0
Could this script be made to work with gscript for example ? . Will it work if i just paste the text from your post in new script ?
I'll look into it.
mastersjef said:
I'll look into it.
Click to expand...
Click to collapse
Thank you :good::good:
MafiaManV said:
Thank you :good::good:
Click to expand...
Click to collapse
Oke so use Gscript from the playstore.
First of all extract your modified .sh script to your sdcard in the folder "Gscript" in the app go to options and use "add script" and use the file save and your done!
Now you can load the script just tested.....
ok, so i downloaded the. zip you included in your first post, extracted the. sh file,........... but after running the script i get this. What am i doing wrong? I use XperiaS
I think it just need root and busybox. Root is not required.
But I can be wrong.
i have granted root access, and busybox with smart install installed
EDIT : My bad, sorry
This is a universal script for all xperia phones. Have three Versions.
http://forum.xda-developers.com/showthread.php?t=2349568
Just to point to an alternative.
Android Tuner's file manager offers to select multiple files. Hit delete and the bloat is gone in a minute. I am sure other file managers are also capable doing this.
dumping firmware AT&T Samsung Note 3 credit to A.S._id
need root and busybox installed
su
mkdir /sdcard/NB4
dd if=/dev/block/mmcblk0p1 of=/sdcard/NB4/NON-HLOS.bin bs=256 count=14803
dd if=/dev/block/mmcblk0p2 of=/sdcard/NB4/modem.bin bs=256 count=203079
dd if=/dev/block/mmcblk0p14 of=/sdcard/NB4/boot.img
dd if=/dev/block/mmcblk0p15 of=/sdcard/NB4/recovery.img
I don't need below, but for anyone who needs the scripts
If you want system.img.ext4
make_ext4fs -s -l 2501M /sdcard/NB4/system.img.ext4 /system
to make flashable for odin
cd /sdcard/NB4/
tar -c ./* >> N900AATTBNB4_ODIN_DUMP.tar
md5sum -t N900AATTBNB4_ODIN_DUMP.tar >> N900AATTBNB4_ODIN_DUMP.tar
mv N900AATTBNB4_ODIN_DUMP.tar N900AATTBNB4_ODIN_DUMP.tar.md5
Hello!
I need a "donor" dump of NVA section from working device.
Dump is needed to restore IMEI, after a full "brikking".
Unfortunately, I do not have a backup NVA section of my device.
Dumping can be done by moving the device in the APX (nvflash) mode.
1. Remove the battery.
2. Press both Volume + and Volume - and then insert a usb cable.
3. The system should appear "APX device". (If not, repeat step 2)
4. Insert the battery into place.
5. Install the driver from the "apx_device_drivers" folder (it may be necessary to temporarily disable digital signature verification of drivers)
6. Run "make_NVA_dump.bat"
In "nvflash" folder appears "NVA.img" file.
If you know how to edit IMEI in "img" file, do it by replacing your IMEI to fake data.
Download "make_NVA_dump.zip" from there "https://mega.nz/#!UANnnL6K!JkDlsf28HuD_j7gbRzJQ-bjddo-WbqkVGdvmHBDH5Gw"
im in the same situation, full brick.
If u manage to solve this, please post how u did it.
thanx
I unbrick my LGO4XHD with nvflash tool from this post
http://forum.xda-developers.com/optimus-4x-hd/general/maybe-nvflash-method-t3159853
but i not backup all data and lost IMEI :silly:
BEFORE you start unbricking try backup all partitions from your device!!!!
Set device into APX mode (how to: see first post)
See the folder "Final/nvflash" in "P880 nvFlash tool(Recovery tool).zip"
nvflash --help list all commands
read current partitions list from your device
nvflash --blob blob.bin --bl bootloader.bin.encrypt --getpartitiontable pt.txt --go
after executing open pt.txt
partition list from pt.txt must be equil with list from flash.cfg
and backup all partitions using this command list
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 2 bct.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 3 pt.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 4 ebt.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 5 lge.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 6 eks.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 7 gp1.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 8 sos.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 9 lnx.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 10 app.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 11 cac.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 12 msc.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 13 usp.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 14 nva.img --go <--IMPORTANT!!!!! IMEI !!!!!
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 15 uda.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 16 drm.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 17 mlt.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 18 fot.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 19 cal.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 20 udb.img --go
nvflash --blob blob.bin --bl bootloader.bin.encrypt --read 21 gpt.img --go
copy twice all new .img files
after that return to "Final" folder and start Nvflash#1(encrypt).bat
PS: sorry for my english
Thanks @DJ_Asterix for sharing this with us. I am also looking for a long time to unbrick my LG. Maybe you offered me the solution.
Edit:
Could some pls get this nva partition for us? Also, if you do this please remove your IMEI from the NVA file (search/replace it with XXX or something else). Hopefully I can get my LG to life again.
i think i managed to dump my wife´s p880 NVA section, can anyone help how to edit out the imei?
---
edit:
just manage to edit it with the simple wordpad
here is the LINK
please post how to flash it to my phone.
i can´t flash it with any method, i tried them all, it always stops at 10% or some other error.
this method is my last hope.
thanx in advance
try flash NVA to your P880 using APX mode
nvflash --blob blob.bin --bl bootloader.bin.encrypt --download 14 nva.img --go
OMG, its back to life... but still dont have a baseband or imei. At least its progress... any ideias how to get back the imei and baseband. (yes i edited the NVA with my imei)
edit:
im trying to restore the other partitions but the command u gave its not working for the others.
for instance:
nvflash --blob blob.bin --bl bootloader.bin.encrypt --download 2 bct.img --go
it gives error: command 15 NvError 0x120002
help!
xtribas said:
OMG, its back to life... but still dont have a baseband or imei. At least its progress... any ideias how to get back the imei and baseband. (yes i edited the NVA with my imei)
edit:
im trying to restore the other partitions but the command u gave its not working for the others.
for instance:
nvflash --blob blob.bin --bl bootloader.bin.encrypt --download 2 bct.img --go
it gives error: command 15 NvError 0x120002
help!
Click to expand...
Click to collapse
for bct try to use command
nvflash --blob blob.bin --bl bootloader.bin.encrypt --bct bct.img --setbct --go
I think that WordPad not suitable for editing IMG files.
Use any HEX editor, for example "HxD Hex Editor" (searching it in network)
Please, "xtribas" , can you send me the NVA without editing from WordPad or edit it in HEX editor.
DJ_Asterix said:
I think that WordPad not suitable for editing IMG files.
Use any HEX editor, for example "HxD Hex Editor" (searching it in network)
Please, "xtribas" , can you send me the NVA without editing from WordPad or edit it in HEX editor.
Click to expand...
Click to collapse
Ok, just edited with hex editor replaced the imei with XXXX.
download here: LINK
I made a full backup of all the partitions of my wife´s p880 to flash to mine, ca u please make a small guide to flash all the partitions.
I ran the bat file from recovery tools folder and it installed the android ICS 4.0.3 again, and now i have a locked bootloader and cant flash with any KDZ or the DZ tool. It always stops at 10% or param 207 error.
thanx
---------- Post added at 05:19 PM ---------- Previous post was at 05:04 PM ----------
when i use "nvflash --blob blob.bin --bl bootloader.bin.encrypt --bct bct.img --setbct --go"
it gives me error nvError 0x0
I have the same problem
KDZ or DZ flashing tool stop at 10 % with error 207
While flashing with KDZ or DZ tool, flash process contains from 2 steps....
1. Flashing HardWare info, BaseBand and other data from combined.fls from DZ file using IntelFlashUtil protocol
2. Flashing Boot, Recovery and System imeg's using nvflash util protocol (nv3p)
Stop at 10% take place at the first step. I don't know error reason ("it's magik").
I think the reason in lost IMEI, but it seem not truth (maybe)
I compared NVA which you editing with WordPad and last and they are differ.
xtribas said:
when i use "nvflash --blob blob.bin --bl bootloader.bin.encrypt --bct bct.img --setbct --go"
it gives me error nvError 0x0
Click to expand...
Click to collapse
extract a flash.bct.encrypt from firmware DZ file which equl the firmware from second phone LGP880AT-00-V20b-HKG-XXX-MAR-27-2013+0
"http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW088386573210987654321/V20B_00.kdz"
TOOL "http://forum.xda-developers.com/showthread.php?t=2600575"
and flash it
nvflash --blob blob.bin --bl bootloader.bin.encrypt --bct flash.bct.encrypt --setbct --go
DJ_Asterix said:
extract a flash.bct.encrypt from firmware DZ file which equl the firmware from second phone LGP880AT-00-V20b-HKG-XXX-MAR-27-2013+0
"http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW088386573210987654321/V20B_00.kdz"
TOOL "http://forum.xda-developers.com/showthread.php?t=2600575"
and flash it
nvflash --blob blob.bin --bl bootloader.bin.encrypt --bct flash.bct.encrypt --setbct --go
Click to expand...
Click to collapse
thanx, tonight i will try this and post updates
---
edit
i tried to extract the dz and it gave me a error, not valid dz. tried to edit other dz too, same error.
maybe is a header error i dont understand.
If u can extract it please share the files with me
xtribas said:
thanx, tonight i will try this and post updates
Click to expand...
Click to collapse
Thanks for keeping us updated. I am really hoping to get my LG working again. It is already back to life but the IMEI is still missing. :-/
Guys,
the file NVA.img, starting offset 0x08. I still see a IMEI Nr (or is it a Bluetooth Nr?!). I have exchanged the Nr. with my IMEI number. Also, I searched for "XXXXXXX" and replaced all X's with my IMEI number (0x800). But what to do now?
I currently don't know the correct cmd to flash the nva partition, any help is appreciated.
Special request for @xtribas:
In case you get your device working again, could you - please! - remove all apps and account/imei settings from your recovered device, make a full backup as written in post #3 from @DJ_Asterix and provide the files zipped and uploaded to a hoster of your choice? That would be awesome. Thanks in advance!
GoodSoul said:
Guys,
the file NVA.img, starting offset 0x08. I still see a IMEI Nr (or is it a Bluetooth Nr?!). I have exchanged the Nr. with my IMEI number. Also, I searched for "XXXXXXX" and replaced all X's with my IMEI number (0x800). But what to do now?
I currently don't know the correct cmd to flash the nva partition, any help is appreciated.
Special request for @xtribas:
In case you get your device working again, could you - please! - remove all apps and account/imei settings from your recovered device, make a full backup as written in post #3 from @DJ_Asterix and provide the files zipped and uploaded to a hoster of your choice? That would be awesome. Thanks in advance!
Click to expand...
Click to collapse
we are still far away from a solution to this. if we find it, we will share it of course
to flash the nva partition use:
nvflash --blob blob.bin --bl bootloader.bin.encrypt --download 14 nva.img --go
i used it but i did not get my imei or baseband back
xtribas said:
we are still far away from a solution to this. if we find it, we will share it of course
to flash the nva partition use:
nvflash --blob blob.bin --bl bootloader.bin.encrypt --download 14 nva.img --go
i used it but i did not get my imei or baseband back
Click to expand...
Click to collapse
A likely solution to the problem is the Octopus Box LG Software. Perhaps some local GSM service is able to help.
ze7zez said:
A likely solution to the problem is the Octopus Box LG Software. Perhaps some local GSM service is able to help.
Click to expand...
Click to collapse
Spending 100€ on a box its out of my budget.... thanx anyway
xtribas said:
Spending 100€ on a box its out of my budget.... thanx anyway
Click to expand...
Click to collapse
No one you do not propose to purchase box.
You find the GSM service in your area, which has the box and the service does not have to be so expensive.
:crying:
I have tried a lot of diffrent combinations with NVA.img (thanks xtribas for original image) but device continiously did not want to see the IMEI.
The best result of this "circus" - flashers like LGFlashTool or official LGMobile Support Tool starts see the IMEI when i try reflash KDZ or try repair after update errors. But they still "freeze" on 10% when they try flash the radiomodule
May be IMEI on NVA partitions used only for support tools.
May be IMEI must be flashed in EEPROM of the RadioModul but it corrupted and we have the "hell loop" - we can not flash the EEPROM because the IMEI corrupted and we can not flash IMEI because EEPROM corrupted.
I was using this tool (http://forum.xda-developers.com/showthread.php?t=633246) to repack boot and recovery images but it's not working with my watch's images. I tried to repack it manually but result is same, it sticks at LG logo. Any suggestion on repacking would be great. Thanks.
Use linux machine and abootimg
Code:
sudo apt-get install abootimg // install abootimg
abootimg -x boot.img or recovery.img //unpack u .img
mkdir unpck // great folder unpck
cd unpck //go to unpck folder
zcat ../initrd.img | cpio -i //unpack initrd.img
after edit repack
find . | cpio -o -H newc | gzip > ../initrd.img //repack intird.img
cd .. //go back folder
abootimg --create name-boot-or-recovery.img -k zImage -r initrd.img //make recovery or boot img
abootimg --create name-boot-or-recovery.img.img -f bootimg.cfg -k zImage -r initrd.img
If error "boot.img: updated is too big for the Boot Image"
abootimg --create boot.img -k zImage -r initrd.img
abootimg --create boot.img -f bootimg.cfg -k zImage -r initrd.img -c "bootsize=size-in-error-bootsize"
So, this one does repacking - http://forum.xda-developers.com/showthread.php?t=2073775