yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] dmwOtis:
Typing Special Characters

Is there a way to type a special character, like control e, to exit a Debian application like nano?
[G1 Android Development] letsrootit:
Push down the trackball for Control.
[G1 Android Development] zrubi:
Before I am trying to install it I want to know please how will I completly remove the debian after install if I wanted to?
[G1 Android Development] cg87:
any way to auto start debian when starting terminal emulator? or to change the default directory of terminal emulator?
[G1 Android Development] jigabite:
I was just wondering if anybody was having any trouble with corruption or segmentation faults. I've installed this debian img a couple of times and every time I do an apt-get update it usually errors out the first time. I can usually get an apt-get update to work (it takes a couple of times) but when I try to install any binaries, the install usually fails.

Programs that I've specfically tried to install:

x11-apps

nedit

emacs

apache

python

various others...

By far the most common errors are segmentation faults (usually during the apt-get process or upon program execution).

The ssh server works, but that appears to be the only program that I can reliably use.
[G1 Android Development] shaji007:
Debian G1 (HELP)

hi i just installed debian on my phone

just wondering how do i get stuff running on to or is there like a list of stuff that we can do once we have it running
[G1 Android Development] antempire4:
So I noticed aircrack-ng is in here.... anyone have any luck?
[G1 Android Development] antempire4:
So no one cares to discuss the implications of aircrack-ng!?!?!?! its pretty huge. Im just trying to get the phone into monitor mode right now, but I'm having a hard time. I think i need to get it into rfmon. anyone have any ideas?
[G1 Android Development] sinbot:
Aircrack on Debian on the G1

Apparently it is possible to install it and compatible with the G1 wifi chip. haven't done this but was just reading a report after I suggested the person try apt-get install aircrack-ng. So apparently our phones are also wep crackers.
[G1 Android Development] d00m:
Ha that's great news. A native gui version would be amazing.
[G1 Android Development] antempire4:
So can I ask someone how do I get it into monitor mode? That is the 1st and kind of most important step at this point for me in the aircrack process.
[G1 Android Development] unrafa:
Linux config files are the worst **** of this operating system, use long descriptions for parameters lazy devs!!!!
[G1 Android Development] Meltus:
i'm struggling also. im getting no wireless extensions on everything when i iwconfig. took me ages to get to this point, not sure where to go from here :P
[G1 Android Development] Meltus:
i'm stuck getting it into monitor mode. getting no wireless extensions for everything.
[G1 Android Development] antempire4:
Have you noticed these are the network devices?

dummy0

lo

rmnet0

rmnet1

rmnet2

tiwlan0
[G1 Android Development] Meltus:
yeah, i think tiwlan0 is the one that the G1 uses to connect.

it only shows up when wifi is turned on.

**** knows what the others are for =/
[G1 Android Development] antempire4:
Try googling how to switch to rfmon. I think that will help.
[G1 Android Development] Meltus:
does anyone know what wifi chip the G1 uses? that might help also.
[G1 Android Development] vdl68:
Texas Instruments - WL1251B

http://www.eetasia.com/STATIC/ARTICLE_IMAGES/200810/EEOL_2008OCT29_EDA_RFD_NT_01b.jpg
[G1 Android Development] vihil:
TI 1251

[e] too slow and w/o link ;<
[G1 Android Development] foxtrickle:
Got it working finally

I was getting this same message. I wiped the device and reapplied the JFv1.31_RC30 update. I reinstalled busybox and then reinstalled Debian. Then everything worked.
[G1 Android Development] antempire4:
So what is the likelihood aircrack could be ported to android?

Obviously not on the market.....3rd party would be nice....
[G1 Android Development] aron4588:
market is suppose to be open for any app OPEN SOURCE lol but i think it would be hard capturing packet from the g1 unless we get a overclocking method. Gotta remember g1 processor not that fast.. now once some more android fone come out i really can see aircrack , gimp and other linux app coming to the platform
[G1 Android Development] jusplainmike:
RW to android

While in the Debian system is it possible to read and write to the android system.
[G1 Android Development] a1t:
Custom Debian Bootloader is now installed! Quick huh?

This process does NO damage to your Android underlying OS!

Courtesy of http://www.androidfanatic.com

Installer by Mark Walker (ghostwalker)

To enter the Debian Linux console just type 'bootdeb'

PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST 'boot'.

# mv bootdeb bootdev.sh

failed on 'bootdeb' - No such file or directory

