Ostatní HW + obecná problematika ROM/Firmware[Návod] DualBoot mezi romkama

Moderátor: mArtinko5MB

Odpovědět
Uživatelský avatar

Autor tohoto vlákna
dux3r
Robot
Příspěvky: 1210
Registrován: úte 03. srp 2010 13:53:26
Reputace: 0
Typ mobilu / ROM: Honor 3c

[Návod] DualBoot mezi romkama

Příspěvek od dux3r » pon 22. lis 2010 13:43:26

Tento dualboot je jen pro G1,Hero,Evo,Aria

zde odkaz : http://forum.xda-developers.com/showthr ... ost9345833

unCoRrUpTeD Dual Boot V1

This is a beta release for testing.

The only requirement is 430Mb of free space on the fat32 partition of your sdcard.


I will to continue to work on this and update as needed
This should work on most Android phones. However with the way some or all of Samsung phones are partitioned this will not work at the moment. I will add the lines of code needed to make it work when I have a chance.

Instructions:

1. Boot into recovery
2. Perform a nandroid backup
2. Wipe data/factory reset and Dalvik-cache
3. Flash the rom you want to run off of the sdcard
4. Flash the .zip named dualboot-xxxx.zip < It may appear to freeze. Don't worry. It isn't
5. Flash the ROM you want to run off of the phone or restore the nandroid
6. Reboot the phone

If for some reason the dualboot.zip does not work please post a printout of /sdcard/dualboot/recovery.log

Once your phone is up and running go into market and download gscript lite. It should be included in the dualboot-xxxx.zip for the sd-rom
Open up Gscript lite and click menu>add script>load file
Add the file that says Initial-Setup.sh and click save
Run it and once the bar at the bottom says Auto-closing in xxxx sec click that bar
Click menu>add script>load file
and add the file that says BootToSD.sh and click save

Whenever you want to boot into the ROM off of the sdcard just open up gscript and run BootToSD. This will automatically reboot the phone and run the ROM off of your sdcard

Once you are running off of the sdcard you can open up gscript and chose BootToPhone and it will reboot you into the phone ROM.

Gscript Problems:
running the script in gscript don't worry about stderr:
If the phone doesn't reboot just reboot your phone like normal and it should go into the correct ROM


Due to the different kernel base address for different phones make sure you download the correct one. An easy way to get your Kernel base address is to run

Kód: Vybrat vše

adb shell cat /proc/iomem
You want to look for these lines

Kód: Vybrat vše

# cat /proc/iomem
cat /proc/iomem
00000000-006fffff : smi
00700000-0079afff : msm_panel.0
007a0000-007bffff : ram_console
19200000-257fffff : System RAM
  19226000-19608fff : Kernel text
  19626000-19709eb7 : Kernel data
25800000-25ffffff : ebi
a0000000-a00fffff : regs
a0200000-a0200fff : msm_serial_hs.0
a0400000-a0400fff : msm_sdcc.1
a0500000-a0500fff : msm_sdcc.2
a0800000-a0800fff : msm_hsusb
a9900000-a9900fff : msm_i2c.0
  a9900000-a9900fff : msm_i2c
a9a00000-a9a00fff : msm_serial.0
  a9a00000-a9a00fff : msm_serial
a9c00000-a9c00fff : msm_serial.2
  a9c00000-a9c00fff : msm_serial
aa200000-aa2effff : mdp
aa600000-aa600fff : msm_mddi.0
fa000010-fa000017 : leds-cpld
#
You may have more than one line that says System RAM, but you want the one above Kernel text
My Base address is higlighted above.


Versions: (Download the one that uses your kernel base address)
dualboot-hero.zip > for phones with base address of 19200000
dualboot-evo.zip > for phones with base address of 20000000
dualboot-aria.zip > for phones with base address of 12c00000
dualboot-g1.zip > for phones with base address of 10000000
Others coming as I update

dualboothero
dualbootevo
dualbootaria
dualbootg1

Odzkoušený to nemam, protože nemam čas si hrát s g1, kvůli tomu že ji potřebuju funkční

Prosim pokud to je ve špatný sekci o přesunutí, ale nějak jsem nenašel kam to dát




Odpovědět

Zpět na „Ostatní HW + obecná problematika ROM/Firmware“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 1 host