[Q] Custom ROM-cannot remove all bloatware - Acer Iconia A500

Hello,
(My rom is based on stock "Acer_A500_0.000.00_4.010.42_EMEA_GEN3")
I have been building a custom rom for the A500. Everything has been going well. I removed most of the bloatware and added more features, but I have an issue that I have been unable to resolve.
When the custom rom(and the original stock) is flashed on the A500 there are several apps that are extracted to following folder. (On the device itself)
/system/vendor/app/
APKInstaller.apk
CheckerLunch.apk
FixWifi.apk
KoboAcer.apk
xt9.apk
While most these apps are OK, I want to remove KoboAcer.apk from the rom. But when looking for KoboAcer.apk at "\update\system\vendor\"inside the rom, its not there.
There is no app folder inside the vendor folder, just a dummy file inside the vendor folder called fake.txt
So my question is…
How do I remove KoboAcer.apk from the rom file?(No, I do not want to manually remove apps from the device after the flash).
Where is KoboAcer.apk being installed/extracted from during the flash process?
Any help would be appreciated
Thanks!

OK, I found KoboAcer.apk’s location, but I still don’t know how to remove it. By analyzing a backup of the ROM, I discovered that KoboAcer.apk is located in the flexrom (flexrom.img). My problem, is that I don’t know how to unpack flexrom.img and repack it without KoboAcer.apk
Could a ROM developers help me? I am stuck with the flexrom and I can’t find a tutorial/post.
Thanks!

Try to remove if using Titanium Backup.

Related

How to make update.zip from boot.img, system.img, data.img (the nandroid backup)