not accepting bootdeb (not found)

I ran the commands exactly as written (i think) any ideas?
[G1 Android Development] Rafase282:
mv bootdeb bootdev.sh before you get into debian, meaing on the android console not the debian one.
[G1 Android Development] a1t:
I open terminal...

type: su

type: # mv bootdeb bootdev.sh

and it returns: failed on 'bootdeb' - No such file or directory

thanks for the help.
[G1 Android Development] shaji007:
i just upgraded to the new modded rc8 1.4 etc

and my debian ain working anymore?

anyone having the same problem

im gettin the errors where none of it is mounting then debian exits itself
[G1 Android Development] Meltus:
mine failed there but you can just start debian each time with

# sh sdcard/debian/bootdev.sh

bit long winded but it works fine.
[G1 Android Development] Rafase282:
yes but for the other one you have to be on the debian forder first.

cd /sdcard/debian

mv bootdeb bootdev.sh

then to run it anywhere form the terminal type

sh sdcard/debian/bootdev.sh
[G1 Android Development] Rafase282:
run the install script again
[G1 Android Development] Rafase282:
cd /sdcard/debian

mv bootdeb bootdev.sh

then to run it anywhere form the terminal type

sh sdcard/debian/bootdev.sh

You peopel shoudl think about about why you get the error and try to find a solution before you ask.

always remember, if you dont put the path/file name it won work unless you are already in the path.

when you open the terminal teh first time you will be at / and what you want to rename is at /sdcard/debian/ so you have to put the path or cd to that directory.
[G1 Android Development] miseiler:
All the installer script does is move the contents of the /debian folder to /data/local/bin. The install script is irrelevant.

As far as I can tell the script is now failing because it can't find the ext2 module in JF 1.41
[G1 Android Development] a1t:
It looks like I didnt include that when i paraphrased earlier. (probably not the best idea.)

su

cd /sdcard/debian

chmod 4755 *

sh installer.sh (after this it asks me to run type "bootdeb")

bootdeb (no such file or directory)

I am now having the same problem as sangeet.003 #40 post.

Thanks again dudes!
[G1 Android Development] miseiler:
I changed the bootdeb script from

insmod ext2

to

insmod /system/modules/2.6.25-01843-gfea26b0/kernel/fs/ext2/ext2.ko

Also, for some reason my /data/local/bin was a file and not, you know, a directory...so I removed it and made a new one, and reran the installer. This is likely something I did and not a feature of JF 1.41, but it's something to keep in mind if things still don't work for you. Make sure you can ls /data/local/bin or something just to be safe.

The ext2 module loader part of the script definitely needs changing on JF 1.41.

Everything works now.
[G1 Android Development] miseiler:
oh and you can't run "bootdeb" like that

type

sh bootdeb

and that should work. Dunno why it won't let me give it execute permissions, but then I've never used this shell before. Where's zsh when you need it?
[G1 Android Development] JesusFreke:
use modprobe ext2 instead :)
[G1 Android Development] a1t:
when I enter "sh bootdeb" i am getting sh: Can't open bootdeb.

everything else seems correct. thanks!
[G1 Android Development] Darkrift:
Ghostwalker shows up, takes sauriks work on debian, makes a "bootloader" for it (lol, its not a bootloader, its a script that sends text to your screen that says "Booting Debian...."), pastes it on here and dissapears. All of these users (who were not warned in the first post that this is only a: a nerd trophy or b: for those who do not need to ask what debian is for (if you do not know, you will have NO use for it, trust me) and will not get them much more than they had) are stuck trying to fend for themselves getting something work they will probably never use. Those that will make use of this are the ones who got it working or already had it working with sauriks help.

For those who do not know, debian is a linux distro and basically all this does is give you access to a few more linux (command line) commands. If you are a linux user, you might use this sometime, but if not, I would not waste any more of your time getting this working.
[G1 Android Development] miseiler:
For me at least, I don't particularly mind that it's a facade with some nice ascii art that doesn't even bother to check whether errors have occurred before printing "SUCCESS"

I just wanted something quick to get started. Now I have a lighttpd webserver + mod_cgi on my phone, which is exactly what I needed (I wrote a perl cgi script years ago to give me train schedules for the local rail, but now I've since moved on to become a python developer and I can't remember what any of my code does. So it's mod_cgi or a week of headaches trying to port it.)
[G1 Android Development] d0nkey:
what's a distro?
[G1 Android Development] benmyers2941:
Pssstt.... check your fly... your noob is hanging out. :)
[G1 Android Development] shaji007:
i get an error right at the end where it says type bootdeb

