[DEV] The project to port Android(froyo) on S8500 (8530) - Android Development on Bada

Hi All.
It's my thread - port Android on Wave S8500(also S8530).
Wellcome developers and designers.
Last state of project:
06/13/2011 Now working on Android 2.3.3 (Source GB for GT-I9000 and M130K)
not working - modem and GPS.
04/04/2011 Memory allocation now is correct!
05/11/2011 I have full schematic for phone
and we're ready to get a fully working kernel.
Full decriptions of GPIO is attached.
source for kernel and initramfs here:
github.com/Oleg-k/S8500_Kernel_2.6.32
github.com/Oleg-k/initramfs_2.6.32_S8500

(real shame if you ask me)
Click to expand...
Click to collapse
Please expect not too much from me.
1.
My other handsets are from 2006... NEVER hold Android handset in my own Hand...
2.
I'm Windows User.
Linux/Unix ... I know only 1 or 2 Commands
I've never formated my SD Card nor any Harddrive with Linux ext4, JFS, ReiserFS or XFS
3.
I NEVER worked with IDA or something similar.
Installed yes, but then my Head exploded
Brain too small.
4.
Many missing parts...
Why I should kill my alive handset, as I have no real chance to reanimate it...
- no Riff Box
- no PCB to play with
I AM NOT the right man to port Android nor to find Security hole
You can make this post sticky.
NO joke, expect not too much from me. We can learn together... but this takes time.
Many time. Months, maybe years...
Best Regards

after many many variant, i found the right boot+sbl+param.lsf for kernel message output.
this is my last bootlogo.
how it can be seen, there is a problem with memory allocation.

oleg_k said:
after many many variant, i found the right boot+sbl+param.lsf for kernel message output.
this is my last bootlogo.
how it can be seen, there is a problem with memory allocation.
Click to expand...
Click to collapse
Great of you to keep us posted! \o/
hmmm... as a matter of interest - I noticed you're using kernel 2.6.35.7, when I look at the original I9000 source that's 2.6.29....
what does that source say as to why it failed in bootmem.c @ line 341?
Not enough memory, permissions, wrong offset?

oleg_k said:
not yet( Starting but don't finish.
Click to expand...
Click to collapse
Whats not happening? Oleg_k would you be able to PM me with a copy of your work, files and so forth i might be able to help you out.

t0mm13b said:
+1 for bootloaders - abso-frickin-lutely....there should be a standard bootloader... meh.... not sure about meteor - haven't seen it...
Click to expand...
Click to collapse
Well I'm holding a meteor wave here, bought around christmas. How much onboard storage does you device have? mine says it only has 512 i think... stupid meteor thinking i wouldn't notice....

sabianadmin said:
Well I'm holding a meteor wave here, bought around christmas. How much onboard storage does you device have? mine says it only has 512 i think... stupid meteor thinking i wouldn't notice....
Click to expand...
Click to collapse
You mean to tell me that Meteor bundled a 512Mb memory card?
I have 4Gb on mine...this memory thing is a bit mystifying dontcha think, despite the discussion on another thread about the nand chipset.... on the one hand some say its 256Mb, others say 512Mb...

I tried the versions 2.6.32 and 2.6.35.
I post sbl+boot+param.lfs and config file for kernel making.

Last time u had problem with lcd_rst pin..did u figure that out?

t0mm13b said:
You mean to tell me that Meteor bundled a 512Mb memory card?
I have 4Gb on mine...this memory thing is a bit mystifying dontcha think, despite the discussion on another thread about the nand chipset.... on the one hand some say its 256Mb, others say 512Mb...
Click to expand...
Click to collapse
No i mean Meteor gave me some (seeminly non existant) version of the wave that has 512 internal storage. Im pretty sure its meant to have 2-4gb at the minimum.

sabianadmin said:
No i mean Meteor gave me some (seeminly non existant) version of the wave that has 512 internal storage. Im pretty sure its meant to have 2-4gb at the minimum.
Click to expand...
Click to collapse
Wave have 2gb of internal storage, but only 512mb are free for the user.

Otacon_ahs said:
Wave have 2gb of internal storage, but only 512mb are free for the user.
Click to expand...
Click to collapse
Wave S8500 have 2Gb of internal storage which are partitioned (bada 1.0.2):
-about 512Mb for messages (mail+sms);
-about 420Mb for user files;
-about 1Gb for system files (os+apps+widget+java)
You can find it in: Setting-->Memory-->Memory Status-->Common Memory

@ oleg_k
1.
How to bypass to write/overwrite Boot without JTAG?
I stuck in problems with Multiloader to write decrypted unmodified Original Boot. See here:
http://forum.xda-developers.com/showpost.php?p=12607344&postcount=34
2.
How to build valid Bootimage for JTAG or file(s) to use your uploaded files.
Maybe you could please upload your working Bootimage from S8500?
So we had something to start with...
3.
You have working fallback/recovery plan? To get back to working bada S8500.
Or only JTAG...
4.
Anyway. Thanx for uploading files for study.
Best Regards

To adfree,
1)now the steps bada->android or android->bada is only via JTAG.
i'm don't know any other way.
2)i posted full working bootloader files in first message of my thread.
3)i will post full jtag image with semi-working android in 2 hours.
Regards
my friend

Thank you oleg_k
Last Question for today.
So I should use simple Flashtool from I9000 to flash these Boot Files into S8500 ?
Sorry for stupid Question. But I'm totally Android Noob.
Thank you for uploading files.
Best Regards