Yes i know the fastboot trick, but can anyone guide me towards making the nandroid backup files into a update.zip that would work?
I'd like to know too ^^.
Me too.
I've successfully scripted the automated creation of a file structure into which the contents of BOOT.IMG, SYSTEM.IMG, DATA.IMG, CACHE.IMG and SD-EXT.IMG are extracted. The script also creates a valid update-script file under ./META-DATA/....
The only issue I have is that I'm using windows so the .IMG files extracted as a yaffs file system, looses the original file permissions. I need someway to recreate the permissions in the update.zip.
Thats all.
Having a way of converting a nandroid backup to an update.zip means you can very easily cook custom roms from a nandroid backup, and port ROMs across phones using a portable .ZIP format.
Maybe dsixda can help
http://forum.xda-developers.com/showthread.php?t=633246
"OR [cook a rom] from a Nandroid backup (under /sdcard/nandroid) [NOT RECOMMENDED]:
Copy the system.img and boot.img files from the backup folder to your kitchen's original_update folder
NOTE: The Nandroid-backup method of cooking is not the best way to cook, because the kitchen may not account for various advanced options that were cooked outside of this kitchen (these options are in the update-script file which was in the original ROM but is not in the backup. The kitchen needs to re-create this file and 'guess' those options). However, it will support Nandroid backups that already have basic features like root, busybox and /data/app functionality. "
You get nandroid backup images by backing up a ROM which was flashed from an update.zip package. What is then the point of recreating that update.zip package?
giant is right with the klitchen by dsixda you can make an update.zip form nandroid very easy
Guys, we're missing the point.
To clarify:
The "point of recreating the ZIP ROM file" are numerous. For example, to create a ROM where the original ROM isnt available, i.e. to create a portable ROM based on an existing set of images in a phone where the phone and/or its sdcard cannot be removed or where we do not wish to remove the card. Simple. But more importantly, the process is a learning and development activity that I want to undertake, its a personal decision, for which support would be welcome.
Secondly, dsixda issues many caveats around cooking ROMs from nadroid backups. It simply doesnt work - I've tried it - thus his caveat is correct and should be observed. Furthermore, his kitchen creates windows based ZIP files. The process is inherently flawed for creating ROMs for linux because the ZIP files contain a windows file structure which does not contain the appropriate linux based file permissions (linux being the O/S base system on android. The restore operation does not work - in stock form - because one looses the critical file permissions, UID and GID that are required in order for the ROM to function correctly, and in some instances from my experience, to even boot up! His update-script attempts to reinstate the appropriate permissions, UID and GIDs, however, and as dsixda admits, the process is not foolproof and does not cover all eventualities, combinations and scenarios. Thus, the issue of permissions, GID and UID remains outstanding.
For these reasons, in my humble view, the issue of permissions is critical in ensuring a successful ROM flash from [linux based] .IMG files. Once this is resolved, the rest of the process is trivial. Indeed, if this one issue could be resolved, then dsixda's kitchen would mature from a useful toolset, to a truly wonderous one-stop solution.
well i don't know what people have tried and got to work or not, but it can eb done and have been done before, one of my sliderom build was done froma nandroid
soo i guess it's up to how much effort you put into it and use the kitchen as a tool, but not only use it, cause then you fail, if you don't do some manual work, nothing 100% automated will ever be a big succes
I have a solution.
I am coding this up as we speak.
My solution will extract the file permission, UID and GID from the .IMG , for each contained file. My script then runs as part of the update-script (i.e. RUN_PROGRAM restore-protection) subsequent to a ROM flash. Thus, the resultant file structure after a ROM update is exactly the same as that contained within the .IMG files.
EDIT:
coding complete.
will test tomorrow on existing phone + sdcard.
The purpose of this exercise is to 'clone' an existing phone software load, as ROM file, that can then be flashed. My script takes all partition images (system, data, cache, sd-ext and so on), creates a ROM that includes functionality that will - when flashing - restore the exact permissions, GID and UID as written in the backup files (.IMG), thus cloning the phone.
I plan to update the script in future so that APK files can be added or removed, and additional low level features such as kernel pre-empting, scheduling and other features can be added --- I think they call this "a kitchen" in Android speak.??
From your description of what you're doing it sounds like you could end up with the simplest and closest to a one click kitchen that allows users with less knowledge to fully backup / restore / clone their phone (rom, personal settings, data and all). A lot of noobs might like this tool big time
Any progess made on this? I have been trying to create a rom for a nandroid backup. When I go to flash it, I get symlink errors and the flash fails.
dazxda said:
I have a solution.
I am coding this up as we speak.
My solution will extract the file permission, UID and GID from the .IMG , for each contained file. My script then runs as part of the update-script (i.e. RUN_PROGRAM restore-protection) subsequent to a ROM flash. Thus, the resultant file structure after a ROM update is exactly the same as that contained within the .IMG files.
EDIT:
coding complete.
will test tomorrow on existing phone + sdcard.
The purpose of this exercise is to 'clone' an existing phone software load, as ROM file, that can then be flashed. My script takes all partition images (system, data, cache, sd-ext and so on), creates a ROM that includes functionality that will - when flashing - restore the exact permissions, GID and UID as written in the backup files (.IMG), thus cloning the phone.
I plan to update the script in future so that APK files can be added or removed, and additional low level features such as kernel pre-empting, scheduling and other features can be added --- I think they call this "a kitchen" in Android speak.??
Click to expand...
Click to collapse
Do you have a link?
dazxda said:
I have a solution.
I am coding this up as we speak.
My solution will extract the file permission, UID and GID from the .IMG , for each contained file. My script then runs as part of the update-script (i.e. RUN_PROGRAM restore-protection) subsequent to a ROM flash. Thus, the resultant file structure after a ROM update is exactly the same as that contained within the .IMG files.
EDIT:
coding complete.
will test tomorrow on existing phone + sdcard.
The purpose of this exercise is to 'clone' an existing phone software load, as ROM file, that can then be flashed. My script takes all partition images (system, data, cache, sd-ext and so on), creates a ROM that includes functionality that will - when flashing - restore the exact permissions, GID and UID as written in the backup files (.IMG), thus cloning the phone.
I plan to update the script in future so that APK files can be added or removed, and additional low level features such as kernel pre-empting, scheduling and other features can be added --- I think they call this "a kitchen" in Android speak.??
Click to expand...
Click to collapse
Hi, could yo share your script? I'm also working on something similar, and could use a bit of help
OMG this is exactly what I need.. I read all the way to the end and then ARRGGGGGG.. no more responses in months. Have you made this script yet? If no .. does anyone else have instructions on taking a nandroid backup and creating an IMG or ?
My personal reasons.. I have a Craig CMP741E tablet that is stuck in the android logo screen after attempting the factory update.. the one that crashes EVERY1's tablet. And there is no working way that I have found to fix it. No custom roms or factory roms that can be flashed without FIRST having the tablet ON and turn on USB Debugging or already have CWM installed. So I cannot use ADB or any other method I can find to do this.
I have a buddy with the same tablet that is rooted and has GAPPS and everything on it. He gave me a copy of his nandroid backup but now I cannot find anything I can actually do with it. If I can turn it into an Update.zip or IMG I can simply put on SD Card.. restart and cross my fingers.
lilc420 said:
OMG this is exactly what I need.. I read all the way to the end and then ARRGGGGGG.. no more responses in months. Have you made this script yet? If no .. does anyone else have instructions on taking a nandroid backup and creating an IMG or ?
My personal reasons.. I have a Craig CMP741E tablet that is stuck in the android logo screen after attempting the factory update.. the one that crashes EVERY1's tablet. And there is no working way that I have found to fix it. No custom roms or factory roms that can be flashed without FIRST having the tablet ON and turn on USB Debugging or already have CWM installed. So I cannot use ADB or any other method I can find to do this.
I have a buddy with the same tablet that is rooted and has GAPPS and everything on it. He gave me a copy of his nandroid backup but now I cannot find anything I can actually do with it. If I can turn it into an Update.zip or IMG I can simply put on SD Card.. restart and cross my fingers.
Click to expand...
Click to collapse
Can you access the tablet's fastboot mode? Turn the tablet fully off, then hold the Menu button and the Power button. I don't have your tablet, but it's a standard boot mode.
Make sure you have the tablet connected to the PC. You should see it pop up in the Device Manager, or by doing "fastboot devices" from a command prompt.
If you can get there, you may be able to flash a recovery image.
Hi, does anybody knows if there is a response for this post??, i am looking for a method to convert the images files that are included in a rom stock (for using with sp flash tool) to an update.zip file. I have no way to use sp flash tool because my tablet has a hardware problem with microusb port and the only way is flashing a new rom via microSD card with an update.zip..
Maybe the solution is in another thread, please be kind and give me a link or at least give me some suggestions where to look for.

