|
|
Customer-Rom für X2G
verfasst am 31.12.2010 17:10:59
Hallo Gemeinde Nach aufwärmen meiner Unix Kenntnisse habe ich vor, für das X2G ein Customer - Rom zu kreieren. Genauer gesagt den Systembereich. Mit SU und der App Superuser, und nem rootexplorer (OpenSource). Habt ihr noch Vorschläge, was noch mit rein soll? Gruss Wolfgang
|
|
|
RE: Customer-Rom für X2G
verfasst am 01.01.2011 11:35:28
Hallo Wolfgang,
Meine zusätzlichen Vorschläge währen:
APP2SD+ und ein VPN-Client
Ich habe mal versucht die system_ubi.img zu mounten, ohne Erfolg. Wie bekommt man die unter Ubuntu gemountet?
kawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 01.01.2011 11:56:28
prima darauf habe ich gewartet. ist es dir evtl. möglich speicher frei zu bekommen? weiterhin wäre ein rom mit google und installierten market zugang von vorteil, da eingekocht es sicher besser ist als nachträglich installiert.
gruß
|
|
|
RE: Customer-Rom für X2G
verfasst am 01.01.2011 13:12:56
— geändert am 01.01.2011 13:16:02
Hallo, ein sshd wäre nicht schlecht. Dann wäre ein Netzwerkzugriff ohne USB-Kabel möglich. Ich habe versucht dropbear zu installieren: http://www.droidforums.net/forum/droid-hacks/9038-ssh-daemon-dropbear-android-2-0-a.htmldropbear -help gibt die Optionen aus, d.h. das Programm würde laufen und dropbear -a -p etc startet zwar, wird aber sofort ohne Kommentar beendet. Leider habe ich bisher noch keine Logeinträge gefunden, warum das nicht geht. viele Grüße und ein frohes Neues Jahr, Arthur Nachtrag: Das im dropbear-Paket mitgelieferte ssh funktioniert. Vom Touchlet aus komme ich per ssh auf andere Rechner.
|
|
|
RE: Customer-Rom für X2G
verfasst am 01.01.2011 15:30:35 (über AndroidPIT-App)
Was für mich am wichtigsten wäre:
- App2SD+ - Nand Backup - AdFree - Google Apps mit dabei
Hab aber nicht den geringsten Peil wie schwer das umzusetzen ist.
|
|
|
RE: Customer-Rom für X2G
verfasst am 01.01.2011 18:35:20
Arthur Block Hallo, ein sshd wäre nicht schlecht. Dann wäre ein Netzwerkzugriff ohne USB-Kabel möglich.
quicksshd, basiert auf Dropbear, läuft bei mir tadellos in der Version 2.0.3 Schöne Grüße, Totti
|
|
|
RE: Customer-Rom für X2G
verfasst am 02.01.2011 16:02:46
Ich hab mal eine Kopie vom Flash-Speicher gemacht. Komischerweise kann ich die gesicherten img-Dateien mit keinem der gängigen tools aufmachen. uyaffs, aber auch die perl-scripte melden immer Fehler. Hat schon jemand eine Kopie vom system.img öffnen können? Auch die von PEARL angebotenen Systemdateien bekomme ich, trotz unter Ubuntu 10.10 installierter UBI-Unterstützung nicht auf. Und kann mir einer diese Aufteilung des ROM erklären? 1# cat /proc/mtd 2cat /proc/mtd 3dev: size erasesize name 4mtd0: 00a00000 00080000 "resereved" 5mtd1: 00380000 00080000 "Kernel" 6mtd2: 00400000 00080000 "Kernel_recovery" 7mtd3: 07680000 00080000 "System" 8mtd4: 13800000 00080000 "Userdata" 9mtd5: 61800000 00080000 "MassStorage1" 10mtd6: 02800000 00080000 "MRVL_BBM" 11#
kawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 03.01.2011 17:10:47 (über AndroidPIT-App)
ja die ubi image dateien konnte ich auch nicht oeffnen. Bis jetzt noch mit keinem tool. versuche aber am ball zu bleiben. gebe noch nicht auf. Wahrscheinlich sind die dateien verschluesselt.
|
|
|
RE: Customer-Rom für X2G
verfasst am 03.01.2011 20:00:50
wolfgang bergner ja die ubi image dateien konnte ich auch nicht oeffnen. Bis jetzt noch mit keinem tool. versuche aber am ball zu bleiben. gebe noch nicht auf. Wahrscheinlich sind die dateien verschluesselt. Verschlüsselt glaub ich nicht, in den Dateien ist Klartext. Ich komme nur nicht so richtig mit der Einbindung des ubifs in mein Ubuntu klar. http://osl.sed.hu/wiki/ubifs/index.php/Download_the_sourcekawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 04.01.2011 07:09:07
Ich habe schon mehrere foren durchforstet und komme auch nicht weiter. Bis jetzt konnte ich auch nicht mounten.suche weter. Hat noch einer ne idee? Gibt es hier nen android profi? Gruss wolfgang
|
|
|
RE: Customer-Rom für X2G
verfasst am 06.01.2011 04:06:15
Ich bin ein Stück weiter, Ich wollte die UBI-Unterstützung selber compilieren, aber Ubuntu 10.10 hat die ubi-utils als kernelmodule enthalten. Jetziger Stand: UBI-Image mit Ubunu erstellt, dieses gemountet , eine Datei reingelegt, dann ausgehängt und als Image gespeichert. (Alles noch ohne X2G) 1gert-ubuntu:~# modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 2gert-ubuntu:~# cat /proc/mtd 3dev: size erasesize name 4mtd0: 10000000 00020000 "NAND simulator partition 0" 5gert-ubuntu:~# mknod /dev/mtd0 c 90 0 6mknod: „/dev/mtd0“: File exists 7gert-ubuntu:~# modprobe ubi mtd=0 8gert-ubuntu:~# ubimkvol /dev/ubi0 -N myvolume -s 200MiB 9Volume ID 0, size 1626 LEBs (209793024 bytes, 200.1 Mi  , LEB size 129024 bytes (126.0 Ki  , dynamic, name "myvolume", alignment 1 10gert-ubuntu:~# cat /proc/mtd 11dev: size erasesize name 12mtd0: 10000000 00020000 "NAND simulator partition 0" 13gert-ubuntu:~# mount -t ubifs ubi0:myvolume /mnt/ubifs 14gert-ubuntu:~# cp /root/testfile.txt /mnt/ubifs 15gert-ubuntu:~# mkfs.ubifs -r /mnt/ubifs -m 2048 -e 129024 -c 2047 -o ubifs.img 1617#### Das Imagefile will eine config-Datei haben. 18gert-ubuntu:~# cat ubinize.cfg 19[ubifs] 20mode=ubi 21image=ubifs.img 22vol_id=0 23vol_size=200MiB 24vol_type=dynamic 25vol_name=myvolume 26vol_flags=autoresize 272829##### hier wird aus dem UBI-Image eine verwendbare img-Datei 30gert-ubuntu:~# ubinize -o ubi.img -m 2048 -p 128KiB -s 512 ubinize.cfg 3132#### ubifs aushängen 33gert-ubuntu:~# umount /mnt/ubifs 34#### die module entladen 35gert-ubuntu:~# rmmod ubifs ubi nandsim 36gert-ubuntu:~# So jetzt habe ich eine mountfähige ubi.img, gleich mal probieren ob sie auch gemountet werden kann? 1#### nandsim wird als modul geladen 2gert-ubuntu:~# modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 34gert-ubuntu:~# mknod /dev/mtd0 c 90 0 5#### im Emulator wird ein node (mtd0) erzeugt 67#### Die ubi.img wird mit dd in das mtd-System geladen 8gert-ubuntu:~# dd if=ubi.img of=/dev/mtd0 bs=2048 91024+0 Datensätze ein 101024+0 Datensätze aus 112097152 Bytes (2,1 M  kopiert, 0,0165314 s, 127 MB/s 1213#### ubi-Modul wird geladen 14gert-ubuntu:~# modprobe ubi mtd=0 1516#### so jetzt mounten 17gert-ubuntu:~# mount -t ubifs ubi0:myvolume /mnt/ubifs 18gert-ubuntu:~# Leider funktioniert das mounten der system_ubi.img noch nicht. Ich denke da muss ich mich noch etwas einlesen. kawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 06.01.2011 14:56:10 (über AndroidPIT-App)
das sieht ja schon vielversprechent aus. Ich habs erstmal aufgegeben, meine Programmier und Linux Kenntnisse sind dafür schon zu verstaubt. Mich würd aber doch interessieren, ob man den Speicher nicht besser aufteilen kann, und eine swap wäre vielleicht hilfreich.
-----
Wer nach einer Antwort sucht, wird niemals aufhören, zu fragen
|
|
|
RE: Customer-Rom für X2G
verfasst am 06.01.2011 15:12:31
Hi, kann da vielleicht noch die Facebook App mit rein? Bzw. ich bräuchte nochmal einen Link auf die APK Datei, finde das im Market nicht. Danke!
|
|
|
RE: Customer-Rom für X2G
verfasst am 10.01.2011 14:00:32
Hallo Wolfgang,
nach dem was ich so auf dem Gerät gesehen habe würde ich eine Standard Google Rom nehmen und diese weitestgehend anpassen, sodass Dinge wie Google-Apps und Flash verfügbar sind. Wer weiß wie lange die Chinesen noch brauchen bis eine anständige Firmware verfügbar ist. Eventuell kann man sogar versuchen Android 3 zu portieren, immerhin ist das Tabletoptimiert.
|
|
|
RE: Customer-Rom für X2G
verfasst am 11.01.2011 00:20:56
— geändert am 11.01.2011 00:21:10
Hallo Experten,
Wie siehts aus? kann man das schaffen mit den Custom Roms/Google Roms , bzw 2.2/3 oder 3.0?? Die CR sind mein Kaufargument fürs X2G :-)
|
|
|
RE: Customer-Rom für X2G
verfasst am 17.01.2011 19:12:37
Hello fellow people who own this tablet. I have been cooking roms in the past for android devices but this is my first attempt to cook for a device with ubifs and have hit quite some troubles mounting the images. I have been using the tutorial here : http://www.slatedroid.com/index.php?topic=4032.0 but that didn't work. I have been looking more around and found the possible problem might lie with subpage. Here is what i found : http://www.linux-mtd.infradead.org/f...ge_verify_failgo down to : Why does ubiattach on a freshly formatted device fail with "Invalid argument"? and to : How do I force UBI to ignore sub-pages?" I can't test this solution till Friday as I'm quite busy. Maybe one of you gives it a spin and let's me know.
|
|
|
RE: Customer-Rom für X2G
verfasst am 17.01.2011 21:26:19
Ich denke, mindestens zwei Varianten wären gut. Eine, di emöglichst "nackt" kommt, sprich, nur das nötigste dabei hat und alle APKs als Archiv mitbringt, und eine, die alles vorinstalliert hat. Der Grund liegt darin, dass ich bei Compilations meist die Hälfte nicht brauchen und auch nicht deinstallieren kann, sprich, ich hätte gerne eine Version, die möglichst blank daherkommt. Andere hätten sicherlich gerne eine vollständige, gleich benutzbare Version.
Gruß, Tolan
|
|
|
RE: Customer-Rom für X2G
verfasst am 18.01.2011 02:56:51
MrJ Hallo Experten,
Wie siehts aus? kann man das schaffen mit den Custom Roms/Google Roms , bzw 2.2/3 oder 3.0?? Die CR sind mein Kaufargument fürs X2G :-) 2.2.1 ist drauf. 2.3 wird schwierig, 3.0 können wir bei der verbauten Hardware vergessen. kawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 18.01.2011 03:09:35
Alexandru Stoian Hello fellow people who own this tablet. I have been cooking roms in the past for android devices but this is my first attempt to cook for a device with ubifs and have hit quite some troubles mounting the images. I have been using the tutorial here : http://www.slatedroid.com/index.php?topic=4032.0 but that didn't work. I have been looking more around and found the possible problem might lie with subpage. Here is what i found : http://www.linux-mtd.infradead.org/f...ge_verify_failgo down to : Why does ubiattach on a freshly formatted device fail with "Invalid argument"? and to : How do I force UBI to ignore sub-pages?" I can't test this solution till Friday as I'm quite busy. Maybe one of you gives it a spin and let's me know. I have the same problem. 1ubiattach /dev/ubi_ctrl -m 0 2ubiattach: error!: cannot attach mtd0 3 error 22 (Invalid argument)
and when I try: 1gertm# modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 2gertm# dd if=system_ubi.img of=/dev/mtd0 bs=2048 339936+0 Datensätze ein 439936+0 Datensätze aus 581788928 Bytes (82 M  kopiert, 0,354321 s, 231 MB/s 6gertm# modprobe ubi mtd=0 7FATAL: Error inserting ubi (/lib/modules/2.6.32-27-generic/kernel/drivers/mtd/ubi/ubi.ko): Invalid argument I found this on the net: 1# "system" partition: begin=0x700000 size=0x6000000 (96M 23# size of PEB:0x20000 (128K 45# size of LEB:0x1F000 (124KB 126976) 67# -m <page size>: 2KiB 89# -e <size of LEB>: 124KB 1011# -c <max number of LEB>: Number-of-PEB=0x6000000/0x20000=0x300, 10 blocks are reserved for bad block handling, so 1213# Number-of-LEB=0x300 - 0xA=0x2f6(or 75 1415# vol_size= Number-of-LEB * size-of-LEB=0x2f6 * 0x1F000 = 0x5BCA000 (or 9624780 1617# LEB = 1819创建system_ubinize.cfg文件的内容如下: 2021[rootfs-volume] 2223mode=ubi 2425image=system_ubifs_tmp.img 2627vol_id=0 2829vol_size=96247808 3031vol_type=dynamic 3233vol_name=system 3435mkfs.ubifs -x lzo -m $page_size_in_bytes -e $logical_erase_block_size -c $patition_logical_blocks -o rootfs_ubifs_tmp.img -d $path_to_rootfs 3637ubinize -o $img_name -m $page_size_in_bytes -p $block_size -s $page_size_in_bytes $config_file 3839mkfs.ubifs -x lzo -m 2KiB -e 126976 -c 758 -o system_ubifs_tmp.img -d system/ 4041ubinize -o system_ubi.img -m 2KiB -p 128KiB -s 2KiB system_ubinize.cfg 4243rm system_ubifs_tmp.img 4445tftp 0x1000000 system_ubi.img 4647nand erase 0x700000 0x6000000 4849nand write 0x1000000 0x700000 0x<size of system_ubi.img> 5051假设Kernel启动时分区信息如下: 5253[ 0.801175] Creating 2 MTD partitions on "Samsung 2Gibx8": 5455[ 0.806665] 0x000000000000-0x000000100000 : "Bootloader" // 0 5657[ 0.813029] 0x000000100000-0x000010000000 : "MassStorage0" // 1 5859[ 0.820488] Detect a flash id d3ec, cs 1 6061[ 0.884278] Max capacity of BBM is 80 blocks!! 6263[ 0.888719] relocation table at page:127 6465[ 0.892661] The reloc table is empty now 6667[ 0.896585] Creating 6 MTD partitions on "Samsung 8Gibx8": 6869[ 0.902093] 0x000000000000-0x000000080000 : "resereved" // 2 7071[ 0.908085] 0x000000080000-0x000000400000 : "Kernel" // 3 7273[ 0.913827] 0x000000400000-0x000000800000 : "Kernel_recovery" // 4 7475[ 0.920298] 0x000000800000-0x000008800000 : "System" // 5 7677[ 0.926146] 0x000008800000-0x00001c000000 : "Userdata" // 6 7879[ 0.932310] 0x00001c000000-0x000040000000 : "MassStorage1" // 7 8081[ 0.000000] Kernel command line: ubi.mtd=5 ubi.mtd=6 root=ubi0_0 rootfstype=ubifs console=ttyS1,115200 mem=256M uart_dma pxastorage=1G The system_ubi.img is compressed in lzo. Maby this produce the error. I try on ubuntu 10.10 kawa
|
|
|
RE: Customer-Rom für X2G
verfasst am 18.01.2011 10:45:23
I think we need to decompress them first and I found out that u-boot has something to do with this. Ill be looking more into it.
|