[Q] Convert Android (Linux) .img to .vhd (Windows) - Android Q&A, Help & Troubleshooting

Hey guys!
I just wanted to ask, if anyone knows how to convert .img files (Specifically a kernel.img file) to a .vhd file and back, so I can modify it?
I just got a weird russian tablet (3Q Q-Pad RC0170B) and got it rooted, with a semi-custom ROM, but that 1GHz CPU is just not strong enough, to do anything (Literally. You open the Play Store and it crashes :S ).
And some advice on how I could achieve this the best way would be fantastic
(Sadly) I'm stuck to using an old Windows PC, and I will be able to afford a new PC in approx. 6-8 months at the earliest (Drivers license is more important).
I have tried using vhdtool, and I get constant errors, moaning about the file size being under 12MB. I'm used to Linux, now. So please bare with me if I missed something big.
P.S. I am asking this here, because I have noticed quite a few other questions here
Anyways, thanks in advance guys!
LG familyguy59/Beatsleigher

Related

[Q] Adding kernel modules to Z902

Okay so it took me a while to get my z902 to the point where i could begin messing around with system folders. I managed to do so by using Lubuntu and some other tools. I have several questions regaurding customizing the kernel image. In the end i would like to add support for sixaxis controllers via usb (hid-sony.ko) as well as modify the build.prop to get the device recognized as something with more apps in the app store. The last thing i want to accomplish is making the real sd card mount as read write as well as possibly giving the option to swap the internal sd card with usbhost0. my questions are...
1. since lubuntu runs independently from the android OS would i be able to modify the system files without the need to recompile and flash a recovery image..? I managed to make the nandd read write by reformatting the nandd and copying the files back to the partition. so in theory i should be able to add modules and instanciate them in init.rc.
2. I have modified the build.prop in attempts to open the play store by changing some things i changed on another device.(samsung galaxy tab 2 7 in.) The device is recognized as the Nexus S as i wanted in the about this device in settings. the play store opens and loads the initial first page. but as soon as i try to navigate anywhere within it stops workin and hangs. I believe that something in the build.prop is conficting the changes causing the play store to get confused and give up.
3. going back to question 1. I was wondering if anyone knows if extracting a custom rom image onto the nandd via lubuntu would be possible. as i know there are several roms out for the mk802 II (supposably identicle but i speculate a few diffences.) which have already exploited the ability to use ps3 controllers bluetooth dongles as well as usb ethernet adapters.
Im really looking forward to making this device into a gaming console as i have managed to get quite alot accomplished with it already before i got it read write. i found that quite a few games that would be thought to not run on this device actually do. using sideloaded apks i managed to install and run quite a few high end gameloft games as well as other open gl dependent games. some run better than others but i see alot of potential and wish to develope this device to better working order. any help with these problems would be greatly apreciated as im not a pro but def a fast learner.
I would also like to thank Rodrigolopezguerra for helping me figure out how to get this device to read write status. i ran into quite a few problems but In the end his guide helped me quite a bit.

[Q] Trio 4.3 Internet Tablet