[Optimus one Themes] Stock rom with theme support without flashing

Easy method to apply a theme to a stock rom
NO need to flash new ROM!
All you need:
-Rooted Lg Optimus One P500 with custom recovery installed
-wireless connection to your Android system files using this easy method:http://forum.xda-developers.com/showthread.php?t=1030107
Once you Deodex files inside app & framework folders (inside system)
Or
replace with the files from any rom that is already deodexed (only app&framework folders).
Replace your desired theme files (you need to mod files especially for your stock rom - search for a theme tutorial) inside framework folder
and
reboot phone.
All of this is done in windows without the use of ADB or command line process.
PS: if you don't want to lose any data, backup contacts to google and use Titanium Backup for all your apps.

[Q] How to manually edit ROM files

i am very much concerned about using perfect things, i used alot of different ROMS both with .32 and .35 kernel, none was perfect even all the stock ROMs available does have something to hate about,
my question is Cant we manually edit Stock ROMs (Update.APP) and Custom ROMs and select few important and better apps and replace with unwanted apps in roms?
in this way we can manage to create a new ROM as per our requirements....
Can't do it with stock roms unless you install, root, delete apps from /system/app.
With custom rom, just use 7-zip in windows to open zip file and delete apps you don't want from /system/app and /data if it is there. Copy your own apps in and then install.
There is a perl script to extract system.img from update.app, but i dont think there is a way to pack again

[Q] How do I apply this file into my Samsung GalaxyS4 that removes all the bloatware?

