Hi everyone, I am in need of a romdump for the pendopad as i wish to recompile with cyanogen cm5 or cm7 2.2+ i use public computers and cannot install android sdk or adb shell required for dumping.
-----------------------------------------------------------------------
My goal is to implement a 2.2+ or even 2.3.7 cyanogen modifications onto the pendo pad,
The reason it is very hard to root and mod this device is due to the fs it uses on internal storage, most android devices use yaffs fs this is easy to root and gain r/w ability, the pendo pad uses cramfs much harder to root permanantly so one must dump there firmware into a update.img decompile add what they want recompile and use RKBatchUpgrade.exe to flash to device,
-----------------------------------------------------------------------
So I will start with removing the CPU govern on the rk2818 i wish to extend it to the full 1.2ghz capability.
I will minimise partition use to free up RAM and NAND storage.
Re calibrate Touchscreeen and keys (long press circle button for mute)
Add support for more 3g usb devices
implement ADW and Cyanogen Settings (dev and spare parts+)
remove bloatware
add newest market and optional gapps
add more languages when required.
change boot animation and logo (green android fullscreen and cyanogen bootanimation)
remove unneeded notifications and ringtones that are just taking up space.
add APP2SD native
-----------------------------------------------------------------------For this to be possible I need a romdump from somebody, The completed rom will be available for everyone to use but i cannot step foward without the dump. Thanks
-----------------------------------------------------------------------
This is only for windows users.
Also only for rockchip 2818 not for other ones!!!
What do you need
Z4Root
SU
Winrar < Not included in package!
ADB
Android drivers
Rockchip drivers
Rockchip flash program
SD card or internal memory on the device self (150mb atleast)
USB Cable
Programs can be downloaded in this package.
So al the progams you need are in the rar file.
1. Preparing the device
First install Z4Root and SU on you're device.
Then start Z4Root and click on ''Temporary Root" he will root the device for you and after reboot you will loose the root access so don't reboot!
After that connect you're device to an windows machine he will ask you to install drivers.
Install the drivers and then start CMD
(Windows XP: Start > run > CMD > Enter)
(Windows vista and 7 Start > Type CMD > Enter)
now locate to the ADB.exe folder i recommended to place it in the C: root.
so type this in CMD
cd C:
when you are there type this command.
adb push rkdump /data/
After that type adb shell
this command bring you to a terminal like command line for you device.
Ok now watch you're device and type su in cmd.
A popup will show up to get SU access for terminal press "allow"
Now we can backup the FS.
type this in cmd
cat /proc/mtd
a list will popup like this one
NOTE: we need backup partition so look always to mtd number not every device have backup as mtd5 it might also be 6 or 1 or some other random number!
Now it is time to backup!
type this
/data/rkdump /dev/block/mtdblock? /!!!/update.img
place the number of the mtd on the ''?''
if example your number is 6 use it like this
mtdblock6
place the destination backup folder on the !!!
flash for the tablet internal memory
sdcard for to backup on the sdcard
if you did this good it will say this
update.img found (116115456 bytes) < File size may be difference depends on device.
after it is done it will say this
crc found (4 bytes, 0x0709e735) < Also this could be difference
done
Gongrats you backup you're FS now you can destroy you're device with custom roms!
2. Restore you're FS
Sometime you will see you destroy you're device what now!
Good thing you made a backup of you're FS!
First Hold back/ecs button on you're device just hold it and put the usb cable in it.
(From pc to the tablet ofcourse)
you're pc will give you a driver notice install them (included from the package)
After that start RKAndroidBatchUpgrade.exe
Then choose in settings you're backup and press ''Upgrade''
Wait a few seconds or minutes and you are done.
congrats you can use youre device again!
after fighting with adb on win7 for 2 days...i installed the SDK and google drivers...the driver provided above says it did not contain information for my hardware..on both win7 and xp..the google driver installed fine on xp but im just getting "device offline" from adb (unlike device not found) on win7...
so xp..adb connecting fine...i try the steps above..i cant get rkdump to the data folder even tho im rooted with z4mod..so i pushed it straight to /flash/ (2gb free on the 4gb pad!)..next i run cat..get whats show above..and move on to actually dumping..so running rkdump from flash..oops no execute perms!..so hunt around with a esfile explorer in root mod and found a folder that had wr-x perms..i copied rkdump to this folder /data/app-private/ and then set execute permissions on rkdump in that folder..i can now run rkdump from adb...and make a dump finally!
so what i want to know now is...do i need to dump all the partitions? (ive got boot, kernel, recovery,system and backup)..
what do i now do with my update.img? (backup) ..
and how can i get into it to add and change things?..
RaNGA93 I had the same problem, install terminal emulator from the android market onto the pendo pad and type in the following commands without quotes, "su" then press allow on the popup, "chmod 777 data", then you can go back to adb and use the command, when the file is copied, use "chmod 777 data/rkdump"
Last edited by SubnormalNeb; April 19th, 2012 at 10:46 PM.
RaNGA93 I had the same problem, install terminal emulator from the android market onto the pendo pad and type in the following commands without quotes, "su" then press allow on the popup, "chmod 777 data", then you can go back to adb and use the command, when the file is copied, use "chmod 777 data/rkdump"
I installed terminal emulator, when i type su the response is ''not found''
..the instructions given above by ag011090ag dont work 100% correctly..
and from researching...cyanogen is not possable on rk2818 (its been discontinued on their site)...
but it is possable to make a rooted/custom rom
first..download RKcooking.zip from RK2818 Kitchen for windows - SlateDroid.com
unzip the folder to the root of C drive (else the bat file will cause errors)
it contains ALL the files needed (you dont need the android sdk)
you will also need a root file explorer (i use latest version of ES File Explorer in root mode)
once you have root on the pendo..connect usb to the PC AND turn off USB storage on the pendo once it has connected to the pc (pull down notification drop down and select Turn off USB Storage)
next, open command prompt, change folder to c:\rkcooking\
type the following to upload 'rkdump' to the pendo...
adb push rkdump /data/app-private/
now on the pendo, start the root file explorer, navigate to /data/app-private/ edit the properties/permissions on rkdump so that its executable
now we want to find which mtdblocks to backup..so back to command prompt, type the following...
cat /proc/mtd
you will get the list of mtdblock..take note of which blocks are "backup" AND "system"...on both my pendos they are mtd5 and mtd4.. (system needs to be dumped if you want to make any changes to apps, the one included inside the 'backup' image is locked..so we just dump a unlocked copy straight from the pendo)
now we dump these images to the SD card...
still in command prompt, type...
adb shell
once you are connected to adb, at the $ prompt type..
su
then watch the pendo, it should popup asking to allow and unknown app to have superuser rights, click yes..then go back to the adb prompt and type the following to dump 'backup' image to SDcard..
remember to change the mtdblock number to match your pendo!
congrats! youve now backed up your pendo roms!
from there u can copy the img files to the pc..run the rkcooking.bat to unpack/edit/re-sign...
ill go into more detail of that once ive done it! but heres a hint..newtuxflashtools allows you to edit the dumped system.img to remove/add apps
edit:also noticed flashing does NOT require the pc connected, android will find the "update.img" on the SDcard and ask if you would like to use it to flash the firmware..so remember to remove it from the SDcard or you will get popups everytime it scans for new media..
edit2: my 2 pendos are very different..the old one (2Gb) has an update.img size of 65mb..my new pendo (4Gb) has an update.img size of 103mb.. but theres no extra apps..ill have to look into it a bit more to see whats different
edit3: the difference seems to be...4gb pendo has some extra fonts, ALOT more usb_modeswitch files..and a file /etc/wireless/rt2870sta/rt2870sta.dat (wireless folder doesnt exist on 2gb pendo)..also config for dhcpcd_eth (2gb only has dhcpcd, 4gb has both)..
and some files related to adobe which arent on the 2gb (its not flash player tho!)
Last edited by WacKEDmaN; April 20th, 2012 at 04:03 PM.
ive been successful in flashing a modified rom (just updated es file explorer, taskmanager and maps, removed quickoffice, that handwriting app, and a few of the live wallpapers i never use) ...
i originally tryed flashing my 4gb image to a friends 2gb pad (after dumping his original backup.img and system.img)..but it just crashed on boot just after the little android icon appears..so i flashed his original rom back and all was fine...
next i used newtuxflash to edit his dumped system.img (not the one thats in update.img..its locked!).. i removed the apps and then flashed it back.. (both methods work, from file on sdcard called update.img or from USB & RKAndroidBatchUpgrade.exe pointing to the .img on your system).. some of the apps didnt show up...i checked the system.img i editied with newtuxflash and found the apks had spaces in the names, once i removed the spaces, signed the system.img and reflashed, they all showed up perfectly, even entirly new ones (battery meter on the notification bar)
next i will workout how to add su/root
for anyone looking for a rom...the best way is to make your own i think..RKCooking.. linked a few posts above.. has everything you need to dump, modify, sign, and flash YOUR own ROM (everything except a temp root tool and root file explorer to workaround a few issues mentioned above) theres too many different versions of the pad out there (yet they all have the same model number!)
Last edited by WacKEDmaN; April 26th, 2012 at 10:54 AM.
2.1...
i dont think its possable to get 2.2 AND all the features running correctly..everything ive read has said that rk2818 does not support 2.2..hence the broken/unfinished features and stopped dev of cyanogenmod..
i may try flashing the 2Gb pad with cyanogen..not really sure tho..i dont really like the idea of changing the bootloader and kernel..
btw...i changed the build.props in my latest ROM hack version to change the LCD screen density..i changed it to 120 and it had the effect of making the resolution larger, and making everything smaller, allowing more menu items etc to show on the screen..ive read that the market as problems it is not set to 160 or 240..but its working fine (actually shows more apps than my 4GB pad!)
also added a few tweaks to build.props that ive found on the web...seems to be the fastest pendo ive used! (faster than my 4GB!)
well...i bit the bullet and downloaded the cyanogen boot and system files ( CyanogenMod for Rockchip | androtab.info bottom of this page!) i replaced them, packed them and flashed with RKCooking.. and to my amazement it worked!!!!
ANDROID 2.3.7, running Cyanogenmod 7.2-RC0-RK2818-KANG !!!
theres no market built in...camera does work, but you cant see what your taking a picture of.. 3G does NOT work at all...so you wont be able to use the dodo dongle..lockscreens are brokens etc..
theres LOTS of features, tweaks, rooted etc..but like it says on the cyanogenmod website..alot of stuff doesnt work (no volume buttons for one! and FCs just sitting there...fun to play around with i guess..
Last edited by WacKEDmaN; April 28th, 2012 at 09:20 AM.
Can you install market? was everything else working? audio etc? camera and dongle are not an issue for me. I can use my phone as a wifi access point anyway.
yes ive installed gapps manually into the ROM and market works..but (network) location doesnt seem to work
audio works...to some extent, mp3 cause the DSP crap to FC and the mp3s studder and skip :/
youtube app FCs..yet you can surf and load vids fine from a browser (not flash loads the vids on a inbuilt video player
i couldnt get apps to install to the SDcard no matter what (formatted and partitioned sdcard yet they still wont move)
there is ALOT of stuff that doesnt work (like clockworkmod, due to no compatable Kernel), you cant just follow the typical instructions, workarounds are needed (eg gapps is supposed to be installed through clockworkmod but as that doesnt work you need to manually add the gapp files to the rom in RKCooking and reflash)
like i said...its fun to play with...and the interface looks dam awesome...but all the broken features outweigh the benifits
i might try to find a Froyo based rk2818 rom and flash it to see how it goes
Last edited by WacKEDmaN; April 29th, 2012 at 01:52 AM.
ok well i downloaded a few ROMs for various rk2818 roms..and all seem to work with varying results..
i DID NOT just flash the ROMs as they are, i only replaced boot.img and system.img..
keeping the Kernel.img, misc.img, and recovery.img from my original dump...(i did try a few kernels from the ROMs but all of them locked up pritty much soon as they are powered on..
i may post a few of the better ROMs i have converted over (some required new TSCalibration.apk, gapps, and a few other apks i always use)..but again you will probably want to edit them to keep your own kernel (i know my kernel will work ok on most of the 2nd gen pads, but wont work on the 3rd gen 4gb pad)
i have a few images of internals of both 2nd gen and 3rd gen pendos for comparison aswell, they aint the best quality pics, but they show the vast differences..ill post them as soon as i can
from looking at the internals, it looks like its quite possable to hardware mod these aswell, there are ports on the board for bluetooth and vibrator, and maybe even GPS (3rd gen has it but i couldnt find it on the 2nd gen), both should fit in the case pritty easy (jaycar sells phone vibrators of differnt sizes, they prolly sell small laptop type bluetooth too)
tryed flashing the 4GB pendo lastnight...
what a nightmare...it seems this pendo is using nonstandard hardware...EVERY rom i tryed either got stuck on the bootscreen (archos7 2.1 & 2.2, onetab 2.2.3) or WIFI would not work (cyanogen)
the pics i tryed to post showed that the 4GB pad has a raised card off the main board, that looks almost identical to a wifi chip you would find in a laptop (hence why wifi doesnt work)
ive tryed copying the "wireless" folder and driver on the pendo to cyanogen, but its still not working, there must be a reference to it somewhere but i havent been able to find it yet
this also has ver 20.20 of the bootloader (all other versions have 5.00,5.01) and a kernel that wont run on the 2GB pad..and it wont allow any other kernels to run (the 2gb pendo took a couple different kernels, but not all)..taking a look at the bootloader in a hex editor shows that this version is for "new ram type"
as for the 2GB pad...it would run just about anything i threw at it..managed to get 2.2 and 2.2.3 both running (with wifi!) but still couldnt get apps2sd with any roms...cyanogen is useless coz it wont play music without crashing.
so im over stuffing around with roms from other tablets...i have already flashed the 4gb back to its original rom...i will probably try a few performance tweaks (in build.prop) and edit the framework-res.apk for a different looking "skin"..apart from that..theres not much else that can be done WHILE maintaining a fully functional pad (eg everything working as intended, wifi and wireless dongle...)..the 2Gb pad might stay with cyanogen if i can get the audio issues sorted (possably just need to remove the DSP manager apk and lib files)
also...i see alot asking about this....you cannot remove any of the 'phone' apks without loosing wireless dongle funtionality! the dongle is a modem and needs the phone stuff to be able to dial out to get a connection (i may remove them from my 2gb pad as it never uses the dongle)
btw...can anyone read chinese?! i need a few pdfs translated that show exactly how to get stuff like the usb and wifi drivers out and into custom rom
Last edited by WacKEDmaN; May 2nd, 2012 at 11:15 PM.
just tryed updating gapps to the latest version (for 2.1) on the 4gb pad..crashing in gapps, vendor and probably others....so it looks like its default gapps on this pad :/
ill definatly be installing froyo on the 2GB pad just so i can get access to the proper "Play" and not the "market"...the version that comes with the pendos wont show alot of apps now google has tightened the system...(wont even show apps ive previously purchaced)..ill then be able to transfer the apks to the 4gb pad
so as i said before...these pads are pure shit...theres no source code for this chipset so new roms/os's are very limited...they aint worth the time fiddling with other roms....ive wasted a good 4 days straight and one 'all nighter', ive learnt alot about the system and found how to tweak it, but im basically back to where i was before i started flashing other roms as all the others have some sort of issue..
when i can be bothered...ill will put a copy of Froyo from Archos7 on the 2gb pad and get it setup for the pendo (eg pendo branding and correct naming) and post the boot.img and system.img here for those who want the new market...but the USB wireless dongle WONT work..(i will not post an update.img that also includes the bootloader, kernel.img, recovery.img and misc.img as these seem to be very device dependant)
Last edited by WacKEDmaN; May 3rd, 2012 at 01:21 AM.