> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.



GerdaOS | custom version KaiOS 2.5 for Nokia 8110 4G, code name - Project Pris



Rep: (210)
GerdaOS


Description | Discussion пїЅ | A source " | Club HMD Global Nokia В»

Attached Image

Current state:alpha version

Official site(eng.)
Formal discussions alpha(eng.)
The official FAQ on the site are not lighted on(eng.)
A set of project-related repositories
The official bugtracker(eng.)

Where can I download:on the official site
(Since version - alpha, there is continuously updated links, duplicate them is not worth it)



Brief characteristics
  • Firmware View: custom modes.
  • developing type: open, curated.
  • Lead authors: several representativesgroup BananaHackersand this writer in particular.
  • The basic version of the system: KaiOS 2.5, HMD Smart Feature OS 13.00.17.01.
  • System Requirements: same as that of the drain KaiOS 2.5.
  • Supported applications: compatibility with applications from B2G-KaiOS, in the future - their own GAB application format. In an even more distant future it is possible to add support for J2ME.

The main motives and objectives of the custom bikes
  • Correction of detected security holes drain firmware from HMD, some of whom are critical.
  • The elimination of the base system as far as possible all proprietary components from Google, KaiOS Tech, HMD, TCL and third-party companies like Gameloft, involved in the leak of user data (eg draining IMEI + IMSI pairs on the server KaiStore and FOTA-update has already been documented).
  • Return to the place of the functionality of Firefox OS, artificially truncated from KaiOS - file manager, root-access, multi-tasking, installation of third-party B2G-applications, etc.
  • Strengthening of security and privacy by default user - the introduction of things like ad blocker, proxy configuration, and OpenVPN.
  • In the short term - the introduction of alternative JavaScript-in programming languages ​​and application execution environments (PicoLisp, Lua, J2ME, etc.).

List of the main differences from the drain firmware to date (build 730c6b1 on April 10, 2019)
  • Fixed a critical bug in the security, allows you to run commands in the browser as root (in fact, Ruth stock required to install Gerda Recovery, on the same bug and works).
  • Removed Shop KaiStore, KaiOS Pay (on this device is useless anyway), KaiFOTA (obnovlyalka), everything Googley applications (including Assistant) and geymloftovskie games (including the Snake).
  • Embedded file manager (Gerda Files) and integrated with it GerdaPkg Package Installer (the new name, but the packet format compatible with OmniSD). Integration means that the zip-packages can now be installed directly from the file manager.
  • The possibility to turn off the application (at present all except for browser and phone number) by pressing the On button. (Power) fully open the slide cover, and take screenshots by pressing the On button. at the half-open. When closed, or when the screen is off Power button works in the normal mode.
  • In rekaveri, in the initial stages of loading and the system itself has root access through the ADB.
  • Changed the boot screen and animation.
  • Removing unnecessary dialogs when you first turn (left only the choice of language and Wi-Fi-point).
  • The search engine in the default browser installed on DuckDuckGo.
  • header check box Do Not Track the default setting is enabled and sending analytics server KaiOS - off, as well as the sound of the camera shutter.
  • Developer menu is enabled by default.
  • Ad blocking at the system level on the basis of lists of StevenBlack (more than 42,000 advertising domains). Lists are updated with each new build.
  • (Build f22b57f) were added (in test mode) and Emoji TTL substitution regime in the distribution of Wi-Fi.
  • (Build 702d409) added (in test mode) access to the window manager when you long press the power button when the slide open from the main menu or desktop.
  • (Build 702d409) Integrated overklok patch from Speeduploop. Termochast thereof regulated /system/build.prop gerda.perf.disable_thermal_control parameter.
  • (Build 702d409) Added built emulator CHIP-8 platform called DALE-8. Standard Game 64x32 with expansion .ch8 can now be run from the file manager. If the game is not working properly, rename the extension to .s.ch8. If and when it does not work, then .l.ch8. If and when it does not work, then .sl.ch8. These include additives to enhance various modes deviations from specifications required for different games.
  • (Build 702d409) For greater safety off Acknowledge response to a stealth-SMS with the type 64 (0x40), as well as disabled OTA-downloading data on SIM-card via SMS operator.
  • (Build 730c6b1) Installing packages moved to the conscience of the file manager, and instead there was a tool to change the IMEI both SIM cards and TTL.

