yashsingh1/xdaforums huggingface dataset:
[JAM, MDA Compact, S100 General] 0x29a:
hey there,

i just got my own htc magician and im glad to see that there is an effort to get linux running on it.

i upgraded the windows mobile rom to 6.1 (http://xdaforums.com/showthread.php?t=548661 and http://cotulla.pp.ru/Magician5.html) so i get rid of the branded software.

i formatted my 1gb sd card with a 64MB (sdb1) vfat und the rest (sdb2) with ext2

i use haret 0.5.2 from http://www.handhelds.org/moin/moin.cgi/HaRET

my default.txt reads (the mtype is necessary because of the wm6.1 rom):

set KERNEL zImage-2.6.21-hh20-r13-magician.bin
set MTYPE 875
set CMDLINE "root=/dev/mmcblk0p2 console=tty0 rootdelay=1"
bootlinux

im using the kernel (zImage) and rootFS from ph5 at http://85.214.40.226/~ph5/tmp/

kernel boots fine, userspace is started, i get a openMoko GUI (touchscreen working) and can use the terminal app as root (with onscreen keyboard).

but i would need an usb connection so i can ssh from my working machine (ubuntu) to the phone. i read the usbnet howtows mentioned earlier but i think the phone is not trying to do a usb connect.

since i dont know the exact config from the kernel image and because i want to tinker myself i need a toolchain. heres my questions, i didnt find any information on what people are using to develope for the magician, so could you give me a hint? would http://labs.kernelconcepts.de/Tools/Toolchains/ or http://wiki.ubuntuusers.de/GNU_ARM-Toolchain work?

from past "experiments" with other targets i seem to remember to setup a gentoo distri and chroot into it. is that still needed?

once i have a toolchain i can work with, im familiar with kernel building and crosscompiling. just need someone to prime the pump so i get back into hacking this stuff.

and i do agree, all the information from varios posts here should be collected and maintained. if i have a working developement environment i could help with that!

im also on irc (freenode) in #htc-linux, feel free to say hi!
[JAM, MDA Compact, S100 General] iRiKi:
I once tested openMOKO while still using wm2003 and i find it very unusable from the user's pov, is there any evolution on the gui recently? I'm still using the phone sometimes for my mp3 listening/file exchanger, but im totally of of time to try it again.

cheers \o\
[JAM, MDA Compact, S100 General] gnif:
I have grabbed the latest hh,org 2.6 kernel and compiled it using a toolchain I compiled using buildroot, this workes perfectly, I am now attempting to port the magician code to 2.6.31 and get it to run
[JAM, MDA Compact, S100 General] excogitation:
Any particular reason?

Afaik there haven't been any Magician specific improvements to recent kernels.
[JAM, MDA Compact, S100 General] gnif:
there are improvements, such as support for the I2C bus, better SOC support, use of existing kernel modules instead of re-implementation of them in the magician arch.
[JAM, MDA Compact, S100 General] excogitation:
sounds like you know what you're doing.

If you get it running I'll think of making all the parts I have lying around into a working Magician again ;-)

Good luck (to both of us).
[JAM, MDA Compact, S100 General] evildarknight:
:)

cross compiling the 2.6.31 kernel is easy

building rootfs is also easy

but to get phone functionality and execution speed seems to be problematic for me

will continue research as get more time

there is also something on rapidshare if you guys wanna try its from other devs from other site which i can remember the link

http://rapidshare.com/files/2162434...rk_Full_For_Magician_From_ViliamVolosV.tar.gz

post any progress you make gnif
[JAM, MDA Compact, S100 General] ggmaniack:
Can some1 tell me why the hell i get kernel panic not syncing init not found?
[JAM, MDA Compact, S100 General] ggmaniack:
Help me... I cant get thru the kernel booting stage. I always get kernel panic. init not found or something... Isnt it because i formatted the sd card in windows?

Thanks to Partition Magic ive found that on my sd card the second partition is linux number 6... Still not booting..
[JAM, MDA Compact, S100 General] header2k:
New images

