[DEV] [BETA] Dynamic Multi Boot menu for Archos G9 HDD (+flash) - Gen9 Android Development

Thanks to sirduke989, since this work is a continued from his Multi Boot menu.
This new thread is only for developers or for beta testers (for now...)
To avoid cross posting, for more details, you can look at :
http://forum.xda-developers.com/showthread.php?t=1578438&page=4
1 WHAT IS DONE :
_Images can be stored on (and loaded from...) HDD
_Ability to flash a new kernel when switching images.
When you select an image, if the line in the menu is bright green you can load new image without flashing.
If the line in the menu is orange you'll probably have to flash before loading new image.
_We can start an alternate init after switch root.
_Retrieve kernel version from zImage file, and show version in the menu.(done Apr. 20, 2013)
I currently use it on my 80G9 1GB turbo HDD moded SSD, and everything seems to work!
2 TO DO LIST :
2-1 Tests to do :
First :
_Tests with 101G9 HDD 1GB RAM
_Tests with 80G9 and 101G9 HDD 512MB RAM
Later :
_Tests with 1GB and 512MB models without HDD.
I think should work on all 80G9 HDD or 101 G9 HDD with 1GB memory...
Since, when everything is loaded, we never use more than 100MB memory, it should work on 512MB models.
2-2 Improvements to do :
_Test if "stock firmware" is really present. If not, don't display in the menu. (thought solved, but not solved)
_Retrieve kernel version from zImage file, and show version in the menu.(solved Apr. 20, 2013)
_Display more than 10 lines in menu (AUI)
3 BUGS :
(bug Apr. 21, 2013)
While booting with a 3.0.21 linux kernel version : The image loads successfully from HDD,
but after switch root I see the HDD, but I'm unable to mount it in mnt/storage.
4 PARTICIPATING AND TESTING (Beta tests) :
Are you interested in participating and testing?
4-1 Participating :
If you are able to :
_Enable SDE and flash with new initramfs.cpio.lzo and zImage.
_Debug your tablet if you have a problem, and feedback useful informations
_Understand the content of source files (shell script)
I think you can participate.
4-2 Here is information if you are interested in testing :
If you accept to test, you have to know that this could be dangerous!
The initramfs seems safe, and I currently use it without any problem but I have to warn you anyway :
It potentially can definitively brick your tablet !
If you don't accept this risk, please don't participate !
We'll start with a limited number of beta testers at first.
If you are interested, please let me know in this thread.
For now only one or two testers per model for this models :
80G9 HDD 1GB RAM
101G9 HDD 1GB RAM
80G9 HDD 512MB RAM
101G9 HDD 512MB RAM
And if everything goes well, we will open the beta to more testers.
4-3 Test procedure :
I'll post the initrams.cpio.lzo individually to each beta tester.
Not to be redistributed or published! It's only a Beta tests version!
How to install :
_Through Developer Edition Menu ("Export Data Partition" menu and "Export Hard Disk" menu) create the following directories :
/data/local/backupUPD
/data/local/lastUPD
/data/local/tmp
/mnt/storage/imgboot
_copy in /data/local/backupUPD
The initramfs.cpio.lzo to be tested
A reliable and functionnal image with his compatible zImage
_create sub directories in /mnt/storage/imgboot
In each of these directories (max 7 for now) copy the image, initramfs and zImage you want to boot
_Go to Developer Edition Menu
Go to Flash Kernel an Initramfs
Use the initramfs.cpio.lzo to be tested and a zImage file compatible with one of the images in your imgboot
Flash kernel and restart

Hi,
Some improvements :
Thought Solved Apr. 17, 2013, but is not : Don't display stock kernel in menu if stock kernel was removed.
Solved Apr. 20, 2013 : Display kernel version.
Now :
Bright Green : Same size and same kernel version --> No need to flash
Dark Green : Size differs, but same kernel version --> Can work (We can choose to flash or to load without flashing)
Orange : Version differs --> We have to flash.!
Blue : No zImage file present or not applicable.
Not a real problem (for now...), but the size of initramfs.cpio.lzo, in growing : was 1.2MB, and now is 2MB :
This is because I upgraded ABCBOX version, and implemented the command "STRINGS". (This command was not available in BUSYBOX...).

Hi,
(bug Apr. 21, 2013) : (Only with 3.0.21 linux kernel!!)
While booting with a 3.0.21 linux kernel version : The image loads successfully from HDD,
After switch root, everything seems to work, but unable to mount HDD in /mnt/storage.

Hi,
Some improvements :
_Fastest while loading and shuting-down
_New options in menu.
_Seems to work on HDD and non-HDD tablets withs 1GB memory, (but more tests to do!).
To do :
_We have big compatibility problems between multiboot on non HDD tablets and paranoid... Trying to solve, complementary tests required!
_Tests with 512 MB memory tablets.
Solved :
_Problem while mounting HDD with a 3.0.21 linux kernel!
Thanks a lot to freezenook for helping and testing on a A80S... (See attachment A80S_1)

Nice will wait for a non HDD Version.:good:

2WildFirE said:
Nice will wait for a non HDD Version.:good:
Click to expand...
Click to collapse
On Archos 80G9 Turbo 2012 FS it works well.
Please wait open beta test.
Sent from my GT-I9100 using xda app-developers app

I have a archos 101 g9 1GB memory and 250 gb hdd, would like to test, you can?
With this mode you can install more applications beyond the memory capacity of the tablet 1 gb.
thank you

seno1963 said:
I have a archos 101 g9 1GB memory and 250 gb hdd, would like to test, you can?
With this mode you can install more applications beyond the memory capacity of the tablet 1 gb.
thank you
Click to expand...
Click to collapse
Same problem. Any solution??

Related

[OtherOS] [Gentoo] [Native] SGT-OtherOS for Enthusiasts (GT-P7510)

