[Q] Recovering Certain Parts in The /system/etc Folder from a zip - Android Q&A, Help & Troubleshooting

Hello...I've recently installed MIUI ROM 3.11.1 for my HTC Desire S (Saga) device. But I had a problem with the Arabic fonts in several programs (i.e: Adobe Reader), the letters were displayed as empty squares or nothing at all. I had the same problem on my computer running Linux (Fedora 17) but solved it by copying MS Core TrueType Fonts from my windows operating system to the fonts directory. I tried to do the same on my HTC Desire S and placed some Arabic TrueType fonts in the /system/fonts directory but the problem was not solved. So I tried to change /system/etc/fallback_fonts.xml and I think I did something wrong which made my device in a boot loop now.
The question is: Can I restore that file (/system/etc/fallback_fonts.xml) via CWM from a zip file? I will unpack the zip file of the ROM and repack it with just that file (/system/etc/fallback_fonts.xml) and then install it via CWM Recovery. Is this possible? Is there a certain way to repack it so that CWM can read and install it?

Probably just dirty flashing the ROM (don't wipe anything) will give you the same results
But yes you can make your own, you will just need to make your own updater-script and resign then flash
Plenty of tutorials how to do this, if you look in xda university there is one I made there as well
Read through this and if you have further questions ask in there and I'll help
Sent from my Nexus 4 using Tapatalk 2

Related

ROMs dont have an update.zip

Hey Guys,
I'm in need of some really n00b friendly advice.
When you flash a new ROM (i.e. CM9) in CWM the tutorials tell you to flash the file named Update.zip. My problem is that I can't seem to find one in the zip file I downloaded for my xperia mini.
I downloaded FXP131, and found the zip file to contain a boot.img, which will be the kernel. And 2 other folders named META-INF and System.
I know how to flash the kernel and expect it was just left in there for easy transportation.
But where in the world is 'update.zip'?
Am I meant to unpackage the kernel then re-zip the META-INF and System folder and then call that 'Update.zip'?
I've flashed roms for some of my other devices before, but they've always used flashtool or samsungs flashtool.
Please help me guys, I don't like sounding this inexperienced
update.zip
I'm wondering if the ROM I am trying to flash needs to be renamed as update.zip in order to work. It is krook's v.6 of JB for the Lenovo K1 tablet. Since the download site has to distinguish between wifi and 3G versions, as well as nvflash versions there are a number of different filenames, however does it need to be renamed after putting it on my SD card?
Generally speaking "update.zip" is used as a generic name. For example the update.zip I just flashed is actually named "rascarlo_maguro_ota_2012-11-01.zip". When you flash a custom ROM in a custom recovery you should be able to browse & flash whichever file you need.
The FXP131.zip file that contains the boot.img and 2 other folders named META-INF and System is the "update.zip"
solved
My problem was an incomplete download. I compared file sizes, and checked md5sums and determined the correct ROM and it is now in the middle of finishing the upgrade/optimization process.
Thx

[Q] rk2918 based Custom ROM question

Hello all, i'm having some difficulties with customizing my rk2918 based tablet. I managed to download the original firmware and it is in .img format. Now I have managed to take apart the single .img file into multiple .img files, customized and rooted it with dsixda's kitchen and rebuild the ROM. Now my question is, can I somehow convert the zipped package back into the multiple .img files, or even into the single .img file so I can flash it with RKupdate or RKbatchtool? I have searched my ass off for a solution but I can only find tuts on how to extract image files, not the other way around....
Not sure I understand your situation, do you now have multiple img files, or one zip file?
Sent from my HTC Desire HD using xda app-developers app
is there a way to extract from the tablet the parameter file that rk2819tools uses? to have a backup?
THX

[Q] newbie need help please......

I have a samsung note 3 sprint smn900p
I want to translate the system apks like framework-res.apk and secsettings.apk
then I found one of my friend has a same mobile note 3 sprint already translated and same android version 4.4.2
so I copy all of his files completely ( all system files and system apks ) around 2 GB .
and I make a backup of my system using TWRP recovery .
and now I try to install his framework-res.apk , so I copy it to my sdcard and using rootexplore then change the permissions to R-W-R-R and paste the framework-res.apk file to the system/framework folder and it already replaced the old framework-res.apk with the new framework-res.apk which already translated . but the problem I dont see that the mobile make upgrading for the new apk so I go to the new framework and try to install it from rootexplorer but always get a message app not installed.
I change the mount to RO then RW but nothing change only app not installed.
so how to install the new framework-res.apk ?
my second question, can I make a new rom using my friends complete system files and flash it to my mobile ?
thank you
This "upgrading" on boot only happens if you wipe dalvik cache. Try to flash some other rom here from xda as if you do something wrong then you can brick your device. One possibility is flashing his efs partition to your device. That would probably be a hard brick.

[Q] Cube U27GT - Help with Rooting a Stock Rom and can we get a forum?

Dear Admins,
Could we get a forum setup for the Cube U27GT WiFi version? I dug around on the site a bit beforehand but didn't see one, I apologize if I missed it and please direct me there if I did.
I have this tablet and I am doing some initial basic firmware development for it and want a proper place to start putting threads.
Dear Dev Community,
I can't root this bloody thing... At least, not the rom itself. Let me explain...
I can flash the stock rom from Cube and that can be rooted using Kango Root. --Fine...
However, I can't figure out how to replicate this when I make my own rom.
Thus far, here is what I have attempted...
1. Setup dsixda's excellent kitchen on my Ubuntu workstation.
2. Unpack the rom, clean things up, manually put the boot image into the dsixda unpacked working rom folder, run dsixda's root functionality (which add SU binary to xbin and SuperSu apk file to app folder as well as do some things with the boot image file).
3. Rather than using repack with Dsixda (which makes an update.zip image which I can't use because the stock recovery environment on this device can't flash zip update files and I can't for the life of me figure out how to get and or make a working CWM or TWRP recovery image for this unit)...
4. What I do is I run commands in linux to unpack the stock rom to another directory and mount that directory, then clear out a bunch of folders and then manually copy in my files from dsixda's working folder, then repackage up my unpacked stock rom into a new system.img file.
5. Then copy my now modified boot image, system image, and also userdata image (I modify that as well as that is where most all of the chinese bloatware is loaded from) to my SP_Flash_Tool, generate new checksum.ini file and flash normally...
What I get as a result...
1. As long as I am really careful with how I copy files into my new image, the new system flashes okay (if I am not careful, after flash USB storage for some reason has a format error and the system will boot but can't mount USB storage and other odd issues ensue as a result).
2. Assuming everything flashes okay, and no issue with USB storage partition, I have SuperSU installed and when I go to use an app (ES File Explorer or Root Checker) that require's root, I do get the prompt. However none of the root functions actually work and Root Checker tells me I am not rooted.
That is as far as I have got. So as a result, I have a really nice, westernized, cleaned up rom but with no root.
Anyone have any ideas?
This is my first adventure into mod'ing MTK roms so I am sure I am doing all kinds of things wrong . I had a good bit of experience on Rockchip SoC's before this though.
Kind regards and thanks in advance!
Roman
Figured it out!
So I finally did the following rather hackish work-around...
1. Flash stock firmware...
2. Root with Kingo Root
3. Enabled ADB
4. Attach to PC and fire up MTK Droid Tools
5. Take a full backup
6. Modify the system image from the backup and make changes
7. Put that in new firmware flash package
8. Flash new firmware
YAY - Cleaned up rom, modified, with root!
Once I get it all packaged up and uploaded to mtkfirmware.com I will post a link for anyone that wants a cleaned up rom with root!
The only downfall of the above method is that it absolutely requires that the developer have a device on hand because you can't just root the stock image file (at least, I couldn't figure out how... - bleh...
Kind Regards,
Roman
Dear roman,
Thanks for your hard work.
I have a simple question (I think) and if you have the time to reply or -any other android guru- I would be thankful.
My later issue was with a U27GT cube tablet, but I have others, one for each kid, and this is more of general question.
I am reading this and other forums about how to flash tablets from PC. My question is:
Can the flashing process be done from a SD card?
Thanks a lot and regards,
Fernando
SKorea

Flashing Issues | Will not pass Android Logo on XtreStolite ROM

Flashing Issues | Will not pass Android Logo
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
RockyCaballero said:
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
Click to expand...
Click to collapse
Here download this https://www.androidfilehost.com/?fid=24052804347782219
Extract and Add whatever directories/folders you want inside the system folder and flash. The script just extracts the system folder as a whole so as long as you make the correct folders, file names, directories etc it'll flash everything to the right spot.
Delete the jar file out of system/framework/ tho since it's a 5.1.1 jar file I did
Much obliged sir, worked perfectly. I'm sure it was the coding. [emoji2]

Categories

Resources