oleg_k said:
To adfree,
1)now the steps bada->android or android->bada is only via JTAG.
i'm don't know any other way.
2)i posted full working bootloader files in first message of my thread.
3)i will post full jtag image with semi-working android in 2 hours.
Regards
my friend
Click to expand...
Click to collapse
We can think about running SBL or any other bootloader (anybody with sources for that?) through the FOTA hole as I described in the thread:
http://forum.xda-developers.com/showthread.php?t=1020444
This way we don't need JTAG for initial flashing. It'd be also good to perform testing without touching BADA in the NAND, but we either need to reorganize partitions or boot from SD card
Best Regards,
mijoma

I think an combination will lead to success... so work together.
At this status it is maybe tooo risky to play without JTAG.
As we not know, how Android will handle Memory...
Okay, correction. I don't know.
In worst case scenario you need JTAG to reanimate Wave...
We have 2 steps/parts.
Android part.
Display, Kernel, Memory, etc...
This part is mandatory in my opinion.
Then second part, how to start Android. Then there are several theories...
BootLoader, No BootLoader, FOTA... inject via JTAG into RAM...
internal Memory or Dual Boot from SD Card...
Anyway, without proper modified Android part we can't use all our Security Holes.
As more infos we have, better, as more working solution we have.
So more chance to improve something.
At the moment we can only improve Video Quality.
Best Regards

Mijoma,
I totally agree with you,maybe this is the way to deploying android on S8500.
But now,i think about build working kernel for our s8500.
Maybe you helping with analize memory init on original bootloader?
like this - http://code.google.com/p/jetdroid/wiki/OriginalDramInit
Regards

Seems like using mijoma's discovery you should be able to replace booting and maybe make it to boot from SD card using a open source booter a compatible android kernel with selfmade drivers.
Maybe that could be the way, sadly we'd lose internal storage since we wouldn't be touching bada partition, anyway Android should be working fine from a SD card, It does properly on other handsets which internal storage is nothing more than a microSD card instead of flash memory.
I think losing 2GB on internal and XMB on microSD is a good deal for having android on our handsets. Happily I got 16GB SD on my wave xP. Anyway once you achieved that we could gather to use the internal flash memory partition
Jioma I suggest you to work with adfree (along your knowledge) and oleg_k they're our wave masters, baybe you together could gather to achieve this great project. I require you to work on this oh please jioma=(

Ok thats great news! Finally we have a method of booting other platforms on the Wave. What we need is as much information on the s5800 chipset as we can get so we know exactly what to compile and what drivers are needed in the linux kernel for android. Someone get in touch with Cyanogen mod and ask him for help and offer him a wave or something ha.

Related

[Q] [REQ] Andoird on I8910 OmniaHD??