i get an error sayin bootdeb not found

then if i try mv bootdeb bootdev,sh

i get

failed on 'bootdeb'
[G1 Android Development] knoxbrder:
I have thought about seeing about an X server.

I have done some reading of the display like you did with your screenshot program, but how do you write to the framebuffer from outside Java?

A simple cat of fb0 pulls data from the screen, but cat > fb0 doesn't do anything.

I actually assume the actual writing needs to go thru a driver with real commands not direct memory writing, but I would love to find out you can just write raw bits to a chunk of memory.

That would be a slow but simple way to get X running.

Edit:

Stupid me, its double buffered, so if you do something like:

while :

do

cat /sdcard/fbimage > /dev/graphics/fb0

done

and then do something to update the display (like sliding the homepage around) your image will show up.

Duh :-)

So I'm thinking I will do some coding this evening when I got home:

- create a java program that opens a blank fullscreen window

- java program spawns C program that bangs on fb0

- figure out a way to make the double buffer flip or write to the active buffer all the time

- later make the C program the standard framebuffer X server?

- later make the java program kill or pause the C program when the java program exits or gets something drawn on top of it?
[G1 Android Development] knoxbrder:
- ok, I have the fullscreen java app blank the screen

- I have it launch a c program

- the C program draws some lines and boxes on the display

But... I have to trigger the copy from the offscreen buffer by changing things in the java desktop. I can't seem to draw straight onscreen and I can't figure out (yet) how to cause the buffer switch from C

Edit:

OK, I figured out how to switch buffers while drawing in the offscreen buffer.

Simple unoptimized C code to clear the screen, draw some big color rectangles and some random color lines, double buffer, can get around 20 frames per second. Looks nice and smooth. After I optimize it it should be faster. This could be used to do some simple programs/games from C. Need to look into the frame buffer X server Wednesday or Thursday.

X fails with the errors:

