Is it possible to install GApps while cooking the rom? - Android Q&A, Help & Troubleshooting

Hello friends,
I'm finishing cooking my first rom, the rom is for an Android TV Box, my only problem so far is that I can not make Google Play Store work correctly ...
The rom is not with root access, what I did is the following:
1). Unpack system.img
2). Copy the files of "open_gapps-arm-4.4-pico-20180307" to the corresponding addresses
3). Repack system.img
4). Flashing my TV Box
With all these steps I managed to install Google Play Store without getting errors indicating that the application was stopped ... The problem now is that every time I try to install an application it throws an "error code -2", indicating that it can not be install the application ... What could be the problem?
My TV Box has an Android Kitkat 4.4.2 and its chip is a Mediatek.
I hope someone can guide me!
Thank you!

This might point you in the right direction.
https://dcrin3.com/unscrambled/?p=931

Thanks friend! I'm going to analyze it and I'm going to post results!

Related

[Q] Emulator-x86 and Rage of Bahamut

Hi everybody,
Im trying to fix my problem myself for about a week now, but seems like my nooby knowledge is not enough to get it done...
First of all the description of my problem:
I used to play Rage of Bahamut (in apps described as v2.0) on the Emulator-x86 (ICS 4.0.4 with gpu acceleration). Everything worked fine, but about 1 week ago the admins of the game made an update and my old version stucks at a "404 page not found" page directly after I enter username and password and press the login button.
What I have tried:
I tried several Android versions and app versions on the emulator. The main problem is that newest apk files contain a .so library and I'm not able to start the app after an installation by adb. I tried with libhoudini, but no success.
I checked the http requests and responses to the game server to find out why the older version stucks after the login and I realized that the server denies my "device". I cant figure out what phone information would be needed to cheat their server.
Please dont tell me to use Bluestacks. I know the game works on it, but its not really playable. I would like to use my speedy Emulator-x86.
Anybody out there who knows about my problem or simply needs a challenge? Please help me to run Rage of Bahamut on a emulator x86.
Thanks and Regards
DaShyGuy

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

[Q] more and more errors parsing

"there is a problem parsing the package"
i get it more and more, unexplainably.
It happens on APK files i have used before, in the same rom.. i am going mad !
for example, i am using a cubot gt99 (mtk device) with a custom rom - samsung lava s4 ported-
there is 1 problem with the custom rom that i know of, i cannot run a recent youtube version, i need a version 4.x.x
so i emailed that apk to myself to be able to download it ( i am fiddling with the device a lot to "play" with android, so i need to reinstall my rom every now and then, hey i am no expert )
this apk file has worked around 2 weeks ago, when i try the same file now, there is a problem parsing the package ?!?!?
HELP PLEASE

[Q] Lockscreen translation LEWA on Colorfly i898 Android KitKat 4.4.4

Hello, I have a tablet Colorfly i898A with Android kitkat 4.4.4 with Lewa OS, I have rooted the device and I installed Google Apps, but the lockscreen shows chinese text and I would like to translate to english.
¿Where are the lockscreen theme/language files?
I attach a screenshot
Thanks in advance.
how to?
Hello can you please explain how you rooted and installed gapps cause i am trying to do it and i cant... I just received the exact same tablet but play store is not working
And i also have this same problem not as big of an issue as the gapps though.
Thanks in advance for your answer and time
I rooted the tablet using iRoot windows app, just enable USB debugging and connect the tablet to USB and run de software. it is in chinesse, just press the green button and it starts the process.
I cant give you exact steps to install Gapps, I downloaded a Gapps zip file from a very similar tablet (I dont remember the model, maybe Onda, with same intel CPU and same screen resolutions) ready to flash from custom recovery but I installed manually the files extracting the zip into my computer and moving manually into the tablet, in the correct folders and giving permissions. After some hours of work finally success with no errors and Play store is working fine.
Sorry if I cannot give you more detailed info.
Your reply helped me a lot ! Thanks i will try the iroot I can manage the flashing from there thanks again
LEWA colorfly i898
Hi dear
Im very interested to buy this tablet. Where can i download lewa for this model?
Thanks!!
puffff said:
I rooted the tablet using iRoot windows app, just enable USB debugging and connect the tablet to USB and run de software. it is in chinesse, just press the green button and it starts the process.
I cant give you exact steps to install Gapps, I downloaded a Gapps zip file from a very similar tablet (I dont remember the model, maybe Onda, with same intel CPU and same screen resolutions) ready to flash from custom recovery but I installed manually the files extracting the zip into my computer and moving manually into the tablet, in the correct folders and giving permissions. After some hours of work finally success with no errors and Play store is working fine.
Sorry if I cannot give you more detailed info.
Click to expand...
Click to collapse
Hello, the first thank you for all but i have one cuestions for you, how you put the Gapps because i have a tablet the same and i would like put de play store and thank for all
Hello! Does anyone know where can a BIOS image for the Colorfly i898A 3G be found?

Offline flashing for my phone.

Hi folks, first of all, I'm Cuban. Sorry in advance for my expressions, I will be as clear as possible as you can. I used Windows Phone Recovery Tool to back to 8.1 for 10 preview. The download of the installation was left in a folder called "LumiaOS" (which had previously created and configured to be stored there). The download finished but it gave me an error later and asks me to download again. Is possible to putting on that ROM with other software? Thanks for the answer in advance directly possible and attention.
try Nokia (Lumia) Software Recovery Tool
http://go.microsoft.com/fwlink/?LinkID=525568
i like this more than WPRT... also from settings you can manage download location and firmware files

Categories

Resources