can someone tell me if is possible port Android on this amazing device??
someone is working on this???
I wuold like a lot if someone port Andoid on oHD!!!
lukas_ita said:
can someone tell me if is possible port Android on this amazing device??
someone is working on this???
I wuold like a lot if someone port Andoid on oHD!!!
Click to expand...
Click to collapse
I was working on it for a long time. Unfortunately it is impossible, due to limited bootloader space (not enough for an android one) and no recovery partition. Also it would need a totally new partition layout (as it only has two accessable internal and one external drive, so no cache, recovery access, nor swap.
And also do not forget about the hardware incompatibility. Even if we manage to boot it, you will hardly be able to even make a phone call. Not to say use WiFi, or GPS, BT, or anything.
hi i joined because of some interest in this,
first of all let met tell you that i own a samsoung i8320 (vodafone h1).
this in some way helps because we now have a 'working' limo kernel, in my opinion it might help us out here.
the problem i have is that i never ever yet have been able to do 'any of the work here under' - the fact that i know howto doesn't make me capable of doing, (its like the fact that you know a plain fly's because of big wings and an engine, doesn't make you a pilot)
---------
the H1 uses a rather standard linux kernel as far as i can tell from the source could, though i havn't been able to run it inside quemu yet..
some guys allready interested in porting android say that they got android running but without functions like phone or wifi. this is because thay used an android kernel rather than the samsung one.
step 1:
so what if you would strip the samsung rom from all 'userland' software, keeping only the kernel, its drivers and busybox stuf.
creating a root shell only - you may even be able to make it mount as /boot rather than /
step 2:
now ad ad adtional filesystem on the internal phone memory or an external sdcard ... format it as you like (ext3 with noadtime could do, but other options are also availible).
this should now be where the remaining of the android rom should be. you could now always update most of your your android and apps exept for your linux kernel or drivers. without reflashing. this idea is largely based on apps-2-sd so we all know its been done before.
fonix232 said:
I was working on it for a long time. Unfortunately it is impossible, due to limited bootloader space (not enough for an android one) and no recovery partition. Also it would need a totally new partition layout (as it only has two accessable internal and one external drive, so no cache, recovery access, nor swap.
And also do not forget about the hardware incompatibility. Even if we manage to boot it, you will hardly be able to even make a phone call. Not to say use WiFi, or GPS, BT, or anything.
Click to expand...
Click to collapse
The i8910 community is great....this phone is great...a porting of android on this phone wuold mean a great number of donations!
cannot you use E\ (massmemory...8Gb or 16Gb) like partition?

[TUT] Install Alpha android 2.2 on your wave. UPDATE 11-7

READ FIRST
Hey,
Welcome to this tut. It's been active for a few months now but there are some things many users and the dev's want to tell you.
1. DO NOT ask questions about when things are finished.
2. Before you ask an question use the SEARCH THIS THREAD button
3. Post tut related questions in THIS THREAD, so do NOT POST QUESTIONS IN THE DEV THREAD
4. Use the THANKS button when you get your answer.
5. Don't ask questions like "I've done everything but it doesnt work" we really can't help you with such a question cause we don't know where what goes wrong..
If your post is violating one of these "thread rules" (don't call then real rules...) then we'll just report your post. getting it deleted.. etc. etc..
For our "Wise" users here (i mean the ones who actually READ before they post) Don't go flame on users asking stupid questions just leave them allone and REPORT the post
Thanks & Enjoy.
ShadowAS1
Okay, to be clear. All this work is COPYRIGHTED By the devs, The TUT is copyrighted by me, so stop frigging CopyPastaing my tut.. . With other words.. ASK PERMISSION TO DO SO, Thanks[/B]
New in this update:
Added new FOTA
Disclaimer:
This stuff is still experimental, me, nor the devs will be responsible for any damage done to you, your phone or whatsoever, so USE AT OWN RISK
Warning:
Do NOT flash when you don't know what you're doing. It could BRICK your phone. And I will NOT support it when you screw up your phone.
FAQ
Q: It doesn't work I've done everything but it doesnt work
A: Do you even think we CAN answer the question if you ask it like that?
Q: My phone shuts down after 2 minutes, why?
A: It's an idle bug.. We're still looking for a solution
Q: When will GB be released, When will the modem drivers be finished.. etc..
A: WE DON'T KNOW! STOP ASKING THIS
What WORKS in this build
WiFi (+dhcp)
Market
3D Games (some maybe not)
Launchers (tested TWLauncher, Zeam, LauncherPRO)
Audio (FULL Working now)
Video's (see my livestream.com example)
What does NOT work in this build
Modem (3G, Calls, ETC) (works partially on oleg's build we're still working on it)
Idle time (also known as the shutdown bug)
Sensors (Causes battery bug)
Supported BOOTLOADERS
S8500DDJE7_MAY
S8500JVKC1_MAR
S8500XXJD9_APR
S8500XXJEE_MAY
S8500XXJEF_JUN
S8500XXJF1_JUN
S8500XXJF4_JUL
S8500XXJH2_DEC
S8500XXJH2_NOV
S8500XXJH3_AUG
S8500XXJI3_FEB
S8500XXJI3_NOV
S8500XXJID_SEP
S8500XXJK2_MAY
S8500XXJL2_APR
S8500XXJL2_DEC
S8500XXJL2_MAR
What do we need?
Multiloader: MegaUpload
zImage & stuff: MegaUpload
EXT2 IMG Filesystem: Part1 Part2
FOTA: MegaUpload (Restored old one)
Ok before we start. The tutorial is now 100% Rewritten. But you still need to read carefully
Notice
Clean out your ENTIRE bada storage first cause we will need almost everything of it
Notice2: This project is still in ALPHA Stage. So don't expect a fully awesome working version yet.
In this version all KNOWN fixes are implented except for root
1. Download all the needed files, when you've done so extract the ZIP with the zImage stuff in it and place it in you bada storage root. (you can extract the .001 with 7-zip)
(i made the Images URLS's because they're to big)
1b. Connect your phone and put it in Mass Storage mode
You should copy your files like the Images below
Bada Storage root:
http://ShadowAS1.com/badadroid/storageroot1.png
This should be inside your storage root:
http://ShadowAS1.com/badadroid/storageroot2.png
This should be inside your galaxyboot folder:
http://ShadowAS1.com/badadroid/storageroot3.png
So inside the sorage root should be your galaxyboot folder and the makext2img.sh
inside the galaxyboot folder should be zImage, SBL.bin and the .IMG file
2.Then you should shut down your phone and boot it in download mode:
Vol Down+Camera+Power and you will see DOWNLOAD MODE on the screen
3.Open up multiloader and take over my config here:
http://shadowas1.com/badadroid/multiloader.png
When you click port search the name "LISMORE" should/can popup next to the right COM port
Now click download and wait for it to finish
Okay, now your phone is ready for the first android run
Boot it by holding power+menu+vol up: (see image)
http://shadowas1.com/badadroid/IMG_0052.JPG
Then this should popup (after the SGS screen)
DO NEVER, ABSOLUTELY NEVER PULL OUT BATTERY OR TOUCH THE PHONE IN THIS PROCESS
http://shadowas1.com/badadroid/IMG_0050.JPG
This can take up to 5 minutes.
Now, Two things can happen
1. The phone boots bada
2. The phone shuts down
In any of this cases your phone is absolutely fine. If you have case 2 you can boot bada to check if everythings alright if you wish.
Assuming we all boot bada shut down the phone again
Boot android in the normal way by holding the Power and Call key
=====Removing Android from your bada partitions======
On request i add this one, In order to remove all android stuff put the "mkext2images-remove.sh" in your bada storage root and boot recovery mode again
Goodluck, ShadowAS1
Good Luck,
ShadowAS1
_________________
Changelog:
12-7(2): Added new FOTA
12-7: Added what (doesn't) work(s) list
10-7: Updated some stuff (FW list)
Thanks a lot!!
Great Guide!
But!
If some of you are having problems installing VMware due to processor requirements, we can still use the Ubuntu live CD and use gparted disk utility..
Also, we can also use a live CD version of gparted.. just search it at Google..
Wonderful guide to read, testing it now. Will post my results if i manage it (or not )
Regards
So can i use other apks than that specified above..?
prok**** said:
So can i use other apks than that specified above..?
Click to expand...
Click to collapse
The APKs listed above are ment to avoid crashing
you can use al programs listed in the phone i can not guarantee that it will work completely this is still pre-alpha
Nice guide...thank you
Hi!
I have followed all the steps.
Now I'm in the First-time Run section and when I start Android (end call and then start call buttons) the screen flashes, then the Galaxy S screen appears. After 6-7 seconds, blank screen and... Samsung Wave and Bada screens with bada startup!
I saw other member in other post having the same issue, but he had still no answer.
Any idea?
Yeap, still same problem as mcmollo after following this guide as well ...
Works for me
Thanks
ShadowAS1 said:
The APKs listed above are ment to avoid crashing
you can use al programs listed in the phone i can not guarantee that it will work completely this is still pre-alpha
Click to expand...
Click to collapse
i see .. well if i try i ll let u guys know.. .. thank u for ur support.. still waiting for ubuntu..
Same here
You guys are on xxjl2 firmware right?
kadavil said:
You guys are on xxjl2 firmware right?
Click to expand...
Click to collapse
Yeah, as stated in your and in Shadow's guide.
Yeap, same here: XXJL2 provided in the tutorials.
I have a SanDisk 2GB class 4 microSD card and created a FAT16 primary partition (1GB) and a EXT2 primary partition (1GB).
kadavil said:
You guys are on xxjl2 firmware right?
Click to expand...
Click to collapse
Yes. I repeated the tutorial 3 times, taking care of doing it exactly as you say. But Bada still loading after Galaxy screen.
Maybe compatibility problem with the SD card?.
Mine is KINGSTON MICRO SD HC 8GB CLASS 4
I created a FAT16 primary partition (4GB) and then the EXT2 partition (4GB).
Will we install waveII (s8530) ?
SORRY SORRY I forgot something important. Read the tuto again. you'll notice the edit (because there's abig fat "EDIT" in front of it) This may fix the problems
can i use ubuntu 10.04?
ShadowAS1 said:
SORRY SORRY I forgot something important. Read the tuto again. you'll notice the edit (because there's abig fat "EDIT" in front of it) This may fix the problems
Click to expand...
Click to collapse
thanks, i hope, we ll use stable android on 8530...

[Q] Gentoo Samsung Galaxy S2

I am putting Gentoo on my S2 according to a link i got from another post in this forum. Sadly, I am not allowed to post links yet on XDA. Otherwise I would.
I found out 2gb drive is not enough to compile some basic stuff. (Recompiling system with new useflags). What I was wondering is, is there any way to get it to delete the compiling thing that takes so much space, after it is installed? Like automatically? I am using (10)4 gigabytes this time due to 2gb not being good enough.
If this is not a thing that is possible, I dont see it is possible to run on the G2. It is a interesting thought, though, having a desktop OS on the phone. for easy access at all times!
Please help me out here.
EDIT: Files over 4GB isnt allowed, so I have a desperate need for help here.
I am not allowed to post links yet on XDA. Otherwise I would.
T hats cause noobs post questions in the wrong place .
jje
Sure it is.
You can compact your gentoo to probably 150MB. I have not used it for a long time so I can't tell you exactly, but you can post a question in the gentoo forums. You can remove all the portage stuff, libs and so because portage downloads everything or builds it as it goes.
Regards.
You can compile Gentoo from stage 1 in 8Gb without problems (counting all the partitions + swap space). You should be able to compile it without problems using only the internal memory.
You can also mount an external SD Card if you need more space.
pisiiki said:
You can compact your gentoo to probably 150MB. I have not used it for a long time so I can't tell you exactly, but you can post a question in the gentoo forums. You can remove all the portage stuff, libs and so because portage downloads everything or builds it as it goes.
Regards.
Click to expand...
Click to collapse
Well, I do not know exactly where to look.
And BTW, I gave this project up, as it drained my battery so much. I might start it again sometime soon, but that will be after I fix some hardware issues
Sent from my GT-I9100 using XDA App
Installed Gentoo on ext2 partition
I've installed Gentoo following this guide, except that i've created a new ext2 partition in /dev/block/mmcblk0p13.
http://www.hubholic.com/content/60/getting-gentoo-on-my-galaxy-s-2
And linked distfiles to /mnt/sdcard/downloads

[Q] Dual boot with my galaxy tab 10.1 (have a special OS)

Hello guys, I have a question about my galaxy tab but firstly I must say you 'I have searched everything about this question on xda, on google and I know I am a noob on xda..'
My company gave me a galaxy tab 10.1 and It has an android 3.2 but It is limited. Please don't ask why because It is limited
If I root it, I will not use in my company because my company have a big screen (50 inch) and my tablet cannot connect. But I want to use a normal android on my tab.
So I've thinked and I decided to use my tablet wit 2 OS. one is normal android one is limited android. So how can I install a normal android without don't remowe , don't damage limited android.
I'm sory for my English because my english is not well enough..
dmrc1143 said:
Hello guys, I have a question about my galaxy tab but firstly I must say you 'I have searched everything about this question on xda, on google and I know I am a noob on xda..'
My company gave me a galaxy tab 10.1 and It has an android 3.2 but It is limited. Please don't ask why because It is limited
If I root it, I will not use in my company because my company have a big screen (50 inch) and my tablet cannot connect. But I want to use a normal android on my tab.
So I've thinked and I decided to use my tablet wit 2 OS. one is normal android one is limited android. So how can I install a normal android without don't remowe , don't damage limited android.
I'm sory for my English because my english is not well enough..
Click to expand...
Click to collapse
Someone can feel free to correct me if Im wrong but... I dont believe it is possible to Dual Boot on the GTAB 10.1... At least not at this time. Maybe in the future...
But i heard my friend, his friends friend has done it and he has had 2 OS now..
And, why do you think like that?
dmrc1143 said:
But i heard my friend, his friends friend has done it and he has had 2 OS now..
And, why do you think like that?
Click to expand...
Click to collapse
Well firstly... If your friends, friends, friend did it then why not ask him / her how to do it?
Secondly, I BELIEVE that in order to "dual boot" the device you would need to do so from an SD card and the GTAB does not have an sd card slot.
Thirdly, IF it was possible to do then there would be HUNDREDS of threads here on XDA about it already.
I wish I can ask him.. But at that moment I can't.
And yes i think you are right but I am looking for a little probability. As a result this is a machine and I think people can control it
any idea?
-------
edit:
And galaxy sII has dual boot (I found a link but I can't send because I'm noob and haven't got 8 posts. But I wrote it 'reson for editing')
Both of them have got arm cortex process. Just Gtab hasn't got a sd card. only Is it a problem?
dmrc1143 said:
I wish I can ask him.. But at that moment I can't.
And yes i think you are right but I am looking for a little probability. As a result this is a machine and I think people can control it
any idea?
-------
edit:
And galaxy sII has dual boot (I found a link but I can't send because I'm noob and haven't got 8 posts. But I wrote it 'reson for editing')
Both of them have got arm cortex process. Just Gtab hasn't got a sd card. only Is it a problem?
Click to expand...
Click to collapse
Really, if the device was issued to you by your company it's not really yours to putz around with. Not to be a party pooper, but why not just get your own device to destroy?
burhanistan said:
Really, if the device was issued to you by your company it's not really yours to putz around with. Not to be a party pooper, but why not just get your own device to destroy?
Click to expand...
Click to collapse
Oh my dude, I'm bored from listening this words. Everbody say something like that. But My question isn't about this. I know how can I use my tab. I know what do I want. Just I need your help about dual booting. Just...
Quote:"where there is a shell, there will always be a way!"
To begin with, dual booting is real fun a developer wish to enjoy on his device(not for end users).
>the default bootloader isnt mean to do dual boot. We need a super talented and flexible boot LOADER. Something like this : http://wiki.meego.com/ARM/N900/Install/U-Boot_from_scratch that is universal-boot-loader http://sourceforge.net/projects/u-boot/
>then, we should partition internal flash into required number of partitions(for swap, rootfs etc etc)(no sdcard here)
>then simple, place an Os into an extra partition and say u-boot to load kernel and rootFs from there directly based upon user choice.
==? Can be this be done by anyone here? Bcoz I have less practical experience with smartphones/tablets
Ofcourse, nothing is impossible to god.. koushik dutta is of that kind. He can add this functionality to his amazing cwm recovery . Should show some mercy on galaxy tab 10.1 on his free time
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
t%20g said:
Quote:"where there is a shell, there will always be a way!"
To begin with, dual booting is real fun a developer wish to enjoy on his device(not for end users).
>the default bootloader isnt mean to do dual boot. We need a super talented and flexible boot LOADER. Something like this : wiki.meego.com/ARM/N900/Install/U-Boot_from_scratch that is universal-boot-loader sourceforge.net/projects/u-boot/
>then, we should partition internal flash into required number of partitions(for swap, rootfs etc etc)(no sdcard here)
>then simple, place an Os into an extra partition and say u-boot to load kernel and rootFs from there directly based upon user choice.
==? Can be this be done by anyone here? Bcoz I have less practical experience with smartphones/tablets
Ofcourse, nothing is impossible to god.. koushik dutta is of that kind. He can add this functionality to his amazing cwm recovery . Should show some mercy on galaxy tab 10.1 on his free time
Click to expand...
Click to collapse
Oh my dude, thanks alot again again and again
Yes you are right.. But do you have an idea how can I flash a difference bootloader to my gtab and how can I divide (partition) my internal sd card (in gtab) without damage my OS in gtab..
lufc said:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Click to expand...
Click to collapse
I'm sory.. I don't understand Q&A is a forum that I need..
Download "switchme" from the market and give it a try. That's your only option. It's still beta, so don't expect much right now.
BTW- if you don't own it, I strongly suggest you don't mess with your tablet, especially if you don't know enough to find this stuff on your own. Also, you better do a lot of reading before you mess with it; somehow I get the feeling you'll be back here in a day or two complaining that your tablet isn't working anymore...
Some tablets support this without SD card
For example the Archos IT tablets support dual boot, namely one in 'normal' mode, and one in 'developers mode', but what I've seen until now it looks like SGT does not work that way.
okey and I have a problem too..
I couldn't flash any cwm version to my tab with odin (already my tab doesn't work like a flash bellek even in download mode).
for ex.: with a cwm.tar.md5 I have this error: Invalid binary signature
t%20g said:
Quote:"where there is a shell, there will always be a way!"
To begin with, dual booting is real fun a developer wish to enjoy on his device(not for end users).
>the default bootloader isnt mean to do dual boot. We need a super talented and flexible boot LOADER. Something like this : http://wiki.meego.com/ARM/N900/Install/U-Boot_from_scratch that is universal-boot-loader http://sourceforge.net/projects/u-boot/
>then, we should partition internal flash into required number of partitions(for swap, rootfs etc etc)(no sdcard here)
>then simple, place an Os into an extra partition and say u-boot to load kernel and rootFs from there directly based upon user choice.
==? Can be this be done by anyone here? Bcoz I have less practical experience with smartphones/tablets
Ofcourse, nothing is impossible to god.. koushik dutta is of that kind. He can add this functionality to his amazing cwm recovery . Should show some mercy on galaxy tab 10.1 on his free time
Click to expand...
Click to collapse
Koush having free time? Good luck with that.
Although, I've seen generous donations help people create free time for some developers. I don't know if it would help in this issue. I wouldn't expect anything in return for a donation of any size though. Otherwise it wouldn't be called a donation but payment for services.
Sent from my GT-P7510 using XDA Premium HD app
I don't understand how can I install cwm to my tab via odin. And I don't understand why my tab (in download mode) is invisible for my comp. I can't see it. Only I can see it like a internet modem not like a flashdisk.. what is the reason? any idea?
dmrc1143 said:
I don't understand how can I install cwm to my tab via odin. And I don't understand why my tab (in download mode) is invisible for my comp. I can't see it. Only I can see it like a internet modem not like a flashdisk.. what is the reason? any idea?
Click to expand...
Click to collapse
You need drivers from the Samsung site.
...And a lot of reading before you get into something advanced. Makes me wonder if you really are ready to brick that company tablet you have there. It would be a ssssssssssssssssshame (Minecraft reference)
Just I want to install cwm to my tab. I don't care what will the result be.. And I've downloaded drivers for my pc more than 1 times..
dmrc1143 said:
Just I want to install cwm to my tab. I don't care what will the result be.. And I've downloaded drivers for my pc more than 1 times..
Click to expand...
Click to collapse
Download Mode.
Flash as PDA.
The whole Development section is full of guides. I really don't need to be pasting it here
Thanks a lot but I did it. And I had this message 'invalid binary signature'
What is the wrong? What is the problem?? I asked a lot of people this quest, but I didn't get any answer
dmrc1143 said:
Thanks a lot but I did it. And I had this message 'invalid binary signature'
What is the wrong? What is the problem?? I asked a lot of people this quest, but I didn't get any answer
Click to expand...
Click to collapse
First time to encounter that, When did you get that error? Probably a checksum

[Q] Development for Tizzbird N1 ?

Hi! So I'm wondering if anyone know if there is\have been any development for
the Tizzbird Stick N1 (M\G) ?
We have this Android-stick in stock at my store, but I'm not sure if I'm going to get it or not yet. Depends the development, as I'd really like to see the capabilities for it. I believe it's a lowbrand tho. so I might be out of luck.
Anyone know anything?
I searched the forums, and did a google search. Didnt find much.
regards,
Dag M.
Hi there!
I own one of those, and there are a handful of (german-speaking) people activly posting in this forum http://forum.tizzbird-tv.de/ about the Tizzbird N1. - The problem with that forum is that they heavily censor it - as soon as anyone posts info on how to "get in", or if someone asks uncomfortable questions - those posts gets deleted.
They sell it really cheap for 30€ (not all the time, but twice for one day @ redcoon) and although the Wifi-Chip (or the drivers for it) are really crappy, the media player part is really nice.
update: I've did a little research, and here is a little list of relevant links about the tizzbird n1:
==== Marketing Product Pages ====
http://valueplus.co.kr/english/product/product_player_n1.html
http://www.tizzbird.com/eng/index.php?mm_code=719&sm_code=755
http://tizzbird-tv.de/tizzbird/tizzbird-n1.html
==== Official Firmware ====
http://www.tizzbird.com/eng/index.php?mm_code=726&sm_code=727&board_search_head_word=stick+n1
http://download.tizzbird-tv.de/TizzBird_N1G_update_GMS_V3_20_13072719.tzbird
==== German Support Forum (posting info about root-access prohibited) ====
http://forum.tizzbird-tv.de/viewforum.php?f=11
==== GPL-Code for Tizzbird N10, N20 & N30 - but not for N1? ====
http://www.tizzbird.com/eng/index.php?mm_code=752&sm_code=754
==== Kernel Sources ? ====
http://www.cnx-software.com/2012/03...k-n1-android-ics-hdmiusb-dongle-media-player/
http://www.cnx-software.com/2012/07...hips-tcc8925-mini-pcs-cx-01-z900-tizzbird-n1/
https://github.com/cnxsoft/telechips-linux
Yeah, the pretend to be "community friendly and supportive" but once you actually start digging in, they get quite agressive and boot you out.
Anyways, I got a N1 a couple of days myself now (snagged it for 30 bucks at another RedCoon sale ) and I am surprised.
Got it pretty much only to tinker around with it and this thing suits more perfectly for that than I imagined.
Esp. that fact they used a simple SD card as "internal flash storage" - my guess is because a simple SD is cheaper than an actual eMMC flash chip, but it's so cool on so many levels for us.
I already found out how to replace the 4GB SD with a bigger one (have a 16GB in mine ATM).
I'll post some more details about it here later, got a few things I want to test and/or prepare first (thinking of some "easy to use cloning script"), but long story short:
You need to copy the bootloader to the very end (last few blocks) of the SD you want to use.
Once the BL is at the proper place it already boots from the new SD again, to be sure everything is as it's supposed to be one should apply an update via USB (I'm not 100% sure about a possible pointer to the BL that needs to be corrected, which the update does).
After that the partition information has to be edited to make the userdata partition larger and you're done.
thanks for the info HellcatDroid!
It would be great if you could elaborate on how to put the bootloader at the end of the sd-card.
Also I would love to get info how to get root into the stock firmware, that crippled down root-firmware that they allow to exist in the official tizzbird forum doesn't really satisfy my needs
I did it via a hex editor, but it should be doable with a few "dd" commands as well - that's one of the things I still want to try, find the propper dd params to copy the BL over.
If you dumped the original SD into a file using dd, at the very end of the image file you will find the bootloader and the very last block of the SD is a "header" telling the bootrom of the N1 a few things about it, so it can properly locate and load it.
So what you got to do is to copy those last ~230k from the image to the end of the new SD card.
As said, I'll try to write a small shell script that does it.
The rooting is even more easy (Stonecold would kill me if he'd read this, lol):
For when running on Linux (no can do on Windows, as Windows doesn't know the ext4 FS):
Since you got the SD in your PC anyways already, just mount partition 2 (e.g. if the SD is sdc on your PC, mount /dev/sdc2).
That is the partition where the Android system is sitting on.
Then just copy over the files needed for root to where they need to go, chown/chmod them properly, unmount and done
I used the "update-supersu.zip" I had for my Nexus7 to grab the required files.
But I'm planning to make a simple rooting script as well.
So if all goes as planned it'll come down to
- insert original SD
- run script 1
- insert new SD
- run script 2
- to root run script 3
brilliant! I would love to see those scripts
way easier than start tinkering with that stuff myself
One thing I wonder about - over at the official forum you said that a simple dd copy didn't work - is that if the target sd-card is bigger or also for an sd-card of equals size? because with equal size simple dd copy of the sd-card should still work, even if some things need so be exactly at the end.
Yup, just a dd didn't work because the new SD card was larger and the bootloader ended up being somewhere in the middle of the card instead of at the end.
While your thought of "dd to equal size cards" is totally correct, it might still fail due to the fact every card is not 100% exact same size counting down to last byte.
There ususally is a tiny size difference (a few bytes to kbytes) between cards, even if they are supposed to be same, so the bootloader might end up truncated or not exactely at the end.
If, however, the size of the cards is 100% the same, down to the last byte, then yes, a simple dd clone would work.
HellcatDroid said:
... There ususally is a tiny size difference (a few bytes to kbytes) between cards, even if they are supposed to be same, so the bootloader might end up truncated or not exactely at the end. ...
Click to expand...
Click to collapse
Oh! Didn't know that. I thought same marketing size means not the same size they write on the box, but at least the same size between those that are marketed with the same GB numbers on their stickers.
OK, here we go, I slapped together a few scripts for prepping a new (and larger) SD card to work in the N1 and while having the SD in the PC to aplly some root.
* hints at attachment of this post
The scripts might still have problems and not work on any Linux out there, but it's a start.
If there's more people interested and joining in on this I might continue but for now I got what I wanted - more storage and root.
Hi
I think I destroyed my MiniSC cand! The N1 is dead. I tried to insert the card in a linux and gparted did not see anything. What can I do?
thank you for your help
somade said:
Hi
I think I destroyed my MiniSC cand! The N1 is dead. I tried to insert the card in a linux and gparted did not see anything. What can I do?
thank you for your help
Click to expand...
Click to collapse
Could you post how you got there? what did you do to the sd-card that destroyed it?
Hi.
If you got a dump from a working state of the SD you can just dd it back onto the card.
If you don't, it can still be recovered but might need bit more work.
Two options:
find someone who gives you a dump of their card and use the write-card script from my above post to write it to your SD.
Problem with this: a working dump contains copyrighted code, like the bootloader, it technically it's "not OK" to share it
we come up with another script that only contains an "empty" image (i.e. only partitioning information) and that takes the bootloader and recovery from the official update and gets the card into a state that it boots into recovery and lets you install a working system using the official update from USB (option in the recovery menu)
Option 2 would be nicer, IMO.
I'll try to make up said script
Thank you for your immediate answer!.
Actually I dont know what has happened, maybe the sharp instrument I used to remove the plastic cover scratch it...But now when I put it in a card reader the led of the reader switch off and the card is heated!!!. And also when I put it in the N1 the blue led turns off!.
So I bought a new empty micro Sd .
Waiting for your script to partition the new card and then boot in recovery mode and install a firmware....
Because I am not expert to linux please give me a lot of details how to do this.
Thanks again!
HellcatDroid said:
we come up with another script that only contains an "empty" image (i.e. only partitioning information) and that takes the bootloader and recovery from the official update and gets the card into a state that it boots into recovery and lets you install a working system using the official update from USB (option in the recovery menu
Click to expand...
Click to collapse
Do you think the bootloader is even part of the offical updates? wouldn't it be "best practice" to leave the bootloader partition alone as long as possible (and normally firmware updates don't need to change the bootloader)
update: something else I've just found, those might be kernel sources for our Tizzbird N1:
http://www.cnx-software.com/2012/07...hips-tcc8925-mini-pcs-cx-01-z900-tizzbird-n1/
-->
https://github.com/cnxsoft/telechips-linux
Yep, the bootloader is in the update - at least in the 3.20 one.
And yes, usually the bootloader shouldn't be touched because that's usually the one thing that can "perma-brick" Android devices.
However, sometimes the manufacturer updates it (fixing bugs, adding functionality) - on my Nexus7 they updated the bootloader on pretty much every update and also Samsung updates their bootloaders every now and then (and every single update flashes the current one).
Last, not least, on the N1 the bootloader isn't on a partition but at unpartitioned space at the very last blocks of the SD (=> reason for a simple dd to a larger card not booting).
Ohyay at the possible kernel sources!
It'd be so cool if that's really sources able to build a kernel for the N1 with - I think we might be able to even get custom recovery (CWM and the likes) on the N1 if those sources work
OK, while trying to recreate a working SD card w/o using a dump of a working one I found out a few more things - some of them still need figuring out if we wanna do it properly.
There seem to be TWO bootloaders!
A stage1 bootloader of ~1kB size located at the third and second last block of the SD. If it's missing the N1 can't boot and it looks like ARM code (haven't tried to disassamble it yet), I assume the bootrom loads and executes that piece of code which in turn parses the header (see below) and load/starts the stage2 bootloader (the one also found in the FW update).
The very last block of the SD is a "header block" with some information beeing parsed either by the bootrom or (more likely) the stage1 bootloader.
The headerblock contains (among numerous other unkown data) the size of the ("stage2") bootloader (the one that then actually loads and boots the Linux kernel of the Android OS, this is also the one contained in the FW update) and the usable size of the SD card! (everything works fine though if the SD size is wrong and a proper FW update updates the header during writing of the bootloader and also sets the correct size).
Also, the headerblock has a checksum of which I have no clue on how it is generated.
All that is just educated guesses and might be totally off, but for now it looks like it's not too far off.
So, for now we can assume the following boot sequence:
Boot-ROM
-> loads stage1 bootloader from fixed position "SDsize - 3 blocks" (1 block = 512bytes)
stage1 bootloader at fixed position on SD
-> checks checksum of headerblock (?), gets size of stage2 bootloader from headerblock, locates stage2 bootloader based on it's size and loads/executes it
stage2 bootloader on variable position on SD
-> base initialisation of hardware
-> checks for recovery trigger (the red button on the remote control) and boots kernel from partition 6 if trigger present
-> boots kernel from partition 1 if recovery was not triggered
-> enters fastboot mode when booting the kernel fails
Kernel
-> loads base drivers and boots up the system
you're brilliant Hellcat!
And did you also find both bootloader stages inside the firmware updates?
Another question that came to my mind while reading your post (fastboot..)
Is there a way to use the Tizzbird as USB-slave? So to make use of adb and fastboot and such stuff? Okey adb could also be used via network I guess..
somade said:
Hi
I think I destroyed my MiniSC cand! The N1 is dead. I tried to insert the card in a linux and gparted did not see anything. What can I do?
thank you for your help
Click to expand...
Click to collapse
Somade, do you have a linux running on your pc? If no, download and get a knoppix running. and then contact me via pm. I have the original n1 image so no problem to recover the n1.
sebastian.heyn said:
Somade, do you have a linux running on your pc? If no, download and get a knoppix running. and then contact me via pm. I have the original n1 image so no problem to recover the n1.
Click to expand...
Click to collapse
Welcome to our rouge and non-censored Tizzbird N1 forum Sebastian!
I wonder if you found us here, if the German Tizzbird support also already knows about us
update: I just remembered, I've sent you the link as PM over in the official forums, thats how you landed here.
Sharing your sd-card image might be a copyright violation, and if you're profile name is strongly linked to you're real identity you should definitly be cautious with such things on public forums...
kaefert said:
And did you also find both bootloader stages inside the firmware updates?
Click to expand...
Click to collapse
Nope, unfortunately the stage1 bootloader is not in the update :-/
kaefert said:
Is there a way to use the Tizzbird as USB-slave? So to make use of adb and fastboot and such stuff? Okey adb could also be used via network I guess..
Click to expand...
Click to collapse
Yeah, it works, even officially XD
Go to the TizzBird settings -> "System Settings" -> "Advanced Settings"
It has an option "OTG Mode" there, set it to "Debug".
If you have your N1 connected to your PC via the micro-USB port (and hence your PC powering the N1!) you can use ADB and fastboot just as usual
I have not yet tried if that option is persistant, i.e. it survives a power loss.
When booting the kernel fails it should fall back to fastboot mode, so flashing a new kernel w/o pulling the SD should be possible - need to test this a bit more, though.
What works is, if you're rooted and and you fire the command "reboot bootloader" from a root shell, that gets you into fastboot mode no matter what (given you applied above mentioned setting first).
But needing a running system to get into fastboot mode kinda defeats the purpose of it - this aint Ouya which is a total fail when it comes to fastboot XD
---------- Post added at 09:26 AM ---------- Previous post was at 09:05 AM ----------
kaefert said:
I wonder if you found us here, if the German Tizzbird support also already knows about us
Click to expand...
Click to collapse
Eventually they will, I'd say.
And I'd love to see their faces when they do XD

Categories

Resources