Run a Chip-off'd raw android image into a Virtual Machine - Android Q&A, Help & Troubleshooting

Good evening everyone.
I'm new on the forum, hope i guessed the section.
I just wanted to ask if it is possible to convert and run a raw android image (extracted with FTK Imager from the chip) as a virtual machine.
I tried something, but in the end the VM says that there's "No bootable medium found!".
In the program "autopsy" i can see the common partitions of the android file system (boot, recovery, system, userdata...) but most of them result as a sequence of unallocated space.
The original mobile phone was a Nokia 3 TA1032.
Can you please help me?
Thank you in advance

Related

[Q] Android recovery system

HI!
I have few queries regarding the Android recovery system, and the class RecoverySystem.
1. As per my understanding the recovery system which is supposed to work from the recovery partition, does not necessarily be a android OS, but can be even plain embedded linux with bassic RFS and a workhorse application like the bootable/Recovery in the source. Even the recovery application can be different from the one in the bootable/recovery folder in SDK source.
Please let me know if this understanding of mine is correct?
I need to implement such recovery mechanism for a MMC based non mobile device. Any poiters on that?
2. Why is that the boot-loader (Hboot in phones) is doing the actual job of installing the system update , bootimage update and the hboot update? Cant the recovery system itself untar and install the "SYSTEM" update in it's respective partition and the "BOOTIMAGE" update in its respective partition from the user space application "recovery".
2. The class RecoverySystem is used to interact with the recovery system running in RECOVERY partition. Can somebody point me to some example uses the RecoverySystem class?
regards
-Nitin

[GUIDE] NativeSD for Windows Mobile (WM6.5) New Users

