[Q] Specific Factory ROM modification - Android Q&A, Help & Troubleshooting

Hello,
I need to find a way to edit factory firmware:
1. insert one or two app to be preinstalled, and placed on home screen
2. change default ringtone
I tryed android kitchen, repack system.img file (which is one of many parts files of firmware i have to edit, like boot.img etc) then i edited just one thing, e.g background or place one app. And then I get stuck, i cant find way to restore system.img. Kitchen makes update.zip file..which cant be installed becouse of signature.. So my main problem is how to edit system.img? (unpacked or packed)
Basicly every advice is how to repack, open *.img file, non is to repack.
I have PAP4500DUO and A538 Lenovo. And Windows envirement. I am a rookie too.. :/

Related

[Q] How to create a custom ROM for SmartQ Ten3 T15?

Hi all,
I have a SmartQ ten3 T15 Android 4.0 tablet (TI OMAP 4430 SoC) on the way to me from China.
As I like to have all files on hand before gadgets arrive, I downloaded the standard firmware yesterday from the SmartQ website.
As I read somewhere (don't know where) that sometimes firmware files are zip files I renamed the extention-less firmware file to .zip and I could just open the file with winrar and extract the complete file structure of this ROM.
That got me thinking of creating my own ROM files, but first I'd like to have some questions answered by people with experience doing this.
Normal firmware update on this tablet is done via micro SD card, and by entering a boot option while holding down certain keys.
The questions:
- Is it as easy as putting in or taking out the files in the folder structure, zip the files and remove the extention and update it to the tablet?
- Winrar says the file is signed with signApk, but this also seems a very straightforward procedure to signing my own ROM's. Or will the tablet only accept files signed with their certificates?
- Anybody else have experience with firmware files for other devices who work the same way? And do you have tips for me?
One of the things I'm trying to achieve is getting bluetooth and FM to work, the hardware supports it but it is disabled by firmware.
And further on I would just like to customize the tablet further, by removing apps and adding my own and so on.
Thanks in advance for your help.

How to extract files from ROM

Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
On you pc or on you phone click extract here. And will be exctracted about 6 files. Navigate to system app and find wht app you want. Copy and replace. I guess I understood right what you mean.
Get a utility program like 7Zip, IZarc, WinRar on your PC & open up the zip/tarfile & you can see the individual files & extract same.
However...
What you're attempting to do will not work. Different framework.
Points for thinking outside the box tho.
Thanks... Though when I use 7z, it only extracts zImage,factoryfs, etc., only a handful of files. I cannot see the individual files in the file system. Also 7z cannot extract these files anymore...
Ahh I think I was talking about already "cooked" ROM, and you guys are talking about the source? Sorry I am very new to the terminologies used. If that is the case I will check if I can find these files in the source tarball.
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
MistahBungle said:
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
Click to expand...
Click to collapse
I tried but still couldn't open XXLPQ ROM with IZarc. Thanks anyway...
hirak99 said:
Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
Click to expand...
Click to collapse
to open *.img file inside the rom download diskinternal linux reader and mount the img file inside the app.
tried and tested when i needed to copy a file from another rom.
Solution you find here :
h__p://sconcauteam.com/forum/index.php?threads/how-to-windows-extract-deodex-sign-and-zipalign-an-official-rom.1325/

MX Android TV box firmware repacking/rezip

Hi guys im a noob to the forums and to rom customization in general looking for some help
I have a generic MX dual core, and have been supplied a flash firmware and image from the supplier. This image is basic and has a lot of bloatware apps which i want to remove and put some of my own
The image supplied is a zipfile and contains:
factory_update_param.aml
hd18d_mx4.zip
recovery.img
I am able to successfully restore my box with this image (so I know that the image is working fine).
Within the hd18d_mx4.zip there is:
Directotories: data, META-INF, recovery, system
files: boot.img, bootloaded.img, logo.img
I can see the all the system APK files within the system/app folder. The problem is when i try to add another APK file into this directory within the archive (in this case videomix.apk), I am not able to restore the image to the MX device.
Can anyone help me with a noobies guide to do this. I have read that the apk file has to be signed, and the zip file has to be signed also?? But im not quite sure what this means, nor how I go about doing it.
Any help or tutorials will be much appreciate. I have downloaded the APK-multi-tool but dont have a clue what I need to do
Look forward to your replies.
P.S. Im using a windows 32 bit machine
anyone???

Help modifying APK files on recovery image

Hello,
I bought a Umi Diamond X and i just found out that it came with adware.
Since i could not find any custom roms for it, i tried editing the recovery image. Manged to remove some APK files, but SystemUI is giving me some problems.
What I did until now:
1) Used simg2img to convert system.img to a mountable image
2) mounted the previously generated image and deleted suspicious folders from system/app and system/priv-app.
3) Use SPFT to flash the edited image to the device.
However, I found that SystemUI.apk is also making dubious requests in the background, so I need to replace it with a stock version. I tried taking SystemUI.apk from different roms of similar phones, with a similar SoC, and copy-paste it into my edited system.img. However, everytime i do this, SystemUI crashes when the phone starts up.
Going into the stock recovery, i have the option to "check root integraty". This appears to scan (among others) all APK files in system/app and system/priv-app. I see it detects the deleted APKs and the 1 modified APK. Could the installer have a signature of the expected APKs and not install if the file doesn't match that signature?
Is there any way I can replace SystemUI.apk with a known good version?
Bump..
Bump again..

Q3 MT7891C missing systemui.app

Hello!
I have managed to root the tablet and then started removing some apps with Titanium backup app. Unfortunately I accidentally deleted an app starting with syst.... - did not see the whole name. The tablet restarted and now there are no back, home buttons and slide menues from above, no multitasking. The Android version is 4.2.2. I have managed to install some hover buttons, CW custom recovery. Found the rom and downloaded it. I guess the app that I am missing is in system.img file? How can I extract /browse the contents? There are some img extractor apps but i cant find a valid link to download such. Is it true that if i find the apk and put it in the system folder the problem will be fixed? Please advise me what to do! I thought of flashing the device with mtk flash tool but i dont have a computer to do this with ?
Any advice would be appreciated!
Regards,
Kamen
Hello,
I have managed to extract the Systemui.apk and systemui.odex files from the system.img firmware file. Put them in system/app with the correct permissions, restarted - still not working! In the net somebody advised that I try deleting the .odex file and / or install the systemui.apk (installation fails) . No solution again!
Please advice!

Categories

Resources