Some of my buildings (Angstrom) with openembedded and bitbake:

Angstrom-OPIE:

Angstrom-opie-image-glibc-ipk-2009_X-test-20091209

Angstrom-GPE:

Angstrom-x11-gpe-image-glibc-ipk-2009_X-test-20091210 (touchscreen doesn't work for me - xtscal doesn't pop up before the GPE setup)

Touchscreen working: Angstrom-x11-image-glibc-ipk-2009_X-stable-magician

Angstrom-e17(illume):

*Still trying to fix some errors*

Packages for Angstrom

*Build more images later*
[JAM, MDA Compact, S100 General] header2k:
Try the gparted live cd and make a second partition in ext2.

The extract a image on the second partition using Linux. If you have Xp or Vista, you can try Ext2IFS to get access to the ext2 partition.
[JAM, MDA Compact, S100 General] adamek:
Hello everybody!

I don't know if it is a good place for my question but I think that you may know more than people in thread about USB OTG.

I know that PXA272 has USB host capability and in some places I can read that Magicians bluetooth is connected to it. Has some of you played with connecting something to it? I know that probably it isn't accessible from outside but maybe there are some testpoints on the board with data lines? Or I have to remove bluetooth IC and connect to some of its pads?
[JAM, MDA Compact, S100 General] larsg:
downloads

Hi Header2k!

I unfortunately am not able to download, this file sharing service is full of restrictions and not available from the country I am located at. Do you need webspace for sharing the results of your attempts to build for the Magician?

Besides, I found many experimental builds now - but little documentation on how it was done. I would propose that anyone building a kernel documents the patches he applied, the kernel versions he used, and the Config-settings. The same is true for the root-disks. Else, the information is lost for the community, once someone loses interest in the device, and others will not be able to continue where he/her stopped.

Cheers

Lars.
[JAM, MDA Compact, S100 General] header2k:
Hello larsg

I upload those images later on my server.

I just build those images with openembedded like mentioned here.

And here is the changelog with more informations.

PS: Sorry for my terrible english

EDIT:

Looks like my server hoster doesn't allow to upload files with this size. But for anyone who can't download the files from filefactory, use one of those mirrors:

Angstrom-Opie

Angstrom-GPE
[JAM, MDA Compact, S100 General] evildarknight:
any screenshots pics of Angstrom running?

my magician left me and went to heaven can't test :(
[JAM, MDA Compact, S100 General] header2k:
Angstrom with OPIE

Angstrom with GPE

Openmoko (Om 2007.2)

But I should remind you that there are a lot of things that doesn't work!
[JAM, MDA Compact, S100 General] iRiKi:
So currently what is really working? GPRS, camera?

Thanks in advance :)
[JAM, MDA Compact, S100 General] tko:
1 year later, any new "sucesses" ? ^^
[JAM, MDA Compact, S100 General] Similya:
is there a final linux rom for magician.?
[JAM, MDA Compact, S100 General] dali rami:
we are waiting ...
[JAM, MDA Compact, S100 General] baal_zebub:
complete setup

hello,

i'd like to test the images from post 136:

http://xdaforums.com/showpost.php?p=5110810&postcount=136

but what else do i need - i assume:

- 2 partitions: 1 fat (primary), 1 ext2 (primary) ?

- unzip the images to ext2 ?

- haret.exe

but what default.txt / startup.txt ?

- what about a zimage file ?

thank you
[JAM, MDA Compact, S100 General] header2k:
That's right

startup.txt and kernel are included and should be in the same folder as HaRET.exe

If someone wants to build their own Linux images, they should take a look at the openembedded Wiki.

P.S.:

My xda mini is dead and i stopped building new images.
[JAM, MDA Compact, S100 General] Hab1bi:
apparently there is still no progress, after a long wait..........
[JAM, MDA Compact, S100 General] baal_zebub:
if i use startup.txt and kernel provided in this package "Angstrom-x11-image-glibc-ipk-2009.X-stable-magician.rootfs.rar" i just get a white screen:

