Help me modify kernel commandline in my Samsung A105G to boot non-Android OS - Android Q&A, Help & Troubleshooting

I'm trying to boot non-Android OS in my Samsung A105G. preferably Debian-based.
I tried stopping android and do chroot to a extracted rootfs that I put at /data/debian, generated by using Debootstrap in my Ubuntu host.
chroot complains that /bin/sh is not exist when it is actually there. after a bit of google research, I found that the debian binaries dont work with Android because of libc stuff (bionic vs libc?).
so after that, I have a different idea. what if I put a debootstrap generated rootfs in some ext4 formatted partition, and tell the kernel to boot from it.
I need to modify this commandline that i highlighted, to be able to use any partition i want
Code:
root=/dev/mmcblk0pX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can I achieve that?

Related

help needed with physical partition size

I noticed that my TP has less total size than it used to be (it might be due to making 2 chroot partitions) (for the record i have the 16GB version).
So i opened lvm and typed the pvs command and saw that my current PSize is at 14.19GB and PFree is at 3.95GB. Im not really familiar with lvm i just saw there were some similar commands for physical (like the virtuals ones which people use to resize their logical partitions to reallocate the missing space after a cm-uninstall).
Anyway, what im asking is how to reallocate those 4 missing GBs, should i run "pvresize +90000 store"? will it affect my currently logical partitions?
This is how the lvscan looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thats a total of 10280MB

[Q] Using Bochs or QEMU

Has anyone tried to use QEMU or BOCHS with GP5? I haven't seen anything saying it will specifically work with Galaxy devices but I just wondered if maybe someone has gotten it working. I don't fully understand the Android OS yet so I wasn't sure about trying it myself.
Yeah, I got Boochs working!
And I have got it to work with Redhat, and windows 95.
however both are a bit hard to control, and have no internet support:
Boochs:
http://forum.xda-developers.com/showthread.php?p=21293078
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
redhat image:
http://superb-sea2.dl.sourceforge.net/project/bochs/Disk Images/RedHat Linux/redhat_6-512mb.zip
If you want to use the redhat image rename it to c.img and put it in the sdl folder
username:root Password: redhat
Boochs install instructions on the download page.
Sorry to bother you further but after it boots and I put in the username and password, it just starts as a command line tool or something and anything I try it just says isn't a proper command. Is a ui supposed to boot?

[Q][Solved] Files in Root Folder ( / )

What are these files in root / folder? Can I saftly delete them?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A more proffessional anwser will be accepted
Absolutely not!
But don't ask me what they do. You can browse the .rc files as they are text.
Sent from my Nexus 7
Those files are you system. You mustn't do anything to them because if you do you can break your phone.
NO
These are all initialization files necessary for your phone to startup. They are a part of the boot image and the phone's startup process (init) parses these files to know what to start and how to start. They also are responsible for the initial files system setup and some hardware configuration as well.
Better not touch them.
I just wanted to know if they have something with init.d
Sent from my Xperia Live with Walkman (WT19i) using xda-developers app
Android's Rule of Thumb : DO NOT touch any files in "/" root

[Q] Building CM from source is failing

Okay, so I'm trying to build CM from source for the Galaxy S4 i9505 using the official guide here. I am doing this inside a newly set up Ubuntu 12.04 64 bit virtual machine.
Everything seems to be working fine until I actually run the build. I sit there and let it do its thing but eventually after around 40 minutes "make" gives me an error saying one of the .dex files is killed, then I'm returned to my prompt. I look in the $OUT directory (~/android/system/out/target/product/jfltexx) and some images are there, but no actual .zip for the built system.
It seems like something is going wrong before the build can complete and the computer just gives up, but I have no idea why.
Here is a screenshot which should hopefully provide more information:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks in advance if anyone can help me out

gpt partition help need

Ok guys I have one of this dual boot (windows/android) chines table
Teclast X98 Plus II
And I want to uninstall windows and use the tablet for android.
I try to use the rom from the official manufacture but changing the gpt.bin (I guess the one that got the table partition) from another rom found in here
Where it has several gpt.bin for different size partition.
The one that I used have this table partitions download
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And the original have this one download
As noted they differ mainly in the system size where the installation fail.
Y try using a hex editor to modify it but it did not work
Any way I can modify it to make works.
Any help would be appreciated
Note: if posted in the wrong thread please change.
I also trying to flash only android with 53gb gpt file but no luck. The windows still there. GOD!!! Someone help us!

Categories

Resources