Installation Instructions (current is always recommended to take of.sayte)
What is needed: ADB on the PC memory card (with about 3 GB of free space for backups), straight arms.
It is desirable to have the drain firmware at least 12, should there be no surprises with radio module. Perhaps everything will work when installed over 11, but no one checked.

This manual assumes that the images with rekaveri and system installer has downloaded and stored on SD-card before the start of all the action.
All actions are, of course, spend at your own risk!

Part 1: Root.

The current method for v13 and below is based on the epic exploit a plug navigator.kaiosExtension, whose authors probaklanili correct distribution of access rights. Fabrice and HMD-Schnick already inserted pistons who should be for it, so that it is possible, in the next firmware will be repaired this thing, but it does not mean that all is lost for us - stay tuned.

In short, as a result of this vulnerability to get Ruth to drain the firmware (including v13), just go to your phone's browser to the websitehttp://r.gerda.techand click "Root me". When the message about successful rutovanii you have the rue console, which can be accessed through the adb shell (naturally, it is necessary to pre-enter in debug mode the code * # * # 33284 # * # *). it appearstemporarily, until the first reboot the machine So keep in mind.

For Photo v15 above and used more tricky exploit navigator.engmodeExtension, describedin this post.

Part 2. Making backups and put rekaveri.

So, making sure rue console in adb shell in place (command prompt should start with #), and that the memory card is available (can be checked by ls / sdcard / team), it is necessary to make a backup of the following sections: system, boot, recovery, splash , fsg, rpm and modem. This is done with the following commands:

dd if = / dev / block / bootdevice / by-name / recovery of = / sdcard / recovery-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / system of = / sdcard / system-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / boot of = / sdcard / boot-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / splash of = / sdcard / splash-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / fsg of = / sdcard / fsg-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / rpm of = / sdcard / rpm-backup.img bs = 2048
dd if = / dev / block / bootdevice / by-name / modem of = / sdcard / modem-backup.img bs = 2048


Keeping backups (system-backup.img etc.) from the root of the memory card in a safe place. Remember -if you want to revert to the drain, only those files will help you to do this using the same dd.

Next set rekaveri image previously recorded on the memory card (for example, it lies at the root as the recovery-8110.img):

dd if = / sdcard / recovery-8110.img of = / dev / block / bootdevice / by-name / recovery bs = 2048


And we can only now be reloaded, but it is better to type adb reboot recovery on your computer (coming out of the shell, of course), so as not to pinch up at boot time.

Part 3. Put the system.

For subsequent updates only enough to crank this item.
To paint more easy and proven way for testers and developers easier to read in the repository README.md Pris System root.

When booted into rekaveri, you can immediately select the item "Wipe data / Factory reset", and can then, after the installation. But the fact that it is compulsory.
And choose "Apply update from SD card", find "gerda-install-xxxxxx.zip" file and start installation.The installer itself does not make backups , So carefully read the preceding paragraph.

After the installation is complete and the item "Wipe data / Factory reset" is also satisfied, you can reboot into the new system.

FAQ (to be supplemented)
  • On what options 8110 4G works GerdaOS? Check the operation on the TA-1048 (Europe, dvuhsimochnik), TA-1071 (Europe, odnosimochnik) and TA-1059 (Asia dvuhsimochnik). About TA-1067 (Asia odnosimochnik) data unavailable.
  • Is it possible to put GerdaOS applications from the official store? No, except that of the dump from another system.
  • "Over the air"? Will the FOTA-updates Not. While the system is in alpha or beta stage, will be full of images, and when it reaches the stable version - will be incremental patches. But not for the fact we surveillance tool for users sawed, then to bring it back.

Known bugs in the latest build (current is always recommended to check with the bug tracker)
  • Connect with hang WebIDE.
  • Inconsistency display certain points of reality settings (eg, settings in debug mode is turned off, and in fact included in the panel and the beetle hanging, or search engine default - DuckDuckGo, but still Google settings) - fixed in f22b57f Also some items settings should now be totally deleted or renamed.
  • It happens that the window manager can not occur on the first try, or hangs the main menu. The decision - to distort the slide cover.
  • Public gitlabovsky CI zaparyval boot.img - it is rather an internal bug for images posted on the website have been collected and tested manually.
  • Folding does not work for your browser (although in theory should, and it completes the process) and telephony (not a fact that will ever work).


Post has been editedSuborgblack - 29.05.19, 07:13
Reason for edit: Update on rue



Rep: (4)
I'm probably stupid. I can not find files stored on a flash drive :(
Attached Image


Post has been editedsamodooroff_alex - 27.04.19, 20:36



Rep: (8)
* samodooroff_alex , There is a glitch when switching they will themselves



Rep: (4)
KPKz @ 27.04.19, 18:38*
there are glitches when switching they will themselves

Indeed, there))) Thank you and have a plus sign to me