(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument

(EE) FBDEV(0): mode initialization failed

Looks like some people have seen the same error with other devices. I didn't see a solution on Google, have to look at the src code another day...
[G1 Android Development] foxtrickle:
Problems loading Debian after JFv1.41 update

When ever I try to load Debian now, after the update, I get this:

mount: mounting /dev/block/loop2 on /data/local/mnt failed: Invalid arguement

mount: mounting devpoints on /data/local/mnt/dev/pts failed: No such file or directory

mount: mounting proc on /data/local/mnt/proc failed: No such file or directory

mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory

(normal looking boot up info in between)

chroot: cannot execute /bin/bash: No such file or directory

umount: can't forcibly umount /data/local/mnt/dev/pts : No such file or directory

umount: can't forcibly umount /data/local/mnt/proc : No such file or directory

umount: can't forcibly umount /data/local/mnt/sys : No such file or directory

umount: can't forcibly umount /data/local/mnt : No such file or directory

Is anyone else have issues like this? Can anyone help me try to figure this out? I'm a beginner when it come to Linux, so be gentle.
[G1 Android Development] knoxbrder:
I found I had to manually specify where to find the ext2.ko file.

I think it must have moved. I didn't put any more effort into it than changing the /sdcard/debian/bootdeb line with insmod to:

busybox insmod /system/modules/2.6.25-01843-gfea26b0/kernel/fs/ext2/ext2.ko

Then "sh /sdcard/debian/bootdeb" worked fine again.
[G1 Android Development] foxtrickle:
Thanks Knox, that was the trick! Easy as that, wow...

update: I had to do this again after reboot. Did you have the same problem?
[G1 Android Development] forceshield:
Is it possible to host a shell to connect to?

Or at least get *****x running?

wget http://www.*****x.com/download/*****X-1.1-final-linux.tar.gz

tar xvf *****X*.tar.gz

./*****X

localhost:/apps/*****x# ./*****X

./*****X

bash: ./*****X: cannot execute binary file

apt-cache search wont find *****x, so I had to do it the other way

Anyone have any other suggestions for an IRC client, the one in the market won't connect to the server i use.
[G1 Android Development] miseiler:
weechat and irssi are both in the lenny repo and are both phenomenal terminal irc clients. I personally use weechat on my desktop, but it's slightly less feature-packed than irssi.
[G1 Android Development] noctem:
The problem is that the bootdeb script loads the ext2 module using insmod, and can't find it (the module) on JF >= 1.4/1.41 or something. I would guess that due to the custom build of the kernel for multi-touch, things around those parts changed, but then I can't compare because I didn't really look at the setup in detail until my debian setup stopped working like yours.

Anyway, the script therefore fails to load the module. When you loaded it manually it worked until reboot, at which point the module wasn't loaded any more. You'll find the command "busybox modprobe ext2" easier, since it won't require the whole path. Also, if you modify the bootdeb script to do that instead of "insmod ext2" then it'll work every time, and you won't have to load the module manually.

Hope this helps. :D
[G1 Android Development] antempire4:
From what I have read I think you are right. However, I would still like to try. There is no harm in that, right?

What I need help with is getting the tiwlan0 into monitor mode. It seems it should be possible. Now I am quite noobish but I understand all the concepts with aircrack and can get it working on other devices. The problem with the Dream is that it needs to be in rfmon to get it into monitor mode for aircrack. How do I get the G1 into rfmon in Debian?
[G1 Android Development] antempire4:
I hope this doesn't sound too noobish. But, how would I get the G1 into rfmon in Debian?
[G1 Android Development] foxtrickle:
Just try: sh bootdev.sh
[Touch HD General] gervasius:
Hi,

does it possible (and if somebody tried yet) run RealVGA on HTC HD?

thx
[Touch HD General] ez2remember:
For those who don't know what realVGA is, like myself before here is an explanation:
[Touch HD General] zwuncki:
So, did anyone try it yet (don't have mine yet)?

On the G900 it worked, so I guess it's quite possible that it will work on the HD, too!
[Touch HD General] gervasius:
hey, nobody tried this???

this is one of first thing I will try when I receive my phone next week...

Please, if somebody tried this, which one to download,

and does it work ok??

thx
[Touch HD General] zwuncki:
I tried it and it worked very good. Some menues are too big, and sometimes the error site appears, but most of the time it works almost perfectly. But the 96DPI is way too small, even on such a big display. So I chose 128DPI and it works great.
[Touch HD General] mcano:
I tried it on my HD, it works. HOWEVER, phone application doesn't work any more. I can't make or receive calls, even if I return back to original DPI. there is checkbox to disable phone skin, no matter if it is checked or not, my phone application will not run. I just bricked my phone, please help, I don't want to hard reset it and spend another month by tuning it.
[Samsung Galaxy Note 8 Questions and Answers] Rbezzy:
I have a Samsung Note 8 that I use for a bit of astrophotography. It has the pro mode in camera, but max ISO is 800, Shutter speed 10 seconds. Is there a way I can increase my SS settings? I am a complete stranger here, I know nothing about phone developing. I am hoping there is just an app to install, but if need be, will watch youtube videos to figure out rooting etc.
[Xiaomi 11 Lite 5G NE] rockyrobin:
Hi, my carrier purchased 'Lisa' came with its ROM showing as version RKOEUBY.

My carrier isn't keeping up with updates so was wondering if I can just flash the ROM RKOEUXM without unlocking the bootloader?

I have my banking apps etc on this phone so am reluctant to unlock the bootloader unless absolutely necessary.

If anyone else has found an easy way to solve this would be grateful for your feedback.

Many thanks 😎
[Xiaomi 11 Lite 5G NE] bill93:
Hi !

The best way is to download the zip of your European ROM from the Xiaomi site and try to install it from the update utility in your phone's settings. If that doesn't work, you'll have to unlock your bootloader, install the ROM you want with the flash utility, and choose the relock option before the install starts. Then you will be on an official Xiaomi ROM, with your bootloader locked and you will have updates from Xiaomi and no longer from your operator.

Bill
[Xiaomi 11 Lite 5G NE] tclement0922:
Hi,

I confirm that manually flashing the European ROM does not work (in my case at least), so I am stuck on MIUI 12.5.6 with RKOEUSF ROM.

If anyone finds a way to upgrade to the official version without unlocking the bootloader, and therefore not breaking the warranty, I would be grateful if you could share it.

Thanks
[Xiaomi 11 Lite 5G NE] bill93:
Hi !

From the moment you want to install a new ROM, you have no choice but to unlock your bootloader. You can then reblock it. Afterwards, I don't know if the warranty is impacted because you go through the official unlocking from Xiaomi.

Bill
[Xiaomi 11 Lite 5G NE] rockyrobin:
Thanks Bill,

I've just tried flashing the zip of my ROM and the phone just quits the update after a long pause, saying that it cannot verify update.

Guess I'll have to unlock the bootloader. There's plenty of info about how to do this, but I've noticed a number of people complaining about the flash process.

When they apply the update, at the end they get an error message. The only way they get round this is with an edit of the settings of miflash.

Is this something I need to worry about?
[Xiaomi 11 Lite 5G NE] rockyrobin:
Just been reading about these errors and it appears that they are caused by the path to the ROM file having too many characters.

Placing the ROM file in your C: folder solves this.
[Huawei P40 Pro Questions & Answers] Morphi1989:
Hey guys i got a problem to Downgrade my Emui 12 to 11 or 10.

i got all done like note in post.

i used hi.suite 10.1.0.550 OVE

HiSuiteProxy HISuite-Proxy-3.0 because the highest version download always fail,

and my first try did this

pre:464440

ELS-N29-PRELOAD 11.0.0.3(C432R4)

cust:464433

ELS-N29-CUST 11.0.0.3(C432)

base:611704

ELS-LGRP4-OVS 11.0.0.260

but after the download and install is finshed it always get a red update fail after 1//4 bar progression.

any idea what i do wrong ?
[Huawei P40 Pro Questions & Answers] Morphi1989:
ok finally done now im near the end emui 10 ^^
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] rajatsinghsp:
CherishOS is an AOSP based rom focusing on Unique and Smooth UI with handy features. CherishOS is a reborn of pie based Dot-ExtendedOS.

* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

CLEAN FLASH :

-Reboot to recovery

-Take Backup (Not Necessary)

-Flash your firmware(If required)

-Reboot To Recovery

-Flash the ROM

-Flash Gapps

-Flash Magisk (optional)

-Format Data

-Reboot

For Encryption:

- First Take Backup Recommended

- Update Recovery Supports Encryption(Download)

- Then Follow Clean Flash

(Do not set any password except None or Swipe to Unlock)

(Due to Secure Boot Issue You will get Bootloop)

Download ROM

Simple Build || Mirror

Encryption Build || Mirror

-Lineage OS

-AOSP

-Pixel Experience

-DotOS

-Others, I forgot to mention

Based on Android 12.1

Whats working?

Wifi

RIL

Mobile data

GPS

Camera

Flashlight

Camcorder

Bluetooth

Fingerprint reader

Face unlock

Lights

Sound / vibration

Known issues

Don't tell me(Not gonna build further)

Cherish-OS Source

4.4.205-LineageOS+

Contact Me

Donate Me: SpideyGoku

REPORTING BUGS!

As soon as the problem occurs, take a logcat!

for more READ THIS​

Cherish OS for Lenovo Zuk Z2 Plus

Device: z2_plus

Maintainer: SPIDEY

Build Type: Unofficial

ROM Kernel: Linux 4.4.205+

ROM Firmware Required: ZUI 3.5

Based On: AOSP

Android OS version: 12L

Security patch level: May 2022

Build author:

ROM Developer:Hungphan2001

Version Information

Status: Stable

Current Stable Version:3.7

SELinux Status: Enforcing

Release Date: 07-05-2022​

Thanks to:

DD3Boh

dmd79

For their work on z2 plus trees

If I forget to mention someone please let me know

Special Credits:

Bas_NoVolte for helping me in encryption and recovery.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Ajudia:
-delete-
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] LineArc:
constant boot looping. the startup logo just shows and it restarts again.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Gagandaywal:
is this the last and final build for this rom ??
[G1 Android Development] deekjx:
Anyone replace the native OS with another linux distro like openmoko? Since root access has been achieved, only thing left is to move to a more open platform imo.

I would get an openmoko phone but the models out now suck. No keyboard and no 3g would be my primary issues with the neo freerunner.
[G1 Android Development] mcage:
Kind of funny as openmoko announced their port of android this week :)
[G1 Android Development] deekjx:
Yes they did. http://koolu.com/ has been announced as their global distributor. I'd like to see their release. I bet you get to keep root access.

I don't feel there is anything wrong with android, I just don't like being locked out of my own expensive device. I don't actually own an android but you get the point. OpenMoko is not exactly what one would call stable, but it is truly open! When the distributors try to maximize the cash in their pockets, that's when the users end up getting an inferior product.
[G1 Android Development] beartard:
I've always thought the openmoko hardware was kinda sexy. The pricetag (and previous lack of availability) kinda got to me, though.