NativeSD WM #1 Introduction
Posts:
#1 Introduction
#2 Setup Partition
#3 Install Recovery
#4 Install Native SD
#5 Applications (Run Backup Restore Delete)
#6 Updating
#7 FAQ
#8 Links to Other OS
#9 Reserved for Learning Never Ends teams
The HTC HD2 was a Windows Mobile Phone. However it can run different phone operating systems including Android. Originally the choice was to run a single version of Android instead of Windows Mobile (using MAGLDR) or to boot from Windows Mobile to Android running on the SD card (for example using Portadroid) by executing CLRCAD.exe and HaRET.exe (Handheld Reverse Engineering Tool) bootloader. The problem with running both Windows Mobile and Android on the same phone is that EXT4 had to be held as a file on the SD card (using FAT32) which is slower. With NativeSD, your SD card is partitioned, or split, into two with the first partition being the FAT32 and the second partition as EXT4. The advantages are, you can still run Windows Mobile and use the FAT32 partition, Android runs much better (faster, with fewer problems and lower battery consumption), you can have as many different versions of Android as you have space on your card and all the operating systems can use the same data in the FAT32 partition. As you keep your original data and Windows Mobile programs on the existing FAT32 partition it is very easy to try NativeSD, including different Android ROMs, but still keep Windows Mobile always available to run any legacy programs that you must have.
This thread is about installing, running and maintaining NativeSD from Windows Mobile (WM6.5). If you are running a different operating system, please visit the appropriate thread listed in one of the posts below or the main NativeSD Rom Boot Script for HD2 forum:
Forum > HTC Leo: HD2 > HD2 Android > HD2 Android SD Development >
[DEV] NativeSD Rom Boot Script for HD2
http://forum.xda-developers.com/showthread.php?t=1869673
More details can also be found in the XDA Wiki:
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD
To get started, please see the next post for the first step:
Setup Partition
NativeSD WM #2 Setup Partition
NativeSD WM #2 Setup Partition
Requirements: To get started you need an HTC HD2 phone (either European or T-Mobile US), and SD card – which you presumably have if you are reading this – and ideally a personal computer. You will need to download a “Recovery” program to run on your mobile – 4EXT is recommended. Since you will be changing your SD Card you are strongly advised to back it up first. The next step is to partition or split your SD card into two which can be done using a Windows program Mini Tool Partition Wizard Home Edition. (Apparently the partition can be done with 4EXT Recovery on the phone but the PC is easier). Of course you will also need to choose a NativeSD ROM from the XDA website.
HTC HD2 Windows Mobile 6.5 Requirements
In order to run Android, your HTC HD2 will need to have:
Radio: 2.08 or higher - download from [RADIO] The HTC HD2 Master Radio Thread
The following three somewhat old threads have more information about Android on HD2:
[REF] The Definitve Guide To Android On HTC HD2
[REF] A Brief guide to Installing and Maintaining Android [SD/RAM] on HD2
[HSPL/HSPL2] HowTo flash everything
Bear in mind that they do not refer to NativeSD.
The steps to take on your PC are:
A) Backup your SD Card - for example copy all of it to your PC or use a new SD card. This step is optional but strongly advised.
B) Format your SD Card to make sure it is in good shape and has a primary FAT32 partition. Cards that are larger than 32 GB will not necessarily have a FAT32 format. For example a 64 GB card will usually be formatted to have an "exFat" partition and needs to be reformatted to FAT32. At the same time you can also choose a cluster size but the default should be fine for now. See the thread [GUIDE] [INFO] All about SD CARDS - which one, why and how!. If you format your SD Card, then restore the data from the backup. These steps are optional but strongly advised. Recommended Windows program for formatting your SD Card as it does not format the "Protected Area":
https://www.sdcard.org/downloads/formatter_3/
C) Create an EXT4 partition on your SD card. There are two methods.
i) On your PC using MiniTool Partition Wizard Home Edition (MTPW)
This is a video showing how to use the program but note that we need EXT4 NOT EXT2 shown in the video: http://www.youtube.com/watch?v=Cygl0qZnbaM
Note that you can use other partition managers but Minitool Partition Wizard works and is the method recommended by Xylograph
ii) On your HD2 using the 4EXT Recovery Classic program by madmaxx82 mentioned in the next post #3 Install Recovery. Check in the thread for your chosen NativeSD ROM to see if it supports automatic creation of EXT4 partition using Recovery. If it does, then install 4EXT Recovery, copy the unzipped Android Native SD build to this folder and execute CLRCAD.exe and HaRET.exe from the recovery folder and the card will be partitioned and the Native SD will be installed automatically. Caution though as these ROMs may not install to NativeSD folder and as a result you may not be able to use some of the other items in this guide. Always backup your SD card before trying this.
D) The size of the EXT4 partition is up to you. The minimum is probably 500 kb but 1 GB is advised and it does depend on the size of ROM you are using. If you have a larger SD card then 2 GB is recommended. Larger than 2 GB may be difficult to backup in one go. A rule of thumb is 0.5GB for NativeSD and 0.5 GB for each ROM you want to have available in EXT4. So the minimum advised is 1 GB. Another rule of thumb could be no more than 25% (one quarter) of your SD Card for EXT4. I only use half of the FAT32, leaving half the card free to backup either FAT32 or EXT4. For example I have a 32 GB card with 24 GB for FAT32 and 8 GB for EXT4 with 14 ROMs (14 * 0.5 = 7GB +0.5).
D) Double check that the first FAT32 and second EXT4 partitions are both 'primary' and that FAT32 is first and EXT4 last partition.
More details can also be found in the XDA Wiki:
forum.xda-developers.com/wiki/HTC_HD2/NativeSD#Format_EXT4_Partition
Please see the next post for the next step which is done on the mobile phone. This is a good time to check that Windows Mobile still works properly for you:
Recovery
Native SD #3 Install Recovery
Native SD #3 Install Recovery
In order to install a NativeSD on your Windows Mobile (WM 6.5) you will need to put a "Recovery" program onto the SD card of your phone. For Windows Mobile the recommended Recovery programme is 4EXT Recovery Classic. This can be downloaded from the link provided by Xylograph on the NativeSD thread
[http://goo.im/devs/Xylograph/Various/Recoveries Download 4EXT Recovery from here]
Although Xylograph provides several different recoveries, the one you want for Windows Mobile is in home » devs » Xylograph » Various » Recoveries » SD >> recovery_4EXT2.2.7_leo_sd.zip
Size: 5.53 MB
MD5: 142c324022b7ea77c3a7ca8d2fcabb70
Link: http://goo.im/devs/Xylograph/Various/Recoveries/SD/recovery_4EXT2.2.7_leo_sd.zip
Download this to either your mobile phone or computer. Create a folder on the SD card of your mobile phone called "4EXTRecovery". (Although you can name the folder anything you want, it is useful to use the same name as the win android program listed below). The 4EXTR.zip file contains five files which should be unzipped into the 4EXT recovery folder. These files include CLRCAD.exe and HaRET.exe. In order to run recovery, from Windows Mobile, you open the recovery folder using a file manager and then press HaRET.exe. (Note to load a ROM you would normally press CLRCAD.exe first but this is not required for and does not impact Recovery). The recovery programme will launch.
As this is a text based recovery programme (in other words, you do not touch the screen), there are a few keys that you need to know in order to navigate around the screen.
Volume up + to move cursor up
Volume down - (or Windows key) to move cursor down
Left call phone button to select
Back button to go back
Windows menu key to move cursor down or quit AROMA Installer
Edit; The above text in Magenta, and a bit below refer to 4ext_recovery_SD which is no longer available on Xylograph's Goo repository. There are other SD recoveries there, give them a go. The instructions given above should be similar.
Note also that if you rename the folder which the files (HaRET etc) are in, you also need to edit the startup.txt file (rel_path="Whatever_you_renamed_it_to"), so probably best to keep the original folder name and put it to the root of your SDcard.​
The first action is to format the EXT4 partition (created by Minitool Partition Wizard) using the recovery tool. Even though Minitool Partition Wizard creates the 4EXT partition, some people have experienced problems until they reformat EXT4.
a) Scroll down to ext3-4ext-ext4
b) Scroll to wipe / format
c) Format sd-ext
d) Exit recovery and then restart it to be safe.
More details can also be found in the XDA Wiki:
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD#Format_EXT4_Partition
Please see the next post for the next step which is also done on the mobile phone, using Recovery. This is a good time to check that Windows Mobile still works properly for you:
Install Native SD
Native SD WM #4 Install Native SD
Native SD WM #4 Install Native SD
Requirements: Your Windows Mobile (WM6.5) phone should now have an SD card that has been partitioned into two with the FAT32 partition first followed by EXT4 with both set as primary. The FAT32 partition should have been formatted as FAT32 and the EXT4 partition reformatted as EXT4 using recovery. You should be running Windows Mobile and be able to run recovery. This is covered in the preceding posts.
You will also need to choose a NativeSD ROM from the XDA website. Gingerbread (GB - CM7), Ice Cream Sandwich (ICS - CM9) and JellyBean (JB - CM10) ROMs are supported. GB tends to be more stable and JB is more cutting edge (possibly not as stable). ROMs will state NativeSD in the thread title or in the first post - try searching HD2 Android for "NativeSD". They can be found in either:
HD2 Android NAND Development [http://forum.xda-developers.com/forumdisplay.php?f=928]
HD2 Android SD Development [http://forum.xda-developers.com/forumdisplay.php?f=735]
The Native ROMs are downloaded and saved to your SD Card in zip format. Usually the file name will include "NativeSD". Recommend that you save them in a folder on your SD Card called "Download" as that is where most Android programs will save them. Do not unzip the file.
In order to run recovery, from Windows Mobile, you open the recovery folder using a file manager and then press HaRET.exe. (Note to load a ROM you would normally press CLRCAD.exe first but this is not required for and does not impact Recovery). The recovery programme will launch. Some people refer to the following steps as "flashing" a ROM.
Using 4EXT Recovery:
Select install from SD card.
Select choose zip from SD card.
Choose a zip to apply for example a NativeSD.zip from your Download folder.
Continue install? THIS CAN NOT BE UNDONE. Yes.
Press next to Continue the installation...
Choose Install to SD-EXT.
Select Default Connection - leave this unchecked for PPP connection (default).
Depending on the ROM's AROMA script there may be other choices.
Click next to start the installation
Installing ROM please wait...
Installation complete... please reboot...
Windows Mobile will boot.
Open the NativeSD folder in your SD Card.
Press CLRCAD.exe then HaRET.exe in the NativeSD folder to load Android NativeSD ROM.
More details can also be found in the XDA Wiki:
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD#Install_NativeSD_using_Recovery
When you reboot from Android, you phone will load Windows Mobile. To run your NativeSD at any time, open the NativeSD folder in your SD Card. Press CLRCAD.exe then HaRET.exe in the NativeSD folder to load Android NativeSD ROM.
Please see the next post for applications that can make it easier to run NativeSD:
Applications
NativeSD WM #5 Applications (Run Backup Restore Delete)
NativeSD WM #5 Applications (Run Backup Restore Delete)
Windows Mobile 6 programs
CLRCAD and HaRet
CLRCAD.exe needs to be run in Windows Mobile to enable sound for HD2 Android. See post by DarkStone1337 who comments "Don't worry if nothing happens, this is normal." HaRET (Handhelds Reverse Engineering Tool) is used to boot Linux from within Windows Mobile. More information is available in this thread Linux and Android on the HD2. Both executables are provided in the above link #3 Install Recovery
There are a number of Windows Mobile 6 programs that will automate the task of running CLRCAD.exe and then HaRET.exe from the correct folder in order to load Android on your HTC HD2 Leo. A list can be found in the XDA Wiki:
http://forum.xda-developers.com/wiki/HTC_HD2/Android_Loader
Notable is the WM .exe file created by o82239 called "Multiple Android-Starter (WinMo 6.5 + NativeSD-Android)" that allows you to select which NativeSD Rom you want to run from WM (assuming you have more than one ROM stored in a sub-directory of "NativeSD") or to run any one of 4 different Recovery programs (assuming you put them in the directory "4EXTRecovery", "twrp2", "twrp2.3.3.0.ex" or "recoverytytungbackup").
http://forum.xda-developers.com/showthread.php?t=1951897
Recovery scripts
Tytung has written a "NativeSD Touch Recovery" [http://forum.xda-developers.com/showthread.php?p=33668198#post33668198] tool that runs in Recovery to allow you to Backup, Restore or Delete a NativeSD ROM. It saves the backup to your SD Card in /sdcard/NativeSD/Backup/
https://sites.google.com/site/nativesdtouchrecovery/
It works perfectly for Windows Mobile WM6.5 users who boot 4EXT Recovery from SD using the 4EXT Recovery. To use it, from Recovery, flash NativeSD_Touch_Recovery_v1.0.zip. More details can also be found in the XDA Wiki:
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD#NativeSD_Touch_Recovery
Tytung Softkeys_Switcher_for_NAND_and_NativeSD works for all kinds of ICS/JB NAND/NativeSD ROMs. Use Recovery to Flash Softkeys_Switcher_for_NAND_and_NativeSD.zip to enable/disable the virtual softkeys after installation. See his post #11593.
TWRP Team Win Recovery Project 2.3, or twrp2 for short, is a custom recovery that now has Extended Features including Built-in NativeSD manager. See [RECOVERY] Team Win Recovery Project (TWRP) | Extended
kokotas Extended TWRP is touchscreen and supports NativeSD. See Extended TWRP
Android Apps
datagr has created an Android app for "nativeSDMultiBoot" that allows you to choose which NativeSD ROM you will boot next. He has expanded it to include backup and restore running from within Android. Search for his posts on the main NativeSD thread:
http://forum.xda-developers.com/showpost.php?p=31110691&postcount=1
c1cl0n has written an Android app "CM9 NIGHTLY Port Manager" for his [NIGHTLY] CyanogenMod 9 [tytung HWA R3.5] [SD/NativeSD] thread. Using this manager you can change your system values of DPI & make Softkeys visible. It works on most NativeSD ROMS, not just CM9. After making the changes, you have to reboot.
Titanium Backup root is one of the most popular Android Apps (free or paid) as it allows you to backup apps and data from one NativeSD ROM and restore them to another NativeSD ROM. Unfortunately it is not easy to restore the icons on your Android Desktop and care should be taken when restoring Apps from one version of Android to another. This wiki may be helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
One of the main reasons for running Android on your Windows Mobile HTC HD2 is the apps that are available from the Google Play Store https://play.google.com/store/apps - to get you started, a few favourites include:
XDA-Developers https://play.google.com/store/apps/details?id=com.quoord.tapatalkxda.activity
gReader (Google Reader | RSS) https://play.google.com/store/apps/details?id=com.noinnion.android.greader.reader
Opera Mobile web browser https://play.google.com/store/apps/details?id=com.opera.browser amongst others such as Dolphin and FireFox
Navigation apps (paid including TomTom and Sygic https://play.google.com/store/search?q=tomtom&c=apps) including free programs such as Google Maps and Waze
Google Apps https://play.google.com/store/apps/developer?id=Google+Inc
Games include the ubiquitous Angry Birds https://play.google.com/store/search?q=angry+birds&c=apps
Social Apps include the inevitable Facebook, WhatsApp Messenger, & Twitter https://play.google.com/store/search?q=social+apps&c=apps&sort=0
but watch out for battery eating synchronization.
BetterBatteryStats will help to identify and guide you how to stop applications that eat your battery when your phone should be sleeping. http://forum.xda-developers.com/showthread.php?t=1179809
Most of these have free and paid versions.
Please see the next post for information on NativeSD:
Updating
NativeSD WM #6 Updating
NativeSD WM #6 Updating
One of the great advantages of the new technique of NativeSD on the HTC HD2 is that all users can benefit from ROM development. So a ROM developed for NAND, implemented using NativeSD, can usually be used by CLK, Windows Phone and Windows Mobile users. Basically the Loader runs an AROMA Installer script http://forum.xda-developers.com/showthread.php?t=1461712 that allows you to choose which version of the ROM you wish to install. The basic components are the same but individual parts are required for different operating systems. You choose which options you wish to install. As AROMA is a Touch and Customizable ROM Installer, it does not matter if you use a Text based loader. Once AROMA is launched, you select options by touching the screen. Recommendation is to accept the defaults the first time.
Files are extracted from the NativeSD.zip file and copied to both the FAT32 partition and the EXT4 partition on your SD card. They are stored in folder with the same name as the ROM (for example NativeSD\CM10). The FAT32 partition, which you can read in Windows Mobile, has only two files: initrd.gz and zImage for each ROM. initrd.gz is a Linux initial ramdisk that has been compressed using Gzip and zImage is similarly a compressed kernel image file. The way you chose which NativeSD to run is by copying initrd.gz and zImage from the ROM sub-folder into the NativeSD folder. This can be done using file manager (overwriting the ones in the NativeSD folder) or more easily using one of the applications shown in the post above. From Android use "nativeSDMultiBoot" and from Windows Mobile use "Multiple Android-Starter" - both of these copy the files for you. In the NativeSD folder, you run the common set of files CLRCAD.exe and then HaRET.exe to boot the NativeSD using the parameters specified in startup.txt. (These are the first tiny letters you see when the ROM starts booting). This can be automated using some of the above applications. In the EXT4 partition the subfolders of NativeSD for each ROM contain data and system files. With all these files being unzipped and copied during the flash and boot, occasionally things go wrong.
Fixing problems
First thing to check is that the NativeSD.zip ROM file was downloaded correctly by checking the Hash checksum. A good Dev will provide this, for example Xylograph recovery_4EXT2.2.7_leo_sd.zip has an MD5: 142c324022b7ea77c3a7ca8d2fcabb70
If your ROM does not boot correctly the first time (after say 15 minutes), you should try and reboot it again. Alternatively you can simply try to flash the ROM again using Recovery. This will keep your data and settings and may correct any problems that have occurred. Search the thread for the ROM to see if other users are experiencing the same problems. Recommend that you look for a post by one of the Learning Never Ends team to say they have flashed the ROM using Windows Mobile successfully.
Updating to new version
When updating to a new version of the same ROM, you can often simply flash the new version on top of the old using Recovery. Conversely, if the new ROM does not suit, you can usually flash the older version again using Recovery. As the different versions of the same ROM are stored in folders with the name of the ROM, this flashing simply overwrites the previous System files, hopefully leaving the data. In some case, the Op will advise a new or fresh install. In that case you should backup the ROM (see above post), delete the existing old ROM (see above post) and flash the new version as if it was a new ROM. You may be able to restore data using either Titanium Backup (or similar app) or data.ext4.tar from Tytung backup.
OTA Update
Over The Air (OTA) Update is supported by some ROMs and allows you to receive push notification of new updates so that you can easily download the updated version of a ROM. This is saved to a folder on your SD card called sdcard/OTA-Updater/download. Using OTA is the same as downloading from the home page but possibly more convenient as it is automated amd you do not have to visit the thread. You do have to use Recovery to Choose a zip to apply - for example the one saved in sdcard/OTA-Updater/download.
Resize EXT4 Partition
Resizing your EXT4 partition can be done in Linux using GParted or from Windows. First recommendation is to Backup all of your NativeSD ROMS to FAT32 using either one of the methods detailed in the above post and then back up your FAT32 Partition to your PC. From Windows, you can then use MiniTool Partition Wizard Home Edition 7.6 to
a) Delete EXT4 Partition
b) Extend/shrink FAT32 to free up the new EXT4 size you want
c) Create a new EXT4 partition with the size you want
d) Format EXT4 Partition again using 4EXT recovery
e) Restore your NativeSD ROMS to EXT4 (following whichever method above that you used to backup)
Please see the next post for:
FAQ
NativeSD WM #7 FAQ
NativeSD WM #7 FAQ
Please see xda Wiki for
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD
XDA University has A New User’s Guide to Android and an Android Dictionary.
Several ROMs now have separate Question and Troubleshooting [Q&T] Threads that should be used to post general questions instead of the development related forums. They are located in the forum > HTC Leo: HD2 > HD2 Android > HD2 Android Q&A, Help & Troubleshooting and General and include threads for:
[Questions/Troubleshooting][ROM Sea_JB and Sea_PA}]
[Questions/Troubleshooting ROM TouchWizMOD
Q&T for [Pixeldroid Jelly Bean 4.2.2][XYECMAO][Monster Sound][NOS Injected] Rom
[Q&T][ROM][4.2.2][720p] NexusHD2-JellyBean-CM10.1 V2.0 [NativeSD]
You should also read the above posts and search this thread before posting. Please see HD2 Forum Rules. You may will find it helpful to read this [GUIDE] - XDA New User Guide - Getting started on XDA. Questions about NativeSD for Windows Mobile are welcome here but only users with 10 posts (or more) will be allowed to post to any development-related forum. Before you try Android NativeSD we would expect you to have used your HD2 and made 10 posts, for example, by helping answer questions in the HD2 Windows Mobile 6.5 Q&A and General forum.
Please see the next post for:
Links to Other OS
NativeSD WM #8 Links to Other OS
NativeSD WM #8 Links to Other OS
This thread is a GUIDE to NativeSD for Windows Mobile (WM6.5) New Users
If you use another Operating System, although much of the information here is relevant, you should read and post in the appropriate one of these threads:
MAGLDR NativeSD Installation
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD#MAGLDR_NativeSD_Installation
Forum > HTC Leo: HD2 > HD2 Android > HD2 Android Q&A and General >
NativeSD Rom+EXT4 for New Users with peechurs
http://forum.xda-developers.com/showthread.php?t=1881205
The first post has pictures ("peechurs") showing how to partition SD Card and "flash" ROM using 4EXT Recovery.
Windows Phone (WP7) Installation
http://forum.xda-developers.com/wiki/HTC_HD2/NativeSD#Windows_Phone_.28WP7.29_Installation
Forum > HTC Leo: HD2 > HD2 General >
Step by Step:: How To Set up WP7 and Android with NATIVESD
http://forum.xda-developers.com/showthread.php?t=1880905
There is useful information for Windows Mobile Users in the above threads and in the main NativeSD Rom Boot Script for HD2 thread.
Forum > HTC Leo: HD2 > HD2 Android > HD2 Android SD Development >
[DEV]NativeSD Rom Boot Script for HD2
http://forum.xda-developers.com/showthread.php?t=1869673
Please post questions specifically about NativeSD for Windows Mobile (WM6.5) in this thread here.
http://forum.xda-developers.com/showthread.php?t=1986437
1. Introduction
2. Setup Partition
3. Install Recovery
4. Install Native SD
5. Applications (Run Backup Restore Delete)
6. Updating
7. FAQ
8. Links to Other OS
9. Reserved for Learning Never Ends teams
Reseved for Learning Never Ends team
If you find this thread helpful then do not forget to
Rate: *****
Submit thread as News Tip
If you find a particular post is helpful, please click on the :good: Thanks button.
If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks
The Learning Never Ends team is a very small group of a few HTC HD2 Android enthusiasts who have been inspired by our dear friend and LNE team member Kuzibri to remember that Learning Never Ends and share our learning with you. I suggest that you do not send PM to the team as they may take a long time to be answered (if at all - particularly those that start with the subject "I want"!) Remember that all of us volunteer our free time.
Cheers
Tom
Szczepanik said:
If you find this thread helpful then do not forget to
Rate: *****
Submit thread as News Tip
If you find a particular post is helpful, please click on the :good: Thanks button.
If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks
The Learning Never Ends team is a very small group of a few HTC HD2 Android enthusiasts who have been inspired by our dear friend Kuzibri to remember that Learning Never Ends and share our learning with you. I suggest that you do not send PM to the team as they may take a long time to be answered (if at all - particularly those that start with the subject "I want"!) Remember that all of us volunteer our free time.
Cheers
Tom
Click to expand...
Click to collapse
Hi Tom,
thanks my very dear friend for the credits :highfive:. I will try my utter best to be of help on this thread too. Members can ask me all kind of questions related to WinMo 6.5.5 and/or Android Native SD. Regarding the Native Android SD, your posts are as clear as possible and can IMO hardly lead to a lot of questions, so I will focus on the software side of it. , i.e. which ROM to use, how to solve problems with Android, etc, etc. I would like to suggest that it's, in my personal case, allowed for members to send me a PM if necessary, cause, for well known reasons, I have the time to answer and I'm used to always answer my PM's ASAP.
very best regards and good luck with this new thread, Kuzibri
I would like to say a BIG HELLO to the latest member of the LNE TEAM, kuzibri:thumbup:
Its an honour to have you on board
Sent from my GT-I9100 using Tapatalk 2
wis1152 said:
I would like to say a BIG HELLO to the latest member of the LNE TEAM, kuzibri:thumbup:
Its an honour to have you on board
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thanks very much my very dear friend, highly appreciated and much honoured to be part of your team now!!!!!!
very best regards, Kuzibri
P.S. Edit your signature!!!!I I changed mine, so you can change it too, the learning never ends is back!!:victory:
I haven't say thank you to people for a long time, but this time I have to say: Thank you, LNE Team.
Will try it later.
700
Wow, 700 Thanks for a non-porter or developer, but just somebody who likes to help people when they have problems!! Many, many thanks to all of you who pushed the thanks button for me!!!! Taking into account that the thanks button was introduced when I already had 2500 posts, this means that 1 of 4 of my posts is rewarded with a thanks!!!!! This is great and very encouraging! Many, many thanks.
very best regards, Kuzibri
First: Thank you VERY much for this Guide, i just startet to "learn" about Android NativeSD with WM 6.5 and it was hard to get information together for absolute beginners.
Second: Questions!
Requirements, i have a HD2 (Europe version) with the lastest original WM 6.5 ROM from my Provider,
do i have to flash a Hard SPL or upgrade the Radio to later version to use Android NativeSD?
Wuehli said:
First: Thank you VERY much for this Guide, i just startet to "learn" about Android NativeSD with WM 6.5 and it was hard to get information together for absolute beginners.
Second: Questions!
Requirements, i have a HD2 (Europe version) with the lastest original WM 6.5 ROM from my Provider,
do i have to flash a Hard SPL or upgrade the Radio to later version to use Android NativeSD?
Click to expand...
Click to collapse
Hi,
First of all: welcome to this thread!!!
if you have the latest ROM version from your provider, which is HTC's 3.14 ROM, you already have SPL 3.03 and Radio 2.15. The SPL version you can check on your tricolor bootscreen and the radio version in settings-software. If you have these versions, there is no need to flash a Hard SPL,
best regards, Kuzibri
Now there is a guide i just had to try it out. Everything worked fine till i tried to start Android after flashing by first executing clrcad.exe.
I received the Message: Application not signed,..blablabla.
From this point, a lot of other applications from WM6.5 wont work any longer to :crying:
But i found a solution here:
http://forum.xda-developers.com/showthread.php?t=858348
maybe you can add this to the guide, or make it a step to change settings befor starting to flash because its very hard for a normal beginner to
change Regkeys when most apps wont work any longer.
After changing the RegKeys Android starts and iam very happy to use it and can always switch back to WM6.5!
Thanks again!!
(sorry 4 bad english :laugh
Wuehli said:
Now there is a guide i just had to try it out. Everything worked fine till i tried to start Android after flashing by first executing clrcad.exe.
I received the Message: Application not signed,..blablabla.
From this point, a lot of other applications from WM6.5 wont work any longer to :crying:
But i found a solution here:
http://forum.xda-developers.com/showthread.php?t=858348
maybe you can add this to the guide, or make it a step to change settings befor starting to flash because its very hard for a normal beginner to
change Regkeys when most apps wont work any longer.
After changing the RegKeys Android starts and iam very happy to use it and can always switch back to WM6.5!
Thanks again!!
(sorry 4 bad english :laugh
Click to expand...
Click to collapse
Hi my friend,
First of all: after pressing clrcad, you have to press haret.exe!!
maybe something went wrong with the partitioning of your SD card for the .EXT4 partition, therefore I would like to advise you to use another program for partitioning your SD card. Have very good experiences with that one. See attached file. Backup your SD card to PC, unzip this file and copy it to the root of your SD Card . Then download the Native SD Android build of your choice and put it unzipped in this recovery folder and press clrcad and thereafter haret.exe and your Native SD Android will be installed without ruining the WinMo apps and/or changing reg keys because they are at this moment not on your SD Card. .After installing the Native Andoid build, copy your WinMo progs back to the SD Card and they will be copied in the FAT32 partition of your SD Card.
very best regards, Kuzibri
Learning Never Ends team said:
NativeSD WM #2 Setup Partition
C) Create an EXT4 partition on your SD card using Minitool Partition Wizard Home Edition.
This is a video showing how to use the program but note that we need EXT4 NOT EXT2 shown in the video: http://www.youtube.com/watch?v=Cygl0qZnbaM
/QUOTE]
Hi my dear fellow LNE friends,
maybe you can add this program to the C guide to make an EXT4 partition on the SD card: Recovery - see attached file. Format SD Card, unzip this file to the root of your SD .card and copy the unzipped Android Native SD build to this folder and execute clrcad and haret from the recovery folder and the Native SD will be installed automatically. It works perfectly for me and is very fast !!!!! IMO it's the simplest/easiest way for beginners. It's really only called Recovery.7z. Do not know exactly where I "grabbed" it anymore , but it works fabulously!!
very best regards, Kuzibri
Click to expand...
Click to collapse
Thank you very much for your post.
Class 10 or Class 4 micro Sd better for Native SD Android roms.?
Before i used Class 10 micro sd for Sd Android roms.
But it is very slow and with a lot of problems when SD rom starting.

Touch enabled grub bootloader?

Just as the title says, I'm curious if there exists a touch (or hardkey, i.e. volume up/down and windoes key) enabled bootloader.
Currently i have to press arrow keys and enter to select either windows or android.
Is there such a thing? It would be amazing. Id rather not have to stop at the keyboard to boot to an os from grub.
Thanks in advance!
Well .. I had suffered from this problem for longtime and finally I solved by an app called android-x86 installer it's the only way to boot from your Windows tablet without keyboard at last what I ended up with .. so yo have to download an old version I recommend the ALPHA version and install it with android-x86 installer 2.4 UEFI version after finished installing you have to download the latest version of remix OS and extract with 7zip or winrar then replace all file with the same name in folder androidOS that the direction of ALFA you already installed now You can boot with two ways either from settings/update / recovery and then press restart now at advanced startup then after reboot choose "use a device " and last thing chose android OS wait 9 seconds in grub2 an finally the remixOS will boot or by simply choose android OS from boot menu by volume Up/down
Boot solution for XPS 12 9250
Will thank you for this post when my 'Thanks!' get replenished on XDA. I'm still only using windows 10 on this tablet PC.
It is not clear to me is this is dual boot Android/Windows, my understanding is that this particular usage of the Linux grub bootloader only boots to Remix OS which is android. Grub, as you know does have dual boot capabilities, but maybe not yet on the XPS 12 9250.
Sorry, but the instructions are not step-by-step details for me, and I seem to be not smart enough to follow them. Could you point me to a 1..., 2..., 3.... please?
Please update or PM me whenever you feel you have found a better boot solution for our 9250's. I will be most grateful.
namitutonka said:
Will thank you for this post when my 'Thanks!' get replenished on XDA. I'm still only using windows 10 on this tablet PC.
It is not clear to me is this is dual boot Android/Windows, my understanding is that this particular usage of the Linux grub bootloader only boots to Remix OS which is android. Grub, as you know does have dual boot capabilities, but maybe not yet on the XPS 12 9250.
Sorry, but the instructions are not step-by-step details for me, and I seem to be not smart enough to follow them. Could you point me to a 1..., 2..., 3.... please?
Please update or PM me whenever you feel you have found a better boot solution for our 9250's. I will be most grateful.
Click to expand...
Click to collapse
Grub can chainload the entry just fine. And when using the official tool it auto-adds an entry if it detects Windows is installed, which it will be as it's a windows tool [unless running via wine] it'll add an entry for it.
Without the tool you can do it manually. Personally I have a second easy to access efi partition that I use, if you want to do the same download a partition manager like minitool and confirm that you have 16MB of unallocated space between your efi and C: drive and I'll dig up a post/walk you through the rest tomorrow
HypoTurtle said:
Grub can chainload the entry just fine. And when using the official tool it auto-adds an entry if it detects Windows is installed, which it will be as it's a windows tool [unless running via wine] it'll add an entry for it.
Without the tool you can do it manually. Personally I have a second easy to access efi partition that I use, if you want to do the same download a partition manager like minitool and confirm that you have 16MB of unallocated space between your efi and C: drive and I'll dig up a post/walk you through the rest tomorrow
Click to expand...
Click to collapse
Very excited to pursue this, but this week is filled with close family coming here to stay for our only holiday celebration. Will post back here when I get that unallocated space, after creating a backup of the current system. May use Gparted, but will check out minitool as well.
Walk through, dual boot Remix OS + Win10 on XPS 12 9250
@HypoTurtle
Waiting on a second USB-C to USB cable so I can boot a Macrium Reflect flash drive and backup a restorable PC image to an external Hard drive. After I'm sure I can restore this image I'll try to install Remix OS.
This youtube link is straightforward and simple to follow for the dual boot installation process. I've seen many reporting hardware/software issues on the many XDA forum threads branching off of "Remix OS for PC". So obviously one size does not fit all. Compiling and replacing different Linux kernels, editing grub.cfg, initrd.img, system.img, data.img.... The very worse thing on xda forums are ignorant end-user whiners like me who want instant gratification with their perfectly working phone or tablet. This vast forum has so many xda-developers, steeped in code, gaining and sharing trial and error knowledge. So many thousands of threads where xda-developers are taken for granted to lay solutions into end-user's laps. So many of us end-users are oblivious to this baby sitting. I will try the time consuming and painstaking learning curve. The least knowledgeable member on xda-forums should try to learn and not be spoon fed. It is essential, whatever our capacity, to all become developers interested in expanding the usefulness of our devices over and above the limited and constrained manufacturer's parameters.

No boot Android after reducing Windows Partition

Hello.
On a Chuwi Hi12 dualboot tablet, loaded on Windows 10, I reduced the partition "Windows", by telling me that it was the first stage to pass place of Windows (that I use little) to Android (which misses it).
I used EASUS. The manipulation was made well, in the sense that Windows always works and when I have well a free place on the memory.
Other partitions, EXT3, are always there, and nothing strange under Windows. But I cannot any more booter on Android: logo Chuwi one moment then black screen.
I can switch off and reload Windows.
It seems that the table of the partitions or one of the partitions which interest Android was modified.
Attempt to reinstall Android. Using ROM of Hackerjac (http: // forum.chuwi.com / forum.php typeid%26typeid%3D6). With Phone flash Tool Intel with flash-no-erase.json, config Recover).
Many failures (fragility driver USB? Reinstalled). At the end and at best: failure repeated on the installation of the bootloader, with message on the tablet " Failed to get partition bootloader2: Not found ". Rather clear but disappointing: the partition is not recreated?
Thus I am there to try to understand what is made by flash, and how have a gpt.bin which corresponds to a chosen distribution (editor of gpt.bin).
Thank you for your help.

Unpacking android emmc image

Hello everyone!
I'm starting a new research on an embedded device, I'm pretty new in iot hacking, so I'm lacking a lot of basic knowledge.
The device I'm working on runs on an ARM soc and uses an Android based operating system, booting with an U-boot bootloader.
I was able to get an adb root shell, which gave me access to everything on the device, and proceeded to dumping the whole emmc raw image (the one in /dev/block/mmc...).
I'm now trying to boot that same image on a tinkerboard, so I can get a better view at the internals of the device and to be able to debug it properly, which I can't do on the original device without damaging it beyond repair.
For this I want to grab one of the tinkerboard's android images offered on the website, which is basically a raw image which you can flash onto an ssd card an use it to boot the tinkerboard, and modify the partitions I need (system, boot, userdata, etc).
However, I don't know how to extract each one of the partitions from this raw image. I was thinking about doing something manual with binwalk and dd, but there must be a better way.
So my question is: Is there a tool I can use to extract and then rebuild each android partition from a raw emmc image dump?
Thanks a lot!
apok

Categories

Resources