Hi all.
I recently acquired a Trio M4302 4.3 inch Internet Tablet to try Android out, being a long time iOS user. My question is this. I'm looking for a way to a.) Get Google Play running on here, and b.) either flash a phone ROM or to turn on phone mode in ICS because the tablet interface is just too big for this little screen.. does anyone know of anything? Thanks in advance for the help!
Trio 4.3 root and Google Play Store
macfan406 said:
Hi all.
I recently acquired a Trio M4302 4.3 inch Internet Tablet to try Android out, being a long time iOS user. My question is this. I'm looking for a way to a.) Get Google Play running on here, and b.) either flash a phone ROM or to turn on phone mode in ICS because the tablet interface is just too big for this little screen.. does anyone know of anything? Thanks in advance for the help!
Click to expand...
Click to collapse
Hi,
I just picked this tablet up. I have successfully rooted it and have installed a working Play Store. I now have access to all my apps that I use on my Galaxy Note 10.1.
To root I used the instructions from this thread: http://forum.xda-developers.com/showthread.php?t=1886460
Once I had root I wanted to get Google Play Store on the tab. I found a couple of places that had information concerning adding Play Store to other devices and kind of pieced the info together to come up with this solution.
1. Download gapps for ICS. http://goo.im/gapps/gapps-ics-20120429-signed.zip
2. Unzip file
3. Navigate to the " System/app " folder and find "phonesky.apk and setupwizard.apk"
(You will need to copy these two files to your tablet)
4. Once files are on tablet use something like "Root Explorer" to copy both to the "system/app" folder of the tablet.
(The folders will need to be mounted as "R/W" so they can be written to )
5. After the files are copied to the proper folder, you need to edit the permissions for both.
6. In "Root Explorer" long press on each file and choose "permissions"
7. Edit permissions to read "Owner: Read, Write" "Group: Read" "Others: Read"
8. Reboot and launch Play Store
Hope it works for you!
Tabfreak
My Trio won't boot
It doesn't boot after enabling quickboot.
EDIT: Wait... I just flashed the Allwinner A10 ROM. I hope it works. Boot takes very very long and will not end in looping!
EDIT 2: It works... the touchscreen just didn't work and freezes when loading with SD Card.
NOW I DON'T HAVE A STOCK ROM FOR TRIO! I SPENT $60 FOR A BRICKED DEVICE!
Kotetsukun said:
It doesn't boot after enabling quickboot.
EDIT: Wait... I just flashed the Allwinner A10 ROM. I hope it works. Boot takes very very long and will not end in looping!
8:44 - Oh crap... Boot animation froze. WHAT DID I DO!?!?
8:45 - Bootloop confirmed.
NOW I DON'T HAVE A STOCK ROM FOR TRIO! I SPENT $60 FOR A BRICKED DEVICE! So I burned it.
Click to expand...
Click to collapse
Contact the manufacturer and maybe they can help. I just rooted and kept the stock rom. Sorry for your misfortune.
Sent from my GT-N8013 using Tapatalk HD
I'll try. I just flashed CM9 for AllWinnerTablets. I said I burned it just for expressing my emotion. I'll try to get a replacement or return it.
EDIT: I'll TRY to return it. But I'll see if I can replace it first, since it's on a one-year warranty. I have a reciept and kept it safe.
Don't know about Walmart, but you could try to return it
Sent from my GT-N8013 using Tapatalk 2
Here is a safer way
http://www.slatedroid.com/topic/658...49986__hl__stealth__fromsearch__1#entry749986

Help! I think I killed my Archos 101it !!