1. linux starts - console says a few lines - last line is "jumping to kernel"

2. then screen fades to white and stays like this

i had this white-screen with a lot of linux packages already. But i know i don't have this, when i use a older zImage. So i replace the zImage by version r13 "zImage-2.6.21-hh20-r25-magician.bin"

Now it looks different: screen goes also white - but the console returns immediately.

the boot process seems to start. it writes a lot of lines (what hardware found etc.) , then ends with:

VFS: mounted root (ext2 filesystem)

freeing init memory: 84K

kernel panic - not syncing: no init found. try passing init= option to kernel.

Any advice ?

Thanx!
[JAM, MDA Compact, S100 General] a1girdas:
flashing ROM

is it possible to return to Windows (Cotulla or Windows mobile) in case if experiment with Linux fails?
[JAM, MDA Compact, S100 General] pc2005:
Working 3.4.0

Hello (everybody),

I managed to boot Magician with nearly latest vanilla kernel (~3.4.0). Problem with whitescreen is mostly with power GPIO initialization (working hh-version wasn't long/never in vanilla tree). After some other changes in source code I was able to boot into console (X server intentionally disabled), using usb-client emulation of ethernet, irda (with little success only - bad PC dongle).

I think it would be in small time possible to run full X server, but there is problem with my Magician. In one test it fell disassembled on the floor and LCD connector plastic stripe is damaged (2-3 wires on both sides).

Is Linux on Magician still desired topic so I can try repair LCD stripe and finish vanilla kernel patches? (But even when it is I don't know if I can this stripe successfully repair.)

Yes it is, if you boot with haret.exe and not touching internal flash ;). Just press HW reset button.

P.S. Sorry for bad english.
[JAM, MDA Compact, S100 General] notime2d8:
Yes, you should continue this project!!! What OS are you going to run once you get the kernel perfect? I know some people are still interested in this but might not visit this forum daily and a lot of people just read the forums and not comment on them.
[JAM, MDA Compact, S100 General] pc2005:
Wow I actually didn't expect any answer :D. I got my Magician nearly for free, because of wearing-out of hardware and case, so it is possible that it fall apart before working system (actually i don't even know how to repair LCD without high risk of total destruction).

With this basics I didn't think much about final OS, but my kernel debugging ran with one of OpenMoko distribution (with hh kernel tree) from this forum. Actually userspace is irrelevant for me and it can be even custom distribution (I don't know which or if some applications are without GPL'ed source and if is possible to make calls with OM). Maybe some other GUI programmer can do this ;).
[JAM, MDA Compact, S100 General] iRiKi:
That would be AMAZING!! I have the phone sitting idle at home, and creating a new kernel would open up a whole world of possibilities ;)
[JAM, MDA Compact, S100 General] pc2005:
Done! I managed to boot into my own "distribution". It does not have any useful software, but it works (kind of :D).

Bootup sequence:

1) Boot into windows mobile (tested with sdhc card patch).

2) Create two partitions on SD card (FAT for windows mobile and ext2 for linux).

3) Copy haret and kernel image into FAT

4) Copy rootfs into ext2

5) Boot into windows mobile

6) Attach USB between Magician and LINUX (!) machine

7) Run haret from FAT

8) Linux should start booting if not power reset and start from 1) (or maybe you have different revision?, LCD=samsung)

9) REPLUG usb cable (usb GPIO is not implemented, windows sets that)

10) On Linux machine set ethernet over usb: ifconfig usb0 192.168.4.1 up (you can set NAT too)

11) You should be able to login over SSH with user/pass=root/pokus

12) Xorg -noreset -retro & export DISPLAY=:0; xeyes &

Root filesystem is here: ulozto dot net/x6P845U8/to-okias-tar-bz2 . Kernel is 3.7 (patched vanilla) but I heard, some of my patches are not required in 3.11+.

