planetbeing / iphonelinux Goto Github PK
View Code? Open in Web Editor NEWPort Linux to the iPhone
Home Page: http://www.iphonelinux.org/
Port Linux to the iPhone
Home Page: http://www.iphonelinux.org/
Running "PLATFORM=3G make openiboot.img3" on a fresh clone results in:
Building mk8900image
/usr/bin/ld: i386 architecture of input file x86/libxpwn.a(libxpwn.c.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
x86/libxpwn.a(nor_files.c.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file x86/libxpwn.a(8900.c.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
x86/libxpwn.a(ibootim.c.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file x86/libxpwn.a(img2.c.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
x86/libxpwn.a(img3.c.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file x86/libxpwn.a(lzss.c.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
x86/libxpwn.a(lzssfile.c.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `x86/libcommon.a(abstractfile.c.o)' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[1]: *** [mk8900image] Fehler 1
make[1]: Verlasse Verzeichnis '/home/jan/iphonelinux/openiboot/mk8900image'
make: *** [mk8900image/mk8900image] Fehler 2
It looks as if the Makefile ignores the Arch and uses the 'x86' anyways.
I put my iPhone into Recovery Mode on my Linux box (Turn off unconnected iPhone, hold Home button and connect USB to iPhone) and then run: ./loadibec ../openiboot.img3 but nothing happens. I have an 2G iPhone. The Recovery-Mode Screen does not go away. I just stays there.
Does anyone else get this error when doing "PLATFORM=IPOD make"?
arm-elf-gcc -Iincludes -Wall -Werror -O3 -DCONFIG_IPOD -DOPENIBOOT_VERSION="0.1" -DOPENIBOOT_VERSION_BUILD="1b4689e" -mlittle-endian -mfpu=vfp -mthumb -mthumb-interwork -c wm8958.c -o wm8958.o
wm8958.c: In function ‘audiohw_play_pcm’:
wm8958.c:117: error: ‘BB_I2S’ undeclared (first use in this function)
wm8958.c:117: error: (Each undeclared identifier is reported only once
wm8958.c:117: error: for each function it appears in.)
wm8958.c:118: error: ‘DMA_BB_I2S_TX’ undeclared (first use in this function)
make: *** [wm8958.o] Error 1
Looks like for years nobody worked on this. But is the idea of installing linux based OSs on old iPhone Hardware dead? I'd love to see some lineage on an iphone3 :)
Can someone please help me. My iPhone has been hacked and has a Linux OS that makes my phone operate and appear like a standard iPhone however it acts similarly to a device under MDM.
I have found a Maria dB, homer api, sql severs and much more.
I am not a programmer (mechanical engineer) but have spent 12 hours a day over the last year leading all I can to find the little information I have recovered.
Please be reach out to all sorts of companies and law enforcement agencies without any help. I need someone who actually knows what they are doing.
If anyone can help I can pay.
If anyone can tell me who is doing it I will pay a lot.
Thanks you
Logan
Please when will the device be supported 6s plus?🙏🏻
I installed openiboot at my itouch 1g and testet it a bit.
After uninstalling it I noticed that the clock of my ipod is 2 hours to late in comparsion to the normal time. iPod says 02:00 but it was 04:00.
iTunes synced it but the clock was resettet everytime I turned the ipod off. I know time is a relative thing but this Issue should be fixed. ;) Maybe that Issue also occures on iPhone but I can't test it, due to the lack of an iPhone.
Maybe somebody of you can figure out what causes this problem and fix it. Thank You.
Hi..
iphone4 ios 7.1.2 , ubuntu 14.04 x64 .. andoid on iphone4 is it possible?
I want to install android on my iphone4..
How I can to do it?
I tryed using manual on this site.. but
I cann't find full list of required for ubuntu 14.04 x64 packages to install openiboot..
And files of project two..
Thank you for any help.
Sincerelly,
Kira
Can I please ask how likely is it that 3GS support will be released? I would contribute if I could, but I would like to know how far along the process is. Does the ECID based SHSH mean that 3GS support will never happen?
Thanks,
Nathan
I am trying to compile openibook for my 2G iPhone. Toolchain installation went wonderful, but when doing:
sudo PLATFORM=IPHONE make openiboot.img3
I get
arm-elf-gcc -Iincludes -Wall -Werror -O3 -DCONFIG_IPHONE -DOPENIBOOT_VERSION="0.1" -DOPENIBOOT_VERSION_BUILD="27a4f8b" -mlittle-endian -mfpu=vfp -mthumb -mthumb-interwork -c stb_image.c -o stb_image.o
arm-elf-gcc -mlittle-endian -mfpu=vfp -mthumb -mthumb-interwork -Ttext=0x0 --nostdlib entry.o openiboot.o arm.o tasks.o openiboot-asmhelpers.o mmu.o miu.o clock.o power.o uart.o interrupt.o timer.o event.o usb.o gpio.o util.o printf.o malloc.o dma.o nor.o aes.o spi.o chipid.o lcd.o i2c.o images.o sha1.o commands.o pmu.o buttons.o framebuffer.o actions.o nvram.o nand.o ftl.o accel.o sdio.o wdt.o wm8958.o multitouch.o wlan.o radio.o als.o camera.o hfs/btree.o hfs/catalog.o hfs/extents.o hfs/fastunicodecompare.o hfs/rawfile.o hfs/utility.o hfs/volume.o hfs/bdev.o hfs/fs.o menu.o stb_image.o -lgcc -nostdlib -o openiboot
cd mk8900image/; make
make[1]: Entering directory /home/zeno/.software/iphonelinux/openiboot/mk8900image' cc -m32 -c mk8900image.c -o mk8900image.o mk8900image.c: In Funktion »main«: mk8900image.c:83: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung make[1]: *** Keine Regel vorhanden, um das Target »libcommon.a«, benötigt von »mk8900image«, zu erstellen. Schluss. make[1]: Leaving directory
/home/zeno/.software/iphonelinux/openiboot/mk8900image'
make: *** [mk8900image/mk8900image] Fehler 2
Any hints?
root@joe-virt-4720s-laptop:/home/joe-virt-4720s/dev/iphonelinux/openiboot# cd client && make all && cd ..
cc -DHAVE_GETEUID -I/opt/local-universal-10.4/include -c oibc.c -o oibc.o
oibc.c:6:31: error: readline/readline.h: No such file or directory
oibc.c: In function ‘doInput’:
oibc.c:132: error: ‘rl_basic_word_break_characters’ undeclared (first use in this function)
oibc.c:132: error: (Each undeclared identifier is reported only once
oibc.c:132: error: for each function it appears in.)
oibc.c:133: error: ‘rl_completion_append_character’ undeclared (first use in this function)
oibc.c:139: warning: assignment makes pointer from integer without a cast
make: *** [oibc.o] Error 1
Please add a way to terminate OpeniBoot in case of freezes. My phone is broken and when OpeniBoot freezes the only way to restore it is to let the battery run dead, which leaves the phone bricked and unable to charge up again.
"./loadibec ../openiboot.img3" uploaded file successfully. "./oibc" and then "install" produces no output. Output thread blocks on "while(usb_interrupt_read..." loop. Input thread blocks on "pthread_mutex_lock..."(line 220). When i removed that line, it goes to infinite loop on line 109 with recieved cmd.command == 3. May be something wrong with uploaded openiboot.img3?
May be forgot to add it to the repository?
Everything worked fine until I ran loadibec . Some help anyone ?
failed to build img by following the page http://wiki.github.com/planetbeing/iphonelinux/openiboot-installation
with the above error message.
After some digging and more digging I have been able to compile the ToolChain and open iBoot as a pre-compiled version just flat out didn't load. Anyways, I "sudo loadibec openiboot.img3" and everything seems to go ok. I get the openiboot software loaded and I then try to boot the main os and that just flashes a white screen and loops back into the openiboot loader. ... I select the other option and then it partially loads. Something may be going wrong earlier in the loading process making it impossible for the rest of the tool to load.
iPhone 3G Model: MB702LL
Firmware Version: 3.1.2 ( 7D11 )
iBoot Version: Haven't Checked
JailbreakSW: blackra1n ( No mac to pwn it with )
UnlockSW: sn0w
OS: Ubuntu 9.10 x86 ( Stock Install with all necessary tools & libs installed )
After comparing my openiboot output to http://pastie.org/pastes/929164
i2c: ack not received before byte 0 <- "Linked to Installing gamma table 0x0000c223 / 0x0000ff77"
radio: comm board detected. <- Where mine stops
-> Next? USB state change: 1 -> 3
------------------------ OPENIBOOT OUTPUT BEGIN ------------------------------
miu: epoch mismatch
PLL 1: off.
PLL 0: off.
PLL 1: 412000000
PLL 2: off.
PLL 3: 108000000
NOR vendor=bf, device=8e
Successfully loaded bank1 nvram
Successfully loaded bank2 nvram
syrah_quiesce()
otf clock divisor: 5
fps set to: 59.976
SFN: 0x10300, Addr: 0xfd00000, Size: 0x14001e0, hspan: 0x280, QLEN: 0xa0
syrah_init() -- Hurray for displays
Syrah Panel ID (0xb3c22b):
Build: UNKNOWN
Type: TMD
Project/Driver: N82/Novatek-6.x AutoBoot Enabled
Autoboot display...
changing to continuous calibration mode 3
syrah_init success!
Installing gamma table 0x0000c223 / 0x0000ff77
i2c: ack not received before byte 0 <- Repeats a bunch of times, edited for space
camera: sensor model ID = 0x1580
menu: images loaded
USB state change: 0 -> 0
EP 0: 2
EP 1: 2
EP 2: 2
EP 3: 2
EP 4: 2
EP 5: 2
USB state change: 0 -> 1
usb: reset detected
USB state change: 1 -> 1
usb: reset detected
USB state change: 1 -> 1
USB state change: 1 -> 3
USB state change: 3 -> 4
radio: comm board detected.
--------------------------- END OPENIBOOT OUTPUT ------------------------------------
Anyways, instead of griping about it I will dig through the code and see if I can work around it. Keep up the good work!!
-- ADDITIONAL DETAILS --
After recompiling in debug mode and commenting out radio_setup(); in openiboot.c on line 89 it loads completely! Alright, good! I successfully created the norbackup.dump .... so the issue is with radio_setup();
miu: epoch mismatch
PLL 1: off.
PLL 0: off.
PLL 1: 412000000
PLL 2: off.
PLL 3: 108000000
NOR vendor=bf, device=8e
Successfully loaded bank1 nvram
Successfully loaded bank2 nvram
syrah_quiesce()
otf clock divisor: 5
fps set to: 59.976
SFN: 0x10300, Addr: 0xfd00000, Size: 0x14001e0, hspan: 0x280, QLEN: 0xa0
syrah_init() -- Hurray for displays
Syrah Panel ID (0xb3c22b):
Build: UNKNOWN
Type: TMD
Project/Driver: N82/Novatek-6.x AutoBoot Enabled
Autoboot display...
changing to continuous calibration mode 3
syrah_init success!
Installing gamma table 0x0000c223 / 0x0000ff77
i2c: ack not received before byte 0 <- Repeats a bunch of times, edited for space
camera: sensor model ID = 0x1580
menu: images loaded
USB state change: 0 -> 0
EP 0: 2
EP 1: 2
EP 2: 2
EP 3: 2
EP 4: 2
EP 5: 2
USB state change: 0 -> 1
sdio: selecting voltage index 23
sdio: cccr version: 0, sdio version: 0, low-speed: 0, high-speed: 0, wide bus: 1, multi-block: 1, functions: 1
sdio: turning off pull-up resistor on DAT[3]
Manufacturer ID: 0x2df, product ID: 0x9103
Function: 0, max block size: 256
Function: 1, max block size: 256, enable timeout: 1000 ms
sdio: Ready!
sdio: enabled function 1
wlan: ioport = 0x10000
wlan: firmware status = 0x0
multitouch: powering on
usb: reset detected
USB state change: 1 -> 1
usb: reset detected
USB state change: 1 -> 1
i2c: ack not received before byte 0
i2c: ack not received before byte 0
i2c: ack not received before register/command 0
als: error initializing
nand: Probing flash controller...
USB state change: 1 -> 3
USB state change: 3 -> 4
nand: DEVICE: b614d5ad
nand: BANKS_TOTAL: 4
nand: BLOCKS_PER_BANK: 4096
nand: SUBLKS_TOTAL: 4096
nand: USER_SUBLKS_TOTAL: 3872
nand: PAGES_PER_SUBLK: 512
nand: PAGES_PER_BANK: 524288
nand: SECTORS_PER_PAGE: 8
nand: BYTES_PER_SPARE: 128
nand: BYTES_PER_PAGE: 4096
nand: PAGES_PER_BLOCK: 128
ftl: Attempting to read 128 pages from first block of first bank.
ftl: Found production format: 43303035
ftl: Successfully found FTL context block: 2570
ftl: Successfully read FTL context block. usnDec = 0xfffbf080
ftl: Detected version 46560001 b9a9fffe
ftl: FTL successfully opened!
bdev: partition id: 0, type: af, sectors: 63 - 128063
WELCOME TO OPENIBOOT
DEBUG MODE
i2c: ack not received before byte 0
nor_read 0x09000000 0x0 1048576
Reading 0x0 - 0x100000 to 0x9000000...
Done.
~norbackup.dump:1048576
file sent.
After the installation i get the "press menu to unlock" ecc ecc, if i press something i get :
"Sorry!
The process android.process.acore has stopped unexpectedly. Please try again."
Italian iPhone 3G .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.