I have absolutely no background knowledge of anything in a smartphone so bear with me. My device is rooted though.
Ok you know how Samsung Galaxy S4 came with all those stock apps? I want to be able to delete all of them.
With some simple google searches I found this link:
http://forum.xda-developers.com/showthread.php?t=2307355
I attempted some of these steps but I have absolutely, not even the slightest how to complete those steps that person has outlined.
Here are the steps:
Download the zip file "TrulyClean_v1.6_MEDIUM_SBROWSER" extract it.
1. Use the default script or edit the script after your taste. (see "hidden "tutorial above!)
2. Copy recovery.zip to phone.
3a. For best experience - do a full wipe, install a custom rom and then flash TrulyClean.zip.
3b. Script only removes apps in /system, so you have to uninstall any updated apps manually.
4. Flash in recovery (I use PhilZ Touch) & run script after every time you flash a new rom.
5. Enjoy and tell me what you think!
So I downloaded the zip file and extracted it, there were two files into: META-INF and busybox.
Ok so I put them in a folder on the desktop called recovery.
On step 2 I zip the folder I created, so now it's called recovery.zip
On step 3 I don't know anything beyond that, are there step by step tutorials with pictures that illustrate these steps?
michaelli1991 said:
Ok you know how Samsung Galaxy S4 came with all those stock apps? I want to be able to delete all of them.
Click to expand...
Click to collapse
Hello,
This is ROMCleaner - http://forum.xda-developers.com/showthread.php?t=2348256
It is a simple zip which you flash in recovery and also comes with a ROMCleaner_user.txt which you serves as the list of apps you want to delete.
Very easy to edit and use.
Also,
http://forum.xda-developers.com/showthread.php?t=2507931
This is a great ready-to-flash script you can try if you are a little unsure of editing your own custom list.
michaelli1991 said:
I have absolutely no background knowledge of anything in a smartphone so bear with me. My device is rooted though.
Ok you know how Samsung Galaxy S4 came with all those stock apps? I want to be able to delete all of them.
With some simple google searches I found this link:
http://forum.xda-developers.com/showthread.php?t=2307355
I attempted some of these steps but I have absolutely, not even the slightest how to complete those steps that person has outlined.
Here are the steps:
Download the zip file "TrulyClean_v1.6_MEDIUM_SBROWSER" extract it.
1. Use the default script or edit the script after your taste. (see "hidden "tutorial above!)
2. Copy recovery.zip to phone.
3a. For best experience - do a full wipe, install a custom rom and then flash TrulyClean.zip.
3b. Script only removes apps in /system, so you have to uninstall any updated apps manually.
4. Flash in recovery (I use PhilZ Touch) & run script after every time you flash a new rom.
5. Enjoy and tell me what you think!
So I downloaded the zip file and extracted it, there were two files into: META-INF and busybox.
Ok so I put them in a folder on the desktop called recovery.
On step 2 I zip the folder I created, so now it's called recovery.zip
On step 3 I don't know anything beyond that, are there step by step tutorials with pictures that illustrate these steps?
Click to expand...
Click to collapse
Hi.
U do not need to extract the two files.
U only do this if u want to remove any system apps u don't want to remove in the update script.
Just copy the zip file in yr sdcard and flash in recovery.
That's it.
Cheers.
Wait, if your rooted. Why not just buy (yes buy, it's worth it) Titanium Backup or Rom Manager Pro and freeze, backup, and uninstall the apps you want removed. And then you have a good end user friendly GUI to work with.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app

Help trying to remove TWRP backups (Android 4.4.2)

Well, I'm quite tired and I still can not find a solution to this ... the problem is I can not delete any folder in the folder TWRP backups :/ here the strange thing is that you can not change anything inside this folder or create files ... and I tried several file browsers and nothing so far the only solution was to remove them from the same TWRP recovery and it´s the only way to delete this files...
but my question is: Anyone have any idea why it happens? I'm the only one who does this happen? i use the 2.7 twrp recovery, an 4.4.2 stock...
sorry for my bad english
The problem is the stock kernel, i change the kernel to Civato, an now i can delete and modify this folder :good:

Categories

Resources