Help, (PLEASE) I just "re-rooted) my Archos 101it tablet....I missed the setup screen where you fill out all the information on who you are (the developer)...now when I power it on, it gives me the Archos logo, then developers logo (angstrom) but then goes to very itsy bitsy lettering :
The angstrom distribution archos-gen-8
Angstrom 2009.X-stable archos-gen-8 tty1
archos-gen8 log in:
It does not respond to the touch screen. I am just sick inside...I had this tablet since mid-2011 and never did anything much with it, then after a download from Amazon, I started getting this popup saying that certain things could not open...lots of people had this error message, thus the reason for googling to this forum. I thank ANYONE in advance who can help me out...any way to get back to the screen to put in my user information and log in passcodes??? Jeanie
ps...then the new op version (android for Archos) that the person who wrote the tutorial on how to re-root is no longer available. (scream) I will need to know how to download the new op if I ever find it 8-(
I also had the same problem!!: After applying sde versions and trying numerous times to re-download firmware, I finally got my aos back!!! Seems I downloaded the newest version using Chrome and it wasn't copying right, so I followed another forum's advice and used Internet Explorer...it worked!!! Now after a week, I now have a "Like New) Archos 101it. What a learning experience!!!
P.S. I don't really know if it was Chrome or IE, seems I kept downloading different versions of the aos files with the same name...thus it was renaming them
firmware_archos_android_gen8. (2)aos
firmware_archos_android_gen8. (3)aos
well, before I copied the file over to the 101it drive, I took out the (2) or (3), then it worked!!!!
Try to delete SDE, reformat device and flash it again. Use chrulri's method to root it.

Anyone have an android rearview mirror? Nuked some files by accident

Hey guys, i figure this might be a longshot but if anyone has or know someone who has an android rearview mirror ie: http://www.ebay.ca/itm/201130187577?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
If you could take 5 minutes and copy some of your files using adb, you might save me from having turned my android mirror into a paperweight.
adb pull system/framework d:\files\framework
I ran some scripts and i accidentally nuked some files without having made a backup (smart i know..) i'm pretty sure the culprit is framework-res.apk but just in case the command pulls the whole framework folder.
Thanks!
---
It has a weird launcher forced into it, that cannot be replaced as far as i can tell and has an app fireeye.apk that also boots and is forced into memory. I tried to get a different launcher to work, but their interface is modified and the home button is not really a homebutton, but is hardlinked to their launcher. Trying to bypass that i managed to screw it up, also no fastboot, it uses livesuit for restore and as far as i can tell no chance of flashing the cm for allwinner as it has a really weird partition set. I'm kinda stuck.
I have one
I have 2 of these and I am interested in helping you. what do I need to do to get you a copy of the files on it?
Recovery???
How did you get it into recovery mode??? i messed something up and it wont go pass the Android logo!
Sorry to dig up an old thread.
I have one of these dashcams and the fireeye app keeps freezing on me. its really annoying. Until yesterday i have put up with it by resetting the device. Yesterday i was invloved in a minor car accident only to realise that the fireeye app had frozen again and did not get a recording of the accident. would have come in usefull.
Has anyone had problems with the fire eye app freezing and have you figured out a a way around this?
Hoping someone can help
OlvrCA said:
How did you get it into recovery mode??? i messed something up and it wont go pass the Android logo!
Click to expand...
Click to collapse
There is another thread about this
http://forum.xda-developers.com/general/connected-car/android-reversing-mirror-model-rt01-t3097492
This is the download link, and there are instruction which will tell you how to upgrade it.
http://yunpan.cn/cKzgb95TaCEJk
Password: 8880
These were the instructions I got from a seller on aliexpress.
It's a little different but maybe someone could extract from here and make yours work

Some Hacking in Yoga Book

Hi folks.
I'm an Android firmware developer (you can see my posts here in xda) that got a yoga book yesterday. For me it works at it should (by now) but my hacker soul speak to me and said: "at least take a look to see what you can get from this device". I don't have many time, so I can't spend time doing roms or fixing things by myself, but I can share with you some info I get and help you with my knowledge if someone is interested in "play" with this device.
First of all, I'm not responsable of anything that you can break following these steps. Almost all of them are tested and with some common sense you will not break anything, and if you break anything I will try to help you to fix it (if you are polite), but this is a work in progress and hacking and the possibility of brick the device is always there.
I only have the Android version without LTE, so I only tested in my Book.
So, here we go:
1) Secret codes:
I get this codes decompiling EngineeringCode.apk with apktool. Be carefull with them:
####0000# - Display version info
####7599# - Display hardware info
####8375# - Display baseband info
####1111# - Factory test
####2222# - Display SN
####7777# - Factory Reset???
####5993# - Display internal frameWork version
####7642# - Cut the power off to reload the PMIC - This command shutdowns the device. Just press the power button to reboot.
####5236# - Display LCD name
####2834# - ES close test
####8899# - open the ums mode default for debug
####3333# - offline log
####3334# - offline modem log
####9527# - Mediaplayer setting
####78646# - RunIn test
####6020# - switch country code
####59930# - Display current country code
####8746# - Enter engineering mode
####4227# - Enter engineer test
####357# - DLP_TEST
To use these codes, open the contacts app, press the search button and enter the code in the search bar.
2) OTA Images
You can get OTA images directly from lenovo servers. Just open your browser and paste this url:
http://fus.lenovomm.com/firmware/3....WW06_BP_ROW&action=querynewfirmware&locale=en
Change device model if needed (LenovoYB1-X90F or LenovoYB1-X90L)
Change curfirmwarever to a valid OLD firmware, this way you will get the next one in age.
Change locale if needed.
With this url you will get a download url at the end of the result page. In this case: http://tabdl.ota.lenovomm.com/dls/v...S000426_1705080316_WW06_BP_ROW_WC80C2A0F2.zip
These images are not full ota images, they are diff versions. This means that we can't use them to mod the image, or recover a bricked device, but this is a first step
3) Custom images
We don't have real sources to build a custom image (the lenovo's open source files are useless), but this doesn't mean that we couldn't modify stock images to take out useless apks or get better performance.
We can get this using an Android Kitchen and a full update image for the device.
As Android kitchen you can use SuperR kitchen (https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434)
As full image, I only tested the one here (https://easy-firmware.com/index.php?a=browse&b=category&id=19521) because I can't download any newer one.
I tested uncompressing it, deodexing the apks and doing a new image. But I don't test it in the device because I need to install twrp to flash the new image and I don't have time to test. But this should work, I did it many times so if someone is interested I can give steps to do it and support for testing.
If someone can get the latest full images, send then to me and maybe I can get some time to do some tests.
PD: Probably we could use this as a base to get LineageOS 14.1 working: https://github.com/latte-dev/android_device_xiaomi_latte/tree/cm-14.1
So, if you are interested in some hacking with the Yoga Book, contact me and we could team to get the most of this device.
First of all thank you for your post, it´s really useful
if you could somehow manage to boot windows on this machine it´s by far the greatest war we have right now.
Il promise you a lunch or dinner on Lisbon whenevere you want!
joao1979 said:
First of all thank you for your post, it´s really useful
if you could somehow manage to boot windows on this machine it´s by far the greatest war we have right now.
Il promise you a lunch or dinner on Lisbon whenevere you want!
Click to expand...
Click to collapse
Sorry, my knowledge of Windows is only user level . Install it in personal computer to play games .
But I really don't know why people wants to run Windows there, it will go slowly than Android and its less touch oriented... but I suppose that this is a chat for another thread
corvus said:
Sorry, my knowledge of Windows is only user level . Install it in personal computer to play games .
But I really don't know why people wants to run Windows there, it will go slowly than Android and its less touch oriented... but I suppose that this is a chat for another thread
Click to expand...
Click to collapse
in my particular case, i´l admit that is for football manager the touch version
joao1979 said:
in my particular case, i´l admit that is for football manager the touch version
Click to expand...
Click to collapse
Have you tried running it through Crossover? It may be in its infancy but i have got a few apps running OK with it.
I have the full "YB1-X90F_USR_S000196_1611040312_WW06_BP_ROW" I can upload somewhere if anyone can suggest a good site to do so without signing up? The file is about 2.5gb
It will be great if we could get the latest version, because maybe these older versions have older files that we have updated in our tablets.
Mixing files could give unknown problems
The current TWRP is based on the new Yoga Tab 3
I am starting to think they do not do full roms for this in the same way they do for a lot of their other devices.
We know the otas are available from tabdl.ota.lenovomm.com/dls/v6/ and are named according to the 2 builds that it bridges. As easy-firmware had the december full rom under the file name B1-X90F_USR_S000196_1611040312_WW06_BP_ROW-flashfiles.zip I had hoped that I could work out the file path to pull it down.
There were some interesting ideas here, https://forum.xda-developers.com/android/help/how-download-stock-roms-lenovos-ota-t3109507 but it seems there is a difference between phonedl.ota and tabdl.ota
Queries to full roms that work for phones, don't seem to work for the yoga book.
Anyone with more web knowledge able to pick this up? I am not sure the files are there but I feel they should be.
Good luck
Update: the downloads seem to be hosted via CloudFront. An Amazon service, but I can not find out a way of listing the available files. The latest full rom would be
http://tabdl.ota.lenovomm.com/dls/v6/YB1-X90F_USR_S000426_1705080316_WW06_BP_ROW_WC80C2A0F2.zip
But the Last 8 chars are random and we do not know what they are.
So we have two hopes. First work out the right query to the link from fus.lenovomm.com or two find a way of listing files available in tabdl.ota.lenovomm.com/dls/v6
Not sure I have got much further but ill keep trying when I can.
Hey, I should mention that I have some files that you may find helpful; I got them from the easy firmware website. They're all the .img files for each partition in Android (ie. boot.img, cache.img, config.img, factory.img, recovery.img, system.img) as well as: biosupdate.fv, bootloader, firmware.bin and gpt.bin. However, these of course aren't in the normal "flashable .zip ROM" format. So unless you know how to take apart these .img files they aren't very useful. If you need any more help or have any other questions about how far we've come on our own, feel free to ask. danjac also has great knowledge of our efforts.
Yes, I know how to use them, unpack, modify, etc. But what I want is the latest version, no a old version (I hav these files too). If you have them I can do some changes, debloat, etc.
Anyway, I see little interest in custom roms in this forum ( probably because it's not a device with a lot of users or the users are not the techy kind), so I prefer to help others with info than do a custom rom that only 2 or 3 people will use. Doing custom roms is a time hungry task and probably it doesnt worth the effort. Anyway this device is not full of bloatware like samsung ones, so it useable as it is.
As I said in my first post if anyone is interested I can give some hints and support to modify the full image (but only the latest one).
It's so sad that there are only a few interested owners of this tab - it's such a nice device but i fear the day lenovo decides to end their support for it. There will be no custom roms to switch to and keep the device alive - it will be a soon to be bit of old tech garbage BTW. I still use my Asus Transformer Prime because of the nice community
@NiffStipples I fully agree. This device is so powerful and its a suprise that it is invisible to the "market". In my humple opinion the normal ROMs aren't that bad besides missing updates but I would love to see all the power served through a custom rom. unfortunately programming is not my business
Stefan
Broomfundel said:
Have you tried running it through Crossover? It may be in its infancy but i have got a few apps running OK with it.
Click to expand...
Click to collapse
Interesting - is Crossover good (and does it require factory reset)?
Hi, It works well with some things and not others. Often the why and where are not obvious. It is basically "wine" the layer that allows some windows apps to run on a linux install. Tweeked to work with android. Just an install to put crossover on. Then another install (Within crossover), to put you app on crossover. If it doesn't work out of the box, there windows libraries you can switch out and dependencies you can install. (Eg: directx , .net) Even if your not technical. I would say get on the beta program and give it a try.
Hi! what do you mean by "lenovo's open source files are useless"? do you refer to this packet on lenovo's suppport site? download.lenovo.com/consumer/open_source_code/lenovo_yb1_x90f_l_osc_201608.zip
I've entered the Android YogaBook's BIOS and noticed that VT-X is enabled by default! With Limbo x86 we could get a fully working virtualized Windows or Linux, if it wasn't for... KVM. It seems like it's not enabled in Lenovo's default kernel. Could we get to recompile the kernel with this option on? i'm not a big android/ROM expert but i surfed the open_source_code folder from Lenovo and it seemed, to me, that we could rebuild the Kernel at least.
This could really change things!
morrolinux said:
Hi! what do you mean by "lenovo's open source files are useless"? do you refer to this packet on lenovo's suppport site? download.lenovo.com/consumer/open_source_code/lenovo_yb1_x90f_l_osc_201608.zip
I've entered the Android YogaBook's BIOS and noticed that VT-X is enabled by default! With Limbo x86 we could get a fully working virtualized Windows or Linux, if it wasn't for... KVM. It seems like it's not enabled in Lenovo's default kernel. Could we get to recompile the kernel with this option on? i'm not a big android/ROM expert but i surfed the open_source_code folder from Lenovo and it seemed, to me, that we could rebuild the Kernel at least.
This could really change things!
Click to expand...
Click to collapse
How did you enter the bios? Can you boot from usb?
anyone managed to use swiftkey keyboard?

Categories

Resources