Rep: (57)
Somehow, with TTL = 128 No data. TTL = 64 fine.
No one understood the reason?



By the way, pleasantly surprised by the speed of the modem. nearly 100 Mbps in the morning at the reception, the transfer of about 75.


4G modem speed in the middle of the day
Attached Image


Post has been editedactron - 28.04.19, 15:04



Rep: (4)
I propose to put in the FAQ
1. Pressing the power to completely open the lid - access to the applications that are running.
2. Close the application in this way - the joystick up.
3. Power at slightly open lid - screenshot.



Rep: (23)
A vattsapchik work? If so give the link? Those that store the bananas and his ilk do not work



Rep: (4)
admin1 @ 29.04.19, 10:52*
A vattsapchik work?

Rocked with bananas. All OK.



Rep: (23)
From Market put on March, says the old

Attached images
Attached Image


Post has been editedadmin1 - 29.04.19, 13:21



Rep: (10)
* admin1 ,
As usual, the factory (in wipe data rekaveri) and the new installation.
Nokia 8110 4G - Discussion (Post Sem0574 # 82640247)

Post has been editedSem0574 - 29.04.19, 16:36
Reason for editing: Extra



Rep: (210)
Oh, suffered the same. So that's great.



Rep: (10)
* Suborgblack , Due to the fact that in the official store appeared KaiOS WhatsApp, question. How can I download it from there that would be installed on the GERDA?)

Post has been editedSem0574 - 30.04.19, 18:20
Reason for editing: Extra



Rep: (210)
* Sem0574, I did not understand the question.



Rep: (54)
little guidance about beauty, in the theme of 8110 already spread, then make a detailed description (all manipulations performed on Ubuntu 19.04 x64, such as the Vendian do not know if anyone here can provernetsya add)
1. Bootlogo
Before handling the bootlogo you must haveClone repository Gerdaand ffmpeg, in my case it is enough to do sudo apt install ffmpeg
screen 8110 has a resolution of 240x320, find any you like the picture, bring up the desired resolution in any editor and save it in png on the way ./GerdaOS/src/splash/ c named logo.png, the old image can simply be renamed, then suddenly, then perform
bar @ bar: / media / data / dev / GerdaOS $ make build-splash
the output will be approximately the
bar @ bar: / media / data / dev / GerdaOS $ make build-splash
rm -f ./splash.new.img
ffmpeg -vcodec png -i src / splash / logo.png -vcodec rawvideo -f rawvideo -pix_fmt bgr565 -s 240x320 -y ./tmp2.bin
ffmpeg version 4.1.1-1 Copyright (c) 2000-2019 the FFmpeg developers
8 built with gcc (Ubuntu 8.2.0-20ubuntu1)
configuration: --prefix = / usr --extra-version = 1 --toolchain = hardened --libdir = / usr / lib / x86_64-linux-gnu --incdir = / usr / include / x86_64-linux-gnu - arch = amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter = resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enab le-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r - enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input # 0, png_pipe, from 'src / splash / logo.png':
Duration: N / A, bitrate: N / A
Stream # 0: 0: Video: png, rgb24 (pc), 240x320 [SAR 3800: 3800 DAR 3: 4], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream # 0: 0 -># 0: 0 (png (native) ->rawvideo (native))
Press [q] to stop, [?] For help
[Swscaler @ 0x560dba7b4900] full chroma interpolation for destination format 'bgr565le' not yet implemented
Output # 0, rawvideo, to './tmp2.bin':
Metadata:
encoder: Lavf58.20.100
Stream # 0: 0: Video: rawvideo (BGR [16] / 0x10524742), bgr565le, 240x320 [SAR 1: 1 DAR 3: 4], q = 2-31, 30720 kb / s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder: Lavc58.35.100 rawvideo
frame = 1 fps = 0.0 q = -0.0 Lsize = 150kB time = 00: 00: 00.04 bitrate = 30720.0kbits / s speed = 0.182x
video: 150kB audio: 0kB subtitle: 0kB other streams: 0kB global headers: 0kB muxing overhead: 0.000000%
cat ./src/splash/logohdr.bin ./tmp2.bin>./splash.new.img
rm -f ./tmp2.bin
echo 'Splash image created at splash.new.img'
Splash image created at splash.new.img