Want to run an alternate OS on your SGT? Perhaps use it as a Linux Server? Or want to help develop? You may be interested in this 'ROM'.
Lame Video Demo: SGT-OtherOS Gentoo Milestone 1 (m1) Demo Boot GT-P7510 - YouTube
Quick Touchscreen Demo Video: SGT-OtherOS zefie kernel touchscreen driver usability demo - YouTube
(Please watch in 720p HD Full Screen! You will be able to read the screen then.)
SGT-OtherOS Gentoo armv7l vfpv3-d16 for GT-7510
Warning!
Do NOT attempt to flash this on any other SGT besides the GT-7510. DO NOT FLASH on the 3G and LTE models!
This has not been tested on models with mobile radio, which usually have a different partition map, and more locked down (aka easier to brick) secure bootloader. You have been warned!
This is not ready for production use. This is an enthusiasts' OS.
Just a note, flashing these partititons (then subsequently wiping /system with mkswap) is not as harmful as it may sound. I have successfully flashed back to Stock with Odin to test this before posting it.
Features:
Based off of TABUNTU Project
OpenRC Gentoo System
CWM v5.5.0.4 recovery for flashing Kernel Updates, or accessing ADB to debug (OtherOS is under /data/ in recovery)
Customized kernel with some driver updates, and all kernel modules (GitHub Source)
Imported pershoot modifications (Overclocking, USB Charging, ect)
Linux Shell (no gui yet)
Custom scripts
Uses /dev/mmcblk0p4 (/system) for compcache swap space
Current Hardware Status:
Basics (Display, NAND, RAM, CPU, yadda yadda)
Full USB and Charging
Battery Status
Wifi support (WEP)
Sound support including jack detection
Touchscreen (with Kernel Update m1-2012.03.24)
Known Issues:
The backlight does not turn off when linux power saving turns on
It is impossible to turn the device off while plugged into a charger (this is due to how the charging animation works. Unfortunately this may never work. /sbin/init on ramdisk is the key/reason)
Pressing CAPS-LOCK (or any other led-lighting key) on USB keyboard will kernel panic.
Kernel Updates:
m1-2012-03-24
Patched touchscreen driver to be evdev and tslib compatible
Anything not listed assumed not working
How to install
WARNING!
You will lose ALL CURRENT DATA stored on your tab, including /sdcard! I did not brick my tab doing this, but cannot guarantee anything for you. Try this as your own risk!
Each time you flash the kernel for OtherOS, your "Custom Binary" "Flash Count" flag in Odin increases. AFAIK, this just means your warranty is VOID, and has no ill effects on the tablet.
This is not dual boot and REPLACES Android, but it is easy to revert back. However, there will be no Android OS while OtherOS is installed!
Download SGT_OtherOS_Gentoo_m1.tar.7z
Flash via Odin
Root password is gentoo, change it.
The image has an auto-resizer, so when you flash data.img, it will auto-resize on first boot, and give you a 13gb partition for your OtherOS.
How to Restore Android
When you restore to Android via Odin, it leaves /data un-formatted. Because of this, there are a few extra steps to restore back Android completely.
Download p4_16G_32G.pit and an Odin stock dump of UEKMP
Flash them as you normally would to restore to stock.
Wait for reboot, you will get an error in the stock recovery app
When the menu appears, choose Wipe data/cache
Reboot and choose one of:
A. To go back to stock: Reflash the Odin tar without the .pit file this time
B. To go back to custom: Reflash CWM and either restore nandroid, or format /system and install a custom ROM.
Tips and Tricks:
Gentoo Knowledge
The use of this OS assumes you know how to use Gentoo on a Desktop PC. If not, or you would like a refresher, please read the Gentoo Handbook. Please read this prior to asking any non-SGT specific configuration questions. Please skip the "Installing Gentoo" section. I've got that covered for you
Accessing Clockwork MOD Recovery
You cannot 'reboot recovery' in linux. So, to access recovery, simply reboot. When the screen backlight turns off, hold VOL DOWN until you get the fastboot menu. It's that simple
Accessing your Gentoo install from Recovery
You can access the root partition of your Gentoo install in Clockwork Recovery. You can mount /data quickly by choosing 'Install from SD Card', 'Choose update.zip'. When CWM says 'no file found', /data is mounted.
Future Kernel Updates
As time passes, I may release a new kernel, with additional modules, features, scripts, or workarounds. These can be installed via CWM like an Android Update ZIP. While running Gentoo, update zips are stored in /media. While running recovery, updates are available under /data/media. Be sure to mount your Gentoo install as stated above before attempting to adb push any update zip files. You can also install kernel updates from the OtherOS environment using this script.
Future Update Possiblities
Right now I only have plans to update the kernel via CWM update.zip. OtherOS primary releases will likely be in Odin format. However, enthusiasts, or devs branching off into their own project may like to know that, since you have access to the entire root partition (ext4) via CWM, you can basically patch anything. Store your rootfs in a tar, and extract it via /tmp in your update.zip to preserve permissions. Your only limitation is the RAMDisk of recovery (or not, if you are tactical).
Disable Overclocking from CWM
If you are having problems with your SGT crashing, your SGT may not support 1.4ghz. Simply access your root partition via CWM as explained above, and remove the file /data/etc/local.d/SGT_cpu_oc_1400.start
Set up Wifi without USB OTG
As it stands, you will need a USB input adapter to use your Gentoo system, because I cannot possibly auto-configure your wifi. I know for most people, this is a setback, however you can configure your Wifi manually and push the file back in CWM. Access root from CWM, as explained above, and pull the following file: /data/etc/conf.d/net
Edit it as necessary and push it back, be sure to set its permissions to 0644 before attempting to reboot back into Gentoo.
Change your Wifi MAC Address
There is a hidden file the Wifi Driver uses, /data/.mac.info (/data/data/.mac.info via CWM). Inside this file you will find a MAC address. Once this file is changed, the next time the dhd module (wifi) is loaded, it will use the MAC Address specified in the file.
Recovering from a crash
This is still in alpha status. There may come a time (for example, if you hit Caps-Lock on an external keyboard) where your system will hard lock. You do not have to let the battery drain, you can force the system to reboot by holding the power button for approximately 10 seconds. Release the power button when the screen backlight turns off. Please be advised this is not suggested for normal shutdown, and only for use if the system is not responding.
Touchscreen Guide (requires kernel update m1-2012-03-24 or newer)
Light Single Touch = Move Mouse
Hard Touch = Left Mouse Button
Light Two-finger Touch = Right Mouse Button (from left finger position)
Is this rom natively boot on gentoo? Can you upload a video or pics? And when this will be get available for p7500?
leventccc said:
Is this rom natively boot on gentoo? Can you upload a video or pics? And when this will be get available for p7500?
Click to expand...
Click to collapse
1) Yes, this is native, like the Tabuntu project
2) I am working on a quick video
3) I cannot test on hardware I do not have. Likely it will work but may require partition maps to be updated. We auto-format /dev/mmcblk0p4 on first boot (/system on GT-P7510). This is safe on the GT-P7510, but may not be safe on the GT-P7500.
Also there is no GUI yet, so right now it is mainly for:
1) Development
2) Turning your SGT into a Linux Server
3) To say you can run Gentoo on your SGT
Edit: For non-GT-P7510 owners, if you give me a copy of /proc/partitions (from any ROM), I will verify if this is safe for you or not.
If it is not, I will try to add support by build m2
zefie said:
1) Yes, this is native, like the Tabuntu project
2) I am working on a quick video
3) I cannot test on hardware I do not have. Likely it will work but may require partition maps to be updated. We auto-format /dev/mmcblk0p4 on first boot (/system on GT-P7510). This is safe on the GT-P7510, but may not be safe on the GT-P7500.
Also there is no GUI yet, so right now it is mainly for:
1) Development
2) Turning your SGT into a Linux Server
3) To say you can run Gentoo on your SGT
Edit: For non-GT-P7510 owners, if you give me a copy of /proc/partitions (from any ROM), I will verify if this is safe for you or not.
If it is not, I will try to add support by build m2
Click to expand...
Click to collapse
major minor #blocks name
179 0 15387648 mmcblk0
179 1 12288 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 8192 mmcblk0p3
179 4 591872 mmcblk0p4
179 5 458752 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 12288 mmcblk0p7
179 8 13969920 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 307200 mmcblk0p10
Here is the partitions
leventccc said:
179 3 8192 mmcblk0p3
179 4 591872 mmcblk0p4
179 8 13969920 mmcblk0p8
Click to expand...
Click to collapse
Should be alright then
I will be flash but I want to ask how can we connect to keyboard and mouse?
USB OTG adapter .. this is the one I bought
Holy crap... I love you. Gonna install this regardless but need WiFi and BT
GazaIan said:
Holy crap... I love you. Gonna install this regardless but need WiFi and BT
Click to expand...
Click to collapse
I'm gonna work on WPA for m2. Open Wifi should work, but not tested. WEP 128-bit was tested and works. The driver is a little crazy, so there are some workarounds, and as of now my workaround only supports WEP.
BT I am unsure will ever work, and is not a high priority for me. To be honest, Bluetooth gives me trouble, period. Not just on OtherOS, but the entire protocol, I am not a fan of it. But I will see what I can do.
zefie said:
I'm gonna work on WPA for m2. Open Wifi should work, but not tested. WEP 128-bit was tested and works. The driver is a little crazy, so there are some workarounds, and as of now my workaround only supports WEP.
BT I am unsure will ever work, and is not a high priority for me. To be honest, Bluetooth gives me trouble, period. Not just on OtherOS, but the entire protocol, I am not a fan of it. But I will see what I can do.
Click to expand...
Click to collapse
Hm... If WiFi works then, I might just buy that USB adapter so I can make use of it all. I installed Ubuntu but I had to fight the screen to get as far as I did, and then I hit a roadblock because I had to type things in and didn't have the adapter oh; you should probably start a new thread for Ubuntu as well, everyone probably overlooks the original tabuntu thread.
GazaIan said:
Hm... If WiFi works then, I might just buy that USB adapter so I can make use of it all. I installed Ubuntu but I had to fight the screen to get as far as I did, and then I hit a roadblock because I had to type things in and didn't have the adapter oh; you should probably start a new thread for Ubuntu as well, everyone probably overlooks the original tabuntu thread.
Click to expand...
Click to collapse
For some reason, and i did try this, my kernel does not fix touchscreen on Tabuntu. I think Ubuntu's 'auto config' is our enemy on such a fine tuned device.
Also, since Gentoo is compiling everything, it runs ALOT more efficiently. Faster and less RAM usage, as all binaries are tegra2 optimized (or at least cortex-a9)
edit: m2 will launch gnome and onboard keyboard
zefie said:
For some reason, and i did try this, my kernel does not fix touchscreen on Tabuntu. I think Ubuntu's 'auto config' is our enemy on such a fine tuned device.
Also, since Gentoo is compiling everything, it runs ALOT more efficiently. Faster and less RAM usage, as all binaries are tegra2 optimized (or at least cortex-a9)
edit: m2 will launch gnome and onboard keyboard
Click to expand...
Click to collapse
I actually began to suspect the same, with Tabuntu it seems like the mouse does move, but only hovers. I notice buttons highlight when I tap them, but to actually click a button I have to finger rape it. Even in this video here, after rape clicking one of the buttons in the top right corner, I can tap and it will be highlighted. If its fixed here then we all know we can blame Ubuntu for it.
http://www.youtube.com/watch?v=0hcBSxsHpII
Can key events be sent to Ubuntu via ADB, like how it can be sent while in Android? If I could actually get ADB to connect then I can use keyevents to type stuff in while I wait on my USB Adapter.
I'm probably putting this on the sideburner for a while, but I wanted to put out my latest compiled kernel (to match github) with all my touchscreen driver patches, as well as my sound workaround. flashing this to tabuntu does not magically enable touchscreen but does have a more proper driver (as least compatible with ts_print_raw..
http://files.persona.cc/zefie/files...rnel_updates/m1/2012.03.26/otheros_kernel.zip
Edit: On sideburner until ICS release for our tab, and subsequent OSS release, because I want to start over with the 3.x kernel sources.
zefie said:
I'm probably putting this on the sideburner for a while, but I wanted to put out my latest compiled kernel (to match github) with all my touchscreen driver patches, as well as my sound workaround. flashing this to tabuntu does not magically enable touchscreen but does have a more proper driver (as least compatible with ts_print_raw..
http://files.persona.cc/zefie/files...rnel_updates/m1/2012.03.26/otheros_kernel.zip
Edit: On sideburner until ICS release for our tab, and subsequent OSS release, because I want to start over with the 3.x kernel sources.
Click to expand...
Click to collapse
Aw damn, good luck with those sources! Hope something even awesomer can come out from this, I like other OSes on my Tab. Just bought the USB adapter to make use of my keyboard as well
Unfortunately I have 2 bits of bad news about this project
1) I had to sell my tab to pay the rent this month due to a layoff.
2) I seemed to have lost my pre-m2 archive, I was going to release it as-is, but now I can't
I'll leave the existing files up though, and hope someone continues this project.