Touchscreen data are a bit unstable (developer's version) I will try to improve them (or update to 3.11).

Are there some hardware hackers, who owns Magician? I need help with certain things (for example data chip (1 wire PIC used as eeprom?) from my battery burned so I cannot use it). Of course if someone willing to send me a spare battery I will not refuse ;).

I would like to know if touchscreen works for everyone other (if you paint rectangle, does cursor really move in rectangle, etc..)?

If someone wants patches against 3.7 please send me e-mail.
[JAM, MDA Compact, S100 General] iRiKi:
My phone is dead, and I'm also in the middle of some huge final college year assignments.. will take a while to test this ;) But great work nonetheless!
[JAM, MDA Compact, S100 General] cest73:
excellent job!

congratulation!

Just make sure to make an HOWTO of the whole process :) ?

My magician is lurking somewhere around the drawers, need to revive it again...

just keep up man, hang in there! :D
[JAM, MDA Compact, S100 General] pc2005:
Success, camera has been enabled!

Kernel patches will be released soon along with root filesystem.

For anyone interested in linux kernel hacking: i2c-pxa is not working and i2c gpio must be patched (probably uncompatible start, restart and stop sequentions). Default drivers (soc_camera+pxa_camera+ov9640) are stable just enough to build and are missing some v4l2 functions. I think it even crashes with debug enabled.

If anyone is interested maybe I will need some help, because color matrix in kernel is bad (swapped red and blue channels) and there is not any deep documentation.
[JAM, MDA Compact, S100 General] cest73:
look who's been busy lately :D

[MENTION=4936062]pc2005[/MENTION],

I would recommend to post the patches in more than one single place, it is sadly common practice while surfing lately, to find discontinued hosting and code lost to "bit-rot"...

;)

Also I see You are going deep :good:

:D

Keep up with the good stuff (hope someone comes to help soon...)
[JAM, MDA Compact, S100 General] a1girdas:
some news?
[JAM, MDA Compact, S100 General] asim.sidz:
What the hell! It has been 6 years and still nothing? Why do people brag about something that cannot or do not want to do!?

---------- Post added at 04:14 PM ---------- Previous post was at 04:03 PM ----------

There are more number of needy users than you can imagine. The HTC magician also came in other brands like O2 XDA II Mini and I-Mate JAM which alot of people still have even after 10 years. I think you have already invested some time into it and now abandoning it would be foolishness. Post your work in detail and atleast make a guide so that other people can learn from it, reach to your level and try to develop it further. Otherwise this device will be considered dead, once and for all.

Don't let me down.
[JAM, MDA Compact, S100 General] pc2005:
Well, I published sort of working root filesystem image more than year ago, but nobody sent me message about willing to test it (and I could not do some critical tests, because my Magician was damaged), so I bought another about six months ago and did all tests alone. And of course I don't have so much free time, so it took some time ;). And many of my programmed software is not too usable :D.

I'm nearly at the end, but there are still some problems. For example:

Using usb gadget in mass storage mode kills kernel and some data on SD card (it must be fscked).

It seems that battery with more than 400mA current goes into failsafe (no power) and it stays in it for some time after replugging.

There is no good GUI for Xorg (GTK is not compatible with 240x320 resolution - too big buttons in dialogs). It can be probably redesigned somewhere in source code.

Only GUI which is relatively usable (matchbox) has weird bugs and is worse than original windows. New version of matchbox is unstable too.

FFmpeg/Mplayer/GStreamer is TOO slow, and support for iwmmxt instruction was dropped long time ago (can be re-added). Same with "accelerated" pxafb video overlay.

No compatible software for GSM stuff.

Mine or any Magician has faulty bluetooth.

Flashing anything to NOR flash is not tested.

My kernel patches are not still commitable to vanilla, because they are full of nasty debugging prints.

Possible BGR instead of RGB or bug in mplayer, because mplayer in framebuffer have switched colors.