then the root of the repository Gerda splash.new.img will be a new file, it rolled into the root of the stick (can be put in any other place, if you know why and how it works) and how the phone with firmware rekaveri go in there and sew
dd if = / sdcard / splash.new.img of = / dev / block / bootdevice / by-name / splash bs = 2048
2. BootAnimation
on Linux must be installed imagemagic (sudo apt install graphicsmagick-imagemagick-compat) or gif2png or convert any web converter, the benefit of such short supply, I admit forgot how to convert
:), reproduce, I add here
further can be directly in the repository to do everything, or you can create multiple directories with the following structure
$ Tree ./src/system/media/
в”њв”Ђв”Ђ bootanimation_src
в”‚ в”њв”Ђв”Ђ anim
в”‚ в”‚ в”њв”Ђв”Ђ 240-frame0.png
в”‚ в”‚ в”њв”Ђв”Ђ 240-frame1.png
в”‚ в”‚ в”њв”Ђв”Ђ 240-frame2.png
в”‚ в”‚ в””в”Ђв”Ђ 240-frame3.png
в”‚ в”њв”Ђв”Ђ desc.txt
в”‚ в””в”Ђв”Ђ static
в”‚ в””в”Ђв”Ђ logo.png
where the files are 240-frame0 * .png files and have created animation, logo.png, I think, too, you can do one of the resulting images. File names, I think it is better not to change, perhaps their names zahardkozheny, not tested, hands reach, play. Now pack bootanimation_src directory in a zip file and get bootanimation.zip, roll up on a flash drive, is transferred into rekaveri and sew through the adb command
adb push / local / path / to / bootanimation.zip / system / media /
all of the above described relates to GERD because it appears to have Ruth

Attached files

Attached filesplash.new.img(150.5 KB)
Attached filebootanimation.zip(172.41 KB)


Post has been editedandybeg - 30.04.19, 09:23



Rep: (21)
* Sem0574 , Do not have it in the store



Rep: (12)
* Sem0574 And why not vatsapt download bananahakerov? He's lying!



Rep: (10)
* makc77780 , It has not yet been tried, then the local downloaded. And the answer is very simple, if the banana guys stop supporting the phone to spin as it is necessary)



Rep: (23)
Question, and some sort of voip client have? Or voice on Skype / cart?



Rep: (210)
In short, in the next assembly (which I will not know when) will unlock all features of the world ranges. At its devayse already checked, still works.

P.S. Checked as follows: gash data packet number, IMEI clone with alcoholics (for with AT & T SIM cards rigid peg to the device), rearranged Simcoe, went into the browser. All ship zashibennaya.

Post has been editedSuborgblack - 07.05.19, 17:57



Rep: (10)
* Suborgblack ,
There may be still some inheritance from the fresh firmware or it is too early to talk about it?



Rep: (210)
* Sem0574, it will be possible to say not before 16 June. : D


Full version    

Help     rules

Time is now: 09/03/20, 23:51