How to use Android Emulator to test custom ROMs

Al Credits Goes TO Perceval from Hyrule
Perceval from Hyrule said:
** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.
Click to expand...
Click to collapse
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 240
DPad support : no
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 100
Audio playback : yes
Trackball : no
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 64
RAM : 403
GSM Modem : yes
works with the LG O2X roms?
sjcunha said:
works with the LG O2X roms?
Click to expand...
Click to collapse
hasn't been tried yet

[Q]Is there a possibility to install rom on sd

Welcome. Already he was just asking about the same with the addition of some suggestions.The init.d directory has the opportunity to start up the concrete near the beginning of a comment, start the machine.One could initiate concrete partitions on the SD card to have played a role partition "mtd" for example / system / data / cachefrom what I noticed the kernel to jb has otherwise changed little these partitions (size).I do not know exactly how it looks with them, but if one could perform 2 partitions by mtd / system (small to perform the basic start-up and later redirects to / systemsd and the rest used as a framework or a particle cache?)
examples of partition
mtd / system (start-up)
mtd / ram (unless you know)
mmc / fat32
mmc / systemsd (the rest of the system)
mmc / data
mmc / .......
and so onthat was a minimum of 4 block
for it is our memory that was on the phone at the same time much bigger and faster (unless there think) than a swap sdanother thing that applications were loaded into the framework so that if they were around 500 + mb ram for the system to switch on only long landing and later had to speed up.I came up with this idea a bit strange when I have made applications to change fat32, after connecting the USB cable.for me my memory card is slightly odd partitions of personal reasons
Class10+ 32gb
fat32 / sdcard 26gb block1
ext4 / 4gb sd-ext Block2
swap ... 2gb block3
fat32 / sdcard2 2gb block4
sorry to my poor english. I hope you understand my gibberish (a lot of words I could not remember so I used google translator)
-AsA- said:
Welcome. Already he was just asking about the same with the addition of some suggestions.The init.d directory has the opportunity to start up the concrete near the beginning of a comment, start the machine.One could initiate concrete partitions on the SD card to have played a role partition "mtd" for example / system / data / cachefrom what I noticed the kernel to jb has otherwise changed little these partitions (size).I do not know exactly how it looks with them, but if one could perform 2 partitions by mtd / system (small to perform the basic start-up and later redirects to / systemsd and the rest used as a framework or a particle cache?)
examples of partition
mtd / system (start-up)
mtd / ram (unless you know)
mmc / fat32
mmc / systemsd (the rest of the system)
mmc / data
mmc / .......
and so onthat was a minimum of 4 block
for it is our memory that was on the phone at the same time much bigger and faster (unless there think) than a swap sdanother thing that applications were loaded into the framework so that if they were around 500 + mb ram for the system to switch on only long landing and later had to speed up.I came up with this idea a bit strange when I have made applications to change fat32, after connecting the USB cable.for me my memory card is slightly odd partitions of personal reasons
Class10+ 32gb
fat32 / sdcard 26gb block1
ext4 / 4gb sd-ext Block2
swap ... 2gb block3
fat32 / sdcard2 2gb block4
sorry to my poor english. I hope you understand my gibberish (a lot of words I could not remember so I used google translator)
Click to expand...
Click to collapse
I didn't get you.
But it is possible to install rom on sdcard with High read/write speed.(class 6 or higher)
all U need is a dual-boot recovery
(I don't know that u must have a Rom installed in internal memory or not(
Sent From My "ULTIMATE ROM- gb - WP8 edition" via Tapatalk
yes, but not on my mind
dual-boot umount dir and make new to port img file. mtd block is not changed
my idea if edit mtd block
Memory phone
mtdblock0 /system size 206 mb
mtdblock1 /cache size 50 mb
mtdblock3 /data size 211mb
mayby mtdblock2 is block ram1, ram2 ..... size ~200mb
all ~667mb
my idea is
mtdblock0 /system (basic start-up i don't know mayby 20mb-67mb)
and mtdblock1 is block ram 600mb
of sd card make block to /system /data etc
this is my idea but I do not know if possible
@-AsA-
Hi. I am working on a dual-boot project. I sent you an invite to our group. It would be awesome if we could work together. I have a test kernel ready, if you want to test. It's still a WIP. Everything modified is mentioned there. Please take a look. Thank you.
Looking forward to working with you.
sgt. meow
sgt. meow said:
@-AsA-
Hi. I am working on a dual-boot project. I sent you an invite to our group. It would be awesome if we could work together. I have a test kernel ready, if you want to test. It's still a WIP. Everything modified is mentioned there. Please take a look. Thank you.
Looking forward to working with you.
sgt. meow
Click to expand...
Click to collapse
im helping you on dboot project
The bootloader won't boot directly from the sdcard.
Nevertheless, you can definitely have ROM images in the sdcard and use those while booting android (basically you only have to update init.rc for that).
Check 'multiboot' in my signature for more details.
nobodyAtall said:
The bootloader won't boot directly from the sdcard.
Nevertheless, you can definitely have ROM images in the sdcard and use those while booting android (basically you only have to update init.rc for that).
Check 'multiboot' in my signature for more details.
Click to expand...
Click to collapse
Can we edit bootloader?
Sent from my XPERIA X8 using xda premium
fotak-x said:
Can we edit bootloader?
Sent from my XPERIA X8 using xda premium
Click to expand...
Click to collapse
First make it unlockable for newer devices
Then edit
sent from my W8 using client-server technology
fotak-x said:
Can we edit bootloader?
Sent from my XPERIA X8 using xda premium
Click to expand...
Click to collapse
S1loader is not open source to work with. You could hex-edit it if you had some easy way to flash it and recover from the countless hard bricks the bootloader development process has. Unfortunately this is doable via jtag only. My knowledge is limitted on that area.
Sent from my Galaxy Nexus using xda app-developers app
As for the bootloader, what could be the first real-time editor hex can perform a large change in the machine switched on.
When it comes to dual boot I can help not only the development of a test.
slightly going back bootloader to my x8 from the beginning she had unlocked (date of manufacture 10W40 surprisingly). I had not unlocked. To change the kernel or other heavy operations.Never failed to I managed to brick trying to do specifically
not worried about the phone I'm always ready to purchase a new...
The idea of a modified bootloader is nice, but it have two problem.
1. Modify the bootloader to add capability to boot directly from sdcard is basically useless because this is possible with a simple script in a modified ramdisk. Check the post from nAa, or search the thread about nBoot from feherneoh. This is easy and not need to do dangerous things.
2. The modification of the bootloader is near impossible because:
- the working of S1Boot is not documented
- this is a non-standard raw binary, hard to disassembly/decompile
- if someone can disassembly it correctly, need VERY HIGH skills in native arm assembly programming
- need special hardwares to revive the dead phone after all failed modifications (special cables, setool, etc...)
Don't forget: we had to wait more than a year to get unlocked bootloader (and this modification only skip the security verification), and this is working only with devices what older than 1-1,5 years.
I think if someone have these prerequisites, better if he/she working on valuable things instead of boot from sdcard (add fastboot support to bootloader, etc...)
I was thinking of making nBoot work with JB (it didn't). If that fails we will come up with a new method.
It's almost impossible for us to re-write the bootloader.
It would be super cool if someone added fastboot support to our bootloaders.
nobodyAtall said:
The bootloader won't boot directly from the sdcard.
Click to expand...
Click to collapse
maybe not in our device but its not impossible
http://forum.xda-developers.com/showthread.php?t=2061437
stamatis said:
maybe not in our device but its not impossible
http://forum.xda-developers.com/showthread.php?t=2061437
Click to expand...
Click to collapse
Obviously I was talking about these devices not some Samsung one...
@sgt. meow fastboot support is not something that can be added to an existing bootloader. The bootloader itself has to support this protocol. Hence the only solution would be to switch to another bootloader which would have to be ported from scratch for these devices.
The job would require a tremendous amount of effort since not even miniloader works for them!
Can we use dd to write an entire directory to a .img file? I'm thinking of something.
@nAa
I know. I was just unaware that bootloaders could be ported for our device (even if it meant no sleep for 6 months for the brave dev).
sgt. meow said:
Can we use dd to write an entire directory to a .img file? I'm thinking of something.
@nAa
I know. I was just unaware that bootloaders could be ported for our device (even if it meant no sleep for 6 months for the brave dev).
Click to expand...
Click to collapse
Mtd devices are not block devices. What are you trying to achieve?
Sent from my Galaxy Nexus using xda app-developers app
I was thinking of using feherneoh's nBoot, but in a different way. My idea was to somehow write the current ROM's /system to system.img on sdcard and the same thing with data and cache. Then install another ROM that uses the same kernel (JellySony for example). Then if XXX is present in /sdcard, it would mount system.img as /system (and the same with data and cache), thus enabling dual-boot. In a kinda stupid way.
sgt. meow said:
I was thinking of using feherneoh's nBoot, but in a different way. My idea was to somehow write the current ROM's /system to system.img on sdcard and the same thing with data and cache. Then install another ROM that uses the same kernel (JellySony for example). Then if XXX is present in /sdcard, it would mount system.img as /system (and the same with data and cache), thus enabling dual-boot. In a kinda stupid way.
Click to expand...
Click to collapse
This is how my multiboot mod worked actually - except from the fact that back in those days we couldn't flash custom kernels and the whole job was done via the chroot/hw_config.sh hack.
The bummer is you can't switch kernels so multiboot between say gb and jb is not possible.
nobodyAtall said:
S1loader is not open source to work with. You could hex-edit it if you had some easy way to flash it and recover from the countless hard bricks the bootloader development process has. Unfortunately this is doable via jtag only. My knowledge is limitted on that area.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
...where can i find s1loader in phone? can i pull it out?just curious.....
fotak-x said:
...where can i find s1loader in phone? can i pull it out?just curious.....
Click to expand...
Click to collapse
There are two options:
- Export all the partitions (I think the file is nand_partitions.c) from kernel. The mtdump/dd it.
- Use the mtdmapper module that is in the unlocking bootloader tool to get all the partitions to map and then dump it.
Both ways basically do the same thing and they both have a pretty BIG chance of getting your device hard bricked (even when you are in read-only mode).

Teclast X98 Plus/Plus 3G Review + Root + Custom Rom

Teclast X98 Plus Tablet come with Intel Cherry Trail Z8300 Quad Core 1.84GHz CPU processor andIntel HD Graphic(Gen7) GPU.Adopt Windows 10 System and 4GB RAM+64GB ROM ! The 2048*1536 Resolution 9.7 Inch IPS Capacitive Screen bring you perfect visual enjoyment. Support HDMI/Bluetooth function.
Model Teclast X98 Plus Tablet
CPU Intel Cherry Trail Z8300 Quad Core,14nm, 1.44~2.24GHz
GPU Intel HD Graphics Gen8, 12EU Gen8LP 600MHz
System Windows 10
RAM 4GB DDR3L
Capacity 64GB eMMC
Screen 9.7 Inch IPS Capacitive Screen
Resolution 2048*1536
Extend Card Support up to 64GB
Camera Front is 2.0 MP,Rear is 5.0MP
WIFI 802.11b/g/n
Bluetooth Bluetooth 4.0
Gravity
Sensor Support
HDMI Support, Micro HDMI
OTG Support
Audio FLAC/APE/WAV
Ebook WORD/EXCEL/PDF/TXT/CHM/HTML
Picture JPG/BMP/PNG/GIF
Video AVI/RM/RMVB/MKV/WMV/MOV/MP4/DAT(VCD format)/VOB(DVD format)/PMP/MPEG/MPG/FLV/ASF/TS/TP/3GP/MPG
Language English, Russian, Spanish, Swedish, Portuguese, Turkish, Italian, German, Chinese, French, Japanese, Polish, Ukrainian, Greek
I/O Port 1 x Micro USB port
1 x TF card slot
1 x Micro HDMI port
1 x 3.5mm Earphone port
Battery 8000mAh
Weight 520g
Size 240mmx169mmx7.9mm
2 version, win10 only and dual boot :
A5C6 Win10 only (can be converted to dualboot)
A5C8 dualboot
Resize android partition the easy way ! for X98 serie !
How to root X98 plus, made by me here
Custom Rom For X98Plus based on 1.05, Version 2.0 clic here :
- fully rooted with superSU 2.45 fully working now (no more error fail try to update binary)
- changed stock launcher to Nova
- added fews useful apps, since system is 2.5Gb ! more than 1Gb free (stupid !!)
- improved touch screen
- cleaned chinese app
- set local in US
- set Lcd Dpi to 260 instead 320 (you can use inlcuded DPI changer to easy revert back to 320)
- improved Battery life (even more in idle)
- Better internet browsing & download speed
- Smoother experience
- Google DNS
- More Ram
- Better signal reception
- Wireless Tweaks
- Smoother video streaming and tweak media
- Faster Boot-Animation FPS
- Game tweaks
if you like my work my rom, files and help .... feel free to buy me a cofee i dont drink beer lol ... Paypal link here
how to reinstall win10 (and dual boot option)
format a usb key to fat32 and label it WINPE (very important)
then exctract win10 teclast edition to the root or your usb key X98.Plus(3G)Win10.2016.03.03.rar here ! for model A5C8,A6C7 and A6C9
then connect the usb key and keyboard to the tablet
turn on te tablet and hit F7 on keyboard and choice your usb key
the installer will start and you will get blue screen error (thats normal !)
wait the tablet reboot and hit again F7 and choice your usb key
do that until the installer start to install win10
and voila win10 and android are installed
Win10 Only install (delete android)
just use this file... remplace WIMPART.TXT inside images folder with this one
https://mega.nz/#!mAhXzSIK!iGAV-a8hy2N8G1s9Gy1Z96bILS147slzPCGkF269aKg
Tips Tweak Help :
Win10 :
reduce lag :
Turn OFF the sliders for most of Microsoft’s privacy settings. Google search is your friend here
* In settings>>ease of access>>other options turn OFF Show visual feedback and Play animations
* In settings>>devices>>typing turn ON Add standard keyboard and Show Touch Keyboard
* In settings>>privacy>>background apps and turn OFF any of the apps that you don’t use
* Long press the taskbar speaker icon>>playback devices>>properties>>system effects>>turn OFF Equalizer
* Put Windows Defender on the shelf and install a better firewall/antivirus solution. I use Zone Alarm free Antivrus + Firewall
* Install an acurate battery taskbar icon like BatteryBar
Fix time after changing switch between Android and WIndows
Run regedit.exe. It is located (C: \ Windows \ regedit.exe)
Opens this way the HKEY_LOCAL_MACHINE \ the SYSTEM \ CurrentControlSet \ the Control \ TimeZoneInformation \
Right-click on ( TimeZoneInformation ) - select - New -> DWORD parameter (32bit)
New option to rename RealTimeIsUniversal
Double-click to open RealTimeIsUniversal and change RealTimeIsUniversal key ( 0 ) to ( 1 ).
Set the current time and the time zone in hours and restart the system, check the time (corrected to correct the last time, if necessary)))
Reboot in Android then back to Windows and check again their time.
Touch screen improvement :
Run regedit.exe. It is located (C: \ Windows \ regedit.exe)
Inside Registry Editor window left pane follow this path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TouchPrediction.
Under the TouchPrediction folder (inside left pane), double-click on Latency value (inside right pane).
When new window opens up, change the default value from 8 to 2.
inside right pane double-click on SampleTime value. change the value from 8 to 2.
restart your Device.
Latest Teclast Os switcher for Win10 here
supercowz said:
under construction
root made by me here
Click to expand...
Click to collapse
Much appreciated sir, you are indeed a gentleman. In order to avoid further confusion is it possible to add the model number A5C8 to the thread heading if you think it would help. I guess it is not possible to move all the misplaced postings in the Pro thread to here is it ?
bluiis48 said:
Much appreciated sir, you are indeed a gentleman. In order to avoid further confusion is it possible to add the model number A5C8 to the thread heading if you think it would help. I guess it is not possible to move all the misplaced postings in the Pro thread to here is it ?
Click to expand...
Click to collapse
u welcom, model added
X98 plus dual boot owner here..
Looking some how to root that device
phoenix10 said:
X98 plus dual boot owner here..
Looking some how to root that device
Click to expand...
Click to collapse
http://forum.xda-developers.com/x98-air/help/root-teclast-x98-plus-t3313339
SD card in Windows
Now that we have our own area for the new stock dual boot Plus A5C8 (thanks again Supercowz) I would like to hear from owners of this tablet who successfully have a micro SD over 32 GB usable in Windows 10. There are posts in other forums and (incorrect ) other places on XDA where users, like myself are having issues with no SD visible in Windows but just fine in Android.
Anyone have a 64 GB or over working OK, what brand, speed rating etc. ?:fingers-crossed:
bluiis48 said:
Now that we have our own area for the new stock dual boot Plus A5C8 (thanks again Supercowz) I would like to hear from owners of this tablet who successfully have a micro SD over 32 GB usable in Windows 10. There are posts in other forums and (incorrect ) other places on XDA where users, like myself are having issues with no SD visible in Windows but just fine in Android.
Anyone have a 64 GB or over working OK, what brand, speed rating etc. ?:fingers-crossed:
Click to expand...
Click to collapse
what i think is the SD Card/chip or what ever, is bugged crappy, not working proprelly with some brand/size/chip used is not detected is both side (win or android)
i try arround 10 different sd and size mostly sandisk brand, none was detected
but the one (kingrston 16Gb) as gift the taclast shipped by the seller, was working out of the box
so i end up with only 16Gb for now, sine i can't use 64Gb (sad i have fews in stock ...)
but you can still use some by teawking SD drivers under W10,
some sd card repported working after that ... but not on android, harder to tweak android sd driver/kernel ....
i will receive soon the 128Gb kingston i will see soon
supercowz said:
what i think is the SD Card/chip or what ever, is bugged crappy, not working proprelly with some brand/size/chip used is not detected is both side (win or android)
i try arround 10 different sd and size mostly sandisk brand, none was detected
but the one (kingrston 16Gb) as gift the taclast shipped by the seller, was working out of the box
so i end up with only 16Gb for now, sine i can't use 64Gb (sad i have fews in stock ...)
i will receive soon the 128Gb kingston
Click to expand...
Click to collapse
I have a 64Gb Silicon Power class 10 no problem in Android, not seen in Windows. I bought it because the first one I tried was a Patriot 64Gb class 10 and I had the same situation so I thought it might be the brand. At least the Silicon Power is a bit faster. I hope the 128Gb Kingston works for you because of what you probably paid (invested) to get it. Windows seems OK up to 32Gb, i have tried a 32 Gb Verbatim and it is fine. Also 128Gb Lexar USB flash drive is no problem with OTG in both Andoid and Windows but read speed is too slow for video.
Plus A5C8
Any idea for good case? Without keyboard..
coocked rom based on 1.05, v1.0beta is working :
- fully rooted with superSU 2.46 fully working now (no more error fail try to update binary)
- cleaned chinese app
- set local in US
- installed nova
- set Lcd Dpi to 260 instead 320
- Supreme Battery life (even more in idle)
- Better internet browsing & download speed
- Smoother experience
- Google DNS
- More Ram
- Better signal reception
- Wireless Tweaks
- Smoother video streaming and tweak media
- Faster Boot-Animation FPS
- Game tweaks
i can release pre-vesion soon i mean now if someone want beta test it but i whant to work more on it let say 1-2days we should have final version
supercowz said:
what i think is the SD Card/chip or what ever, is bugged crappy, not working proprelly with some brand/size/chip used is not detected is both side (win or android)
i try arround 10 different sd and size mostly sandisk brand, none was detected
but the one (kingrston 16Gb) as gift the taclast shipped by the seller, was working out of the box
so i end up with only 16Gb for now, sine i can't use 64Gb (sad i have fews in stock ...)
but you can still use some by teawking SD drivers under W10,
some sd card repported working after that ... but not on android, harder to tweak android sd driver/kernel ....
i will receive soon the 128Gb kingston i will see soon
Click to expand...
Click to collapse
Just an afterthought, have you tried formatting one of your 64GB cards to Ext 3/4 to see if Android will see it, mine is fine with Fat32 but I had to format to that because card came as exFat, I tried NTFS on one to check if it would work in Windows but made no difference. Great to see you are getting close on the custom Rom. I have not rooted yet, no real need and an app I use checks for rooting so rather than get in to root cloaking I am pretty happy with stock so far.
---------- Post added at 11:18 PM ---------- Previous post was at 11:02 PM ----------
phoenix10 said:
Any idea for good case? Without keyboard..
Click to expand...
Click to collapse
I know you say without keyboard but I have the Teclast case and keyboard combo I got from Gearbest and I am really impressed with it. I was expecting typical Chinese "pleather' but it is a textured material, looks really good and seems very durable and the inside is lightly flocked. Tablet clicks in to a plastic hard shell. Keyboard has a metal bottom and attaches magnetically to the case so easily removable without clips etc. and can be positioned anywhere. Keyboard forms the front stop when case is used as a stand so fully adjustable. Tablet folds up excellent in case when keyboard removed and is really well protected. Keyboard has to be packed separately to take it along but not a problem. All cut-outs are perfect but volume and power buttons need a fingernail push, no room for a finger tip but that is good travel safety. Keyboard is great too but lags a little before wake up from sleep. In short I think it is great.
http://www.gearbest.com/tablet-pcs/pp_271208.html Today $21.97 US. Mine shipped from Netherlands.
There is now root and custom ROM for the x98 Plus thanks to @supercowz
http://forum.xda-developers.com/x98-air/help/root-teclast-x98-plus-t3313339
supercowz said:
coocked rom based on 1.05, v1.0beta is working :
- fully rooted with superSU 2.46 fully working now (no more error fail try to update binary)
- cleaned chinese app
- set local in US
- installed nova
- set Lcd Dpi to 260 instead 320
- Supreme Battery life (even more in idle)
- Better internet browsing & download speed
- Smoother experience
- Google DNS
- More Ram
- Better signal reception
- Wireless Tweaks
- Smoother video streaming and tweak media
- Faster Boot-Animation FPS
- Game tweaks
i can release pre-vesion soon i mean now if someone want beta test it but i whant to work more on it let say 1-2days we should have final version
Click to expand...
Click to collapse
Any possibility to set local on CY or Eu.
CustomRom.X98plus.Version1.Pre.by.Spzjulien
here is the pre/final version, seem working great on A5C8, please report for other model...thnx
CustomRom.X98plus.Version1.Pre.by.Spzjulien.zip here
coocked rom based on 1.05 for A5C8, v1.0 is working tested on A5C8 :
- fully rooted with superSU 2.46 fully working now (no more error fail try to update binary)
- changed stock launcher to Nova
- added fews useful apps, since system is 2.5Gb ! more than 1Gb free (stupid !!)
- improved touch screen
- cleaned chinese app
- set local in US
- set Lcd Dpi to 260 instead 320 (you can use inlcuded DPI changer to easy revert back to 320)
- improved Battery life (even more in idle)
- Better internet browsing & download speed
- Smoother experience
- Google DNS
- More Ram
- Better signal reception
- Wireless Tweaks
- Smoother video streaming and tweak media
- Faster Boot-Animation FPS
- Game tweaks
How to install :
if you never installed the Intel driver and flashtools
look at intel driver folder and install PhoneFlashTool_5.3.2.0_win32.exe
enable usb debug !
This will update your system nothing is deleted and W10 untouched
EASY METHOD using intel PHONE FLASH TOOLS :
start intel PHONE FLASH TOOLS
you should see your tablet connected
then open flash.json
be sure that configuration: option is update so nothing will be deleted android peronal dans and w10 untouched
if you choice restore or erase then erase all the tablet then flash fresh custom android and no w10
so configuration on update then start flash
ADVANCED METHOD install via Cmd promt command in 2mn top :
extract the rom
on rom folder hold shift + right clic on free aera and open cmd shell option (hold down the Shift key and right-click on that folder. The context menu will contain an entry, ‘Open command window here.”)
reboot to recovery type :
adb reboot bootloader
now flash boot.img and system.img only (android data and win10 untouched) type :
fastboot flash boot boot.img
fastboot flash system system.img
fastboot reboot
then wise to clear cache and dalvik
adb rm -r /data/dalvik-cache
enjoy
Downloading...
-On linux:
adb reboot bootloader
-After reboot:
sudo fastboot flash boot boot.img
sudo fastboot flash system system.img
sudo fastboot reboot
It was fast and easy, just needed to restore my backuped Nova settings, everything looks fine.
Hardware information, still not working for me dunno why. Do you have A5C6 or A5C8? Mine is A5C6 and it can be a bios problem.
---------- Post added at 05:53 PM ---------- Previous post was at 05:27 PM ----------
First problem, i've disabled USB Debug, now i can't do nothing.
It's showing me this error everytime:
http://imgur.com/EoIUpPj
"unfortunately, system ui has stopped" :/
I have OTB dualboot A5C8
Yeah your bugs look like bios used, no problem here even when turn off debug usb
Envoyé de mon X98 Plus(A5C8)SPZjulien en utilisant Tapatalk
What fw did you use before ?
supercowz said:
What fw did you use before ?
Click to expand...
Click to collapse
The only one avaliable from Teclast.
The problem happend when i disabled USB Debug. So i could not access Recovery. Even Update from Intel Phone Flash Tool did not work, so i used recue. Now i dont have Windows 10 or my Android stuff. :/ Now i have to do everything from the start on both OS. :crying:
Pro Tip for people flashing: dont disable USB Debug.
calhaus said:
The only one avaliable from Teclast.
The problem happend when i disabled USB Debug. So i could not access Recovery. Even Update from Intel Phone Flash Tool did not work, so i used recue. Now i dont have Windows 10 or my Android stuff. :/ Now i have to do everything from the start on both OS. :crying:
Pro Tip for people flashing: dont disable USB Debug.
Click to expand...
Click to collapse
Is your model dualboot ?
Envoyé de mon X900+

Terminal terminating automatically with signal 9 error in middle of build

Hi
I have tried to build A13 ROM but terminal is automatically closing in Ninja build after 3-4 mins(I have tried j to j4).
I have tried to check logs for terminal, it is showing child process aborted with signal 9.
My system configuration is as follows:
RAM - 16 GB
Processor - i7 5500U 2 cores 4 threads
Storage - 256GB SSD
OS - Ubuntu 22.04 Desktop
SWAP size - 32 GB

Categories

Resources