If someone wants to test some of stuff above then my old rootfs image is still online.

Last few months I'm constantly pushing myself too make some tutorial, but system is still unusable (as portable computer) and main problem is that my notes are not in english.
[JAM, MDA Compact, S100 General] asim.sidz:
I feel very regretful to say that you had to do it all by yourself. It looks like we can reach there as a team. I'm sure that Hakim Rehman, Ebor Gorde and others including me can help and/or contribute in some way.

I would strongly advise you not to give up at this point because it would be a big breakthough for PPCs and then we can port it to other devices as well.

You just need to spread the word properly because nobody knows that you have worked on it. Make a proper thread like Cotulla's or Pof's, make it sticky and start it as open source. I'm very sure that me and others will contribute and test for you.
[JAM, MDA Compact, S100 General] pc2005:
Ho ho ho, late Santa is bringing first blog post about linux on HTC magician :laugh: , follow here: http://www.abclinuxu.cz/blog/Garden...s-teach-penguin-how-to-become-magician-part-1 . For any comments, please write into this thread.

This mostly summary there will be better parts up to working configuration for "make call", but writing takes so long :( .
[JAM, MDA Compact, S100 General] asim.sidz:
So, you are still alive! You come after weeks out of the blue and then vanish again. PM me an alternative so that i can reach you whenever the need is there. Remember that i have my eyes on you now. Will go through that link and get back. I really want you to go ahead with this work and involve me in it wherever suitable.

Thanks!
[JAM, MDA Compact, S100 General] pc2005:
Hi everybody,

Another part of Linux on Magician tutorial http://www.abclinuxu.cz/blog/Garden...ach-penguin-how-to-become-magician-i2c-part-2

Edit: And another http://www.abclinuxu.cz/blog/Garden...-a-penguin-how-to-become-the-magician-3-power

Edit^2: FINALLY Some basic support got into vanilla kernel (from v4.4). Some peripherals are still out, because they was too dependent on other things, so they did not make in one patch.
[OnePlus 7 Pro Questions & Answers] guitardoc64:
First, sim unlocked you're good to go. No need to bother T-Mobile. Bootloader unlock is through OnePlus. Guides aplenty here, search will turn up what you need. I'm personally running the box stock firmware unrooted and at the moment I'm very happy with it.fotr the first time in a long time I don't see much value in going through the process of rooting because the stock ROM pretty much has everything that I used to get with rooting and a custom ROM. I will probably do it anyway at some point, just because I feel wierd not having root.
[OnePlus 7 Pro Questions & Answers] ThisIsCheez:
Thanks for the feedback.

I think I'm going to update to the newest firmware. Worst case I decide I want to root I'll use MSM and downgrade, my phone will get wiped when I unlock my bootloader anyway.
[OnePlus 7 Pro Questions & Answers] jamescable:
The reason I root is adblocker system wide
[OnePlus 7 Pro Questions & Answers] guitardoc64:
I found an app called block this. It does a good job and doesn't need root. It might not block ads on YouTube but it gets rid of the annoying ones in games.
[Fire TV Android Development] erdosain9:
HI all.

I dont know if this go here... hope it does.

I wanna ask if somebody can give me a diagram to make this

https://www.banggood.com/Micro-USB-...4884201901&custlinkid=267261&cur_warehouse=CN

I cant buy outside my country, and nobody sell this kind of cable in my country.

So, please if someboyd knows, please share.

Thanks!
[Fire TV Android Development] erdosain9:
if some admin want to delete this! I found a video that explain this! Thanks anyway all.
[Fire TV Android Development] drsubhash81:
Post ur video link
[Lenovo P2 Guides, News, & Discussion] Shades_of_death0:
Evolution X 4.20 for the Lenovo P2a42 [kuntao]

Code:

/*

* Your warranty is void. Or vaild, probably?

*

* I am not responsible for bricked devices, dead SD cards, Ebolation X,

* thermonuclear war, or the current economic crisis caused by you following

* these directions. YOU are choosing to make these modificiations, and if

* you point your finger at me for messing up your device, I will LMAO at you.

*/​

Living, Breaking, Keep Evolving.

Pixel UI, customization and more, we are Evolution X!

- Team Evolution X -

[MENTION=4936496]joeyhuab[/MENTION]

[MENTION=9008281]peaktogoo[/MENTION] (Now RealAkito)

[MENTION=7125966]AnierinB[/MENTION]

[MENTION=7665334]Hugwalk[/MENTION]

- Maintainer -

[MENTION=10500525]Shades_of_death0[/MENTION]

Themes

- 20 Accent Colors

- 5 Lock Screen Clock Styles

- Pixel 2019 Wallpapers

- Pixel Theme Picker

Statusbar

- 4G/LTE Icon Toggle

- Brightness Control

- Network Traffic Activity

- VoLTE Toggle

Notifications

- Force Close Notifications

- In Call Vibrations

- Kill App Button

- Notification light Config

Quick Settings

- Bottom Brightness Slider Toggle

- Gaming Mode Quick Settings Tile

- Quick Pulldown (Left/Right)

- Quick Settings Rows & Columns Customization

- Tile Titles Toggle

Gestures

- AOSP Gestures

- Back Gesture Height Config

- Double Tap to Sleep Lockscreen

- Double Tap To Sleep Status Bar

- Screen Off Power Button Torch

- Swipe To Screenshot

Lockscreen

- Fingerprint Authentication Vibration Toggle

- Lock Screen Charging Info

- Lock Screen Music Visualizer

- Lock Screen Shortcuts

- Media Artwork Toggle

- Pocket Detection

- Status bar visibility toggle

Navigation

- Invert Layout

Hardware Buttons

- Power Menu Customization

- Volume Rocker Cursor Control

- Volume Rocker Playback Control

- Volume Rocker Wake

Miscellaneous

- Alarm Blocker

- Default USB Config

- Wakelock Blocker

- Wake On Charge

https://drive.google.com/file/d/1-OamEW5xG3QXHv4AWCXwF97mASKpclNe/view

Android OS version: 10.0_r33

Security patch level: April 2020

Maintainer : Shades_Of_Death0

Source code: https://github.com/Evolution-X

Android OS version: 10.0_r33

Security patch level: April 2020

Build author: Joey Huab

Source code: https://github.com/Evolution-X

Screenshots ;

DEVİCE : Shades_Of_Death0

VENDOR : Shades_Of_Death0

KERNEL : Shades_Of_Death0

Show Me your support Papara: 4126622902​
[Lenovo P2 Guides, News, & Discussion] Biradarkushal:
Does It boot
[Lenovo P2 Guides, News, & Discussion] GuestK00460:
is it going to be official in future?

---------- Post added at 08:33 AM ---------- Previous post was at 08:32 AM ----------

gapps include?
[Lenovo P2 Guides, News, & Discussion] Shades_of_death0:
stop stupid stupid, your device won't turn on because it is encrypted. no problem. It

stop stupid stupid, your device won't turn on because it is encrypted. no problem. It opens.
[Lenovo P2 Guides, News, & Discussion] Sutcliffe9:
Does FM radio work?
[Lenovo P2 Guides, News, & Discussion] Biradarkushal:
I asked because your earlier version of bootleggers rom didn't boot up.Anyway I'm more than happy that you are trying to maintain these roms.please do make it an official rom
[Lenovo P2 Guides, News, & Discussion] Shades_of_death0:
Your Devıce Problem Bro Format data and ınstall rom
[Lenovo P2 Guides, News, & Discussion] ajaysngh040:
Need help

I want to install this rom evolution x 4.20 in my Lenovo P2a42 but I can't find instructions for the same. Please help me with the procedure also I am bit confused about the data partion and recovery type. I want to root phone with magisk but I read that need ext4 format for that also redwolf recovery suggested for treble rom. Currently i am using stock ROM os 7 .Please help me